/* hometowndiscgolf.com — one stylesheet, no build step.
 *
 * Palette is the game's own, read out of its shaders and HUD: paper cream,
 * bark brown, terracotta, grass, water, gold. The look is stacked cut paper,
 * which is what the game draws, so the site reads as the same object.
 *
 * Light only, deliberately: paper IS the identity here. `background` is set
 * explicitly on body so a dark-mode browser does not fight it.
 */

:root {
  --paper:   #f4e6c3;  /* page */
  --card:    #fbf3df;  /* a sheet on top of the page */
  --line:    #e0cfa6;
  --ink:     #231c17;
  --ink-2:   #4a3323;
  --ink-3:   #6e5842;
  --bark:    #3a2a20;  /* footer, marks */
  --terra:   #b5532a;  /* links, accents */
  --terra-d: #8f3f1f;
  --grass:   #5e9e4a;
  --water:   #3f7c8c;
  --gold:    #e9a23b;

  --display: "Bowlby One", Georgia, serif;
  --label:   "Barlow Semi Condensed", system-ui, sans-serif;
  --body:    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, 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(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--terra); color: #fff; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

a { color: var(--terra-d); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }

.eyebrow {
  font-family: var(--label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---- header ------------------------------------------------------------ */

.site-top {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 230, 195, .92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 62px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { display: block; border-radius: 7px; }

.site-nav { display: flex; gap: 22px; font-family: var(--label); font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--terra-d); }

/* ---- hero -------------------------------------------------------------- */

.hero { padding: 72px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6.4vw, 60px); margin: 14px 0 0; }
.hero h1 .tint { color: var(--terra); }
.hero .sub { max-width: 54ch; margin: 20px auto 0; font-size: 19px; color: var(--ink-2); }
.hero .mark { width: 92px; height: 92px; margin: 0 auto; display: block; border-radius: 20px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--card);
  font-family: var(--label);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---- stacked-paper sections ------------------------------------------- */

.sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 0 var(--line), 0 10px 22px rgba(35, 28, 23, .07);
  padding: 34px 32px;
}

section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
section h2 { font-size: clamp(25px, 3.4vw, 34px); margin: 0 0 8px; }
section .lede { color: var(--ink-2); max-width: 62ch; margin: 0 0 28px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid h3 { font-size: 19px; margin: 0 0 8px; }
.grid p { margin: 0; color: var(--ink-2); font-size: 16px; }
.grid .k {
  font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--terra); display: block; margin-bottom: 12px;
}

/* three throw steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { list-style: none; }
.steps li::before {
  counter-increment: s; content: counter(s);
  font-family: var(--display); font-size: 22px; color: var(--terra);
  display: block; margin-bottom: 6px;
}
.steps b { display: block; font-family: var(--label); font-weight: 600; font-size: 17px; letter-spacing: .02em; }
.steps p { margin: 4px 0 0; color: var(--ink-2); font-size: 15.5px; }
.steps ol, .steps ul { margin: 0; padding: 0; }

/* ---- legal / doc pages ------------------------------------------------- */

.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin: 10px 0 0; }
.doc .updated { font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .05em; color: var(--ink-3); margin: 10px 0 0; }
.doc h2 {
  font-size: 21px; margin: 40px 0 10px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .lead-note {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--grass);
  border-radius: 8px; padding: 18px 20px; margin: 28px 0 0;
}
.doc .lead-note p { margin: 0; }
.doc .lead-note p + p { margin-top: 10px; }

.toc { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 18px 22px; margin: 28px 0 8px; }
.toc b { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { color: var(--ink-2); font-size: 15.5px; margin: 3px 0; break-inside: avoid; }

/* a plain key/value block, used on support */
.dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; }
.dl dt { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 5px; }
.dl dd { margin: 0; color: var(--ink-2); }

/* ---- footer ------------------------------------------------------------ */

.site-foot { background: var(--bark); color: #b8a68c; padding: 40px 0 32px; margin-top: 10px; }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-brand { font-family: var(--display); font-size: 19px; color: var(--paper); }
.foot-tag { font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8d7c64; margin-top: 6px; }
.foot-links { display: flex; gap: 18px; font-family: var(--label); font-weight: 600; font-size: 15px; }
.foot-links a { color: #cbb998; text-decoration: none; }
.foot-links a:hover { color: var(--paper); }
.foot-copy { font-size: 13.5px; color: #8d7c64; width: 100%; }

/* ---- responsive -------------------------------------------------------- */

@media (max-width: 760px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .sheet { padding: 26px 22px; }
  .site-nav { gap: 16px; font-size: 14.5px; }
  .brand { font-size: 15px; }
  body { font-size: 16.5px; }
}

/* Bowlby One is a wide display face: below this the wordmark cannot share a
   line with the nav, and wrapping it doubles the height of a sticky header.
   The mark carries the brand instead — the page title names it immediately. */
@media (max-width: 560px) {
  .brand span { display: none; }
  .site-top .wrap { height: 56px; }
}
