/* ==========================================================================
   Appit Art — appit.css (lean homepage stylesheet)
   Replaces libs.css + style.css (162 KB) on index.html only.
   Brand palette sampled from the official App IT Art logo (2026-10-29).
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted, swap) ---------- */
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/source-sans-pro-v14-latin/source-sans-pro-v14-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/source-sans-pro-v14-latin/source-sans-pro-v14-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-v18-latin/montserrat-v18-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/montserrat-v18-latin/montserrat-v18-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/playfair-display-v22-latin/playfair-display-v22-latin-italic.woff2") format("woff2"); }

/* ---------- 2. Tokens ---------- */
:root {
  /* Brand palette — sampled from the App IT Art logo
     Ink #000000 · Sky #92D0FF · Yellow #F9CF49 · Screen #E9F3F7 · Mist #D3E7F0
     Contrast rules: Sky/Yellow are FILLS behind black text (12.7:1 / 14.0:1) or TEXT on black (11.4:1 / 12.6:1).
     Never use Sky/Yellow as text on white (1.66:1 / 1.49:1). Small accent text on light uses --accent-text. */
  --brand-ink: #000000;
  --brand-sky: #92D0FF;
  --brand-yellow: #F9CF49;
  --brand-screen: #E9F3F7;
  --brand-mist: #D3E7F0;

  --font-family: "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font-family: "Montserrat", system-ui, sans-serif;
  --additional-font-family: "Playfair Display", Georgia, serif;
  --accent-color: var(--brand-yellow);  /* primary CTA fill (black text 14.0:1) */
  --accent-on-dark: var(--brand-sky);   /* accent text on black — 11.4:1 */
  --accent-text: #0F5BA8;               /* deep sky — small accent text on white 6.8:1 / on Screen 6.0:1 */
  --background-color: #ffffff;
  --text-primary: #111111;
  --link-color: #0F5BA8;
  --border-color: #474747;
  --placeholder-color: #6F6F76;   /* 4.99:1 on #fff */
  --error-color: #B00020;
  --menu-background-color: #000000;
  --menu-text-primary: #ffffff;

  /* System */
  --surface-2: var(--brand-screen);
  --muted: #55555B;
  --muted-on-dark: #B8C7D3;       /* 10.9:1 on #111 */
  --line: rgba(0, 0, 0, .12);
  --line-dark: rgba(146, 208, 255, .18);
  --success: #1D7A3E;

  --radius: 4px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --maxw: 84rem;
  --section-y: clamp(4rem, 10vw, 8.5rem);
  --header-h: 4.5rem;

  --fs-sm: .9375rem;
  --fs-base: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1.05rem + .4vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.12rem + .6vw, 1.625rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.4vw, 3.75rem);
  --fs-h1: clamp(2.625rem, 1.6rem + 5vw, 6.25rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 3. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font: 400 var(--fs-base)/1.6 var(--font-family);
  color: var(--text-primary);
  background-color: var(--background-color);
  /* Brand 3-column guideline motif (replaces .lines DOM) */
  background-image: linear-gradient(90deg, transparent calc(33.333% - .5px), var(--line) calc(33.333% - .5px), var(--line) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), var(--line) calc(66.666% - .5px), var(--line) calc(66.666% + .5px), transparent calc(66.666% + .5px));
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--heading-font-family); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
em.serif, .serif { font-family: var(--additional-font-family); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* Focus — visible, high-contrast, keyboard only (WCAG 2.4.7) */
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--brand-yellow); }
::selection { background: var(--brand-yellow); color: var(--brand-ink); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--text-primary); color: #fff; padding: .75rem 1.25rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- 4. Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--surface-2); }
.on-dark { background: var(--menu-background-color); color: #fff; }
.on-dark .muted, .on-dark .lede { color: var(--muted-on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .625rem;
  font: 600 .8125rem/1 var(--heading-font-family); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--accent-on-dark); }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head h2 { font-size: var(--fs-h2); margin: 0; }
.lede { font-size: var(--fs-lg); color: var(--muted); max-width: 40rem; margin: 0; }
.muted { color: var(--muted); }

@media (min-width: 900px) {
  /* Content starts on the 2nd brand column, mirrors legacy offset-md-1_3 */
  .section-head { grid-template-columns: 1fr 2fr; }
  .section-head > * { grid-column: 2; }
}

/* ---------- 5. Buttons (44px+ targets — WCAG 2.5.5 / thumb zone) ---------- */
.btn {
  --btn-bg: var(--brand-yellow); --btn-fg: var(--brand-ink); --btn-bd: var(--brand-ink); --btn-sh: var(--brand-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  min-height: 3.25rem; padding: .875rem 1.75rem;
  font: 600 1rem/1.2 var(--heading-font-family); letter-spacing: .01em; text-decoration: none; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: var(--radius);
  box-shadow: 3px 3px 0 var(--btn-sh); /* comic-outline offset, from the logo's heavy black stroke */
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { --btn-bg: var(--brand-sky); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--btn-sh); }
.btn svg { width: 1.125em; height: 1.125em; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --btn-bg: #fff; --btn-fg: var(--brand-ink); --btn-bd: var(--brand-ink); }
.btn--ghost:hover { --btn-bg: var(--brand-sky); }
.on-dark .btn { --btn-bg: var(--brand-yellow); --btn-bd: var(--brand-yellow); --btn-fg: var(--brand-ink); --btn-sh: var(--brand-sky); }
.on-dark .btn:hover { --btn-bg: var(--brand-sky); --btn-bd: var(--brand-sky); --btn-sh: var(--brand-yellow); }
.on-dark .btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: #fff; --btn-sh: transparent; }
.on-dark .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--brand-ink); --btn-bd: #fff; }
.btn--sm { min-height: 2.75rem; padding: .625rem 1.125rem; font-size: .9375rem; }
.btn--block { width: 100%; }

/* ---------- 6. Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; padding-block: .5rem; }
.logo__mark { font: 700 1.375rem/1 var(--heading-font-family); letter-spacing: -.02em; }
.logo__mark b { color: var(--accent-text); font-weight: 700; }
.logo { flex-direction: row; align-items: center; gap: .75rem; }
.logo__img { height: 3.25rem; width: auto; }
.logo__tag { margin-top: 0; padding-left: .75rem; border-left: 1px solid var(--line); line-height: 1.3; max-width: 7.5rem; }
@media (max-width: 479px) { .logo__tag { display: none; } }
.site-footer .logo__img { height: 4.5rem; }
.logo__tag { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: clamp(.75rem, 1.6vw, 1.75rem); }
.nav-desktop a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font: 600 .9375rem/1 var(--heading-font-family); text-decoration: none; position: relative;
}
.nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .6rem; height: 3px; background: var(--accent-text); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="true"]::after { transform: scaleX(1); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 3rem; min-height: 3rem; padding: 0 .75rem; margin-right: -.75rem;
  background: none; border: 0; cursor: pointer; font: 600 .875rem/1 var(--heading-font-family);
}
.nav-toggle__bars { width: 22px; height: 14px; position: relative; }
.nav-toggle__bars span { position: absolute; left: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s, width .25s; }
.nav-toggle__bars span:nth-child(1) { top: 0; width: 100%; }
.nav-toggle__bars span:nth-child(2) { top: 6px; width: 80%; }
.nav-toggle__bars span:nth-child(3) { top: 12px; width: 60%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 100%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 100%; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--menu-background-color); color: var(--menu-text-primary);
  padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 2rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.drawer.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer ul a {
  display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem;
  font: 700 clamp(1.5rem, 6vw, 2rem)/1.1 var(--heading-font-family); text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}
.drawer ul a::after { content: "→"; color: var(--accent-on-dark); font-weight: 400; }
.drawer__meta { margin-top: auto; color: var(--muted-on-dark); font-size: var(--fs-sm); }
.drawer__meta a { color: #fff; }
body.nav-open { overflow: hidden; }

@media (min-width: 1080px) {
  .nav-desktop, .header-cta { display: block; }
  .nav-toggle, .drawer { display: none; }
}

/* ---------- 7. Hero ---------- */
.hero { padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; gap: 2.5rem; }
.hero h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.035em; margin-bottom: .35em; max-width: 14ch; }
/* Accent words: black type on a Yellow marker swipe (echoes the logo's yellow "IT") */
.serif.hl, .hero h1 .serif, .section-head .serif {
  color: var(--brand-ink);
  background: linear-gradient(transparent 55%, var(--brand-yellow) 55%, var(--brand-yellow) 92%, transparent 92%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero h1 .serif { letter-spacing: -.02em; }
.on-dark .serif { color: var(--brand-sky); background: none; padding: 0; }
.hero__lede { font-size: var(--fs-lg); max-width: 38rem; color: #333; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2rem; }
.hero__answer {
  /* Direct-answer block: first-paragraph entity definition for LLM extraction */
  border-left: 4px solid var(--brand-yellow); padding: .25rem 0 .25rem 1.25rem; margin-top: 2.5rem; max-width: 40rem;
  font-size: var(--fs-sm); color: var(--muted);
}
.hero__answer strong { color: var(--text-primary); }
.hero__aside { display: grid; gap: 1.5rem; align-content: end; }
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.proof div { background: var(--background-color); padding: 1.25rem; }
.proof dt { font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.proof div:first-child { background: var(--brand-yellow); }
.proof div:first-child dt { color: var(--brand-ink); }
.proof dd { margin: 0 0 .35rem; font: 700 clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem)/1 var(--heading-font-family); letter-spacing: -.03em; order: -1; }
.proof div { display: flex; flex-direction: column; }
.text-circle { display: none; width: 9.5rem; aspect-ratio: 1; justify-self: end; color: var(--text-primary); }
.text-circle text { font: 600 44px var(--heading-font-family); letter-spacing: .32em; text-transform: uppercase; fill: currentColor; }
.text-circle svg { animation: spin 22s linear infinite; }
.preferred-source { font-size: var(--fs-sm); font-weight: 700; color: var(--link-color); }

@media (min-width: 900px) {
  .text-circle { display: block; }
  .hero__grid { grid-template-columns: 2fr 1fr; align-items: end; gap: 4rem; }
}

/* ---------- 8. Marquee (CSS-only) ---------- */
.marquee { overflow: hidden; background: var(--brand-sky); color: var(--brand-ink); border-block: 2px solid var(--brand-ink); padding-block: 1.25rem; user-select: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font: 700 clamp(1.5rem, 1rem + 2.5vw, 3rem)/1 var(--heading-font-family); text-transform: uppercase; letter-spacing: -.02em; padding-right: 2rem; white-space: nowrap; }
.marquee__track span i { font-family: var(--additional-font-family); font-weight: 400; color: var(--brand-ink); text-transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 9. Masterclass ---------- */
.masterclass__grid { display: grid; gap: 3rem; }
.masterclass h2 { font-size: var(--fs-h2); }
.offer {
  border: 2px solid var(--brand-sky); background: #0E1318; padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid; gap: 1.25rem; align-content: start;
}
.offer__price { display: flex; align-items: baseline; gap: .5rem; }
.offer__price strong { font: 700 clamp(3rem, 2rem + 4vw, 4.5rem)/1 var(--heading-font-family); letter-spacing: -.04em; }
.offer__meta { display: grid; gap: .625rem; padding: 0; margin: 0; list-style: none; font-size: var(--fs-sm); color: var(--muted-on-dark); }
.offer__meta li { display: flex; gap: .75rem; align-items: flex-start; }
.offer__meta svg { width: 1.125rem; height: 1.125rem; flex: none; margin-top: .2rem; color: var(--brand-yellow); }
.offer__fine { font-size: .8125rem; color: var(--muted-on-dark); margin: 0; }
.curriculum { columns: 1; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.curriculum li { break-inside: avoid; padding: .75rem 0; border-bottom: 1px solid var(--line-dark); display: flex; gap: .875rem; }
.curriculum li::before { content: counter(c, decimal-leading-zero); counter-increment: c; font: 600 .8125rem/1.9 var(--heading-font-family); color: var(--accent-on-dark); }
.curriculum { counter-reset: c; }
.benefits { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: clamp(3rem, 6vw, 4.5rem); }
.benefit { background: var(--menu-background-color); padding: clamp(1.5rem, 3vw, 2.25rem); }
.benefit h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.benefit p { color: var(--muted-on-dark); margin: 0; }
.benefit__icon { width: 2.5rem; height: 2.5rem; color: var(--brand-yellow); margin-bottom: 1.25rem; }

@media (min-width: 720px) { .benefits { grid-template-columns: repeat(3, 1fr); } .curriculum { columns: 2; column-gap: 2.5rem; } }
@media (min-width: 900px) { .masterclass__grid { grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: start; } .offer { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* ---------- 10. Services ---------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: s; }
.service { background: var(--background-color); padding: clamp(1.5rem, 3.5vw, 2.75rem); display: grid; gap: 1rem; align-content: start; position: relative; }
.service__num { font: 600 .8125rem/1 var(--heading-font-family); letter-spacing: .1em; color: var(--accent-text); }
.service h3 { font-size: var(--fs-h3); margin: 0; }
.service p { margin: 0; color: #333; }
.service ul { margin: .25rem 0 0; padding: 0; list-style: none; display: grid; gap: .375rem; font-size: var(--fs-sm); color: var(--muted); }
.service li { padding-left: 1.25rem; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: .7em; width: .5rem; height: 3px; background: var(--accent-text); }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 11. Regional work ---------- */
.work-grid { display: grid; gap: clamp(1.5rem, 3vw, 2rem); }
.case { display: grid; grid-template-rows: auto 1fr; background: var(--background-color); border: 1px solid var(--line); }
.case__media { aspect-ratio: 455 / 691; max-height: 26rem; overflow: hidden; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.case__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.case:hover .case__media img { transform: scale(1.03); }
.case__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.case__tag { font: 600 .75rem/1 var(--heading-font-family); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.case h3 { font-size: 1.25rem; margin: 0; }
.case p { margin: 0; font-size: var(--fs-sm); color: #333; }
.case__metrics { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.case__metrics li { font-size: .8125rem; padding: .35rem .625rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.case__link { margin-top: auto; padding-top: .5rem; font-weight: 700; color: var(--text-primary); display: inline-flex; align-items: center; gap: .375rem; min-height: 2.75rem; }
.case__link:hover { color: var(--accent-text); }
.regions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.regions li { font-size: var(--fs-sm); font-weight: 700; padding: .35rem .875rem; background: var(--brand-sky); color: var(--brand-ink); border: 2px solid var(--brand-ink); border-radius: 999px; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 12. About / team ---------- */
.about__grid { display: grid; gap: 3rem; }
.founder { display: grid; gap: 1.5rem; grid-template-columns: 7rem 1fr; align-items: start; }
.founder img { width: 7rem; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.founder h3 { font-size: var(--fs-h3); margin-bottom: .25rem; }
.founder__role { font-size: var(--fs-sm); color: var(--accent-text); font-weight: 700; margin-bottom: 1rem; }
.ventures { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; font-size: var(--fs-sm); }
.ventures li { display: grid; grid-template-columns: 9.5rem 1fr; gap: .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.ventures b { font-family: var(--heading-font-family); font-weight: 600; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); transition: filter .3s; margin-bottom: .75rem; }
.team li:hover img { filter: none; }
.team b { display: block; font: 600 1rem/1.3 var(--heading-font-family); }
.team span { font-size: .875rem; color: var(--muted); line-height: 1.35; display: block; }
.quotes { display: grid; gap: 1.25rem; margin-top: 3rem; }
.quote { margin: 0; padding: 1.5rem; border: 1px solid var(--line); background: var(--background-color); }
.quote p { font-family: var(--additional-font-family); font-style: italic; font-size: 1.125rem; line-height: 1.5; }
.quote footer { font-size: var(--fs-sm); color: var(--muted); }
.quote cite { font-style: normal; font-weight: 700; color: var(--text-primary); }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } .quotes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 479px) { .founder { grid-template-columns: 1fr; } .ventures li { grid-template-columns: 1fr; gap: .125rem; } }

/* ---------- 13. FAQ (AEO direct-answer vectors) ---------- */
.faq { border-top: 1px solid var(--line); max-width: 56rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 3.5rem; padding-block: 1.125rem; font: 600 var(--fs-lg)/1.3 var(--heading-font-family);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.75rem/1 var(--font-family); color: var(--accent-text); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 1.5rem; max-width: 46rem; color: #333; }
.faq .faq__a p:last-child { margin: 0; }
@media (min-width: 900px) { .faq { margin-left: calc(100% / 3); } }

/* ---------- 14. Contact + form ---------- */
.contact__grid { display: grid; gap: 3rem; }
.contact h2 { font-size: var(--fs-h2); }
.contact-list { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; }
.contact-list dt, .contact-list .label { font: 600 .75rem/1 var(--heading-font-family); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: .375rem; }
.contact-list a { font-size: var(--fs-lg); font-weight: 700; text-decoration: none; display: inline-flex; min-height: 2.75rem; align-items: center; }
.contact-list a:hover { color: var(--brand-yellow); }

.form { display: grid; gap: 1.25rem; background: #0E1318; border: 1px solid var(--line-dark); padding: clamp(1.25rem, 4vw, 2.5rem); }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .5rem; }
.field label { font-weight: 700; font-size: var(--fs-sm); }
.field .req { color: var(--brand-yellow); }
.field .hint { font-size: .8125rem; color: var(--muted-on-dark); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: .75rem 1rem;
  background: #111; color: #fff; border: 1px solid #5A5A5A; border-radius: var(--radius);
  font-size: 1rem; /* ≥16px prevents iOS zoom */ transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #8E8E95; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-sky); box-shadow: 0 0 0 3px rgba(146, 208, 255, .45); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #FF6B47; }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: #4CAF73; }
.field__error { font-size: .875rem; color: #FF8A6B; min-height: 0; margin: 0; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: grid; gap: 1rem; }
.form__legal { font-size: .8125rem; color: var(--muted-on-dark); margin: 0; }
.form__legal a { color: #fff; }
.form__status { margin: 0; padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 700; }
.form__status:empty { display: none; }
.form__status[data-state="success"] { background: rgba(76, 175, 115, .15); border: 1px solid #4CAF73; color: #BFF0D0; }
.form__status[data-state="error"] { background: rgba(255, 107, 71, .12); border: 1px solid #FF6B47; color: #FFD2C5; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.35fr; gap: 5rem; } }

/* ---------- 15. Footer ---------- */
.site-footer { background: #000; color: var(--muted-on-dark); padding-block: 3.5rem calc(2rem + env(safe-area-inset-bottom)); font-size: var(--fs-sm); }
.site-footer a { color: #fff; text-decoration: none; display: inline-flex; min-height: 2.75rem; align-items: center; }
.site-footer a:hover { color: var(--brand-yellow); text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; }
.footer__grid h2 { font: 600 .75rem/1 var(--heading-font-family); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: .75rem; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 2.75rem; height: 2.75rem; justify-content: center; border: 1px solid var(--line-dark); border-radius: 50%; }
.socials svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.footer__legal { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer__base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* ---------- 16. Mobile sticky CTA (thumb zone) ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, .96); border-top: 2px solid var(--brand-sky);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 3rem; padding-inline: .75rem; font-size: .9375rem; }
.mobile-cta .btn { --btn-sh: var(--brand-sky); }
.mobile-cta .btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: #fff; --btn-sh: transparent; }
.mobile-cta .btn--ghost:hover { --btn-bg: var(--brand-sky); --btn-fg: var(--brand-ink); --btn-bd: var(--brand-sky); }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- 17. Reveal on scroll (progressive; content visible without JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 17b. Legal pages ---------- */
.legal { max-width: 46rem; }
.legal h1 { font-size: var(--fs-h2); }
.legal h2 { font-size: var(--fs-h3); margin-top: 2.5rem; }
.legal .note { padding: 1rem 1.25rem; background: var(--surface-2); border-left: 4px solid var(--brand-yellow); font-size: var(--fs-sm); }

/* ---------- 18. Reduced motion (WCAG 2.3.3) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- 19. Print ---------- */
@media print {
  .site-header, .drawer, .mobile-cta, .marquee, .text-circle, form { display: none !important; }
  body { background: none; }
  .on-dark { background: none; color: #000; }
}
