/* ============================================================
   Acquaviva in Alpe della Luna — one pager
   Palette derived from the brand crescent-moon mark:
   sage/forest green + deep navy-teal, on warm cream stone.
   ============================================================ */

:root {
  --ink:        #23241d;
  --ink-soft:   #4b4d40;
  --muted:      #6c6d5f;
  --paper:      #f4efe4;
  --paper-alt:  #ece4d4;
  --paper-deep: #e6dcc8;
  --line:       #d5cab3;

  --forest:     #3f5339;
  --forest-2:   #495e40;
  --moss:       #6f8062;
  --sage:       #a9b79a;
  --teal:       #234a55;
  --teal-deep:  #163038;
  --stone:      #b7a684;
  --gold:       #c0994c;

  --cream-text: #f6f1e6;

  --font-display: 'Cinzel', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'EB Garamond', Georgia, serif;

  --wrap: 1120px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--teal-deep); color: var(--cream-text);
  padding: .6rem 1.2rem; border-radius: 0 0 6px 6px; z-index: 200;
  font-family: var(--font-body); letter-spacing: .04em; transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }

/* ---------- shared type elements ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  font-size: clamp(.72rem, 1.5vw, .9rem);
  color: var(--teal);
  margin: 0 0 1.8rem;
}
.rule {
  display: block; width: 54px; height: 1px; margin: 1.7rem auto;
  background: var(--stone);
}
.rule--light { background: rgba(246,241,230,.55); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem clamp(1.1rem, 4vw, 2.6rem);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.is-solid {
  background: rgba(244,239,228,.92);
  backdrop-filter: blur(9px);
  padding-top: .8rem; padding-bottom: .8rem;
  box-shadow: 0 1px 0 rgba(35,36,29,.08);
}
.brand { display: flex; align-items: center; gap: .62rem; color: var(--cream-text); transition: color .5s var(--ease); }
.site-header.is-solid .brand { color: var(--ink); }
.site-header__right { display: flex; align-items: center; gap: 1.1rem; }
.header-book {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em;
  font-size: .7rem; color: var(--cream-text); padding: .5rem .95rem;
  border: 1px solid rgba(246,241,230,.5); border-radius: 999px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.header-book:hover { background: rgba(255,255,255,.12); }
.site-header.is-solid .header-book { color: var(--teal); border-color: var(--line); }
.site-header.is-solid .header-book:hover { background: rgba(35,36,29,.06); }

/* Brand logo — header monogram (light over hero, dark when solid) */
.brand__mark { height: 42px; width: auto; display: block; }
.brand__mark--dark { display: none; }
.site-header.is-solid .brand__mark--light { display: none; }
.site-header.is-solid .brand__mark--dark { display: block; }

/* Hero logo */
.hero__logo { margin: 0 0 .3rem; line-height: 0; }
.hero__logo img {
  width: clamp(300px, 64vw, 820px); height: auto; display: inline-block;
  filter: drop-shadow(0 4px 26px rgba(0,0,0,.4));
}

/* Footer logo */
.footer__logo { width: clamp(230px, 62%, 360px); height: auto; display: block; margin: 0 auto 1.3rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  text-align: center; color: var(--cream-text);
  overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: -4% -2% -2% -2%; z-index: -2;
  background: url("assets/hero.jpg") center 42% / cover no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.13) translateY(-1.4%); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16,24,22,.40) 0%, rgba(20,28,24,.18) 24%, rgba(12,20,16,.30) 58%, rgba(8,16,13,.62) 100%),
    radial-gradient(78% 62% at 50% 50%, rgba(9,16,13,.40) 0%, rgba(9,16,13,.16) 46%, transparent 76%);
}
.hero__inner { padding: 6rem 1.4rem 0; max-width: 900px; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.5rem, 11.5vw, 8.2rem);
  letter-spacing: .12em; line-height: .98; margin: 0;
  text-transform: uppercase; padding-left: .12em;
  text-shadow: 0 2px 34px rgba(0,0,0,.4);
}
.hero__tagline {
  font-family: var(--font-serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.5rem, 4.4vw, 2.6rem);
  letter-spacing: .01em; margin: 0; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.hero__where {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: .22em; text-transform: uppercase;
  margin: 1rem 0 0; color: rgba(246,241,230,.82);
}
.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(246,241,230,.8); font-family: var(--font-display);
  letter-spacing: .3em; text-transform: uppercase; font-size: .68rem;
}
.hero__scroll svg { width: 20px; height: 20px; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(6px); opacity: 1; } }
.hero__scroll:hover { color: #fff; }

/* ============================================================
   BANDS & SECTIONS
   ============================================================ */
.section { padding: clamp(4.5rem, 11vw, 9rem) 0; position: relative; }

/* intro luxury statement */
.band--intro {
  background: var(--paper);
  text-align: center;
  padding: clamp(5rem, 13vw, 10rem) 0;
  position: relative;
}
.band--intro::before,
.band--intro::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 1px; height: clamp(2.4rem, 6vw, 4rem); background: var(--line);
}
.band--intro::before { top: 0; }
.band--intro::after { bottom: 0; }
.statement {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(1.9rem, 5.6vw, 3.7rem);
  line-height: 1.18; letter-spacing: .005em; color: var(--ink);
  margin: 0 auto; max-width: 30ch; text-wrap: balance;
}
.statement__it {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--moss); font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  letter-spacing: .02em; margin: 1.6rem 0 0;
}

.bilingual {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 6vw, 5rem);
  max-width: 940px; margin-inline: auto;
  position: relative;
}
.bilingual::before {
  content: ""; position: absolute; top: 4%; bottom: 4%; left: 50%;
  width: 1px; background: var(--line);
}
.col p { margin: 0 0 1.35rem; color: var(--ink-soft); }
.col p:last-child { margin-bottom: 0; }
.col--it p { color: var(--muted); font-style: italic; }
.col__lead {
  font-family: var(--font-serif); font-weight: 500; font-style: normal !important;
  font-size: clamp(1.28rem, 2.4vw, 1.62rem); line-height: 1.35;
  color: var(--forest) !important; letter-spacing: .005em;
}
.col--it .col__lead { color: var(--moss) !important; }

/* ============================================================
   THE HERITAGE
   ============================================================ */
.section--heritage { background: var(--paper-alt); }
.heritage {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 6vw, 5.5rem); align-items: center;
}
.heritage__figure { margin: 0; position: relative; }
.heritage__figure img {
  width: 100%; height: auto; display: block;
  border-radius: 3px; box-shadow: 0 26px 60px -30px rgba(35,36,29,.55);
}
.heritage__figure::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(246,241,230,.35);
  border-radius: 2px; pointer-events: none;
}
.bilingual--stack { display: grid; grid-template-columns: 1fr; gap: 1.9rem; max-width: none; }
.bilingual--stack::before { display: none; }
.bilingual--stack .col--it { padding-top: 1.6rem; border-top: 1px solid var(--line); }

/* ============================================================
   SPLIT (text + image side by side)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.4rem, 6vw, 5.5rem); align-items: center;
  text-align: left;
}
.split__figure { margin: 0; position: relative; }
.split__figure img {
  width: 100%; height: auto; display: block; border-radius: 3px;
  box-shadow: 0 26px 60px -30px rgba(35,36,29,.55);
}
.split__figure::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(246,241,230,.35);
  border-radius: 2px; pointer-events: none;
}
/* luxury statement, left-aligned inside the split */
.split--intro .statement { margin-inline: 0; max-width: none; }
.split--intro .statement__it { margin-left: 0; margin-right: 0; }
/* reserve block, left-aligned inside the split */
.split--cta .reserve__text { margin-inline: 0; max-width: none; }
.split--cta .reserve__it { margin-inline: 0; max-width: none; }
.split--cta .contact { justify-content: flex-start; }

/* ============================================================
   OPENING SOON / CTA
   ============================================================ */
.section--cta {
  background: var(--teal-deep); color: var(--cream-text);
  text-align: center;
  background-image:
    radial-gradient(80% 120% at 50% -10%, rgba(111,128,98,.28), transparent 60%),
    linear-gradient(180deg, var(--teal-deep), #12262c);
}
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 1.9rem; border-radius: 999px;
  font-family: var(--font-display); font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase;
  background: var(--cream-text); color: var(--teal-deep);
  border: 1px solid var(--cream-text);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); background: var(--sage); border-color: var(--sage); }
.btn--ghost {
  background: transparent; color: var(--cream-text); border-color: rgba(246,241,230,.4);
}
.btn--ghost:hover { background: rgba(246,241,230,.08); border-color: var(--sage); color: #fff; }

/* ============================================================
   LUXURY heading translation + RESERVE / CONTACT
   ============================================================ */
.luxury__it-top { margin: 0 0 2.6rem; }

.reserve__text {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.18rem, 2.1vw, 1.55rem); line-height: 1.5;
  color: #fff; margin: 0 auto; max-width: 60ch; letter-spacing: .004em;
}
.reserve__it {
  font-style: italic; color: var(--sage);
  font-size: clamp(1.02rem, 1.9vw, 1.32rem); margin: 1.7rem auto 0; max-width: 62ch;
}
.reserve-actions { margin: clamp(2.2rem, 4.5vw, 3.2rem) 0 1.8rem; }
.contact {
  display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center;
}
.contact__item {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-size: 1.05rem; color: var(--cream-text);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.contact__item svg { width: 18px; height: 18px; color: var(--sage); flex: none; }
.contact__item:hover { color: #fff; border-color: rgba(246,241,230,.4); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #101f24;
  color: var(--cream-text);
  text-align: center; padding: clamp(3.4rem, 8vw, 5.5rem) 1.4rem 2.6rem;
}
.footer__inner { max-width: 560px; margin-inline: auto; }
/* footer stamp — mirror the hero: tagline italic, "where" uppercase tracked */
.footer__tagline {
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  font-size: 1.4rem; letter-spacing: .01em; line-height: 1.3;
  color: rgba(246,241,230,.88); margin: 1.3rem 0 0;
}
.footer__where {
  font-family: var(--font-serif); font-weight: 400;
  text-transform: uppercase; letter-spacing: .22em; line-height: 1.5;
  font-size: .78rem; color: rgba(246,241,230,.62); margin: .55rem 0 0;
}
.footer__copy { font-size: .82rem; letter-spacing: .04em; color: rgba(246,241,230,.42); margin: 0; }
.footer__contact {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  justify-content: center; align-items: center;
  margin: 1.7rem 0 1.5rem; font-family: var(--font-body);
  font-size: .98rem; color: rgba(246,241,230,.75);
}
.footer__contact a { border-bottom: 1px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease); }
.footer__contact a:hover { color: #fff; border-color: rgba(246,241,230,.4); }
.footer__contact span { color: rgba(246,241,230,.4); }

.footer__social { margin: 1.6rem 0 0; }
.footer__ig {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--sage);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.footer__ig svg { width: 30px; height: 30px; }
.footer__ig:hover { color: #fff; transform: translateY(-2px); }

.footer__legal {
  display: flex; flex-wrap: wrap; gap: .4rem .9rem; justify-content: center; align-items: center;
  margin: 1.7rem 0 1.4rem; font-family: var(--font-body);
  font-size: .86rem; color: rgba(246,241,230,.55);
}
.footer__legal a { border-bottom: 1px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease); }
.footer__legal a:hover { color: #fff; border-color: rgba(246,241,230,.4); }
.footer__legal span { color: rgba(246,241,230,.35); }

/* ============================================================
   LEGAL PAGES (privacy / cookie)
   ============================================================ */
.legal-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.1rem, 4vw, 2.6rem);
  background: rgba(244,239,228,.94);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  box-shadow: 0 1px 0 rgba(35,36,29,.08);
}
.legal-header .brand__mark { height: 40px; }
.legal-back {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em;
  font-size: .7rem; color: var(--teal);
  border: 1px solid var(--line); border-radius: 999px; padding: .5rem .95rem;
  transition: background .3s var(--ease);
}
.legal-back:hover { background: rgba(35,36,29,.06); }

.legal {
  width: min(100% - 2.6rem, 760px); margin: clamp(2.6rem, 6vw, 4.2rem) auto clamp(3.5rem, 8vw, 6rem);
}
.legal__kicker {
  font-family: var(--font-display); font-weight: 500;
  letter-spacing: .38em; text-transform: uppercase;
  font-size: .74rem; color: var(--teal); margin: 0 0 1rem;
}
.legal h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.1;
  letter-spacing: .02em; color: var(--ink); margin: 0 0 .6rem;
}
.legal__updated { color: var(--muted); font-style: italic; margin: 0 0 2.2rem; font-size: .96rem; }
.legal__note {
  background: var(--paper-alt); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 4px; padding: 1rem 1.2rem; margin: 0 0 2.6rem;
  font-size: .96rem; color: var(--ink-soft);
}
.legal h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.25;
  color: var(--forest); margin: 2.4rem 0 .8rem;
}
.legal h3 {
  font-family: var(--font-serif); font-weight: 600; font-style: italic;
  font-size: 1.12rem; color: var(--ink); margin: 1.6rem 0 .5rem;
}
.legal p { margin: 0 0 1.1rem; color: var(--ink-soft); }
.legal ul { margin: 0 0 1.1rem; padding-left: 1.3rem; color: var(--ink-soft); }
.legal li { margin: 0 0 .5rem; }
.legal a { color: var(--teal); border-bottom: 1px solid var(--line); transition: border-color .3s var(--ease); }
.legal a:hover { border-color: var(--teal); }
.legal__ph { color: var(--gold); font-style: italic; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: .94rem; }
.legal th, .legal td { text-align: left; padding: .6rem .7rem; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--paper-alt); font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.legal__foot {
  background: #101f24; color: rgba(246,241,230,.6);
  text-align: center; padding: 2.4rem 1.4rem; font-size: .82rem; letter-spacing: .04em;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: 0ms;
}
.reveal[data-delay="1"] { transition-delay: 120ms; }
.reveal[data-delay="2"] { transition-delay: 240ms; }
.reveal[data-delay="3"] { transition-delay: 360ms; }
.reveal[data-delay="4"] { transition-delay: 480ms; }
.reveal[data-delay="5"] { transition-delay: 600ms; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 780px) {
  .bilingual { grid-template-columns: 1fr; gap: 2.4rem; }
  .bilingual::before { display: none; }
  .col--it { padding-top: 2rem; border-top: 1px solid var(--line); }
  .heritage { grid-template-columns: 1fr; gap: 2.4rem; }
  .heritage__figure { max-width: 560px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; gap: 2.4rem; text-align: center; }
  .split__figure { max-width: 520px; margin-inline: auto; order: 2; }
  .split--intro .split__text .statement,
  .split--intro .split__text .statement__it { text-align: center; }
  .split--cta .reserve__text,
  .split--cta .reserve__it { text-align: center; }
  .split--cta .contact { justify-content: center; }
}
@media (max-width: 460px) {
  .site-header { padding-inline: 1.1rem; }
  .hero__inner { padding-top: 5rem; }
  .hero__title { letter-spacing: .06em; }
  .hero__where { letter-spacing: .14em; font-size: .82rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg { animation: none; transform: scale(1.05); }
  .hero__scroll svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
