/* Explore Tuscan Life - retro Italian, old money. */

:root {
  --linen: #f1e6d0;
  --linen-deep: #e6d6b8;
  --ochre: #c58a2e;
  --terracotta: #a9482a;
  --chianti: #5c1a22;
  --olive: #5e6538;
  --ink: #2b1d14;
  --ink-soft: #5a4536;
  --sun: #f6c257;

  --display: "Prata", "Didot", "Bodoni 72", Georgia, serif;
  --text: "EB Garamond", "Garamond", "Times New Roman", serif;
  --label: "Jost", "Futura", "Avenir Next", sans-serif;
  --wordmark: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::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(--ink);
  font-family: var(--text);
  font-size: 1.1875rem;
  line-height: 1.5;
  font-feature-settings: "liga", "kern", "onum";
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ochre); color: var(--linen); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
html { scrollbar-color: var(--terracotta) var(--linen-deep); }

main section, .footer { scroll-margin-top: 3.5rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--chianti); color: var(--linen); padding: .6rem 1rem; font-family: var(--label); text-decoration: none; }
.skip:focus { top: 1rem; }

/* Labels: Jost small caps, tracked. Used only where the world uses a stamp or a menu heading. */
.label, .entry__where, .stay__where, .section-head__note, .hero__scroll, .menu__time, .region__n, .post time, .nav__link {
  font-family: var(--label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.link {
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--terracotta);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.link:hover { color: var(--chianti); }
.link--light { color: var(--sun); }
.link--light:hover { color: var(--linen); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 320vh; background: var(--ink); isolation: isolate; z-index: 0; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
/* Mobile browser toolbars: the sticky frame keeps the largest viewport height so nothing reflows while the
   toolbar hides; the foot elements are lifted by the toolbar height so they stay visible when it is shown. */
@supports (height: 100lvh) {
  .hero__foot { bottom: calc(100lvh - 100svh); }
  .ai-badge { bottom: calc(100lvh - 100svh + .75rem); }
}
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { filter: saturate(1.08) contrast(1.05); }
.hero__video { filter: saturate(1.08) contrast(1.05); opacity: 0; transition: opacity .6s var(--ease-out); }
.hero--video-ready .hero__video { opacity: 1; }
.hero__grain {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(43,29,20,.6) 0%, rgba(43,29,20,0) 32%, rgba(43,29,20,0) 60%, rgba(43,29,20,.55) 100%);
}
.hero__grain::after {
  display: none; /* film-grain overlay off: the video carries its own texture */
  content: ""; position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.nav {
  position: absolute; inset: 0 0 auto 0;
  display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  padding: clamp(1.25rem, 3vw, 2.25rem) var(--gutter);
  color: var(--linen);
  text-shadow: 0 1px 12px rgba(43,29,20,.35);
}
.nav__link { text-decoration: none; justify-self: center; position: relative; padding: .4rem 0; }
.nav__link::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: currentColor; transition: left .4s var(--ease-out), right .4s var(--ease-out); }
.nav__link:hover::after { left: 0; right: 0; }

.nav__brand { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-decoration: none; }
.nav__sun { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.nav__sun .rays { transform-origin: 16px 16px; transition: transform 1.2s var(--ease-out); }
.nav__brand:hover .rays { transform: rotate(45deg); }
/* Brand lockup: EXPLORE / rule with dot / TUSCAN LIFE */
.lockup { display: inline-flex; flex-direction: column; align-items: center; --lockup-size: clamp(1.5rem, 2.4vw, 2.1rem); --lockup-small: .82rem; --lockup-gap: .4em; white-space: nowrap; }
.lockup__top { font-family: var(--wordmark); font-weight: 400; font-size: var(--lockup-size); line-height: 1; letter-spacing: .14em; text-transform: uppercase; padding-left: .14em; }
.lockup__rule { display: flex; align-items: center; align-self: stretch; gap: .45em; margin: var(--lockup-gap) 0; font-size: var(--lockup-small); }
.lockup__rule::before, .lockup__rule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .85; }
.lockup__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.lockup__bottom { font-family: var(--label); font-weight: 500; font-size: var(--lockup-small); letter-spacing: .36em; text-transform: uppercase; padding-left: .36em; }

.hero__foot {
  position: absolute; inset: auto 0 0 0;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  padding: 0 var(--gutter) clamp(1.5rem, 4vw, 3rem);
  color: var(--linen);
}
.hero__line { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.25; max-width: 30ch; text-wrap: balance; color: var(--linen); text-shadow: none; }
.hero__scroll { display: flex; align-items: center; gap: .9rem; white-space: nowrap; transition: opacity .6s var(--ease-out); }
.hero__scroll svg { width: 12px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 2.4s var(--ease-out) infinite; }
.hero--driving .hero__scroll { opacity: 0; }
.hero__corner { display: flex; flex-direction: column; align-items: flex-end; gap: 1.1rem; }
.hero__left { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.ai-badge { position: absolute; right: .75rem; bottom: .75rem; z-index: 5; display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem .3rem .55rem; border-radius: 999px; background: rgba(241,230,208,.2); color: var(--linen); transform: scale(.7); transform-origin: right bottom; font-family: var(--label); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.ai-badge__ai { font-weight: 500; font-size: .72rem; letter-spacing: .02em; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- MANIFESTO ---------- */
.manifesto {
  position: relative;
  padding: clamp(6rem, 14vw, 12rem) var(--gutter) clamp(5rem, 10vw, 9rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.manifesto__stamp { position: absolute; top: clamp(2rem, 5vw, 3.5rem); right: var(--gutter); width: clamp(88px, 10vw, 128px); color: var(--terracotta); opacity: .9; }
.manifesto__stamp svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.2; animation: spin 40s linear infinite; }
.manifesto__stamp text { font-family: var(--label); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; fill: currentColor; stroke: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.manifesto__title { font-size: clamp(2.75rem, 7vw, 5.75rem); }
.manifesto__title em { font-style: italic; color: var(--terracotta); }
.manifesto__text { max-width: var(--measure); font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.45; padding-top: .6em; }
.manifesto__text p + p { margin-top: 1.25em; font-style: italic; color: var(--chianti); }

/* ---------- SECTION HEADS ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding: 0 var(--gutter); border-top: 1px solid var(--olive); padding-top: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-style: italic; }
.section-head__note { max-width: 44ch; text-align: right; color: var(--ink-soft); line-height: 1.7; letter-spacing: .12em; }
.section-head--light { border-color: rgba(241,230,208,.35); }
.section-head--light h2 { color: var(--linen); }
.section-head--light .section-head__note { color: var(--linen-deep); }

/* ---------- THE EDIT ---------- */
.edit { padding-bottom: clamp(5rem, 10vw, 9rem); }
.edit__list { counter-reset: place; }
.entry { display: grid; grid-template-columns: 1fr; padding: 0 var(--gutter); }
.entry--lead { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.entry__figure { margin: 0; }
.entry__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(1.05) contrast(1.04); }
.entry__figure figcaption { margin-top: .6rem; font-style: italic; color: var(--ink-soft); font-size: .95rem; }
.entry__body { position: relative; }
.entry__where { color: var(--terracotta); margin-bottom: .9rem; }
.entry__name { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: .6em; }
.entry__text { max-width: var(--measure); color: var(--ink); margin-bottom: 1.6rem; }
.entry__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 1.5rem 2.5rem; margin: 0 0 1.75rem; }
.entry__facts div { display: grid; gap: .25rem; }
.entry__facts dt { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; color: var(--ink-soft); }
.entry__facts dd { margin: 0; font-style: italic; }

.entry:not(.entry--lead) { border-top: 1px solid var(--linen-deep); padding-top: 2.25rem; padding-bottom: 2.25rem; }
.entry:not(.entry--lead) .entry__body {
  display: grid; grid-template-columns: 3rem minmax(0, 14rem) minmax(0, 1fr) auto;
  gap: 1rem 2.5rem; align-items: baseline;
}
.entry:not(.entry--lead) .entry__body::before {
  counter-increment: place; content: counter(place, upper-roman);
  font-family: var(--display); font-style: italic; color: var(--ochre); font-size: 1.4rem;
}
.entry:not(.entry--lead) .entry__where { margin: 0; }
.entry:not(.entry--lead) .entry__name { font-size: clamp(1.6rem, 2.6vw, 2.25rem); grid-column: 3; margin: 0; }
.entry:not(.entry--lead) .entry__text { grid-column: 3; margin: .5rem 0 0; }
.entry:not(.entry--lead) .link, .entry:not(.entry--lead) .entry__links { grid-column: 4; grid-row: 1; white-space: nowrap; }
.entry__links { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.entry__facts dd .link { font-style: normal; }
.entry:not(.entry--lead):hover .entry__name { color: var(--chianti); transition: color .5s var(--ease-out); }

/* ---------- TABLES (terracotta field) ---------- */
.tables { background: var(--terracotta); color: var(--linen); padding: clamp(4rem, 8vw, 7rem) 0; }
.tables__inner { max-width: 1200px; margin: 0 auto; }
.tables .section-head { border-top-color: rgba(241,230,208,.4); }
.menu { padding: 0 var(--gutter); max-width: 1200px; }
.menu__row { display: grid; grid-template-columns: auto 1fr minmax(0, 40ch); align-items: baseline; gap: 1.25rem; padding: 1.1rem 0; }
.menu__row + .menu__row { border-top: 1px solid rgba(241,230,208,.18); }
.menu__time { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums lining-nums; color: var(--sun); }
.menu__dots { border-bottom: 1px dotted rgba(241,230,208,.55); transform: translateY(-.35em); }
.menu__what { font-size: 1.15rem; line-height: 1.45; }
.tables__foot { padding: 3rem var(--gutter) 0; max-width: 60ch; line-height: 1.75; }

/* ---------- REGIONS ---------- */
.regions { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.regions__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 5rem); padding: 0 var(--gutter); align-items: start; }
.regions__figure { margin: 0; }
.regions__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.regions__figure figcaption { margin-top: .6rem; font-style: italic; color: var(--ink-soft); font-size: .95rem; }
.regions__list { display: grid; grid-template-columns: 1fr; }
.region { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: .5rem 2rem; align-items: baseline; padding: 1.25rem 0; border-top: 1px solid var(--olive); transition: background .4s var(--ease-out); }
.region:last-child { border-bottom: 1px solid var(--olive); }
.region:hover { background: var(--linen-deep); }
.region__n { color: var(--olive); }
.region__desc { font-size: 1.05rem; line-height: 1.45; font-style: italic; }

/* ---------- STAYS (ochre field) ---------- */
.stays { background: #e58b22; color: var(--ink); padding: clamp(4rem, 8vw, 7rem) 0; }
.stays .section-head { border-top-color: rgba(43,29,20,.35); }
.stays .section-head__note { color: var(--ink); }
.stays__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); padding: 0 var(--gutter); }
.stay__where { color: var(--chianti); margin-bottom: .8rem; }
.stay__name { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: .6em; }
.stay__text { max-width: 40ch; }
.stays__placeholder { padding: clamp(2rem, 5vw, 4rem) var(--gutter) 0; text-align: center; }
.stays__soon { font-family: var(--display); font-style: italic; font-size: clamp(2rem, 4vw, 3.25rem); color: var(--chianti); }
.stays__soon-note { margin: .75rem auto 0; max-width: 36ch; color: var(--ink); }
.link-inline { color: var(--chianti); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-inline:hover { color: var(--ink); }
.curator__figure a { display: block; }
.curator__figure a:hover img { filter: saturate(1.06); }

/* ---------- CURATOR ---------- */
.curator { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(4rem, 8vw, 7rem) var(--gutter); border-top: 1px solid var(--olive); }
.curator__figure { margin: 0; }
.curator__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.curator__title { font-size: clamp(2.25rem, 4.5vw, 3.75rem); margin-bottom: 1.25rem; }
.curator__title em { font-style: italic; color: var(--terracotta); }
.curator__text { max-width: 52ch; margin-bottom: 1.75rem; }
.curator__ig { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--terracotta); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .35s var(--ease-out); }
.curator__ig:hover { color: var(--chianti); }
.curator__ig { margin: .5rem 1.75rem 0 0; }
.curator__ig svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.curator__support { margin-top: 2rem; margin-bottom: 1rem; }

/* ---------- JOURNAL ---------- */
.journal { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.journal__list { padding: 0 var(--gutter); }
.post { display: grid; grid-template-columns: 8rem 1fr; gap: 2rem; padding: 1.25rem 0; border-top: 1px solid var(--linen-deep); align-items: baseline; }
.post time { color: var(--ink-soft); }
.post__title { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); text-decoration: none; transition: color .4s var(--ease-out); }
.post__title:hover { color: var(--terracotta); }

/* ---------- LETTER (chianti field) ---------- */
.letter { background: var(--chianti); color: var(--linen); padding: clamp(5rem, 10vw, 8rem) var(--gutter); text-align: center; }
.letter__title { font-size: clamp(2.25rem, 5vw, 3.75rem); font-style: italic; }
.letter__text { margin: 1rem auto 2.5rem; max-width: 40ch; color: var(--linen-deep); }
.letter__form { display: flex; gap: 0; max-width: 34rem; margin: 0 auto; border-bottom: 1px solid var(--linen); }
.letter__input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--linen); font: inherit; padding: .8rem 0; }
.letter__input::placeholder { color: rgba(241,230,208,.55); }
.letter__input:focus { outline: none; }
.letter__button { background: transparent; border: 0; color: var(--sun); font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; cursor: pointer; padding: .8rem 0 .8rem 1rem; transition: color .3s; }
.letter__button:hover { color: var(--linen); }
.letter__status { min-height: 1.5em; margin-top: 1rem; font-style: italic; color: var(--sun); }
.letter__status.is-error { color: #ffb8a0; }

/* ---------- FOOTER ---------- */
.footer { padding: 3rem var(--gutter) 2.5rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center; border-top: 1px solid var(--olive); }
.footer__mark { display: flex; align-items: center; }
.footer__mark .lockup { --lockup-size: 1.1rem; --lockup-small: .66rem; }
.footer__mark svg { width: 22px; height: 22px; fill: none; stroke: var(--terracotta); stroke-width: 1.4; stroke-linecap: round; }
.footer__nav { display: flex; gap: 2rem; justify-content: flex-end; }
.footer__nav a { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; text-decoration: none; }
.footer__nav a:hover { color: var(--terracotta); }
.footer__small { grid-column: 1 / -1; font-size: .95rem; font-style: italic; color: var(--ink-soft); max-width: 70ch; }

/* ---------- STICKY TOPBAR ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem;
  height: 3.5rem; padding: 0 var(--gutter);
  background: rgba(241,230,208,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--olive); color: var(--ink);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease-out), opacity .4s var(--ease-out), visibility 0s .5s;
}
.topbar.is-visible { transform: none; opacity: 1; visibility: visible; transition: transform .5s var(--ease-out), opacity .4s var(--ease-out), visibility 0s; }
.topbar__brand { display: inline-flex; align-items: center; text-decoration: none; }
.topbar__brand .lockup { --lockup-size: .85rem; --lockup-small: .5rem; --lockup-gap: .25em; }
.topbar__brand svg { width: 18px; height: 18px; fill: none; stroke: var(--terracotta); stroke-width: 1.4; stroke-linecap: round; }
.topbar__nav { display: flex; justify-content: flex-end; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.topbar__nav a { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; text-decoration: none; position: relative; padding: .5rem 0; }
.topbar__nav a:not(.topbar__ig)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: .15rem; height: 1px; background: var(--terracotta); transition: left .4s var(--ease-out), right .4s var(--ease-out); }
.topbar__nav a:hover::after { left: 0; right: 0; }
.topbar__nav a.is-current { color: var(--terracotta); }
.topbar__ig svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; display: block; }
.topbar__ig:hover { color: var(--terracotta); }
.topbar__support { color: var(--terracotta); }
.topbar__nav a.topbar__support::after { left: 0; right: 0; }
.topbar__support:hover { color: var(--chianti); }
.topbar__nav a.topbar__support:hover::after { background: var(--chianti); }
.topbar .topbar__toggle { display: none; color: var(--ink); grid-column: 2; justify-self: end; }
body.menu-open .topbar { visibility: hidden; opacity: 0; }

/* ---------- MOBILE MENU ---------- */
.nav__toggle { display: none; position: relative; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; justify-self: end; color: var(--linen); z-index: 30; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out), opacity .3s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu-overlay { position: fixed; inset: 0; z-index: 2000; background: var(--chianti); color: var(--linen); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3rem; padding: 6rem var(--gutter) 3rem; opacity: 0; transition: opacity .4s var(--ease-out); }
.menu-overlay[hidden] { display: none; }
.letter[hidden] { display: none; }
.menu-overlay.is-open { opacity: 1; }
.menu-overlay__nav { display: grid; gap: 1.1rem; text-align: center; }
.menu-overlay__nav a { font-family: var(--display); font-style: italic; font-size: 2.4rem; line-height: 1.1; text-decoration: none; color: var(--linen); transform: translateY(12px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s var(--ease-out); }
.menu-overlay.is-open .menu-overlay__nav a { transform: none; opacity: 1; }
.menu-overlay.is-open .menu-overlay__nav a:nth-child(2) { transition-delay: 50ms; }
.menu-overlay.is-open .menu-overlay__nav a:nth-child(3) { transition-delay: 100ms; }
.menu-overlay.is-open .menu-overlay__nav a:nth-child(4) { transition-delay: 150ms; }
.menu-overlay.is-open .menu-overlay__nav a:nth-child(5) { transition-delay: 200ms; }
.menu-overlay.is-open .menu-overlay__nav a:nth-child(6) { transition-delay: 250ms; }
.menu-overlay__ig { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--sun); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
body.menu-open { overflow: hidden; }
.menu-overlay__close { position: absolute; top: .9rem; right: .9rem; width: 44px; height: 44px; background: transparent; border: 0; color: var(--linen); cursor: pointer; display: grid; place-items: center; }
.menu-overlay__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; fill: none; transition: transform .4s var(--ease-out); }
.menu-overlay__close:hover svg { transform: rotate(90deg); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll svg, .manifesto__stamp svg { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .manifesto { grid-template-columns: 1fr; }
  .manifesto__stamp { display: none; }
  .entry--lead { grid-template-columns: 1fr; }
  .entry:not(.entry--lead) .entry__body { grid-template-columns: 2.5rem 1fr; }
  .entry:not(.entry--lead) .entry__where { grid-column: 2; }
  .entry:not(.entry--lead) .entry__name, .entry:not(.entry--lead) .entry__text { grid-column: 2; }
  .entry:not(.entry--lead) .link, .entry:not(.entry--lead) .entry__links { grid-column: 2; grid-row: auto; margin-top: .75rem; }
  .entry__links { flex-direction: row; flex-wrap: wrap; gap: 1.25rem; }
  .entry__links .link { margin-top: 0; }
  .stays__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 1.1rem; }
  .nav { grid-template-columns: 44px 1fr 44px; align-items: center; }
  .nav__brand .lockup { --lockup-size: 1.75rem; --lockup-small: .92rem; }
  .nav__link { display: none; }
  .nav__brand { grid-column: 2; }
  .nav__toggle { display: block; grid-column: 3; }
  .curator { grid-template-columns: 1fr; }
  .curator__figure { max-width: 22rem; }
  .topbar { grid-template-columns: 1fr auto; gap: 1rem; height: 3.25rem; }
  .topbar__brand .lockup { --lockup-size: .8rem; --lockup-small: .46rem; }
  .topbar__nav { display: none; }
  .topbar .topbar__toggle { display: block; }
  .ai-badge { right: .5rem; bottom: .5rem; }
  .hero__foot { padding-bottom: 7rem; }
  .hero { height: 260vh; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero__line { font-size: 1rem; max-width: 30ch; line-height: 1.5; }
  .hero__corner { align-items: flex-end; }
  .section-head { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .section-head__note { text-align: left; }
  .menu__row { grid-template-columns: auto 1fr; }
  .menu__what { grid-column: 1 / -1; }
  .menu__dots { display: none; }
  .regions__inner { grid-template-columns: 1fr; }
  .regions__figure { max-width: 24rem; }
  .region { grid-template-columns: 1fr; gap: .3rem; }
  .post { grid-template-columns: 1fr; gap: .4rem; }
  .footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__mark { justify-content: center; }
  .footer__mark .lockup { --lockup-size: 1.4rem; --lockup-small: .78rem; }
  .footer__nav { justify-content: center; flex-wrap: wrap; gap: 1rem 1.5rem; }
  .entry__facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- SAGRE (map + calendar) ---------- */
.sagre { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.sagre__map-wrap { position: relative; margin: 0 var(--gutter); isolation: isolate; z-index: 0; }
.sagre__map { height: clamp(460px, 68vh, 720px); background: var(--linen-deep); border: 1px solid var(--olive); }
.sagre__map .leaflet-tile-pane { filter: sepia(.45) saturate(.85) contrast(.95) brightness(1.02); }
.sagre__map .leaflet-control-attribution { font-family: var(--label); font-size: .6rem; letter-spacing: .04em; background: rgba(241,230,208,.85); color: var(--ink-soft); }
.sagre__map .leaflet-control-attribution a { color: var(--terracotta); }
.sagre__map .leaflet-bar { border: 1px solid var(--olive); box-shadow: none; border-radius: 0; }
.sagre__map .leaflet-bar a { background: var(--linen); color: var(--ink); border-bottom-color: var(--olive); font-family: var(--display); width: 32px; height: 32px; line-height: 30px; }
.sagre__map .leaflet-bar a:hover { background: var(--linen-deep); }
.sagre__map .leaflet-container { font-family: var(--text); }
.sagre__fallback { padding: 2rem; font-style: italic; color: var(--ink-soft); }

.sagre__pin { background: none; border: 0; }
.sagre__pin span { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--terracotta); border: 2px solid var(--linen); box-shadow: 0 2px 6px rgba(43,29,20,.35); transition: transform .35s var(--ease-out), background .3s; }
.sagre__pin:hover span, .sagre__pin.is-active span { transform: scale(1.35); background: var(--chianti); }
.sagre__pin--now span { background: var(--ochre); }
.sagre__pin--now span::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--ochre); animation: pinpulse 2.2s var(--ease-out) infinite; }
.sagre__pin--now { position: relative; }
@keyframes pinpulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

.sagre__panel {
  position: absolute; z-index: 1000; top: 1.25rem; left: 1.25rem; width: min(22rem, calc(100% - 2.5rem));
  background: var(--linen); color: var(--ink); border: 1px solid var(--olive);
  padding: 1.5rem 1.5rem 1.6rem; box-shadow: 0 14px 40px -18px rgba(43,29,20,.5);
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.sagre__panel.is-open { opacity: 1; transform: none; }
.sagre__close { position: absolute; top: .75rem; right: .75rem; width: 32px; height: 32px; background: transparent; border: 0; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.sagre__close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; transition: transform .4s var(--ease-out); }
.sagre__close:hover svg { transform: rotate(90deg); color: var(--terracotta); }
.sagre__panel-where { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; color: var(--terracotta); margin-bottom: .6rem; padding-right: 2rem; }
.sagre__panel-name { font-size: 1.7rem; margin-bottom: .5rem; }
.sagre__panel-desc { margin-bottom: .9rem; line-height: 1.45; }
.sagre__panel-dates { font-family: var(--display); font-style: italic; color: var(--chianti); margin-bottom: 1.1rem; }

.sagre__legend { display: flex; gap: 1.5rem; align-items: center; margin-top: .75rem; font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; color: var(--ink-soft); }
.sagre__pin-sample { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); margin-right: .5rem; vertical-align: middle; }
.sagre__pin-sample--now { background: var(--ochre); }

/* ---------- SPRITZ (support) ---------- */
.spritz { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); margin: clamp(2.5rem, 5vw, 4rem) var(--gutter) 0; padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3.5vw, 3rem); background: linear-gradient(135deg, rgba(197,138,46,.16), rgba(229,139,34,.08)); border: 1px solid var(--olive); }
.spritz__glass { width: clamp(64px, 7vw, 92px); height: auto; flex: none; }
.spritz__line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.spritz__liquid { fill: #ee7a2a; opacity: .9; }
.spritz__ice { fill: rgba(241,230,208,.7); stroke: rgba(43,29,20,.35); stroke-width: 1; }
.spritz__orange { fill: #f2a13a; stroke: var(--ink); stroke-width: 1.4; }
.spritz__orange-lines { fill: none; stroke: rgba(43,29,20,.55); stroke-width: 1; }
.spritz__label { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; color: var(--terracotta); margin-bottom: .35rem; }
.spritz__title { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; margin-bottom: .75rem; }
.spritz__title em { font-style: italic; color: var(--terracotta); }
.spritz__text { color: var(--ink-soft); line-height: 1.6; font-size: .98rem; }
.spritz__text + .spritz__text { margin-top: .9rem; }
.spritz__sign { font-family: var(--display); font-style: italic; color: var(--chianti); font-size: 1.1rem; }
.spritz__button { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; padding: 1rem 1.6rem; background: var(--terracotta); color: var(--linen); font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; text-decoration: none; transition: background .35s var(--ease-out), transform .35s var(--ease-out); }
.spritz__button:hover { background: var(--chianti); transform: translateY(-2px); }

.sagre__cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; padding: 0 var(--gutter); margin: clamp(3rem, 6vw, 5rem) 0 1.5rem; }
.sagre__cal-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-style: italic; }
.sagre__cal-note { max-width: 46ch; text-align: right; font-size: .98rem; color: var(--ink-soft); line-height: 1.5; }
.sagre__cal { padding: 0 var(--gutter); }
.sagre__more { margin: 2rem var(--gutter) 0; padding-top: 1.25rem; border-top: 1px solid var(--linen-deep); font-style: italic; color: var(--ink-soft); font-size: .98rem; }
.sagre__more-label { display: inline-block; margin-right: .75rem; font-family: var(--label); font-style: normal; text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; color: var(--ochre); }
.sagre__month { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--ochre); padding: 1.5rem 0 .5rem; border-bottom: 1px solid var(--olive); }
.sagre__row + .sagre__row { border-top: 1px solid var(--linen-deep); }
.sagre__row-btn { width: 100%; display: grid; grid-template-columns: 13rem minmax(0, 1fr) 12rem; gap: 1rem 2rem; align-items: baseline; padding: 1.1rem 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.sagre__row-dates { font-family: var(--label); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; color: var(--ink-soft); }
.sagre__row-main { display: grid; gap: .15rem; }
.sagre__row-name { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; transition: color .35s var(--ease-out); }
.sagre__wine { font-size: .8em; }
.sagre__row-more { font-family: var(--label); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); margin-left: .75rem; vertical-align: middle; }
.sagre__row-desc { color: var(--ink-soft); font-size: 1rem; }
.sagre__row-place { font-style: italic; text-align: right; }
.sagre__prov { font-family: var(--label); font-style: normal; font-size: .66rem; letter-spacing: .12em; color: var(--ink-soft); }
.sagre__row-btn:hover .sagre__row-name, .sagre__row.is-current .sagre__row-name { color: var(--terracotta); }
.sagre__row.is-on .sagre__row-dates::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); margin-right: .6rem; vertical-align: middle; }
.sagre__row.is-current { background: var(--linen-deep); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); border-top-color: transparent; }

@media (max-width: 720px) {
  .sagre__map { height: 70vh; }
  .sagre__panel { top: auto; bottom: 1rem; left: 1rem; width: calc(100% - 2rem); }
  .sagre__cal-head { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .spritz { grid-template-columns: 1fr; gap: 1.25rem; }
  .spritz__glass { width: 64px; }
  .spritz__button { justify-self: start; }
  .sagre__cal-note { text-align: left; }
  .sagre__row-btn { grid-template-columns: 1fr; gap: .35rem; }
  .sagre__row-place { text-align: left; }
}

/* ---- Journal article page ---- */
.article-page { background: var(--linen); }
.article__top { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem var(--gutter); border-bottom: 1px solid var(--linen-deep); }
.article__brand { text-decoration: none; }
.article__brand .lockup { --lockup-size: 1.1rem; --lockup-small: .66rem; }
.article__back { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: var(--terracotta); text-decoration: none; }
.article__back:hover { color: var(--chianti); }
.article { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.article__meta { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: var(--terracotta); margin: 0 0 1.25rem; }
.article__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.25rem); line-height: 1.05; margin: 0 0 1.25rem; letter-spacing: -.01em; }
.article__lede { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; font-style: italic; color: var(--ink-soft); margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.article__body { font-size: 1.2rem; line-height: 1.7; color: var(--ink); }
.article__body p { margin: 0 0 1.4em; }
.article__body p:first-of-type::first-letter { font-family: var(--display); font-size: 3.6em; line-height: .8; float: left; margin: .1em .12em 0 0; color: var(--terracotta); }
.article__body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; margin: 2.4em 0 .8em; }
.article__sign { font-family: var(--display); font-style: italic; color: var(--terracotta); margin-top: 2.5rem !important; }
.article__foot { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--linen-deep); }
@media (max-width: 720px) {
  .article__body { font-size: 1.1rem; }
  .article__top { padding: 1.1rem var(--gutter); }
}

/* ---------- PLACES: short clips ---------- */
.entry--clip { grid-template-columns: minmax(0, 1fr) clamp(10rem, 15vw, 14rem); gap: 1.5rem clamp(2rem, 4vw, 4rem); align-items: start; }
.entry__clip { margin: 0; }
.entry__clip video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--linen-deep); filter: saturate(1.05) contrast(1.04); }
.entry__clip-link { display: block; }
.entry__clip figcaption { margin-top: .6rem; font-style: italic; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 960px) {
  .entry--clip { grid-template-columns: 1fr; }
  .entry__clip { max-width: none; margin-left: 5rem; margin-right: 0; }
}
