@import url("tokens.css");

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--glass-900); color: var(--text);
  font-family: var(--f-body); font-size: var(--t-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--pad-section); }

h1, h2, h3, .display {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  line-height: .92; letter-spacing: -.005em; margin: 0; text-wrap: balance;
}
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 700; }
p { margin: 0 0 var(--s-4); }
.lead { font-size: var(--t-lead); color: var(--text-dim); max-width: 40ch; }
.label {
  font-family: var(--f-display); font-size: var(--t-label); font-weight: 700;
  text-transform: uppercase; letter-spacing: .22em; color: var(--sun);
}
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40; background: rgba(11,14,17,.86);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-3); }
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand .wordmark { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1.18rem; }
.nav { display: flex; align-items: center; gap: var(--s-5); }
.nav a { font-size: var(--t-small); text-decoration: none; color: var(--text-dim); letter-spacing: .01em; }
.nav a:hover { color: var(--sun); }
@media (max-width: 720px) { .nav .nav-link { display: none; } }

.btn-call {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: .95rem; background: var(--sun); color: var(--on-sun); text-decoration: none;
  padding: .62rem 1.05rem; border-radius: var(--r-sm); white-space: nowrap;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.btn-call:hover { background: #ffb443; transform: translateY(-1px); }
.btn-ghost {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: .95rem; color: var(--text); text-decoration: none; padding: .62rem 1.05rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.btn-ghost:hover { border-color: var(--sun); color: var(--sun); }

/* ---------- the tint seam hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero-field {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(105% 80% at 72% 2%, rgba(255,190,90,.40) 0%, rgba(240,160,42,.06) 46%, rgba(240,160,42,0) 62%),
    linear-gradient(180deg, #2f4a5e 0%, #24404f 34%, #1d3543 46%, #0d1319 46.15%, #090c10 100%);
}
.hero-field::after {
  content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 2px;
  background: linear-gradient(90deg, rgba(240,160,42,0) 0%, rgba(255,186,74,.9) 12%, rgba(255,186,74,.9) 88%, rgba(240,160,42,0) 100%);
  box-shadow: 0 0 28px rgba(240,160,42,.42);
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(5rem, 15vw, 9.5rem) clamp(3rem, 8vw, 5rem); }
.hero h1 { font-size: var(--t-hero); max-width: 17ch; }
.hero .lead { max-width: 34ch; }
.hero h1 .thru { color: var(--sun); }
.hero-sub { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-7); align-items: flex-end; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-proof {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line);
  font-size: var(--t-small); color: var(--text-dim); max-width: 46rem;
}
.hero-proof .rating {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem);
  color: var(--text); line-height: .85; letter-spacing: -.02em;
}
.hero-proof .stars { font-size: 1.05rem; }
.hero-proof .said { display: block; }
.hero-proof .stars { color: var(--sun); letter-spacing: .12em; }

/* ---------- hanging-numeral service list ---------- */
.svc { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--s-4) var(--s-5);
  padding-block: clamp(1.75rem, 4vw, 2.75rem); border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 62rem) { .svc-row { grid-template-columns: 7rem 24rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: baseline; } }
.svc-row .num {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: .8; color: var(--glass-700); font-variant-numeric: tabular-nums;
  transition: color 220ms var(--ease);
}
.svc-row:hover .num { color: var(--sun-deep); }
.svc-row .body { color: var(--text-dim); margin: 0; max-width: 46ch; grid-column: 2 / -1; }
@media (min-width: 62rem) { .svc-row .body { grid-column: auto; } }

/* ---------- pull quote / stat band ---------- */
.band { background: var(--glass-850); border-block: 1px solid var(--line-soft); }
.band .display-xl {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 8vw, 5.5rem); line-height: .95; letter-spacing: -.01em; margin: 0;
  max-width: 18ch;
}
.band .display-xl { color: var(--muted); }
.band .display-xl em { font-style: normal; color: var(--text); }
.band .display-xl b { font-weight: inherit; color: var(--sun); }

/* ---------- split ---------- */
.split { display: grid; gap: var(--s-8); }
@media (min-width: 62rem) { .split { grid-template-columns: 1fr 1.15fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; } }

/* ---------- contact / final CTA ---------- */
.cta-final { border-top: 1px solid var(--line); }
.phone-huge {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 11vw, 6.5rem); line-height: .9; letter-spacing: -.01em;
  text-decoration: none; display: inline-block; color: var(--text);
  transition: color 200ms var(--ease);
}
.phone-huge:hover { color: var(--sun); }
.meta-grid { display: grid; gap: var(--s-6); margin-top: var(--s-7); }
@media (min-width: 48rem) { .meta-grid { grid-template-columns: 1.15fr .85fr 1.2fr; gap: var(--s-7); } }
.meta-grid dt { font-family: var(--f-display); font-size: var(--t-label); text-transform: uppercase; letter-spacing: .2em; color: var(--sun); margin-bottom: var(--s-2); }
.meta-grid dd { margin: 0; color: var(--text-dim); font-size: var(--t-small); line-height: 1.7; }

/* ---------- form ---------- */
.form { display: grid; gap: var(--s-4); max-width: 34rem; }
.form label { font-family: var(--f-display); font-size: var(--t-label); text-transform: uppercase; letter-spacing: .18em; color: var(--muted); display: block; margin-bottom: var(--s-2); }
.form input, .form textarea, .form select {
  width: 100%; background: var(--glass-800); color: var(--text); font-family: var(--f-body);
  font-size: 1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .8rem .9rem; min-height: 44px;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--sun); outline: none; }
.form button {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: 1rem; background: var(--sun); color: var(--on-sun); border: 0;
  border-radius: var(--r-sm); padding: .85rem 1.3rem; min-height: 48px; cursor: pointer;
  justify-self: start; transition: background 180ms var(--ease);
}
.form button:hover { background: #ffb443; }

.map-frame { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; line-height: 0; }
.map-frame iframe { width: 100%; height: 340px; border: 0; filter: grayscale(1) invert(.92) contrast(.85); }

/* ---------- sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: .7rem var(--gut); background: rgba(11,14,17,.95);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.callbar .n { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: .01em; }
.callbar .h { font-size: .72rem; color: var(--muted); }
@media (max-width: 720px) { .callbar { display: flex; } body { padding-bottom: 4.5rem; } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--glass-850); }
.site-foot .wrap { padding-block: var(--s-8); display: grid; gap: var(--s-5); }
@media (min-width: 48rem) { .site-foot .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.site-foot a { color: var(--text-dim); }
.foot-note { font-size: .78rem; color: var(--muted); max-width: 46ch; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Mobile: the seam must cross the HEADLINE (h1 ends at ~32.6% at 375px),
   never the body copy - at the desktop 46% it read as a strikethrough. */
@media (max-width: 720px) {
  .hero-field {
    background:
      radial-gradient(120% 70% at 78% 0%, rgba(255,190,90,.34) 0%, rgba(240,160,42,.05) 48%, rgba(240,160,42,0) 64%),
      linear-gradient(180deg, #2f4a5e 0%, #24404f 20%, #1d3543 28.8%, #0d1319 29%, #090c10 100%);
  }
  .hero-field::after { top: 28.9%; }
}
