:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #111310;
  --muted: #4b5149;
  --rule: #dddfd8;
  --forest: #2c6747;
  --moss: #748366;
  --clay: #db9672;
  --plum: #a1849b;
  --parchment: #f1eee5;
  --sage: #e8ede4;
  font: 16px/1.55 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
p { margin: 0 0 1.1rem; }
h1, h2, h3 { margin: 0 0 1.12rem; line-height: 1.02; font-weight: 400; letter-spacing: -.06em; }
h2 { font-size: clamp(2.5rem, 5.5vw, 4.35rem); }
h3 { font-size: 1.78rem; letter-spacing: -.04em; }
section[id] { scroll-margin-top: 1.25rem; }
.wrap { width: min(1180px, calc(100% - 3.5rem)); margin-inline: auto; }

.top, .bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; min-height: 76px; padding-block: .8rem; }
.top { border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; max-width: 100%; height: auto; }
.top-actions { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.site-menu { position: relative; margin: 0; border: 0; padding: 0; }
.site-menu summary {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  min-width: 44px; min-height: 44px; padding: 0 .85rem;
  border: 1px solid var(--rule); border-radius: 100px; list-style: none;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary:hover, .site-menu[open] summary { background: var(--sage); }
.menu-icon { display: block; position: relative; width: 18px; height: 2px; background: currentColor; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor;
}
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.site-menu[open] .menu-icon { background: transparent; }
.site-menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.site-menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.site-menu nav {
  position: absolute; z-index: 5; inset-inline-end: 0; top: calc(100% + .6rem);
  width: min(17rem, calc(100vw - 2rem)); padding: .45rem;
  border: 1px solid var(--rule); border-radius: .6rem; background: var(--paper);
  box-shadow: 0 12px 30px rgba(22, 45, 29, .12);
}
.site-menu ul { list-style: none; margin: 0; padding: 0; }
.site-menu a { display: flex; align-items: center; min-height: 44px; padding: .55rem .75rem; border-radius: .3rem; text-decoration: none; }
.site-menu a:hover, .site-menu a:focus-visible { background: var(--sage); }
.language-switch { display: inline-flex; padding: .16rem; border: 1px solid var(--rule); border-radius: 100px; flex: 0 0 auto; }
.language-switch button { min-height: 36px; min-width: 38px; border: 0; border-radius: 100px; background: transparent; color: inherit; font-size: .875rem; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: var(--forest); color: white; }

.hero { text-align: center; padding: clamp(3.35rem, 7vw, 6rem) 1rem clamp(3rem, 6vw, 5.2rem); }
.hero-copy { margin: auto; max-width: 940px; }
.eyebrow { font-size: .86rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .9rem; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 5.75rem); font-weight: 400; letter-spacing: -.075em; }
.hero h1 em { font-style: normal; }
.hero-copy > p:not(.eyebrow), .standfirst { font-size: clamp(1.09rem, 2vw, 1.24rem); max-width: 38rem; }
.hero-copy > p:not(.eyebrow) { margin: 1.65rem auto 0; color: var(--muted); }
.actions { display: flex; align-items: center; gap: .8rem 1.3rem; flex-wrap: wrap; margin-top: 1.7rem; }
.hero .actions { justify-content: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.38rem; border-radius: 100px; font-weight: 650; text-decoration: none; cursor: pointer; line-height: 1.25; border: 1px solid transparent; }
.primary { background: var(--ink); color: white; }
.primary:hover { background: var(--forest); }
.secondary { color: var(--ink); background: transparent; border-color: #7d8377; }
.secondary:hover { background: white; }
.text-link { font-weight: 600; }
.hero-art {
  min-height: 160px;
  aspect-ratio: 3.2;
  overflow: hidden;
  background:
    repeating-linear-gradient(117deg, transparent 0 69px, rgba(22,45,29,.13) 70px 71px, transparent 72px 128px),
    radial-gradient(ellipse at 25% 124%, var(--forest) 0 42%, transparent 42.3%),
    radial-gradient(ellipse at 85% -48%, var(--moss) 0 22%, var(--clay) 22.2% 38%, var(--plum) 38.2% 45%, transparent 45.3%),
    radial-gradient(ellipse at 1% -10%, var(--moss) 0 37%, transparent 37.3%),
    var(--parchment);
}
.section { padding-block: clamp(3.25rem, 8vw, 6.9rem); }
.section-heading { margin-bottom: 2rem; }
.team-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: start; gap: clamp(2rem, 7vw, 6rem); }
.sequence { padding: 0; margin: 1.65rem 0 0; list-style: none; }
.sequence li { display: grid; grid-template-columns: 2.55rem 1fr; gap: .7rem; padding: .93rem 0; border-top: 1px solid var(--rule); }
.sequence li > span { color: var(--forest); font-size: .94rem; font-variant-numeric: tabular-nums; }
.sequence p { margin: 0; color: var(--muted); }
.info { padding: clamp(1.3rem, 3.4vw, 2.6rem); }
.info { background: var(--parchment); }
dl { margin: 0 0 1.25rem; }
dl div { border-top: 1px solid #dcccbe; padding: .6rem 0; }
dt { font-weight: 680; font-size: .92rem; }
dd { margin: 0; color: var(--muted); }
details { border-top: 1px solid var(--rule); padding: .79rem 0; }
summary { cursor: pointer; font-weight: 680; }
details p { margin: .7rem 0 0; }

.club, .feedback-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.75rem, 6vw, 5.5rem); align-items: start; }
.club { align-items: center; }
.club h2 { max-width: 12ch; }
.club p:last-child { margin-bottom: 0; }

.feedback-band { background: var(--parchment); padding-block: clamp(3rem, 7vw, 5rem); }
.feedback-layout h2 { font-size: clamp(2.25rem, 4.6vw, 3.8rem); }
form { display: grid; gap: .48rem; }
form label { font-weight: 640; }
form textarea, form select { width: 100%; padding: .62rem .72rem; border: 1px solid #858878; border-radius: .35rem; color: var(--ink); background: white; }
form textarea { resize: vertical; }
form label:not(:first-child) { margin-top: .55rem; }
.checkbox { display: flex; align-items: baseline; gap: .55rem; }
.checkbox input { width: 1.1rem; height: 1.1rem; accent-color: var(--forest); flex: 0 0 auto; }
.form-note, .status { font-size: .9rem; color: var(--muted); margin: 0; min-height: 1.4em; }
form .actions { margin-top: .6rem; }
.bottom { flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.footer-provider { font-style: normal; }
.privacy-details { margin-bottom: 1rem; scroll-margin-top: 1.25rem; }
.privacy-copy { max-width: 72ch; color: var(--muted); }
.privacy-copy h3 { margin: 1.1rem 0 .35rem; font-size: 1rem; font-weight: 650; letter-spacing: normal; color: var(--ink); }
.privacy-copy p { margin-top: .35rem; }

.advent { padding-block: clamp(3.25rem, 7vw, 6.5rem); background: var(--sage); }
.advent-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1rem, 4vw, 4rem); align-items: end; margin-bottom: 2rem; }
.advent-head h2, .advent-head .standfirst { margin-bottom: 0; }
.advent-toolbar, .advent-meta, .advent-footer { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; justify-content: space-between; }
.advent-modes { display: inline-flex; gap: .25rem; padding: .25rem; border: 1px solid #a7b1a2; border-radius: 100px; background: var(--paper); }
.advent-modes button { padding: .6rem 1.02rem; min-height: 44px; border: 0; border-radius: 100px; color: var(--ink); background: transparent; cursor: pointer; font-weight: 600; }
.advent-modes button[aria-pressed="true"] { background: var(--forest); color: white; }
.advent-preview { display: inline-flex; gap: .6rem; align-items: center; min-height: 44px; cursor: pointer; }
.advent-preview input { accent-color: var(--forest); height: 1.1rem; width: 1.1rem; }
.advent-meta { margin: 1.35rem 0 .8rem; font-size: .9rem; }
.advent-meta p, .advent-footer p { margin: 0; }
#advent-progress { font-weight: 650; }
.advent-doors { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .7rem; }
.advent-doors[data-mode="sunday"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.advent-door { display: grid; grid-template-rows: auto 1fr auto; gap: .28rem; text-align: left; min-height: 136px; border: 1px solid #c9d0c4; padding: .8rem .85rem; background: var(--paper); color: var(--ink); border-radius: .4rem; cursor: pointer; }
.advent-door:nth-child(6n + 2) { background: #f5e6de; }
.advent-door:nth-child(6n + 5) { background: #eee5eb; }
.advent-door:not(:disabled):hover { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.advent-door[data-state="done"] { background: var(--forest); border-color: var(--forest); color: white; }
.advent-door:disabled { cursor: default; color: var(--muted); }
.door-date { font-size: .9rem; }
.door-number { font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.065em; line-height: 1.12; }
.door-label { font-size: .9rem; line-height: 1.25; overflow-wrap: anywhere; }
.advent-footer { margin: 1rem 0 0; font-size: .92rem; }
.advent-footer a { font-weight: 650; }
.advent-dialog { width: min(100% - 2rem, 36rem); max-height: calc(100% - 2rem); border: 1px solid var(--rule); color: var(--ink); background: white; padding: clamp(1.3rem, 4vw, 2.65rem); border-radius: .6rem; }
.advent-dialog::backdrop { background: rgba(22,38,24,.65); }
.advent-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .85rem; }
.advent-dialog-top p { margin: 0; color: var(--forest); }
.advent-dialog h3 { font-size: clamp(2rem, 4vw, 3rem); }
.advent-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: white; color: inherit; font-size: 1.6rem; cursor: pointer; }
.advent-skill { font-weight: 650; }
.advent-workout-details div { border-color: var(--rule); }
.advent-entry { min-inline-size: 0; margin: .65rem 0 1.1rem; padding: .8rem .9rem; border: 1px solid var(--rule); border-radius: .45rem; background: var(--sage); }
.advent-entry legend { padding: 0 .32rem; font-weight: 620; color: var(--ink); }
.advent-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.advent-entry label { display: flex; min-width: 0; flex-direction: column; gap: .2rem; color: var(--ink); font-size: .9rem; }
.advent-entry input { width: 100%; min-height: 44px; padding: .38rem .5rem; border: 1px solid #838b7e; border-radius: .3rem; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; }
.advent-entry small { display: block; margin-top: .6rem; color: var(--muted); }
.advent-notes-message { color: var(--muted); font-size: .9rem; }
.advent-science p { color: var(--muted); }
.advent-science a { color: var(--forest); font-weight: 650; }
.club-session { margin: 1rem 0 0; padding-inline-start: 1.4rem; }
.club-session li { padding-block: .25rem; }

@media (max-width: 760px) {
  .team-grid, .club, .feedback-layout { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 2rem); }
  .top { gap: .6rem; }
  .hero { padding-inline: 0; }
  .hero h1 { letter-spacing: -.071em; }
  .club h2 { max-width: 16ch; }
  .advent-head { grid-template-columns: 1fr; }
  .advent-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .advent-doors[data-mode="sunday"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advent-door { min-height: 117px; }
}
@media (max-width: 460px) {
  .top .brand img { width: min(155px, 37vw); }
  .site-menu summary { padding: 0; }
  .menu-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .advent-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .52rem; }
  .advent-door { padding: .62rem; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2.65rem; }
}
