/* REPPED. — reppedla.com
   Palette: cream #FAF5E9 · ink #17140F · deep green #12382A · sage #93AB9C
   Type: Cormorant Garamond (display) · Archivo (text) */

:root {
  --cream: #FAF5E9;
  --cream-raised: #FFFDF6;
  --ink: #17140F;
  /* Brand green. Darkened 2026-08-31 at Nate's call.
     PREVIOUS VALUE (to roll back, change this one line): #12382A */
  --green: #0C2A1E;
  --sage: #93AB9C;
  --sage-line: #4E6B58;
  --muted: #6B655A;
  --body: #524C40;
  --line: #E4DCC9;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--green); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; }

/* ---------- header ---------- */
header {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
}
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.tile {
  width: 34px; height: 34px; border-radius: 8px; background: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tile span {
  font-family: var(--serif); font-weight: 600; font-size: 21px;
  color: var(--cream); margin-top: -2px;
}
.locale {
  font-size: 11px; font-weight: 500; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
nav { display: flex; gap: clamp(18px, 3vw, 44px); align-items: center; flex-wrap: wrap; justify-content: flex-end; }
nav a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
nav a:hover { color: var(--green); }
nav a.invite { color: var(--green); border-bottom: 1px solid var(--green); padding-bottom: 2px; }
@media (max-width: 560px) {
  .locale { display: none; }
  nav a:not(.invite):not(.keep) { display: none; }
}

/* ---------- shared section bones ---------- */
section { padding: clamp(64px, 9vw, 104px) clamp(20px, 5vw, 72px); }
.centered { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--green);
}
.eyebrow.on-green { color: var(--sage); }
.rule-sm { width: 56px; height: 1px; background: var(--green); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero { gap: 34px; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(56px, 7vw, 96px); }
.wordmark {
  font-family: var(--serif); font-weight: 600; line-height: 1; letter-spacing: 0.04em;
  font-size: clamp(64px, 9vw, 128px);
}
.wordmark .dot { color: var(--green); }
.hero-line {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(28px, 3.2vw, 46px); line-height: 1.22; max-width: 900px;
  text-wrap: balance; margin: 0;
}
.hero-sub { font-size: 16px; max-width: 620px; color: var(--body); margin: 0; }
.btn {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  background: var(--green); color: var(--cream);
  padding: 18px 46px 17px; border: 0; cursor: pointer;
}
.btn:hover { background: #081F16; color: var(--cream); }

/* ---------- photo band ---------- */
.photo-band {
  width: 100%; height: clamp(260px, 34vw, 480px); position: relative;
  background: url('/assets/hero.jpg');
  background-size: cover; background-position: center;
  filter: grayscale(1);
}
.photo-band .credit {
  position: absolute; bottom: 22px; left: clamp(20px, 5vw, 72px);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cream); opacity: 0.65;
}

/* ---------- the engine ---------- */
.engine-list { width: 100%; max-width: 880px; margin-top: 44px; }
.engine-row { padding: 30px 0; border-bottom: 1px solid var(--line); text-align: left; }
.engine-row:last-child { border-bottom: 0; }
.engine-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px 24px; flex-wrap: wrap; margin-bottom: 12px;
}
.engine-head h3 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15; margin: 0;
}
.engine-plats {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.engine-row p { font-size: 15px; line-height: 1.65; max-width: 660px; color: var(--body); margin: 0; }

/* ---------- numbers ---------- */
.numbers { background: var(--green); color: var(--cream); gap: 44px; }
.stat-hero { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.stat-hero .n {
  font-family: var(--serif); font-weight: 600; line-height: 1;
  font-size: clamp(64px, 8vw, 112px); font-variant-numeric: tabular-nums;
}
.stat-hero .l {
  font-size: 11px; font-weight: 500; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--sage);
}
.stat-row { display: flex; gap: 24px clamp(36px, 6vw, 80px); align-items: baseline; flex-wrap: wrap; justify-content: center; }
.stat { display: flex; gap: 12px; align-items: baseline; }
.stat .n { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); }

/* ---------- statement ---------- */
.statement { gap: 20px; }
.statement h2 {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(30px, 3.4vw, 48px); line-height: 1.25; max-width: 880px;
  text-wrap: balance; margin: 0;
}

/* ---------- partners ---------- */
.partners { background: var(--green); color: var(--cream); gap: 38px; }
.partner-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px; width: 100%; max-width: 1080px;
}
@media (max-width: 900px) { .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.partner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.partner .name {
  font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.7vw, 23px);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream);
}
.partner .logo-slot {
  width: 52px; height: 52px; border: 1px dashed var(--sage-line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage);
}
.partner img { height: 32px; width: auto; max-width: 150px; object-fit: contain; opacity: 0.92; }

/* ---------- manager line ---------- */
.manager-line { gap: 14px; padding-bottom: clamp(40px, 5vw, 66px); }
.manager-line p {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; max-width: 820px;
  text-wrap: balance; margin: 0;
}
.text-link {
  font-size: 11px; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--green);
}

/* ---------- cta ---------- */
.cta { gap: 22px; padding-top: clamp(16px, 2vw, 26px); }
.cta h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 3vw, 40px); line-height: 1.3; max-width: 760px;
  text-wrap: balance; margin: 0;
}
.cta .note { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- footer ---------- */
footer {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  padding: 30px clamp(20px, 5vw, 72px) 44px;
  border-top: 1px solid var(--line);
}
footer .wm { font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
footer .meta { font-size: 12px; color: var(--muted); }
footer .meta a { color: var(--muted); }
footer .meta a:hover { color: var(--green); }

/* ---------- subpages ---------- */
.page-hero { gap: 26px; padding-bottom: clamp(40px, 5vw, 72px); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 5vw, 72px); line-height: 1.08; max-width: 960px;
  text-wrap: balance; margin: 0;
}
.page-hero .lede { font-size: 17px; color: var(--body); max-width: 640px; margin: 0; }
.beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; width: 100%; max-width: 1080px; margin-top: 20px; }
@media (max-width: 820px) { .beats { grid-template-columns: 1fr; } }
.beat { border-top: 2px solid var(--green); padding-top: 20px; text-align: left; }
.beat h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0 0 10px; }
.beat p { font-size: 15px; line-height: 1.65; color: var(--body); margin: 0; }

/* header tile: trailing period (hangs outside centering) */
.tile > span { position: relative; }
.tile-dot { position: absolute; font-style: normal; color: var(--sage); }

/* full-bleed bands on wide screens */
.photo-band, .numbers, .partners {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ---------- invite form ---------- */
.invite-form { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 18px; margin-top: 10px; text-align: left; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.field label .opt { text-transform: none; letter-spacing: 0.02em; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--cream-raised); border: 1px solid var(--line); border-radius: 0;
  padding: 13px 14px; width: 100%; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.invite-form .btn { width: 100%; }
.invite-form .btn:disabled { opacity: 0.6; cursor: default; }
.form-msg { font-size: 14px; color: #8C2F23; margin: 0; text-align: center; }
.form-done { font-family: var(--serif); font-style: italic; font-size: 22px; text-align: center; margin: 24px 0; }
.dm-block { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 10px; }
.dm-label { font-size: 14px; color: var(--muted); margin: 0; }
.dm-handle {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 500; color: var(--green);
  border-bottom: 1px solid var(--green); padding-bottom: 2px;
}
.dm-handle:hover { color: var(--ink); border-color: var(--ink); }
.dm-handle svg { flex-shrink: 0; }

/* mobile: platform names always on their own line, left-aligned */
@media (max-width: 700px) {
  .engine-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* invite form: hidden until summoned */
.invite-form[hidden] { display: none; }
.invite-form { animation: formIn 0.35s ease; }
@keyframes formIn { from { opacity: 0; transform: translateY(8px); } }
#open-invite { margin-top: 4px; }
