/* The Room — shared styles. Dark, one accent, system font, no libraries. */
:root {
  --bg: #0b0b0c;
  --bg2: #121214;
  --line: rgba(255,255,255,.1);
  --text: #f2f0eb;
  --muted: #9a9893;
  --accent: #e4b04a;
  --accent-ink: #1a1203;
  --edge: rgba(255,255,255,.06);      /* light catching the top of a card */
  --glass: rgba(11,11,12,.72);        /* translucent chrome (sticky bar, VSL badge) */
  --glass-solid: #0b0b0c;
  --placeholder: #78766f;            /* 4.6:1 on --bg2 */
  --photo: #1c1b19;
  --error: #ff8a7a;
  --radius: 12px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; caret-color: var(--accent); accent-color: var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }  /* these carry their own ring */
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 20px; }
section, header, footer { padding: 48px 0; }
header.hero { padding-top: 40px; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
h1, h2, h3 { margin: 0; font-weight: 700; font-optical-sizing: auto; }
h1, h2 { font-family: var(--display); font-weight: 600; font-variation-settings: "SOFT" 30; }
/* tracking + leading are size-specific: tighter as type grows, open at body size */
h1 { font-size: clamp(32px, 7.4vw, 48px); line-height: 1.04; letter-spacing: -.018em; }
h2 { font-size: clamp(26px, 5.4vw, 33px); line-height: 1.1; letter-spacing: -.012em; margin-bottom: 20px; }
h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.005em; margin-bottom: 6px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; letter-spacing: .01em; }
.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.sub { font-size: 18px; color: var(--muted); margin-top: 16px; }
.lede { font-size: 19px; }
ul { padding-left: 20px; margin: 0 0 14px; }
li { margin-bottom: 8px; }
ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
ol.steps li { counter-increment: s; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
ol.steps li::before {
  content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 14px;
}
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 12px; box-shadow: inset 0 1px 0 var(--edge); }
.card p:last-child { margin-bottom: 0; }
.cols { display: grid; gap: 12px; }
@media (min-width: 560px) { .cols { grid-template-columns: 1fr 1fr; } }
.cols .card h3 { color: var(--accent); }
.cols .card.no h3 { color: var(--muted); }
.cols .card ul { padding-left: 18px; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px 22px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; font-size: 17px;
  text-decoration: none; transition: transform .1s var(--ease-out), opacity .12s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: scale(.97); }  /* feedback on press, not on release */
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-sub { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* video */
.vsl { position: relative; margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.vsl-embed { position: relative; padding-top: 56.25%; }  /* 16:9 — change to 177.78% for a vertical cut */
.vsl-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.vsl-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3; pointer-events: none;
  display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--line);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transition: opacity .5s ease .6s;
}
.vsl-badge.on { opacity: 1; }
.vsl-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.vsl-overlay {
  position: absolute; inset: 0; z-index: 4; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(11,11,12,.15), rgba(11,11,12,.55));
  transition: opacity .45s ease;
}
.vsl-overlay.hide { opacity: 0; pointer-events: none; }
.vsl-ovl-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 0 20px; }
.vsl-ovl-title { font-weight: 700; color: #fff; font-size: clamp(17px, 2.6vw, 22px); text-shadow: 0 2px 18px rgba(0,0,0,.65); }
.vsl-ovl-sub {
  display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 100px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px;
  transition: transform .1s var(--ease-out);
}
.vsl-overlay:active .vsl-ovl-sub { transform: scale(.97); }
.caption { margin-top: 12px; font-size: 14px; letter-spacing: .01em; color: var(--muted); }

/* forms */
form { margin-top: 24px; }
.field { margin-bottom: 18px; }
.row2 { display: grid; gap: 12px; }
@media (min-width: 480px) { .row2 { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--text); font: inherit; font-size: 16px;
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
.radios { display: flex; gap: 10px; }
.radios label {
  flex: 1; margin: 0; padding: 13px; text-align: center; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg2); font-weight: 600;
}
.radios input { position: absolute; opacity: 0; pointer-events: none; }
.radios input:checked + span { color: var(--accent); }
.radios label:has(input:checked) { border-color: var(--accent); }
.radios label { transition: transform .1s var(--ease-out), border-color .15s ease; -webkit-tap-highlight-color: transparent; }
.radios label:active { transform: scale(.97); }
.error { display: none; color: var(--error); font-size: 14px; margin: -8px 0 14px; }
.error.show { display: block; }
.success { display: none; padding: 22px; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--bg2); }
.success.show { display: block; }
.hidden { display: none !important; }

/* faq */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px;
  background: linear-gradient(var(--accent), var(--accent)) center / 14px 1.5px no-repeat,
              linear-gradient(var(--accent), var(--accent)) center / 1.5px 14px no-repeat;
  transition: transform .2s var(--ease-out);
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; color: var(--muted); }

/* details block (invite) */
.kv { display: grid; grid-template-columns: 80px 1fr; gap: 10px 14px; margin: 24px 0; }
.kv b { color: var(--accent); }

footer { border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; padding: 28px 0 40px; }
footer a { color: var(--muted); }

/* trust strip: six brands, one tone */
.trust { padding: 28px 0 36px; }
.trust-lede { margin: 0 0 18px; font-size: 13px; letter-spacing: .02em; color: var(--muted); text-align: center; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 36px; }
.logos li { display: flex; align-items: center; margin: 0; }
.logos img { display: block; width: auto; filter: grayscale(1) brightness(1.15); opacity: .8; }
.logos .wordmark { font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); opacity: .8; white-space: nowrap; }
/* NAR Partners lockup, same treatment as the Ray Lewis hub (bold NAR, gold stroke, tracked sub-line) */
.logos .nar { display: flex; flex-direction: column; align-items: center; line-height: 1; opacity: .8; }
.logos .nar-word { font-weight: 900; font-size: 30px; letter-spacing: .01em; color: var(--text); -webkit-text-stroke: 1px var(--accent); }
.logos .nar-sub { margin-top: 5px; font-size: 8px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 480px) { .logos { gap: 18px 26px; } .logos img { max-height: 32px; } }

/* the one authored moment: hero rises in once, top to bottom */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
/* gated on .js so a page without scripts still shows the hero */
.js .hero .eyebrow, .js .hero h1, .js .hero .sub, .js .hero .vsl, .js .hero .caption, .js .hero .cta { animation: rise .5s var(--ease-out) both; }
.hero h1 { animation-delay: 60ms; }
.hero .sub { animation-delay: 120ms; }
.hero .vsl { animation-delay: 180ms; }
.hero .caption { animation-delay: 240ms; }
.hero .cta { margin-top: 28px; animation-delay: 300ms; }

/* founders */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.founder { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: inset 0 1px 0 var(--edge); }
.founder .photo {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; margin-bottom: 14px;
  background: var(--photo); display: flex; align-items: center; justify-content: center;
}
.founder .photo::before { content: attr(data-initials); font-size: 40px; font-weight: 700; color: var(--accent); opacity: .6; }
.founder .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* photos wipe up into view once, when scrolled to; without JS they just show */
.founder .photo { transition: clip-path .6s var(--ease-in-out); }
.founder:nth-child(2) .photo { transition-delay: 80ms; }
body.reveal-ready .founder .photo:not([data-visible]) { clip-path: inset(0 0 100% 0); }
.founder h3 { font-size: 17px; }
.founder p { font-size: 15px; color: var(--muted); margin: 0; }
.founder .ig { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--accent); text-decoration: none; }
.founder .ig:hover { text-decoration: underline; }
@media (max-width: 420px) { .founders { grid-template-columns: 1fr; } .founder { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; } .founder .photo { margin: 0; grid-row: 1 / 3; } .founder h3 { grid-column: 2; } .founder p { grid-column: 2; } .founder .ig { grid-column: 2; } }

/* sticky apply bar: translucent material, content scrolls under it */
.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--line);
  transform: translateY(110%); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease-out), opacity .25s ease;
}
.stickycta.on { transform: translateY(0); opacity: 1; pointer-events: auto; }
.stickycta .btn { max-width: 640px; margin: 0 auto; }
body.has-sticky { padding-bottom: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero .eyebrow, .js .hero h1, .js .hero .sub, .js .hero .vsl, .js .hero .caption, .js .hero .cta { animation: fade .3s ease both; animation-delay: 0s; }
  body.reveal-ready .founder .photo:not([data-visible]) { clip-path: none; }
  .founder .photo { transition: none; }
  .btn:hover, .btn:active, .radios label:active, .vsl-overlay:active .vsl-ovl-sub { transform: none; }
  .stickycta { transform: none; transition: opacity .2s ease; }
  summary::after { transition: none; }
}
@media (prefers-reduced-transparency: reduce) { .stickycta { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { .card, .founder, .stickycta { border-color: rgba(255,255,255,.35); } }
