/* =========================================================
   DRX SERIES STYLESHEET  ·  /drx.css
   Shared by every page in the landing-page series.
   Tokens match the live hub (verified 13 Sep 2026).
   Edit here, never per page: one file, no drift.
   ========================================================= */

:root {
  --ink: #141210;
  --ink-2: #1D1A17;
  --ink-3: #26221E;
  --bone: #E9E2D6;
  --bone-dim: rgba(233, 226, 214, .64);
  --bone-faint: rgba(233, 226, 214, .10);
  --line: rgba(233, 226, 214, .16);
  --rouge: #DB4216;       /* clickable only */
  --rouge-deep: #A7300F;
  --rouge-lift: #EE5A28;  /* hover: stays AA with ink text, deep does not */
  --gold: #C2913A;        /* informational only */

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1440px;
  --gut: clamp(16px, 2.8vw, 40px);
  --nav-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* grid crosses sit 6px outside the frame; never let them cause sideways scroll */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--bone); color: var(--ink); padding: 10px 14px; font-weight: 600;
}
.skip:focus { left: 8px; }

/* ---------- FRAME + GRID ----------
   Every section is a .band inside .frame. The side rules and the
   corner crosses are the visible grid that defines the series look. */
.frame { max-width: var(--max); margin: 0 auto; border-inline: 1px solid var(--line); }
.band { position: relative; border-bottom: 1px solid var(--line); }
.band::before, .band::after {
  content: ""; position: absolute; bottom: -6px; z-index: 3;
  width: 11px; height: 11px; pointer-events: none;
  background:
    linear-gradient(var(--bone-dim), var(--bone-dim)) center / 1px 100% no-repeat,
    linear-gradient(var(--bone-dim), var(--bone-dim)) center / 100% 1px no-repeat;
}
.band::before { left: -6px; }
.band::after { right: -6px; }
.pad { padding: clamp(44px, 6vw, 96px) var(--gut); }

/* ---------- TYPE ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  font-optical-sizing: auto;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.015em;
  margin: 0;
}
.h2 { font-size: clamp(40px, 6.2vw, 92px); }
.mono {
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.lede { font-size: clamp(17px, 1.35vw, 20px); max-width: 44ch; margin: 0; }

/* ---------- BUTTONS ----------
   Orange fills carry ink text, never bone (bone on #DB4216 is 3.4:1). */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  font: 600 15px/1 var(--f-body);
  text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  background: none; color: inherit; /* <button> elements otherwise get the browser's grey */
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-primary { background: var(--rouge); color: var(--ink); }
.btn-primary:hover { background: var(--rouge-lift); }
.btn-ghost { border-color: var(--bone-dim); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); background: var(--bone-faint); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: var(--ink-3); }
.btn[disabled] { opacity: .5; cursor: wait; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 18, 16, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-in {
  max-width: var(--max); margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gut); border-inline: 1px solid var(--line);
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 16px/1 var(--f-body); }
.mark .mark-x { width: 34px; height: 34px; } /* 34px is a floor: the X's hairline arms vanish below ~30px */
.nav-links { display: flex; gap: 28px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--bone-dim); }
.nav-links a:hover { color: var(--bone); }
.nav-cta { display: flex; gap: 10px; }
@media (max-width: 759px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-cta { margin-left: auto; }
  .nav .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
}

/* ---------- CONTACT ---------- */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.contact a { display: block; padding: 22px var(--gut); text-decoration: none; border-left: 1px solid var(--line); }
.contact a:first-child { border-left: 0; }
.contact a:hover { background: var(--ink-2); }
.contact .mono { display: block; margin-bottom: 4px; }
.contact strong { font: 600 16px/1.3 var(--f-body); overflow-wrap: anywhere; }
@media (max-width: 759px) {
  .contact { grid-template-columns: 1fr 1fr; }
  .contact a:nth-child(3) { border-left: 0; }
  .contact a:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- FOOTER ---------- */
.foot { overflow: hidden; }
.foot-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding: 22px var(--gut); border-bottom: 1px solid var(--line);
}
.foot-row nav { display: flex; gap: 24px; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--bone); }
.wordmark {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(76px, 19.4vw, 280px); line-height: .78; letter-spacing: -.02em;
  white-space: nowrap; margin: 0; padding: .12em var(--gut) 0;
  transform: translateY(.06em);
}

/* ---------- MOBILE TAPBAR ---------- */
.tapbar { display: none; }
@media (max-width: 759px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .tapbar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .tapbar a {
    height: 60px; display: flex; align-items: center; justify-content: center;
    font: 600 15px var(--f-body); text-decoration: none; border-left: 1px solid var(--line);
  }
  .tapbar a:first-child { border-left: 0; background: var(--rouge); color: var(--ink); }
}
