:root {
  --paper: #f6eee3;
  --paper-2: #efe3d2;
  --brand: #8c1b18;
  --brand-deep: #5a100e;
  --ink: #2a1e1a;
  --ink-soft: #66544c;
  --basil: #4f6b3a;
  --gold: #93692a;
  --line: rgba(42, 30, 26, .16);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Karla', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: min(1200px, 100% - 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; }
em { font-style: italic; color: var(--brand); }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--brand); margin: 0 0 18px; }
.h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.01em; }

.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px clamp(16px, 3vw, 40px); background: rgba(246, 238, 227, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: translate .4s var(--ease); }
.nav.is-hidden { translate: 0 -100%; }
.nav__logo { display: flex; align-items: center; min-height: 44px; }
.nav__logo img { width: 110px; }
.nav__links { display: flex; gap: clamp(14px, 2.2vw, 30px); font-weight: 500; }
.nav__links a { text-decoration: none; padding: 10px 0; background: linear-gradient(var(--brand), var(--brand)) 0 85% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.lang { display: inline-flex; gap: 2px; }
.lang button { font: 700 .82rem var(--sans); letter-spacing: .1em; background: none; border: 1px solid transparent; color: var(--ink-soft); min-width: 44px; min-height: 44px; cursor: pointer; }
.lang button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .04em; transition: background .25s; }
.btn--text { background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; padding: 0 12px; }
.btn--light { background: var(--paper); color: var(--brand-deep); }
.btn--outline { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #a99; }
.dot.is-open { background: #2f8a3e; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 138, 62, .5); } 80%, 100% { box-shadow: 0 0 0 9px rgba(47, 138, 62, 0); } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 100svh; padding-top: 74px; }
.hero__copy { padding: clamp(40px, 7vw, 100px) clamp(20px, 5vw, 80px); align-self: center; }
.hero h1 { font-size: clamp(2.8rem, 5.8vw, 5.6rem); line-height: 1.02; letter-spacing: -.015em; margin-bottom: 26px; }
.hero h1 em { display: block; }
.hero h1 > * { opacity: 0; translate: 0 24px; animation: up 1s var(--ease) forwards; }
.hero h1 em { animation-delay: .15s; }
@keyframes up { to { opacity: 1; translate: 0 0; } }
.lead { max-width: 46ch; color: var(--ink-soft); font-size: 1.15rem; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hours-mini { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--ink-soft); font-size: .95rem; }
.hero__media { position: relative; margin: 0; overflow: hidden; clip-path: inset(0 0 0 100%); animation: wipe 1.2s .2s var(--ease) forwards; }
.hero__media > img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.seal { position: absolute; left: 28px; bottom: 28px; width: clamp(130px, 13vw, 180px); aspect-ratio: 1; display: grid; place-items: center; background: var(--brand); border-radius: 50%; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: 1; animation: spin 24s linear infinite; }
.seal text { font: 700 13.5px var(--sans); letter-spacing: .2em; fill: var(--paper); }
.seal img { width: 62%; }
@keyframes spin { to { rotate: 360deg; } }

.ribbon { background: var(--brand); color: var(--paper); overflow: hidden; padding: 16px 0; }
.ribbon__track { display: flex; width: max-content; gap: 30px; animation: marq 44s linear infinite; font: italic 500 clamp(1.2rem, 2.4vw, 1.7rem) var(--serif); white-space: nowrap; }
@keyframes marq { to { translate: -50% 0; } }

.story { padding: clamp(80px, 10vw, 140px) 0; }
.story__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); margin-top: 48px; }
.story img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.story h3 { font-size: 1.9rem; margin: 18px 0 6px; }
.story .num { color: var(--gold); font-style: italic; }
.story p { margin: 0; color: var(--ink-soft); }

/* the menu card */
.carte { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper-2); }
.carte .h2 { text-align: center; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 34px 0 30px; }
.tabs button { font: 700 .95rem var(--sans); background: none; border: 0; border-bottom: 2px solid transparent; color: var(--ink-soft); padding: 12px 14px; min-height: 46px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--brand); border-color: var(--brand); }
.card3d { perspective: 1600px; max-width: 860px; margin-inline: auto; }
.paper { background: #fffaf2; padding: clamp(28px, 5vw, 60px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(90, 16, 14, .35); outline: 1px solid var(--line); outline-offset: -14px; transform-style: preserve-3d; backface-visibility: hidden; }
.panel + .panel { margin-top: 48px; }
.js .panel { display: none; margin: 0; }
.js .panel.is-active { display: block; }
.panel__h { text-align: center; font-size: 2rem; font-style: italic; color: var(--brand); margin-bottom: 22px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: auto minmax(20px, 1fr) auto; align-items: baseline; gap: 0 10px; padding: 12px 0; }
.items .n { font: 600 1.15rem var(--serif); }
.items i { border-bottom: 1.5px dotted rgba(42, 30, 26, .35); translate: 0 -5px; }
.items b { font: 700 1.05rem var(--serif); white-space: nowrap; }
.items .d { grid-column: 1 / -1; color: var(--ink-soft); font-size: .95rem; }
.carte__note { text-align: center; color: var(--ink-soft); font-size: .9rem; margin-top: 22px; }

.lunch { padding: clamp(70px, 9vw, 120px) 0; }
.lunch__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lunch__card { background: var(--brand); color: var(--paper); padding: clamp(28px, 4vw, 52px); }
.lunch__card .eyebrow { color: #f3c9a8; }
.lunch__card h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.lunch__card p { margin: 14px 0 26px; max-width: 42ch; }
.lunch__card--alt { background: var(--paper-2); color: var(--ink); }
.lunch__card--alt .eyebrow { color: var(--brand); }

.gallery { padding: 0 0 clamp(70px, 9vw, 120px); }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px max(20px, (100% - 1200px) / 2) 10px; scrollbar-width: thin; }
.strip img { flex: none; height: clamp(240px, 36vw, 420px); width: auto; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; transition: filter .4s; }

.contact { padding: clamp(70px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
address { font-style: normal; font-size: 1.25rem; margin: 26px 0 8px; line-height: 1.5; }
.link { color: var(--brand); font-weight: 700; display: inline-block; padding: 8px 0; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; }
.facts li { padding: 8px 0 8px 22px; position: relative; }
.facts li::before { content: '❦'; position: absolute; left: 0; color: var(--gold); }
.timetable { background: #fffaf2; padding: 30px; outline: 1px solid var(--line); outline-offset: -10px; }
.timetable h3 { font-size: 1.8rem; font-style: italic; margin-bottom: 10px; }
.timetable table { width: 100%; border-collapse: collapse; }
.timetable th, .timetable td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.timetable td { text-align: right; font-weight: 700; white-space: nowrap; }
.status { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-weight: 700; }

.book { padding: clamp(80px, 10vw, 140px) 0; text-align: center; background: var(--brand-deep); color: var(--paper); }
.book em { color: #f3c9a8; }
.book p { margin: 18px auto 30px; max-width: 50ch; color: #ead9c8; }
.book__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.book .btn { background: var(--paper); color: var(--brand-deep); }
.book .btn--outline { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }

.foot { background: var(--ink); color: #d9cabb; padding: 36px 0 90px; font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.foot__grid img { width: 110px; }
.foot a { color: var(--paper); display: inline-block; padding: 12px 0; }
.chooser-link { position: fixed; left: 16px; bottom: 16px; z-index: 30; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; font-size: .85rem; padding: 12px 16px; border-radius: 999px; }

.reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.reveal.is-in { opacity: 1; translate: 0 0; }

@media (hover: hover) {
  .nav__links a:hover { background-size: 100% 1px; }
  .btn:hover { background: var(--brand-deep); }
  .btn--text:hover, .btn--outline:hover { background: rgba(140, 27, 24, .08); }
  .book .btn:hover { background: #fff; }
  .btn--light:hover { background: #fff; }
  .book .btn--outline:hover { background: rgba(255, 255, 255, .12); }
  .strip img:hover { filter: saturate(1.2) brightness(1.05); }
}
@media (max-width: 990px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { height: 56svh; order: -1; }
  .story__grid { grid-template-columns: 1fr; }
  .story img { aspect-ratio: 16 / 10; }
  .lunch__grid, .contact__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav__logo img { width: 92px; }
  .hero__media { height: 44svh; }
  .seal { left: 14px; bottom: 14px; width: 110px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; }
  .tabs button { flex: none; }
  .items .n { font-size: 1.05rem; }
  .chooser-link { left: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
}
@media (max-width: 560px) { .chooser-link { left: auto; right: 10px; bottom: 10px; padding: 12px 14px; font-size: .78rem; opacity: .94; } }
