@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --ink: #171613;
  --paper: #f4f0e8;
  --paper-2: #e9e3d7;
  --orange: #e76624;
  --orange-bright: #ff7a2f;
  --cream: #fffaf0;
  --line: rgba(23, 22, 19, 0.18);
  --muted: #68645c;
  --mono: "DM Mono", monospace;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: white; padding: 10px 14px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 240, 232, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.wordmark-mark { display: grid; place-items: center; width: 44px; height: 34px; color: var(--cream); background: var(--ink); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; transform: skew(-8deg); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #4c4943; text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.site-nav a:hover { color: var(--orange); }
.site-nav .nav-cta { padding: 10px 16px; color: var(--cream); background: var(--ink); }
.site-nav .nav-cta:hover { color: white; background: var(--orange); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; padding: clamp(70px, 9vw, 132px) 0 96px; overflow: hidden; }
.hero::after { content: "GML"; position: absolute; right: -2vw; bottom: -0.25em; z-index: -1; color: rgba(23, 22, 19, 0.035); font-family: var(--display); font-weight: 800; font-size: clamp(12rem, 30vw, 31rem); line-height: 0.7; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(48px, 8vw, 110px); }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--orange); font-family: var(--mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px rgba(231, 102, 36, 0.12); }
.hero h1, h2 { font-family: var(--display); text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.7rem, 7.1vw, 6.7rem); line-height: 0.88; letter-spacing: -0.045em; }
.hero h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 660px; margin: 34px 0 0; color: #4e4a43; font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 15px 20px; text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: white; box-shadow: 6px 6px 0 var(--ink); }
.button-primary:hover { background: var(--ink); }
.text-link { font-weight: 700; text-underline-offset: 5px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 42px 0 0; padding: 0; list-style: none; }
.hero-tags li { border: 1px solid var(--line); padding: 7px 10px; color: var(--muted); font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; }

.diagnostic { position: relative; padding: 22px; background: var(--ink); color: var(--cream); border: 1px solid #35322d; box-shadow: 20px 20px 0 var(--orange); transform: rotate(1deg); }
.diagnostic::before { content: ""; position: absolute; inset: 8px; pointer-events: none; border: 1px solid rgba(255,255,255,.06); }
.diagnostic-top { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--mono); font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; }
.status { color: #b9d6a3; }
.status i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #8ac264; box-shadow: 0 0 0 4px rgba(138,194,100,.12); }
.system-map { display: grid; grid-template-columns: 1fr 54px 1.08fr; align-items: center; gap: 8px; min-height: 275px; }
.source-stack { display: grid; gap: 10px; }
.node { border: 1px solid rgba(255,255,255,.18); font-family: var(--mono); }
.node.source { padding: 11px 12px; color: #ddd8ce; font-size: .69rem; background: #211f1b; }
.node.source span { color: var(--orange-bright); margin-right: 8px; }
.flow { position: relative; display: grid; gap: 41px; }
.flow b { display: block; height: 1px; background: var(--orange); position: relative; }
.flow b::after { content: ""; position: absolute; right: -1px; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--orange); border-right: 1px solid var(--orange); transform: rotate(45deg); }
.node.core { aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-color: var(--orange); border-radius: 50%; background: radial-gradient(circle, #302b24, #1b1916 65%); box-shadow: 0 0 0 10px rgba(231,102,36,.06); }
.node.core strong { font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--orange-bright); }
.node.core small, .core-label { color: #aaa49a; font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: solid rgba(255,255,255,.12); border-width: 1px 0; }
.signal-grid div { padding: 13px 10px; border-right: 1px solid rgba(255,255,255,.12); }
.signal-grid div:last-child { border-right: 0; }
.signal-grid span, .signal-grid small { display: block; color: #8d887f; font-family: var(--mono); font-size: .55rem; text-transform: uppercase; }
.signal-grid strong { display: block; margin: 2px 0; color: var(--cream); font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.diagnostic-note { margin-top: 16px; padding: 11px 12px; background: var(--orange); color: white; font-size: .76rem; }
.diagnostic-note span { margin-right: 9px; font-family: var(--mono); font-size: .6rem; text-transform: uppercase; }

.problem-strip { background: var(--paper-2); border-block: 1px solid var(--line); padding: 34px 0; }
.problem-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 50px; align-items: start; }
.problem-grid .section-kicker { margin: 7px 0 0; }
.question-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 38px; }
.question-list p { margin: 0; padding: 7px 0 7px 22px; position: relative; font-family: var(--display); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; }
.question-list p::before { content: "?"; position: absolute; left: 0; color: var(--orange); font-family: var(--mono); font-size: .75rem; }

.section { padding: clamp(78px, 10vw, 132px) 0; }
.section-heading { display: grid; grid-template-columns: 1.1fr .7fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.section-heading.compact { align-items: center; }
.section-heading h2, .deliverable-line h2, .about h2, .contact h2, .method h2 { margin: 0; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .92; letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; border: solid var(--ink); border-width: 1px 0 0 1px; }
.service-card { position: relative; min-height: 450px; padding: 38px; border: solid var(--ink); border-width: 0 1px 1px 0; background: rgba(255,255,255,.14); }
.service-card.featured { background: var(--orange); color: white; }
.service-card.featured-dark { background: var(--ink); color: var(--cream); }
.service-number { position: absolute; top: 24px; right: 26px; font-family: var(--mono); font-size: .72rem; opacity: .55; }
.service-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 58px; border: 1px solid currentColor; }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { max-width: 430px; margin: 0 0 15px; font-family: var(--display); font-size: 2.3rem; line-height: 1; text-transform: uppercase; }
.service-card p { max-width: 580px; margin: 0 0 26px; opacity: .78; }
.service-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 0; padding: 22px 0 0; border-top: 1px solid currentColor; list-style: none; }
.service-card li { position: relative; padding-left: 15px; font-size: .86rem; opacity: .78; }
.service-card li::before { content: "+"; position: absolute; left: 0; font-family: var(--mono); }

.ai-advantage { position: relative; padding: clamp(82px, 11vw, 144px) 0; overflow: hidden; background: var(--orange); color: white; }
.ai-advantage::before { content: "AI"; position: absolute; right: -0.04em; bottom: -0.2em; color: rgba(255,255,255,.07); font-family: var(--display); font-size: clamp(18rem, 42vw, 42rem); font-weight: 800; line-height: .7; }
.ai-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(60px, 10vw, 130px); align-items: center; }
.ai-copy h2 { margin: 0; font-size: clamp(3.5rem, 7vw, 6.6rem); line-height: .88; letter-spacing: -.04em; }
.ai-copy h2 em { color: var(--ink); }
.ai-lead { max-width: 650px; margin: 32px 0 15px; font-size: 1.28rem; font-weight: 600; line-height: 1.5; }
.ai-copy > p:not(.section-kicker, .ai-lead) { max-width: 650px; color: rgba(255,255,255,.78); }
.ai-outcomes { display: grid; gap: 11px; margin: 30px 0 0; padding: 0; list-style: none; }
.ai-outcomes li { position: relative; padding-left: 25px; font-weight: 600; }
.ai-outcomes li::before { content: "↗"; position: absolute; left: 0; top: 1px; color: var(--ink); font-family: var(--mono); }
.ai-scorecard { padding: 28px; background: var(--ink); color: var(--cream); box-shadow: 16px 16px 0 rgba(255,255,255,.24); transform: rotate(-1deg); }
.scorecard-title { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.16); font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.scorecard-title i { color: #8f8a80; font-style: normal; }
.ai-metric { display: grid; grid-template-columns: 120px 1fr; gap: 25px; align-items: center; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.ai-metric strong { color: var(--orange-bright); font-family: var(--display); font-size: 5.3rem; line-height: .8; letter-spacing: -.04em; }
.ai-metric b { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
.ai-metric span { display: block; color: #aaa49a; font-size: .82rem; line-height: 1.5; }
.ai-metric.final strong { color: var(--cream); }
.scorecard-note { margin: 18px 0 0; color: #8f8a80; font-family: var(--mono); font-size: .61rem; line-height: 1.5; text-transform: uppercase; }

.method { background: var(--ink); color: var(--cream); }
.method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: start; }
.section-kicker.light { color: #ff9a61; }
.method-copy { position: sticky; top: 120px; }
.method-copy > p:not(.section-kicker) { max-width: 530px; margin: 28px 0 32px; color: #aaa49a; }
.button-light { background: var(--cream); color: var(--ink); }
.button-light:hover { background: var(--orange); color: white; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: item; }
.steps li { display: grid; grid-template-columns: 74px 1fr; gap: 24px; padding: 30px 0 34px; border-top: 1px solid rgba(255,255,255,.18); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.steps > li > span { color: var(--orange-bright); font-family: var(--mono); font-size: .76rem; }
.steps h3 { margin: -4px 0 7px; font-family: var(--display); font-size: 2.3rem; text-transform: uppercase; }
.steps p { max-width: 580px; margin: 0; color: #aaa49a; }

.deliverables { border-bottom: 1px solid var(--line); }
.deliverable-line { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.deliverable-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.deliverable-list span { padding: 17px 12px 17px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.deliverable-list span:nth-child(odd) { border-right: 1px solid var(--line); }
.deliverable-list span:nth-child(even) { padding-left: 18px; }

.experience { background: var(--paper-2); }
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.evidence-grid article { padding: 32px; border: 1px solid var(--ink); background: var(--paper); }
.evidence-grid strong { display: block; margin-bottom: 34px; color: var(--orange); font-family: var(--display); font-size: clamp(4rem, 8vw, 7rem); line-height: .8; letter-spacing: -.03em; }
.evidence-grid strong span { font-size: .28em; letter-spacing: 0; }
.evidence-grid h3 { margin: 0 0 10px; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; }
.evidence-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

.about-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: center; }
.brand-panel { min-height: 520px; display: grid; place-items: center; padding: 42px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.brand-panel img { width: min(88%, 540px); }
.about-copy .lead { margin: 30px 0 16px; font-size: 1.25rem; font-weight: 600; }
.about-copy > p:not(.section-kicker) { max-width: 680px; color: var(--muted); }
.about-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.about-notes span { padding: 7px 10px; border: 1px solid var(--line); font-family: var(--mono); font-size: .68rem; text-transform: uppercase; }

.contact { padding: 84px 0; background: var(--orange); color: white; }
.contact-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; }
.contact .section-kicker { color: white; opacity: .75; }
.contact h2 { font-size: clamp(3.5rem, 7vw, 6.5rem); }
.contact-action p { max-width: 520px; margin: 0 0 24px; font-size: 1.08rem; }
.contact-email { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.contact-action .email-link { min-width: 0; display: inline-flex; gap: 18px; align-items: center; padding-bottom: 8px; border-bottom: 2px solid white; text-decoration: none; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.85rem); font-weight: 700; text-transform: uppercase; }
.email-link span { min-width: 0; overflow-wrap: anywhere; }
.email-link svg { flex: 0 0 30px; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.copy-email { min-height: 44px; justify-self: start; padding: 10px 14px; border: 1px solid white; background: transparent; color: white; cursor: pointer; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.copy-email:hover, .copy-email:focus-visible { background: white; color: var(--orange); }
.copy-status { grid-column: 1 / -1; min-height: 1.2em; color: rgba(255,255,255,.78); font-family: var(--mono); font-size: .65rem; text-transform: uppercase; }

.site-footer { padding: 34px 0; background: var(--ink); color: var(--cream); }
.footer-inner { display: grid; grid-template-columns: minmax(215px, auto) minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.footer-inner > * { min-width: 0; }
.footer-inner p { max-width: 800px; margin: 0; color: #8f8a80; justify-self: center; text-align: center; overflow-wrap: anywhere; font-size: .76rem; }
.footer-inner > a:last-child { color: #aaa49a; font-size: .82rem; }

@media (max-width: 960px) {
  .hero-grid, .ai-grid, .method-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .diagnostic { width: min(640px, calc(100% - 20px)); }
  .ai-scorecard { width: min(680px, calc(100% - 16px)); }
  .method-grid { gap: 60px; }
  .method-copy { position: static; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 680px; }
  .about-grid { gap: 50px; }
  .brand-panel { min-height: 390px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 1px); display: none; align-items: stretch; gap: 0; padding: 12px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 7px 7px 0 var(--orange); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding-top: 62px; }
  .hero h1 { font-size: clamp(3.35rem, 16.2vw, 5.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .diagnostic { box-shadow: 10px 10px 0 var(--orange); }
  .system-map { grid-template-columns: .95fr 35px 1.05fr; min-height: 230px; }
  .node.core strong { font-size: 3.1rem; }
  .problem-grid, .deliverable-line, .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .question-list { grid-template-columns: 1fr; }
  .service-grid, .evidence-grid { grid-template-columns: 1fr; }
  .ai-metric { grid-template-columns: 92px 1fr; }
  .ai-metric strong { font-size: 4.2rem; }
  .service-card { min-height: auto; padding: 28px; }
  .service-icon { margin-bottom: 42px; }
  .contact-inner { align-items: start; }
  .contact-email { grid-template-columns: 1fr; align-items: start; }
  .copy-email { justify-self: start; }
}

@media (max-width: 480px) {
  .wordmark { font-size: 1rem; }
  .wordmark-mark { width: 40px; height: 31px; }
  .diagnostic { padding: 16px; }
  .system-map { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .flow { display: none; }
  .source-stack { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .node.source { padding: 8px 5px; text-align: center; }
  .node.source span { display: block; margin: 0; }
  .node.core { width: 145px; margin: auto; }
  .service-card ul, .deliverable-list { grid-template-columns: 1fr; }
  .service-card li { font-size: .82rem; }
  .deliverable-list span:nth-child(odd) { border-right: 0; }
  .deliverable-list span:nth-child(even) { padding-left: 0; }
  .steps li { grid-template-columns: 48px 1fr; gap: 12px; }
  .brand-panel { min-height: 300px; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
