:root {
  --green-950: #071f1a;
  --green-900: #0b2f27;
  --green-800: #124536;
  --green-700: #1c5f49;
  --blue-table: #147e8d;
  --ivory: #f4eedf;
  --paper: #fbf8ef;
  --paper-deep: #e8deca;
  --gold: #d4ad5a;
  --gold-bright: #e6c978;
  --red: #9e2f2a;
  --ink: #18201d;
  --muted: #65706a;
  --line: rgba(24, 32, 29, .16);
  --shadow: 0 24px 70px rgba(7, 31, 26, .15);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  --radius: 4px;
  --shell: min(92vw, 1440px);
  --header-height: 72px;
  --mobile-dock-height: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--green-950); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 900px; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--gold); color: var(--green-950); padding: .75rem 1rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.eyebrow { display: inline-block; color: var(--red); font-size: .72rem; line-height: 1.2; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-light { color: var(--gold-bright); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212, 173, 90, .12); flex: 0 0 auto; }
.site-header { position: sticky; top: 0; z-index: 310; background: rgba(244, 238, 223, .96); border-bottom: 1px solid rgba(11, 47, 39, .12); backdrop-filter: blur(14px); transition: transform .3s ease, box-shadow .3s ease; }
.site-header.compact { box-shadow: 0 8px 30px rgba(7, 31, 26, .1); }
.site-header.hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: none; }
.header-inner { height: var(--header-height); display: flex; align-items: center; gap: 1.35rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 220px; }
.brand > span:last-child { display: grid; line-height: 1.1; }
.brand strong { font: 700 1.12rem/1.1 var(--serif); color: var(--green-900); white-space: nowrap; }
.brand small { margin-top: .28rem; font-size: .58rem; color: var(--red); letter-spacing: .13em; text-transform: uppercase; }
.brand-logo { width: 48px; height: 48px; flex: 0 0 auto; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(.7rem, 1.2vw, 1.45rem); margin-left: auto; }
.main-nav a { position: relative; color: #2f3b36; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.65rem; height: 2px; background: var(--red); transition: right .22s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.icon-link, .account-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--green-900); font-size: .73rem; font-weight: 700; }
.icon-link { padding: .55rem; }
.language-picker { position: relative; font-size: .72rem; }
.language-picker summary { min-height: 36px; cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .55rem; border: 1px solid rgba(11,47,39,.18); border-radius: 2px; color: var(--green-900); font-weight: 700; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:hover, .language-picker[open] summary { background: var(--paper-deep); }
.language-picker summary .icon { width: 1rem; height: 1rem; }
.language-picker div { position: absolute; top: calc(100% + 10px); right: 0; z-index: 20; width: max-content; min-width: 0; max-width: calc(100vw - 32px); padding: .4rem; display: grid; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.language-picker div a { padding: .45rem .6rem; border-radius: 2px; white-space: nowrap; }
.language-picker div a:hover { background: var(--paper-deep); }
.language-picker div a[aria-current="page"] { color: var(--paper); background: var(--green-800); }
.menu-toggle { display: none; flex: 0 0 auto; width: 32px; height: 32px; padding: 7px; border: 0; border-radius: 2px; color: var(--green-900); background: transparent; }
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--paper-deep); }
.menu-toggle .icon { width: 18px; height: 18px; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius); font-size: .76rem; font-weight: 800; letter-spacing: .04em; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--green-950); box-shadow: 0 8px 24px rgba(212, 173, 90, .2); }
.button-gold:hover { background: var(--gold-bright); }
.button-dark { background: var(--green-900); color: #fff; }
.button-light { background: var(--paper); color: var(--green-950); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.button.full, .full { width: 100%; }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.home-hero { min-height: 740px; position: relative; color: #fff; display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: var(--green-950); }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { z-index: 0; }
.hero-shade { z-index: 1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.05); animation: heroReveal 1.2s ease both; }
.hero-shade { background: linear-gradient(90deg, rgba(3,20,16,.94) 0%, rgba(6,27,22,.75) 43%, rgba(5,25,20,.35) 72%, rgba(3,17,14,.55) 100%), linear-gradient(0deg, rgba(5,24,20,.8), transparent 45%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .55fr); align-items: center; gap: 8vw; padding-block: 7rem 8rem; }
.hero-copy { max-width: 850px; animation: rise .8s .15s ease both; }
.hero-copy h1 { max-width: 820px; margin: 1.1rem 0 1.3rem; font: 500 clamp(3.6rem, 7.4vw, 7.7rem)/.88 var(--serif); letter-spacing: -.055em; text-wrap: balance; }
.hero-copy p { max-width: 630px; margin: 0 0 2.2rem; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.45vw, 1.3rem); }
.hero-status { padding: 1.5rem; border: 1px solid rgba(255,255,255,.24); border-top: 3px solid var(--gold); background: rgba(7,31,26,.65); backdrop-filter: blur(12px); animation: rise .8s .28s ease both; }
.hero-status > span { color: var(--gold-bright); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-status strong { display: block; margin: .65rem 0; font: 600 1.45rem/1.2 var(--serif); }
.hero-status p { color: rgba(255,255,255,.68); font-size: .76rem; }
.hero-status a { display: inline-block; margin-top: .4rem; color: var(--gold-bright); font-size: .76rem; font-weight: 800; }
.hero-stats { position: relative; z-index: 2; width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats div { min-height: 120px; display: flex; align-items: baseline; gap: 1rem; padding: 1.8rem 2rem; border-right: 1px solid rgba(255,255,255,.18); }
.hero-stats div:first-child { border-left: 1px solid rgba(255,255,255,.18); }
.hero-stats b { color: var(--gold-bright); font: 500 2.7rem/1 var(--serif); }
.hero-stats span { max-width: 155px; color: rgba(255,255,255,.67); font-size: .72rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }

.page-hero { position: relative; min-height: 280px; display: flex; align-items: center; padding: 2.25rem 0; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(20,126,141,.35), transparent 26%), linear-gradient(125deg, var(--green-950), var(--green-800)); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 34vw; height: 34vw; border: 1px solid rgba(212,173,90,.22); border-radius: 50%; right: -7vw; bottom: -22vw; box-shadow: 0 0 0 8vw rgba(212,173,90,.04), 0 0 0 16vw rgba(212,173,90,.025); }
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1000px; margin: .75rem 0 .65rem; font: 500 clamp(2.5rem, 4vw, 4.4rem)/.96 var(--serif); letter-spacing: -.035em; }
.page-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.72); font-size: 1rem; }
.page-hero-image { background: var(--green-950); isolation: isolate; }
.page-hero-image::after { inset: 0; z-index: 1; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(90deg, rgba(2,12,10,.86) 0%, rgba(2,12,10,.62) 36%, rgba(2,12,10,.16) 72%, rgba(2,12,10,.42) 100%), linear-gradient(180deg, rgba(2,12,10,.18), rgba(2,12,10,.38)); box-shadow: none; pointer-events: none; }
.page-hero-image .page-hero-media { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero-image .shell { z-index: 2; }
.page-hero-image h1 { max-width: 820px; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.page-hero-image p { max-width: 680px; color: rgba(255,255,255,.88); text-shadow: 0 1px 12px rgba(0,0,0,.38); }
.page-hero-image .eyebrow { color: var(--gold-bright); text-shadow: 0 1px 10px rgba(0,0,0,.42); }
.page-hero-compact { min-height: 210px; padding: 2rem 0; }
.page-hero-compact h1 { font-size: clamp(2.3rem, 3.5vw, 3.6rem); }

.section { padding: clamp(5rem, 9vw, 9rem) 0; }
.section-ivory { background: var(--ivory); }
.section-paper { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; }
.section-head h2 { max-width: 800px; margin: .7rem 0 .4rem; font: 500 clamp(2.5rem, 4.5vw, 4.8rem)/.98 var(--serif); letter-spacing: -.035em; color: var(--green-900); }
.section-head p { max-width: 660px; margin: 0; color: var(--muted); }
.arrow-link { display: inline-flex; align-items: center; gap: .75rem; color: var(--green-800); font-size: .76rem; font-weight: 800; letter-spacing: .04em; border-bottom: 1px solid rgba(11,47,39,.25); padding-bottom: .35rem; white-space: nowrap; }
.arrow-link .icon { transition: transform .2s ease; }
.arrow-link:hover .icon { transform: translateX(5px); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.content-card { background: var(--paper); border: 1px solid var(--line); min-width: 0; transition: transform .25s ease, box-shadow .25s ease; }
.content-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-image { aspect-ratio: 16/10; overflow: hidden; background: var(--green-900); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.content-card:hover .card-image img { transform: scale(1.04); }
.card-copy { padding: 1.7rem; }
.meta-row { display: flex; justify-content: space-between; gap: 1rem; color: var(--red); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card-copy h3 { margin: .8rem 0 .65rem; font: 600 1.65rem/1.08 var(--serif); color: var(--green-900); }
.content-card-title { transition: color .2s ease; }
.content-card-title:hover { color: var(--red); }
.content-card-title:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.card-copy p { margin: 0 0 1.4rem; color: var(--muted); font-size: .9rem; }
.badge { display: inline-flex; align-items: center; width: fit-content; padding: .23rem .55rem; background: var(--green-800); color: #fff; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.badge-warn, .badge-pending { background: #eadcb8; color: #704d11; }
.badge-confirmed { background: #c9e3d2; color: #19513b; }
.badge-cancelled { background: #e8c7c2; color: #7a211d; }
.empty-state { padding: 2rem; border: 1px dashed rgba(11,47,39,.3); color: var(--muted); background: rgba(255,255,255,.3); }

.split-feature { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 690px; background: var(--green-900); color: #fff; }
.split-image { min-height: 600px; overflow: hidden; }
.split-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; filter: saturate(.8); }
.split-copy { max-width: 670px; align-self: center; padding: clamp(4rem, 8vw, 9rem); }
.split-copy h2, .bistro-inner h2 { margin: 1rem 0 1.4rem; font: 500 clamp(3rem, 5vw, 5.8rem)/.92 var(--serif); letter-spacing: -.04em; }
.split-copy p, .bistro-inner p { color: rgba(255,255,255,.7); }
.split-copy .arrow-link { margin-top: 1.5rem; color: var(--gold-bright); border-color: rgba(212,173,90,.4); }
.bistro-banner { position: relative; padding: 0; background: var(--red); color: #fff; overflow: hidden; }
.bistro-banner::before { content: ""; position: absolute; inset: 0; opacity: .16; background: repeating-linear-gradient(45deg, transparent 0 16px, #000 16px 17px); }
.bistro-inner { position: relative; min-height: 620px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 7vw; }
.bistro-inner > div { padding: 5rem 0; }
.bistro-inner img { width: 100%; height: 620px; object-fit: cover; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.news-list { border-top: 1px solid var(--line); }
.news-list article { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.news-number { color: var(--gold); font: 500 2.3rem/1 var(--serif); }
.news-list small { color: var(--red); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news-list h3 { margin: .3rem 0; font: 600 1.55rem/1.1 var(--serif); color: var(--green-900); }
.news-list p { margin: 0; color: var(--muted); }
.media-section { color: #fff; background: var(--green-900); }
.media-section .section-head h2 { color: #fff; }
.media-section .section-head p { color: rgba(255,255,255,.65); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.video-grid iframe { width: 100%; aspect-ratio: 16/9; border: 1px solid rgba(255,255,255,.2); background: var(--green-950); }

.table-options { display: grid; gap: 2rem; }
.table-options article { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 450px; background: var(--paper); border: 1px solid var(--line); }
.table-options article:nth-child(even) img { order: 2; }
.table-options img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; }
.table-options article > div { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.option-number { color: var(--gold); font: 500 2.2rem/1 var(--serif); }
.table-options h2 { margin: .8rem 0; font: 600 clamp(2.2rem, 4vw, 4rem)/1 var(--serif); color: var(--green-900); }
.table-options p { max-width: 540px; color: var(--muted); }
.table-options .button { margin-top: 1rem; }
.archive-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.archive-banner h2 { margin: 0; font: 600 1.8rem/1.1 var(--serif); color: var(--green-900); }
.archive-banner p { margin: .3rem 0 0; color: var(--muted); font-size: .8rem; }
.archive-banner select { min-width: 210px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .82rem; }
th, td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: rgba(255,255,255,.72); background: var(--green-900); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
tbody tr:hover { background: rgba(212,173,90,.1); }
tbody.loading { opacity: .4; }
.manifesto { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: center; }
.club-brand-visual { margin: 0; padding: clamp(1rem, 2vw, 2rem); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.club-brand-visual img { width: 100%; height: auto; }
.manifesto blockquote { margin: 0; font: 500 clamp(2.15rem, 3.2vw, 3.5rem)/1.02 var(--serif); color: var(--green-900); }
.manifesto p { color: var(--muted); font-size: 1.08rem; }
.membership-cta, .group-cta { margin-top: 3rem; padding: 3rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: var(--green-900); color: #fff; }
.membership-cta h2, .group-cta h2 { margin: .6rem 0; font: 500 clamp(2rem, 4vw, 4rem)/1 var(--serif); }
.membership-cta p { max-width: 720px; color: rgba(255,255,255,.65); }
.lesson-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: start; }
.stack-list { display: grid; gap: 1rem; }
.stack-list .content-card { display: grid; grid-template-columns: 220px 1fr; }
.stack-list .card-image { aspect-ratio: auto; min-height: 190px; }
.booking-panel { position: sticky; top: 125px; padding: 2rem; background: var(--paper); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.booking-panel h2 { margin: .5rem 0 1.5rem; font: 600 2.2rem/1 var(--serif); color: var(--green-900); }
.event-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.menu-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 6vw; align-items: start; }
.menu-photo { position: sticky; top: 125px; }
.menu-photo img { width: 100%; max-height: 720px; object-fit: cover; box-shadow: var(--shadow); }
.menu-photo span { display: block; padding: 1rem; color: var(--paper); background: var(--green-900); font: italic 1.1rem var(--serif); text-align: center; }
.notice-box { display: flex; gap: 1rem; align-items: start; padding: 1.2rem; background: #eadcb8; color: #664a17; border: 1px solid #d4bd83; }
.notice-box .status-dot { margin-top: .55rem; }
.notice-box p { margin: 0; font-size: .84rem; }
.menu-group { margin-top: 3rem; }
.menu-group h2 { margin: 0 0 1rem; padding-bottom: .8rem; border-bottom: 3px double var(--green-800); font: 600 2.6rem/1 var(--serif); color: var(--green-900); text-transform: capitalize; }
.menu-group article { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; padding: 1rem 0; border-bottom: 1px dotted rgba(24,32,29,.25); }
.menu-group h3 { margin: 0; font: 600 1.3rem/1.2 var(--serif); }
.menu-group p { margin: .2rem 0 0; color: var(--muted); font-size: .8rem; }
.menu-group article > strong { color: var(--red); font: 600 1.1rem var(--serif); white-space: nowrap; }
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 520px; box-shadow: var(--shadow); }
.visit-card { padding: clamp(2.5rem, 5vw, 5rem); background: var(--paper); display: flex; flex-direction: column; align-items: start; justify-content: center; }
.visit-card h2 { margin: .8rem 0 1rem; font: 600 clamp(2.2rem, 3vw, 3rem)/1.05 var(--serif); color: var(--green-900); }
.visit-card p { color: var(--muted); }
.visit-card .button-row { margin-top: 1rem; }
.map-panel { position: relative; min-height: 440px; overflow: hidden; isolation: isolate; background: #e7e3d8; }
.about-map { position: absolute; inset: 0; cursor: grab; }
.about-map:active { cursor: grabbing; }
.about-map:focus-visible { z-index: 3; outline: 4px solid var(--gold); outline-offset: -4px; }
.about-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 2rem; color: var(--paper); background-color: var(--green-800); background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; font: 600 1rem var(--serif); text-align: center; }
.map-toolbar { position: absolute; z-index: 4; top: 16px; left: 16px; right: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; pointer-events: none; }
.map-hint, .map-open-action, .map-status { padding: .55rem .75rem; box-shadow: 0 6px 18px rgba(7,31,26,.18); font-size: .7rem; font-weight: 800; line-height: 1.3; }
.map-hint { max-width: 60%; color: #fff; background: rgba(11,47,39,.9); }
.map-open-action { flex: 0 0 auto; color: var(--green-950); background: var(--gold); pointer-events: auto; }
.map-open-action:hover { color: var(--green-950); background: #ecd78f; }
.map-status { position: absolute; z-index: 4; left: 16px; bottom: 34px; max-width: calc(100% - 32px); margin: 0; color: #fff; background: rgba(132,38,31,.92); }
.map-noscript { position: absolute; z-index: 5; inset: 0; display: grid; place-items: center; padding: 2rem; color: #fff; background: var(--green-800); font-weight: 800; text-align: center; }

label { display: grid; gap: .42rem; color: var(--green-900); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
input, select, textarea { width: 100%; border: 1px solid rgba(11,47,39,.25); border-radius: 2px; padding: .8rem .85rem; color: var(--ink); background: rgba(255,255,255,.7); outline: 0; transition: border .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-table); box-shadow: 0 0 0 3px rgba(20,126,141,.13); }
textarea { resize: vertical; }
label small { color: var(--muted); font-weight: 500; }
.form-stack { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.form-grid > label { min-width: 0; }
.full-field { grid-column: 1/-1; }
.booking-form { padding: clamp(2rem, 5vw, 4rem); background: var(--paper); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.booking-form input, .booking-form select, .booking-form textarea { min-width: 0; max-width: 100%; }
.form-submit { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.form-submit p { max-width: 520px; margin: 0; color: var(--muted); font-size: .8rem; }
.search-form { display: grid; grid-template-columns: 1fr auto; margin-bottom: 2rem; }
.search-form input { min-height: 56px; border-radius: 2px 0 0 2px; }
.search-form button { border-radius: 0 2px 2px 0; }
.auth-page { min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); }
.auth-photo { min-height: 760px; }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; }
.auth-panel { display: flex; flex-direction: column; padding: clamp(2rem, 7vw, 8rem); }
.auth-panel > div { width: min(100%, 520px); margin: auto; }
.auth-panel h1 { margin: .8rem 0; font: 500 clamp(3rem, 5vw, 5.5rem)/.93 var(--serif); color: var(--green-900); }
.auth-panel > div > p { color: var(--muted); }
.auth-panel form { margin-top: 2rem; }
.auth-back { color: var(--green-800); font-size: .75rem; font-weight: 800; }
.auth-switch { margin-top: 1.5rem; text-align: center; font-size: .8rem; }
.auth-switch a { color: var(--red); font-weight: 800; }

.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.member-nav, .admin-nav { position: sticky; top: 125px; display: grid; background: var(--green-900); padding: .6rem; }
.member-nav a, .member-nav button, .admin-nav a { padding: .85rem 1rem; color: rgba(255,255,255,.66); font-size: .76rem; font-weight: 700; border: 0; border-left: 3px solid transparent; background: transparent; text-align: left; }
.member-nav a:hover, .member-nav a.active, .admin-nav a:hover, .admin-nav a.active { color: #fff; background: rgba(255,255,255,.07); border-color: var(--gold); }
.member-nav form { border-top: 1px solid rgba(255,255,255,.12); margin-top: .5rem; padding-top: .5rem; }
.member-summary, .admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.member-summary article, .admin-stats article { min-height: 150px; padding: 1.4rem; display: grid; align-content: space-between; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.member-summary span, .admin-stats span { color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.member-summary strong, .admin-stats strong { color: var(--green-900); font: 500 2.7rem/1 var(--serif); text-transform: capitalize; }
.member-summary small { color: var(--red); }
.dashboard-block, .admin-panel { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--paper); border: 1px solid var(--line); }
.dashboard-block h2, .admin-panel h2 { margin: 0 0 1.5rem; font: 600 2.2rem/1 var(--serif); color: var(--green-900); }
.dashboard-block > .button { margin-top: 1.5rem; }
.compact-list article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.compact-list article > div { display: grid; }
.compact-list article span { color: var(--muted); font-size: .75rem; }
.tier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.tier-grid article { padding: 2rem; border: 1px solid var(--line); background: var(--ivory); }
.tier-grid h3 { margin: .8rem 0; font: 600 1.7rem var(--serif); color: var(--green-900); }
.tier-grid form { margin-top: 1.5rem; }

.admin-section { padding: 3rem 0 7rem; background: #e8e6dc; min-height: 700px; }
.admin-layout { display: grid; grid-template-columns: 230px 1fr; gap: 2rem; align-items: start; }
.admin-stats { grid-template-columns: repeat(4, 1fr); }
.admin-panel { margin-bottom: 1.5rem; }
.admin-form { display: grid; grid-template-columns: repeat(2, 1fr); align-items: end; gap: 1rem; padding: 1.5rem; margin-bottom: 1.5rem; background: var(--ivory); border: 1px solid var(--line); }
.admin-form .button { width: fit-content; }
.settings-list { display: grid; gap: 1rem; }
.settings-list form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.upload-form { display: flex; gap: 1rem; padding: 1.5rem; margin-bottom: 1.5rem; background: var(--ivory); }
.upload-form input { background: #fff; }

.not-found { min-height: 630px; padding: 6rem 2rem; display: grid; place-content: center; justify-items: center; text-align: center; background: var(--ivory); }
.not-found span { color: var(--gold); font: 500 clamp(6rem, 15vw, 13rem)/.8 var(--serif); }
.not-found h1 { max-width: 700px; font: 600 2.5rem var(--serif); color: var(--green-900); }
.toast { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 500; max-width: min(430px, calc(100vw - 3rem)); padding: .9rem 1.2rem; color: #fff; background: var(--green-800); border-left: 4px solid var(--gold); box-shadow: var(--shadow); transform: translateY(140%); opacity: 0; transition: .25s ease; }
.toast.visible { transform: none; opacity: 1; }
.toast.error { background: var(--red); }
.mobile-dock { display: none; }

.site-footer { color: rgba(255,255,255,.68); background: var(--green-950); padding: 5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 4rem; }
.footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: .45rem; }
.footer-grid h2 { margin: .7rem 0 0; color: #fff; font: 600 1.8rem var(--serif); }
.footer-grid h3 { margin: 0 0 .7rem; color: var(--gold-bright); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid p, .footer-grid address { max-width: 280px; margin: 0; font-size: .78rem; font-style: normal; }
.footer-grid a { font-size: .78rem; }
.footer-grid a:hover { color: var(--gold-bright); }
.social-links { display: grid; }
.footer-bottom { margin-top: 4rem; padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .65rem; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroReveal { from { opacity: .4; transform: scale(1.05); } to { opacity: 1; transform: none; } }

@media (max-width: 1240px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open { position: absolute; top: 100%; left: 0; z-index: 305; width: 100vw; height: calc(100dvh - var(--header-height) - var(--mobile-dock-height)); display: grid; align-content: start; gap: 0; padding: 1.25rem max(4vw, 20px) 2rem; background: var(--ivory); box-shadow: 0 28px 55px rgba(7,31,26,.22); overflow-y: auto; overscroll-behavior: contain; }
  .main-nav.open a { padding: .85rem 0; font: 600 2rem/1.2 var(--serif); border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .header-book { display: none; }
  .hero-inner { gap: 4vw; }
  .hero-copy h1 { font-size: clamp(3.6rem, 7vw, 6.3rem); }
}

@media (max-width: 900px) {
  :root { --shell: min(90vw, 760px); --header-height: 62px; --mobile-dock-height: calc(54px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: var(--mobile-dock-height); }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .account-link span, .icon-link { display: none; }
  .language-picker summary { width: 34px; height: 34px; min-height: 34px; justify-content: center; padding: 0; }
  .language-picker summary span { display: none; }
  .home-hero { min-height: 740px; }
  .hero-inner { grid-template-columns: 1fr; align-content: center; padding: 5rem 0 3rem; }
  .hero-copy h1 { font-size: clamp(3.4rem, 12vw, 6rem); }
  .hero-status { max-width: 520px; }
  .hero-stats div { min-height: 100px; padding: 1.2rem; display: grid; gap: .3rem; }
  .hero-stats b { font-size: 2rem; }
  .page-hero { min-height: 250px; }
  .page-hero-compact { min-height: 205px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .split-feature, .bistro-inner, .table-options article, .manifesto, .lesson-layout, .menu-layout, .visit-grid, .auth-page { grid-template-columns: 1fr; }
  .split-feature { min-height: 0; }
  .split-image { min-height: 440px; }
  .split-copy { padding: 5rem 5vw; }
  .bistro-inner { width: 100%; }
  .bistro-inner > div { width: var(--shell); margin: auto; }
  .bistro-inner img { height: 480px; clip-path: none; }
  .table-options article:nth-child(even) img { order: 0; }
  .table-options article > div { padding: 3rem; }
  .archive-banner { grid-template-columns: auto 1fr; }
  .archive-banner select { grid-column: 1/-1; width: 100%; }
  .membership-cta { align-items: start; flex-direction: column; }
  .booking-panel, .menu-photo { position: static; }
  .event-list { grid-template-columns: 1fr; }
  .menu-photo { max-height: 470px; overflow: hidden; }
  .menu-photo img { width: 100%; max-height: 430px; }
  .auth-photo { min-height: 360px; max-height: 420px; }
  .auth-panel { min-height: 650px; }
  .account-layout, .admin-layout { grid-template-columns: 1fr; }
  .member-nav, .admin-nav { position: static; display: flex; overflow-x: auto; }
  .member-nav a, .member-nav button, .admin-nav a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
  .member-nav form { border: 0; margin: 0; padding: 0; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 320; height: var(--mobile-dock-height); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom, 0); background: var(--green-950); border-top: 1px solid rgba(255,255,255,.15); box-shadow: 0 -8px 30px rgba(7,31,26,.2); }
  .mobile-dock a { min-width: 0; display: grid; place-items: center; align-content: center; gap: .3rem; padding: .05rem .15rem; border: 0; border-right: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.72); background: transparent; font-size: .68rem; font-weight: 800; line-height: 1; text-align: center; }
  .mobile-dock .mobile-dock-primary { color: var(--green-950); background: var(--gold); }
  .mobile-dock .icon { width: 1.1rem; height: 1.1rem; }
  .toast { bottom: calc(var(--mobile-dock-height) + 16px); }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 32px); }
  .brand strong { font-size: 1rem; }
  .brand-logo { width: 40px; height: 40px; }
  .main-nav.open a { padding: .72rem 0; font-size: 1.45rem; }
  .header-actions { gap: .2rem; }
  .home-hero { min-height: 750px; }
  .hero-inner { padding-top: 4rem; }
  .hero-copy h1 { font-size: 10vw; }
  .hero-copy p { font-size: .94rem; }
  .hero-status { padding: 1.1rem; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; width: 100%; }
  .hero-stats div { padding: .8rem; border-left: 0 !important; }
  .hero-stats b { font-size: 1.6rem; }
  .hero-stats span { font-size: .53rem; }
  .button-row .button { flex: 1 1 100%; }
  .section { padding: 4.5rem 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 2rem; }
  .section-head h2 { font-size: 2.65rem; }
  .page-hero { min-height: 220px; padding: 2rem 0 1.75rem; }
  .page-hero h1 { font-size: 9vw; }
  .page-hero p { font-size: .9rem; }
  .page-hero-image::after { background: linear-gradient(90deg, rgba(2,12,10,.85) 0%, rgba(2,12,10,.62) 58%, rgba(2,12,10,.38) 100%), linear-gradient(180deg, rgba(2,12,10,.18), rgba(2,12,10,.42)); }
  .page-hero-compact { min-height: 190px; }
  .card-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .split-image { min-height: 340px; }
  .split-copy h2, .bistro-inner h2 { font-size: 3.2rem; }
  .bistro-inner img { height: 390px; }
  .news-list article { grid-template-columns: 48px 1fr; gap: .8rem; }
  .news-number { font-size: 1.6rem; }
  .table-options article { min-height: 0; }
  .table-options img { min-height: 260px; height: 260px; }
  .table-options article > div { padding: 2rem; }
  .archive-banner { grid-template-columns: 1fr; }
  .archive-banner select { grid-column: auto; }
  .manifesto blockquote { font-size: 2.45rem; }
  .membership-cta, .group-cta { padding: 2rem; align-items: start; flex-direction: column; }
  .stack-list .content-card { grid-template-columns: 1fr; }
  .stack-list .card-image { min-height: 210px; }
  .booking-panel, .booking-form { padding: 1.4rem; }
  .form-grid, .admin-form { grid-template-columns: minmax(0, 1fr); }
  .booking-form input[type="date"], .booking-form input[type="time"] { display: block; width: 100%; min-inline-size: 0; max-inline-size: 100%; }
  .full-field { grid-column: auto; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .menu-layout { gap: 2rem; }
  .menu-photo { max-height: none; }
  .menu-photo img { max-height: 380px; }
  .visit-card { padding: 2rem; }
  .visit-card h2 { font-size: 2.5rem; }
  .map-panel { min-height: 360px; }
  .map-toolbar { top: 12px; left: 12px; right: 12px; gap: .5rem; }
  .map-hint, .map-open-action { padding: .48rem .6rem; font-size: .62rem; }
  .map-hint { max-width: 64%; }
  .map-status { left: 12px; bottom: 28px; max-width: calc(100% - 24px); }
  .auth-photo { display: none; }
  .auth-panel { min-height: 680px; padding: 2rem 1rem 4rem; }
  .member-summary { grid-template-columns: 1fr; }
  .member-summary article { min-height: 110px; }
  .tier-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-stats article { min-height: 115px; }
  .admin-panel { padding: 1rem; }
  .settings-list form, .upload-form { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
