/* ══════════════════════════════════════════════════════════════════
   CLUB DUST — shared stylesheet
   Palette: Adobe & Paper (locked 2026-08-19)
   Edit colors here and every page updates.
   ══════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Fraunces"; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-var.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 100 900; font-display: swap; src: url("fonts/publicsans-var.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlowcond-600.woff2") format("woff2"); }

:root {
  --adobe: #A94F2B;
  --adobe-deep: #8C3F20;
  --ink: #2B211C;
  --paper: #FAF6EE;
  --card: #FFFDF8;
  --paper-deep: #F3EBDC;
  --muted: #5F5348;
  --line: #E4DAC8;
  --ink-soft: #C9BCAD; /* muted text on ink grounds */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--adobe); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.12; text-wrap: balance; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

.eyebrow {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; font-size: 15px;
  color: var(--adobe);
}

/* ── Header ─────────────────────────────────────────────────────── */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding: 20px 0;
}
/* LOGO PLACEHOLDER: when the final mark is chosen, the <a class="wordmark">
   gets an <img>/<svg> next to the text. Nothing else changes. */
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark .logo { height: 40px; width: auto; display: block; }
footer .wordmark .logo { height: 34px; }
@media (max-width: 600px) { .wordmark .logo { height: 32px; } footer .wordmark .logo { height: 30px; } }
nav.main { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
nav.main a {
  color: var(--ink); text-decoration: none; font-size: 16.5px; font-weight: 400;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
nav.main a:hover { border-bottom-color: var(--adobe); }
nav.main a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--adobe); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--adobe); color: #FFFDF8; line-height: 1.2;
  font-family: "Public Sans", sans-serif; font-weight: 600; font-size: 16.5px;
  padding: 13px 26px; border-radius: 6px; text-decoration: none;
  transition: background 0.2s ease;
}
/* keep button styling when a .btn sits inside the nav (beats `nav.main a`) */
nav.main a.btn { color: #FFFDF8; font-weight: 600; padding-bottom: 13px; border-bottom: none; }
nav.main a.btn:hover { border-bottom: none; }
.btn:hover { background: var(--adobe-deep); }
.btn.big { font-size: 18px; padding: 15px 34px; }
.btn.ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.on-dark { background: var(--paper); color: var(--ink); }
.btn.on-dark:hover { background: #fff; }
@media (max-width: 960px) {
  .nav-row { justify-content: center; text-align: center; }
}

/* ── Sections ───────────────────────────────────────────────────── */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center h2 { font-size: 40px; }
@media (max-width: 600px) { .section-head.center h2 { font-size: 32px; } }
.section-head h2 { font-weight: 900; font-size: 34px; margin: 10px 0 16px; }
.section-head p { color: var(--muted); }
.on-deep { background: var(--paper-deep); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink .eyebrow { color: #E0A183; }
.on-ink p { color: var(--ink-soft); }

/* ── Rule / divider ─────────────────────────────────────────────── */
.rule-sm { width: 64px; height: 3px; background: var(--adobe); border: 0; border-radius: 2px; margin: 22px 0 26px; }
.rule-sm.center { margin-left: auto; margin-right: auto; }

/* ── Cards & grids ──────────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ── Photo helpers ──────────────────────────────────────────────── */
.ph { width: 100%; height: 100%; object-fit: cover; }
figure.captioned figcaption {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px;
  color: var(--muted); padding-top: 10px;
}

/* ── Newsletter band (shared) ───────────────────────────────────── */
.newsletter {
  background: var(--ink); color: var(--paper);
  padding: 72px 0; text-align: center;
}
.newsletter h2 { font-weight: 900; font-size: 32px; }
.newsletter p { color: var(--ink-soft); max-width: 520px; margin: 14px auto 28px; }

/* ── Footer ─────────────────────────────────────────────────────── */
footer.site {
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 56px 0 40px; font-size: 16px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr; } }
footer .tagline {
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 600;
  font-size: 22px; color: var(--ink); margin: 6px 0 10px;
}
footer .f-label {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px;
  color: var(--muted); margin-bottom: 10px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { color: var(--adobe); }
footer .legal { color: var(--muted); font-size: 14px; margin-top: 40px; }

/* ── Reveal animation ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Page hero (interior pages) ─────────────────────────────────── */
.page-hero { padding: 76px 0 56px; }
.page-hero h1 { font-weight: 900; font-size: clamp(38px, 5.5vw, 56px); margin: 12px 0 18px; }
.page-hero .lede { max-width: 660px; color: var(--muted); font-size: 19px; }

/* video embeds — click to play, so no third-party request until the visitor asks */
.video-frame { position: relative; aspect-ratio: 16/9; background: var(--ink); border-radius: 10px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer;
  background: none; display: block; width: 100%; height: 100%;
}
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.video-play::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,22,17,0.45), rgba(30,22,17,0.10));
  transition: background 0.25s ease;
}
.video-play:hover::after { background: linear-gradient(to top, rgba(30,22,17,0.55), rgba(30,22,17,0.18)); }
.video-play .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; background: var(--adobe);
  display: flex; align-items: center; justify-content: center; z-index: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}
.video-play:hover .play { transform: translate(-50%, -50%) scale(1.06); background: var(--adobe-deep); }
.video-play .play::before {
  content: ""; width: 0; height: 0; margin-left: 6px;
  border-left: 26px solid var(--paper);
  border-top: 16px solid transparent; border-bottom: 16px solid transparent;
}
.video-play:focus-visible { outline: 3px solid var(--adobe); outline-offset: 3px; }
@media (max-width: 600px) { .video-play .play { width: 64px; height: 64px; }
  .video-play .play::before { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; } }
