/*
  Tee Tours concept stylesheet.
  Radius system: buttons = pill, cards & images = 14px, inputs = 10px.
  One accent: Tee Tours red. Greens and bone are the neutral base.
*/
:root {
  --bone: #f3f1eb;
  --bone-deep: #eae7df;
  --ink: #1d2b22;
  --green-dark: #15291d;
  --green-mid: #23402f;
  --moss: #5b6b5e;
  --red: #c0273a;
  --red-deep: #a01f30;
  --line: #d9d5ca;
  --line-dark: rgba(255,255,255,.14);
  --display: "Cabinet Grotesk", "Avenir Next", "Trebuchet MS", sans-serif;
  --body: "General Sans", "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.015em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15.5px;
  border-radius: 999px; padding: 14px 28px; text-decoration: none;
  border: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.16,1,.3,1), background .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(192,39,58,.22); }
.btn-red:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-bone { background: var(--bone); color: var(--green-dark); }
.btn-bone:hover { background: #fff; transform: translateY(-1px); }

/* ---------- nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,241,235,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .logo { height: 46px; width: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink);
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--red); }
.nav .btn { padding: 11px 22px; font-size: 14.5px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s cubic-bezier(.16,1,.3,1), opacity .2s; margin: 0 auto; }
header.site.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.site.open .nav-toggle span:nth-child(2) { opacity: 0; }
header.site.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-join { display: none; }

/* ---------- sections & headings ---------- */
section { padding: 88px 0; }
.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--red); margin-bottom: 14px;
}
h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.section-sub { margin-top: 14px; color: var(--moss); max-width: 60ch; }

/* ---------- subpage header ---------- */
.page-head { padding: 64px 0 48px; }
.page-head h1 {
  font-size: clamp(36px, 4.6vw, 54px); font-weight: 800;
  line-height: 1.04; letter-spacing: -0.025em;
}
.page-head .sub { margin-top: 16px; font-size: 17.5px; color: var(--moss); max-width: 62ch; }

/* ---------- fixture cards ---------- */
.fixtures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fixture {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 26px 24px; display: flex; flex-direction: column;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s;
}
.fixture:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(29,43,34,.12); }
.fixture .date {
  font-family: var(--display); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--red);
  font-variant-numeric: tabular-nums;
}
.fixture h3 { font-size: 24px; font-weight: 800; margin-top: 10px; line-height: 1.15; }
.fixture .meta { margin-top: 6px; color: var(--moss); font-size: 15px; }
.fixture .foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.fixture .body { margin-bottom: 22px; }
.fixture .price { font-family: var(--display); font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; }
.fixture .price span { font-size: 13.5px; font-family: var(--body); font-weight: 500; color: var(--moss); }
.fixture .foot a { font-weight: 600; font-size: 14.5px; color: var(--red); text-decoration: none; white-space: nowrap; }
.fixture .foot a:hover { text-decoration: underline; }
.fixture .toprow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.soldout-badge {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--green-dark); color: #fff; border-radius: 999px; padding: 4px 12px;
}
.fixture.soldout { background: var(--bone-deep); }
.fixture.soldout .date, .fixture.soldout h3, .fixture.soldout .price { color: var(--moss); }
.fixture.past { background: transparent; border-style: dashed; }
.fixture.past:hover { transform: none; box-shadow: none; }
.all-fixtures { font-weight: 600; color: var(--ink); font-size: 15.5px; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; white-space: nowrap; }

/* ---------- FAQ accordion ---------- */
.faq { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 110px; }
.faq-grid .aside-note { margin-top: 18px; color: var(--moss); font-size: 15.5px; }
.faq-grid .aside-note a { color: var(--red); font-weight: 600; }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 18px; padding: 22px 0;
  font-family: var(--display); font-weight: 700; font-size: 19px;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+"; font-family: var(--body); font-weight: 400; font-size: 26px;
  color: var(--red); line-height: 1; transition: transform .25s cubic-bezier(.16,1,.3,1);
  flex: 0 0 auto;
}
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa .a { padding: 0 36px 22px 0; color: var(--moss); }
details.qa .a a { color: var(--red); font-weight: 600; }

/* ---------- dark band (Challenge promo) ---------- */
.challenge { padding: 0; position: relative; color: #fff; }
.challenge .bg { position: absolute; inset: 0; }
.challenge .bg img { width: 100%; height: 100%; object-fit: cover; }
.challenge .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(21,41,29,.94) 0%, rgba(21,41,29,.78) 45%, rgba(21,41,29,.35) 100%);
}
.challenge .inner { position: relative; padding: 110px 0; max-width: 560px; }
.challenge h2 { color: #fff; }
.challenge p { margin-top: 18px; color: rgba(255,255,255,.82); }
.challenge .dates {
  margin-top: 26px; display: flex; border: 1px solid var(--line-dark);
  border-radius: 14px; overflow: hidden; max-width: 460px;
}
.challenge .dates div { flex: 1; padding: 14px 16px; border-right: 1px solid var(--line-dark); }
.challenge .dates div:last-child { border-right: none; }
.challenge .dates .d { font-family: var(--display); font-weight: 800; font-size: 17px; }
.challenge .dates .v { font-size: 12.5px; color: rgba(255,255,255,.65); margin-top: 2px; }
.challenge .btn { margin-top: 30px; }

/* ---------- quotes ---------- */
.say-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
blockquote { border-left: 3px solid var(--red); padding: 4px 0 4px 24px; margin-top: 36px; }
blockquote p { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.4; }
blockquote cite { display: block; font-style: normal; margin-top: 10px; font-size: 14.5px; color: var(--moss); font-weight: 500; }
.say-photo img { border-radius: 14px; box-shadow: 0 18px 44px rgba(29,43,34,.18); }
.say-photo figcaption { font-size: 14px; color: var(--moss); margin-top: 12px; }

/* ---------- join ---------- */
.join { background: var(--green-dark); color: #fff; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.join h2 { color: #fff; }
.join .lead { margin-top: 16px; color: rgba(255,255,255,.78); }
.join ul.needs { list-style: none; margin-top: 26px; }
.join ul.needs li { padding: 11px 0 11px 30px; position: relative; border-bottom: 1px solid var(--line-dark); font-size: 15.5px; }
.join ul.needs li:last-child { border-bottom: none; }
.join ul.needs li::before { content: "✓"; position: absolute; left: 2px; color: #7fc79a; font-weight: 700; }
.join .contact-alt { margin-top: 28px; font-size: 15px; color: rgba(255,255,255,.7); }
.join .contact-alt a { color: #fff; font-weight: 600; }

form.joinform { background: #fff; border-radius: 14px; padding: 34px; color: var(--ink); }
form.joinform h3 { font-size: 21px; font-weight: 800; margin-bottom: 4px; }
form.joinform .formsub { font-size: 14.5px; color: var(--moss); margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field input {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px;
  font: inherit; font-size: 15.5px; background: var(--bone); color: var(--ink);
}
.field input:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); background: #fff; }
.field .hint { font-size: 13px; color: var(--moss); }
form.joinform .btn { width: 100%; margin-top: 6px; }
.form-ok { display: none; background: #ecf5ef; border: 1px solid #bcd9c6; color: #235c3b; border-radius: 10px; padding: 14px 16px; font-size: 15px; margin-top: 16px; }

/* ---------- prose (write-ups, rules) ---------- */
.prose { max-width: 70ch; }
.prose p { margin-bottom: 18px; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; font-weight: 700; margin: 32px 0 10px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: 14px; margin: 28px 0; }
.prose .caption { font-size: 14px; color: var(--moss); margin: -18px 0 28px; }

/* ---------- tables ---------- */
.results-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.results-table th {
  font-family: var(--display); font-weight: 700; text-align: left; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--moss);
  padding: 14px 18px; background: var(--bone-deep);
}
.results-table td { padding: 13px 18px; border-top: 1px solid var(--line); font-size: 15.5px; }
.results-table td.pts { font-family: var(--display); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.results-table tr.win td { background: #fdf6f1; }

/* ---------- stat tiles ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.stat-tile { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 14px; padding: 18px 20px; }
.stat-tile .n { font-family: var(--display); font-weight: 800; font-size: 28px; font-variant-numeric: tabular-nums; }
.stat-tile .d { font-size: 13.5px; color: var(--moss); margin-top: 2px; }

/* ---------- write-up photo hero ---------- */
.post-hero { position: relative; color: #fff; min-height: 420px; display: flex; align-items: flex-end; }
.post-hero .bg { position: absolute; inset: 0; overflow: hidden; }
.post-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.post-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(10deg, rgba(21,41,29,.92) 0%, rgba(21,41,29,.55) 45%, rgba(21,41,29,.12) 100%);
}
.post-hero .inner { position: relative; padding: 48px 0 44px; max-width: 760px; }
.post-hero .crumb { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.85); }
.post-hero .crumb a { color: #fff; text-decoration: none; }
.post-hero .crumb a:hover { text-decoration: underline; }
.post-hero h1 {
  margin-top: 14px; font-size: clamp(34px, 4.4vw, 50px); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.025em; color: #fff;
}
.post-hero .sub { margin-top: 14px; font-size: 17px; color: rgba(255,255,255,.85); max-width: 60ch; }
@media (max-width: 940px) {
  .post-hero { min-height: 340px; }
  .post-hero .inner { padding: 36px 0 32px; }
}

/* ---------- photo gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.gallery button {
  border: none; padding: 0; background: none; cursor: zoom-in;
  border-radius: 14px; overflow: hidden; display: block;
}
.gallery button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.gallery button:hover img { transform: scale(1.04); }
dialog.lightbox {
  border: none; padding: 0; background: transparent; max-width: min(92vw, 1100px);
}
dialog.lightbox::backdrop { background: rgba(21,41,29,.88); }
dialog.lightbox img { width: 100%; border-radius: 14px; display: block; }
dialog.lightbox .close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px;
  border-radius: 50%; border: none; background: var(--bone); color: var(--ink);
  font-size: 20px; cursor: pointer; line-height: 1;
}
@media (prefers-reduced-motion: reduce) {
  .gallery img { transition: none; }
}

/* ---------- footer ---------- */
footer.site { background: var(--green-dark); color: rgba(255,255,255,.75); border-top: 1px solid var(--line-dark); padding: 44px 0; font-size: 14.5px; }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; align-items: center; flex-wrap: wrap; }
footer.site a { color: #fff; text-decoration: none; font-weight: 500; }
footer.site a:hover { text-decoration: underline; }
.foot-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .fixture { transition: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 940px) {
  .faq-grid, .say-grid, .join-grid { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
  .fixtures { grid-template-columns: 1fr; }
  .say-grid { gap: 36px; }
  .challenge .inner { padding: 72px 0; }
  section { padding: 64px 0; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .page-head { padding: 44px 0 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav .btn-red.nav-join { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--bone); border-bottom: 1px solid var(--line);
    padding: 4px 24px 14px; display: none;
    box-shadow: 0 14px 26px rgba(29,43,34,.10);
  }
  header.site.open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-mobile-join { display: block; }
  .nav-mobile-join a { color: var(--red); font-weight: 600; }
}
