/* ============================================================
   GUZMAN APPLIED TECHNOLOGIES · guzmanapplied.com
   Stylesheet · v2.0 · Brand Kit aligned (Royal Indigo Edition)
   ============================================================
   Palette (the only 5 colors):
     Ink     #0A0A0B   type, dividers, primary contrast
     Paper   #FAF7F0   card surface, hero panel, light blocks
     Sand    #EFEBE3   page background
     Stone   #6B6660   meta, captions, mono labels
     Indigo  #2A1B5C   SOCIAL-ONLY. Never on web nav/CTA/links.

   The website lives monochrome (Ink/Paper/Sand/Stone) per §08
   of the brand kit. Indigo is reserved for social embeds.

   No gradients. No drop-shadows (use 1px Ink borders at 8-10%).
   No border-radius > 0 (except circular avatars). No backdrop-filter.
   No purple/violet/magenta/lavender anywhere.

   Type families (loaded via <link> in each page <head>):
     'Fraunces' · weights 400/500/600/700, opsz 144, italic for quotes
     'Inter' · weights 400/500/600/700/800/900
     'IBM Plex Mono' · weights 400/500/600

   ------------------------------------------------------------
   CANONICAL HTML SNIPPETS · Wave 2 agents copy these verbatim
   ------------------------------------------------------------

   NAV (place at top of <body>):
   <header class="gat-nav">
     <a class="gat-nav__lockup" href="/">
       <span class="gat-nav__mark">GAT</span>
       <span class="gat-nav__bar" aria-hidden="true"></span>
       <span class="gat-nav__name">Guzman Applied Technologies</span>
     </a>
     <nav class="gat-nav__menu" aria-label="Primary">
       <a href="/services/">Services</a>
       <a href="/work/baxie/">Work</a>
       <a href="/memo/">Memo</a>
       <a href="/about/">About</a>
       <a class="gat-nav__cta" href="/contact/">Contact</a>
     </nav>
   </header>

   HERO:
   <section class="gat-hero">
     <div class="gat-hero__inner">
       <div class="gat-hero__eyebrow">Applied AI Leadership</div>
       <h1 class="gat-hero__headline">Applied AI Leader for COOs who want the rollout to land.</h1>
       <p class="gat-hero__sub">Fractional engagements. Roadmaps. Program execution. Most AI rollouts die in pilot. Mine don't.</p>
       <div class="gat-hero__ctas">
         <a class="gat-btn gat-btn--primary" href="/contact/">Book a call</a>
         <a class="gat-btn gat-btn--ghost" href="/services/">See services</a>
       </div>
     </div>
   </section>

   SECTION (Sand bg by default; add .gat-section--paper for Paper-on-Sand):
   <section class="gat-section">
     <div class="gat-section__inner">
       <div class="gat-section__header">
         <span class="gat-section__num">§01</span>
         <h2 class="gat-section__title">Section title</h2>
         <span class="gat-section__rule" aria-hidden="true"></span>
       </div>
       <p class="gat-section__intro">One short paragraph that sets the section.</p>
       <!-- content: .gat-card, .gat-prop, etc. -->
     </div>
   </section>

   CARD:
   <article class="gat-card">
     <div class="gat-card__label">01.1 · Card label</div>
     <h3>Card title</h3>
     <p>Card body.</p>
   </article>

   PROPOSITION (Ink panel):
   <section class="gat-prop">
     <div class="gat-prop__inner">
       <div class="gat-prop__eyebrow">The System · One sentence</div>
       <h2 class="gat-prop__heading">High-contrast headline.</h2>
       <p class="gat-prop__body">Supporting paragraph.</p>
     </div>
   </section>

   FOOTER:
   <footer class="gat-footer">
     <div class="gat-footer__top">
       <a class="gat-footer__lockup" href="/">
         <span class="gat-footer__mark">GAT</span>
         <span class="gat-footer__bar" aria-hidden="true"></span>
         <span class="gat-footer__name">Guzman Applied Technologies</span>
       </a>
       <div class="gat-footer__cols">
         <div class="gat-footer__col">
           <div class="gat-footer__col-label">Practice</div>
           <a href="/services/">Services</a>
           <a href="/work/baxie/">Work</a>
           <a href="/memo/">Memo</a>
         </div>
         <div class="gat-footer__col">
           <div class="gat-footer__col-label">Company</div>
           <a href="/about/">About</a>
           <a href="/contact/">Contact</a>
         </div>
       </div>
     </div>
     <div class="gat-footer__bottom">
       <span>(c) 2026 Guzman Applied Technologies</span>
       <span><a href="/privacy/">Privacy</a> · <a href="/terms/">Terms</a></span>
     </div>
   </footer>
   ============================================================ */


/* ============== TOKENS ============== */
:root {
  --gat-ink: #0A0A0B;
  --gat-paper: #FAF7F0;
  --gat-sand: #EFEBE3;
  --gat-stone: #6B6660;
  --gat-indigo: #2A1B5C; /* SOCIAL-ONLY. Do not use on web nav/CTA/links. */

  /* Supporting tones (derived, monochrome) */
  --gat-ink-soft: #4A4844;          /* body prose secondary */
  --gat-ink-08: rgba(10, 10, 11, 0.08);
  --gat-ink-10: rgba(10, 10, 11, 0.10);
  --gat-ink-12: rgba(10, 10, 11, 0.12);
  --gat-ink-18: rgba(10, 10, 11, 0.18);
  --gat-ink-30: rgba(10, 10, 11, 0.30);
  --gat-paper-12: rgba(250, 247, 240, 0.12);
  --gat-paper-20: rgba(250, 247, 240, 0.20);
  --gat-paper-dim: #D6D2C8;         /* secondary text on ink */
  --gat-paper-meta: #B5B0A6;        /* meta text on ink */
  --gat-stage: #F4F0E6;             /* card-stage variant */

  /* Type families */
  /* Unified on Inter site-wide. Variable name kept for back-compat with selectors
     that reference --gat-font-serif; the value now points to Inter so the switch
     cascades everywhere without touching every selector. Edwin's call 2026-05-22. */
  --gat-font-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --gat-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --gat-font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Layout */
  --gat-container: 1080px;
  --gat-gutter: 36px;
  --gat-section-y: 80px;
}


/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--gat-sand);
  color: var(--gat-ink);
  font-family: var(--gat-font-sans);
  /* 17px base for readability — primary audience is COO/VP-level operators (40-60) */
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Body prose defaults handled in the main `p` rule above. li sized for legibility. */
li { font-size: 17px; line-height: 1.6; }

img, svg, video { max-width: 100%; height: auto; display: block; }


/* ============== TYPE DEFAULTS ============== */
h1, h2, h3, h4, h5, h6 {
  /* Unified type system: Inter for headlines too, matching the GAT logo (Inter Black 900).
     Brand-kit deviation from the original Fraunces-for-editorial prescription.
     Edwin's call 2026-05-22: legibility for the 40-60 buyer audience outranks editorial signal. */
  font-family: var(--gat-font-sans);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--gat-ink);
}
h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 16px; font-family: var(--gat-font-sans); font-weight: 600; letter-spacing: -0.005em; }
h5, h6 { font-size: 14px; font-family: var(--gat-font-sans); font-weight: 600; letter-spacing: 0; }

p {
  font-family: var(--gat-font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gat-ink-soft);
  margin: 0;
}

a {
  color: var(--gat-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gat-ink-30);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
a:hover { text-decoration-color: var(--gat-ink); }
/* No explicit a:visited color — base `a` rule already sets Ink for all states.
   An explicit a:visited rule would override .gat-btn--primary text under Chrome's
   :visited security model and make primary buttons render as solid black boxes. */

strong, b { font-weight: 600; color: var(--gat-ink); }
em, i { font-style: italic; }

ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.4em; line-height: 1.6; color: var(--gat-ink-soft); }

hr {
  border: none;
  height: 1px;
  background: var(--gat-ink-18);
  margin: 32px 0;
}

/* Selection: Royal Indigo override. Indigo is otherwise reserved as social-only
   per brand kit §10 Don't-01, but the selection state is small, ephemeral,
   and attention-moment, so it earns the accent. */
::selection { background: var(--gat-indigo); color: var(--gat-paper); }
::-moz-selection { background: var(--gat-indigo); color: var(--gat-paper); }

:focus-visible {
  outline: 2px solid var(--gat-ink);
  outline-offset: 2px;
}


/* ============== UTILITIES ============== */
.gat-eyebrow {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gat-stone);
}

.gat-mono {
  font-family: var(--gat-font-mono);
  letter-spacing: 0.04em;
}

.gat-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gat-ink-18);
  border: 0;
}

.gat-container {
  max-width: var(--gat-container);
  margin: 0 auto;
  padding: 0 var(--gat-gutter);
}

.gat-vh {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ============== NAV ============== */
.gat-nav {
  background: var(--gat-paper);
  border-bottom: 1px solid var(--gat-ink-10);
  padding: 22px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.gat-nav__lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--gat-ink);
}
.gat-nav__lockup:hover { text-decoration: none; }

.gat-nav__mark {
  font-family: var(--gat-font-sans);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.045em;
  color: var(--gat-ink);
  line-height: 0.85;
}

.gat-nav__bar {
  display: inline-block;
  width: 1.5px;
  height: 22px;
  background: var(--gat-ink);
  flex-shrink: 0;
}

.gat-nav__name {
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--gat-ink);
  letter-spacing: -0.005em;
}

.gat-nav__menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.gat-nav__menu a {
  font-family: var(--gat-font-sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--gat-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
.gat-nav__menu a:hover { color: var(--gat-stone); }

.gat-nav__cta {
  background: var(--gat-ink);
  color: var(--gat-paper) !important;
  padding: 10px 18px;
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
  letter-spacing: -0.005em;
  transition: background 0.15s ease;
}
.gat-nav__cta:hover { background: var(--gat-stone); color: var(--gat-paper) !important; }


/* ============== MOBILE NAV TOGGLE ============== */
.gat-nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gat-ink);
  color: var(--gat-ink);
  font-family: var(--gat-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}


/* ============== HERO ============== */
.gat-hero {
  background: var(--gat-paper);
  border-bottom: 1px solid var(--gat-ink-10);
  padding: 96px 36px;
  text-align: center;
}

.gat-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.gat-hero__eyebrow {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin-bottom: 24px;
}

.gat-hero__headline {
  font-family: var(--gat-font-sans);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--gat-ink);
  max-width: 760px;
  margin: 0 auto;
}

.gat-hero__sub {
  font-family: var(--gat-font-sans);
  font-weight: 400;
  /* Larger floor and ceiling — older audience, hero is the make-or-break moment */
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--gat-ink-soft);
  line-height: 1.55;
  max-width: 620px;
  margin: 22px auto 0;
}

.gat-hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.gat-hero--ink {
  background: var(--gat-ink);
  color: var(--gat-paper);
  border-bottom: none;
}
.gat-hero--ink .gat-hero__headline { color: var(--gat-paper); }
.gat-hero--ink .gat-hero__sub { color: var(--gat-paper-dim); }
.gat-hero--ink .gat-hero__eyebrow { color: var(--gat-paper-meta); }


/* ============== BUTTONS ============== */
.gat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 14px 22px;
  border: 1px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.gat-btn--primary {
  background: var(--gat-ink);
  color: var(--gat-paper);
  border-color: var(--gat-ink);
}
/* Hover: Royal Indigo accent. Brand kit §10 reserves indigo for social, but
   :hover is small, ephemeral, attention-moment — same exception logic as ::selection.
   Indigo earns the hover state because it signals "this is interactive". */
.gat-btn--primary:hover {
  background: var(--gat-indigo);
  border-color: var(--gat-indigo);
  color: var(--gat-paper);
}

.gat-btn--ghost {
  background: transparent;
  color: var(--gat-ink);
  border-color: var(--gat-ink);
}
.gat-btn--ghost:hover {
  background: var(--gat-indigo);
  color: var(--gat-paper);
  border-color: var(--gat-indigo);
}

.gat-btn--paper {
  background: var(--gat-paper);
  color: var(--gat-ink);
  border-color: var(--gat-paper);
}
.gat-btn--paper:hover {
  background: var(--gat-indigo);
  color: var(--gat-paper);
  border-color: var(--gat-indigo);
}

.gat-btn--small {
  font-size: 13px;
  padding: 13px 18px; /* keeps total height ~44px for WCAG 2.5.5 touch-target minimum */
}

/* :visited overrides — global a:visited rule would otherwise repaint
   button text to Ink, making primary buttons (Ink bg) invisible. */
a.gat-btn--primary,
a.gat-btn--primary:visited { color: var(--gat-paper); }
a.gat-btn--ghost,
a.gat-btn--ghost:visited { color: var(--gat-ink); }
a.gat-btn--paper,
a.gat-btn--paper:visited { color: var(--gat-ink); }

/* Same fix for the inverted variants used inside .gat-prop / .gat-section--ink */
.gat-prop a.gat-btn--primary,
.gat-prop a.gat-btn--primary:visited,
.gat-section--ink a.gat-btn--primary,
.gat-section--ink a.gat-btn--primary:visited { color: var(--gat-ink); }

.gat-prop a.gat-btn--ghost,
.gat-prop a.gat-btn--ghost:visited,
.gat-section--ink a.gat-btn--ghost,
.gat-section--ink a.gat-btn--ghost:visited { color: var(--gat-paper); }


/* ============== SECTION ============== */
.gat-section {
  background: var(--gat-sand);
  padding: var(--gat-section-y) 0;
}

.gat-section--paper {
  background: var(--gat-paper);
  border-top: 1px solid var(--gat-ink-10);
  border-bottom: 1px solid var(--gat-ink-10);
}

.gat-section--ink {
  background: var(--gat-ink);
  color: var(--gat-paper);
}
.gat-section--ink .gat-section__title { color: var(--gat-paper); }
.gat-section--ink .gat-section__num { color: var(--gat-paper-meta); }
.gat-section--ink .gat-section__rule { background: var(--gat-paper-20); }
.gat-section--ink .gat-section__intro { color: var(--gat-paper-dim); }
.gat-section--ink p { color: var(--gat-paper-dim); }

.gat-section--tight { padding: 56px 0; }

.gat-section__inner {
  max-width: var(--gat-container);
  margin: 0 auto;
  padding: 0 var(--gat-gutter);
}

.gat-section__header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 8px;
  flex-wrap: wrap; /* long titles wrap the rule line beneath, never overflow */
}

.gat-section__num {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-stone);
  flex-shrink: 0;
}

.gat-section__title {
  font-family: var(--gat-font-sans);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--gat-ink);
  /* Allow long titles to wrap inside the flex header instead of overflowing */
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 80px); /* leave room for the trailing rule */
  overflow-wrap: break-word;
}

.gat-section__rule {
  flex: 1;
  height: 1px;
  background: var(--gat-ink-18);
  align-self: center;
}

.gat-section__intro {
  font-family: var(--gat-font-sans);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--gat-ink-soft);
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 32px;
  margin-top: 8px;
}


/* ============== CARD ============== */
.gat-card {
  background: var(--gat-paper);
  border: 1px solid var(--gat-ink-10);
  padding: 36px 32px;
  margin-bottom: 16px;
}
.gat-card:last-child { margin-bottom: 0; }

.gat-card--stage {
  background: var(--gat-stage);
  border-color: var(--gat-ink-08);
  padding: 48px 32px;
}

.gat-card--ink {
  background: var(--gat-ink);
  color: var(--gat-paper);
  border-color: var(--gat-ink);
}
.gat-card--ink h1, .gat-card--ink h2, .gat-card--ink h3 { color: var(--gat-paper); }
.gat-card--ink p { color: var(--gat-paper-dim); }
.gat-card--ink .gat-card__label { color: var(--gat-paper-meta); }

.gat-card--flagship {
  border-color: var(--gat-ink);
  border-width: 1px;
  border-left-width: 4px;
}

.gat-card__label {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin-bottom: 18px;
}

.gat-card__title {
  font-family: var(--gat-font-sans);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--gat-ink);
  margin-bottom: 12px;
}

.gat-card__body {
  font-family: var(--gat-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gat-ink-soft);
}

.gat-card__meta {
  font-family: var(--gat-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gat-ink-08);
}

.gat-card__cta {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--gat-ink);
  text-decoration: underline;
  text-decoration-color: var(--gat-ink-30);
  text-underline-offset: 4px;
}
.gat-card__cta:hover { text-decoration-color: var(--gat-ink); }


/* ============== CARD GRID ============== */
.gat-grid {
  display: grid;
  gap: 24px;
}
.gat-grid--2 { grid-template-columns: repeat(2, 1fr); }
.gat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gat-grid--4 { grid-template-columns: repeat(4, 1fr); }

.gat-grid .gat-card { margin-bottom: 0; }


/* ============== PROPOSITION (Ink panel) ============== */
.gat-prop {
  background: var(--gat-ink);
  color: var(--gat-paper);
  padding: 56px;
  margin: 0;
}

.gat-prop__inner {
  max-width: 880px;
  margin: 0 auto;
}

.gat-prop__eyebrow {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gat-paper-meta);
  margin-bottom: 24px;
}

.gat-prop__heading {
  font-family: var(--gat-font-sans);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--gat-paper);
  margin-bottom: 28px;
  max-width: 760px;
}

.gat-prop__body {
  font-family: var(--gat-font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gat-paper-dim);
  max-width: 680px;
  margin-bottom: 18px;
}
.gat-prop__body:last-child { margin-bottom: 0; }
.gat-prop__body strong { color: var(--gat-paper); font-weight: 600; }

.gat-prop__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--gat-paper-12);
  padding-top: 28px;
  margin-top: 28px;
}

.gat-prop__split-label {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-paper-meta);
  margin-bottom: 12px;
}

.gat-prop__split-list {
  font-family: var(--gat-font-sans);
  font-size: 13px;
  color: var(--gat-paper-dim);
  line-height: 1.7;
}
.gat-prop__split-list strong { color: var(--gat-paper); font-weight: 600; }


/* ============== TYPE PATTERNS ============== */
.gat-display {
  font-family: var(--gat-font-sans);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--gat-ink);
}

.gat-headline {
  font-family: var(--gat-font-serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.1;
  color: var(--gat-ink);
  font-variation-settings: "opsz" 144;
}

.gat-quote {
  font-family: var(--gat-font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--gat-ink);
}

.gat-caption {
  font-family: var(--gat-font-sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gat-ink-soft);
}

.gat-label {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-ink);
}


/* ============== FORMS ============== */
.gat-form { display: flex; flex-direction: column; gap: 16px; }

.gat-form__group { display: flex; flex-direction: column; gap: 6px; }

.gat-form__label {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-stone);
}

.gat-input,
.gat-textarea,
.gat-select {
  font-family: var(--gat-font-sans);
  font-size: 17px;
  color: var(--gat-ink);
  background: var(--gat-paper);
  border: 1px solid var(--gat-ink-18);
  padding: 14px 16px;
  width: 100%;
  border-radius: 0;
  transition: border-color 0.15s ease;
}
.gat-input:focus,
.gat-textarea:focus,
.gat-select:focus {
  outline: none;
  border-color: var(--gat-ink);
}

.gat-textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

.gat-form__note {
  font-family: var(--gat-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gat-stone);
}


/* ============== LIST PATTERNS ============== */
.gat-list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gat-list-clean li {
  padding: 14px 0;
  border-bottom: 1px solid var(--gat-ink-08);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gat-ink);
  margin: 0;
}
.gat-list-clean li:last-child { border-bottom: none; }

.gat-list-checks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gat-list-checks li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gat-ink);
  margin: 0;
}
.gat-list-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 1px;
  background: var(--gat-ink);
}


/* ============== FAQ ============== */
.gat-faq { display: flex; flex-direction: column; }

.gat-faq__item {
  border-top: 1px solid var(--gat-ink-10);
  padding: 24px 0;
}
.gat-faq__item:last-child { border-bottom: 1px solid var(--gat-ink-10); }

.gat-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: -0.015em;
  color: var(--gat-ink);
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.gat-faq__icon {
  font-family: var(--gat-font-mono);
  font-size: 14px;
  color: var(--gat-stone);
  flex-shrink: 0;
}

.gat-faq__answer {
  margin-top: 14px;
  font-family: var(--gat-font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gat-ink-soft);
  max-width: 720px;
}


/* ============== TAG / PILL ============== */
.gat-tag {
  display: inline-block;
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-stone);
  border: 1px solid var(--gat-ink-18);
  padding: 6px 10px;
  background: transparent;
}


/* ============== FOOTER ============== */
.gat-footer {
  background: var(--gat-ink);
  color: var(--gat-paper);
  padding: 56px 36px 32px;
}

.gat-footer a {
  color: var(--gat-paper);
  text-decoration: none;
}
.gat-footer a:hover {
  color: var(--gat-paper);
  text-decoration: underline;
  text-decoration-color: var(--gat-paper-20);
}

.gat-footer__top {
  max-width: var(--gat-container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gat-paper-20);
}

.gat-footer__lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gat-footer__mark {
  font-family: var(--gat-font-sans);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.045em;
  color: var(--gat-paper);
  line-height: 0.85;
}

.gat-footer__bar {
  display: inline-block;
  width: 1.5px;
  height: 22px;
  background: var(--gat-paper);
  flex-shrink: 0;
}

.gat-footer__name {
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--gat-paper);
  letter-spacing: -0.005em;
}

.gat-footer__cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.gat-footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}

.gat-footer__col-label {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-paper-meta);
  margin-bottom: 6px;
}

.gat-footer__col a {
  font-family: var(--gat-font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--gat-paper-dim);
}
.gat-footer__col a:hover { color: var(--gat-paper); }

.gat-footer__bottom {
  max-width: var(--gat-container);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gat-paper-meta);
}
.gat-footer__bottom a { color: var(--gat-paper-meta); }
.gat-footer__bottom a:hover { color: var(--gat-paper); }


/* ============== MEMO / NEWSLETTER FORM ============== */
.gat-memo {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.gat-memo .gat-input { flex: 1; min-width: 220px; }


/* ============== RESPONSIVE · 820px ============== */
@media (max-width: 820px) {
  :root {
    --gat-gutter: 20px;
    --gat-section-y: 56px;
  }

  .gat-nav {
    padding: 16px 20px;
    flex-wrap: wrap;
  }
  .gat-nav__name { display: none; }
  .gat-nav__menu { gap: 18px; }
  .gat-nav__menu a { font-size: 12px; }
  .gat-nav__cta { padding: 8px 14px; font-size: 12px; }

  .gat-hero {
    padding: 64px 20px;
  }

  .gat-prop { padding: 32px 24px; }
  .gat-prop__split { grid-template-columns: 1fr; gap: 24px; }

  .gat-grid--2,
  .gat-grid--3,
  .gat-grid--4 { grid-template-columns: 1fr; }

  .gat-card { padding: 24px 20px; }
  .gat-card--stage { padding: 32px 20px; }

  .gat-footer { padding: 40px 20px 24px; }
  .gat-footer__top { gap: 28px; padding-bottom: 28px; }
  .gat-footer__cols { gap: 28px; }

  .gat-section__header {
    flex-wrap: wrap;
    gap: 12px;
  }
  .gat-section__rule { display: none; }
}


/* ============================================================
   LEGACY COMPAT ALIASES
   ------------------------------------------------------------
   Maps the most-used legacy class names from pre-rebrand pages
   to brand-kit-aligned visuals. These exist so the 14 rebrand
   pages don't visually collapse before Wave 2 agents restructure
   them. Once all pages use canonical .gat-* classes, this block
   can be deleted in a future cleanup.

   DO NOT extend this list. Wave 2 should migrate pages, not add
   more aliases.
   ============================================================ */

/* --- Page containers --- */
.container,
.hero-container,
.services-container,
.about-container,
.contact-container,
.faq-container,
.footer-container {
  max-width: var(--gat-container);
  margin: 0 auto;
  padding: 0 var(--gat-gutter);
  width: 100%;
}

/* --- Nav (legacy → brand-kit visuals) --- */
.nav-container,
.site-nav,
nav.navbar {
  background: var(--gat-paper);
  border-bottom: 1px solid var(--gat-ink-10);
  padding: 22px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--gat-container);
  margin: 0 auto;
}
.nav-logo,
.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: var(--gat-ink);
}
.nav-logo-text {
  font-family: var(--gat-font-sans);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.045em;
  color: var(--gat-ink);
  line-height: 0.85;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links li { margin: 0; padding: 0; border: 0; }
.nav-link {
  font-family: var(--gat-font-sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--gat-ink);
  text-decoration: none;
}
.nav-link:hover { color: var(--gat-stone); }
.nav-link-cta {
  background: var(--gat-ink);
  color: var(--gat-paper) !important;
  padding: 10px 18px;
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
}
.nav-link-cta:hover { background: var(--gat-stone); color: var(--gat-paper) !important; }

/* Mobile menu legacy --- hide overlay; rely on responsive collapse */
.mobile-menu-toggle,
.mobile-nav-menu,
.mobile-nav-overlay,
.mobile-nav-links { display: none; }

/* --- Hero (legacy) --- */
.hero-section {
  background: var(--gat-paper);
  border-bottom: 1px solid var(--gat-ink-10);
  padding: 96px 36px;
  text-align: center;
}
.hero-content { max-width: 760px; margin: 0 auto; }
.hero-headline {
  font-family: var(--gat-font-serif);
  font-weight: 500;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--gat-ink);
  font-variation-settings: "opsz" 144;
  margin-bottom: 18px;
}
.hero-subtitle {
  font-family: var(--gat-font-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--gat-ink-soft);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto 32px;
}
.hero-cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons (legacy) --- */
.btn-primary,
.cta-button-primary,
.cta-button-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gat-ink);
  color: var(--gat-paper) !important;
  border: 1px solid var(--gat-ink);
  padding: 14px 22px;
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-decoration: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-primary:hover,
.cta-button-primary:hover,
.cta-button-large:hover {
  background: var(--gat-stone);
  border-color: var(--gat-stone);
}
.btn-secondary,
.cta-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--gat-ink) !important;
  border: 1px solid var(--gat-ink);
  padding: 14px 22px;
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-decoration: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-secondary:hover,
.cta-button-secondary:hover {
  background: var(--gat-ink);
  color: var(--gat-paper) !important;
}

/* --- Sections (legacy) --- */
.problem-section,
.services-section,
.about-section,
.contact-section,
.faq-section,
.memo-section,
.ai-expertise {
  background: var(--gat-sand);
  padding: var(--gat-section-y) 0;
}
.section-badge {
  display: inline-block;
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--gat-font-serif);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--gat-ink);
  font-variation-settings: "opsz" 144;
  margin-bottom: 16px;
}
.problem-intro {
  font-family: var(--gat-font-sans);
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--gat-ink-soft);
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 32px;
}

/* --- Services cards (legacy) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.service-card,
.service-card-flagship {
  background: var(--gat-paper);
  border: 1px solid var(--gat-ink-10);
  padding: 32px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--gat-ink);
  transition: border-color 0.15s ease;
}
.service-card-flagship {
  border-left-width: 4px;
  border-left-color: var(--gat-ink);
}
.service-card:hover,
.service-card-flagship:hover {
  border-color: var(--gat-ink);
  text-decoration: none;
}
.service-number {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin-bottom: 18px;
}
.service-title {
  font-family: var(--gat-font-serif);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--gat-ink);
  margin-bottom: 12px;
}
.service-description {
  font-family: var(--gat-font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gat-ink-soft);
  margin-bottom: 16px;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.service-list li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--gat-ink);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 1px;
  background: var(--gat-ink);
}
.service-duration {
  font-family: var(--gat-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gat-ink-08);
}
.service-link {
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--gat-ink);
  text-decoration: underline;
  text-decoration-color: var(--gat-ink-30);
  text-underline-offset: 4px;
  margin-top: 14px;
  display: inline-block;
}
.service-link:hover { text-decoration-color: var(--gat-ink); }

/* --- About (legacy) --- */
.about-content { max-width: 720px; margin: 0 auto; }
.about-text {
  font-family: var(--gat-font-sans);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--gat-ink);
}
.about-bio {
  font-family: var(--gat-font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--gat-ink-soft);
}

/* --- Contact (legacy) --- */
.contact-card {
  background: var(--gat-paper);
  border: 1px solid var(--gat-ink-10);
  padding: 32px;
  margin-bottom: 16px;
}
.contact-description {
  font-family: var(--gat-font-sans);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--gat-ink-soft);
  max-width: 580px;
  margin-bottom: 24px;
}
.contact-options { display: flex; flex-direction: column; gap: 12px; }

/* --- FAQ (legacy) --- */
.faq-accordion { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--gat-ink-10);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--gat-ink-10); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.faq-question-text {
  font-family: var(--gat-font-serif);
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: -0.01em;
  color: var(--gat-ink);
  font-variation-settings: "opsz" 144;
}
.faq-icon {
  font-family: var(--gat-font-mono);
  font-size: 14px;
  color: var(--gat-stone);
  flex-shrink: 0;
}
.faq-answer {
  margin-top: 14px;
  font-family: var(--gat-font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--gat-ink-soft);
  max-width: 720px;
}
.faq-answer-content { font-family: inherit; font-size: inherit; color: inherit; }

/* --- Memo / newsletter (legacy) --- */
.memo-signup,
.memo-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.memo-input {
  flex: 1;
  min-width: 220px;
  font-family: var(--gat-font-sans);
  font-size: 15px;
  color: var(--gat-ink);
  background: var(--gat-paper);
  border: 1px solid var(--gat-ink-18);
  padding: 12px 14px;
  border-radius: 0;
}
.memo-input:focus { outline: none; border-color: var(--gat-ink); }
.memo-note {
  font-family: var(--gat-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin-top: 12px;
  text-align: center;
}

/* --- Footer (legacy) --- */
.site-footer {
  background: var(--gat-ink);
  color: var(--gat-paper);
  padding: 56px 36px 32px;
}
.site-footer a { color: var(--gat-paper-dim); text-decoration: none; }
.site-footer a:hover { color: var(--gat-paper); text-decoration: underline; text-decoration-color: var(--gat-paper-20); }
.footer-brand,
.footer-wordmark {
  font-family: var(--gat-font-sans);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.045em;
  color: var(--gat-paper);
  line-height: 0.85;
  margin-bottom: 16px;
}
.footer-tagline {
  font-family: var(--gat-font-sans);
  font-size: 13px;
  color: var(--gat-paper-dim);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 320px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.footer-links li { margin: 0; }
.footer-links a {
  font-family: var(--gat-font-sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--gat-paper-dim);
}
.footer-meta {
  padding-top: 28px;
  border-top: 1px solid var(--gat-paper-20);
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gat-paper-meta);
}

/* ============== BUTTONS INSIDE INK PANELS ============== */
/* When .gat-btn appears inside .gat-prop (Ink panel) or .gat-section--ink,
   invert the variants so they remain visible on dark backgrounds. */

.gat-prop__ctas,
.gat-prop .gat-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.gat-prop .gat-btn--primary,
.gat-section--ink .gat-btn--primary {
  background: var(--gat-paper);
  color: var(--gat-ink);
  border-color: var(--gat-paper);
}
.gat-prop .gat-btn--primary:hover,
.gat-section--ink .gat-btn--primary:hover {
  background: var(--gat-indigo);
  border-color: var(--gat-indigo);
  color: var(--gat-paper);
}

.gat-prop .gat-btn--ghost,
.gat-section--ink .gat-btn--ghost {
  background: transparent;
  color: var(--gat-paper);
  border-color: var(--gat-paper-20);
}
.gat-prop .gat-btn--ghost:hover,
.gat-section--ink .gat-btn--ghost:hover {
  background: var(--gat-indigo);
  color: var(--gat-paper);
  border-color: var(--gat-indigo);
}


/* ============== TABLE ============== */
/* Flat monochrome table. Numeric cells render in IBM Plex Mono. */

.gat-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--gat-font-sans);
  font-size: 16px;
  color: var(--gat-ink);
  background: var(--gat-paper);
  border: 1px solid var(--gat-ink-10);
  margin: 0;
}

.gat-table caption {
  text-align: left;
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-stone);
  padding: 0 0 12px;
}

.gat-table thead th {
  font-family: var(--gat-font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gat-stone);
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gat-ink-18);
  background: var(--gat-stage);
  vertical-align: bottom;
}

.gat-table tbody td,
.gat-table tbody th {
  padding: 16px 18px;
  border-bottom: 1px solid var(--gat-ink-08);
  vertical-align: top;
  font-weight: 400;
  line-height: 1.5;
}

.gat-table tbody tr:last-child td,
.gat-table tbody tr:last-child th {
  border-bottom: 0;
}

.gat-table th[scope="row"] {
  font-family: var(--gat-font-sans);
  font-weight: 600;
  color: var(--gat-ink);
  text-align: left;
}

.gat-table td.num,
.gat-table td[data-numeric],
.gat-table .gat-table__num {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gat-table td.right,
.gat-table th.right { text-align: right; }


/* Responsive override for legacy nav/hero at mobile */
@media (max-width: 820px) {
  .nav-container,
  nav.navbar { padding: 16px 20px; }
  .nav-links { gap: 18px; }
  .nav-link, .nav-link-cta { font-size: 12px; }
  .nav-link-cta { padding: 8px 14px; }

  .hero-section { padding: 64px 20px; }

  .services-grid { grid-template-columns: 1fr; }

  .service-card,
  .service-card-flagship,
  .contact-card { padding: 24px 20px; }

  .site-footer { padding: 40px 20px 24px; }
}

/* ============================================================
   INTAKE FORM + MODAL (GAT brand)
   Used by the modal triggered from service pages and embedded
   directly on /contact/. Shares all styling via .intake-form.
   ============================================================ */

/* ---------- Modal shell ---------- */
.intake-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.intake-modal.active { opacity: 1; }

.intake-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 11, 0.55);
  cursor: pointer;
}

.intake-modal__container {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: var(--gat-paper);
  color: var(--gat-ink);
  border: 1px solid var(--gat-ink);
  border-radius: 0;
  padding: 48px;
  box-shadow: 0 24px 60px rgba(10, 10, 11, 0.18);
  margin: auto;
  transform: translateY(8px);
  transition: transform 0.2s ease;
}
.intake-modal.active .intake-modal__container { transform: translateY(0); }

.intake-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  color: var(--gat-ink);
  cursor: pointer;
  border-radius: 0;
  transition: border-color 0.15s ease;
}
.intake-modal__close:hover { border-color: var(--gat-ink); }
.intake-modal__close:focus-visible {
  outline: 2px solid var(--gat-indigo);
  outline-offset: 2px;
}

.intake-modal__header { margin-bottom: 32px; }

.intake-modal__eyebrow {
  display: inline-block;
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin-bottom: 14px;
}

.intake-modal__title {
  font-family: var(--gat-font-sans);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.012em;
  line-height: 1.15;
  color: var(--gat-ink);
  margin: 0 0 10px;
}

.intake-modal__subtitle {
  font-family: var(--gat-font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--gat-ink-soft);
  margin: 0;
}

.intake-modal__body { margin-top: 0; }

@media (max-width: 640px) {
  .intake-modal { padding: 24px 12px; }
  .intake-modal__container { padding: 32px 22px; }
  .intake-modal__title { font-size: 22px; }
}

/* ---------- Form fields (shared modal + embed) ---------- */
.intake-form { display: block; }

.intake-form__content { display: block; }

.intake-form__row {
  display: block;
  margin-bottom: 24px;
}

.intake-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.intake-form__group {
  display: flex;
  flex-direction: column;
}

.intake-form__label {
  display: block;
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin-bottom: 8px;
}

.intake-form__input,
.intake-form__select,
.intake-form__textarea {
  width: 100%;
  font-family: var(--gat-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gat-ink);
  background: var(--gat-paper);
  border: 1px solid var(--gat-ink-30);
  border-radius: 0;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.intake-form__input::placeholder,
.intake-form__textarea::placeholder {
  color: var(--gat-stone);
  opacity: 0.7;
}

.intake-form__input:focus,
.intake-form__select:focus,
.intake-form__textarea:focus {
  outline: none;
  border-color: var(--gat-indigo);
  box-shadow: 0 0 0 1px var(--gat-indigo);
}

.intake-form__textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--gat-font-sans);
}

.intake-form__select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gat-ink) 50%),
                    linear-gradient(135deg, var(--gat-ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}

.intake-form__submit {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.intake-form__submit .gat-btn {
  width: 100%;
  padding: 16px 22px;
  font-size: 15px;
}

.intake-form__btn-loading {
  font-family: var(--gat-font-mono);
  letter-spacing: 0.08em;
  font-size: 13px;
}

/* ---------- Success state ---------- */
.intake-form__success {
  padding: 32px;
  background: var(--gat-sand);
  border: 1px solid var(--gat-ink);
}

.intake-form__success-label {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin-bottom: 12px;
}

.intake-form__success-body {
  font-family: var(--gat-font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--gat-ink);
  margin: 0;
}

/* ---------- Embedded form (on /contact/) wrapper ---------- */
.intake-embed {
  background: var(--gat-paper);
  border: 1px solid var(--gat-ink);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .intake-form__row--split { grid-template-columns: 1fr; }
  .intake-embed { padding: 28px 22px; }
}

/* ---------- Secondary "Other ways to reach me" disclosure ---------- */
.intake-alt {
  max-width: 640px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--gat-ink-10);
}

.intake-alt__heading {
  font-family: var(--gat-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gat-stone);
  margin: 0 0 14px;
}

.intake-alt__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.intake-alt__list li {
  font-family: var(--gat-font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gat-ink);
  margin-bottom: 8px;
}

.intake-alt__list li:last-child { margin-bottom: 0; }

/* ============================================================
   End of stylesheet
   ============================================================ */
