/* C · Na raut — base, header, hero, marquee, day sequence, menu, lunch, events, reviews, visit.
   The builder lives in raut.css. */
:root {
  --red: #AB161B;
  --linen: #FAF0E6;
  --brown: #302009;
  --red-deep: #8C1015;
  --red-tint: #F4DCD4;
  --linen-2: #F3E4D2;
  --linen-3: #EBD7C0;
  --crust: #C8873A;
  --brown-soft: #5B4630;
  --line: rgba(48, 32, 9, .16);
  --news: #8A8378;
  --r: 28px;
  --gut: clamp(16px, 4.5vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Instrument Sans", system-ui, sans-serif;
  --swash: "Sansita Swashed", "Instrument Sans", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--linen); color: var(--brown);
  font: 400 17px/1.6 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; font-stretch: 88%; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 4.2rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--brown-soft); max-width: 36em; text-wrap: pretty; }
.kicker { font-family: var(--swash); font-weight: 600; color: var(--red); font-size: 1.3rem; margin-bottom: .6rem; }
::selection { background: var(--red); color: var(--linen); }
input, textarea { caret-color: var(--red); accent-color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brown); color: var(--linen); padding: 12px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; font: 600 1rem/1 var(--sans);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn-red { background: var(--red); color: var(--linen); }
.btn-line { border-color: var(--brown); color: var(--brown); }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
  .btn-red:hover { background: var(--red-deep); }
  .btn-line:hover { background: var(--brown); color: var(--linen); }
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px;
  height: 68px; padding: 0 var(--gut); background: rgba(250, 240, 230, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 40px; height: 40px; }
.brand-word { font-family: var(--swash); font-weight: 600; font-size: 1.35rem; color: var(--red); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 10px 12px; text-decoration: none; font-weight: 500; border-radius: 999px; }
@media (hover: hover) { .nav a:hover { background: var(--linen-2); } }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.status { font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--linen-2); white-space: nowrap; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--news); margin-right: 7px; vertical-align: 1px; }
.status.open::before { background: #2F7D3A; }
.back { font-size: .9rem; color: var(--brown-soft); text-decoration: underline; text-underline-offset: 3px; padding: 12px 6px; white-space: nowrap; }
.lang { display: flex; border: 1.5px solid var(--brown); border-radius: 999px; overflow: hidden; }
.lang button { min-width: 44px; min-height: 40px; border: 0; background: none; color: var(--brown); font: 600 .85rem var(--sans); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--brown); color: var(--linen); }
.lang button:focus-visible { outline-offset: -4px; }
.tel-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 14px; border-radius: 999px; background: var(--red); color: var(--linen); text-decoration: none; font-weight: 600; font-size: .95rem; }
.tel-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
@media (max-width: 1180px) { .status { display: none !important; } }
@media (max-width: 1000px) { .nav { display: none; } }
@media (max-width: 620px) {
  .tel-num { display: none; } .tel-btn { padding: 0; width: 44px; }
  .brand-word { display: none; } .top { gap: 8px; } .top-tools { gap: 6px; }
}

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(24px, 5vh, 64px) var(--gut) clamp(48px, 8vh, 96px); min-height: calc(100svh - 68px);
}
.eyebrow { font-size: .92rem; letter-spacing: .02em; color: var(--brown-soft); margin-bottom: 22px; }
.hero-title { font-size: clamp(2rem, 3.9vw, 3.9rem); font-weight: 500; line-height: 1.06; }
.hero-title .ln { display: block; }
.hero-title .punch { margin-top: .35em; font-family: var(--swash); font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--red); font-size: 1.12em; line-height: 1.1; }
.hero-lead { margin-top: 26px; font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: var(--brown-soft); max-width: 34em; }
.verbs { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 34px 0 0; font-size: .95rem; font-weight: 600; }
.verbs li::before { content: "•"; color: var(--red); margin-right: 8px; }
.hero-media { position: relative; padding-bottom: 8%; }
.arch { margin: 0 0 0 auto; width: 86%; aspect-ratio: 4 / 5.3; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--linen-3); }
.arch img, .inset img, .menu-ph img, .ev-ph img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; }
.arch img { object-position: 50% 38%; }
.inset { position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 3 / 4; margin: 0; border-radius: 22px; overflow: hidden; border: 7px solid var(--linen); box-shadow: 0 24px 50px -24px rgba(48, 32, 9, .45); }
.inset img { object-position: 50% 18%; }
.hero-note { position: absolute; right: 0; bottom: -4px; width: 48%; font-size: .9rem; color: var(--brown-soft); }
.js.motion .hero-title .ln > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.js.motion .hero-title .punch > span { animation-delay: .25s; }
.js.motion .arch { animation: unveil 1.4s var(--ease) both .1s; }
.js.motion .inset { animation: rise 1.2s var(--ease) both .5s; }
@keyframes rise { from { opacity: 0; translate: 0 36px; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 999px 999px var(--r) var(--r)); } to { clip-path: inset(0 0 0 0 round 999px 999px var(--r) var(--r)); } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-note { position: static; width: auto; margin-top: 16px; }
}

/* Marquee */
.marquee { background: var(--brown); color: var(--linen); overflow: hidden; padding: 20px 0; }
.mq-track { display: flex; width: max-content; }
.mq-track span { font-size: clamp(1.3rem, 2.4vw, 2rem); font-stretch: 85%; font-weight: 500; white-space: nowrap; padding: 0 .7em; }
.mq-track span::after { content: "•"; color: var(--crust); margin-left: 1.4em; }
.js.motion .mq-track { animation: mq 70s linear infinite; }
@keyframes mq { to { translate: -50% 0; } }

/* Day sequence: static by default, pinned with JS + motion */
.day { padding: clamp(64px, 10vh, 120px) var(--gut); }
.day-head { margin-bottom: 40px; }
.day-h { max-width: 14em; }
.day-line { display: none; }
.ch { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: 56px; }
.ch-ph { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--linen-3); position: relative; }
.ch-ph img { width: 100%; height: 100%; object-fit: cover; }
.ch-time { font-family: var(--swash); color: var(--red); font-size: 1.6rem; font-weight: 600; }
.ch-txt h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 500; margin: 6px 0 14px; }
.ch-txt p:last-child { color: var(--brown-soft); max-width: 30em; }
.night { background: var(--brown); display: grid; place-items: center; }
.night-art { width: 52%; height: auto; }
.ch-ph .night-inset { position: absolute; right: 6%; bottom: 7%; width: 28%; height: 40%; border-radius: 16px; border: 5px solid var(--linen); }
@media (max-width: 760px) { .ch { grid-template-columns: 1fr; gap: 18px; } }

.js.motion .day { height: 460vh; padding: 0; position: relative; }
.js.motion .day-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.js.motion .day-head { position: absolute; z-index: 3; left: var(--gut); top: calc(68px + 4vh); width: 40vw; margin: 0; }
.js.motion .day-h { font-size: clamp(1.8rem, 3.2vw, 3rem); }
.js.motion .day-line { display: flex; justify-content: space-between; position: relative; margin-top: 26px; padding-top: 14px; font-size: .78rem; color: var(--brown-soft); border-top: 2px solid var(--line); }
.js.motion .day-line b { font-weight: 600; }
.day-fill { position: absolute; left: 0; top: -2px; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--red); }
.js.motion .ch { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
.js.motion .ch-ph { position: absolute; right: var(--gut); top: calc(68px + 4vh); bottom: 5vh; width: 47vw; aspect-ratio: auto; clip-path: inset(calc((1 - var(--k, 0)) * 100%) 0 0 0 round var(--r)); }
.js.motion .ch-ph img:first-child { scale: calc(1.12 - var(--k, 0) * .12); }
.js.motion .ch:first-of-type .ch-ph { --k: 1; }
.js.motion .ch-txt { position: absolute; left: var(--gut); bottom: 9vh; width: 38vw; opacity: var(--o, 0); translate: 0 calc((1 - var(--o, 0)) * 24px); }
.js.motion .ch-time { font-size: 2.4rem; }
@media (max-width: 760px) {
  .js.motion .day-head { width: auto; right: var(--gut); top: calc(68px + 2svh); }
  .js.motion .day-h { font-size: 1.5rem; }
  .js.motion .day-line { margin-top: 12px; padding-top: 8px; }
  .js.motion .ch-ph { left: var(--gut); right: var(--gut); width: auto; top: calc(68px + 2svh + var(--headH, 112px) + 16px); bottom: 31svh; }
  .js.motion .ch-txt { left: var(--gut); right: var(--gut); width: auto; bottom: 3svh; }
  .js.motion .ch-time { font-size: 1.5rem; }
  .js.motion .ch-txt h3 { font-size: 1.5rem; margin: 2px 0 8px; }
  .js.motion .ch-txt p:last-child { font-size: .95rem; line-height: 1.5; }
}

/* Section scaffolding */
.menu, .lunch, .events, .reviews, .visit { padding: clamp(72px, 11vh, 140px) var(--gut); }
.sec-head { margin-bottom: clamp(32px, 5vh, 56px); }
.sec-head .lead { margin-top: 14px; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plist li b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu { background: var(--linen-2); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.mcol h3 { margin-bottom: 8px; }
.custom { margin-top: 20px; font-family: var(--swash); color: var(--red); font-size: 1.15rem; line-height: 1.35; }
.menu-ph { margin: 28px 0 0; aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; }
@media (max-width: 980px) { .menu-grid { grid-template-columns: 1fr 1fr; } .mcol:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .menu-grid { grid-template-columns: 1fr; } }

.lunch { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.lunch .lead { margin: 16px 0 24px; }
.spec { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.spec li { padding-left: 18px; border-left: 2px solid var(--crust); color: var(--brown-soft); }
.spec b { color: var(--brown); font-weight: 600; }
.lunch-card { background: #FFF8F0; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3.5vw, 48px); box-shadow: 0 30px 60px -40px rgba(48, 32, 9, .35); }
.lc-date { font-family: var(--swash); color: var(--red); font-size: 1.2rem; margin-bottom: 8px; }
.plist.big li { font-size: 1.05rem; }
.plist li.star span::after { content: " ★"; color: var(--red); }
.lc-pay { margin-top: 18px; font-size: .92rem; color: var(--brown-soft); }
@media (max-width: 860px) { .lunch { grid-template-columns: 1fr; } }

.events { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; background: var(--brown); color: var(--linen); }
.events .kicker { color: #F0B9A8; }
.ev-ph { margin: 0; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; }
.ev-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.ev-list article { border-top: 1px solid rgba(250, 240, 230, .3); padding-top: 16px; }
.ev-list h3 { font-size: 1.15rem; margin-bottom: 8px; }
.ev-list p { color: rgba(250, 240, 230, .82); font-size: .95rem; }
.events .btn-line { border-color: var(--linen); color: var(--linen); }
@media (hover: hover) { .events .btn-line:hover { background: var(--linen); color: var(--brown); } }
.events :focus-visible { outline-color: #F0B9A8; }
@media (max-width: 1100px) { .ev-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .events { grid-template-columns: 1fr; } .ev-ph { max-width: 420px; aspect-ratio: 4 / 4.4; } }

.reviews h2 small { font-size: 1.05rem; font-weight: 500; color: var(--brown-soft); letter-spacing: 0; margin-left: .4em; }
.rev-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev-row blockquote { margin: 0; padding: 28px; background: var(--linen-2); border-radius: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.rev-row blockquote p { font-size: 1.12rem; line-height: 1.5; }
.rev-row blockquote p::before { content: "„"; font-family: var(--swash); color: var(--red); font-size: 2.4rem; line-height: 0; display: block; height: 22px; }
.rev-row cite { font-style: normal; font-weight: 600; font-size: .92rem; color: var(--brown-soft); }
.rev-note { margin-top: 20px; font-size: .88rem; color: var(--brown-soft); }
@media (max-width: 980px) { .rev-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rev-row { grid-template-columns: 1fr; } }

.visit { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: start; border-top: 1px solid var(--line); }
.addr { font-size: 1.15rem; margin-top: 12px; color: var(--brown-soft); }
.mail { margin-top: 18px; }
.mail a { font-weight: 600; text-underline-offset: 4px; display: inline-block; padding: 10px 0; }
.facts { margin: 28px 0 0; display: grid; gap: 14px; }
.facts div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; } .facts dd { margin: 0; color: var(--brown-soft); }
.hours-card { background: var(--red); color: var(--linen); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.hours { width: 100%; border-collapse: collapse; margin-top: 14px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid rgba(250, 240, 230, .3); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.now { margin-top: 14px; font-family: var(--swash); font-size: 1.2rem; }
.links { display: flex; gap: 18px; margin-top: 18px; }
.links a { padding: 10px 0; font-weight: 600; text-underline-offset: 4px; }
.hours-card :focus-visible { outline-color: var(--linen); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .facts div { grid-template-columns: 1fr; gap: 4px; } }

.foot { padding: 64px var(--gut) 40px; background: var(--linen-2); text-align: center; }
.foot-word { font-size: clamp(3.6rem, 15vw, 13rem); font-weight: 400; font-stretch: 75%; letter-spacing: .14em; line-height: 1; color: var(--red); margin-right: -.14em; }
.foot-word span { font-size: .4em; vertical-align: .55em; }
.foot-line { font-family: var(--swash); font-size: 1.3rem; margin-top: 14px; }
.foot-small { margin-top: 26px; font-size: .88rem; color: var(--brown-soft); }
.foot-small a { display: inline-block; padding: 12px 4px; }

/* Reveals (JS adds .rv) */
.js.motion .rv { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js.motion .rv.in { opacity: 1; translate: 0 0; }
