/* Taymo Digital — main stylesheet
   Palette, type and motifs follow the studio's own brand:
   ink #080B11, off-white #F2F4F7, silver #C7CBD0 / #D5D9DF, accent blue #4A9EFF.
   Monochrome palette: intentionally no green. */

:root {
  /* REPLACEABLE IMAGES */
  /* Every photo is an <img> in the HTML (see assets/manifest.json); no CSS background images. */

  /* Brand colours */
  --ink: #080B11;
  --ink-2: #0C1018;
  --ink-3: #131824;
  --ink-4: #1B2130;
  --paper: #F2F4F7;
  --text: #C9CED6;
  --muted: #9AA1AC;
  --silver: #C7CBD0;
  --silver-2: #D5D9DF;
  --btn-ink: #101319;
  --blue: #4A9EFF;
  --blue-light: #A7D7FF;
  --line: rgba(242, 244, 247, .12);
  --line-strong: rgba(242, 244, 247, .24);

  /* Type */
  --f-display: "Arimo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", sans-serif;

  /* Space */
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 10vw, 140px);
  --max: 1240px;
  --header-h: 72px;
}

@font-face { font-family: "Arimo"; src: url("assets/fonts/arimo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; color: var(--paper); font-family: var(--f-display); font-weight: 700; }
::selection { background: var(--blue); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.blue { color: var(--blue); }
.dot { color: var(--blue); }
.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 {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--btn-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* Eyebrow: uppercase spaced label in the brand blue */
.eyebrow {
  font: 600 14px/1.3 var(--f-label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}

/* Headline scale: tight bold grotesk, ending in the blue full stop */
.h-xl, .h-l, .h-m {
  letter-spacing: -.055em;
  line-height: .94;
}
.h-xl { font-size: clamp(56px, 10vw, 148px); }
.h-l { font-size: clamp(44px, 6.4vw, 92px); }
.h-m { font-size: clamp(34px, 4.4vw, 60px); }

.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--paper); }

/* ---------- Buttons (one CTA vocabulary: "Start a project ↗") ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font: 700 15px/1 var(--f-body);
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn-primary { background: var(--silver-2); color: var(--btn-ink); }
.btn-primary:hover { background: var(--paper); }
.btn-ghost { border-color: var(--line-strong); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--paper); font-weight: 500;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: border-color .2s, color .2s;
}
.arrow-link:hover { border-color: var(--blue); color: #fff; }
.arrow-link span { color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 11, 17, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); flex-wrap: wrap; }

/* Wordmark: "Taymo" with spaced "DIGITAL" beneath, as on the original site */
.brand { display: inline-flex; flex-direction: column; line-height: 1; color: var(--paper); margin-right: auto; padding: 10px 0; }
.brand-name { font: 700 31px/1 var(--f-display); letter-spacing: -.065em; }
.brand-sub {
  margin-top: 5px;
  font: italic 500 9.5px/1 var(--f-body);
  letter-spacing: .72em;
  color: var(--blue);
}

.site-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.site-nav a {
  font: 700 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--paper); padding: 8px 0; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .header-inner { gap: 12px; }
  .site-nav { order: 3; width: 100%; padding: 0 0 14px; gap: 4px 20px; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; color: var(--paper); cursor: pointer;
  }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav { display: flex; flex-direction: column; gap: 0; padding: 8px 0 20px; }
  .js .nav-open .site-nav a { font-size: 15px; padding: 14px 0; border-top: 1px solid var(--line); }
  .js .nav-open .site-nav a::after { display: none; }
}
@media (max-width: 380px) {
  .header-cta { padding: 0 14px; font-size: 13px; }
  .brand-name { font-size: 27px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-media img { width: 100%; }
.hero-inner { position: relative; z-index: 2; padding-top: 32px; padding-bottom: 56px; }
.hero h1 { display: flex; flex-direction: column; }
.hero .display { font-size: clamp(64px, 11.5vw, 156px); letter-spacing: -.065em; line-height: .9; }
.h1-sub {
  font: 600 clamp(15px, 1.4vw, 18px)/1.3 var(--f-label); letter-spacing: .22em; text-transform: uppercase;
  color: var(--silver); margin: 22px 0 0;
}
.hero .lead { max-width: 33ch; margin: 26px 0 32px; }
.hero-loc {
  font: 700 13px/1.6 var(--f-body); letter-spacing: .2em; color: var(--paper);
  margin: -16px 0 0; padding: 0 var(--gutter) 8px;
}
.reel-link { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); font-weight: 500; padding: 4px 0; }
.reel-link .ring {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--blue); color: var(--paper);
  transition: background-color .2s;
}
.reel-link:hover .ring { background: var(--blue); color: var(--ink); }
.reel-link u { text-decoration: none; border-bottom: 1px solid var(--blue); }

.orbit, .scroll-cue { display: none; }

@media (min-width: 900px) {
  .hero { min-height: clamp(640px, calc(100svh - var(--header-h)), 900px); display: flex; align-items: flex-end; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media img { height: 100%; object-fit: cover; object-position: 50% 60%; }
  .hero-shade {
    position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(90deg, rgba(8,11,17,.92) 0%, rgba(8,11,17,.72) 38%, rgba(8,11,17,.18) 72%, rgba(8,11,17,.35) 100%),
      linear-gradient(0deg, rgba(8,11,17,.85) 0%, rgba(8,11,17,0) 40%);
  }
  .hero-inner { padding-top: 96px; padding-bottom: clamp(64px, 8vw, 104px); }
  .hero-loc { position: absolute; z-index: 2; right: var(--gutter); top: 48px; margin: 0; padding: 0; text-align: right; }
  .orbit {
    display: block; position: absolute; z-index: 2;
    right: calc(var(--gutter) + 8px); bottom: clamp(56px, 8vw, 96px);
    width: 150px; height: 150px;
  }
  .orbit .ring-text { animation: spin 26s linear infinite; transform-origin: 80px 80px; }
  .orbit text { font: 600 10px var(--f-body); letter-spacing: .2em; fill: var(--paper); }
  .scroll-cue {
    display: block; position: absolute; z-index: 2; left: 18px; bottom: 56px;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font: 600 12px var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: var(--blue); margin: 0;
  }
}
@media (max-width: 899px) {
  .hero-media { display: block; position: relative; }
  .hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 14%; background: linear-gradient(0deg, var(--ink), rgba(8,11,17,0)); }
  .hero-shade { display: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero entrance: pure CSS, content is visible even if the animation never runs */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > *, .hero-loc { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(4) { animation-delay: .24s; }
  .hero-media img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { opacity: .3; transform: scale(1.04); } }

/* ---------- Category frames (Brands / Products / People / Spaces) ---------- */
.frames { background: var(--ink); padding: 40px 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.frames-row { display: flex; flex-wrap: wrap; gap: 26px 12px; justify-content: center; align-items: flex-end; counter-reset: frame; }
.frame { counter-increment: frame; display: flex; flex-direction: column; gap: 10px; }
.frame img { height: 130px; width: auto; max-width: none; border-radius: 3px; }
.frame-label {
  display: flex; gap: 10px; align-items: baseline;
  font: 600 13px/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--blue);
}
.frame-label::before { content: counter(frame, decimal-leading-zero); color: var(--muted); letter-spacing: .08em; }
@media (min-width: 700px) { .frame img { height: 190px; } .frames-row { gap: 30px 18px; } }
@media (min-width: 1100px) { .frame img { height: 230px; } .frames-row { justify-content: space-between; } }

/* ---------- Services ---------- */
.services { background: var(--ink-2); }
.services-grid { display: grid; gap: 48px; }
.services-head p:not(.eyebrow) { max-width: 40ch; margin: 24px 0 32px; }
.service-list { counter-reset: svc; border-top: 1px solid var(--line); }
.service {
  counter-increment: svc;
  display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.service::before {
  content: counter(svc, decimal-leading-zero);
  grid-row: span 2;
  font: 700 15px/1.9 var(--f-label); letter-spacing: .1em; color: var(--blue);
}
.service h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.045em; line-height: 1.05; text-transform: uppercase; }
.service p { margin: 10px 0 0; max-width: 52ch; }
@media (min-width: 960px) {
  .services-grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
  .services-head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Work ---------- */
.work { background: var(--ink); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p:last-child { margin: 20px 0 0; }
.work-grid { display: grid; gap: 40px 24px; align-items: start; }
.work-item { margin: 0; }
.work-item img { width: 100%; border-radius: 4px; }
.work-item figcaption { padding-top: 18px; border-top: 0; }
.work-item h3 { font-size: 22px; letter-spacing: -.03em; }
.meta { font: 600 13px/1.4 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin: 6px 0 0; }
@media (min-width: 720px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .work-item:nth-child(2) { margin-top: 64px; }
}

/* ---------- Reel ---------- */
.reel { background: var(--ink-2); }
.reel-grid { display: grid; gap: 48px; align-items: center; }
.phone {
  width: min(320px, 82vw); margin: 0 auto;
  padding: 12px; border-radius: 44px;
  background: linear-gradient(160deg, #2A303C, #0E1118 40%, #1E232D);
  box-shadow: 0 0 0 1px var(--line-strong), 0 40px 80px rgba(0,0,0,.55);
}
.phone-screen {
  position: relative; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000;
}
.phone-screen video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.reel-play { display: flex; flex-direction: column; height: 100%; color: var(--paper); }
.reel-play img { width: 100%; }
.reel-play-foot { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 14px 22px 22px; }
.reel-play-foot strong { font: 700 26px/1 var(--f-display); letter-spacing: -.05em; }
.reel-play-foot .play {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--blue);
}
.reel-play-foot .play i {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--blue); color: var(--paper); transition: background-color .2s;
}
.reel-play:hover .play i { background: var(--blue); color: var(--ink); }
.tagline { font: 700 15px/1.6 var(--f-body); letter-spacing: .18em; color: var(--paper); margin: 26px 0 32px; }
@media (min-width: 900px) {
  .reel-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .phone { margin: 0 0 0 auto; }
}

/* ---------- More than a website ---------- */
.growth { background: var(--ink); }
.growth-grid { display: grid; gap: 56px; align-items: center; }
.mega { font-size: clamp(54px, 8.6vw, 124px); letter-spacing: -.06em; line-height: .9; text-transform: uppercase; margin-bottom: 40px; }
.growth-copy > p:not(.eyebrow) { max-width: 46ch; }
.checks { margin: 28px 0 36px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: center; color: var(--paper); font-weight: 500; }
.checks li::before {
  content: "\2713"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--blue); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 12px/1 system-ui, sans-serif;
}
.site-window {
  margin: 0; max-width: 440px; justify-self: center; width: 100%;
  border-radius: 14px; overflow: hidden; background: var(--ink-3);
  box-shadow: 0 0 0 1px var(--line-strong), 0 40px 80px rgba(0,0,0,.5);
}
.window-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.window-bar i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-4); box-shadow: 15px 0 0 var(--ink-4), 30px 0 0 var(--ink-4); margin-right: 30px; }
.window-url { flex: 1; text-align: center; font-size: 13px; color: var(--muted); background: var(--ink); border-radius: 999px; padding: 4px 12px; }
.site-window img { width: 100%; }
.site-window figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 16px 20px; font-size: 14px; color: var(--muted); }
.site-window figcaption strong { font: 700 13px/1.6 var(--f-label); letter-spacing: .24em; color: var(--paper); }
@media (min-width: 960px) { .growth-grid { grid-template-columns: 7fr 5fr; gap: 80px; } }

/* ---------- About ---------- */
.about { background: var(--ink-2); }
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-photo { margin: 0; max-width: 520px; }
.about-photo img { width: 100%; border-radius: 4px; }
.link-list { margin-top: 36px; border-top: 1px solid var(--line); }
.link-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  color: var(--paper); font-weight: 500; transition: color .2s, padding .2s;
}
.link-list a span { color: var(--blue); font-size: 18px; }
.link-list a:hover { color: #fff; padding-left: 8px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 6fr; gap: 88px; } }

/* ---------- Process ---------- */
.process { background: var(--ink); }
.process-row { display: grid; gap: 48px; }
.steps { display: grid; gap: 0; counter-reset: none; }
.steps li { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; }
.steps .num { grid-row: span 2; font: 700 15px/1.6 var(--f-label); letter-spacing: .1em; color: var(--blue); }
.steps h3 { font: 700 15px/1.6 var(--f-body); letter-spacing: .2em; }
.steps p { margin: 0; }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps li { grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); padding-top: 28px; position: relative; }
  .steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
  .steps .num { grid-row: auto; }
}
@media (min-width: 1100px) { .process-row { grid-template-columns: 4fr 7fr; align-items: end; gap: 64px; } }

/* ---------- FAQ teaser ---------- */
.faq-teaser { background: var(--ink-2); }
.faq-teaser-inner { display: grid; gap: 36px; align-items: end; }
.faq-teaser p:not(.eyebrow) { max-width: 46ch; margin-top: 22px; }
.spark { width: 22px; height: 22px; stroke: var(--blue); stroke-width: 2.2; fill: none; }
@media (min-width: 900px) { .faq-teaser-inner { grid-template-columns: 1fr auto; } }

/* ---------- Closing CTA ---------- */
.cta { background: var(--ink); padding: var(--section) 0 calc(var(--section) * .8); border-top: 1px solid var(--line); }
.cta-big {
  display: inline-flex; align-items: center; gap: .18em;
  font: 700 clamp(56px, 12vw, 180px)/.9 var(--f-display); letter-spacing: -.065em; color: var(--paper);
  transition: color .25s;
}
.cta-big svg { width: .62em; height: .62em; color: var(--blue); transition: transform .3s; flex: none; }
.cta-big:hover { color: #fff; }
.cta-big:hover svg { transform: translate(.06em, -.06em); }
.cta-foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.cta-foot p { margin: 0; font: 700 14px/1.5 var(--f-body); letter-spacing: .2em; color: var(--paper); }

/* ---------- Subpages ---------- */
.page-intro { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-intro h1 { font-size: clamp(50px, 8.4vw, 116px); letter-spacing: -.06em; line-height: .92; }
.page-intro h1 em { font-style: normal; color: var(--silver); }
.page-intro .lead { max-width: 46ch; margin-top: 28px; }

/* FAQ list */
.faq-list { counter-reset: q; border-top: 1px solid var(--line); max-width: 980px; }
.faq-item { counter-increment: q; border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 48px 1fr 28px; gap: 16px; align-items: center;
  padding: 26px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: counter(q, decimal-leading-zero); font: 700 15px var(--f-label); letter-spacing: .1em; color: var(--blue); }
.faq-item summary::after {
  content: ""; width: 18px; height: 18px; justify-self: end;
  background:
    linear-gradient(var(--paper), var(--paper)) center / 18px 2px no-repeat,
    linear-gradient(var(--paper), var(--paper)) center / 2px 18px no-repeat;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-q { font: 700 clamp(20px, 2.3vw, 28px)/1.2 var(--f-display); letter-spacing: -.03em; color: var(--paper); transition: color .2s; }
.faq-item summary:hover .faq-q { color: #fff; }
.faq-a { margin: 0; padding: 0 44px 30px 64px; max-width: 760px; }
@media (max-width: 600px) {
  .faq-item summary { grid-template-columns: 34px 1fr 22px; gap: 12px; }
  .faq-a { padding: 0 0 26px 46px; }
}

.closing { padding: var(--section) 0; }
.closing-box { border-top: 1px solid var(--line-strong); padding-top: 32px; display: grid; gap: 32px; }
.spark-link { display: inline-flex; margin-top: 28px; border-radius: 50%; }
.spark-lg { width: 64px; height: 64px; stroke-width: 1.6; filter: drop-shadow(0 0 10px rgba(74,158,255,.7)); transition: transform .4s; }
.spark-link:hover .spark-lg { transform: rotate(45deg); }
.closing .kicker { font: 600 14px var(--f-label); letter-spacing: .24em; color: var(--muted); }
.closing h2 { text-transform: uppercase; }
.closing p:not(.eyebrow) { max-width: 44ch; }
@media (min-width: 900px) { .closing-box { grid-template-columns: 1fr 1.4fr; } }

/* Start page */
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; padding-bottom: var(--section); align-items: start; }
.info-card { border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; margin: 32px 0; background: var(--ink-2); }
.info-card .eyebrow { margin-bottom: 10px; }
.info-card p:last-child { margin: 0; }
.owner { display: flex; gap: 18px; align-items: center; margin: 0 0 32px; }
.owner img { width: 92px; border-radius: 4px; }
.owner figcaption { font-size: 15px; color: var(--muted); }
.owner figcaption strong { display: block; color: var(--paper); font: 700 14px/1.4 var(--f-body); letter-spacing: .18em; }
.form-panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 44px); }
.form-panel h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.04em; margin-bottom: 8px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font: 600 14px/1.2 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--paper); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: var(--ink); border: 1px solid var(--line-strong); color: var(--paper);
  font: 400 16px/1.5 var(--f-body);
  transition: border-color .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(74,158,255,.25); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 4px 0 20px; min-height: 65px; }
.form-status { margin: 18px 0 0; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); }
.form-status[hidden] { display: none; }
.form-status.ok { border-color: var(--blue); color: var(--paper); }
.form-status.err { border-color: #FF8A8A; color: #FFD2D2; }
.form-status a { text-decoration: underline; }
.form-alt { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.form-alt a { color: var(--paper); border-bottom: 1px solid var(--blue); }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (min-width: 960px) { .start-grid { grid-template-columns: 5fr 6fr; gap: 80px; } }
/* The Turnstile widget is a fixed 300 px: on the narrowest phones the panel borrows the page gutter */
@media (max-width: 400px) { .form-panel { margin: 0 calc(var(--gutter) * -1 + 4px); padding: 26px 16px; } }

/* Thank-you & 404 */
.thank-grid { display: grid; gap: 48px; align-items: center; padding-top: clamp(56px, 9vw, 120px); padding-bottom: var(--section); }
.thank-photo { margin: 0; max-width: 380px; }
.thank-photo img { width: 100%; border-radius: 4px; }
.thank-grid h1 { font-size: clamp(48px, 7.4vw, 104px); letter-spacing: -.06em; line-height: .92; }
.thank-grid h1 em { font-style: normal; color: var(--silver); }
.thank-grid .lead { max-width: 42ch; margin: 28px 0 32px; }
@media (min-width: 900px) { .thank-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: #05070B; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); font-size: 15px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
.footer-brand p { max-width: 36ch; color: var(--muted); margin-top: 18px; }
.footer-brand .brand { margin: 0; }
.footer-loc { font: 700 12px/1.5 var(--f-body) !important; letter-spacing: .2em; color: var(--paper) !important; }
.footer-h { font: 600 13px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:not(.btn) { color: var(--text); transition: color .2s; }
.footer-col a:not(.btn):hover { color: #fff; }
.footer-col a span { color: var(--blue); }
.footer-contact p { color: var(--muted); max-width: 32ch; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--line);
  font: 700 12px/1.5 var(--f-body); letter-spacing: .2em; color: var(--paper);
}
.footer-base a { color: var(--blue); }
[data-ss-credit] { margin: 0; padding: 0 0 26px; font-size: 13px; color: var(--muted); }
[data-ss-credit] a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; } }

/* ---------- Scroll reveal (only when JS is running) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-on .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  html.reveal-on .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
