/* ============================================================
   Sevyn Star Mobile Detail — spec preview
   Cosmic / celestial detailing system
   ============================================================ */

:root {
  /* brand */
  --navy:    #0A0E27;
  --navy-2:  #11173A;
  --navy-3:  #1B2456;
  --gold:    #E8B04B;
  --gold-soft:#F4CE82;
  --ink:     #0A0E27;
  --paper:   #F6F4EF;
  --paper-2: #ECE7DC;
  --cream:   #FBFAF6;
  --mute:    #6B6F86;
  --line:    rgba(10, 14, 39, 0.12);
  --line-on-dark: rgba(255,255,255,0.14);
  --text-on-dark: rgba(247, 248, 255, 0.92);
  --text-on-dark-mute: rgba(199, 205, 235, 0.72);

  /* type */
  --display: "Georgia", "Times New Roman", "Iowan Old Style", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* fluid scale */
  --step--1: clamp(0.82rem, 0.78rem + 0.18vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4:  clamp(2.4rem, 1.7rem + 3.4vw, 4.4rem);
  --step-5:  clamp(2.7rem, 1.5rem + 5.2vw, 5.8rem);

  /* space */
  --shell: min(1200px, 92vw);
  --sp-section: clamp(4.5rem, 3rem + 7vw, 8.5rem);

  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
  hyphens: none;
  overflow-wrap: break-word;
}

p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--navy);
  padding: 0.7rem 1.1rem; border-radius: 0 0 12px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

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

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --btn-bg: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--sans);
  font-weight: 650;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn-solid {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 30px -12px rgba(232,176,75,0.7);
}
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 18px 42px -14px rgba(232,176,75,0.85); background: var(--gold-soft); }
.btn-line {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn-line:hover { transform: translateY(-3px); background: rgba(10,14,39,0.05); }
.contact .btn-line:hover,
.services .btn-line:hover,
.area .btn-line:hover { background: rgba(255,255,255,0.08); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: var(--line-on-dark);
  color: var(--text-on-dark);
  padding: 0.7em 1.15em;
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { font-size: var(--step-0); padding: 1.05em 2em; }
.btn-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 0 rgba(232,176,75,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,176,75,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(232,176,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,176,75,0); }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,14,39,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-on-dark);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding-block: 0.85rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark {
  color: var(--gold);
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--navy-3), var(--navy));
  border: 1px solid var(--line-on-dark);
  box-shadow: inset 0 0 14px rgba(232,176,75,0.18);
}
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display); font-weight: 600;
  color: #fff; font-size: 1.12rem; letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-top: 4px; font-weight: 600;
}
.site-nav {
  margin-left: auto;
  display: flex; gap: 1.8rem;
}
.site-nav a {
  text-decoration: none; color: var(--text-on-dark-mute);
  font-size: var(--step--1); font-weight: 550; letter-spacing: 0.01em;
  position: relative; padding-block: 4px;
  transition: color .25s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { width: 100%; }
.header-cta { color: var(--text-on-dark); white-space: nowrap; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% -10%, rgba(27,36,86,0.95) 0%, rgba(10,14,39,0) 55%),
    radial-gradient(80% 60% at 10% 110%, rgba(232,176,75,0.10) 0%, rgba(10,14,39,0) 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* starfield via layered radial dots */
.hero-sky::before {
  content: ""; position: absolute; inset: -10%;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.5px 1.5px at 30% 65%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 48% 18%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 62% 78%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 78% 32%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.6px 1.6px at 88% 60%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1px 1px at 22% 88%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.4px 1.4px at 68% 12%, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 94% 84%, rgba(255,255,255,0.7), transparent);
  opacity: 0.8;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.55; } to { opacity: 0.9; } }
.glow {
  position: absolute; top: -16%; right: -10%;
  width: 46vw; height: 46vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(232,176,75,0.22) 0%, rgba(232,176,75,0) 64%);
  filter: blur(6px);
}
/* the "detailed sphere": a freshly waxed paint orb with a moving shine pass.
   Deep glossy navy body, cool sky reflection up top, gold rim bounce on the
   lower edge, crisp specular hotspot, and a sweeping polish pass. */
.planet {
  position: absolute;
  top: clamp(40px, 7vw, 96px); right: clamp(8px, 3vw, 56px);
  width: clamp(150px, 23vw, 320px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 27%,
      rgba(255,255,255,0.98) 0%,
      rgba(208,226,255,0.72) 4%,
      rgba(116,150,224,0.42) 11%,
      rgba(38,50,108,0.92) 33%,
      #131a44 52%,
      #0a0f30 72%,
      #05081c 100%);
  box-shadow:
    inset -22px -26px 60px rgba(0,0,0,0.78),
    inset 26px 30px 70px rgba(150,180,255,0.14),
    0 60px 130px -42px rgba(20,30,80,0.85),
    0 0 70px -10px rgba(232,176,75,0.28),
    0 0 0 1px rgba(232,176,75,0.14);
  overflow: hidden;
  isolation: isolate;
}
/* warm gold rim light hugging the lower-right edge (showroom bounce) */
.planet::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 78% 84%, rgba(244,206,130,0.55) 0%, rgba(232,176,75,0) 26%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 60%, rgba(232,176,75,0.18) 78%, rgba(232,176,75,0) 86%);
  mix-blend-mode: screen;
}
/* crisp specular hotspot + a soft secondary catchlight to sell the gloss */
.planet::after {
  content: ""; position: absolute;
  top: 15%; left: 23%; width: 26%; height: 19%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%);
  filter: blur(1.5px);
}
/* the buff: a bright diagonal streak that sweeps across, like a polish pass */
.planet-shine {
  position: absolute; inset: -20%;
  background: linear-gradient(118deg,
    transparent 40%,
    rgba(255,255,255,0.0) 46%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0.0) 54%,
    transparent 60%);
  mix-blend-mode: screen;
  transform: translateX(-60%);
  animation: buff 7s var(--ease) infinite;
}
/* a soft, static showroom-light reflection band, anchored to the body */
.planet-shine::after {
  content: ""; position: absolute; inset: 20%;
  border-radius: 50%;
  background: linear-gradient(102deg,
    transparent 56%,
    rgba(190,212,255,0.0) 60%,
    rgba(206,224,255,0.42) 65%,
    rgba(206,224,255,0.0) 70%,
    transparent 74%);
  mix-blend-mode: screen;
}
@keyframes buff {
  0%   { transform: translateX(-70%); opacity: 0; }
  18%  { opacity: 0.9; }
  46%  { opacity: 0.9; }
  64%, 100% { transform: translateX(70%); opacity: 0; }
}
.orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(232,176,75,0.22);
}
.orbit-1 {
  width: 560px; height: 560px; top: -150px; right: -110px;
  border-style: dashed; border-color: rgba(232,176,75,0.22);
  animation: spin 70s linear infinite;
}
.orbit-1::before {
  content: ""; position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 14px 4px rgba(244,206,130,0.8);
}
.orbit-2 { width: 880px; height: 880px; top: -280px; right: -240px; border-color: rgba(255,255,255,0.06); }
@keyframes spin { to { transform: rotate(360deg); } }
.comet {
  position: absolute; top: 24%; left: 60%;
  width: 3px; height: 3px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(255,255,255,0.8);
  animation: comet 9s linear infinite;
}
.comet::after {
  content: ""; position: absolute; right: 3px; top: 50%;
  width: 120px; height: 1px; transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent);
}
@keyframes comet {
  0% { transform: translate(0,0); opacity: 0; }
  10% { opacity: 1; }
  60% { opacity: 1; }
  100% { transform: translate(-440px, 300px); opacity: 0; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(4rem, 5vw, 7rem) clamp(3.5rem, 4vw, 5.5rem);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: var(--step--1); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  margin-bottom: 1.5rem;
}
.eyebrow-line { width: 42px; height: 1.5px; background: var(--gold); display: inline-block; }
.hero-title {
  font-size: var(--step-5);
  color: #fff;
  max-width: 15ch;
  margin-bottom: 1.7rem;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2), 0 24px 60px rgba(0,0,0,0.35);
}
.kw-nowrap { white-space: nowrap; }
.hero-lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-on-dark-mute);
  max-width: 46ch;
  margin-bottom: 2.2rem;
  font-family: var(--sans);
  font-weight: 400;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.8rem; }
.hero-actions .btn-line { color: var(--text-on-dark); border-color: var(--line-on-dark); }
.hero-actions .btn-line:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); }
.hero-facts {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 3vw, 3rem);
  border-top: 1px solid var(--line-on-dark);
  padding-top: 1.6rem;
}
.hero-facts li { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-facts strong {
  font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--gold);
}
.hero-facts span { font-size: var(--step--1); color: var(--text-on-dark-mute); letter-spacing: 0.02em; }

.hero-card {
  background: linear-gradient(165deg, rgba(27,36,86,0.85), rgba(10,14,39,0.92));
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}
.card-kicker {
  font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 0.9rem;
}
.card-line { color: var(--text-on-dark); font-size: var(--step-1); font-family: var(--display); line-height: 1.3; margin-bottom: 1.6rem; }
.card-hours {
  margin: 1.5rem 0 0; padding-top: 1.3rem;
  border-top: 1px solid var(--line-on-dark);
  display: grid; gap: 0.6rem;
}
.card-hours div { display: flex; justify-content: space-between; font-size: var(--step--1); }
.card-hours dt { color: var(--text-on-dark-mute); }
.card-hours dd { margin: 0; color: #fff; font-weight: 600; }

/* marquee */
.marquee {
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  background: rgba(0,0,0,0.18);
  overflow: hidden;
  padding-block: 0.85rem;
}
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem;
  white-space: nowrap; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--sans); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-on-dark-mute);
}
.marquee-track .dot { color: var(--gold); font-size: 0.7rem; letter-spacing: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Section primitives
   ============================================================ */
.section-tag {
  font-size: var(--step--1); letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; color: var(--gold); margin-bottom: 1rem;
}
.section-tag.light { color: var(--gold-soft); }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head h2 { font-size: var(--step-4); margin-bottom: 1.1rem; }
.section-intro { color: var(--mute); font-size: var(--step-1); max-width: 50ch; }

/* ============================================================
   About
   ============================================================ */
.about {
  background: var(--paper);
  padding-block: var(--sp-section);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.4fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about-side { position: sticky; top: 104px; }
.about-side .section-tag { color: var(--navy-3); margin-bottom: 1.3rem; }

.about-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1.9rem, 2.6vw, 2.7rem);
  color: var(--text-on-dark);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(27,36,86,0.95) 0%, rgba(10,14,39,0) 60%),
    linear-gradient(158deg, #161e4a 0%, var(--navy) 58%, #070b22 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 50px 100px -55px rgba(10,14,39,0.85),
    inset 0 1px 0 rgba(255,255,255,0.07);
}
.about-card-glow {
  position: absolute; top: -40%; right: -30%;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,176,75,0.22) 0%, rgba(232,176,75,0) 65%);
  pointer-events: none;
}
.about-badge {
  position: relative;
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  color: var(--gold);
  background: linear-gradient(150deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(232,176,75,0.28);
  box-shadow: inset 0 0 18px rgba(232,176,75,0.18);
}
.about-sig {
  position: relative;
  font-family: var(--display); font-weight: 700;
  font-size: 1.5rem; color: #fff; line-height: 1.12;
  margin-top: 1.4rem; letter-spacing: -0.02em;
}
.about-sig-sub {
  position: relative;
  color: var(--text-on-dark-mute); font-size: var(--step--1);
  letter-spacing: 0.02em; margin-top: 0.45rem;
}
.about-stars {
  position: relative;
  display: flex; gap: 0.3rem; margin-top: 1.05rem;
  color: var(--gold);
}
.about-stars svg { display: block; filter: drop-shadow(0 2px 6px rgba(232,176,75,0.4)); }
.about-mini {
  position: relative;
  margin: 1.8rem 0 1.9rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-dark);
  display: grid; gap: 0;
}
.about-mini div {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.about-mini div:last-child { border-bottom: none; }
.about-mini dt {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-on-dark-mute); font-weight: 700;
}
.about-mini dd {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: 1.02rem; color: #fff; text-align: right;
}
.about-card-cta { position: relative; }
.about-body h2 { font-size: var(--step-3); margin-bottom: 1.5rem; max-width: 20ch; }
.about-body p { color: #3A3E55; font-size: var(--step-1); line-height: 1.6; margin-bottom: 1.4rem; max-width: 58ch; }
.about-points { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0; }
.about-points li {
  display: flex; gap: 1.4rem; align-items: baseline;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.about-points li:last-child { border-bottom: 1px solid var(--line); }
.point-num { font-family: var(--display); color: var(--gold); font-size: 1.1rem; font-weight: 600; min-width: 2ch; }
.point-text { font-size: var(--step-0); color: #3A3E55; }
.point-text strong { color: var(--ink); }

/* ============================================================
   Services (dark)
   ============================================================ */
.services {
  background:
    radial-gradient(90% 70% at 90% 0%, rgba(27,36,86,0.7) 0%, rgba(10,14,39,0) 60%),
    var(--navy);
  color: var(--text-on-dark);
  padding-block: var(--sp-section);
}
.services-head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(2.6rem, 4vw, 4.2rem);
  padding-bottom: clamp(1.6rem, 2.5vw, 2.4rem);
  border-bottom: 1px solid var(--line-on-dark);
}
.services-head-main h2 {
  color: #fff; font-size: var(--step-4);
  margin-top: 1.1rem; max-width: 13ch;
}
.services-head-side { padding-bottom: 0.3rem; }
.services-head-side .section-intro {
  color: var(--text-on-dark-mute); margin-bottom: 1.5rem;
}
.services-head-side .btn-line { color: var(--text-on-dark); border-color: var(--line-on-dark); }
.services-head-side .btn-line:hover { border-color: var(--gold); }
@media (max-width: 860px) {
  .services-head { grid-template-columns: 1fr; align-items: start; gap: 1.6rem; }
  .services-head-main h2 { max-width: 20ch; }
}
.service-stack { display: grid; gap: 0; }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: clamp(2.6rem, 4vw, 4.2rem) 1.55fr 0.9fr;
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 3vw, 2.9rem) clamp(0.8rem, 1.6vw, 1.6rem);
  margin-inline: clamp(-0.8rem, -1.6vw, -1.6rem);
  border-top: 1px solid var(--line-on-dark);
  border-radius: 16px;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.service-row::before {
  content: ""; position: absolute; left: 0; top: 14%; bottom: 14%;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(232,176,75,0.9), rgba(232,176,75,0));
  transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease);
}
.service-row:last-child { border-bottom: 1px solid var(--line-on-dark); }
.service-row:hover {
  background: linear-gradient(90deg, rgba(232,176,75,0.07), rgba(255,255,255,0.02) 55%);
  transform: translateX(4px);
}
.service-row:hover::before { transform: scaleY(1); }
.service-index {
  font-family: var(--display); font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.6rem);
  color: rgba(232,176,75,0.9);
  font-weight: 700; align-self: start; line-height: 0.9;
  -webkit-text-stroke: 0; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 26px rgba(232,176,75,0.25);
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.service-row:hover .service-index { transform: translateY(-2px); color: var(--gold-soft); }
.service-main h3 {
  font-size: var(--step-2); color: #fff; margin-bottom: 0.7rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.service-main h3::after {
  content: ""; width: 0; height: 1px; background: var(--gold);
  transition: width .4s var(--ease); opacity: 0.7;
}
.service-row:hover .service-main h3::after { width: clamp(20px, 4vw, 48px); }
.service-main p { color: var(--text-on-dark-mute); max-width: 48ch; font-size: var(--step-0); }
.service-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; align-content: center; justify-content: flex-end; }
.service-tags li {
  font-size: 0.78rem; letter-spacing: 0.02em;
  padding: 0.45em 0.9em; border-radius: 999px;
  border: 1px solid var(--line-on-dark);
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.03);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.service-row:hover .service-tags li { border-color: rgba(232,176,75,0.4); }

/* ============================================================
   Service area
   ============================================================ */
.area {
  background:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--text-on-dark);
  padding-block: var(--sp-section);
  border-top: 1px solid var(--line-on-dark);
}
.area-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.area-copy h2 { color: #fff; font-size: var(--step-3); margin-bottom: 1.2rem; max-width: 16ch; }
.area-copy p { color: var(--text-on-dark-mute); font-size: var(--step-1); max-width: 44ch; margin-bottom: 1.8rem; }
.area-copy .btn-line { color: var(--text-on-dark); border-color: var(--line-on-dark); }
.area-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.area-list li {
  background: rgba(10,14,39,0.6);
  padding: 1.15rem 1.3rem;
  font-family: var(--display); font-size: 1.15rem; color: #fff;
  display: flex; align-items: center; gap: 0.7rem;
  transition: background .3s var(--ease);
}
.area-list li::before {
  content: "\2605"; color: var(--gold); font-size: 0.8rem;
}
.area-list li:hover { background: rgba(27,36,86,0.85); }

/* ============================================================
   Contact
   ============================================================ */
.contact {
  position: relative;
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(232,176,75,0.12) 0%, rgba(10,14,39,0) 55%),
    var(--navy);
  color: var(--text-on-dark);
  padding-block: var(--sp-section);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.contact-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow-2 { top: -30%; left: 50%; transform: translateX(-50%); right: auto; }
.orbit-3 { width: 760px; height: 760px; bottom: -480px; left: 50%; transform: translateX(-50%); }
.contact .section-tag { color: var(--gold); }
.contact h2 { font-size: var(--step-4); color: #fff; margin-inline: auto; max-width: 18ch; margin-bottom: 1.2rem; }
.contact-lede { color: var(--text-on-dark-mute); font-size: var(--step-1); max-width: 44ch; margin: 0 auto 2.4rem; }
.contact-actions { margin-bottom: 3.2rem; }
.contact-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 760px; margin-inline: auto; text-align: left;
  border-top: 1px solid var(--line-on-dark); padding-top: 2.4rem;
}
.contact-meta dt {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 0.6rem;
}
.contact-meta dd { margin: 0; color: #fff; font-size: var(--step-0); line-height: 1.5; }
.contact-meta a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(232,176,75,0.5); transition: border-color .3s; }
.contact-meta a:hover { border-color: var(--gold); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: var(--text-on-dark-mute);
  padding-top: clamp(3rem, 5vw, 5rem);
  border-top: 1px solid var(--line-on-dark);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-mark { color: var(--gold); margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; font-family: var(--display); font-size: 1.25rem; display: block; margin-bottom: 0.6rem; }
.footer-tag { max-width: 32ch; font-size: var(--step--1); }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-h { color: #fff; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.4rem; }
.footer-col a, .footer-static { color: var(--text-on-dark-mute); text-decoration: none; font-size: var(--step--1); }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 1.6rem; border-top: 1px solid var(--line-on-dark);
  font-size: var(--step--1);
}
.to-top { text-decoration: none; color: var(--text-on-dark-mute); transition: color .25s; }
.to-top:hover { color: var(--gold); }

/* spec footer (mandated) */
.spec-footer {
  background: #05070f; color: #8b8fa6;
  text-align: center; font-size: 0.82rem;
  padding: 1.4rem 1.2rem; line-height: 1.6;
}
.spec-footer a { color: var(--gold); }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* no-JS safety: if app.js never runs, content stays visible */
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .area-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .service-row { grid-template-columns: clamp(2rem, 8vw, 3rem) 1fr; }
  .service-row:hover { transform: none; }
  .service-tags { grid-column: 2; margin-top: 0.6rem; justify-content: flex-start; }
  .contact-meta { grid-template-columns: 1fr; text-align: center; }
  .contact-meta dt { margin-top: 0.4rem; }
}

@media (max-width: 480px) {
  .header-cta { display: none; }
  .hero-title {
    max-width: 18ch; letter-spacing: -0.025em;
    font-size: clamp(1.85rem, 0.9rem + 4.6vw, 2.8rem);
  }
  .about-card { padding: 1.55rem 1.35rem; }
  .about-mini dd { font-size: 0.96rem; }
  .hero-facts { gap: 1.3rem 1.8rem; }
  .planet { width: clamp(120px, 34vw, 170px); top: 28px; right: 0; opacity: 0.92; }
  .area-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; }
}
