/* ============================================================
   Shaq Thompson — brand token layer + components.
   Ported from the original build. All colour lives here.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:root {
  --st-bg: #12222B;
  --st-bg-deep: #0D1A21;
  --st-bg-raise: #1A2F3A;
  --st-ink: #F2EFE8;
  --st-muted: #8FA2AC;
  --st-line: rgba(242, 239, 232, 0.14);
  --st-accent: #D93A2B;
  --st-display: "Archivo", system-ui, sans-serif;
  --st-body: "IBM Plex Sans", system-ui, sans-serif;
  --st-mono: "IBM Plex Mono", ui-monospace, monospace;
  --st-shell: 1180px;
}

.st-root {
  background: var(--st-bg);
  color: var(--st-ink);
  font-family: var(--st-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.st-shell { width: 100%; max-width: var(--st-shell); margin: 0 auto; padding: 0 24px; }
.st-section { padding: clamp(72px, 11vw, 148px) 0; border-top: 1px solid var(--st-line); }
.st-section--flush { border-top: 0; }

:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 3px; }

.st-link { color: var(--st-accent); text-decoration: none; }
.st-link:hover { text-decoration: underline; }

.st-eyebrow {
  font-family: var(--st-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--st-accent); margin: 0 0 20px;
  display: flex; align-items: center; gap: 12px;
}
.st-eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--st-line); }

.st-h2 {
  font-family: var(--st-display);
  font-weight: 800; font-stretch: 118%;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.02; letter-spacing: -0.02em;
  margin: 0 0 24px; text-transform: uppercase;
}
.st-lede { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6; color: var(--st-ink); max-width: 62ch; margin: 0 0 20px; }
.st-body { font-size: 16.5px; line-height: 1.72; color: var(--st-muted); max-width: 66ch; margin: 0 0 18px; }
.st-body strong { color: var(--st-ink); font-weight: 600; }

/* ---------- masthead ---------- */
.st-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 26, 33, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--st-line);
}
.st-nav__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.st-nav__mark { font-family: var(--st-display); font-weight: 800; font-stretch: 118%; letter-spacing: 0.02em; text-transform: uppercase; font-size: 15px; }
.st-nav__mark span { color: var(--st-accent); }
.st-nav__links { display: none; gap: 30px; }
@media (min-width: 800px) { .st-nav__links { display: flex; } }
.st-nav__link {
  font-family: var(--st-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--st-muted); text-decoration: none;
  padding-bottom: 2px; border-bottom: 1px solid transparent; transition: color .18s, border-color .18s;
}
.st-nav__link:hover { color: var(--st-ink); border-bottom-color: var(--st-accent); }

/* ---------- hero ---------- */
.st-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; }
.st-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.st-hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,26,33,.55) 0%, rgba(13,26,33,.18) 32%, rgba(13,26,33,.93) 88%),
    linear-gradient(90deg, rgba(13,26,33,.86) 0%, rgba(13,26,33,.1) 62%);
}
.st-hero__in { position: relative; padding: 0 0 clamp(44px, 7vw, 88px); }
.st-hero__status {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--st-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--st-line); border-radius: 999px;
  padding: 7px 15px; margin-bottom: 26px; background: rgba(13,26,33,.55);
}
.st-hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--st-accent); }
.st-hero__name {
  font-family: var(--st-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(50px, 12.5vw, 152px); line-height: .86;
  letter-spacing: -0.035em; text-transform: uppercase; margin: 0;
}
.st-hero__rule { width: 76px; height: 3px; background: var(--st-accent); margin: 28px 0 22px; }
.st-hero__sub { font-size: clamp(16px, 2vw, 20px); line-height: 1.55; color: var(--st-ink); max-width: 46ch; margin: 0; }

/* ---------- stat strip ---------- */
.st-strip { background: var(--st-bg-deep); border-top: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); }
.st-strip__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .st-strip__grid { grid-template-columns: repeat(4, 1fr); } }
.st-stat { padding: 30px 24px; border-right: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); }
@media (min-width: 760px) { .st-stat { border-bottom: 0; } .st-stat:last-child { border-right: 0; } }
.st-stat__n { font-family: var(--st-mono); font-weight: 500; font-size: clamp(30px, 4vw, 42px); line-height: 1; letter-spacing: -0.02em; }
.st-stat__l { font-family: var(--st-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--st-muted); margin-top: 10px; }

/* ---------- split ---------- */
.st-split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .st-split { grid-template-columns: 1fr 1fr; } .st-split--wide { grid-template-columns: 1.15fr .85fr; } }
.st-figure { margin: 0; }
.st-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--st-line); }
.st-figure figcaption { font-family: var(--st-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--st-muted); margin-top: 12px; line-height: 1.5; }

/* ---------- data table ---------- */
.st-table { width: 100%; border-collapse: collapse; font-family: var(--st-mono); font-size: 13.5px; margin-top: 8px; }
.st-table th {
  text-align: left; font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--st-muted); padding: 0 12px 12px 0; border-bottom: 1px solid var(--st-line);
}
.st-table td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--st-line); color: var(--st-muted); }
.st-table tr:last-child td { border-bottom: 0; }
.st-table td:first-child { color: var(--st-ink); }
.st-table__hi td { color: var(--st-ink); }
.st-table__hi td:first-child { position: relative; padding-left: 14px; }
.st-table__hi td:first-child::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 18px; background: var(--st-accent); }

/* ---------- note card ---------- */
.st-note { background: var(--st-bg-raise); border-left: 3px solid var(--st-accent); padding: 26px 28px; margin-top: 30px; }
.st-note p { margin: 0; font-size: 16px; line-height: 1.68; color: var(--st-ink); }
.st-note__k { font-family: var(--st-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--st-muted); display: block; margin-bottom: 10px; }

/* ---------- timeline ---------- */
.st-tl { list-style: none; margin: 0; padding: 0; }
.st-tl li { display: grid; grid-template-columns: 74px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--st-line); }
.st-tl li:last-child { border-bottom: 0; }
.st-tl__y { font-family: var(--st-mono); font-size: 13px; color: var(--st-accent); padding-top: 2px; }
.st-tl__t { font-size: 15.5px; line-height: 1.6; color: var(--st-muted); margin: 0; }
.st-tl__t b { color: var(--st-ink); font-weight: 600; }

/* ---------- gallery ---------- */
.st-gal { display: grid; gap: 18px; }
@media (min-width: 720px) { .st-gal { grid-template-columns: 1fr 1fr; } }

/* ---------- contact ---------- */
.st-contact { background: var(--st-bg-deep); }
.st-cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--st-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--st-ink); text-decoration: none;
  border: 1px solid var(--st-ink); padding: 15px 26px; margin-top: 8px;
  transition: background .2s, color .2s, border-color .2s;
}
.st-cta:hover { background: var(--st-accent); border-color: var(--st-accent); color: var(--st-ink); }
.st-cta[disabled] { opacity: .55; cursor: default; }
.st-cta[disabled]:hover { background: transparent; border-color: var(--st-ink); }
.st-cta__arrow { transition: transform .2s; }
.st-cta:hover .st-cta__arrow { transform: translateX(4px); }
.st-repcard { border: 1px solid var(--st-line); padding: 24px; margin-top: 26px; }
.st-repcard dt { font-family: var(--st-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--st-muted); }
.st-repcard dd { margin: 6px 0 20px; font-size: 16px; color: var(--st-ink); }
.st-repcard dd:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.st-foot { border-top: 1px solid var(--st-line); padding: 34px 0 46px; }
.st-foot p { font-family: var(--st-mono); font-size: 11px; letter-spacing: 0.06em; line-height: 1.9; color: var(--st-muted); margin: 0; }

/* ---------- inquiry form ---------- */
.st-form { display: grid; gap: 16px; margin-top: 4px; }
.st-field label {
  display: block; font-family: var(--st-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--st-muted); margin-bottom: 8px;
}
.st-field input, .st-field select, .st-field textarea {
  width: 100%; box-sizing: border-box;
  background: var(--st-bg-raise); color: var(--st-ink);
  border: 1px solid var(--st-line); border-radius: 0;
  font-family: var(--st-body); font-size: 15.5px; line-height: 1.5;
  padding: 12px 14px; transition: border-color .18s;
}
.st-field textarea { min-height: 132px; resize: vertical; }
.st-field input:focus, .st-field select:focus, .st-field textarea:focus {
  outline: none; border-color: var(--st-accent);
}
.st-field input::placeholder, .st-field textarea::placeholder { color: var(--st-muted); opacity: .7; }
.st-field select option { background: var(--st-bg-raise); color: var(--st-ink); }
.st-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-form__note {
  font-family: var(--st-mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--st-muted); line-height: 1.7; margin: 6px 0 0;
}
button.st-cta { background: transparent; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .st-cta, .st-cta__arrow, .st-nav__link,
  .st-field input, .st-field select, .st-field textarea { transition: none; }
}
