:root {
  --navy: #0f213f;
  --navy-2: #172f58;
  --ink: #16202e;
  --muted: #5b6474;
  --line: #e3ddd0;
  --paper: #fffdf9;
  --cream: #f5efe3;
  --clay: #e0622a;
  --clay-dark: #c24e1b;
  --brass: #c9a25a;

  --k-hag: #e0622a;
  --k-practice: #2f6fb3;
  --k-team: #0f213f;
  --k-comp: #b8892e;
  --k-social: #6f8f4e;

  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--clay { background: var(--clay); color: #fff; }
.btn--clay:hover { background: var(--clay-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .25s, box-shadow .25s;
  color: #fff;
}
.nav.is-solid { background: rgba(15, 33, 63, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.brand img { width: 46px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links a:not(.btn) { text-decoration: none; opacity: .88; }
.nav__links a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--clay); }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .25s; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: drift 24s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,22,44,.78) 0%, rgba(10,22,44,.35) 55%, rgba(10,22,44,0) 80%),
  linear-gradient(180deg, rgba(10,22,44,.5) 0%, rgba(10,22,44,.1) 35%, rgba(10,22,44,.8) 100%); }
.hero__content { position: relative; padding: 140px 0 88px; }
.hero__crest { width: 190px; height: auto; margin-bottom: 30px; filter: drop-shadow(0 6px 24px rgba(0,0,0,.45)); }
.hero h1 { font-size: clamp(30px, 4.2vw, 58px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; margin-bottom: 22px; max-width: 22ch; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero__lede { font-size: clamp(18px, 2.1vw, 22px); max-width: 560px; opacity: .92; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 600; color: var(--clay); margin-bottom: 14px; }
.eyebrow--light { color: var(--brass); }

/* ---------- status ---------- */
.status { background: var(--clay); color: #fff; }
.status__inner { display: flex; align-items: center; gap: 14px; padding: 14px 0; flex-wrap: wrap; }
.status p { margin: 0; flex: 1; min-width: 240px; font-size: 15.5px; }
.status a { font-weight: 600; white-space: nowrap; text-underline-offset: 4px; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section--navy > .wrap { position: relative; }
.watermark { position: absolute; right: -80px; top: 40px; width: 560px; height: auto; max-width: none; opacity: .05; pointer-events: none; }
.term__logo { width: 110px; height: auto; margin-bottom: 18px; }
.h2 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 20px; max-width: 18ch; }
.h3 { font-size: 24px; margin-bottom: 16px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin-bottom: 44px; }
.lead--light { color: rgba(255,255,255,.75); }
.muted { color: var(--muted); }
.fine { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.fine--light { color: rgba(255,255,255,.6); text-align: center; }

/* steps */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 32px 28px; border-top: 3px solid var(--navy); background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 1px 0 var(--line); }
.steps li:first-child { border-top-color: var(--clay); }
.steps__n { font-family: var(--serif); font-size: 15px; color: var(--muted); display: block; margin-bottom: 36px; }
.steps h3 { font-size: 26px; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }

/* session cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(15,33,63,.06), 0 12px 32px -18px rgba(15,33,63,.25); display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card__body { padding: 28px 30px 32px; }
.card h3 { font-size: 32px; margin-bottom: 12px; }
.card p { color: var(--muted); }
.card--feature { outline: 2px solid var(--clay); outline-offset: -2px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--navy); margin-bottom: 14px; }
.tag--clay { background: #fde6db; color: var(--clay-dark); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 10px 0 0; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }

.book { margin-top: 28px; padding: 28px 32px; border-radius: var(--radius); border: 1.5px dashed #cfc5b1; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.book h3 { font-size: 22px; margin-bottom: 4px; }
.book p { margin: 0; color: var(--muted); max-width: 620px; }

/* gallery */
/* Justified rows: every photo keeps its own shape (--ar = width/height, set
   inline on each <img>), all photos in a row share one height, and rows wrap
   when the strip is wider than the screen. --row-h is the target row height. */
.gallery { --row-h: clamp(220px, 24vw, 380px); display: flex; flex-wrap: wrap; overflow: hidden; }
.gallery img { flex: var(--ar) 1 calc(var(--ar) * var(--row-h)); width: 0; min-width: 0; height: auto; aspect-ratio: var(--ar); max-height: calc(var(--row-h) * 1.6); object-fit: cover; filter: saturate(.9); transition: filter .3s; }
.gallery img:hover { filter: saturate(1.1); }

/* term card */
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.split-head .h2 { margin: 0; }
.split-head p { max-width: 360px; margin: 0; }
.term { border-top: 1px solid var(--line); }
.term__week { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.term__wk b { font-family: var(--serif); font-size: 22px; display: block; color: var(--navy); }
.term__wk span { font-size: 13px; color: var(--muted); }
.term ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.term li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: baseline; padding-left: 16px; position: relative; }
.term li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: #aab1bd; }
.term time { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.term em { color: var(--muted); font-style: normal; font-size: 14px; }
.legend { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.legend li { position: relative; padding-left: 16px; }
.legend li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; }
.k-hag::before { background: var(--k-hag) !important; }
.k-practice::before { background: var(--k-practice) !important; }
.k-team::before { background: var(--k-team) !important; }
.k-comp::before { background: var(--k-comp) !important; }
.k-social::before { background: var(--k-social) !important; }
.term li.k-comp { font-weight: 600; }

/* membership */
.member { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.prices { display: grid; gap: 14px; }
.price { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 22px 24px; }
.price--pick { border-color: var(--brass); background: rgba(201,162,90,.08); }
.price__name { margin: 0; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.price__amt { margin: 4px 0 0; font-family: var(--serif); font-size: 48px; font-weight: 600; line-height: 1.1; }
.price__amt span { font-family: var(--sans); font-size: 15px; font-weight: 400; color: rgba(255,255,255,.6); margin-left: 4px; }
.price__note { margin: 10px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.perks li { padding: 18px 0 18px 30px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; color: rgba(255,255,255,.78); font-size: 16px; }
.perks li::before { content: ""; position: absolute; left: 0; top: 25px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--clay); }
.perks b { color: #fff; font-weight: 600; }

/* know */
.know { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 44px; }
.know div { background: var(--paper); padding: 28px 28px 24px; }
.know h3 { font-size: 21px; margin-bottom: 8px; }
.know p { color: var(--muted); margin: 0; font-size: 16px; }

/* find us */
.findus { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.findus p { color: #3c4555; }
.linkrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 12px 32px -18px rgba(15,33,63,.35); background: #dcd5c6; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* sponsors */
.sponsors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.sponsors article { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.sponsors__logo { height: 150px; display: grid; place-items: center; border-radius: 10px; background: #fff; margin-bottom: 22px; overflow: hidden; }
.sponsors__logo img { max-height: 140px; width: auto; object-fit: contain; }
.sponsors__logo--dark { background: #25463a; }
.sponsors__logo--dark img { max-height: 150px; }
.sponsors h3 { font-size: 21px; margin-bottom: 8px; }
.sponsors p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* club */
.club { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.committee { margin: 28px 0 0; }
.committee div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #ded5c3; }
.committee dt { color: var(--muted); font-size: 15px; }
.committee dd { margin: 0; font-weight: 500; }
.docs { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.docs a { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: #fff; border-radius: 10px; text-decoration: none; font-weight: 500; border: 1px solid #e6dece; transition: border-color .2s; }
.docs a:hover { border-color: var(--navy); }
.docs span { font-size: 13px; color: var(--muted); }
.club__photo { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* footer */
.footer { background: #0a172d; color: rgba(255,255,255,.75); padding: 48px 0; font-size: 15px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand p { margin: 0; }
.footer__name { color: #fff; font-family: var(--serif); font-size: 18px; }
.footer a { text-underline-offset: 4px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-block; padding: 8px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; text-decoration: none; }
.social a:hover { border-color: #fff; color: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .status__dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 20px 24px; display: none;
  }
  .nav.is-open { background: var(--navy); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__links .btn { margin-top: 16px; }
  .member, .findus, .club { grid-template-columns: 1fr; gap: 40px; }
  .perks { grid-template-columns: 1fr; }
  .know, .sponsors { grid-template-columns: 1fr 1fr; }
  .gallery { --row-h: 150px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .steps, .cards, .know, .sponsors, .docs { grid-template-columns: 1fr; }
  .book { flex-direction: column; align-items: flex-start; padding: 24px; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .term__week { grid-template-columns: 1fr; gap: 10px; }
  .term__wk { display: flex; align-items: baseline; gap: 10px; }
  .term li { grid-template-columns: 1fr; gap: 0; }
  .committee div { grid-template-columns: 1fr; gap: 2px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts dd { font-size: 14px; }
  .hero__content { padding-bottom: 60px; }
  .hero__crest { width: 130px; }
  .card__body { padding: 24px 22px 26px; }
}

.term li.term__tba { grid-template-columns: 1fr; color: #9aa1ad; font-size: 15px; font-style: italic; }
.term li.term__tba::before { background: transparent; border: 1.5px solid #c9ced6; }
.term__week:has(.k-hag) { background: linear-gradient(90deg, rgba(224,98,42,.07), transparent 70%); }
