/* Gueridon base: reset, type, buttons, header, footer, forms and the shared parts. Page sections are in sections.css. Colors and sizes come from tokens.css.
   The look is a dining room at night: wine-dark walls, cream linen, one amber candle, and the italic serif as the voice of the house. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--night); color: var(--ink); font: 400 var(--text-base)/1.62 var(--font-body); }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 var(--space-md); font-family: var(--font-display); font-weight: 500; line-height: 1.06; letter-spacing: -.012em; color: var(--ink); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: var(--text-display); line-height: 1; letter-spacing: -.02em; }
h2 { font-size: var(--text-display-s); }
h3 { font-size: var(--text-lg); line-height: 1.15; }
h4 { font-size: var(--text-md); }
p { margin: 0 0 var(--space-md); }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
table { border-collapse: collapse; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--night); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: 48rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--space-md); top: -4rem; z-index: 1000; padding: .6em 1em; background: var(--amber); color: var(--night); font-family: var(--font-body); font-weight: 600; }
.skip:focus { top: var(--space-md); }
.fig { font-variant-numeric: lining-nums tabular-nums; }
.lede { font-size: var(--text-md); line-height: 1.5; color: var(--ink-2); max-width: 36rem; }
.note { font-size: var(--text-sm); color: var(--muted); }
/* The voice of the house: a short italic line in amber above a heading, where a template would put a label in capitals. */
.voice { display: block; margin: 0 0 var(--space-sm); font: italic 400 var(--text-md)/1.3 var(--font-display); color: var(--accent); }
.voice--big { font-size: var(--text-lg); }
h1 em, h2 em, .em-line { display: block; font-style: italic; font-weight: 400; color: var(--accent); }

/* Bands: paper swaps the live tokens, so every part inside just works. */
.band--paper { --ink: var(--ink-paper); --ink-2: var(--ink-2-paper); --muted: var(--muted-paper); --rule: var(--rule-paper); --rule-2: var(--rule-paper); --accent: var(--wine); --field: var(--white); --focus: var(--wine); --error: #8f1d1d; --ok: #2f6b3a; background: var(--cream); color: var(--ink); color-scheme: light; }
.band--night-2 { background: var(--night-2); }
.band--wine { background: var(--wine-deep); }
.section { padding-block: clamp(4rem, 9vw, var(--space-3xl)); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 6vw, var(--space-2xl)); }
.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-lg) var(--space-2xl); align-items: end; margin-bottom: clamp(2rem, 5vw, var(--space-2xl)); }
.head h2 { margin: 0; }
.head p { margin: 0; color: var(--ink-2); max-width: 32rem; }
.head--solo { grid-template-columns: minmax(0, 1fr); max-width: 50rem; }
.head--center { grid-template-columns: minmax(0, 1fr); max-width: 44rem; margin-inline: auto; text-align: center; }
.head--center .voice { text-align: center; }
@media (max-width: 760px) { .head { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); align-items: start; } }
/* A rule that draws itself from the left when it scrolls into view, like a line on a menu card. */
.rule { display: block; height: 1px; margin: 0 0 var(--space-lg); border: 0; background: var(--rule-2); transform-origin: left; }
.js .rule { transform: scaleX(0); transition: transform var(--dur-draw) var(--ease-out); }
.js .rule.is-in { transform: none; }

/* Buttons: amber like the candle. The press is felt, the hover lifts a hair. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; position: relative; padding: .9em 1.5em; border: 1.5px solid transparent; border-radius: var(--radius-s); font: 600 1rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; background: none; color: inherit;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-spring); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--solid { background: var(--amber); color: var(--night); }
.btn--wine { background: var(--wine); color: var(--cream); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line-amber { border-color: var(--amber); color: var(--amber); }
.btn--small { padding: .62em 1.05em; font-size: var(--text-sm); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--solid:hover { background: var(--amber-strong); }
  .btn--wine:hover { background: var(--wine-light); }
  .btn--line:hover { background: var(--ink); color: var(--night); }
  .band--paper .btn--line:hover { color: var(--cream); }
  .btn--line-amber:hover { background: var(--amber); color: var(--night); }
}
.actions { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-lg); }
@media (max-width: 400px) { .actions { gap: var(--space-sm); } .actions .btn { padding-inline: .95em; font-size: .94rem; } .actions .link { font-size: .94rem; } }
.link { color: var(--ink); text-decoration: none; font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: .15em; transition: background-size var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); white-space: nowrap; }
.link:hover { background-size: 30% 1px; color: var(--accent); }
.link--amber { color: var(--accent); }
.prose a, .article a, .faq a, .contact a, .prose-link { color: var(--accent); text-underline-offset: .18em; }

/* Header: the navigation splits around the mark, like the room around the gueridon. Always night, solid, so Safari's top bar never shows the page through it. */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background-color: var(--night); color: var(--on-dark); border-bottom: 1px solid var(--rule-dark); }
.site-header__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-lg); min-height: 5rem; transition: min-height var(--dur-short) var(--ease-out); }
.is-scrolled .site-header__row { min-height: 4.1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--on-dark); text-decoration: none; justify-self: center; grid-column: 2; grid-row: 1; }
.site-footer .brand { grid-column: auto; grid-row: auto; justify-self: start; }
.brand__mark { width: 2.2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark .brand__flame { fill: var(--amber); stroke: none; transform-origin: 50% 100%; }
.js .brand__mark .brand__flame { animation: flicker 2.6s var(--ease-spring) infinite alternate; }
.brand__name { font: 500 1.55rem/1 var(--font-display); letter-spacing: .01em; }
.nav { display: contents; }
.nav__side { display: flex; justify-content: flex-start; gap: .1rem; list-style: none; grid-column: 1; grid-row: 1; }
.nav__side--end { justify-content: flex-end; grid-column: 3; }
.nav__side > li { position: relative; }
.nav__side a { display: block; padding: .6rem .7rem; color: var(--on-dark); font: 500 .96rem/1.2 var(--font-body); text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) .7rem calc(100% - .25rem) / 0 1px no-repeat; transition: background-size var(--dur-short) var(--ease-out), color var(--dur-short); }
.nav__side > li > a:hover, .nav__side > li > a[aria-current] { background-size: calc(100% - 1.4rem) 1px; }
.nav__side a[aria-current] { color: var(--amber); }
.nav__side a.nav__phone { color: var(--on-dark-2); }
.nav__side a.nav__phone:hover { color: var(--amber); }
.nav__side a.nav__cta { margin-left: var(--space-sm); padding: .62em 1.1em; font-size: .94rem; background: var(--amber); color: var(--night); }
.nav__side a.nav__cta:hover { background: var(--amber-strong); color: var(--night); }
.sub { position: absolute; top: 100%; left: 0; min-width: 14rem; padding: var(--space-xs); list-style: none; background: var(--night-2); border: 1px solid var(--rule-dark); border-top: 2px solid var(--amber); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility var(--dur-short); z-index: var(--z-dropdown); }
.nav__side--end .sub { left: auto; right: 0; }
.sub a { padding: .55rem .7rem; background: none; }
.sub a:hover { color: var(--amber); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav__toggle { display: none; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 .8rem; border: 1.5px solid var(--rule-dark-2); border-radius: var(--radius-s); background: none; color: inherit; font: 500 .95rem var(--font-body); cursor: pointer; justify-self: end; }
.nav__bars { display: block; position: relative; width: 1.1rem; height: 1.5px; background: currentColor; transition: background-color var(--dur-micro); }
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform var(--dur-short) var(--ease-out); }
.nav__bars::before { transform: translateY(-5px); }
.nav__bars::after { transform: translateY(5px); }
[aria-expanded="true"] .nav__bars { background: transparent; }
[aria-expanded="true"] .nav__bars::before { transform: rotate(45deg); }
[aria-expanded="true"] .nav__bars::after { transform: rotate(-45deg); }
.site-header__mobile { display: none; align-items: center; gap: var(--space-sm); justify-self: end; grid-column: 2; grid-row: 1; }
@media (max-width: 1179px) {
  .site-header__row { grid-template-columns: auto minmax(0, 1fr); min-height: 4.4rem; }
  .brand { justify-self: start; grid-column: 1; }
  .brand__name { font-size: 1.4rem; }
  .site-header__mobile { display: flex; }
  .nav__toggle { display: inline-flex; }
  .nav { display: block; position: fixed; inset: 0; z-index: var(--z-overlay); padding: 6rem clamp(1.1rem, 4vw, 2.5rem) var(--space-xl); background: var(--night); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity var(--dur-short) var(--ease-out), visibility var(--dur-short); }
  .is-open .nav { opacity: 1; visibility: visible; }
  .nav__side { flex-direction: column; gap: 0; justify-content: flex-start; max-width: 36rem; margin-inline: auto; width: 100%; }
  .nav__side > li { border-bottom: 1px solid var(--rule-dark); transform: translateY(14px); opacity: 0; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
  .is-open .nav__side > li { transform: none; opacity: 1; }
  .nav__side > li > a { padding: .95rem 0; font: 500 var(--text-xl)/1.1 var(--font-display); background: none; }
  .nav__side > li > a[aria-current] { color: var(--amber); }
  .nav__cta { display: none; }
  .sub { position: static; min-width: 0; padding: 0 0 var(--space-md); background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .sub a { color: var(--on-dark-2); padding: .4rem 0; font-size: var(--text-base); }
  .sub a:hover { color: var(--amber); }
  .site-header { z-index: var(--z-overlay); }
  .is-open .site-header__row { position: relative; z-index: 2; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .site-header__mobile .btn { padding: .62em .9em; font-size: .88rem; } .nav__toggle .nav__label { display: none; } }
@keyframes flicker { from { transform: scaleY(1) scaleX(1); opacity: .9; } 40% { transform: scaleY(1.12) scaleX(.94); opacity: 1; } to { transform: scaleY(.96) scaleX(1.04); opacity: .85; } }

/* Footer */
.site-footer { background: var(--night); color: var(--on-dark-2); padding-top: var(--space-2xl); font-size: var(--text-sm); border-top: 1px solid var(--rule-dark); }
.site-footer a { color: var(--on-dark); text-decoration-color: var(--rule-dark-2); text-underline-offset: .2em; }
.site-footer a:hover { text-decoration-color: currentColor; color: var(--amber); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--space-xl); }
.site-footer__about { margin-top: var(--space-md); max-width: 22rem; }
.site-footer__h { margin: 0 0 var(--space-sm); font: italic 400 var(--text-md)/1.2 var(--font-display); color: var(--amber); }
.site-footer__h:not(:first-child) { margin-top: var(--space-lg); }
.site-footer__links { list-style: none; }
.site-footer__links li { margin-bottom: .3rem; }
.site-footer__base { display: flex; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; margin-top: var(--space-2xl); padding-block: var(--space-md); border-top: 1px solid var(--rule-dark); }
.site-footer__base p { margin: 0; }
.site-footer__base a + a { margin-left: var(--space-md); }
.social { display: flex; gap: var(--space-xs); margin-top: var(--space-md); list-style: none; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--rule-dark-2); border-radius: 50%; color: var(--on-dark); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short); }
.social a:hover { background: var(--amber); border-color: var(--amber); color: var(--night); }
.social svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.news { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs); }
.news input { width: 100%; min-width: 0; padding: .7em .8em; background: none; border: 1px solid var(--rule-dark-2); border-radius: var(--radius-s); color: var(--on-dark); font: inherit; }
.news input::placeholder { color: var(--on-dark-3); }
.news__msg { grid-column: 1 / -1; margin: 0; min-height: 1.3em; color: var(--amber); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* Page head of the inner pages: the title on the wall, a photo that lags behind on the right when the page has one. */
.page-head { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 7rem); background: var(--night-2); }
.page-head::before { content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.page-head .wrap { position: relative; z-index: var(--z-base); }
.page-head h1 { max-width: 14em; font-size: clamp(2.6rem, 4vw + 1rem, 5rem); }
.page-head .lede { margin-bottom: 0; }
.page-head__photo { position: absolute; top: -12%; right: 0; bottom: -12%; width: 46%; height: 124%; max-width: none; object-fit: cover; transform: translate3d(0, var(--py, 0), 0); opacity: .6; }
.page-head__veil { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; background: var(--veil-side); pointer-events: none; }
.crumbs { margin-bottom: var(--space-lg); font-size: var(--text-sm); color: var(--on-dark-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .5em; opacity: .6; }
.crumbs a { color: var(--on-dark); text-underline-offset: .2em; }
@media (max-width: 820px) { .page-head__photo { width: 100%; opacity: .2; } .page-head__veil { display: none; } }

/* Reveal: blocks rise once. Without JS or with reduced motion everything is simply there. */
.js [data-reveal-group] > * { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(min(var(--i, 0), 6) * 70ms); }
.js [data-reveal-group] > .is-in { opacity: 1; transform: none; }
.word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .16em; margin-bottom: -.16em; }
.js .word__in { display: inline-block; transform: translateY(112%); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--w, 0) * 45ms + 120ms); }
.js.is-ready .word__in { transform: none; }
.word__in { display: inline-block; }
.photo { overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
@media (hover: hover) { .photo:hover img { transform: scale(1.04); } }

/* Forms */
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .ctl__label { font: 500 var(--text-sm)/1.2 var(--font-body); color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 2.9rem; padding: .62em .8em; font: inherit; color: var(--ink); background: var(--field); border: 1px solid var(--rule-2); border-radius: var(--radius-s); transition: border-color var(--dur-micro) var(--ease-out); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid rgba(231, 169, 90, .3); outline-offset: 0; }
.band--paper .field input:focus, .band--paper .field select:focus, .band--paper .field textarea:focus { outline-color: rgba(91, 37, 51, .25); }
.field textarea { min-height: 8rem; resize: vertical; }
.band--paper .field select, .band--paper .field input { color-scheme: light; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__err { color: var(--error); font-size: var(--text-sm); min-height: 1.2em; }
.field__hint { color: var(--muted); font-size: var(--text-sm); }
.form { display: grid; gap: var(--space-xl); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) var(--space-md); min-width: 0; }
.form legend { display: block; padding: 0; margin-bottom: var(--space-md); font: italic 400 var(--text-lg)/1.2 var(--font-display); color: var(--accent); }
.form .span-2 { grid-column: 1 / -1; }
.form .hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; } /* honeypot for php/quote.php */
.form__send { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.form__send p { margin: 0; }
.form__status { margin: 0; padding: var(--space-md); border-radius: var(--radius-s); border: 1px solid var(--ok); color: var(--ok); }
.form__status.is-error { border-color: var(--error); color: var(--error); }
@media (max-width: 560px) { .form fieldset { grid-template-columns: minmax(0, 1fr); } }
/* Chips: a filter you can tick, drawn like a tag on a menu card. */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.chip { position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.5rem; padding: .4rem .95rem; border: 1px solid var(--rule-2); border-radius: var(--radius-pill); font-size: var(--text-sm); color: var(--ink-2); cursor: pointer; user-select: none; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short), background-color var(--dur-short), transform var(--dur-micro) var(--ease-spring); }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid currentColor; transition: background-color var(--dur-short), border-color var(--dur-short); }
.chip:has(input:checked) { border-color: var(--accent); color: var(--ink); background: rgba(231, 169, 90, .1); }
.chip:has(input:checked)::before { background: var(--accent); border-color: var(--accent); }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.chip:active { transform: scale(.97); }
.band--paper .chip:has(input:checked) { background: rgba(91, 37, 51, .08); }
/* A choice drawn as a card: the radio sits under the card, the card shows the state. */
.pick { position: relative; display: grid; gap: .25rem; padding: var(--space-md); border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short), transform var(--dur-micro) var(--ease-spring); }
.pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pick__name { font: 500 var(--text-md)/1.2 var(--font-display); color: var(--ink); }
.pick__desc { font-size: var(--text-sm); color: var(--ink-2); }
.pick__price { font-size: var(--text-sm); color: var(--accent); font-variant-numeric: tabular-nums; }
.pick:has(input:checked) { border-color: var(--accent); background: rgba(231, 169, 90, .08); }
.band--paper .pick:has(input:checked) { background: rgba(91, 37, 51, .06); }
.pick:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.pick:active { transform: scale(.99); }
.pick[data-off] { opacity: .45; cursor: not-allowed; }
/* Lightbox */
.lightbox { border: 0; padding: 0; background: none; max-width: min(94vw, 80rem); max-height: 94vh; }
.lightbox::backdrop { background: rgba(23, 10, 15, .92); }
.lightbox img { max-height: 86vh; width: auto; margin: auto; }
.lightbox__close { position: absolute; top: .5rem; right: .5rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: var(--night); color: var(--on-dark); border: 1px solid var(--rule-dark-2); border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: var(--amber); color: var(--night); }
.lightbox figcaption { margin-top: var(--space-sm); color: var(--on-dark-2); text-align: center; font-size: var(--text-sm); }

@media print {
  .site-header, .site-footer, .btn, canvas, .page-head__photo, .page-head__veil { display: none; }
  body, .band--paper { background: none; color: black; }
  .js [data-reveal-group] > * { opacity: 1; transform: none; }
  .js .story.is-live { height: auto; }
  .js .story.is-live .story__screen { position: static; height: auto; }
}
