/* =====================================================================
   I.T. KING SOLUTIONS — Website Design System
   Built from "Brand Guidelines v1.0 · Direction 01 — Engraved Caslon"

   Token-driven, framework-free. The :root block is the single source of
   truth — re-skin the whole site by editing tokens, nothing else.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------- */
:root {
  /* --- Brand palette (exact from guidelines) --- */
  --crown-red: #C8102E;   /* heritage + hero: button fills, accents */
  --oxblood:   #9E0F26;   /* deep red — red TEXT on light backgrounds */
  --regal-gold:#C79A3E;   /* fine accent only — crown, rules, stars. Never a fill. */
  --onyx:      #1A1A1F;    /* carries the dark surface: hero, header, footer */
  --platinum:  #F3F0EA;    /* warm paper */
  --ivory:     #F5F2EA;    /* text/labels on dark */
  --white:     #FFFFFF;    /* content surfaces */
  --slate:     #5B5B64;    /* secondary text */

  /* --- Semantic tokens (use THESE in components) --- */
  --bg-page:        var(--platinum);
  --bg-surface:     var(--white);
  --bg-dark:        var(--onyx);
  --text-strong:    var(--onyx);
  --text-body:      #2A2A30;
  --text-muted:     var(--slate);
  --text-on-dark:   var(--ivory);
  --text-on-dark-muted: #B7B4AE;
  --link:           var(--oxblood);
  --link-hover:     var(--crown-red);
  --accent:         var(--crown-red);
  --gold:           var(--regal-gold);
  --border-hair:    rgba(26, 26, 31, 0.12);   /* hairline on light */
  --border-hair-dark: rgba(245, 242, 234, 0.14); /* hairline on dark */
  --gold-hair:      rgba(199, 154, 62, 0.55);

  /* --- Typography --- */
  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-serif:   "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale (major-third-ish, clamps for responsiveness) */
  --fs-display: clamp(2.75rem, 1.6rem + 5.1vw, 5rem);
  --fs-h1:      clamp(2.25rem, 1.5rem + 3.3vw, 3.5rem);
  --fs-h2:      clamp(1.85rem, 1.35rem + 2.2vw, 2.75rem);
  --fs-h3:      clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem);
  --fs-lead:    clamp(1.075rem, 1rem + 0.4vw, 1.3rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;
  --fs-eyebrow: 0.78rem;

  /* --- Spacing scale (8pt-ish) --- */
  --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;
  --space-10: 8rem;

  /* --- Radii, borders, shadows --- */
  --radius-card: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(26,26,31,0.04), 0 2px 8px rgba(26,26,31,0.05);
  --shadow-md: 0 8px 24px rgba(26,26,31,0.08), 0 2px 6px rgba(26,26,31,0.05);
  --shadow-lg: 0 24px 60px rgba(26,26,31,0.16);

  /* --- Layout --- */
  --container: 1160px;
  --container-narrow: 780px;
  --header-h: 76px;

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 280ms;
}

/* ---------------------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
a { color: var(--link); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--link-hover); }
strong { font-weight: 700; color: var(--text-strong); }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--crown-red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------
   3. TYPOGRAPHY
   --------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.18; }
p { max-width: 64ch; }

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted); }
.serif-italic { font-family: var(--font-serif); font-style: italic; }

/* Eyebrow / kicker label — Crown Red on light, Gold on dark */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: var(--space-4);
}
.eyebrow--gold { color: var(--gold); }

/* Accent a word in a headline (e.g. "every device.") */
.accent-red  { color: var(--crown-red); }
.accent-gold { color: var(--gold); }
.text-muted  { color: var(--text-muted); }

/* ---------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   --------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-5); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section--paper   { background: var(--platinum); }
.section--surface { background: var(--white); }
.section--onyx    { background: var(--onyx); color: var(--text-on-dark); }
.section--tight   { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem); }

.section--onyx h1, .section--onyx h2, .section--onyx h3 { color: var(--white); }
.section--onyx .lead { color: var(--text-on-dark-muted); }

.section-head { max-width: 60ch; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Hairline rules — the brand's "fine gold hairline" + "red edge" */
.rule { height: 1px; border: 0; background: var(--border-hair); }
.rule--gold { background: linear-gradient(90deg, transparent, var(--gold-hair) 12%, var(--gold-hair) 88%, transparent); height: 1px; }
.rule--red { height: 3px; background: var(--crown-red); border-radius: 2px; width: 56px; }

/* ---------------------------------------------------------------------
   5. BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  line-height: 1; letter-spacing: 0.01em;
  padding: 0.95em 1.6em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05em; height: 1.05em; }

/* Primary — Crown Red fill, white text (the brand rule) */
.btn--primary { background: var(--crown-red); color: var(--white); box-shadow: 0 6px 18px rgba(200,16,46,0.28); }
.btn--primary:hover { background: var(--oxblood); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200,16,46,0.34); }

/* Ghost on light */
.btn--ghost { background: transparent; color: var(--onyx); border-color: rgba(26,26,31,0.28); }
.btn--ghost:hover { border-color: var(--onyx); background: var(--onyx); color: var(--white); }

/* Ghost on dark (hero / footer / cta band) */
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(245,242,234,0.4); }
.btn--ghost-light:hover { background: var(--white); color: var(--onyx); border-color: var(--white); }

/* On the red CTA band, an inverse button */
.btn--invert { background: var(--white); color: var(--crown-red); }
.btn--invert:hover { background: var(--onyx); color: var(--white); transform: translateY(-2px); }

.btn--lg { font-size: 1.0625rem; padding: 1.05em 1.9em; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------------
   6. HEADER (sticky onyx)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26,26,31,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-hair-dark);
  /* the brand "red edge" along the top */
  box-shadow: inset 0 3px 0 var(--crown-red);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-5);
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__crown { width: 38px; height: auto; flex: none; }
.brand__name {
  font-family: var(--font-display); color: var(--white);
  font-size: 1.15rem; line-height: 0.95; letter-spacing: 0.01em;
}
.brand__name small {
  display: block; font-family: var(--font-body); font-weight: 600;
  font-size: 0.56rem; letter-spacing: 0.34em; color: var(--gold);
  margin-top: 3px;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.site-nav a {
  color: var(--text-on-dark-muted); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-actions .btn { padding: 0.7em 1.2em; font-size: 0.92rem; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--dur); }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav { margin-left: 0; }
  .site-nav, .header-actions--collapse {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--onyx); flex-direction: column;
    padding: var(--space-5); gap: var(--space-4);
    border-bottom: 1px solid var(--border-hair-dark);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: var(--dur) var(--ease);
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .site-nav a { display: block; padding: 0.6rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--border-hair-dark); }
  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions--collapse { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .header-actions--collapse { top: auto; }
  .header-actions { width: 100%; }
  .header-actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------------
   7. HERO
   --------------------------------------------------------------------- */
.hero { position: relative; background: var(--onyx); color: var(--text-on-dark); overflow: hidden; }
.hero::before {
  /* deep Crown Red radial glow — the brand cover signature */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 72% 8%, rgba(200,16,46,0.42), rgba(158,15,38,0.12) 38%, transparent 66%);
  pointer-events: none;
}
.hero::after {
  /* faint crown watermark bottom-left */
  content: ""; position: absolute; left: -40px; bottom: -50px; width: 320px; height: 320px;
  background: url("../assets/crown.svg") no-repeat center / contain;
  opacity: 0.05; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.85fr; gap: var(--space-7); align-items: center;
  padding-block: clamp(3.5rem, 2rem + 7vw, 6.5rem); }
.hero h1 { color: var(--white); font-size: var(--fs-display); line-height: 1.03; letter-spacing: -0.015em; }
.hero__sub { color: var(--text-on-dark-muted); font-size: var(--fs-lead); margin-top: var(--space-5); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); margin-top: var(--space-6); color: var(--text-on-dark-muted); font-size: var(--fs-small); }
.hero__trust .stars { color: var(--gold); letter-spacing: 2px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 0.45rem; }

/* Floating glass card in hero */
.hero-card {
  background: rgba(20,20,24,0.55);
  border: 1px solid var(--border-hair-dark);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
}
.hero-card .crown-sm { width: 52px; margin: 0 auto var(--space-4); }
.hero-card h2 { color: var(--white); font-size: 1.7rem; line-height: 1.2; }
.hero-card p { color: var(--gold); font-weight: 600; font-size: var(--fs-small); margin: var(--space-3) auto 0; letter-spacing: 0.02em; }
.hero-card .btn { margin-top: var(--space-5); }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-card { order: 2; }
}

/* ---------------------------------------------------------------------
   8. CARDS
   --------------------------------------------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--border-hair);
  border-radius: var(--radius-card); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(200,16,46,0.25); }
.card--edge { border-left: 3px solid var(--crown-red); }
.section--paper .card { background: var(--white); }

/* Service card */
.service-card .ico {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(200,16,46,0.08);
  color: var(--crown-red); margin-bottom: var(--space-4);
}
.service-card .ico svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: var(--space-2); }
.service-card p { color: var(--text-muted); font-size: var(--fs-small); }
.service-card .more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: var(--space-4); font-weight: 700; font-size: var(--fs-small); color: var(--oxblood); }
.service-card .more svg { width: 0.9em; transition: transform var(--dur) var(--ease); }
.service-card:hover .more svg { transform: translateX(3px); }

/* Steps (how it works) */
.steps { counter-reset: step; }
.step { position: relative; }
.step__num {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--crown-red);
  line-height: 1; display: block; margin-bottom: var(--space-3);
}
.step h3 { margin-bottom: var(--space-2); }
.step p { color: var(--text-muted); }

/* Feature / value rows on onyx */
.value { display: flex; gap: var(--space-4); align-items: flex-start; }
.value .ico {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--border-hair-dark); color: var(--gold);
}
.value h3 { color: var(--white); font-size: 1.25rem; margin-bottom: var(--space-1); }
.value p { color: var(--text-on-dark-muted); font-size: var(--fs-small); }

/* Stat */
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 1.5rem + 3vw, 3.4rem); color: var(--crown-red); line-height: 1; }
.section--onyx .stat__num { color: var(--gold); }
.stat__label { color: var(--text-muted); font-size: var(--fs-small); margin-top: var(--space-2); }
.section--onyx .stat__label { color: var(--text-on-dark-muted); }

/* ---------------------------------------------------------------------
   9. CHIPS / BADGES / SEAL
   --------------------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5em 1em; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--border-hair);
  font-size: var(--fs-small); font-weight: 600; color: var(--text-body);
  box-shadow: var(--shadow-sm);
}
.section--onyx .chip { background: rgba(245,242,234,0.06); border-color: var(--border-hair-dark); color: var(--ivory); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--crown-red); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Same-day seal badge */
.seal {
  width: 116px; height: 116px; border-radius: 50%; flex: none;
  display: grid; place-items: center; text-align: center;
  background: var(--onyx); color: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px var(--onyx), 0 0 0 5px rgba(199,154,62,0.45);
  position: relative;
}
.seal span { font-family: var(--font-body); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.5; }
.seal .crown-tiny { width: 26px; margin: 0 auto 4px; }

/* ---------------------------------------------------------------------
   10. TESTIMONIALS
   --------------------------------------------------------------------- */
.quote { display: flex; flex-direction: column; height: 100%; }
.quote .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: var(--space-3); }
.quote blockquote { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.55; color: var(--text-strong); flex: 1; }
.quote figcaption { margin-top: var(--space-4); font-size: var(--fs-small); color: var(--text-muted); display: flex; align-items: center; gap: 0.65rem; }
.quote .who { font-weight: 700; color: var(--text-strong); font-family: var(--font-body); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--onyx); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; flex: none; }

/* ---------------------------------------------------------------------
   11. FAQ (accordion)
   --------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--border-hair); }
.faq__item { border-bottom: 1px solid var(--border-hair); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) 0; font-family: var(--font-display); font-size: 1.2rem;
  color: var(--text-strong);
}
.faq__q .icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq__q .icon::before, .faq__q .icon::after { content: ""; position: absolute; inset: 50% 4px auto 4px; height: 2px; background: var(--crown-red); transition: var(--dur); }
.faq__q .icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .icon::after { transform: rotate(0); opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height var(--dur) var(--ease); }
.faq__a > div { padding-bottom: var(--space-5); color: var(--text-muted); max-width: 70ch; }

/* ---------------------------------------------------------------------
   12. CTA BAND (closing red band)
   --------------------------------------------------------------------- */
.cta-band { background: var(--crown-red); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px;
  background: url("../assets/crown.svg") no-repeat center / contain; opacity: 0.08; filter: brightness(0) invert(1);
}
.cta-band .eyebrow { color: rgba(255,255,255,0.8); }
.cta-band h2 { color: var(--white); }
.cta-band .phone {
  font-family: var(--font-display); font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  color: var(--white); display: inline-block; margin: var(--space-3) 0 var(--space-5); letter-spacing: 0.01em;
}
.cta-band .phone:hover { color: var(--onyx); }
.cta-band p { margin-inline: auto; color: rgba(255,255,255,0.85); }

/* ---------------------------------------------------------------------
   13. FOOTER (onyx)
   --------------------------------------------------------------------- */
.site-footer { background: var(--onyx); color: var(--text-on-dark-muted); position: relative; box-shadow: inset 0 3px 0 var(--crown-red); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); padding-block: var(--space-8) var(--space-7); }
.site-footer h4 { color: var(--gold); font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: var(--space-4); }
.site-footer a { color: var(--text-on-dark-muted); }
.site-footer a:hover { color: var(--white); }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer .brand__name { color: var(--white); }
.footer-tagline { font-family: var(--font-serif); font-style: italic; color: var(--ivory); font-size: 1.15rem; margin-top: var(--space-4); max-width: 34ch; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; align-items: center; padding-block: var(--space-5); border-top: 1px solid var(--border-hair-dark); font-size: var(--fs-small); }
@media (max-width: 880px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   14. FORMS
   --------------------------------------------------------------------- */
.form-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: var(--fs-small); color: var(--text-strong); }
.field label .req { color: var(--crown-red); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-strong);
  padding: 0.8em 0.9em; border: 1px solid var(--border-hair); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color var(--dur), box-shadow var(--dur);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--crown-red); box-shadow: 0 0 0 3px rgba(200,16,46,0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 0.82rem; color: var(--text-muted); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--crown-red); }
.field__err { color: var(--oxblood); font-size: 0.82rem; font-weight: 600; display: none; }
.field--error .field__err { display: block; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.form-success {
  display: none; text-align: center; padding: var(--space-7) var(--space-5);
}
.form-success.is-visible { display: block; }
.form-success .crown-sm { width: 56px; margin: 0 auto var(--space-4); }

/* ---------------------------------------------------------------------
   15. UTILITIES & MOTION
   --------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0; }
.flow > * + * { margin-top: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: var(--space-6); } }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--crown-red); color: #fff; padding: 0.6rem 1rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }

/* Scroll-reveal */
/* Scroll-reveal only hides content when JS is active (the `.js` class is added
   by app.js). With no/blocked/slow JS, content is fully visible by default. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------
   16. HERO — exploded-laptop schematic (scroll-reassembles)
   --------------------------------------------------------------------- */
.hero-stage { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.lp-svg { width: 100%; max-width: 500px; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35)); }
.lp-part { will-change: transform; }
/* With JS active, keep the internal parts hidden until JS has placed them (avoids a
   flash). With no JS, they stay at their baked assembled positions and the laptop
   simply renders as a clean, static, powered-on machine. */
.js .hero-stage:not(.lp-ready) #lp-internals, .js .hero-stage:not(.lp-ready) #lp-screws { visibility: hidden; }
.lp-caption { color: var(--gold); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.02em; margin: 0; }
.lp-hint { display: none; }  /* only shown when JS can actually drive the animation */
.js .lp-hint {
  display: inline-flex; color: var(--text-on-dark-muted);
  transition: opacity var(--dur) var(--ease);
}
.lp-hint svg { animation: lp-bob 1.8s var(--ease) infinite; }

/* idle fan spin + screen scanline */
.lp-fan-spin { transform-box: fill-box; transform-origin: center; animation: lp-spin 3.4s linear infinite; }
.lp-scan { animation: lp-scan 2.8s linear infinite; }

@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-scan { 0% { transform: translateY(-6px); } 100% { transform: translateY(150px); } }
@keyframes lp-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@media (prefers-reduced-motion: reduce) {
  .lp-fan-spin, .lp-scan, .lp-hint svg { animation: none; }
  .lp-hint { display: none; }
}
