/* =====================================================================
   OSTERIA LUCIA — Editorial / Magazine Italian Template
   Design language: warm cream page, tomato red & basil olive, a high-
   contrast serif masthead, thin column rules, drop caps, Fig. captions,
   pull-quotes and a colophon footer. Reads like a food magazine.
   All colours / fonts come from CSS variables set by script.js from
   CONFIG.theme. Rebrand from the config, not this file.
   ===================================================================== */

/* ------------------------------- TOKENS ------------------------------- */
:root {
  --paper:   #F8F2E6;   /* warm cream */
  --paper-2: #F1E8D6;
  --ink:     #1C1815;   /* near-black */
  --ink-soft:#4A4038;
  --muted:   #8A7D6B;
  --line:    #CDBFA6;   /* warm hairline */
  --rule:    #211C18;   /* strong ink rule */

  --red:     #C0402E;   /* tomato */
  --olive:   #5E6B39;   /* basil */
  --mustard: #C79A3A;

  --radius:  2px;

  --font-display: 'Fraunces', serif;
  --font-body:    'Libre Franklin', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------- 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: 400;
  line-height: 1.7;
  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% - 2.5rem); margin-inline: auto; position: relative; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section + .section { border-top: 1px solid var(--rule); }

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

/* editorial figure with caption */
figure { position: relative; }
figcaption { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em; color: var(--muted); margin-top: .6rem; text-transform: uppercase; }

/* ------------------------------- TYPOGRAPHY --------------------------- */
.kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; display: flex; align-items: center; gap: .7rem; }
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--red); }
.section__title { font-family: var(--font-display); font-weight: 500; line-height: 1.02; font-size: clamp(2.2rem, 5.6vw, 4.4rem); letter-spacing: -.01em; }
.section__title em { font-style: italic; color: var(--red); }
.section__sub { color: var(--ink-soft); max-width: 56ch; margin-top: 1rem; font-size: 1.06rem; }
.section__head { max-width: 720px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }

/* ------------------------------- BUTTONS ------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.8rem;
  font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; border-color: var(--red); }
.btn--red:hover { background: var(--ink); border-color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* ------------------------------- MASTHEAD NAV ------------------------- */
.nav { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1.5px solid var(--rule); }
.nav__issue { border-bottom: 1px solid var(--line); overflow: hidden; transition: max-height .4s var(--ease), opacity .3s; max-height: 40px; }
.nav.is-stuck .nav__issue { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.nav__issue-inner { display: flex; justify-content: space-between; align-items: center; height: 32px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1.5rem; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.01em; }
.nav__links ul { display: flex; gap: 1.8rem; }
.nav__links ul a { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); position: relative; padding: .3rem 0; transition: color .25s; }
.nav__links ul a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1.5px; background: var(--red); transition: width .3s var(--ease); }
.nav__links ul a:hover, .nav__links ul a.is-active { color: var(--red); }
.nav__links ul a:hover::after, .nav__links ul a.is-active::after { width: 100%; }
.nav__cta { padding: .6rem 1.2rem; font-size: .7rem; }

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

/* ------------------------------- HERO --------------------------------- */
.hero { padding: clamp(3rem, 6vw, 5rem) 0; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__copy { position: relative; }
.hero__title { font-family: var(--font-display); font-weight: 500; line-height: .98; font-size: clamp(2.8rem, 7.5vw, 6rem); letter-spacing: -.02em; margin-bottom: 1.4rem; }
.hero__title em { font-style: italic; color: var(--red); }
.hero__standfirst { font-size: 1.2rem; line-height: 1.6; max-width: 46ch; color: var(--ink-soft); margin-bottom: 2rem; border-left: 2px solid var(--red); padding-left: 1.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__byline { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero__figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--rule); }

/* ------------------------------- ABOUT (drop cap) --------------------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4rem); align-items: start; }
.about__head { grid-column: 1 / -1; border-bottom: 1px solid var(--rule); padding-bottom: 1.6rem; margin-bottom: 2.2rem; }
.about__body { padding-right: 2rem; border-right: 1px solid var(--line); }
.about__text { columns: 1; }
.about__text > p:first-child::first-letter { font-family: var(--font-display); font-weight: 600; float: left; font-size: 4.2rem; line-height: .72; padding: .3rem .6rem 0 0; color: var(--red); }
.about__text p + p { margin-top: 1rem; }
.about__sign { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-top: 1.4rem; }
.about__figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--rule); }

/* ------------------------------- FEATURED (numbered, ruled) ----------- */
.featured__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.dish { padding: 2.2rem 2rem 2rem; border-right: 1px solid var(--line); position: relative; transition: background .4s var(--ease); }
.dish:last-child { border-right: 0; }
.dish:hover { background: var(--paper-2); }
.dish__num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--red); margin-bottom: 1.2rem; }
.dish__figure { overflow: hidden; margin-bottom: 1.2rem; }
.dish__figure img { width: 100%; aspect-ratio: 5/4; object-fit: cover; transition: transform .8s var(--ease); }
.dish:hover .dish__figure img { transform: scale(1.05); }
.dish__name { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.05; }
.dish__it { font-family: var(--font-display); font-style: italic; color: var(--muted); font-size: 1rem; margin-bottom: .6rem; }
.dish__desc { color: var(--ink-soft); font-size: .92rem; }
.dish__price { display: inline-block; margin-top: 1rem; font-family: var(--font-mono); font-weight: 500; color: var(--red); font-size: 1rem; }

/* ------------------------------- MENU (printed spread) ---------------- */
.menu__tabs { display: flex; gap: 2rem; flex-wrap: wrap; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; margin-bottom: 2.4rem; }
.menu__tab { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); position: relative; padding-bottom: .2rem; transition: color .3s; }
.menu__tab:hover { color: var(--ink); }
.menu__tab.is-active { color: var(--red); }
.menu__tab.is-active::after { content: ""; position: absolute; left: 0; bottom: -1rem; width: 100%; height: 2px; background: var(--red); }
.menu__panel { display: none; }
.menu__panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mitem { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.mitem__name { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.mitem__name small { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--muted); font-size: .9rem; margin-left: .5rem; }
.mitem__price { font-family: var(--font-mono); font-weight: 500; color: var(--red); }
.mitem__desc { grid-column: 1 / -1; color: var(--muted); font-size: .84rem; }

/* ------------------------------- OFFERS (feature callouts) ------------ */
.offers__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.6rem; }
.offer { border: 1.5px solid var(--rule); padding: clamp(2rem, 4vw, 3.2rem); position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 300px; transition: transform .4s var(--ease); }
.offer:hover { transform: translateY(-4px); }
.offer--red { background: var(--red); color: var(--paper); border-color: var(--red); }
.offer--olive { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.offer__no { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; opacity: .85; }
.offer__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.02; margin-bottom: .8rem; }
.offer__text { max-width: 44ch; margin-bottom: 1.4rem; opacity: .95; }
.offer__code { align-self: flex-start; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; border: 1.5px solid currentColor; padding: .5rem 1rem; }

/* ------------------------------- GALLERY (photo essay) ---------------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1.2rem; }
.gitem { position: relative; overflow: hidden; border: 1px solid var(--rule); }
.gitem img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94); transition: transform .8s var(--ease), filter .5s; }
.gitem:hover img { transform: scale(1.05); filter: saturate(1); }
.gitem__cap { position: absolute; left: 0; bottom: 0; background: var(--paper); color: var(--ink); font-family: var(--font-mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .6rem; border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); transform: translateY(110%); transition: transform .35s var(--ease); }
.gitem:hover .gitem__cap { transform: none; }
.gitem--tall { grid-row: span 2; }
.gitem--wide { grid-column: span 2; }

/* ------------------------------- WHY (numbered columns) --------------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.why__col { padding: 2.4rem 1.6rem 0; border-right: 1px solid var(--line); }
.why__col:last-child { border-right: 0; }
.why__n { font-family: var(--font-display); font-style: italic; font-size: 2.4rem; color: var(--red); line-height: 1; }
.why__t { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin: .8rem 0 .5rem; line-height: 1.1; }
.why__d { color: var(--ink-soft); font-size: .92rem; }

/* ------------------------------- TESTIMONIALS (pull-quote) ------------ */
.tst { max-width: 900px; margin-inline: auto; text-align: center; position: relative; }
.tst__mark { font-family: var(--font-display); font-size: 6rem; color: var(--red); line-height: .5; display: block; }
.tst__quote { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.35; margin: 1rem 0 1.6rem; transition: opacity .5s var(--ease); }
.tst__byline { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: opacity .5s var(--ease); }
.tst__controls { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 2.2rem; }
.tst__btn { width: 44px; height: 44px; border: 1.5px solid var(--rule); background: transparent; color: var(--ink); transition: all .25s; border-radius: var(--radius); }
.tst__btn:hover { background: var(--ink); color: var(--paper); }
.tst__dots { display: flex; gap: .5rem; }
.tst__dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: all .3s; }
.tst__dots button.is-active { background: var(--red); width: 24px; border-radius: 4px; }

/* ------------------------------- FAQ (Q/A interview) ------------------ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__intro .section__sub { margin-top: 1rem; }
.faq__list { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; padding: 1.5rem 0; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: baseline; }
.faq__q .marker { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--red); font-size: 1.3rem; }
.faq__q .q-text { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.faq__sign { font-family: var(--font-mono); color: var(--red); font-size: 1.1rem; transition: transform .35s var(--ease); }
.faq__item.open .faq__sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a-inner { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 0 0 1.5rem 0; }
.faq__a-inner .marker { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--olive); font-size: 1.3rem; }
.faq__a-inner p { color: var(--ink-soft); max-width: 60ch; }

/* ------------------------------- HOURS + LOCATION --------------------- */
.place__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hours { border-top: 1px solid var(--rule); margin-top: 1.5rem; }
.hours li { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.hours__day { font-family: var(--font-display); font-size: 1.15rem; }
.hours__time { font-family: var(--font-mono); font-size: .86rem; color: var(--ink-soft); }
.hours li.is-today .hours__day { color: var(--red); }
.hours li.is-today .hours__time { color: var(--red); }
.hours li.is-closed .hours__time { color: var(--muted); font-style: italic; }
.hours__note { margin-top: 1rem; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.place__address { color: var(--ink-soft); margin: .8rem 0 1.4rem; font-size: 1.05rem; }
.place__frame { border: 1px solid var(--rule); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 1.4rem; }
.place__frame iframe { width: 100%; height: 100%; filter: grayscale(.3) sepia(.15) contrast(.95); }

/* ------------------------------- CONTACT ------------------------------ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact__list { margin: 1.6rem 0; border-top: 1px solid var(--rule); }
.contact__list li { display: flex; gap: 1.4rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact__list b { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; 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.15rem; }
.contact__social, .footer__social { display: flex; gap: 1.4rem; }
.contact__social a, .footer__social a { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; 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: 1.5px; background: var(--red); transition: width .3s var(--ease); }
.contact__social a:hover, .footer__social a:hover { color: var(--red); }
.contact__social a:hover::after, .footer__social a:hover::after { width: 100%; }
.contact__form { border: 1.5px solid var(--rule); padding: clamp(1.8rem, 4vw, 2.6rem); }
.field-row { display: grid; grid-template-columns: 2fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--line); padding: .6rem 0; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.field textarea { resize: vertical; }
.form__status { margin-top: 1rem; font-family: var(--font-mono); font-size: .78rem; }
.form__status.ok { color: var(--olive); }
.form__status.err { color: var(--red); }

/* ------------------------------- FOOTER (colophon) -------------------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer__mast { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(248,242,230,.18); flex-wrap: wrap; }
.brand__name--footer { color: var(--paper); font-size: clamp(2rem, 5vw, 3.4rem); }
.footer__mast-sub { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(248,242,230,.55); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding: 2.5rem 0 3rem; border-bottom: 1px solid rgba(248,242,230,.18); }
.footer__brand p { color: rgba(248,242,230,.65); max-width: 36ch; margin-bottom: 1.4rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(248,242,230,.5); margin-bottom: 1.1rem; }
.footer__col a, .footer__col li { color: rgba(248,242,230,.8); padding: .35rem 0; display: block; transition: color .2s; }
.footer__col a:hover { color: var(--mustard); }
.footer__social a { color: rgba(248,242,230,.7); }
.footer__social a:hover { color: var(--mustard); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.6rem; flex-wrap: wrap; }
.footer__bottom p, .footer__credit { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; color: rgba(248,242,230,.5); }
.footer__credit a { color: var(--mustard); }

/* ------------------------------- 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 12px 26px -10px rgba(37,211,102,.6); border: 1.5px solid var(--ink); transition: transform .3s var(--ease); }
.wa:hover { transform: translateY(-3px) scale(1.05); }

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

/* ------------------------------- RESPONSIVE --------------------------- */
@media (max-width: 1024px) {
  .hero__grid, .place__grid, .contact__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero__figure { max-width: 460px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__body { border-right: 0; padding-right: 0; }
  .about__figure { margin-top: 2rem; max-width: 460px; }
  .featured__grid { grid-template-columns: 1fr; }
  .dish { border-right: 0; border-bottom: 1px solid var(--line); }
  .dish:last-child { border-bottom: 0; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__col:nth-child(2) { border-right: 0; }
  .why__col { border-bottom: 1px solid var(--line); padding-bottom: 2rem; }
  .offers__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__links { position: absolute; inset: 100% 0 auto 0; background: var(--paper); border-bottom: 1.5px solid var(--rule); padding: 1.2rem 1.25rem; transform: translateY(-130%); transition: transform .4s var(--ease); }
  .nav__links.open { transform: none; }
  .nav__links ul { flex-direction: column; gap: 0; }
  .nav__links ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .why__grid { grid-template-columns: 1fr; }
  .why__col { border-right: 0; }
  .menu__panel.is-active { grid-template-columns: 1fr; gap: 0; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gitem--tall, .gitem--wide { grid-row: auto; grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ------------------------------- 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; }
}
