/* Rally & Rosette — taken from the logo.
   Warm paper, deep pine ink, a marigold rosette and the greens of the hills.
   Clean and modern: generous space, rounded cards, one clear action per section.
   Edit here, never in a page. */

:root{
  --paper:#FDF8EE;      /* the logo's ground */
  --sand:#F6EEDC;       /* alternate sections */
  --card:#FFFFFF;
  --ink:#063132;        /* the wordmark and the pin outline */
  --text:#21403E;       /* body copy */
  --muted:#4E6763;      /* secondary copy, 5.9:1 on paper */
  --pine:#2D7C64;       /* the road through the hills */
  --pine-ink:#21614D;   /* the same green, deep enough for small text on sand */
  --teal:#42AC95;       /* the near hill */
  --gold:#F4B11F;       /* the rosette and the ampersand */
  --gold-dk:#E09E0A;
  --gold-soft:#FCEBC0;
  --line:rgba(6,49,50,.12);
  --line-2:rgba(6,49,50,.2);
  --focus:#2D7C64;
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 1px 2px rgba(0,0,0,.05), 0 8px 24px -14px rgba(0,0,0,.14);
  --display:'Fraunces',Georgia,serif;
  --body:'Hanken Grotesk',system-ui,sans-serif;
  color-scheme:light;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:84px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--text);font:400 17px/1.65 var(--body)}
img,svg{display:block;max-width:100%}
a{color:var(--pine-ink);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--ink)}
[hidden]{display:none!important}
::selection{background:var(--gold-soft);color:var(--ink)}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:4px}

/* the inline axis belongs to .wrap, the block axis to section — never the `padding` shorthand */
.wrap{width:min(1160px,100%);margin:0 auto;padding-inline:20px}
section{padding-block:clamp(56px,8vw,104px)}
section.tint{background:var(--sand)}

h1,h2,h3{font-family:var(--display);color:var(--ink);margin:0;font-weight:600;
  letter-spacing:-.015em;text-wrap:balance;font-variation-settings:"SOFT" 50}
h1{font-size:clamp(40px,6.4vw,76px);line-height:1.02}
h2{font-size:clamp(30px,4.2vw,48px);line-height:1.08}
h3{font-size:clamp(20px,2vw,23px);line-height:1.25}
p{margin:0;max-width:66ch}
.lede{font-size:clamp(18px,1.9vw,21px);line-height:1.55;color:var(--muted)}
.small{font-size:15px;line-height:1.6}
.muted{color:var(--muted)}
.amp{color:var(--gold)}
.stack{display:flex;flex-direction:column;gap:16px}
.row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.section-head{display:grid;gap:14px;margin-bottom:clamp(32px,4vw,52px);max-width:720px}
.tag{display:inline-flex;align-items:center;gap:10px;font:600 13px/1 var(--body);letter-spacing:.16em;
  text-transform:uppercase;color:var(--pine-ink)}
.tag::before,.tag::after{content:"";width:22px;height:2px;background:var(--gold);border-radius:2px}

/* ---- header ---- */
.site-head{position:sticky;top:0;z-index:50;background:rgba(253,248,238,.9);
  backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid var(--line)}
.site-head .wrap{display:flex;align-items:center;gap:24px;min-height:72px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);margin-right:auto}
.logo img{width:38px;height:auto}
.logo span{font:600 21px/1 var(--display);letter-spacing:-.01em;font-variation-settings:"SOFT" 50}
.nav{display:flex;gap:26px}
.nav a{font:500 15.5px var(--body);color:var(--text);text-decoration:none}
.nav a:hover,.nav a[aria-current="page"]{color:var(--pine)}
@media(max-width:860px){.nav{display:none}}

/* ---- buttons ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 24px;
  border-radius:999px;border:0;background:var(--gold);color:var(--ink);font:700 16.5px/1 var(--body);
  text-decoration:none;cursor:pointer;transition:background .15s ease}
.btn:hover{background:var(--gold-dk);color:var(--ink)}
.btn svg{width:18px;height:18px}
.btn.line{background:transparent;box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn.line:hover{background:var(--ink);color:var(--paper)}
.btn.small{min-height:42px;padding:10px 18px;font-size:15px}
.btn.dark{background:var(--ink);color:var(--paper)}
.btn.dark:hover{background:#0B4A47;color:var(--paper)}

/* ---- hero ---- */
.hero{padding-block:clamp(40px,6vw,80px) clamp(56px,8vw,104px)}
.hero .wrap{display:grid;gap:clamp(40px,6vw,72px);align-items:center}
@media(min-width:960px){.hero .wrap{grid-template-columns:1.1fr .9fr}}
.hero-copy{display:grid;gap:24px;justify-items:start}
.hero-copy .lede{max-width:46ch}
.hero-note{font-size:15px;color:var(--muted);display:flex;gap:10px;align-items:center}
.hero-note img{width:22px}

/* the judge app, shown as it is on a phone */
.phone{justify-self:center;width:min(340px,100%);background:var(--ink);border-radius:44px;padding:12px;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.4)}
.screen{background:var(--paper);border-radius:34px;padding:22px 18px 20px;display:grid;gap:14px}
.screen .bar{display:flex;align-items:center;gap:8px;font:600 13px var(--body);color:var(--ink)}
.screen .bar img{width:22px}
.screen .bar b{margin-left:auto;font:600 12px var(--body);color:var(--pine-ink);background:#E3F2EC;padding:6px 11px;border-radius:999px}
.screen .title{margin:4px 0 0;max-width:none;font:600 25px/1.1 var(--display);color:var(--ink)}
.screen .sub{font-size:14px;color:var(--muted);margin-top:-8px}
.screen .unlocked{display:flex;gap:8px;align-items:center;font-size:13.5px;color:var(--pine);font-weight:600}
.screen .unlocked svg{width:16px;height:16px}
.scale{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}
.scale span{display:grid;place-items:center;height:44px;border-radius:10px;background:var(--card);
  box-shadow:inset 0 0 0 1px var(--line-2);font:700 16px var(--body);color:var(--ink)}
.scale span.on{background:var(--gold);box-shadow:none}
.screen .go{display:grid;place-items:center;height:48px;border-radius:999px;background:var(--gold);
  font:700 15px var(--body);color:var(--ink)}
.screen .fine{font-size:12.5px;color:var(--muted);text-align:center}

/* ---- cards ---- */
.cards{display:grid;gap:20px}
@media(min-width:760px){.cards.three{grid-template-columns:repeat(3,1fr)}.cards.four{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.cards.four{grid-template-columns:repeat(4,1fr)}}
.card{background:var(--card);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);
  display:flex;flex-direction:column;gap:12px}
.card .icon{width:52px;height:52px;border-radius:14px;background:#E3F2EC;color:var(--pine);display:grid;place-items:center;margin-bottom:6px}
.card .icon svg{width:32px;height:32px}
.card .kind{font:600 13px var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--pine-ink)}
.card p{color:var(--muted);font-size:16px}
.card .more{margin-top:auto;padding-top:8px;display:inline-flex;gap:8px;align-items:center;font-weight:700;color:var(--ink);text-decoration:none}
.card .more svg{width:16px;height:16px;color:var(--gold-dk)}
.card .more:hover{color:var(--pine)}
.card .soon{margin-top:auto;padding-top:8px;font-size:14px;color:var(--muted)}

/* ---- steps ---- */
.steps{display:grid;gap:20px;counter-reset:step}
@media(min-width:760px){.steps{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.steps{grid-template-columns:repeat(4,1fr)}}
.step{display:grid;gap:10px;align-content:start;padding-top:22px;border-top:2px solid var(--ink)}
.step .n{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:var(--gold);
  font:600 24px/1 var(--display);color:var(--ink);font-variation-settings:"SOFT" 100;margin-bottom:6px}
.step p{color:var(--muted);font-size:16px}

/* ---- the rules ---- */
.split{display:grid;gap:clamp(32px,5vw,64px)}
@media(min-width:1120px){.split{grid-template-columns:.8fr 1.2fr;align-items:start}}
.split .section-head{margin-bottom:0}
@media(min-width:1120px){.split .section-head{position:sticky;top:110px}}
.rules{display:grid;gap:14px}
@media(min-width:640px){.rules{grid-template-columns:1fr 1fr}}
.rule{background:var(--card);border-radius:var(--radius-sm);padding:20px 22px;box-shadow:var(--shadow);display:grid;gap:6px}
.rule h3{font-size:19px;display:flex;gap:10px;align-items:flex-start}
.rule h3 svg{flex:none;width:22px;height:22px;color:var(--pine);margin-top:2px}
.rule .fig{font:700 13px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--pine-ink)}
.rule p{font-size:15.5px;color:var(--muted)}

/* ---- the first competition ---- */
.feature{display:grid;gap:clamp(32px,5vw,56px);align-items:center}
@media(min-width:900px){.feature{grid-template-columns:1fr 1fr}}
.map{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.map figcaption{display:flex;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid var(--line);
  font:600 13px var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}

/* ---- who ---- */
.who{display:grid;gap:12px}
.who h3{font-size:20px}

/* ---- call to action ---- */
.cta{background:var(--ink);color:#E6EEEA;border-radius:28px;padding:clamp(36px,6vw,72px);
  display:grid;gap:28px;align-items:center;position:relative;overflow:hidden}
@media(min-width:900px){.cta{grid-template-columns:1.3fr .7fr}}
.cta h2{color:var(--paper)}
.cta .lede{color:#C5D6D0}
.cta .actions{display:grid;gap:12px;justify-items:start}
.cta .small{color:#C5D6D0}
.cta a:not(.btn){color:var(--gold)}

/* ---- footer ---- */
.site-foot{border-top:1px solid var(--line);padding-block:44px 56px}
.site-foot .wrap{display:grid;gap:28px}
@media(min-width:760px){.site-foot .wrap{grid-template-columns:1fr auto;align-items:end}}
.site-foot .logo span{font-size:19px}
.site-foot p{color:var(--muted);font-size:15px}
.foot-links{display:flex;gap:22px;flex-wrap:wrap;font-size:15px}
.foot-links a{color:var(--text);text-decoration:none}
.foot-links a:hover{color:var(--pine);text-decoration:underline}

/* ---- inner pages ---- */
.page-hero .wrap{display:grid;gap:clamp(40px,6vw,72px);align-items:center}
@media(min-width:960px){.page-hero .wrap{grid-template-columns:1.15fr .85fr}}
.steps.six{grid-template-columns:1fr}
@media(min-width:760px){.steps.six{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.steps.six{grid-template-columns:repeat(3,1fr)}}

/* the result card: what the town is waiting for */
.reveal{justify-self:center;width:min(380px,100%);background:var(--card);border-radius:24px;box-shadow:var(--shadow);
  padding:30px 28px;display:grid;gap:16px;text-align:center}
.reveal .rosette{width:64px;justify-self:center}
.reveal .what{font:600 26px/1.1 var(--display);color:var(--ink)}
.reveal .where{font:600 13px var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--pine-ink)}
.reveal .slot{display:grid;gap:6px;padding:18px;border-radius:14px;background:var(--sand)}
.reveal .slot span{font:600 12px var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.reveal .slot b{font:600 22px var(--display);color:var(--ink);letter-spacing:.2em}
.reveal .options{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.reveal .options span{font:600 13px var(--body);padding:7px 12px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line-2);color:var(--text)}
.reveal .options span.on{background:var(--ink);color:var(--paper);box-shadow:none}

/* a comparison that argues with facts */
.compare{width:100%;border-collapse:separate;border-spacing:0;font-size:16px}
/* the rounding lives on the cells, so the caption above isn't clipped by it */
.compare th,.compare td{background:var(--card)}
.compare thead th:first-child{border-top-left-radius:var(--radius)}.compare thead th:last-child{border-top-right-radius:var(--radius)}
.compare tr:last-child td:first-child{border-bottom-left-radius:var(--radius)}.compare tr:last-child td:last-child{border-bottom-right-radius:var(--radius)}
.compare caption{text-align:left;font:600 13px var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--pine-ink);padding-bottom:12px}
.compare th,.compare td{text-align:left;padding:16px 20px;border-bottom:1px solid var(--line)}
.compare th{font:600 13px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);background:#FBF6EA!important}
.compare tr:last-child td{border-bottom:0}
.compare td:last-child{font-weight:700;white-space:nowrap}
.compare .no{color:#9A3B1E}
.compare tr.yes td{background:#EEF7F2;color:var(--ink)}
.compare tr.yes .ok{color:var(--pine-ink)}
.compare .mark{display:inline-flex;align-items:center;gap:8px}
.compare .mark svg{width:18px;height:18px}

/* icon cards: a smaller icon for long lists */
.cards .card.compact{padding:24px;gap:8px}
.cards .card.compact .icon{width:44px;height:44px;border-radius:12px}
.cards .card.compact .icon svg{width:26px;height:26px}

/* questions people ask */
.faq{display:grid;gap:18px}
@media(min-width:820px){.faq{grid-template-columns:1fr 1fr}}
.faq > div{background:var(--card);border-radius:var(--radius-sm);padding:24px 26px;box-shadow:var(--shadow);display:grid;gap:8px}
.faq p{color:var(--muted);font-size:16px}

/* long-form reading (privacy) */
.prose{display:grid;gap:clamp(36px,5vw,52px);max-width:760px}
.prose section{padding-block:0;display:grid;gap:12px}
.prose h2{font-size:clamp(24px,3vw,32px)}
.prose ul{margin:0;padding-left:22px;display:grid;gap:8px;max-width:66ch}
.prose li::marker{color:var(--gold-dk)}

/* ---- a strip of plain facts ---- */
.facts{display:grid;gap:14px;grid-template-columns:repeat(2,1fr)}
@media(min-width:860px){.facts{grid-template-columns:repeat(4,1fr)}}
.facts div{background:var(--card);border-radius:var(--radius-sm);padding:18px 20px;box-shadow:var(--shadow);display:grid;gap:4px}
.facts span{font:600 13px var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--pine-ink)}
.facts b{font:600 22px/1.2 var(--display);color:var(--ink);font-variation-settings:"SOFT" 50}

/* ---- a ruled list of venues ---- */
.lineup{display:grid;gap:0;background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:6px 22px}
.lineup li{list-style:none;display:grid;grid-template-columns:34px 1fr;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.lineup li:last-child{border-bottom:0}
.lineup .n{width:30px;height:30px;border-radius:50%;background:var(--gold);display:grid;place-items:center;font:700 14px var(--body);color:var(--ink)}
.lineup b{font:600 19px/1.25 var(--display);color:var(--ink);font-variation-settings:"SOFT" 50}
.lineup p{font-size:15.5px;color:var(--muted)}
.lineup ol{margin:0;padding:0}

/* ---- a timetable ---- */
.timeline{display:grid;gap:0;max-width:760px}
.timeline div{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:18px 0;border-top:1px solid var(--line)}
.timeline div:last-child{border-bottom:1px solid var(--line)}
.timeline span{font:700 14px var(--body);color:var(--pine-ink);letter-spacing:.04em;text-transform:uppercase}
@media(max-width:560px){.timeline div{grid-template-columns:1fr;gap:4px}}
