/* =====================================================================
   RAMCHUCK · v2
   Editorial direction. Less SaaS-template, more team-zine.
   Anton (display) + Fraunces (editorial italic) + Inter (body)
   ===================================================================== */

:root {
  /* Brand */
  --ice: #6BB6CE;
  --ice-light: #A8D8E8;
  --ice-deep: #4A98B0;
  --gunmetal: #0B131C;
  --gunmetal-2: #131D28;
  --gunmetal-3: #1A2532;
  --steel: #5A6B7C;
  --white: #FFFFFF;
  --off-white: #EDF1F6;
  --spark: #FF7A2A;

  /* Surfaces */
  --bg: var(--gunmetal);
  --bg-2: var(--gunmetal-2);
  --bg-3: var(--gunmetal-3);
  --text: #E5ECF3;
  --text-muted: #8C97A4;
  --text-faint: #56616F;
  --rule: rgba(168, 216, 232, 0.10);
  --rule-strong: rgba(168, 216, 232, 0.22);

  /* Type */
  --f-display: 'Anton', 'Impact', sans-serif;
  --f-editorial: 'Fraunces', 'Times New Roman', serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Container */
  --max: 1180px;
  --max-prose: 680px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: clamp(0.98rem, 0.93rem + 0.2vw, 1.05rem);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* subtle paper grain */
  background-image:
    radial-gradient(1200px 700px at 80% -10%, rgba(107, 182, 206, 0.06), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(255, 122, 42, 0.025), transparent 60%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
::selection { background: var(--ice); color: var(--gunmetal); }

/* ===== Universal headings ===== */
em {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ice);
}
.h2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 1.4rem + 3.5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--white);
  max-width: 18ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.h2 em {
  font-size: 1.02em;
  letter-spacing: -0.02em;
}
.h2--tight { max-width: 14ch; }

.bot-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 1.5rem;
}
.eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--ice);
  display: inline-block;
}
.eyebrow-text { padding-top: 1px; }

/* ===== Rule ===== */
.rule {
  border: 0;
  height: 1px;
  background: var(--rule);
  max-width: var(--max);
  margin: clamp(3rem, 6vw, 5rem) auto;
  width: calc(100% - var(--gutter) * 2);
}

/* ===== HEADER ===== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 19, 28, 0.0);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: rgba(11, 19, 28, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--rule);
}
.hdr-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.hdr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}
.hdr-brand img { width: 32px; height: 32px; object-fit: contain; }
.hdr-nav {
  justify-self: center;
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
}
.hdr-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.18s ease;
  position: relative;
}
.hdr-nav a:hover { color: var(--white); }
.hdr-cta {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.6em 1.1em;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hdr-cta:hover {
  background: var(--ice);
  color: var(--gunmetal);
  border-color: var(--ice);
}
@media (max-width: 720px) {
  .hdr-nav { display: none; }
  .hdr-inner { grid-template-columns: 1fr auto; }
}

/* ===================== HERO ===================== */
.hero {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 7rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.hero-meta-aries {
  color: var(--ice);
  font-size: 1rem;
  letter-spacing: 0;
}
.hero-meta-sep {
  width: 18px;
  height: 1px;
  background: var(--text-faint);
}

.hero-h {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 1.5rem + 6vw, 7.5rem);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: -0.012em;
}
.hero-h-1 { display: block; color: var(--text); font-weight: 400; }
.hero-h-2 { display: block; color: var(--white); }
.hero-h-2 em {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 300;
  color: var(--ice);
  font-size: 1em;
  letter-spacing: -0.02em;
  padding-left: 0.08em;
  padding-right: 0.08em;
}
.hero-h-3 {
  display: block;
  color: var(--white);
}
.hero-h-3 em {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 300;
  color: var(--ice-light);
  font-size: 1.05em;
  letter-spacing: -0.03em;
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56ch;
}
@media (min-width: 900px) {
  .hero-body {
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 100%;
  }
}
.hero-lede {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 52ch;
}
.hero-by {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding-top: 0.6rem;
  border-top: 1px solid var(--rule);
}
.hero-by-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
}
.hero-by-names { color: var(--text); }

.hero-fig {
  margin-top: clamp(1rem, 3vw, 2rem);
  position: relative;
}
.hero-fig img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 80px -25px rgba(0,0,0,0.7);
}
.hero-fig figcaption {
  margin-top: 0.85rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-fig-num {
  color: var(--ice);
  letter-spacing: 0.08em;
}

/* ===================== BOT ===================== */
.bot {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.bot-prose {
  max-width: var(--max-prose);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.bot-prose p {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--text);
}
.bot-prose p em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--ice-light);
  font-weight: 400;
}

.bot-fig {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.bot-fig img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: var(--off-white);
}
.bot-fig figcaption {
  margin-top: 0.85rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  max-width: 60ch;
}

.bot-spec {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule-strong);
}
@media (min-width: 640px) { .bot-spec { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .bot-spec { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.bot-spec > div {
  padding: 1.2rem 1.3rem 1.2rem 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.bot-spec > div:last-child { border-right: 0; }
@media (min-width: 640px) and (max-width: 959.98px) {
  .bot-spec > div:nth-child(2n) { border-right: 0; }
}
@media (min-width: 960px) {
  .bot-spec > div:nth-child(4n) { border-right: 0; }
}
.bot-spec dt {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.45rem;
}
.bot-spec dd {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.45;
}
.bot-spec a { color: var(--ice); border-bottom: 1px dotted var(--rule-strong); }
.bot-spec a:hover { color: var(--ice-light); }

/* ===================== TEAM ===================== */
.team {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.team-lede {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 50ch;
}
.lineup {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
}
.lineup-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-areas:
    "pos name"
    "pos role"
    "pos note";
  gap: 0.2rem 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background 0.18s ease;
}
@media (min-width: 760px) {
  .lineup-row {
    grid-template-columns: 80px 220px 200px 1fr;
    grid-template-areas: "pos name role note";
    align-items: baseline;
    gap: 2rem;
    padding: 1.7rem 0;
  }
}
.lineup-row:hover { background: rgba(168, 216, 232, 0.02); }
.lineup-row--final { border-bottom: 1px solid var(--rule-strong); }

.lineup-pos {
  grid-area: pos;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  color: var(--ice);
  line-height: 1;
  letter-spacing: -0.01em;
}
.lineup-name {
  grid-area: name;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.2rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.005em;
}
.lineup-role {
  grid-area: role;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-light);
  padding-top: 0.4rem;
}
.lineup-note {
  grid-area: note;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  padding-top: 0.4rem;
  max-width: 50ch;
}
@media (min-width: 760px) {
  .lineup-role, .lineup-note { padding-top: 0.3rem; }
}

/* ===================== PLAN ===================== */
.plan {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.plan-lede {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 60ch;
}

.plan-timeline {
  margin-bottom: 2rem;
}
.plan-track {
  display: flex;
  align-items: center;
  gap: 0;
  height: 16px;
  max-width: 100%;
}
.plan-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--rule-strong);
}
.plan-dot--now {
  background: var(--ice);
  border-color: var(--ice);
  box-shadow: 0 0 0 5px rgba(107, 182, 206, 0.18);
}
.plan-dot--goal {
  background: transparent;
  border: 2px dashed var(--ice);
}
.plan-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--rule-strong), var(--rule));
}

.plan-stages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 800px) {
  .plan-stages { grid-template-columns: 1fr 1fr 1fr; }
}
.plan-stage {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
@media (min-width: 800px) {
  .plan-stage {
    border-bottom: 0;
    border-right: 1px solid var(--rule);
    padding: 0 2rem 0 0;
  }
  .plan-stage + .plan-stage { padding-left: 2rem; }
  .plan-stages > .plan-stage:last-child { border-right: 0; padding-right: 0; }
}
.plan-stage-tag {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.plan-stage--now .plan-stage-tag { color: var(--ice); }
.plan-stage--goal .plan-stage-tag { color: var(--ice-light); }
.plan-stage h3 {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.4rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.005em;
}
.plan-stage-weight {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ice);
  letter-spacing: -0.01em;
  margin-top: -0.2rem;
}
.plan-stage p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ===================== SPONSOR ===================== */
.sponsor {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.sponsor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .sponsor-grid {
    grid-template-columns: 1fr 1.8fr;
    gap: 4.5rem;
  }
}

.sponsor-side {
  position: sticky;
  top: 100px;
  padding-top: 0.3rem;
}
.sponsor-side-label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 1.5rem 0 0.5rem;
}
.sponsor-mail {
  display: inline-block;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem);
  color: var(--white);
  letter-spacing: -0.005em;
  border-bottom: 2px solid var(--ice);
  padding-bottom: 4px;
  transition: color 0.18s ease, border-color 0.18s ease;
  word-break: break-all;
}
.sponsor-mail:hover {
  color: var(--ice);
  border-color: var(--ice-light);
}
.sponsor-side-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 32ch;
}

.sponsor-letter {
  font-family: var(--f-editorial);
  font-weight: 300;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 56ch;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  letter-spacing: -0.005em;
}
.sponsor-greeting {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--ice-light);
  font-size: 1.1em;
}
.sponsor-letter p { font-feature-settings: "liga", "kern"; }
.sponsor-letter strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: normal;
  color: var(--white);
  letter-spacing: 0.01em;
}
.sponsor-signoff {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  letter-spacing: 0.01em;
}

/* ===================== FOLLOW ===================== */
.follow {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
}
.follow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
}
@media (min-width: 900px) {
  .follow-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
}
.follow-copy p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 48ch;
  margin-top: 1rem;
}

.follow-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--rule-strong);
  transition: border-color 0.18s ease;
}
.follow-input-wrap:focus-within { border-color: var(--ice); }
.follow-input-wrap input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  color: var(--white);
  padding: 0.85em 0;
  font-size: 1.1rem;
}
.follow-input-wrap input::placeholder { color: var(--text-faint); }
.follow-input-wrap button {
  background: transparent;
  border: 0;
  color: var(--ice);
  font-size: 1.4rem;
  padding: 0.5em 0.4em;
  line-height: 1;
  transition: transform 0.18s ease, color 0.18s ease;
}
.follow-input-wrap button:hover {
  color: var(--ice-light);
  transform: translateX(3px);
}
.follow-status {
  margin-top: 0.85rem;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ice-light);
  min-height: 1.2em;
}

/* ===================== FOOTER ===================== */
.ft {
  border-top: 1px solid var(--rule);
  padding: 2.5rem var(--gutter) 2.5rem;
  background: var(--gunmetal);
}
.ft-inner {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .ft-inner { grid-template-columns: 1fr auto; align-items: end; }
}
.ft-l { display: flex; align-items: center; gap: 1rem; }
.ft-l img { width: 48px; height: 48px; object-fit: contain; }
.ft-name {
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.ft-tag {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.ft-r {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  line-height: 1.7;
}
@media (min-width: 720px) { .ft-r { text-align: right; } }
.ft-r a {
  color: var(--ice);
  border-bottom: 1px dotted var(--rule-strong);
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
