@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(/fonts/barlow-400.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(/fonts/barlow-500.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 500; font-style: italic; font-display: swap; src: url(/fonts/barlow-500i.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 700; font-display: swap; src: url(/fonts/barlow-700.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 800; font-display: swap; src: url(/fonts/barlow-800.woff2) format('woff2'); }

:root {
  --ink: #232323;
  --gray: #707070;
  --light: #8d8d8d;
  --line: #e4e4e4;
  --soft: #f6f6f4;
  --red: #e83f43;
  --deep: #0f2027;
  --green: #1f8f55;
  --amber: #b86e00;
  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(.23, 1, .75, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body { margin: 0; font-family: Barlow, system-ui, sans-serif; font-size: 1.125rem; line-height: 1.6; color: var(--gray); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.site-nav { max-width: var(--wrap); margin: 0 auto; padding: 1.25rem var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-size: 1.75rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.accent { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); text-decoration: none; position: relative; }
.nav-links a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-block; padding: .7rem 1.2rem; background: var(--ink); color: #fff !important; transition: background .3s; }
.nav-cta:hover { background: var(--red); }
.menu-toggle { display: none; border: 0; background: none; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); padding: .5rem 0; }

/* ---------- Shared bits ---------- */
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--light); margin-bottom: 1rem; }
.eyebrow img { width: 28px; height: auto; }
.eyebrow.red { color: var(--red); }
.underline-title, .hero-title { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 500; line-height: 1.1; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: .18em; }
.underline-title span, .hero-title span { color: var(--ink); }
.gradient-text { background: linear-gradient(45deg, var(--red), var(--ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.square-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.4rem; padding: 0 1.6rem; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.square-btn:hover { background: var(--ink); color: #fff; }
.square-btn.dark { background: var(--ink); color: #fff; }
.square-btn.dark:hover { background: var(--red); border-color: var(--red); }
.square-btn[aria-pressed=true] { background: var(--red); border-color: var(--red); color: #fff; }
.square-btn.full { width: 100%; }
.square-btn:disabled { opacity: .55; cursor: progress; }
.text-btn, .inline-link { border: 0; background: none; padding: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .25em; font-weight: 500; }
.text-btn:hover, .inline-link:hover { color: var(--red); }

/* Square arrow controls (kathykato) */
.arrows { display: flex; }
.arrow { width: 55px; height: 55px; border: 1px solid var(--ink); background: #fff; display: grid; place-items: center; transition: background .3s; }
.arrow + .arrow { border-left: 0; }
.arrow:hover { background: var(--soft); }
.arrow-icon { position: relative; width: 20px; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
.arrow-icon::before { content: ''; position: absolute; top: -4px; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 0 1px 1px; }
.prev .arrow-icon::before { left: 0; transform: rotate(45deg); }
.next .arrow-icon::before { right: 0; transform: rotate(-135deg); }
.arrow:hover .arrow-icon { transform: scale(1.5); }
.arrow.light { border-color: rgba(255, 255, 255, .6); background: transparent; }
.arrow.light .arrow-icon, .arrow.light .arrow-icon::before { background-color: #fff; border-color: #fff; }
.arrow.light .arrow-icon::before { background: none; }
.arrow.light:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Hero slider ---------- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3.5rem) var(--pad) 2rem; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { padding: 1rem 0; }
.hero-text { margin-top: 1.75rem; font-size: 1.25rem; max-width: 26rem; }
.hero-image { position: relative; display: block; width: 100%; height: clamp(320px, 62vh, 640px); padding: 0; border: 0; background: var(--soft); overflow: hidden; cursor: zoom-in; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-image::before { content: ''; position: absolute; inset: 0; z-index: 2; background: #fff; transform: scaleX(0); transform-origin: 100% 50%; pointer-events: none; }
.hero-slide.is-active .hero-image::before { animation: revealRight 1s var(--ease) both; }
.hero-slide.is-active .hero-copy > * { animation: fadeInLeft .8s var(--ease) both; }
.hero-slide.is-active .hero-copy > .hero-title { animation-delay: .15s; }
.hero-slide.is-active .hero-copy > .hero-text { animation: fadeIn .8s ease .5s both; }
@keyframes revealRight { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(20%); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-controls { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: 1.5rem; }
.hero-counter { font-size: 1rem; letter-spacing: .1em; color: var(--light); }
.hero-counter span:first-child { color: var(--ink); font-weight: 600; font-size: 1.4rem; }
.hero-controls .arrows { justify-self: end; grid-column: 2; grid-row: 1; }
.hero-progress { grid-column: 2; grid-row: 1; height: 1px; background: var(--line); margin-right: 140px; }
.hero-progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.hero-progress span.run { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.paused .hero-progress span.run { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Council (kristen17 coverflow) ---------- */
.council { position: relative; overflow: hidden; background: var(--soft); margin-top: clamp(3rem, 7vw, 6rem); }
.council-bg { position: absolute; z-index: 0; opacity: .08; pointer-events: none; width: auto; }
.council-bg.bg1 { height: 150px; left: -24px; bottom: -40px; transform: rotate(-8deg); }
.council-bg.bg2 { height: 120px; right: -10px; bottom: -14px; }
.council-inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--pad); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.kicker { display: block; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: #717171; }
.gradient-title { margin-top: .75rem; font-size: clamp(3rem, 5vw, 4.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; background: linear-gradient(45deg, var(--red), #000 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.council-intro hr { width: 6.25rem; height: .25rem; border: 0; background: var(--red); margin: 1.25rem 0 1.75rem; }
.council-intro > p { max-width: 28rem; }
.duties { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.5rem 0 2rem; }
.duties li { padding: .35rem .9rem; border: 1px solid #d4d4d4; border-radius: 50px; font-size: .9rem; color: var(--ink); background: #fff; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.pill-link { display: inline-block; padding: .625rem 1.875rem; border: 2px solid #c2c2c2; border-radius: 3.125rem; background: transparent; color: var(--ink); font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; transition: color .3s, border-color .3s; }
.pill-link:hover { border-color: var(--red); color: var(--red); }
.plain-link { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--red); }
.plain-link:hover { color: var(--red); }

.flow { position: relative; outline: none; padding-bottom: 3rem; touch-action: pan-y; user-select: none; }
.flow:focus-visible { outline: 2px dashed var(--red); outline-offset: 8px; }
.flow-track { position: relative; height: 28.125rem; }
.member { position: absolute; left: 50%; top: 0; width: 18.75rem; height: 28.125rem; margin-left: -9.375rem; overflow: hidden; border-radius: 4px; background: var(--deep); box-shadow: 0 18px 40px rgba(15, 32, 39, .22); transition: transform .7s var(--ease), filter .7s, opacity .7s; cursor: pointer; }
.member.is-active { cursor: default; }
.member:not(.is-active) { filter: brightness(.72); }
.member::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, #0f2027 8%, rgba(15, 32, 39, .35) 45%, transparent 70%); pointer-events: none; }
.member-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member.vacant { background: radial-gradient(120% 70% at 50% 28%, #3a6577 0%, #203a43 48%, #0f2027 100%); }
.member.vacant.lead { background: radial-gradient(120% 70% at 50% 28%, #b5473a 0%, #6e2420 50%, #2a0f0d 100%); }
.member.vacant::before { content: ''; position: absolute; inset: 0; opacity: .07; background: repeating-linear-gradient(0deg, transparent 0 17px, #fff 17px 18px), repeating-linear-gradient(90deg, transparent 0 35px, #fff 35px 36px); pointer-events: none; }
.member-art { position: absolute; inset: 0 0 auto; height: 60%; display: grid; place-items: center; }
.member-art svg { width: 66%; max-width: 200px; height: auto; overflow: visible; }
.member-art .ring { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.member-art .ring.outer { stroke-dasharray: 2 7; animation: seat-spin 30s linear infinite; }
.member-art .ring.inner { stroke: rgba(255, 255, 255, .12); stroke-dasharray: 26 10; animation: seat-spin 22s linear infinite reverse; }
.member-art .disc { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; }
.member-art .person { fill: rgba(236, 241, 243, .88); }
.member-art .badge .dot { fill: var(--red); stroke: #fff; stroke-width: 3; }
.member-art .badge .pulse { fill: var(--red); opacity: .5; transform-box: fill-box; transform-origin: center; animation: seat-pulse 2.2s ease-out infinite; }
.member-art text { fill: #fff; font-family: Barlow, sans-serif; font-weight: 800; font-size: 24px; text-anchor: middle; }
.member.vacant .member-art svg { transition: transform .7s var(--ease); }
.member.vacant.is-active:hover .member-art svg { transform: translateY(-4px) scale(1.03); }
.seat-status { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.seat-status i { width: 8px; height: 8px; border-radius: 50%; background: #5ee0a0; box-shadow: 0 0 0 4px rgba(94, 224, 160, .2); }
@keyframes seat-spin { to { transform: rotate(360deg); } }
@keyframes seat-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
.member-tag { position: absolute; z-index: 2; top: 1rem; left: 1rem; padding: .25rem .7rem; border-radius: 50px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.member.vacant .member-tag { background: var(--red); color: #fff; }
.member.vacant.lead .member-tag { background: #fff; color: #8e2a22; }
.member.is-right .member-tag { left: auto; right: 1rem; }
.member:not(.is-active) .member-tag { opacity: .85; }
.member-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.5rem; opacity: 0; transform: translateY(12px); transition: opacity .5s .2s, transform .5s .2s var(--ease); }
.member.is-active .member-content { opacity: 1; transform: none; }
.member-content h3 { color: #fff; font-size: 1.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.member-content p { color: #dadada; font-size: .9rem; line-height: 1.45; margin: .4rem 0 1rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.member-links { display: flex; gap: .5rem; }
.member-btn { display: inline-block; padding: .45rem 1.3rem; border: 2px solid #fff; border-radius: 50px; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.member-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.member-btn.ghost { background: transparent; color: #fff; }
.flow-dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: .6rem; }
.flow-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #c8c8c8; transition: background .3s, width .3s; }
.flow-dots button[aria-current=true] { width: 28px; border-radius: 6px; background: var(--red); }

/* ---------- Party room ---------- */
.room, .book { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--pad) 0; }
.section-head { position: relative; display: grid; grid-template-columns: auto auto; justify-content: start; align-items: end; column-gap: 2rem; margin-bottom: 3rem; }
.section-head .eyebrow { grid-column: 1 / -1; }
.head-icon { width: 120px; height: auto; transform: rotate(-6deg); }
.room-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.scene-card { margin: 0; }
#scene { width: 100%; height: auto; border: 1px solid var(--ink); background: #fff; }
.scene-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1rem; }
.time-control { flex: 1 1 260px; display: flex; align-items: center; gap: .9rem; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.time-control output { min-width: 3.2rem; font-size: 1.1rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
input[type=range] { flex: 1; accent-color: var(--red); }
.room-status { margin-top: .75rem; font-size: 1rem; color: var(--ink); }
.room-status::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: .6rem; vertical-align: middle; }
.room-status.quiet::before { background: var(--red); }
.room-status.closed::before { background: var(--light); }

/* SVG scene styling */
#scene text { font-family: Barlow, sans-serif; }
.s-ink { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.s-ink.thick { stroke-width: 3; }
.s-frame { fill: none; stroke: var(--ink); stroke-width: 3; }
.s-frame.filled { fill: var(--ink); }
.s-frame.poster { fill: #fff; }
.s-frame.face { fill: #fff; }
.s-frame.filled-red { fill: var(--red); stroke-width: 2; }
#table .s-frame { stroke-width: 2; fill: #fff; }
.s-upstairs { fill: var(--soft); transition: fill .6s; }
.s-wall { fill: #fff; transition: fill .6s; }
.s-floor { fill: #f1efea; }
.s-boards line { stroke: #d8d4cc; stroke-width: 1.5; }
.s-label { font-size: 18px; font-weight: 700; letter-spacing: .12em; fill: var(--ink); }
.s-sub { font-size: 13px; fill: var(--light); }
.s-poster { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-anchor: middle; fill: var(--red); }
.s-door { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-anchor: middle; fill: var(--light); }
.s-zzz { font-size: 20px; font-weight: 700; fill: var(--ink); }
.s-zzz.small { font-size: 13px; }
.s-hill { fill: #cfe3c6; }
#sun { fill: #f6b93b; transition: fill .6s; }
.s-hand { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.s-hand.hour { stroke-width: 4.5; }
.s-hand.second { stroke: var(--red); stroke-width: 1.5; }
.s-pin { fill: var(--red); }
#ticks line { stroke: var(--ink); stroke-linecap: round; }
#quiet-arc { fill: none; stroke: var(--red); stroke-width: 5; opacity: .5; }
.s-cal-top { fill: var(--red); }
.s-cal-month { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-anchor: middle; fill: #fff; }
.s-cal-day { font-size: 32px; font-weight: 600; text-anchor: middle; fill: var(--ink); }
.facets line { stroke: #8a959c; stroke-width: 1; }
#disco-ball .facets { animation: spin-facets 2.4s linear infinite paused; }
#scene.is-party #disco-ball .facets { animation-play-state: running; }
@keyframes spin-facets { to { transform: translateX(-14px); } }
.beam { opacity: .18; transform-box: view-box; transform-origin: 360px 150px; animation: sweep 4s ease-in-out infinite alternate paused; }
.beam.b1 { fill: var(--red); }
.beam.b2 { fill: #f6b93b; animation-duration: 5s; }
.beam.b3 { fill: #4aa3df; animation-duration: 3.4s; }
#scene.is-party .beam { animation-play-state: running; }
@keyframes sweep { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
#sparkles circle { fill: var(--red); animation: twinkle 1.6s ease-in-out infinite; }
#sparkles circle:nth-child(3n) { fill: #f6b93b; animation-delay: .5s; }
#sparkles circle:nth-child(3n+1) { animation-delay: 1s; }
@keyframes twinkle { 50% { opacity: .15; } }
#upstairs-windows rect { stroke: var(--ink); stroke-width: 2; fill: #dcebf4; transition: fill .6s; }
#scene.is-evening #upstairs-windows rect { fill: #ffd98a; }
#scene.is-quiet #upstairs-windows rect { fill: #2a3b44; }
#scanner-led { fill: var(--green); }
#scene.is-quiet #scanner-led { fill: var(--red); }
#switch { cursor: pointer; outline: none; }
#switch:focus-visible rect:first-child { stroke: var(--red); }
#switch-knob { fill: var(--ink); transition: transform .3s var(--ease); }
#scene.is-party #switch-knob { fill: var(--red); transform: translateY(10px); }
#rules-poster { cursor: pointer; }
#rules-poster:hover .poster, #rules-poster:focus-visible .poster { stroke: var(--red); }
#night { fill: #0f2027; opacity: 0; pointer-events: none; transition: opacity .8s; }
#scene.is-quiet #night { opacity: .26; }
#scene.is-party #night { opacity: .12; }
.party-only, .quiet-only { opacity: 0; transition: opacity .6s; }
#scene.is-party .party-only, #scene.is-quiet .quiet-only { opacity: 1; }
#char-cat { transform-box: fill-box; transform-origin: 50% 100%; }
#scene.is-party #char-cat { animation: dance .7s ease-in-out infinite alternate; }
#scene.is-party #char-people { animation: bounce .5s ease-in-out infinite alternate; }
@keyframes dance { from { transform: rotate(-7deg); } to { transform: rotate(7deg) translateY(-6px); } }
@keyframes bounce { to { transform: translateY(-4px); } }
#scene.is-quiet #char-shh { animation: hush 2.4s ease-in-out infinite; }
@keyframes hush { 50% { transform: translateY(-4px); } }

.room-info { display: grid; gap: 2rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts div { padding: 1.1rem 1rem 1.1rem 0; }
.facts div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.facts dt { font-size: 1.6rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.facts dd { margin: .35rem 0 0; font-size: .88rem; line-height: 1.4; }
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.rule-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1rem; align-items: center; }
.rule-list img { width: 56px; height: 44px; object-fit: contain; }
.rule-list p { font-size: 1rem; line-height: 1.5; }
.rule-list strong { color: var(--ink); font-weight: 600; }
.fine-note { font-size: .95rem; padding-left: 1rem; border-left: 3px solid var(--red); }
.room-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }

/* ---------- Booking ---------- */
.book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-bottom: clamp(4rem, 8vw, 7rem); }
.book-intro { position: relative; }
.book-intro > p:not(.eyebrow) { margin-top: 1.5rem; max-width: 26rem; }
.how { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: .75rem; }
.how li { display: flex; align-items: baseline; gap: 1rem; color: var(--ink); }
.how span { min-width: 1.6rem; font-size: .85rem; font-weight: 700; color: var(--red); letter-spacing: .08em; }
.booked { border-top: 1px solid var(--ink); padding-top: 1.25rem; max-width: 26rem; }
.booked h3 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .75rem; }
.booked ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: 1rem; }
.booked li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .4rem; }
.booked li strong { color: var(--ink); font-weight: 500; }
.book-cat { width: 110px; height: auto; margin-top: 2rem; }

.booking-form, .booking-success { border: 1px solid var(--ink); padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; }
.stepper { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.stepper li { padding-bottom: .9rem; font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--light); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .3s, border-color .3s; }
.stepper li span { margin-right: .5rem; color: inherit; }
.stepper li.is-current { color: var(--ink); border-color: var(--red); }
.stepper li.is-done { color: var(--ink); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.step.is-current { animation: fadeIn .4s ease both; }
.wide { grid-column: 1 / -1; }
.field { display: grid; gap: .4rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.field-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.field input, .field select, .field textarea, .page input:not([type=checkbox]), .page select, .page textarea {
  width: 100%; min-height: 3.1rem; padding: .7rem .9rem; border: 1px solid #cfcfcf; border-radius: 0; background: #fff; color: var(--ink);
  font-size: 1.05rem; font-weight: 400; text-transform: none; letter-spacing: 0; transition: border-color .2s, box-shadow .2s;
}
.field textarea, .page textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field select:focus, .field textarea:focus, .page input:focus, .page select:focus, .page textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; line-height: 1.5; color: var(--ink); cursor: pointer; }
.check input { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--red); }
.check.warn { padding: .9rem 1rem; background: #fff6e5; border-left: 3px solid var(--amber); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; margin-top: .4rem; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: .85rem; text-align: center; border: 1px solid var(--ink); font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); transition: background .2s, color .2s; }
.segmented label + label span { border-left: 0; }
.segmented input:checked + span { background: var(--ink); color: #fff; }
.segmented input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.cost { padding: 1rem 1.1rem; background: var(--soft); color: var(--ink); font-size: 1rem; }
.cost strong { font-weight: 600; }
.form-nav { display: flex; justify-content: flex-end; gap: 0; margin-top: 2rem; }
.form-nav .square-btn + .square-btn { border-left: 0; }
.form-nav #step-back { margin-right: auto; border-left: 1px solid var(--ink); }
.form-hint { font-size: .95rem; color: var(--light); }
.form-result { min-height: 1.5rem; margin-top: 1rem; font-size: 1rem; color: var(--ink); }
.form-result:empty { min-height: 0; margin: 0; }
.form-result.error { color: #c0282c; }
.booking-success h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.booking-success > p { margin-bottom: 1rem; }
.private-link { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.25rem; }
.private-link a { color: var(--ink); font-weight: 600; word-break: break-all; }
.contact-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { max-width: var(--wrap); margin: 0 auto; padding: 2.5rem var(--pad); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; font-size: 1rem; }
.site-footer .logo { font-size: 1.4rem; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.site-footer .text-btn { text-decoration: none; font-weight: 400; }

/* ---------- Dialogs ---------- */
dialog { width: min(36rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--gray); }
dialog::backdrop { background: rgba(15, 32, 39, .55); backdrop-filter: blur(3px); }
dialog[open] { animation: fadeIn .3s ease; }
dialog h2 { font-size: 2rem; margin-bottom: .75rem; }
.dialog-close { position: absolute; top: .75rem; right: .75rem; width: 2.5rem; height: 2.5rem; border: 0; background: none; font-size: 1.1rem; color: var(--ink); }
.dialog-close:hover { color: var(--red); }
.dialog-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.rules { padding-left: 1.25rem; margin: 1rem 0 1.75rem; display: grid; gap: .8rem; font-size: 1rem; }
.rules strong { color: var(--ink); font-weight: 600; }
#privacy-dialog p + p { margin-top: 1rem; }
#privacy-dialog .square-btn { margin-top: 1.5rem; }
.lightbox { width: min(1100px, calc(100vw - 2rem)); padding: 0; background: #111; border: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; background: #111; }
.lightbox figcaption { padding: 1rem 1.25rem; color: #ddd; font-size: 1rem; padding-right: 9rem; }
.lightbox .arrows { position: absolute; right: 1rem; bottom: .6rem; }
.lightbox .arrow { width: 46px; height: 46px; }
.lightbox .dialog-close { z-index: 3; color: #fff; background: rgba(0, 0, 0, .5); }

/* ---------- Subpages (booking + admin) ---------- */
.page { max-width: 980px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--pad) 5rem; display: grid; gap: 1.5rem; }
.page-title { margin-bottom: 1rem; }
.page-title h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); margin-bottom: 1rem; }
.page-title p:not(.eyebrow) { max-width: 40rem; }
.panel { border: 1px solid var(--line); background: #fff; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: .75rem; }
.panel h3 { font-size: 1.4rem; }
.panel.highlight { border-color: var(--red); box-shadow: 0 0 0 3px rgba(232, 63, 67, .15); }
.text-link { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: 0 1.4rem; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.pill:hover { background: var(--red); border-color: var(--red); }
.pill.light { background: #fff; color: var(--ink); }
.pill.light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.full { width: 100%; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 3rem; padding: 0 1.3rem; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: var(--red); border-color: var(--red); }
.button.small { min-height: 2.5rem; padding: 0 1rem; font-size: .78rem; }
.button.full { width: 100%; }
.button.light { background: #fff; color: var(--ink); }
.button.light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.ok { background: var(--green); border-color: var(--green); }
.button.ok:hover { background: #166b40; }
.button.danger { background: #fff; color: #c0282c; border-color: #c0282c; }
.button.danger:hover { background: #c0282c; color: #fff; }
.button.whatsapp { background: #25d366; border-color: #25d366; color: #0b3d1f; }
.button.whatsapp:hover { background: #1ebe5a; }
.button:disabled { opacity: .55; cursor: progress; }
.badge { display: inline-block; width: fit-content; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border: 1px solid currentColor; color: var(--amber); }
.badge.approved, .badge.sent { color: var(--green); }
.badge.rejected, .badge.failed { color: #c0282c; }
.badge.manual { color: var(--light); }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.status-grid strong { color: var(--ink); }
.dashboard-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.dashboard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.page .dashboard-actions input, .page .dashboard-actions select { width: auto; min-width: 14rem; min-height: 2.6rem; padding: .45rem .8rem; }
#dashboard { display: grid; gap: 1.25rem; }
.admin-section-title { font-size: 1.4rem; margin-top: 1rem; }
.login-panel { max-width: 28rem; }
.login-panel form { display: grid; gap: 1rem; }
.page label { display: grid; gap: .35rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.page label.checkbox { display: flex; align-items: center; gap: .6rem; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; }
.page label.checkbox input { width: 1.1rem; height: 1.1rem; accent-color: var(--red); }
.record-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.record-meta { font-size: .95rem; }
.record-event { color: var(--ink); white-space: pre-wrap; }
.record-form { display: grid; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
details summary { cursor: pointer; color: var(--ink); font-weight: 500; }
details[open] summary { margin-bottom: .5rem; }
.history-note { white-space: pre-wrap; font-size: .9rem; padding: .75rem 1rem; background: var(--soft); border-left: 3px solid var(--red); margin-top: .5rem; }
.admin-photos { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .95rem; }
.notification { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.notification:last-child { border-bottom: 0; }
.notification strong { color: var(--ink); }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: .5rem 0 0; }
.details-grid dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--light); }
.details-grid dd { margin: .2rem 0 0; color: var(--ink); }
.notice { padding: .9rem 1rem; background: #fff6e5; border-left: 3px solid var(--amber); color: var(--ink); }
.photo-upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.photo-upload { display: grid; gap: .6rem; padding: 1rem; border: 1px solid var(--line); }
.photo-upload h3 { font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .council-inner, .room-grid, .book { grid-template-columns: minmax(0, 1fr); }
  .council-intro { max-width: 36rem; }
  .book-cat { display: none; }
  .council-bg { display: none; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--pad) 1.25rem; background: #fff; border-bottom: 1px solid var(--line); }
  .nav-links:not(.open) { display: none; }
  .nav-links li a { display: block; padding: .8rem 0; }
  .nav-cta { text-align: center; margin-top: .5rem; }
  .hero-slide { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .hero-copy { order: 2; padding: 0; }
  .hero-image { height: 43vh; min-height: 260px; }
  .hero-controls { grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; }
  .hero-controls .arrows, .hero-progress { grid-column: auto; grid-row: auto; }
  .hero-progress { margin: 0; }
  .hero-text { margin-top: 1rem; font-size: 1.1rem; }
}
@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .step, .triple { grid-template-columns: minmax(0, 1fr); }
  .head-icon { width: 84px; }
  .flow-track { height: 25rem; }
  .member { width: 15.5rem; height: 25rem; margin-left: -7.75rem; }
  .member:not(.is-active) .member-tag { opacity: 0; }
  .form-nav .square-btn { padding: 0 1.1rem; }
  .council-bg.bg2 { display: none; }
}
