:root {
  --night: #1b110c;
  --wall: #2b1d16;
  --panel: #3a2a20;
  --red: #b3201c;
  --red-dark: #8e1713;
  --gold: #e8c35a;
  --brass: #b8913f;
  --cream: #f4ead8;
  --paper: #fbf5ea;
  --ink: #22170f;
  --muted: #6c5c4c;
  --line: #d9c8ab;
  --serif: "Old Standard TT", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; padding-bottom: 76px; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h2 { font-size: clamp(36px, 9vw, 64px); letter-spacing: -.01em; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: var(--s2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.demo { background: #3d3d5c; color: #eceaf4; font-size: 12px; text-align: center; padding: 6px var(--s2); }

.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 10px var(--s2); background: rgba(27, 17, 12, .96); color: var(--cream); border-bottom: 1px solid rgba(232, 195, 90, .25); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__crown { width: 26px; height: 18px; fill: var(--gold); }
.logo span { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .16em; line-height: 1; display: flex; flex-direction: column; }
.logo small { font-family: var(--sans); font-weight: 500; font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); margin-top: 4px; }
.nav__links { display: none; gap: 30px; font-size: 14px; }
.nav__links a { text-decoration: none; color: #dccfba; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav__links a:hover { color: var(--gold); border-color: var(--gold); }
.nav .nav__book { display: none; }
.hero__text { min-width: 0; }

.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; text-decoration: none; font: 700 15px/1.1 var(--sans); padding: 16px 26px; border-radius: 3px; border: 0; cursor: pointer; transition: background .15s, color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; box-shadow: inset 0 -3px 0 var(--red-dark); }
.btn--red:hover { background: #c8281f; }
.btn--gold { background: var(--gold); color: var(--night); box-shadow: inset 0 -3px 0 var(--brass); }
.btn--gold:hover { background: #f1d070; }
.btn--ghost { color: var(--cream); border: 1px solid rgba(244, 234, 216, .5); }
.btn--ghost:hover { background: rgba(244, 234, 216, .1); }
.btn--line { color: var(--ink); border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.hero { position: relative; color: var(--cream); background: var(--night); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 17, 12, .2), rgba(27, 17, 12, .75) 55%, var(--night)); }
.hero__inner { position: relative; z-index: 1; padding: var(--s5) var(--s2) var(--s3); display: grid; gap: var(--s4); max-width: 1240px; margin: 0 auto; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hero h1 { margin: var(--s2) 0 var(--s3); font-size: clamp(60px, 19.5vw, 200px); font-weight: 700; letter-spacing: .02em; line-height: .86; }
.h1__small { display: block; font-size: clamp(24px, 6.4vw, 40px); font-weight: 400; font-style: italic; letter-spacing: 0; line-height: 1.2; color: var(--gold); margin-bottom: 4px; }
.lead { font-size: 17px; color: #e6dac6; max-width: 40ch; }
.hero__actions { display: grid; gap: 10px; margin-top: var(--s3); }
.hero__booth { display: none; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(232, 195, 90, .35); padding-top: var(--s2); }
.facts li { padding-right: 10px; }
.facts li + li { border-left: 1px solid rgba(232, 195, 90, .2); padding-left: 12px; }
.facts b { display: block; font-family: var(--serif); font-size: 28px; color: var(--gold); line-height: 1.1; }
.facts span { font-size: 12px; color: #cbbca4; line-height: 1.35; display: block; margin-top: 4px; }

.ticker { background: var(--red); color: #fff; overflow: hidden; border-block: 3px solid var(--night); }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 14px 0; animation: run 38s linear infinite; }
.ticker span { font-family: var(--serif); font-size: 22px; font-style: italic; white-space: nowrap; }
.ticker svg { width: 13px; height: 22px; fill: var(--gold); flex: none; }
@keyframes run { to { transform: translateX(-50%); } }

.menu { padding: var(--s5) var(--s2); background: var(--paper) repeating-linear-gradient(90deg, transparent 0 46px, rgba(160, 128, 96, .06) 46px 47px); }
.card { max-width: 1080px; margin: 0 auto; background: #fffaf1; border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: -10px; padding: var(--s4) var(--s3); box-shadow: 0 30px 60px -30px rgba(43, 29, 22, .35); }
.card__head { text-align: center; margin-bottom: var(--s3); }
.card__crown { width: 44px; height: 30px; fill: var(--red); margin: 0 auto 10px; display: block; }
.card__est { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.card__head h2 { font-size: clamp(56px, 16vw, 104px); font-style: italic; margin: 6px 0 2px; }
.card__sub { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.card__sub::before, .card__sub::after { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--line); vertical-align: middle; margin: 0 12px; }

.tabs { display: flex; justify-content: center; gap: 0; border-block: 1px solid var(--ink); margin: 0 calc(var(--s3) * -1) var(--s4); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1 0 auto; min-height: 50px; font: 700 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 0 18px; background: none; border: 0; color: var(--muted); cursor: pointer; position: relative; }
.tabs button + button { border-left: 1px solid var(--line); }
.tabs button[aria-selected="true"] { color: var(--paper); background: var(--ink); }
.tabs button:hover:not([aria-selected="true"]) { color: var(--red); }

.panel { display: grid; gap: var(--s4); animation: rise .35s ease; }
.panel[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.arch { border-radius: 999px 999px 4px 4px; overflow: hidden; border: 6px solid var(--paper); outline: 1px solid var(--brass); max-width: 340px; margin: 0 auto; width: 100%; aspect-ratio: 3 / 4; background: var(--wall); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.items { list-style: none; }
.items li { display: grid; grid-template-columns: auto auto 1fr auto; align-items: baseline; column-gap: 10px; padding: 16px 0; border-bottom: 1px solid #eadcc4; }
.items .n { font: 500 12px var(--mono); color: var(--red); }
.items h3 { font-size: 24px; }
.items i { border-bottom: 2px dotted #c7b392; transform: translateY(-5px); min-width: 12px; }
.items em { font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--red); white-space: nowrap; }
.items p { grid-column: 2 / -1; color: var(--muted); font-size: 15px; margin-top: 4px; }
.card__foot { text-align: center; margin-top: var(--s4); font-size: 14px; color: var(--muted); }
.card__foot a { color: var(--red); font-weight: 700; }

.signature { background: var(--red); color: #fff; display: grid; position: relative; overflow: hidden; }
.signature__inner { padding: var(--s5) var(--s2); position: relative; z-index: 1; }
.signature__bolt { position: absolute; right: -30px; top: 20px; width: 160px; height: 270px; fill: rgba(0, 0, 0, .12); z-index: -1; }
.signature .eyebrow { color: var(--gold); }
.signature h2 { font-size: clamp(48px, 13vw, 96px); font-style: italic; }
.signature h2 span { display: block; color: var(--gold); font-style: normal; line-height: .8; }
.signature blockquote { font-family: var(--serif); font-size: 22px; line-height: 1.45; margin: var(--s3) 0 10px; max-width: 30ch; }
.cite { font-size: 13px; color: #f6c9c3; margin-bottom: var(--s4); }
.signature__img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.salon { background: var(--wall) repeating-linear-gradient(90deg, transparent 0 120px, rgba(0, 0, 0, .18) 120px 122px, transparent 122px 124px); color: var(--cream); padding: var(--s5) var(--s2); }
.salon__head { max-width: 1080px; margin: 0 auto var(--s4); }
.salon .eyebrow { color: var(--gold); }
.salon__head p:last-child { color: #d3c4ad; max-width: 52ch; margin-top: var(--s2); }
.wall { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s2); align-items: start; }
.frame > div { padding: 10px; background: linear-gradient(135deg, #f2d37a, #9c7428 40%, #e8c35a 60%, #7d5a1c); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .6); }
.frame img { width: 100%; height: 100%; object-fit: cover; border: 3px solid #241710; }
.frame figcaption { margin: 12px auto 0; width: fit-content; background: #efe3c9; color: var(--ink); font-size: 11px; padding: 5px 10px; letter-spacing: .04em; box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.frame figcaption b { font-family: var(--serif); margin-right: 4px; }
.f1 { grid-column: 1 / -1; }
.f1 > div { aspect-ratio: 5 / 4; }
.f2 { grid-column: 1 / -1; }
.f2 > div { aspect-ratio: 16 / 10; }
.f3 > div, .f4 > div { aspect-ratio: 3 / 4; }
.f4 { margin-top: var(--s4); }

.gazette { background: #f1e8d6; padding: var(--s5) var(--s2); }
.gazette__mast { max-width: 1080px; margin: 0 auto var(--s4); text-align: center; }
.gazette__mast > p:first-child, .gazette__rule { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 0; }
.gazette__mast > p:first-child { border-bottom: 1px solid var(--ink); }
.gazette__mast h2 { font-size: clamp(38px, 11vw, 92px); font-weight: 700; padding: 10px 0; }
.gazette__rule { border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); }
.gazette__cols { max-width: 1080px; margin: 0 auto; display: grid; gap: var(--s3); }
.gazette article { border-bottom: 1px solid #cdbb9a; padding-bottom: var(--s3); }
.gazette h3 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.gazette article p { font-family: var(--serif); font-size: 17px; line-height: 1.55; }
.lead-story h3 { font-size: clamp(32px, 8vw, 48px); font-style: italic; font-weight: 400; }
.gazette .by { font: 700 12px var(--sans) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.gazette__more { display: block; width: fit-content; margin: var(--s4) auto 0; font-weight: 700; color: var(--red); text-underline-offset: 4px; }

.book { background: var(--night); color: var(--cream); padding: var(--s5) var(--s2); display: grid; gap: var(--s4); }
.book .eyebrow { color: var(--gold); }
.book__intro p:last-child { color: #d3c4ad; margin-top: var(--s2); }
.tent { position: relative; display: grid; gap: 14px; background: var(--paper); color: var(--ink); padding: 0 var(--s3) var(--s3); border-top: 6px solid var(--red); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); max-width: 560px; width: 100%; }
.tent__top { text-align: center; padding: var(--s3) 0 var(--s2); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tent__top svg { width: 34px; height: 24px; fill: var(--red); display: block; margin: 0 auto 4px; }
.tent__top p { font-family: var(--serif); font-size: 44px; font-style: italic; line-height: 1; }
.tent__top span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.tent label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tent input, .tent select { width: 100%; font: 500 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; min-height: 50px; -webkit-appearance: none; appearance: none; text-transform: none; letter-spacing: 0; }
.tent select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236c5c4c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.tent input:focus, .tent select:focus { outline: 2px solid var(--red); border-color: var(--red); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tent .btn { width: 100%; margin-top: 6px; }
.tent__hint { font-size: 13px; color: var(--muted); text-align: center; }

.visit { padding: var(--s5) var(--s2); display: grid; gap: var(--s4); max-width: 1240px; margin: 0 auto; }
.board { background: #111; border-radius: 6px; padding: var(--s2); font-family: var(--mono); color: #ffc93c; box-shadow: inset 0 0 0 2px #2b2b2b, 0 20px 40px -20px rgba(0, 0, 0, .5); }
.board__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #333; margin-bottom: 6px; color: #fff; font-size: 14px; }
.board__head #clock { margin-left: auto; color: #ffc93c; }
.roundel { width: 22px; height: 22px; border-radius: 50%; border: 5px solid var(--red); position: relative; flex: none; }
.roundel::after { content: ""; position: absolute; left: -9px; right: -9px; top: 50%; height: 6px; margin-top: -3px; background: #1d3a8a; }
.board__row { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; font-size: 16px; }
.board__row i { flex: 1; border-bottom: 2px dotted #4a3d1a; }
.board__status { margin-top: 8px; padding-top: 12px; border-top: 1px solid #333; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.board__status.closed { color: #ff6b5e; }
.visit__info p:not(.eyebrow) { color: var(--muted); margin: var(--s2) 0 var(--s3); max-width: 40ch; }
.visit__links { display: flex; flex-wrap: wrap; gap: 10px; }
.map { width: 100%; height: 320px; border: 0; filter: sepia(.3) saturate(.85); border: 1px solid var(--line); }

.foot { background: var(--night); color: #b9a78b; text-align: center; padding: var(--s4) var(--s2); font-size: 14px; overflow: hidden; }
.foot__word { font-family: var(--serif); font-weight: 700; font-size: clamp(80px, 26vw, 300px); line-height: .9; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px rgba(232, 195, 90, .5); margin-bottom: var(--s2); }
.foot a { color: var(--gold); }

.bar { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 2fr; gap: 6px; padding: 6px; border-radius: 6px; background: rgba(27, 17, 12, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 3px; color: var(--cream); }
.bar__main { background: var(--red); color: #fff !important; }

.toast { position: fixed; z-index: 40; left: 50%; bottom: 96px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 4px; font-size: 14px; width: max-content; max-width: calc(100% - 32px); transition: .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bar { display: none; }
  .nav { padding: 12px 40px; }
  .nav__links { display: flex; }
  .nav .nav__book { display: inline-flex; min-height: 0; padding: 11px 18px; font-size: 14px; }
  .hero__img { width: 62%; opacity: .7; }
  .hero::after { background: linear-gradient(90deg, rgba(27, 17, 12, .1) 0%, rgba(27, 17, 12, .7) 45%, var(--night) 64%); }
  .hero__inner { grid-template-columns: 1fr 380px; grid-template-areas: "text booth" "facts facts"; padding: 96px 40px 40px; align-items: end; column-gap: 64px; }
  .hero__text { grid-area: text; min-width: 0; }
  .hero h1 { font-size: clamp(110px, 11.5vw, 176px); }
  .hero__actions { display: flex; }
  .hero__booth { grid-area: booth; display: block; border: 8px solid var(--red); border-radius: 180px 180px 4px 4px; overflow: hidden; background: var(--red); transform: rotate(2deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
  .hero__booth img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 30% 50%; width: 100%; }
  .hero__booth figcaption { background: var(--night); color: var(--gold); font: italic 15px var(--serif); text-align: center; padding: 10px; }
  .facts { grid-area: facts; max-width: 720px; }
  .menu { padding: var(--s6) 40px; }
  .card { padding: var(--s5) var(--s5); }
  .tabs { margin: 0 auto var(--s5); max-width: 640px; border: 1px solid var(--ink); }
  .panel { grid-template-columns: 340px 1fr; gap: var(--s5); align-items: start; }
  .arch { position: sticky; top: 100px; }
  .signature { grid-template-columns: 1fr 1fr; }
  .signature__inner { padding: var(--s6) 64px; align-self: center; }
  .signature h2 span { display: inline; padding: 0 .08em; }
  .signature__img { aspect-ratio: auto; height: 100%; }
  .signature__bolt { width: 260px; height: 440px; right: 0; }
  .salon { padding: var(--s6) 40px; }
  .wall { grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s4); }
  .f1 { grid-column: 1; grid-row: 1 / 3; }
  .f2 { grid-column: 2 / 4; margin-top: var(--s5); }
  .f3 { margin-top: 0; }
  .f4 { margin-top: var(--s4); }
  .gazette { padding: var(--s6) 40px; }
  .gazette__cols { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; column-gap: var(--s4); }
  .gazette article { padding-bottom: var(--s3); }
  .lead-story { grid-row: 1 / 3; border-right: 1px solid #cdbb9a; padding-right: var(--s4); border-bottom: 0 !important; }
  .gazette article:nth-child(4) { grid-column: 2 / 4; border-bottom: 0; }
  .book { padding: var(--s6) 40px; grid-template-columns: 1fr 1fr; align-items: center; column-gap: var(--s5); justify-items: center; }
  .book__intro { max-width: 460px; }
  .visit { padding: var(--s6) 40px; grid-template-columns: 1fr 1fr; align-items: center; column-gap: var(--s5); }
  .board { grid-column: 1; grid-row: 1; }
  .visit__info { grid-column: 1; grid-row: 2; }
  .map { grid-column: 2; grid-row: 1 / 3; height: 100%; min-height: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .panel { animation: none; }
}
