/* SHIFT design system — Direction B (athletic, softer tone)
   Shared across all shift-landing pages. Monofil is broken here intentionally
   because 17 pages need to stay visually coherent. */

:root {
  --graphite: #131311;
  --graphite2: #1C1C19;
  --graphite3: #252520;
  --bone: #E8E4DC;
  --bone2: #D8D3C8;
  --bone3: #C4BEAF;
  --ink: #0E0E0C;
  --signal: #D9562B;
  --signal-deep: #A9371A;
  --line: rgba(232,228,220,0.16);
  --line-strong: rgba(232,228,220,0.32);
  --line-bone: rgba(14,14,12,0.2);
  --line-bone-strong: rgba(14,14,12,0.35);
  --display: 'Archivo', 'Inter Tight', sans-serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* --- reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--graphite); color: var(--bone);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }

/* --- primitives --- */

.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500; color: rgba(232,228,220,0.62);
}
.label.muted-on-bone { color: rgba(14,14,12,0.55); }
.label.signal { color: var(--signal); }
.label.bone { color: var(--bone); }
.label.ink { color: var(--ink); }

.btn {
  font-family: var(--display); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid; padding: 17px 28px; font-size: 14px;
  background: transparent; color: inherit;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { font-family: var(--mono); opacity: 0.72; }
.btn.sm { padding: 12px 20px; font-size: 12px; }
.btn.lg { padding: 20px 32px; font-size: 15px; }
.btn.primary { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.btn.primary:hover { background: var(--signal-deep); border-color: var(--signal-deep); }
.btn.outline { color: var(--bone); border-color: var(--bone); }
.btn.outline:hover { background: var(--bone); color: var(--ink); }
.btn.outline-dark { color: var(--ink); border-color: var(--ink); }
.btn.outline-dark:hover { background: var(--ink); color: var(--bone); }
.btn.solid-dark { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); }
.wordmark svg { display: block; }
.wordmark span {
  font-family: var(--display); font-weight: 800; letter-spacing: 0.01em;
  font-size: 20px;
}

/* --- nav --- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19,19,17,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 48px; max-width: 1440px; margin: 0 auto;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(232,228,220,0.72);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--signal); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--signal); }

/* --- ticker --- */

.ticker {
  background: var(--ink); color: var(--bone);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 48px; padding: 18px 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; white-space: nowrap;
  animation: shift-ticker 45s linear infinite;
}
.ticker-item { display: inline-flex; align-items: center; gap: 28px; }
.ticker-dot { width: 7px; height: 7px; background: var(--signal); display: inline-block; }
@keyframes shift-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- figure / photo placeholders --- */

.figure {
  position: relative; overflow: hidden; width: 100%; height: 100%;
  background: #1a1a17;
}
.figure.bone { background: var(--bone2); }
.figure .scan {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(12deg, transparent 0 6px, rgba(232,228,220,0.16) 6px 7px);
}
.figure.bone .scan {
  background-image: repeating-linear-gradient(12deg, transparent 0 6px, rgba(14,14,12,0.22) 6px 7px);
}
.figure .ticks {
  position: absolute; top: 16px; bottom: 16px; left: 12px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.figure .ticks i { display: block; height: 1px; background: rgba(232,228,220,0.32); }
.figure.bone .ticks i { background: rgba(14,14,12,0.42); }
.figure .ticks i:nth-child(even) { width: 7px; }
.figure .ticks i:nth-child(odd) { width: 14px; }
.figure .stripe {
  position: absolute; top: 0; bottom: 0; right: 28%; width: 2px;
  background: var(--signal); opacity: 0.85;
}
.figure .cap, .figure .tag {
  position: absolute; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; color: rgba(232,228,220,0.45);
}
.figure.bone .cap, .figure.bone .tag { color: rgba(14,14,12,0.45); }
.figure .cap { left: 36px; bottom: 16px; }
.figure .tag { right: 16px; top: 16px; }
.figure.photo-real {
  background-size: cover; background-position: center top;
  background-repeat: no-repeat;
}
.figure.photo-real::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(19,19,17,0.05) 0%, rgba(19,19,17,0.55) 100%);
}
.figure.photo-real .cap, .figure.photo-real .tag {
  color: rgba(232,228,220,0.88); z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
}

.photo {
  position: relative; overflow: hidden; width: 100%; height: 100%;
  background: #1E1E1A;
}
.photo.bone { background: var(--bone2); }
.photo .stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 10px, rgba(232,228,220,0.04) 10px 11px);
}
.photo.bone .stripes {
  background-image: repeating-linear-gradient(45deg, transparent 0 10px, rgba(14,14,12,0.05) 10px 11px);
}
.photo .row {
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: rgba(232,228,220,0.45);
}
.photo.bone .row { color: rgba(14,14,12,0.48); }
.photo.photo-real {
  background-size: cover; background-position: center top;
  background-repeat: no-repeat;
}
.photo.photo-real::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(19,19,17,0) 40%, rgba(19,19,17,0.6) 100%);
}
.photo.photo-real .row {
  color: rgba(232,228,220,0.92); z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* --- section head primitive --- */

.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 56px; gap: 48px;
}
.section-head h2 {
  margin: 20px 0 0; font-family: var(--display); font-weight: 800;
  font-size: 76px; line-height: 0.95; letter-spacing: -0.025em;
  text-transform: uppercase; color: var(--bone); max-width: 900px;
}
.section-head h2 .signal { color: var(--signal); }
.section-head .rhs {
  max-width: 380px; font-size: 15px; line-height: 1.55;
  color: rgba(232,228,220,0.72);
}
.on-bone .section-head h2 { color: var(--ink); }
.on-bone .section-head .rhs { color: rgba(14,14,12,0.72); }

/* --- global footer --- */

.site-footer { background: var(--ink); color: var(--bone); border-top: 1px solid var(--line); }
.site-footer-inner { max-width: 1440px; margin: 0 auto; padding: 70px 48px 40px; }
.site-footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; }
.site-footer-about { margin-top: 20px; font-size: 14px; line-height: 1.55; color: rgba(232,228,220,0.6); max-width: 340px; }
.site-footer h4 {
  margin: 0; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; color: rgba(232,228,220,0.5);
  font-weight: 500; text-transform: uppercase;
}
.site-footer ul { margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer li { font-size: 14px; color: rgba(232,228,220,0.82); }
.site-footer li a:hover { color: var(--signal); }
.site-footer-base {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: rgba(232,228,220,0.45); text-transform: uppercase;
}

/* --- legal/policy page primitive --- */

.legal-page {
  max-width: 800px; margin: 0 auto; padding: 80px 48px 120px;
  color: var(--bone); font-size: 15px; line-height: 1.7;
}
.legal-page a.back {
  display: inline-block; margin-bottom: 40px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--signal);
}
.legal-page h1 {
  font-family: var(--display); font-weight: 800; font-size: 56px;
  line-height: 0.95; letter-spacing: -0.025em; text-transform: uppercase;
  color: var(--bone); margin: 0 0 8px;
}
.legal-page .subtitle {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: rgba(232,228,220,0.55); margin-bottom: 32px; text-transform: uppercase;
}
.legal-page .updated {
  border: 1px solid var(--line); padding: 12px 16px; margin-bottom: 48px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: rgba(232,228,220,0.65); text-transform: uppercase;
}
.legal-page h2 {
  font-family: var(--display); font-weight: 700; font-size: 24px;
  letter-spacing: -0.01em; color: var(--bone);
  margin: 56px 0 16px; padding-top: 32px; border-top: 1px solid var(--line);
}
.legal-page h3 {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  color: var(--bone); margin: 28px 0 10px;
}
.legal-page p, .legal-page li {
  font-size: 15px; color: rgba(232,228,220,0.82); margin-bottom: 12px;
}
.legal-page ul, .legal-page ol { padding-left: 24px; margin-bottom: 16px; }
.legal-page table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
  font-family: var(--mono); font-size: 12px;
}
.legal-page th, .legal-page td {
  text-align: left; padding: 10px 14px;
  border: 1px solid var(--line); color: rgba(232,228,220,0.82);
}
.legal-page th {
  background: var(--graphite2); color: var(--bone);
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px;
}
.legal-page a { color: var(--signal); }
.legal-page a:hover { text-decoration: underline; }
.legal-page code {
  font-family: var(--mono); background: var(--graphite2);
  padding: 2px 6px; font-size: 12px; color: var(--bone);
}
.legal-page strong { color: var(--bone); font-weight: 600; }

/* --- mobile fallback --- */

@media (max-width: 900px) {
  .nav-inner { padding: 16px 20px; }
  .nav-links { display: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head h2 { font-size: 44px; }

  .site-footer-inner { padding: 48px 20px 28px; }
  .site-footer-cols { grid-template-columns: 1fr !important; }
  .site-footer-base { flex-direction: column; }

  .legal-page { padding: 48px 20px 72px; }
  .legal-page h1 { font-size: 36px; }
  .legal-page table { font-size: 11px; }
  .legal-page th, .legal-page td { padding: 8px 10px; }
}
