/* Josh & Jen Team — bold editorial theme */
:root {
  --ink: #111111;
  --paper: #f4f0e8;
  --paper-2: #e9e3d6;
  --accent: #d6411e;      /* vermilion */
  --accent-ink: #ffffff;
  --muted: #5b564d;
  --rule: #111111;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }

/* Placeholder content still to be filled in before launch */
.todo { background: #fff3a8; outline: 1px dashed #b39b00; padding: 0 4px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 3px solid var(--rule); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.brand {
  font-family: var(--serif); font-weight: 800; font-size: 26px; letter-spacing: -0.02em;
  text-decoration: none; line-height: 1;
}
.brand span { color: var(--accent); }
.nav { display: flex; gap: clamp(14px, 3vw, 32px); flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.nav a[aria-current="page"] { border-bottom: 3px solid var(--accent); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(48px, 9vw, 128px); font-weight: 800; }
h2 { font-size: clamp(34px, 5.5vw, 72px); font-weight: 800; }
h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.kicker {
  font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.lede { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; max-width: 34ch; margin: 28px 0 0; }
em.mark { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 1.6em 0 0.5em; }
.prose h3 { margin: 1.4em 0 0.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 9vw, 120px) 0; }
.rule-top { border-top: 3px solid var(--rule); }
.hero { padding-top: clamp(48px, 8vw, 104px); }
.hero h1 { max-width: 12ch; }
.dark { background: var(--ink); color: var(--paper); }
.dark .kicker { color: #ff7a59; }
.dark a:hover { color: #ff7a59; }
.tint { background: var(--paper-2); }

/* Choice grid */
.choices {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 3px solid var(--rule); margin-top: clamp(40px, 6vw, 72px);
}
.choice {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 28px 24px 24px; min-height: 230px;
  text-decoration: none; border-right: 3px solid var(--rule);
  transition: background 0.15s ease, color 0.15s ease;
}
.choice:last-child { border-right: 0; }
.choice:hover, .choice:focus-visible { background: var(--accent); color: var(--accent-ink); }
.choice .num { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.choice .label { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.choice .sub { font-size: 15px; line-height: 1.4; }
.choice .arrow { font-size: 28px; line-height: 1; }

/* Two-column feature */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid currentColor; padding: 22px 0 22px 72px; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 18px;
  font-family: var(--serif); font-size: 36px; font-weight: 800; color: var(--accent); line-height: 1;
}
.dark .steps li::before { color: #ff7a59; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; }

/* Path cards */
.paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 3px solid var(--rule); margin-top: 48px; }
.path { padding: 36px 32px 36px 0; border-bottom: 2px solid var(--rule); }
.path:nth-child(odd) { border-right: 2px solid var(--rule); }
.path:nth-child(even) { padding-left: 32px; padding-right: 0; }
.path h3 { margin-bottom: 12px; }
.path p:last-child { margin-bottom: 0; }

/* Pull quote */
.pull { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 60px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; max-width: 22ch; margin: 0; }
.pull::before { content: "\201C"; color: var(--accent); }
.pull::after { content: "\201D"; color: var(--accent); }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 5vw, 64px); margin-top: 56px; }
.person .portrait {
  aspect-ratio: 4 / 5; background: var(--ink); color: var(--paper);
  display: flex; align-items: flex-end; padding: 24px;
  font-family: var(--serif); font-size: clamp(64px, 10vw, 140px); font-weight: 800; line-height: 0.85; letter-spacing: -0.05em;
  margin-bottom: 24px;
}
.person:nth-child(2) .portrait { background: var(--accent); }
.person .role { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 8px 0 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; border-top: 3px solid currentColor; margin-top: 48px; }
.contact-grid > div { padding: 28px 24px 8px 0; }
.contact-grid > div + div { border-left: 2px solid currentColor; padding-left: 24px; }
.contact-grid .label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; margin-bottom: 8px; }
.contact-grid .value { font-family: var(--serif); font-size: clamp(20px, 2.1vw, 28px); font-weight: 700; line-height: 1.2; overflow-wrap: break-word; }
.contact-grid .value a { text-decoration: none; border-bottom: 3px solid #ff7a59; }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 18px 28px; text-decoration: none; border: 3px solid var(--accent);
}
.btn:hover { background: transparent; color: inherit; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dark .btn.ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

.note { font-size: 15px; color: var(--muted); max-width: 70ch; }
.dark .note { color: #bdb6a8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 56px 0 40px; font-size: 15px; line-height: 1.55; }
.site-footer .top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid #3a3a3a; }
.site-footer .brand { font-size: 30px; display: inline-block; margin-bottom: 12px; }
.site-footer h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 12px; color: #bdb6a8; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #ff7a59; }
.legal { padding-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; color: #bdb6a8; }
.legal p { margin: 0 0 8px; }
.eho { width: 56px; height: 56px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .choices { grid-template-columns: repeat(2, 1fr); }
  .choice:nth-child(2) { border-right: 0; }
  .choice:nth-child(-n+2) { border-bottom: 3px solid var(--rule); }
  .split { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .site-footer .top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .choices { grid-template-columns: 1fr; }
  .choice { border-right: 0; border-bottom: 3px solid var(--rule); min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 20px; }
  .choice:last-child { border-bottom: 0; }
  .choice .sub, .choice .num { display: none; }
  .paths, .team, .contact-grid { grid-template-columns: 1fr; }
  .path, .path:nth-child(even) { padding: 28px 0; border-right: 0; }
  .contact-grid > div + div { border-left: 0; border-top: 2px solid currentColor; padding-left: 0; }
  .site-footer .top { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
