/* =========================================================================
   Skud Labs — LAYER 3 aesthetic & background theme
   Real palette + Oswald display type + sky gradient and dawn-glow.
   Desert ridge and right-side illustration are still simplified placeholders
   (real frozen SVG art = Layer 4). No motion yet (Layer 5).
   ========================================================================= */

/* ---- Oswald (loaded offline; display type only) -------------------------- */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/oswald-v53-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/oswald-v53-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";       /* neon script flourish */
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/caveat-v23-latin-700.woff2") format("woff2");
}

:root {
  /* Palette (exact brief tokens) */
  --eerie-black:  #1B1B1B;
  --gunmetal:     #112431;
  --seasalt:      #FAFBFC;
  --olivine:      #A0B389;
  --navajo-white: #FEDDAA;
  --jet:          #353535;
  --body-text:    #8B8B8C;

  /* Semantic tokens (markup references these) */
  --bg:        #0e1a23;            /* page base — deep gunmetal, sets up descent to black */
  --surface:   rgba(160,179,137,0.06); /* translucent placeholder fill (olivine-tinted) */
  --fg:        var(--seasalt);     /* headings */
  --muted:     #aeb4b8;            /* body copy (lifted from #8B8B8C for AA over dark sky) */
  --faint:     var(--body-text);   /* captions */
  --line:      rgba(160,179,137,0.22); /* hairlines (faint olivine) */
  --accent:    var(--olivine);     /* CTA fill, key strokes */
  --accent-fg: var(--eerie-black); /* text on accent */
  --focus:     var(--navajo-white);/* warm focus ring */

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  /* Type scale */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Oswald", var(--font-sans);  /* condensed display — headings, eyebrows, wordmark */
  --fs-eyebrow: 0.8125rem;
  --fs-body:    1.0625rem;
  --fs-subhead: clamp(1.0625rem, 0.9rem + 0.7vw, 1.375rem);
  --fs-h2:      clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
  --fs-h1:      clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  /* page descends from the hero's night sky toward "black sand" at the footer */
  background: linear-gradient(180deg, #0e1a23 0%, #0d1820 35%, #0a141b 68%, #070d12 100%);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Shared bits --------------------------------------------------------- */

.eyebrow {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olivine);
}

a { color: inherit; }

:where(a, button, .btn, .btn-text):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-cta {
  padding: 0.95rem 1.6rem;
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 0 0 1px rgba(160,179,137,.5), 0 6px 28px -10px rgba(160,179,137,.55);
}
.btn-cta:hover {
  background: #aebd99;
  box-shadow: 0 0 0 1px rgba(160,179,137,.7), 0 8px 34px -8px rgba(160,179,137,.7);
}

.btn-text {
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.btn-text:hover { border-color: var(--fg); }

/* Right-side illustration (frozen SVG) */
.illustration {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-inline: auto;
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}

/* ---- Header / nav -------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  transition: background-color .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
/* transparent over the hero's open sky; gains a blurred backdrop once scrolled */
.site-header.scrolled {
  background: rgba(10, 18, 24, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-5) var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-left: -16px;   /* let the logo sit left of the content gutter */
}
.wordmark img {
  display: block;
  height: 72px;
  width: auto;
}

/* neon script flourish, overlapping the wordmark (Oak Harbor homage, our palette) */
.neon {
  position: absolute;
  bottom: -16px;
  left: 188px;
  display: flex;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--seasalt);
  transform: rotate(-7deg);
  pointer-events: none;
  white-space: nowrap;
}
.neon span {
  animation: neonGlow 3.2s linear infinite;
}
.neon span:nth-child(1) { animation-delay: 0.2s; }
.neon span:nth-child(2) { animation-delay: 1.1s; }
.neon span:nth-child(3) { animation-delay: 0.5s; }
.neon span:nth-child(4) { animation-delay: 2.3s; }
.neon span:nth-child(6) { animation-delay: 0.8s; }
.neon span:nth-child(7) { animation-delay: 2.0s; }
.neon span:nth-child(8) { animation-delay: 1.5s; }
.neon span:nth-child(9) { animation-delay: 0.4s; }
.neon span:nth-child(10) { animation-delay: 2.6s; }
.neon span:nth-child(11) { animation-delay: 1.3s; }

.nav-links {
  list-style: none;
  display: flex;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--fg); }

.nav-cta {
  padding: 0.6rem 1.15rem;
  font-size: 0.95rem;
}

/* ---- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Full-bleed background scene. Layers are separate children so motion (Layer 5)
   can animate them independently:
     .stars-a / .stars-b  twinkling star groups (out of phase)
     .comet-1 / .comet-2  shooting comets on long loops
     .hero-ridge          frozen desert SVG, painted last so it occludes stars
   The scene's own background is just the sky gradient + dawn glow. */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    /* dawn glow blooming at the horizon line (the Oak Harbor signature move) */
    radial-gradient(150% 46% at 50% 80%, rgba(255,168,92,.16) 0%, transparent 52%),
    radial-gradient(120% 52% at 50% 74%, rgba(254,221,170,.30) 0%, rgba(254,221,170,.05) 36%, transparent 62%),
    /* sky: deep eerie/gunmetal up top → slightly warmer toward the horizon */
    linear-gradient(180deg, #161a1d 0%, #102230 48%, #112e3a 76%, #143a48 100%);
}

/* --- star layers (twinkle on opacity, out of phase) --- */
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.stars-a {
  background-image:
    radial-gradient(1.4px 1.4px at 8% 12%,  rgba(250,251,252,.95), transparent),
    radial-gradient(1.6px 1.6px at 27% 9%,  rgba(254,221,170,.90), transparent),
    radial-gradient(1.5px 1.5px at 47% 16%, rgba(250,251,252,.90), transparent),
    radial-gradient(1.6px 1.6px at 66% 11%, rgba(254,221,170,.85), transparent),
    radial-gradient(1.4px 1.4px at 83% 14%, rgba(250,251,252,.90), transparent),
    radial-gradient(1.2px 1.2px at 14% 40%, rgba(250,251,252,.60), transparent),
    radial-gradient(1.3px 1.3px at 53% 42%, rgba(250,251,252,.55), transparent);
  animation: twinkle 4.5s ease-in-out infinite;
}
.stars-b {
  background-image:
    radial-gradient(1.2px 1.2px at 19% 24%, rgba(250,251,252,.85), transparent),
    radial-gradient(1.1px 1.1px at 33% 18%, rgba(250,251,252,.65), transparent),
    radial-gradient(1.1px 1.1px at 38% 31%, rgba(250,251,252,.70), transparent),
    radial-gradient(1.1px 1.1px at 58% 26%, rgba(250,251,252,.65), transparent),
    radial-gradient(1.2px 1.2px at 74% 22%, rgba(250,251,252,.75), transparent),
    radial-gradient(1.1px 1.1px at 91% 27%, rgba(250,251,252,.60), transparent),
    radial-gradient(1.2px 1.2px at 88% 44%, rgba(250,251,252,.45), transparent);
  animation: twinkle 6s ease-in-out -2.4s infinite;
}

/* --- comets: thin streak translated across a long loop, mostly dormant --- */
.comet {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(250,251,252,0), rgba(254,221,170,.85));
  filter: drop-shadow(0 0 5px rgba(254,221,170,.7));
  opacity: 0;
  will-change: transform, opacity;
}
/* start soon after load and recur ~10–14s, echoing Oak Harbor's 1s / 1.5s delays */
.comet-1 { animation: comet1 10s ease-in 1s infinite; }
.comet-2 { width: 110px; animation: comet2 14s ease-in 3s infinite; }

/* --- satellite: slow drift across the back, a few seconds after the comets --- */
.satellite {
  position: absolute;
  top: 15%;
  left: 0;
  width: 34px;
  height: 34px;
  background: url("../img/satellite.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 4px rgba(160, 179, 137, 0.45));
  opacity: 0;
  will-change: transform, opacity;
  animation: orbit 34s linear 6s infinite;
}

/* --- frozen desert ridge, painted last (occludes stars/comets at horizon) --- */
.hero-ridge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("../img/desert-ridge.svg") bottom center / 100% auto no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 6rem) var(--gutter) clamp(3rem, 8vw, 6rem);
  flex: 1;
  display: flex;
  align-items: flex-start;   /* lift the hero content up into the sky */
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: 100%;
}

.hero-copy { min-width: 0; max-width: 36rem; }

.headline {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: 0.005em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--fg);
}
.headline-cat {
  display: block;
  font-size: 0.44em;
  line-height: 1;
  letter-spacing: 0.07em;
  color: var(--olivine);
  margin-bottom: 0.4rem;
}
.subhead {
  margin: 0 0 var(--space-6);
  font-size: var(--fs-subhead);
  line-height: 1.45;
  color: var(--muted);
  max-width: 44ch;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.reassurance {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.hero-art { align-self: center; min-width: 0; }

/* ---- What I do (start of next section) ----------------------------------- */

.whatido {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 9rem) var(--gutter);
}

.whatido .eyebrow { color: var(--faint); }

.statement {
  margin: 0 0 var(--space-5);
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.03;
  letter-spacing: 0.005em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--fg);
}

.statement-support {
  margin: 0;
  max-width: 52ch;
  font-size: var(--fs-subhead);
  line-height: 1.5;
  color: var(--muted);
}

/* =========================================================================
   FULL-PAGE SECTIONS (below the hero) — Phase 2 structure on the locked theme
   ========================================================================= */

/* shared inline line-icon */
.ic {
  flex: none;
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
}
.section .statement { max-width: 24ch; }
.section .statement-support { margin-bottom: var(--space-7); max-width: 56ch; }

/* nav-jump landing offset (clears the sticky header) */
:where(#services, #work, #about, #book) { scroll-margin-top: 6rem; }

/* ---- Scroll-reveal (Phase 4 motion) -------------------------------------- */
/* Only hide targets when JS is present AND motion is welcome — so no-JS and
   reduced-motion users always see fully rendered content. */
@media (prefers-reduced-motion: no-preference) {
  .js :is(
    .section > .eyebrow,
    .section > .statement,
    .section > .statement-support,
    .section > .problem-close,
    .cred-item,
    .tell,
    .card,
    .step,
    .work-card,
    .portfolio-item,
    .chips,
    .callout,
    .about-photo,
    .about-copy,
    .faq-item,
    .cta-band-inner > *
  ) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2,.6,.2,1);
  }
  .js :is(
    .section > .eyebrow,
    .section > .statement,
    .section > .statement-support,
    .section > .problem-close,
    .cred-item,
    .tell,
    .card,
    .step,
    .work-card,
    .portfolio-item,
    .chips,
    .callout,
    .about-photo,
    .about-copy,
    .faq-item,
    .cta-band-inner > *
  ).in {
    opacity: 1;
    transform: none;
  }

  /* gentle stagger for items revealed together in a row/list */
  .js .card-grid > *:nth-child(2),
  .js .tells > *:nth-child(2),
  .js .steps > *:nth-child(2),
  .js .cred-inner > *:nth-child(2) { transition-delay: .08s; }
  .js .card-grid > *:nth-child(3),
  .js .tells > *:nth-child(3),
  .js .steps > *:nth-child(3),
  .js .cred-inner > *:nth-child(3) { transition-delay: .16s; }
  .js .tells > *:nth-child(4),
  .js .steps > *:nth-child(4),
  .js .card-grid > *:nth-child(4),
  .js .portfolio > *:nth-child(2) { transition-delay: .24s; }
  .js .card-grid > *:nth-child(5),
  .js .portfolio > *:nth-child(3) { transition-delay: .32s; }
  .js .card-grid > *:nth-child(6) { transition-delay: .40s; }
}

/* ---- Credibility strip --------------------------------------------------- */
.cred-band {
  border-block: 1px solid var(--line);
  background: rgba(160,179,137,0.04);
}
.cred-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem) var(--gutter);
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(1rem, 4vw, 3rem);
}
.cred-item { display: flex; flex-direction: column; gap: 0.3rem; }
.cred-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
  letter-spacing: 0.01em;
  color: var(--navajo-white);
}
.cred-label { font-size: 0.95rem; line-height: 1.4; color: var(--muted); }

/* ---- The problem (four tells) -------------------------------------------- */
.tells {
  list-style: none;
  margin: 0 0 var(--space-7);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--space-5);
  max-width: 64rem;
}
.tell {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  line-height: 1.4;
}
.tell strong { color: var(--fg); font-weight: 600; }
.problem-close {
  margin: 0;
  font-size: var(--fs-subhead);
  color: var(--fg);
  max-width: 50ch;
}

/* ---- Card grid (services, work) ------------------------------------------ */
.card-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}
.card-grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.card, .work-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover, .work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(160,179,137,0.45);
  box-shadow: 0 18px 40px -24px rgba(160,179,137,0.55);
}
.card-ic {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: var(--space-5);
  border-radius: 12px;
  background: rgba(160,179,137,0.10);
  border: 1px solid var(--line);
}
.card-ic svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--accent);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.card-title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--fg);
}
.card-copy { margin: 0; color: var(--muted); line-height: 1.55; }

/* ---- Plans & pricing ----------------------------------------------------- */
.plan-track { margin-bottom: var(--space-7); }
.plan-track:last-child { margin-bottom: 0; }
.plan-track-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--navajo-white);
}
.plan-track-sub {
  margin: 0 0 var(--space-5);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.55;
}
.plan-cards { max-width: 980px; }
.plan-card { display: flex; flex-direction: column; position: relative; }
.plan-card--feature {
  border-color: rgba(160,179,137,0.5);
  box-shadow: 0 18px 50px -30px rgba(160,179,137,0.6);
}
.plan-badge {
  position: absolute; top: -0.7rem; right: var(--space-5);
  font-family: var(--font-display);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  background: var(--accent); color: #14201a;
}
.plan-fine {
  margin: var(--space-4) 0 0;
  font-size: 0.9rem; color: var(--faint); line-height: 1.5; max-width: 72ch;
}
.plan-fine strong { color: var(--muted); font-weight: 600; }
.plan-name {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olivine);
}
.price {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.6rem);
  line-height: 1;
  color: var(--fg);
}
.price-unit {
  margin-left: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--faint);
}
.plan-meta { margin: 0 0 var(--space-5); font-size: 0.9rem; color: var(--faint); }

/* per-card "Get started" CTAs (Oak Harbor style) */
.plan-card .plan-list { margin-bottom: var(--space-5); }
.plan-cta { margin-top: auto; width: 100%; text-align: center; padding: 0.75rem 1rem; }
.plan-feature-cta { margin-top: var(--space-4); }
.plan-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: var(--space-3);
}
.plan-list li {
  position: relative; padding-left: 1.6rem;
  color: var(--muted); line-height: 1.45;
}
.plan-list li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.4em;
  width: 0.7rem; height: 0.38rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-steps {
  margin: 0 0 var(--space-5); padding-left: 1.3rem;
  display: flex; flex-direction: column; gap: var(--space-4);
  max-width: 70ch;
}
.plan-steps li { color: var(--muted); line-height: 1.55; }
.plan-steps strong { color: var(--fg); font-weight: 600; }
.plan-note {
  margin: 0; padding: var(--space-5);
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(160,179,137,0.04);
  color: var(--muted); line-height: 1.55; max-width: 70ch;
}

/* ---- Website portfolio (laptop-framed mock previews) --------------------- */
.portfolio-label {
  margin: var(--space-6) 0 var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--fg);
}
.portfolio-label span { color: var(--faint); font-weight: 500; font-size: 0.9rem; }
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(2rem, 4.5vw, 3.5rem);
  margin-top: var(--space-5);
}
.portfolio-name {
  margin: var(--space-4) 0 0.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg);
}
.portfolio-cat { margin: 0; font-size: 0.85rem; color: var(--faint); }

/* laptop chassis: screen (with bezel) + tapered base bar */
.laptop { width: 100%; }
.laptop-screen {
  border: 0.5rem solid #1b2632;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #1b2632;
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.7);
  overflow: hidden;
}
.laptop-base {
  height: 0.7rem;
  margin: 0 -6%;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #2b3a49, #131c25);
  position: relative;
}
.laptop-base::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 16%; height: 4px;
  border-radius: 0 0 5px 5px;
  background: rgba(0,0,0,0.45);
}

/* the mock hero inside the screen — swap for a real <img> later */
.site-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.05rem;
  color: #fff;
}
.sp-bar { position: absolute; top: 0.6rem; left: 0.75rem; display: flex; gap: 0.28rem; }
.sp-bar i { width: 0.38rem; height: 0.38rem; border-radius: 50%; background: rgba(255,255,255,0.55); }
.sp-h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  line-height: 1.12;
}
.sp-btn {
  align-self: flex-start;
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.94);
  color: #1b2632;
}
.sp-cafe   { background: linear-gradient(135deg, #5d4435, #c39c6d); }
.sp-law    { background: linear-gradient(135deg, #1f3a5f, #4a78ab); }
.sp-clinic { background: linear-gradient(135deg, #1f5f54, #46a892); }

/* ---- Hero offering cluster (websites · chatbots · automation) ------------- */
/* Three comparable tiles in a zig-zag, each gently floating out of phase. */
.hero-cluster {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 1.75rem);
}
.hero-piece { will-change: transform; }
/* laptop + assistant side by side on top, document/automation tile beneath.
   Gentle low-amplitude float so the tiles don't crowd as they drift. */
.cluster-top {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.75rem, 2.5vw, 1.4rem);
  width: 100%;
}
.cluster-top .hero-piece { min-width: 0; }
.cluster-top .piece-web  { flex: 1.8 1 0; }  /* lead with the website — big laptop */
.cluster-top .piece-chat { flex: 1 1 0; }    /* assistant a bit smaller */
.piece-web  { z-index: 3; animation: heroFloat 7s ease-in-out infinite; }
.piece-chat { z-index: 2; animation: heroFloat 8s ease-in-out -2.6s infinite; }
.piece-auto { width: 70%; z-index: 1; animation: heroFloat 7.5s ease-in-out -4.6s infinite; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* websites: laptop + a small phone side by side (responsive preview) */
.web-devices { display: flex; align-items: flex-end; gap: 0.6rem; }
.web-devices .laptop { flex: 1 1 auto; min-width: 0; }
.hero-laptop { position: relative; }
.sp-hero {
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(254,221,170,0.22), transparent 60%),
    linear-gradient(135deg, #102230 0%, #143a48 55%, #1f5040 100%);
}
.sp-hero .sp-btn { background: var(--olivine); color: #16241c; }
.hero-phone {
  flex: none;
  width: 26%;
  border: 3px solid #1b2632;
  border-radius: 13px;
  background: #0e1a23;
  box-shadow: 0 16px 30px -20px rgba(0,0,0,0.75);
  overflow: hidden;
}
.phone-site {
  aspect-ratio: 9 / 16;
  display: flex; flex-direction: column; justify-content: center;
  gap: 0.35rem; padding: 0.5rem 0.45rem;
  color: #fff;
}
.phone-site .sp-h { font-size: 0.6rem; line-height: 1.1; }
.phone-site .sp-btn { font-size: 0.46rem; padding: 0.22rem 0.45rem; }

/* chatbot: a small chat window */
.chatbox {
  border-radius: 14px;
  background: linear-gradient(180deg, #122230, #0e1a23);
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px -22px rgba(0,0,0,0.7);
  overflow: hidden;
}
.chatbox-top {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.04em; color: var(--fg);
  border-bottom: 1px solid var(--line);
  background: rgba(160,179,137,0.06);
}
.cb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--olivine); box-shadow: 0 0 8px var(--olivine); }
.chatbox-body { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.7rem; }
.chat {
  font-size: 0.62rem; line-height: 1.3;
  padding: 0.38rem 0.55rem; border-radius: 10px; max-width: 88%;
}
.chat-in  { align-self: flex-start; background: rgba(255,255,255,0.1);  color: #e8ecee; border-bottom-left-radius: 3px; }
.chat-out { align-self: flex-end;  background: var(--olivine); color: #16241c; border-bottom-right-radius: 3px; }

/* automation: the original flow illustration, reused as the third tile */
.auto-art { display: block; width: 100%; height: auto; }

/* ---- How it works (steps) ------------------------------------------------ */
.steps {
  --steps-gap: clamp(1.25rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: var(--steps-gap);
}
.step { position: relative; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 54px;
  right: calc(-1 * var(--steps-gap));
  height: 2px;
  background: linear-gradient(90deg, rgba(160,179,137,0.35), transparent);
}
.step-num {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: var(--space-4);
  border-radius: 999px;
  border: 1px solid rgba(160,179,137,0.5);
  background: rgba(160,179,137,0.08);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navajo-white);
}
.step-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--fg);
}
.step-copy { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }

/* ---- Recent work --------------------------------------------------------- */
.work-card { display: flex; flex-direction: column; }
.work-tag {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olivine);
}
.work-outcome {
  margin: 0 0 var(--space-4);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--fg);
}
.work-quote {
  margin: 0 0 var(--space-5);
  padding-left: var(--space-4);
  border-left: 2px solid rgba(160,179,137,0.4);
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}
.work-attr { margin: auto 0 0; display: flex; flex-direction: column; font-size: 0.9rem; }
.work-name { color: var(--fg); font-weight: 600; }
.work-role { color: var(--faint); }

/* ---- Who it's for -------------------------------------------------------- */
.chips {
  list-style: none;
  margin: 0 0 var(--space-7);
  padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  max-width: 60rem;
}
.chips li {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--fg);
}
.callout {
  display: flex; gap: var(--space-4); align-items: flex-start;
  max-width: 52rem;
  margin: 0;
  padding: var(--space-5);
  border: 1px solid rgba(160,179,137,0.35);
  border-radius: 14px;
  background: rgba(160,179,137,0.07);
  color: var(--muted);
  line-height: 1.5;
}
.callout .ic { margin-top: 2px; }

/* ---- About --------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.about-copy .statement { max-width: 24ch; }
.about-body { margin: 0 0 var(--space-5); color: var(--muted); line-height: 1.6; max-width: 54ch; }
.about-body em { color: var(--fg); font-style: italic; }
.about-stats {
  list-style: none; margin: var(--space-5) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
}
.about-stats li {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--navajo-white);
  padding-left: var(--space-4);
  border-left: 2px solid rgba(160,179,137,0.4);
}

/* ---- FAQ ----------------------------------------------------------------- */
.faq-list { max-width: 52rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: var(--space-5) 2.5rem var(--space-5) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; line-height: 1;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p {
  margin: 0;
  padding: 0 2.5rem var(--space-6) 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}

/* ---- Final CTA band ------------------------------------------------------ */
.cta-band {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(160,179,137,0.10) 0%, transparent 55%),
    radial-gradient(80% 120% at 50% 120%, rgba(254,221,170,0.10) 0%, transparent 60%);
  overflow: hidden;
}
.cta-band-inner {
  max-width: 48rem;
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  text-align: center;
}
.cta-band .statement { max-width: none; margin: 0 auto var(--space-5); }
.cta-band .statement-support { max-width: 46ch; margin: 0 auto; }
.cta-row-center { justify-content: center; margin-top: var(--space-6); margin-bottom: var(--space-4); }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: #060b10; }
.footer-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(1.5rem, 3vw, 2rem);
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-6);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); max-width: 30rem; }
.footer-mark img { display: block; height: 56px; width: auto; }
.footer-tag {
  margin: 0; color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.05rem; letter-spacing: 0.01em; line-height: 1.4;
}
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 0.3rem; }
.footer-contact-h {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--olivine);
}
.footer-contact a, .footer-loc {
  font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: 0.01em;
  color: var(--fg); text-decoration: none;
}
.footer-contact a:hover { color: var(--olivine); }
.footer-loc { color: var(--muted); }
.footer-bottom {
  max-width: var(--maxw);
  margin-inline: auto;
  /* extra bottom room so the floating chat button doesn't cover the copyright */
  padding: clamp(1.1rem, 2.5vw, 1.6rem) var(--gutter) clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-4);
}
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-5); margin: 0; padding: 0; }
.footer-links a {
  text-decoration: none; color: var(--muted);
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600;
}
.footer-links a:hover { color: var(--fg); }
.footer-fine {
  margin: 0; color: var(--faint);
  font-family: var(--font-display); letter-spacing: 0.08em; font-size: 0.8rem;
}

/* =========================================================================
   AESTHETIC FLOURISHES (Phase 4) — desert-night microinteractions + ambient
   ========================================================================= */

/* content sits above the ambient layer; header already at z-20 */
main, .site-footer { position: relative; z-index: 1; }

/* ---- Ambient drift (glowing orbs + star-dust) ---------------------------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  will-change: transform;
}
.orb-1 {
  width: 380px; height: 380px; left: 4%; top: 24%;
  background: radial-gradient(circle, var(--olivine), transparent 70%);
  opacity: .20; animation: drift1 19s ease-in-out infinite;
}
.orb-2 {
  width: 300px; height: 300px; right: 6%; top: 54%;
  background: radial-gradient(circle, var(--navajo-white), transparent 70%);
  opacity: .15; animation: drift2 23s ease-in-out infinite;
}
.orb-3 {
  width: 260px; height: 260px; left: 40%; bottom: 4%;
  background: radial-gradient(circle, var(--olivine), transparent 70%);
  opacity: .16; animation: drift3 16s ease-in-out infinite;
}
.dust {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 30%, rgba(250,251,252,.95), transparent),
    radial-gradient(2px 2px at 76% 20%, rgba(254,221,170,.9), transparent),
    radial-gradient(1.7px 1.7px at 50% 62%, rgba(250,251,252,.8), transparent),
    radial-gradient(1.8px 1.8px at 88% 72%, rgba(250,251,252,.75), transparent),
    radial-gradient(1.7px 1.7px at 28% 82%, rgba(254,221,170,.75), transparent),
    radial-gradient(1.9px 1.9px at 64% 46%, rgba(250,251,252,.85), transparent),
    radial-gradient(1.6px 1.6px at 18% 55%, rgba(250,251,252,.6), transparent),
    radial-gradient(1.6px 1.6px at 92% 38%, rgba(254,221,170,.6), transparent);
  opacity: .9;
  animation: dustDrift 40s ease-in-out infinite;
}
/* wandering paths — larger travel so the drift actually reads */
@keyframes drift1 {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(130px, -60px); }
  50%  { transform: translate(70px, -150px); }
  75%  { transform: translate(-80px, -70px); }
  100% { transform: translate(0, 0); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0); }
  30%  { transform: translate(-150px, 60px); }
  60%  { transform: translate(-60px, 150px); }
  100% { transform: translate(0, 0); }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(120px, -50px); }
  66%  { transform: translate(-90px, -110px); }
  100% { transform: translate(0, 0); }
}
@keyframes dustDrift { 0%,100% { transform: translate(0, 0); } 50% { transform: translate(18px, -90px); } }

/* ---- Twilight icon swap (service cards) ---------------------------------- */
.card-ic { position: relative; }
.card-ic svg {
  position: absolute; inset: 0; margin: auto;
  transition: opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.card-ic .ic-night { opacity: 0; transform: scale(.55) rotate(-25deg); }
.card:hover .ic-day { opacity: 0; transform: scale(.55) rotate(25deg); }
.card:hover .ic-night { opacity: 1; transform: none; }

/* ---- Cursor "moonlight" spotlight on cards (hover-capable only) ----------- */
.card, .work-card { position: relative; overflow: hidden; }
.card > *, .work-card > * { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .card::after, .work-card::after {
    content: "";
    position: absolute; inset: 0; z-index: 0;
    border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
                rgba(160,179,137,.16), transparent 60%);
    opacity: 0; transition: opacity .3s ease;
    pointer-events: none;
  }
  .card:hover::after, .work-card:hover::after { opacity: 1; }
}

/* ---- "How it works" connector line-draw ---------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .step:not(:last-child)::before { transform: scaleX(0); transform-origin: left; transition: transform .7s ease .15s; }
  .step.in:not(:last-child)::before { transform: scaleX(1); }
}

/* calm the ambient layer on small screens */
@media (max-width: 620px) {
  .orb { display: none; }
  .dust { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .dust { animation: none; }
}


/* ---- $175 subscription feature banner (pricing) -------------------------- */
.plan-feature {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  padding: clamp(1.4rem, 3vw, 1.9rem) clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(160,179,137,0.5);
  border-radius: 16px;
  background:
    radial-gradient(130% 180% at 0% 0%, rgba(160,179,137,0.14), transparent 55%),
    rgba(160,179,137,0.05);
  box-shadow: 0 22px 55px -32px rgba(160,179,137,0.6);
}
.plan-feature-main { flex: 1 1 340px; min-width: 0; }
.plan-feature-desc { margin: var(--space-3) 0 0; color: var(--muted); line-height: 1.55; max-width: 56ch; }
.plan-feature-price { flex: none; text-align: right; }
.plan-feature-price .price { margin-bottom: 0.2rem; }
.plan-feature-price .plan-meta { margin: 0; }
.plan-feature-list {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--space-2) var(--space-5);
}
.plan-or {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.8rem; color: var(--faint);
}

/* ---- Higher-fidelity portfolio site previews ----------------------------- */
.site-preview.sp-rich { justify-content: flex-start; padding: 0; gap: 0; }
.spx-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.45rem 0.7rem; background: rgba(0,0,0,0.22);
}
.spx-logo { font-family: var(--font-display); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.02em; }
.spx-links { display: flex; gap: 0.35rem; }
.spx-links i { width: 0.85rem; height: 0.26rem; border-radius: 2px; background: rgba(255,255,255,0.55); }
.spx-hero {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.28rem;
  padding: 0.6rem 0.8rem;
}
.spx-eyebrow { font-size: 0.42rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.spx-h { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; line-height: 1.04; }
.spx-sub { font-size: 0.46rem; line-height: 1.3; opacity: 0.82; max-width: 86%; }
.spx-btn {
  align-self: flex-start; margin-top: 0.2rem;
  font-size: 0.46rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.3rem 0.6rem; border-radius: 6px; background: #fff; color: #1b2632;
}
.spx-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; padding: 0 0.8rem 0.7rem; }
.spx-card { height: 0.95rem; border-radius: 4px; background: rgba(255,255,255,0.18); }
.sp-cafe   .spx-btn { background: #f1d6ac; color: #3a2a1a; }
.sp-law    .spx-btn { background: #cfe0f5; color: #15263b; }
.sp-clinic .spx-btn { background: #cdeee4; color: #143a31; }

/* ---- Contact section ----------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.contact-methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.contact-method {
  display: flex; align-items: flex-start; gap: var(--space-4);
  width: 100%; text-align: left;
  padding: var(--space-5);
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface);
  color: inherit; text-decoration: none; font: inherit; cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.contact-method:hover {
  transform: translateY(-3px);
  border-color: rgba(160,179,137,0.45);
  box-shadow: 0 16px 36px -24px rgba(160,179,137,0.55);
}
.contact-ic {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(160,179,137,0.1); border: 1px solid var(--line);
}
.contact-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-method-text { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.contact-method-label {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.04em; color: var(--fg); font-size: 1.05rem;
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.contact-method-val { color: var(--muted); line-height: 1.4; font-size: 0.95rem; }
.tag-soon {
  font-family: var(--font-sans);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.15rem 0.45rem; border-radius: 999px;
  background: rgba(254,221,170,0.16); color: var(--navajo-white);
  border: 1px solid rgba(254,221,170,0.35);
}
.contact-form { display: flex; flex-direction: column; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font: inherit; color: var(--fg);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.7rem 0.85rem; width: 100%;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input::placeholder, .field textarea::placeholder { color: rgba(174,180,184,0.5); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: transparent; }
.contact-form .btn-cta { align-self: flex-start; }
.form-note { margin: 0; font-size: 0.85rem; color: var(--faint); }
.form-note a { color: var(--olivine); }

/* ---- Floating chat launcher (placeholder for the live AI assistant) ------ */
.chat-fab {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
  width: 56px; height: 56px; border-radius: 999px;
  border: none; cursor: pointer;
  background: var(--accent); color: #14201a;
  box-shadow: 0 0 0 1px rgba(160,179,137,0.5), 0 14px 34px -10px rgba(160,179,137,0.7);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab svg { width: 26px; height: 26px; fill: none; stroke: #14201a; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.chat-widget {
  position: fixed; right: clamp(1rem, 3vw, 2rem);
  bottom: calc(clamp(1rem, 3vw, 2rem) + 70px);
  z-index: 41;
  width: min(330px, calc(100vw - 2rem));
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #122230, #0e1a23);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.8);
}
.chat-widget[hidden] { display: none; }
.chat-widget-top {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: rgba(160,179,137,0.06);
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.03em; color: var(--fg);
}
.chat-widget-title { flex: 1; }
.chat-widget-close { background: none; border: none; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 0.2rem; }
.chat-widget-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.9rem; }
.chat-widget-body .chat { font-size: 0.85rem; max-width: 92%; padding: 0.55rem 0.7rem; }
.chat-widget-body .chat a { color: var(--olivine); }
.chat-widget-foot { padding: 0 0.9rem 0.9rem; }
.chat-widget-cta { width: 100%; text-align: center; font-size: 0.9rem; padding: 0.7rem; }

/* ---- Responsive ---------------------------------------------------------- */

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 8vw, 3rem);
    align-items: stretch;
  }
  .hero-copy { max-width: none; order: 1; }
  .hero-art { order: 2; }
  .illustration { max-width: 420px; }
  .hero-cluster { max-width: 400px; }

  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .step:not(:last-child)::before { display: none; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 2.5rem); }
  .about-photo { max-width: 280px; }
}

@media (max-width: 620px) {
  .nav { flex-wrap: wrap; gap: var(--space-4); }
  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: var(--space-5);
    flex-wrap: wrap;
  }
  .nav-cta { margin-left: auto; }
  .hero { min-height: 0; }

  .cred-inner { grid-template-columns: minmax(0,1fr); gap: var(--space-5); }
  .tells { grid-template-columns: minmax(0,1fr); }
  .steps { grid-template-columns: minmax(0,1fr); }
  .footer-inner { justify-content: flex-start; }
  .footer-contact { align-items: flex-start; text-align: left; }

  /* smaller logo on phones so the neon clears the CTA */
  .wordmark { margin-left: -6px; }
  .wordmark img { height: 54px; }
  .neon { left: 141px; bottom: -12px; font-size: 1.4rem; }
}

@media (max-width: 380px) {
  .nav-links { gap: var(--space-4); }
  .cta-row { gap: var(--space-4); }
}

/* ---- Motion (Layer 5) — GPU-friendly transform/opacity only --------------- */

@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

/* comets travel diagonally down-and-across, then stay dormant most of the loop */
@keyframes comet1 {
  0%   { transform: translate(-12vw, 8vh) rotate(20deg);  opacity: 0; }
  2%   { opacity: 1; }
  11%  { opacity: 1; }
  16%  { transform: translate(58vw, 34vh) rotate(20deg);  opacity: 0; }
  100% { transform: translate(58vw, 34vh) rotate(20deg);  opacity: 0; }
}
@keyframes comet2 {
  0%   { transform: translate(40vw, -6vh) rotate(28deg);  opacity: 0; }
  3%   { opacity: 0.9; }
  10%  { opacity: 0.9; }
  15%  { transform: translate(96vw, 26vh) rotate(28deg);  opacity: 0; }
  100% { transform: translate(96vw, 26vh) rotate(28deg);  opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* satellite drifts in a slow shallow arc across the sky, gently banking */
@keyframes orbit {
  0%   { transform: translate(-8vw, 7vh)   rotate(-6deg); opacity: 0; }
  6%   { opacity: 0.9; }
  50%  { transform: translate(52vw, -3vh)  rotate(4deg);  opacity: 0.9; }
  94%  { opacity: 0.9; }
  100% { transform: translate(112vw, 9vh)  rotate(10deg); opacity: 0; }
}

/* neon sign: mostly crisp, briefly buzzes into a colored bloom (staggered per letter) */
@keyframes neonGlow {
  0%, 100% {
    color: var(--navajo-white);
    filter: blur(0.6px);
    text-shadow:
      0 0 5px rgba(160, 179, 137, 0.95),
      0 0 11px rgba(160, 179, 137, 0.85),
      0 0 22px rgba(160, 179, 137, 0.6),
      0 0 32px rgba(254, 221, 170, 0.45);
  }
  7%, 93% {
    color: var(--seasalt);
    filter: blur(0);
    text-shadow: 0 0 4px rgba(160, 179, 137, 0.45);
  }
}

/* Reduced motion → calm static starfield, no comets/satellite/float, steady neon */
@media (prefers-reduced-motion: reduce) {
  .stars-a, .stars-b { animation: none; opacity: 0.9; }
  .comet { display: none; }
  .satellite { display: none; }
  .illustration { animation: none; }
  .hero-piece { animation: none; }
  .neon span {
    animation: none;
    color: var(--navajo-white);
    text-shadow: 0 0 5px rgba(160, 179, 137, 0.8), 0 0 12px rgba(160, 179, 137, 0.5);
  }
}
