/* ============================================================
   OPEN DAY — CAMPAIGN LANDING (not a second homepage).
   Loaded AFTER style.css: reuses only the atomic design tokens
   (colors, fonts, --ease, .container/.eyebrow/.btn/.reveal) — every
   SECTION here is a bespoke component built for this campaign, not
   a reused homepage block (no .schools-list/.manifesto-grid/.milan/
   .experience-grid/.trust-grid anywhere on this page).
   Header on this page has no multi-item nav/hamburger by design
   (single CTA only) — js/main.js is NOT loaded here for that reason;
   open-day.js carries its own sticky-header/reveal/lang-toggle logic.
   ============================================================ */

/* ---------- Campaign-scale section titles ----------
   Base .section-title (clamp 2.1-3.4rem) is tuned for the site's own
   inner pages -- this campaign wants the same oversized, poster-like
   type language already set by the hero/final/book sections, so every
   section head on THIS page reads as a campaign, not an institutional
   subpage. Token/family untouched, only the scale changes. */
.od-reasons .section-title,
.od-discover .section-title,
.od-faq-section .section-title,
.od-location-head .section-title{
  font-size:clamp(2.6rem,5.6vw,4.6rem);
  line-height:1.03;
}

/* ---------- Header override: single-CTA campaign header (no nav) ---------- */
.od-header .container{gap:1rem;}
.od-header .header-actions{gap:1rem;}
@media (max-width:900px){
  /* sitewide rule hides .header-actions + shows a hamburger at this
     breakpoint -- this page has no hamburger/mobile-nav at all, so
     keep the single CTA + lang switch visible at every width instead. */
  .od-header .header-actions{display:flex !important;}
}
@media (max-width:480px){
  .od-header .brand-sub{display:none;}
  .od-header .lang-switch{display:none;}
  .od-header .header-actions{gap:0;}
  .od-header .btn{padding:.7rem 1.1rem;font-size:.68rem;}
}

/* ============================================================
   01 — HERO: everything the brief demands, visible with zero scroll.
   ============================================================ */
.od-hero-brand{
  font-size:.72rem;
  letter-spacing:.34em;
  text-transform:uppercase;
  color:var(--ivory);
  opacity:0;animation:fadeUp 1s var(--ease) .05s forwards;
}
.od-hero-payoff{
  margin-top:.6rem;
  font-family:var(--font-display);
  font-style:italic;
  font-size:clamp(1rem,2vw,1.3rem);
  color:var(--gold);
  letter-spacing:.02em;
  opacity:0;animation:fadeUp 1s var(--ease) .2s forwards;
}
.od-hero-open{
  margin:1.1rem 0 1.3rem;
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(4rem,13vw,9.5rem);
  line-height:.86;
  letter-spacing:.01em;
  color:var(--ivory);
  overflow:hidden;
}
.od-hero-open span{
  display:block;
  opacity:0;
  transform:translateY(110%);
  animation:revealLine 1.1s var(--ease) .38s forwards;
}
.od-hero-dates-row{
  display:flex;
  flex-wrap:wrap;
  gap:clamp(1.4rem,4vw,3rem);
  margin-bottom:1.6rem;
  opacity:0;animation:fadeUp 1s var(--ease) .75s forwards;
}
.od-hero-date{
  font-family:var(--font-display);
  font-size:clamp(1.5rem,3vw,2.1rem);
  color:var(--ivory);
  letter-spacing:.02em;
}
.od-hero-date span{
  display:block;
  margin-top:.15rem;
  font-family:var(--font-body);
  font-size:.62rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--tortora-light);
}
.od-hero-location{
  font-size:.8rem;
  letter-spacing:.1em;
  color:var(--ivory-soft);
  margin-bottom:2.2rem;
  opacity:0;animation:fadeUp 1s var(--ease) .95s forwards;
}
.od-hero-cta{opacity:0;animation:fadeUp 1s var(--ease) 1.15s forwards;}

/* ============================================================
   02 — FRASE FORTE: one big editorial statement, nothing else.
   ============================================================ */
.od-statement{
  background:var(--ivory);
  padding:clamp(5rem,14vw,10rem) 0;
  text-align:center;
}
.od-statement .eyebrow{justify-content:center;margin-bottom:1.6rem;}
.od-statement-line{
  max-width:26ch;
  margin:0 auto;
  font-family:var(--font-display);
  font-weight:400;
  font-size:clamp(2.2rem,6vw,4.6rem);
  line-height:1.08;
  color:var(--black);
}

/* ============================================================
   03 — PERCHÉ VENIRE: asymmetric numbered list, not a card grid.
   ============================================================ */
.od-reasons{background:var(--ivory);padding:clamp(4rem,10vw,7rem) 0;}
.od-reasons-head{max-width:38ch;margin-bottom:clamp(2.5rem,6vw,4rem);}
.od-reasons-list{border-top:1px solid var(--line);}
.od-reason{
  display:grid;
  grid-template-columns:minmax(90px,15%) 1fr;
  gap:clamp(1.2rem,4vw,3rem);
  align-items:baseline;
  padding:clamp(1.8rem,4vw,2.8rem) 0;
  border-bottom:1px solid var(--line);
  transition:padding-left .5s var(--ease), background .5s var(--ease);
}
.od-reason:hover{padding-left:.6rem;background:rgba(185,160,109,.05);}
.od-reason-num{
  font-family:var(--font-display);
  font-size:clamp(2.6rem,5vw,4rem);
  line-height:1;
  color:var(--gold-a11y);
  transition:color .5s var(--ease);
}
.od-reason:hover .od-reason-num{color:var(--gold);}
.od-reason h3{font-size:clamp(1.2rem,2vw,1.5rem);font-weight:500;}
.od-reason p{margin-top:.6rem;max-width:52ch;font-size:1.05rem;line-height:1.7;color:rgba(11,11,10,.68);}
/* staggered cascade (up to 5 items -- .reveal-delay-1..3 already exist
   sitewide; 4/5 are additive here, harmless anywhere else on the site
   since nothing else references them). */
.reveal-delay-4.is-visible{transition-delay:.48s;}
.reveal-delay-5.is-visible{transition-delay:.6s;}

/* ============================================================
   04 — COSA SCOPRIRAI: full-bleed photo + giant typographic list.
   Deliberately NOT the homepage's 3-col school-row (no tags, no
   counts, no per-item links) -- purely evocative.
   ============================================================ */
.od-discover{
  position:relative;
  color:var(--ivory);
  padding:clamp(5rem,12vw,8rem) 0;
  overflow:hidden;
}
.od-discover-media{position:absolute;inset:0;z-index:0;}
.od-discover-media img{width:100%;height:100%;object-fit:cover;}
.od-discover-media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(11,11,10,.72) 0%, rgba(11,11,10,.55) 45%, rgba(11,11,10,.82) 100%);
}
.od-discover .container{position:relative;z-index:1;}
.od-discover-head{max-width:44ch;margin-bottom:clamp(2.5rem,6vw,4rem);}
.od-discover-head .eyebrow{color:var(--tortora-light);}
.od-discover-head .eyebrow::before{background:var(--tortora-light);}
.od-discover-note{margin-top:1.2rem;font-size:1.05rem;line-height:1.7;color:rgba(246,242,234,.75);max-width:50ch;}
.od-discover-list{border-top:1px solid var(--line-light);}
.od-discover-word{
  display:block;
  padding:clamp(1rem,3vw,1.6rem) 0;
  border-bottom:1px solid var(--line-light);
  font-family:var(--font-display);
  font-weight:400;
  font-size:clamp(2.6rem,8vw,5.6rem);
  line-height:1;
  color:var(--ivory);
  transition:color .4s var(--ease), padding-left .4s var(--ease);
}
.od-discover-word:hover{color:var(--gold);padding-left:.5em;}

/* ============================================================
   05 — L'ESPERIENZA: one cinematic full-bleed photo, own moment.
   ============================================================ */
.od-experience{
  position:relative;
  min-height:82vh;
  display:flex;
  align-items:flex-end;
  color:var(--ivory);
  overflow:hidden;
}
.od-experience-media{position:absolute;inset:0;z-index:0;}
.od-experience-media img{width:100%;height:100%;object-fit:cover;}
.od-experience-media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg, rgba(11,11,10,.78) 0%, rgba(11,11,10,.15) 55%, rgba(11,11,10,.05) 100%);
}
.od-experience-content{position:relative;z-index:1;padding:clamp(3rem,8vw,5rem) 0;}
.od-experience-content .eyebrow{color:var(--tortora-light);}
.od-experience-content .eyebrow::before{background:var(--tortora-light);}
.od-experience-line{
  margin-top:1rem;
  font-family:var(--font-display);
  font-size:clamp(2rem,5vw,3.6rem);
  line-height:1.12;
  max-width:16ch;
}
.od-experience-note{margin-top:1rem;max-width:46ch;font-size:1.05rem;line-height:1.7;color:rgba(246,242,234,.8);}

/* ============================================================
   06 — LE DATE: full-height diptych, not a compact card grid.
   ============================================================ */
.od-dates{background:var(--black);}
.od-dates-head{padding:clamp(3rem,7vw,4.5rem) 0 0;text-align:center;}
.od-dates-head .eyebrow{justify-content:center;color:var(--tortora-light);}
.od-dates-head .eyebrow::before{background:var(--tortora-light);}
.od-dates-diptych{display:grid;grid-template-columns:1fr 1fr;}
.od-date-panel{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:100%;
  min-height:64vh;
  padding:clamp(2.5rem,6vw,4rem) clamp(1.8rem,6vw,4.5rem);
  border:none;
  background:linear-gradient(175deg, var(--espresso) 0%, var(--black) 70%);
  color:var(--ivory);
  text-align:left;
  cursor:pointer;
  font-family:inherit;
  transition:background .5s var(--ease);
}
.od-date-panel + .od-date-panel{border-left:1px solid var(--line-light);}
.od-date-panel:hover,
.od-date-panel:focus-visible{background:linear-gradient(175deg, var(--espresso-soft) 0%, var(--near-black) 70%);}
.od-date-panel-num{
  font-family:var(--font-display);
  font-size:clamp(5rem,13vw,10rem);
  line-height:.85;
  color:var(--ivory);
}
.od-date-panel-month{
  display:block;
  margin-top:.6rem;
  font-size:.85rem;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--gold);
}
.od-date-panel-cta{
  display:inline-flex;align-items:center;gap:.7rem;
  margin-top:2.2rem;
  font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--ivory);
}
.od-date-panel-cta .arrow{transition:transform .4s var(--ease);}
.od-date-panel:hover .od-date-panel-cta .arrow{transform:translateX(8px);}

/* ============================================================
   07 — LA LOCATION: cinematic scroll-linked map
   (Milano -> Zona Pasteur -> Via Marco Aurelio -> pin).
   ============================================================ */
.od-location-section{background:var(--ivory);padding:clamp(4rem,9vw,6.5rem) 0 0;}
.od-location-head{margin-bottom:clamp(2.5rem,6vw,4rem);}
.od-location-head h2{margin-top:.8rem;}

/* Contained editorial map "plate" -- deliberately NOT full-screen: a
   framed panel with its own generous margin, radius and shadow, sized
   as one detail in the composition, not the page's protagonist.
   The tall driver (scroll distance for the animation) still wraps it;
   only the STAGE itself is now a small bordered panel instead of a
   100vh cinematic frame -- js/open-day.js's progress math already
   reads the stage's own live height (never assumed 100vh), so nothing
   in the engine needed to change, only these dimensions. */
.od-map-driver{
  position:relative;
  height:150vh;
  max-width:1040px;
  margin:0 auto;
}
.od-map-stage{
  position:sticky;
  top:clamp(88px,12vh,130px);
  height:clamp(360px,54vh,560px);
  overflow:hidden;
  border-radius:14px;
  border:1px solid var(--line);
  box-shadow:0 32px 60px -24px rgba(44,32,21,.32), 0 10px 24px -12px rgba(44,32,21,.2);
  background:var(--champagne-soft);
}
.od-map-zoom-layer{
  position:absolute;
  inset:-4%;
  will-change:transform;
}
.od-map-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  will-change:opacity;
}
.od-map-img[data-stage="0"]{opacity:1;}
/* a whisper of depth toward the corners only -- the panel's own border/
   shadow now does the framing, so this stays deliberately light (never
   the dark cinematic wash a full-bleed version needed). */
.od-map-vignette{
  position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 78% 75% at 50% 46%, transparent 60%, rgba(44,32,21,.16) 100%);
}
/* soft gold halo behind the pin -- makes the exact spot read as
   "spotlit" even before you consciously notice the pin shape itself,
   the single biggest lever for "impossibile non capire il punto". */
.od-map-pin-glow{
  position:absolute;
  top:50%;left:50%;
  width:120px;height:120px;
  margin:-60px 0 0 -60px;
  border-radius:50%;
  background:radial-gradient(circle at center, rgba(238,192,106,.55) 0%, rgba(238,192,106,.22) 45%, transparent 72%);
  opacity:0;
  will-change:opacity;
  pointer-events:none;
}
.od-map-pin-shadow{
  position:absolute;
  top:50%;left:50%;
  width:34px;height:11px;
  margin:-4px 0 0 -17px;
  border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(30,22,15,.55), transparent 72%);
  filter:blur(1.5px);
  opacity:0;
  will-change:opacity;
  pointer-events:none;
}
.od-map-pin{
  position:absolute;
  top:50%;left:50%;
  width:38px;height:96px;
  transform:translate(-50%,-100%);
  transform-origin:50% 100%;
  opacity:0;
  filter:drop-shadow(0 5px 7px rgba(30,22,15,.55)) drop-shadow(0 0 10px rgba(238,192,106,.5));
  will-change:opacity, transform;
  pointer-events:none;
}
/* one-time "settle" glow pulse -- fired via JS only once the pin has
   fully arrived (never loops/never re-fires mid-scroll), so it reads
   as a single elegant confirmation, not a distracting perpetual blink. */
.od-map-pin-glow.is-settled{animation:mapPinSettle 1.1s var(--ease) both;}
@keyframes mapPinSettle{
  0%{transform:scale(1);opacity:.85;}
  45%{transform:scale(1.5);opacity:1;}
  100%{transform:scale(1);opacity:.85;}
}
.od-map-caption{
  position:absolute;
  left:clamp(1.2rem,3vw,1.8rem);
  bottom:clamp(1.1rem,3vw,1.6rem);
  z-index:2;
  margin:0;
  font-family:var(--font-display);
  font-style:italic;
  font-size:clamp(1.3rem,2.8vw,1.85rem);
  color:var(--espresso);
  text-shadow:0 1px 3px rgba(246,242,234,.9), 0 1px 14px rgba(246,242,234,.7);
}
.od-map-caption span{display:inline-block;transition:opacity .35s var(--ease), transform .35s var(--ease);}
@media (max-width:720px){
  .od-map-driver{height:128vh;}
  .od-map-stage{height:clamp(300px,46vh,420px);top:84px;border-radius:10px;}
  .od-map-pin{width:28px;height:72px;}
  .od-map-pin-glow{width:90px;height:90px;margin:-45px 0 0 -45px;}
  .od-map-pin-shadow{width:26px;height:9px;margin:-3px 0 0 -13px;}
  .od-map-caption{font-size:1.3rem;}
}

.od-location-address{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:clamp(1.5rem,4vw,3rem);
  align-items:center;
  padding:clamp(2.5rem,5vw,3.5rem) 0;
  border-bottom:1px solid var(--line);
}
.od-location-address-label{font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--tortora-a11y);margin-bottom:.5rem;}
.od-location-address-line{font-family:var(--font-display);font-size:1.3rem;color:var(--black);}
.od-location-directions{
  display:inline-flex;align-items:center;gap:.6rem;
  font-size:.85rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--tortora-a11y);
  border-bottom:1px solid var(--tortora-a11y);
  padding-bottom:.2rem;
  white-space:nowrap;
  justify-self:start;
}
@media (max-width:900px){
  .od-location-address{grid-template-columns:1fr;text-align:left;}
  .od-location-directions{justify-self:start;margin-top:.5rem;}
}

/* ============================================================
   08 — PRENOTAZIONE: giant title, form as the protagonist.
   ============================================================ */
.od-book{background:var(--champagne-soft);padding:clamp(5rem,12vw,8rem) 0 clamp(4rem,9vw,6rem);}
.od-book-head{text-align:center;max-width:46ch;margin:0 auto clamp(3rem,7vw,4.5rem);}
.od-book-head .eyebrow{justify-content:center;}
.od-book-title{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(3rem,9vw,6.4rem);
  line-height:1.02;
  color:var(--black);
  margin-top:.8rem;
}
.od-book-title span{display:block;}
.od-book-note{margin-top:1.4rem;font-size:1.1rem;color:rgba(11,11,10,.68);}
.od-book-form{max-width:640px;margin:0 auto;}

/* ---------- Booking form: date radios (shared with old markup) ---------- */
.od-radio-group{display:flex;flex-direction:column;gap:.5rem;}
.od-radio-group > span{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--tortora-a11y);}
.od-radio-options{display:flex;gap:1rem;flex-wrap:wrap;}
.od-radio-option{
  display:flex;align-items:center;gap:.6rem;
  padding:.9rem 1.3rem;border:1px solid var(--line);font-size:.9rem;
  transition:border-color .3s var(--ease), background .3s var(--ease);
  cursor:pointer;background:var(--ivory);
}
.od-radio-option:has(input:checked){border-color:var(--black);background:var(--champagne-soft);}
.od-radio-option:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:2px;}
.od-radio-option input{accent-color:var(--black);}

/* ============================================================
   09 — FAQ
   ============================================================ */
.od-faq-section{background:var(--ivory);padding:clamp(4rem,9vw,6.5rem) 0;}
.od-faq-head{max-width:40ch;margin-bottom:clamp(2rem,5vw,3rem);}
.od-faq-list{border-top:1px solid var(--line);}
.od-faq-item{border-bottom:1px solid var(--line);}
.od-faq-item h3{margin:0;}
.od-faq-q{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;
  padding:1.6rem 0;background:none;border:none;text-align:left;
  font-family:var(--font-display);font-weight:400;
  font-size:clamp(1.05rem,2vw,1.3rem);color:var(--black);
  transition:color .3s var(--ease);
}
.od-faq-q:hover,.od-faq-q:focus-visible{color:var(--gold-a11y);}
.od-faq-q:focus-visible{outline:2px solid var(--gold);outline-offset:4px;}
.od-faq-q .od-faq-icon{position:relative;flex:none;width:16px;height:16px;}
.od-faq-q .od-faq-icon::before,.od-faq-q .od-faq-icon::after{
  content:"";position:absolute;background:currentColor;
  transition:transform .35s var(--ease), opacity .35s var(--ease), background .3s var(--ease);
}
.od-faq-q .od-faq-icon::before{left:0;top:50%;width:100%;height:1px;}
.od-faq-q .od-faq-icon::after{top:0;left:50%;width:1px;height:100%;}
.od-faq-item.is-open .od-faq-icon::after{transform:rotate(90deg);opacity:0;}
.od-faq-a{max-height:0;overflow:hidden;transition:max-height .45s var(--ease);}
.od-faq-a p{padding-bottom:1.6rem;max-width:60ch;font-size:1.05rem;line-height:1.75;color:rgba(11,11,10,.7);}
.od-faq-item.is-open .od-faq-a{max-height:16rem;}

/* ============================================================
   10 — CTA FINALE: poster close, minimal.
   ============================================================ */
.od-final{
  position:relative;color:var(--ivory);text-align:center;overflow:hidden;
  padding:clamp(6rem,16vw,11rem) 0;
}
.od-final-media{position:absolute;inset:0;z-index:0;}
.od-final-media img{width:100%;height:100%;object-fit:cover;}
.od-final-media::after{content:"";position:absolute;inset:0;background:rgba(11,11,10,.74);}
.od-final .container{position:relative;z-index:1;}
.od-final-eyebrow{
  font-size:.75rem;letter-spacing:.32em;text-transform:uppercase;color:var(--gold);
}
.od-final-open{
  margin-top:1rem;
  font-family:var(--font-display);font-weight:500;
  font-size:clamp(3.2rem,10vw,7.5rem);line-height:.9;color:var(--ivory);
}
.od-final-brand{
  margin-top:1.2rem;
  font-size:.85rem;letter-spacing:.24em;text-transform:uppercase;color:var(--ivory-soft);
}
.od-final-payoff{
  margin-top:.4rem;
  font-family:var(--font-display);font-style:italic;font-size:1.15rem;color:var(--tortora-light);
}
.od-final-dates{margin-top:.8rem;font-size:.85rem;letter-spacing:.08em;color:rgba(246,242,234,.65);}
.od-final-cta{margin-top:2.6rem;}

/* ============================================================
   Sticky mobile booking bar
   ============================================================ */
.od-sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:120;display:none;
  padding:.9rem var(--gutter) calc(.9rem + env(safe-area-inset-bottom));
  background:rgba(11,11,10,.94);backdrop-filter:blur(10px);
  border-top:1px solid var(--line-light);
  transform:translateY(100%);transition:transform .4s var(--ease);
}
.od-sticky-cta.is-visible{transform:translateY(0);}
.od-sticky-cta .btn{width:100%;justify-content:center;}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:900px){
  .od-reason{grid-template-columns:70px 1fr;}
}
@media (max-width:720px){
  .od-dates-diptych{grid-template-columns:1fr;}
  .od-date-panel + .od-date-panel{border-left:none;border-top:1px solid var(--line-light);}
  /* anchor content near the TOP of each panel (not vertically centered)
     -- on a tall stacked layout, centered content can drift down into
     the fixed sticky CTA bar's zone depending on scroll position; a
     top-anchored block with generous bottom padding never can. */
  .od-date-panel{min-height:48vh;justify-content:flex-start;padding-top:clamp(2.5rem,8vw,3.5rem);padding-bottom:clamp(3.5rem,10vw,5rem);}
  .od-sticky-cta{display:block;}
  body{padding-bottom:0;}
  .od-experience{min-height:70vh;}
}
@media (max-width:560px){
  .od-reason{grid-template-columns:1fr;gap:.6rem;}
  .od-hero-dates-row{gap:1.6rem;}
}

/* the full-screen (formerly) mobile-nav overlay does not exist on this
   page, but keep this selector harmless in case it's ever reintroduced */
body.nav-open .od-sticky-cta{display:none;}
