/* NomBot.ai static site — design system
 * Tokens mirror lib/theme/nombot_web_theme.dart so visuals match Flutter 1:1.
 * Typography: Quicksand via Google Fonts (loaded in <head> of every page).
 * Theme: [data-theme="dark"] on <html> swaps tokens; default = light, "system"
 * is resolved by app.js to a concrete attribute on first paint.
 */

/* =========================================================================
   1. Design tokens
   ========================================================================= */
:root {
  /* Brand */
  --c-teal:        #00695C;
  --c-teal-light:  #4DB6AC;
  --c-teal-dark:   #004D40;
  --c-orange:      #FF8A65;
  --c-green:       #81C784;
  --c-yellow:      #FFF176;
  --c-red:         #E57373;
  --c-purple:      #BA68C8;
  --c-error:       #F44336;
  --c-success:     #4CAF50;
  --c-warning:     #FF9800;

  /* Light surfaces */
  --c-cream-bg:     #F8F0E5;  /* scaffoldBackgroundColor */
  --c-cream-soft:   #FDF6F0;
  --c-cream-card:   #FEFAF5;  /* surface */
  --c-cream-hi:     #F5F0EA;  /* surfaceContainerHighest */
  --c-white:        #FFFFFE;  /* card bg */
  --c-primary-container: #E0F7F5;

  /* Dark surfaces */
  --c-dark-bg:      #1E1E1E;
  --c-dark-surface: #2A2A2A;
  --c-dark-hi:      #353535;

  /* Text */
  --c-text-primary:   #1A1A1A;
  --c-text-secondary: #2E2E2E;
  --c-text-tertiary:  #4A4A4A;
  --c-text-on-dark:   #FFFFFF;

  /* Outlines */
  --c-outline:        #79747E;
  --c-outline-variant:#CAC4D0;

  /* M3 tonal containers (light) — used by feature/about/contact cards.
     These mirror Flutter ColorScheme containers exactly. */
  --primary-container-light:    #E0F7F5;
  --on-primary-container-light: #1A1A1A;
  --secondary-container-light:  #FFF3E0;
  --on-secondary-container-light:#1A1A1A;
  --tertiary-container-light:   #E8F5E8;
  --on-tertiary-container-light:#1A1A1A;

  /* Active mapping (light by default) */
  --bg:               var(--c-cream-bg);
  --bg-elev:          var(--c-cream-card);
  --bg-card:          var(--c-white);
  --bg-hi:            var(--c-cream-hi);
  --primary:          var(--c-teal);
  --on-primary:       #FFFFFF;
  --primary-container:var(--c-primary-container);
  --on-primary-container: var(--c-text-primary);
  --secondary-container:    var(--secondary-container-light);
  --on-secondary-container: var(--on-secondary-container-light);
  --tertiary-container:     var(--tertiary-container-light);
  --on-tertiary-container:  var(--on-tertiary-container-light);
  /* Flutter's secondary/tertiary brand color — used for feature card icon
     foreground when tinted. Light: matches secondary #BF360C / tertiary #1B5E20. */
  --secondary:        #BF360C;
  --tertiary:         #1B5E20;
  --text:             var(--c-text-primary);
  /* `--text-muted` = Flutter onSurfaceVariant. Hero subcopy, card descriptions,
     "Last updated" lines, etc. all bind to this. */
  --text-muted:       var(--c-text-secondary);
  /* `--text-faint` = the older theme tertiaryText. Used by bodySmall/labelSmall. */
  --text-faint:       var(--c-text-tertiary);
  --outline-variant:  rgba(202, 196, 208, 0.5);
  --outline:          rgba(121, 116, 126, 0.6);
  --outline-soft:     rgba(121, 116, 126, 0.15);
  --shadow:           0 2px 4px rgba(0,0,0,0.08);
  --shadow-lg:        0 8px 24px rgba(0,0,0,0.12);
  --appbar-bg:        var(--bg);

  /* Spacing scale */
  --s-xs:  4px;
  --s-s:   8px;
  --s-m:   16px;
  --s-l:   24px;
  --s-xl:  32px;
  --s-xxl: 48px;
  --s-3xl: 72px;

  /* Radii */
  --r-s:  8px;
  --r-m:  12px;
  --r-l:  16px;
  --r-xl: 24px;

  /* Layout */
  --max-content: 1200px;
  --header-h:    64px;

  /* Type ramp (web-scaled) */
  --t-display-l:   56px;
  --t-display-m:   44px;
  --t-display-s:   36px;
  --t-headline-l:  32px;
  --t-headline-m:  26px;
  --t-headline-s:  22px;
  --t-title-l:     20px;
  --t-title-m:     17px;
  --t-title-s:     15px;
  --t-body-l:      18px;
  --t-body-m:      16px;
  --t-body-s:      14px;
  --t-label-l:     15px;
}

[data-theme="dark"] {
  --bg:               var(--c-dark-bg);
  --bg-elev:          var(--c-dark-surface);
  --bg-card:          var(--c-dark-surface);
  --bg-hi:            var(--c-dark-hi);
  --primary:          var(--c-teal-light);
  --on-primary:       var(--c-dark-bg);
  --primary-container:var(--c-teal-dark);
  --on-primary-container: #E0F7F5;
  --secondary-container:    #5D4037;
  --on-secondary-container: #FFDFCC;
  --tertiary-container:     #2E7D32;
  --on-tertiary-container:  #E8F5E8;
  --secondary:        var(--c-orange);
  --tertiary:         var(--c-green);
  --text:             #E8E8E8;
  --text-muted:       #C4C4C4;
  --text-faint:       rgba(196, 196, 196, 0.85);
  --outline-variant:  rgba(64, 64, 64, 0.5);
  --outline:          rgba(106, 106, 106, 0.6);
  --outline-soft:     rgba(106, 106, 106, 0.2);
  --shadow:           0 2px 6px rgba(0,0,0,0.4);
  --shadow-lg:        0 10px 30px rgba(0,0,0,0.5);
  --appbar-bg:        var(--bg);
}

/* Respect OS preference if user hasn't picked a theme yet (set by app.js
   when the stored mode is "system"). */
[data-theme="system"] { color-scheme: light dark; }

/* =========================================================================
   2. Reset / base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, sans-serif;
  font-size: var(--t-body-m);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
/* Brand icons (nombot_icon.webp etc.) are 1024×1536 portrait. When sized
   into a square box, letterbox instead of stretching. */
img[src$="nombot_icon.webp"],
img[src$="nombot_waiter.webp"] { object-fit: contain; }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
ul, ol { padding-left: 1.4em; }
hr { border: 0; border-top: 1px solid var(--outline-soft); margin: var(--s-l) 0; }

::selection { background: var(--c-teal-light); color: var(--c-text-primary); }

/* =========================================================================
   3. Typography
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
  margin: 0 0 var(--s-m);
  line-height: 1.25;
  color: var(--text);
}
/* h1/h2/h3 default to primary teal — that's what Flutter screens override
   to in nearly every callsite. The .display-* / .headline-* utility
   classes keep var(--text) so callers who explicitly want body color can
   apply them on top. */
h1, .display-l {
  font-size: var(--t-display-l); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.5px;
  color: var(--primary);
}
h2, .display-m {
  font-size: var(--t-display-m); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.25px;
  color: var(--primary);
}
.display-s { font-size: var(--t-display-s); font-weight: 700; line-height: 1.25; }
h3, .headline-l {
  font-size: var(--t-headline-l); font-weight: 700;
  line-height: 1.3; color: var(--primary);
}
h4, .headline-m {
  font-size: var(--t-headline-m); font-weight: 600; line-height: 1.35;
  color: var(--primary);
}
/* Title-* and body-* classes stay text-colored. Display/headline classes
   keep their h-tag color (primary). Inline style="color:var(--text)" if a
   caller specifically wants body color. */
.title-l, .title-m, .title-s { color: var(--text); }
.headline-s { font-size: var(--t-headline-s); font-weight: 600; line-height: 1.4; }
h5, .title-l { font-size: var(--t-title-l); font-weight: 600; line-height: 1.4; }
h6, .title-m { font-size: var(--t-title-m); font-weight: 600; line-height: 1.45; }
.title-s { font-size: var(--t-title-s); font-weight: 600; line-height: 1.45; }
.body-l { font-size: var(--t-body-l); line-height: 1.65; }
.body-m { font-size: var(--t-body-m); line-height: 1.6; }
.body-s { font-size: var(--t-body-s); line-height: 1.55; color: var(--text-muted); }
.label-l { font-size: var(--t-label-l); font-weight: 600; line-height: 1.4; }
p { margin: 0 0 var(--s-m); font-size: var(--t-body-l); line-height: 1.65; }
.muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }

@media (max-width: 600px) {
  h1, .display-l { font-size: 40px; }
  h2, .display-m { font-size: 32px; }
  .display-s { font-size: 28px; }
  h3, .headline-l { font-size: 26px; }
  h4, .headline-m { font-size: 22px; }
  p, .body-l { font-size: 17px; }
}

/* =========================================================================
   4. Layout
   ========================================================================= */
.container { width: 100%; max-width: var(--max-content); margin: 0 auto;
  padding: 0 var(--s-l); }
@media (max-width: 600px) { .container { padding: 0 var(--s-m); } }

.section { padding: var(--s-xxl) 0; }
.section-tight { padding: var(--s-xl) 0; }
@media (max-width: 600px) { .section { padding: var(--s-xl) 0; } }

.stack > * + * { margin-top: var(--s-m); }
.stack-l > * + * { margin-top: var(--s-l); }
.stack-xl > * + * { margin-top: var(--s-xl); }

.grid { display: grid; gap: var(--s-l); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* Match Flutter LayoutBuilder breakpoint: 4-col only at ≥1024px (desktop). */
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.row { display: flex; flex-wrap: wrap; gap: var(--s-m); align-items: center; }
.row-center { justify-content: center; }
.row-between { justify-content: space-between; }

/* =========================================================================
   5. Header / nav (matches SiteScaffold AppBar)
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--appbar-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background-color .25s;
}
.site-header.scrolled {
  border-bottom-color: var(--outline-soft);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.site-header__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--s-l);
  display: flex; align-items: center; justify-content: space-between;
}
.site-header__brand {
  font-family: 'Quicksand', sans-serif;
  font-size: 26px; font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--r-s);
}
.site-header__brand:hover { text-decoration: none; opacity: .9; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav__link {
  font-size: var(--t-label-l); font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--r-m);
  transition: color .15s, background-color .15s;
}
.site-nav__link:hover { background: var(--bg-hi); text-decoration: none; }
.site-nav__link.is-active { color: var(--primary); font-weight: 700; }

.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 50%;
  color: var(--primary);
  transition: background-color .15s;
}
.icon-btn:hover { background: var(--bg-hi); }
.icon-btn svg { width: 22px; height: 22px; }

/* Theme-toggle icons: which one shows is driven by [data-theme-mode] on
   <html>, set synchronously by the head-script before first paint. */
[data-theme-icon] .icon-sun,
[data-theme-icon] .icon-moon { display: none; }
[data-theme-mode="light"] [data-theme-icon] .icon-sun  { display: inline-block; }
[data-theme-mode="dark"]  [data-theme-icon] .icon-moon { display: inline-block; }

@media (max-width: 899px) {
  .site-nav { display: none; }
  .site-header__inner { padding: 0 var(--s-m); }
}
@media (min-width: 900px) {
  .menu-btn { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  z-index: 100;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(85vw, 320px);
  background: var(--bg-elev);
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex; flex-direction: column;
  padding: var(--s-l) 0;
  box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__title {
  font-size: var(--t-title-l); font-weight: 700;
  color: var(--primary);
  padding: 0 var(--s-l) var(--s-s);
}
.drawer__sep { height: 1px; background: var(--outline-soft); margin: 0 0 4px; }
.drawer__link {
  display: block; padding: 14px var(--s-l);
  color: var(--text); font-size: var(--t-body-m);
}
.drawer__link:hover { background: var(--bg-hi); text-decoration: none; }
.drawer__link.is-active { color: var(--primary); font-weight: 600; background: var(--primary-container); }

/* =========================================================================
   6. Buttons (parity with Flutter ElevatedButton/FilledButton/OutlinedButton/TextButton)
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px; font-weight: 600; line-height: 1;
  min-height: 52px; min-width: 140px;
  padding: 14px 28px;
  border-radius: var(--r-l);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s, color .15s, box-shadow .15s, transform .05s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.btn-primary:hover { background: var(--c-teal-dark); box-shadow: 0 4px 8px rgba(0,0,0,0.18); }
[data-theme="dark"] .btn-primary:hover { background: var(--c-teal); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-container); }

.btn-text {
  background: transparent;
  color: var(--primary);
  min-height: 44px; min-width: 0;
  padding: 12px 16px;
  font-size: 15px;
  border-radius: var(--r-m);
  box-shadow: none;
}
.btn-text:hover { background: var(--bg-hi); }

.btn-sm { min-height: 40px; min-width: 0; padding: 10px 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 17px; }

/* =========================================================================
   7. Cards
   ========================================================================= */
.card {
  background: var(--bg-card);
  border-radius: var(--r-l);
  border: 0.5px solid var(--outline-soft);
  box-shadow: var(--shadow);
  padding: var(--s-l);
}
.card-lg { padding: var(--s-xl); }
.card-tight { padding: var(--s-m); }

.feature-card { display: flex; flex-direction: column; gap: var(--s-s); height: 100%; }
.feature-card__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-l);
  background: var(--primary-container);
  color: var(--primary);
  margin-bottom: var(--s-s);
}
.feature-card__icon svg { width: 28px; height: 28px; }
.feature-card h3, .feature-card .title-l { color: var(--text); margin-bottom: 4px; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-hi);
  color: var(--text);
  font-size: 14px; font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 0.5px solid var(--outline-soft);
}
.chip.is-selected { background: var(--primary-container); color: var(--on-primary-container); }

/* Inline tags */
.tag-warm   { color: var(--c-orange); font-weight: 700; }
.tag-green  { color: var(--c-green); font-weight: 700; }
.tag-purple { color: var(--c-purple); font-weight: 700; }

/* =========================================================================
   8. Hero helpers — pixel parity with Flutter _HeroSection.
   - Row split: image flex 5, text flex 6 (text wider than image).
   - Image is constrained by HEIGHT (Flutter), not width: 420 desktop / 320
     tablet / 220 mobile, BoxFit.contain.
   ========================================================================= */
.hero {
  display: grid; gap: var(--s-xl);
  grid-template-columns: 5fr 6fr;
  align-items: center;
  padding: var(--s-xxl) 0;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: var(--s-l); text-align: center; }
  .hero .row { justify-content: center; }
}
.hero__art {
  display: flex; align-items: center; justify-content: center;
}
.hero__art img {
  width: auto;
  height: 420px;            /* desktop ≥1024 */
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.18));
}
@media (max-width: 1023px) {
  .hero__art img { height: 320px; }   /* tablet 600-1024 */
}
@media (max-width: 599px) {
  .hero__art img { height: 220px; }   /* mobile <600 */
}
@media (prefers-reduced-motion: no-preference) {
  .hero__art img { animation: hero-bob 2.4s ease-in-out infinite; }
}
@keyframes hero-bob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* Hero title — Flutter renders 'Stop deciding. Start eating.' as
   displayMedium (44px) bold, color = primary teal, line-height 1.1. */
.hero__title {
  font-size: var(--t-display-m);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.25px;
  color: var(--primary);
  margin: 0 0 var(--s-m);
}
@media (max-width: 600px) { .hero__title { font-size: 32px; } }

/* Hero subcopy — headlineSmall (22px) w500, onSurfaceVariant. */
.hero__subtitle {
  font-size: var(--t-headline-s);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-muted);
  margin: 0 0 var(--s-xl);
}
@media (max-width: 600px) { .hero__subtitle { font-size: 18px; } }

/* Section title pattern — 'What NomBot does for you' / 'Simple pricing' /
   'Hungry? Let's fix that.' — all displaySmall (36px) bold + primary. */
.section-title {
  font-size: var(--t-display-s);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  text-align: center;
  margin: 0 0 var(--s-m);
}
@media (max-width: 600px) { .section-title { font-size: 28px; } }

/* Section sub-headline under the section-title — onSurfaceVariant. */
.section-sub {
  color: var(--text-muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--s-xl);
  font-size: var(--t-title-m);
  line-height: 1.5;
}

/* M3 tonal-tint card variants. Mirror Flutter feature-card backgrounds:
   primaryContainer / secondaryContainer / tertiaryContainer. Border uses
   outlineVariant @ 0.5; radius 24 (matches Flutter's BorderRadius(24)). */
.card-tint {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  border: 1px solid var(--outline-variant);
  padding: var(--s-l);
  box-shadow: var(--shadow);
}
.card-tint--primary   { background: var(--primary-container);   color: var(--on-primary-container); }
.card-tint--secondary { background: var(--secondary-container); color: var(--on-secondary-container); }
.card-tint--tertiary  { background: var(--tertiary-container);  color: var(--on-tertiary-container); }
.card-tint h3, .card-tint .feature-card__title {
  color: var(--text);
  font-weight: 700;
  font-size: var(--t-title-l);
  margin: var(--s-m) 0 var(--s-s);
}
.card-tint .feature-card__desc { color: var(--text-muted); font-size: var(--t-body-m); line-height: 1.6; }
/* Icon plaque — surface @ 60% alpha behind a primary-tinted icon. */
.card-tint .feature-card__icon {
  width: 64px; height: 64px;
  background: color-mix(in srgb, var(--bg-card) 60%, transparent);
  border-radius: var(--r-l);
  margin: 0;
}
.card-tint .feature-card__icon svg { width: 32px; height: 32px; }
.card-tint--primary   .feature-card__icon  { color: var(--primary); }
.card-tint--secondary .feature-card__icon  { color: var(--secondary); }
.card-tint--tertiary  .feature-card__icon  { color: var(--tertiary); }

/* Pricing strip */
.pricing-card { text-align: center; }
.pricing-card__price {
  font-size: 44px; font-weight: 700; color: var(--primary);
  margin: var(--s-s) 0 4px;
}
.pricing-card__cycle { color: var(--text-muted); font-size: 14px; }
.pricing-card.is-featured {
  border: 2px solid var(--primary);
  position: relative;
}
.pricing-card.is-featured::before {
  content: 'Best value';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--on-primary);
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 12px; border-radius: 999px;
}

/* =========================================================================
   9. Forms
   ========================================================================= */
.form-field { display: block; margin-bottom: var(--s-m); }
.form-field label {
  display: block; font-size: 15px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  font-family: inherit; font-size: 16px; line-height: 1.5;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--outline);
  border-radius: var(--r-l);
  padding: 16px 18px;
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-help { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* =========================================================================
   10. Footer
   ========================================================================= */
.site-footer {
  margin-top: var(--s-3xl);
  padding: var(--s-xl) 0 var(--s-l);
  border-top: 1px solid var(--outline-soft);
  color: var(--text-muted);
  font-size: 14px;
}
.site-footer__inner {
  max-width: var(--max-content); margin: 0 auto; padding: 0 var(--s-l);
  display: flex; flex-wrap: wrap; gap: var(--s-l);
  justify-content: space-between; align-items: center;
}
.site-footer__links {
  display: flex; flex-wrap: wrap; gap: var(--s-m); align-items: center;
}
.site-footer__links a { color: var(--text-muted); }
.site-footer__links a:hover { color: var(--primary); }

/* =========================================================================
   11. Misc utilities
   ========================================================================= */
.text-center { text-align: center; }
.center-x { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--s-s);
}
.divider { height: 1px; background: var(--outline-soft); margin: var(--s-l) 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Page-mounted reveal animation (replaces Flutter fade/slide on mount). */
.fade-up {
  opacity: 0; transform: translateY(12px);
  animation: fade-up 720ms cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}
.fade-up.delay-1 { animation-delay: 120ms; }
.fade-up.delay-2 { animation-delay: 240ms; }
.fade-up.delay-3 { animation-delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; opacity: 1; transform: none; }
  .hero__art img { animation: none; }
}
