/* =====================================================================
   YŪGEN — Japanese Tea House Template
   Design language: washi paper, sumi ink, a single vermillion accent,
   hairline rules, vertical labels, generous negative space.
   All colors / fonts / radius come from CSS variables set by script.js
   from CONFIG.theme. Rebrand from the config, not this file.
   ===================================================================== */

/* ------------------------------- TOKENS ------------------------------- */
:root {
  --paper:   #F4EFE4;   /* washi paper background */
  --paper-2: #EDE7D8;   /* slightly deeper panel   */
  --ink:     #23211C;   /* sumi ink                */
  --ink-soft:#4A473F;
  --muted:   #8A8578;   /* stone                   */
  --line:    #D8D0BE;   /* hairline                */
  --accent:  #B4432F;   /* vermillion (shu)        */
  --sage:    #7C8466;   /* matcha / support tone   */

  --radius:  2px;

  --font-display: 'Shippori Mincho', serif;
  --font-body:    'Zen Kaku Gothic New', sans-serif;

  --container: 1160px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);   /* slow, refined */
  --shadow: 0 30px 60px -34px rgba(35,33,28,.4);
}

/* ------------------------------- RESET ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
iframe { border: 0; }

/* ------------------------------- LAYOUT ------------------------------- */
.container { width: min(var(--container), 100% - 3rem); margin-inline: auto; position: relative; }
.section { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--ink); color: var(--paper); padding: .7rem 1.2rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* thin decorative frame used on all images */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); }
.frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(244,239,228,.5); pointer-events: none; z-index: 2; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease); }

/* ------------------------------- TYPOGRAPHY --------------------------- */
.idx { font-family: var(--font-display); font-size: .85rem; letter-spacing: .3em; color: var(--accent); margin-bottom: 1.4rem; }
.eyebrow {
  font-family: var(--font-body); font-weight: 500; font-size: .74rem;
  letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem;
}
.section__title {
  font-family: var(--font-display); font-weight: 500; line-height: 1.25;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem); letter-spacing: .02em;
}
.section__sub { color: var(--ink-soft); max-width: 50ch; margin-top: 1.2rem; font-weight: 300; }
.section__head { max-width: 640px; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }

/* vertical running label (Japanese accent) */
.vlabel, .hero__vertical {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--font-display); letter-spacing: .35em; color: var(--muted);
  font-size: .8rem; font-weight: 500;
}

/* ------------------------------- BUTTONS ------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .7rem; padding: .95rem 2.1rem;
  font-family: var(--font-body); font-weight: 500; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------- NAVBAR ------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }

.brand { display: flex; align-items: center; gap: .85rem; }
.brand__seal { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.brand__seal::after { content: attr(data-kanji); font-family: var(--font-display); font-weight: 600; color: var(--paper); font-size: 1.1rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: .04em; }
.brand__sub { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }

.nav__links ul { display: flex; gap: 2.4rem; }
.nav__links ul a { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); position: relative; padding: .4rem 0; transition: color .3s; }
.nav__links ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width .5s var(--ease); }
.nav__links ul a:hover, .nav__links ul a.is-active { color: var(--ink); }
.nav__links ul a:hover::after, .nav__links ul a.is-active::after { width: 100%; }
.nav__cta { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--ink); padding: .7rem 1.4rem; border-radius: var(--radius); transition: all .4s var(--ease); }
.nav__cta:hover { background: var(--ink); color: var(--paper); }

.nav__toggle { display: none; flex-direction: column; gap: 6px; padding: .5rem; }
.nav__toggle span { width: 26px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ------------------------------- HERO --------------------------------- */
.hero { padding: clamp(9rem, 15vw, 12rem) 0 4rem; position: relative; }
.hero__vertical { position: absolute; top: 12rem; right: max(1.5rem, calc((100vw - var(--container)) / 2 - 1rem)); height: 220px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero__title { font-family: var(--font-display); font-weight: 500; line-height: 1.18; letter-spacing: .01em; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.6rem; }
.hero__title span { color: var(--accent); }
.hero__lead { color: var(--ink-soft); max-width: 44ch; font-size: 1.08rem; margin-bottom: 2.4rem; font-weight: 300; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__figure { position: relative; }
.hero__figure .frame { aspect-ratio: 4/5; }
.hero__caption { font-family: var(--font-display); font-size: .82rem; color: var(--muted); margin-top: 1rem; letter-spacing: .06em; }
.hanko {
  position: absolute; top: -1.4rem; left: -1.4rem; width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center;
  background: color-mix(in srgb, var(--paper) 86%, transparent); z-index: 3;
  font-family: var(--font-display); font-weight: 600; text-align: center; line-height: 1.1; font-size: 1.35rem;
  transform: rotate(-6deg);
}
.hanko::after { content: attr(data-kanji); }

.hero__meta { border-top: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.6rem; }
.hero__meta ul { display: flex; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; }
.hero__meta li { display: flex; flex-direction: column; gap: .3rem; }
.hero__meta b { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: .04em; }
.hero__meta span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------- ABOUT -------------------------------- */
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__figure { position: relative; display: flex; gap: 1.5rem; align-items: stretch; }
.about__figure .vlabel { flex: none; }
.about__figure .frame { flex: 1; aspect-ratio: 3/4; }
.about__text { color: var(--ink-soft); margin: 1.6rem 0 2rem; }
.about__text p + p { margin-top: 1.1rem; }
.about__points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.about__points li { display: flex; align-items: baseline; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.about__points li::before { content: attr(data-n); font-family: var(--font-display); color: var(--accent); font-size: .8rem; letter-spacing: .1em; flex: none; }

/* ------------------------------- FEATURED ----------------------------- */
.featured__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.tcard { padding: 2.4rem 2rem; border-right: 1px solid var(--line); position: relative; transition: background .6s var(--ease); }
.tcard:last-child { border-right: 0; }
.tcard:hover { background: var(--paper-2); }
.tcard__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.6rem; }
.tcard__idx { font-family: var(--font-display); font-size: .78rem; letter-spacing: .2em; color: var(--muted); }
.tcard__tag { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.tcard__kanji { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; letter-spacing: .06em; }
.tcard__name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: .5rem 0 1.2rem; }
.tcard__note { color: var(--ink-soft); font-size: .9rem; font-weight: 300; min-height: 4.5em; }
.tcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.tcard__steep { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tcard__price { font-family: var(--font-display); font-size: 1.3rem; }

/* ------------------------------- MENU --------------------------------- */
.menu__layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 5vw, 4rem); }
.menu__tabs { display: flex; flex-direction: column; gap: 0; border-left: 1px solid var(--line); }
.menu__tab { text-align: left; padding: 1rem 0 1rem 1.4rem; margin-left: -1px; border-left: 1px solid transparent; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em; color: var(--muted); transition: all .4s var(--ease); }
.menu__tab .en { display: block; font-family: var(--font-body); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; margin-top: .2rem; }
.menu__tab:hover { color: var(--ink); }
.menu__tab.is-active { color: var(--ink); border-left-color: var(--accent); }
.menu__panel { display: none; }
.menu__panel.is-active { display: block; animation: fade .7s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.mitem { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1.5rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.mitem:first-child { border-top: 1px solid var(--line); }
.mitem__name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .04em; }
.mitem__name small { font-family: var(--font-body); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-left: .8rem; }
.mitem__price { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent); }
.mitem__desc { grid-column: 1 / -1; color: var(--ink-soft); font-size: .88rem; font-weight: 300; }

/* ------------------------------- OFFERS ------------------------------- */
.offers__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.offer { position: relative; border: 1px solid var(--line); padding: clamp(2rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; overflow: hidden; transition: border-color .5s var(--ease); }
.offer:hover { border-color: var(--ink); }
.offer__bar { position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); }
.offer--filled { background: var(--ink); color: var(--paper); }
.offer--filled .offer__bar { background: var(--sage); }
.offer__season { font-family: var(--font-display); font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem; }
.offer--filled .offer__season { color: var(--sage); }
.offer__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; margin-bottom: 1rem; }
.offer__text { max-width: 42ch; font-weight: 300; opacity: .92; margin-bottom: 1.6rem; }
.offer__code { align-self: flex-start; font-family: var(--font-body); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid currentColor; padding: .5rem 1rem; border-radius: var(--radius); }

/* ------------------------------- GALLERY ------------------------------ */
.gallery__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 1rem; }
.gitem { position: relative; overflow: hidden; }
.gitem .frame { width: 100%; height: 100%; }
.gitem:hover .frame img { transform: scale(1.06); }
.gitem__cap { position: absolute; left: 1rem; bottom: 1rem; z-index: 3; writing-mode: vertical-rl; font-family: var(--font-display); font-size: .8rem; letter-spacing: .2em; color: var(--paper); text-shadow: 0 2px 8px rgba(0,0,0,.6); opacity: 0; transform: translateY(10px); transition: all .5s var(--ease); }
.gitem:hover .gitem__cap { opacity: 1; transform: none; }
.g-a { grid-column: span 2; grid-row: span 2; }
.g-b { grid-column: span 2; grid-row: span 1; }
.g-c { grid-column: span 2; grid-row: span 2; }
.g-d { grid-column: span 2; grid-row: span 1; }
.g-e { grid-column: span 2; grid-row: span 1; }
.g-f { grid-column: span 2; grid-row: span 1; }

/* ------------------------------- WHY ---------------------------------- */
.why__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why__list { border-top: 1px solid var(--line); }
.why__row { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: start; transition: padding-left .5s var(--ease); }
.why__row:hover { padding-left: 1rem; }
.why__n { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); line-height: 1; }
.why__t { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .04em; margin-bottom: .4rem; }
.why__t .kanji { color: var(--muted); font-size: 1rem; margin-left: .8rem; }
.why__d { color: var(--ink-soft); font-weight: 300; max-width: 52ch; }

/* ------------------------------- TESTIMONIALS ------------------------- */
.tst { max-width: 760px; margin-inline: auto; text-align: center; }
.tst__quote { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.6; letter-spacing: .02em; min-height: 4em; transition: opacity .5s var(--ease); }
.tst__quote::before { content: "「"; color: var(--accent); }
.tst__quote::after { content: "」"; color: var(--accent); }
.tst__meta { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.2rem; transition: opacity .5s var(--ease); }
.tst__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.tst__meta > div { text-align: left; }
.tst__name { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .04em; }
.tst__role { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tst__dots { display: flex; gap: .6rem; justify-content: center; margin-top: 2.2rem; }
.tst__dots button { width: 30px; height: 1px; background: var(--line); transition: background .4s; }
.tst__dots button.is-active { background: var(--accent); }

/* ------------------------------- FAQ ---------------------------------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; padding: 1.6rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .02em; }
.faq__sign { color: var(--accent); font-size: 1.2rem; transition: transform .4s var(--ease); flex: none; }
.faq__item.open .faq__sign { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); color: var(--ink-soft); font-weight: 300; }
.faq__a p { padding-bottom: 1.6rem; max-width: 60ch; }

/* ------------------------------- HOURS + LOCATION --------------------- */
.place__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hours { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.hours li { display: flex; justify-content: space-between; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.hours__day { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .06em; }
.hours__day small { font-family: var(--font-body); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-left: .7rem; }
.hours__time { font-size: .9rem; color: var(--ink-soft); font-weight: 300; letter-spacing: .04em; }
.hours li.is-today { color: var(--accent); }
.hours li.is-today .hours__time { color: var(--accent); }
.hours li.is-closed .hours__time { color: var(--muted); font-style: italic; }
.hours__note { margin-top: 1.4rem; font-size: .8rem; letter-spacing: .06em; color: var(--muted); }
.place__address { color: var(--ink-soft); margin: 1rem 0 1.6rem; font-weight: 300; }
.place__frame { aspect-ratio: 16/10; margin-bottom: 1.6rem; }
.place__frame::after { display: none; }
.place__frame iframe { width: 100%; height: 100%; filter: grayscale(1) contrast(.95) brightness(1.05); }

/* ------------------------------- CONTACT ------------------------------ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.contact__list { margin: 1.8rem 0; border-top: 1px solid var(--line); }
.contact__list li { display: flex; gap: 1.5rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact__list b { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); width: 84px; flex: none; font-weight: 500; }
.contact__list a, .contact__list span { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .02em; }
.contact__social, .footer__social { display: flex; gap: 1.4rem; }
.contact__social a, .footer__social a { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); position: relative; padding-bottom: 3px; transition: color .3s; }
.contact__social a::after, .footer__social a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width .4s var(--ease); }
.contact__social a:hover, .footer__social a:hover { color: var(--ink); }
.contact__social a:hover::after, .footer__social a:hover::after { width: 100%; }

.contact__form { border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 3rem); background: var(--paper-2); }
.field { margin-bottom: 1.6rem; }
.field label { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: .7rem 0; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; transition: border-color .4s; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field textarea { resize: vertical; }
.form__status { margin-top: 1rem; font-size: .8rem; letter-spacing: .06em; }
.form__status.ok { color: var(--sage); }
.form__status.err { color: var(--accent); }

/* ------------------------------- FOOTER ------------------------------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(4rem, 7vw, 6rem) 0 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(244,239,228,.14); }
.footer .brand__seal { margin-bottom: 1.2rem; }
.footer .brand__name { color: var(--paper); font-size: 1.7rem; display: block; margin-bottom: 1rem; }
.footer__brand p { color: rgba(244,239,228,.6); max-width: 34ch; margin-bottom: 1.6rem; font-weight: 300; }
.footer__col h4 { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(244,239,228,.5); margin-bottom: 1.4rem; }
.footer__col a, .footer__col li { color: rgba(244,239,228,.75); padding: .4rem 0; display: block; transition: color .3s; font-weight: 300; }
.footer__col a:hover { color: var(--accent); }
.footer__social a { color: rgba(244,239,228,.75); }
.footer__social a:hover { color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; flex-wrap: wrap; }
.footer__bottom p, .footer__credit { font-size: .72rem; letter-spacing: .08em; color: rgba(244,239,228,.5); }
.footer__credit a { color: var(--accent); }

/* ------------------------------- WHATSAPP ----------------------------- */
.wa { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.6); transition: transform .5s var(--ease); }
.wa:hover { transform: translateY(-3px) scale(1.05); }

/* ------------------------------- SCROLL REVEAL ------------------------ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------- RESPONSIVE --------------------------- */
@media (max-width: 1000px) {
  .hero__grid, .about__grid, .place__grid, .contact__grid, .why__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero__vertical { display: none; }
  .hero__figure { order: -1; max-width: 460px; }
  .about__figure { max-width: 460px; }
  .menu__layout { grid-template-columns: 1fr; }
  .menu__tabs { flex-direction: row; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--line); }
  .menu__tab { padding: .8rem 1.2rem; margin-left: 0; border-left: 0; border-bottom: 2px solid transparent; }
  .menu__tab.is-active { border-left-color: transparent; border-bottom-color: var(--accent); }
  .featured__grid { grid-template-columns: 1fr; }
  .tcard { border-right: 0; border-bottom: 1px solid var(--line); }
  .tcard:last-child { border-bottom: 0; }
  .offers__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__links { position: fixed; inset: 88px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1.5rem; transform: translateY(-130%); transition: transform .6s var(--ease); }
  .nav__links.open { transform: none; }
  .nav__links ul { flex-direction: column; gap: 0; }
  .nav__links ul a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-a, .g-c { grid-row: span 2; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__meta ul { gap: 1.5rem; }
}

/* ------------------------------- MOTION SAFETY ------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
