/* ============================================================
   SITE-WIDE CHROME: cursor, preloader, transitions, progress,
   sticky CTA panel, cookie bar, breadcrumbs, FAQ, pricing,
   journal grid, counters, newsletter
   ============================================================ */

/* ---------- custom cursor (desktop, fine pointer only) ---------- */
.cursor-dot, .cursor-ring{ display:none; }
@media (hover:hover) and (pointer:fine){
  body.cursor-ready{ cursor:none; }
  body.cursor-ready a, body.cursor-ready button{ cursor:none; }
  .cursor-dot, .cursor-ring{
    display:block; position:fixed; top:0; left:0; z-index:300; pointer-events:none;
    border-radius:50%; will-change: transform;
  }
  .cursor-dot{ width:6px; height:6px; background: var(--gold); transform: translate(-50%,-50%); }
  .cursor-ring{
    width:34px; height:34px; border:1px solid var(--gold-soft);
    transform: translate(-50%,-50%); opacity:.65;
    transition: width .25s var(--ease), height .25s var(--ease), opacity .25s var(--ease), border-color .25s var(--ease);
  }
  .cursor-ring.is-active{ width:56px; height:56px; opacity:.9; border-color: var(--gold); }
  .cursor-ring.is-hidden, .cursor-dot.is-hidden{ opacity:0; }
}

/* ---------- reveal-on-hover photo (decorative, desktop pointer only) ---------- */
.reveal-photo{ position:relative; }
.reveal-photo__img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; z-index:0; pointer-events:none;
  transition: opacity .6s ease;
  -webkit-mask-image: radial-gradient(circle 200px at var(--rx,50%) var(--ry,50%), black 0%, black 45%, transparent 100%);
  mask-image: radial-gradient(circle 200px at var(--rx,50%) var(--ry,50%), black 0%, black 45%, transparent 100%);
}
@media (hover:hover) and (pointer:fine){
  .reveal-photo.is-active .reveal-photo__img{ opacity:.8; }
}

/* ---------- preloader (home only) ---------- */
.preloader{
  position:fixed; inset:0; z-index:400; background: var(--ink);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1.4rem;
}
.preloader__mark{ width:46px; height:46px; color: var(--gold); }
.preloader__mark svg{ width:100%; height:100%; }
.preloader__bar{ width: 180px; height:1px; background: var(--line-strong); position:relative; overflow:hidden; }
.preloader__bar span{ position:absolute; inset:0; background: var(--gold); transform-origin:left; transform: scaleX(0); }
.preloader__word{ font-family: var(--font-display); font-style:italic; color: var(--text-dim); font-size:.95rem; letter-spacing:.03em; }

/* ---------- page transition curtain ---------- */
.page-transition{
  position:fixed; inset:0; z-index:250; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; pointer-events:none;
}
html.pt-cover .page-transition{ transform: scaleY(1); }

/* ---------- scroll progress ---------- */
.scroll-progress{
  position:fixed; top:0; left:0; right:0; height:2px; z-index:150;
  background: var(--gold); transform: scaleX(0); transform-origin:left;
  will-change: transform;
}

/* ---------- nav active state ---------- */
.nav__links a.is-active{ color: var(--text); }
.nav__links a.is-active::after{ right:0; }
.mobile-menu__links a.is-active{ color: var(--gold-soft); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs{
  padding: calc(var(--nav-h) + 1.6rem) 2.5rem .5rem; max-width:1360px; margin:0 auto;
  display:flex; align-items:center; gap:.5rem; flex-wrap:wrap;
  font-size:.82rem; color: var(--text-faint);
}
.breadcrumbs a{ color: var(--text-dim); transition: color .3s var(--ease); }
.breadcrumbs a:hover{ color: var(--gold-soft); }
.breadcrumbs span[aria-current]{ color: var(--text-dim); }

/* ---------- sticky plan-a-journey button + panel ---------- */
.sticky-cta{
  position:fixed; right: 1.8rem; bottom: 1.8rem; z-index: 120;
  display:flex; align-items:center; gap:.6rem;
  padding: .95rem 1.5rem; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size:.85rem; font-weight:500; letter-spacing:.02em;
  border:1px solid var(--gold);
  opacity:0; visibility:hidden; transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s, background .3s var(--ease);
}
.sticky-cta.is-shown{ opacity:1; visibility:visible; transform:none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.sticky-cta:hover{ background: var(--gold-soft); }
.sticky-cta i{ font-size:1.1rem; }
/* reserved clear zone: step aside instead of sitting on top of body copy
   when a long-form reading section (story, article) reaches the bottom-right
   corner where this button lives — see the IntersectionObserver in site.js */
.sticky-cta.is-shown.is-clear{ opacity:0; visibility:hidden; pointer-events:none; transform: translateY(10px); }

.side-panel{
  position:fixed; inset:0; z-index: 260; pointer-events:none;
}
.side-panel__scrim{
  position:absolute; inset:0; background: rgba(6,9,7,.7);
  opacity:0; transition: opacity .4s var(--ease);
}
.side-panel__sheet{
  position:absolute; top:0; right:0; bottom:0; width: min(440px, 92vw);
  background: var(--bg-alt); border-left:1px solid var(--line-strong);
  padding: 2.2rem var(--space-card); overflow-y:auto;
  transform: translateX(100%); transition: transform .5s var(--ease);
  display:flex; flex-direction:column; gap:1.3rem;
}
.side-panel.is-open{ pointer-events:auto; }
.side-panel.is-open .side-panel__scrim{ opacity:1; }
.side-panel.is-open .side-panel__sheet{ transform:none; }
.side-panel__head{ display:flex; align-items:center; justify-content:space-between; }
.side-panel__head h3{ font-size:1.5rem; }
.side-panel__close{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--line-strong);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.side-panel__close:hover{ border-color: var(--gold); color: var(--gold-soft); }
.side-panel p.side-panel__intro{ color: var(--text-dim); font-size:.95rem; line-height:1.6; }

/* ---------- cookie bar ---------- */
.cookie-bar{
  position:fixed; left:1.4rem; right:1.4rem; bottom:1.4rem; z-index: 140;
  max-width: 620px; margin: 0 auto;
  background: var(--surface); border:1px solid var(--line-strong); border-radius: var(--r);
  padding: 1.3rem 1.5rem; display:flex; align-items:center; gap:1.4rem; flex-wrap:wrap;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie-bar.is-shown{ transform:none; }
.cookie-bar p{ color: var(--text-dim); font-size:.85rem; line-height:1.5; flex:1; min-width:200px; }
.cookie-bar__actions{ display:flex; gap:.7rem; }

/* ---------- FAQ accordion ---------- */
.faq{ max-width: 860px; margin:0 auto; }
.faq__item{ border-top:1px solid var(--line); }
.faq__item:last-child{ border-bottom:1px solid var(--line); }
.faq__q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
  padding: 1.5rem 0; text-align:left; font-family: var(--font-display); font-size:1.25rem; color: var(--text);
}
.faq__q i{ color: var(--gold); flex-shrink:0; transition: transform .35s var(--ease); font-size:1.2rem; }
.faq__item.is-open .faq__q i{ transform: rotate(45deg); }
.faq__a-wrap{ display:grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__a-wrap > div{ overflow:hidden; }
.faq__item.is-open .faq__a-wrap{ grid-template-rows: 1fr; }
.faq__a{ padding-bottom: 1.6rem; color: var(--text-dim); font-size:.98rem; line-height:1.7; max-width: 68ch; }

/* ---------- package / pricing cards ---------- */
.packages{ max-width:1360px; margin:0 auto; padding: 0 2.5rem var(--space-section); display:flex; flex-direction:column; gap: 1.6rem; }
.package{
  display:grid; grid-template-columns: 1fr 1.3fr; gap: 0;
  border:1px solid var(--line); border-radius: var(--r); overflow:hidden;
  background: var(--surface);
}
.package__media{ position:relative; min-height: 320px; }
.package__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.package__body{ padding: var(--space-card); display:flex; flex-direction:column; gap:1.2rem; }
.package__head{ display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; }
.package__head h3{ font-size: var(--text-5); }
.package__tagline{ color: var(--text-dim); font-size:.98rem; max-width: 46ch; }
.package__meta{ display:flex; gap:1.6rem; flex-wrap:wrap; font-size:.85rem; color: var(--text-faint); }
.package__meta strong{ color: var(--text-dim); font-weight:500; }

.duration-toggle{ display:flex; gap:.6rem; flex-wrap:wrap; }
.duration-toggle button{
  padding: .55rem 1.1rem; border:1px solid var(--line-strong); border-radius: 999px;
  font-size:.82rem; color: var(--text-dim); transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.duration-toggle button.is-active{ border-color: var(--gold); color: var(--ink); background: var(--gold); }
.duration-toggle button:not(.is-active):hover{ border-color: var(--gold-soft); color: var(--gold-soft); }

.package__price{ display:flex; align-items:baseline; gap:.5rem; }
.package__price .from{ font-size:.8rem; color: var(--text-faint); text-transform:uppercase; letter-spacing:.05em; }
.package__price .amount{ font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-soft); }
.package__price .unit{ font-size:.82rem; color: var(--text-faint); }

.package__foot{ display:flex; gap:1rem; flex-wrap:wrap; margin-top:.4rem; }

@media (max-width: 860px){
  .package{ grid-template-columns: 1fr; }
  .package__media{ min-height: 220px; }
}

/* ---------- included / not-included lists ---------- */
.include-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 1000px; margin: 0 auto; }
.include-grid ul{ display:flex; flex-direction:column; gap:.9rem; }
.include-grid li{ display:flex; align-items:flex-start; gap:.7rem; color: var(--text-dim); font-size:.97rem; line-height:1.5; }
.include-grid li i{ margin-top:.2rem; flex-shrink:0; }
.include-grid .yes i{ color: var(--gold); }
.include-grid .no i{ color: var(--text-faint); }
.include-grid h4{ font-size:1.1rem; margin-bottom:1.2rem; color: var(--text); font-weight:500; }
@media (max-width: 640px){ .include-grid{ grid-template-columns:1fr; gap:2rem; } }

/* ---------- itinerary ---------- */
.itinerary{ max-width: 900px; margin:0 auto; display:flex; flex-direction:column; }
.itinerary__day{ display:grid; grid-template-columns: 90px 1fr; gap: 2rem; padding: 2.1rem 0; border-top:1px solid var(--line); }
.itinerary__day:last-child{ border-bottom:1px solid var(--line); }
.itinerary__num{ font-family: var(--font-display); font-style:italic; font-size:1.5rem; color: var(--region-accent, var(--gold-soft)); }
.itinerary__day h3{ font-size:1.35rem; margin-bottom:.5rem; }
.itinerary__day p{ color: var(--text-dim); font-size:.97rem; line-height:1.65; max-width:60ch; }
@media (max-width:640px){ .itinerary__day{ grid-template-columns:1fr; gap:.6rem; } }

/* ---------- journal grid ---------- */
.journal-grid{ max-width:1360px; margin:0 auto; padding: 0 2.5rem var(--space-section); display:grid; grid-template-columns: repeat(3,1fr); gap: 2.2rem; }
.journal-card{ display:flex; flex-direction:column; gap:1rem; }
.journal-card__media{ position:relative; overflow:hidden; aspect-ratio: 4/3; border-radius: var(--r); }
.journal-card__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease); }
.journal-card:hover .journal-card__media img{ transform: scale(1.06); }
.journal-card__date{ font-size:.78rem; letter-spacing:.06em; color: var(--text-faint); text-transform:uppercase; }
.journal-card h3{ font-size:1.3rem; line-height:1.25; }
.journal-card p{ color: var(--text-dim); font-size:.92rem; line-height:1.6; }
@media (max-width: 1024px){ .journal-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .journal-grid{ grid-template-columns: 1fr; padding: 0 1.4rem 3.5rem; } }

/* ---------- article ---------- */
.article{ max-width: 740px; margin: 0 auto; padding: 0 2.5rem var(--space-section); }
.article__meta{ display:flex; gap:1rem; align-items:center; color: var(--text-faint); font-size:.85rem; margin-bottom:1.2rem; }
.article__title{ font-size: var(--text-3); line-height:1.1; margin-bottom:1.6rem; }
.article__lede{ font-size:1.15rem; color: var(--text-dim); line-height:1.7; margin-bottom:2.2rem; }
.article__media{ margin: 2.4rem 0; border-radius: var(--r); overflow:hidden; }
.article__media img{ width:100%; display:block; }
.article__body p{ color: var(--text-dim); font-size:1.03rem; line-height:1.85; margin-bottom:1.6rem; max-width:68ch; }
.article__pull{
  font-family: var(--font-display); font-style:italic; font-size:1.7rem; line-height:1.4;
  color: var(--gold-soft); border-left:2px solid var(--gold); padding-left:1.6rem; margin: 2.4rem 0;
  max-width:56ch;
}
@media (max-width:640px){ .article{ padding: 0 1.4rem 3.5rem; } }

/* ---------- stat counters ---------- */
.stats{ max-width:1100px; margin:0 auto; padding: var(--space-band) 2.5rem; display:grid; grid-template-columns: repeat(3,1fr); gap:2rem; }
.stat{ text-align:center; display:flex; flex-direction:column; gap:.5rem; }
.stat__num{ font-family: var(--font-display); font-size: clamp(2.4rem,4vw,3.4rem); color: var(--gold-soft); }
.stat__label{ font-size:.88rem; color: var(--text-dim); letter-spacing:.02em; }
@media (max-width:640px){ .stats{ grid-template-columns:1fr; gap:2.4rem; padding: 3rem 1.4rem; } }

/* ---------- process steps ---------- */
.process{ max-width:1100px; margin:0 auto; padding: 0 2.5rem var(--space-section); display:grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; position:relative; }
.process__step{ display:flex; flex-direction:column; gap:.9rem; position:relative; }
.process__num{ font-family: var(--font-display); font-style:italic; font-size:2.2rem; color: var(--gold-soft); }
.process__step h3{ font-size:1.4rem; }
.process__step p{ color: var(--text-dim); font-size:.95rem; line-height:1.65; }
@media (max-width:860px){ .process{ grid-template-columns:1fr; gap:2.4rem; padding: 0 1.4rem 3.5rem; } }

/* ---------- values (about page) ---------- */
.values{ max-width:1360px; margin:0 auto; padding: 0 2.5rem var(--space-section); display:grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border:1px solid var(--line); }
.values__item{ background: var(--bg); padding: var(--space-card); display:flex; flex-direction:column; gap:.8rem; }
.values__item span{ font-family: var(--font-display); font-style:italic; color: var(--gold-soft); font-size:1.1rem; }
.values__item h3{ font-size:1.3rem; }
.values__item p{ color: var(--text-dim); font-size:.92rem; line-height:1.6; }
@media (max-width:860px){ .values{ grid-template-columns:1fr; padding: 0 1.4rem 3.5rem; } }

/* ---------- newsletter (footer) ---------- */
.newsletter{ display:flex; flex-direction:column; gap:.9rem; max-width:340px; }
.newsletter h4{ font-size:1rem; font-weight:500; color: var(--text); }
.newsletter p{ font-size:.85rem; color: var(--text-dim); }
.newsletter form{ display:flex; gap:.6rem; }
.newsletter form[hidden]{ display:none; }
.newsletter input{
  flex:1; min-width:0; background: var(--surface); border:1px solid var(--line-strong); border-radius: var(--r);
  color: var(--text); padding: .75rem .9rem; font-size:.9rem;
}
.newsletter input:focus{ outline:none; border-color: var(--gold); }
.newsletter button{
  flex-shrink:0; width:44px; height:44px; border-radius: var(--r); background: var(--gold); color: var(--ink);
  display:flex; align-items:center; justify-content:center; transition: background .3s var(--ease);
}
.newsletter button:hover{ background: var(--gold-soft); }
.newsletter__success{ font-size:.82rem; color: var(--gold-soft); opacity:0; height:0; overflow:hidden; transition: opacity .3s var(--ease); }
.newsletter__success.is-shown{ opacity:1; height:auto; }
.newsletter__success.is-error{ color: #e28b7d; }

/* ---------- generic page hero (subpages) ---------- */
.page-hero{
  position:relative; min-height: 62vh; display:flex; align-items:flex-end;
  padding: 0 2.5rem var(--space-band); overflow:hidden;
}
.page-hero__img{ position:absolute; inset:-4%; background-size:cover; background-position:center; transform: scale(1.06); }
.page-hero__scrim{
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(8,12,10,.96) 0%, rgba(8,12,10,.5) 45%, rgba(8,12,10,.35) 100%);
}
.page-hero__content{ position:relative; z-index:1; max-width: 820px; }
.page-hero__eyebrow{ color: var(--gold-soft); font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:1rem; }
.page-hero__title{ font-size: var(--text-2); line-height:1.05; margin-bottom:1.1rem; }
.page-hero__sub{ color: var(--text-dim); font-size: 1.05rem; max-width: 52ch; line-height:1.6; }

/* ---------- per-region mood (journey pages) ----------
   A quiet secondary accent and a subtle photo grade per region,
   layered on top of the shared brand palette — gold stays the one
   color used for every CTA and focus state, site-wide, so the
   brand still reads as one thing. Only the itinerary day numbers,
   the "Pace" stat value, and the hero photo's grade shift per
   region (journey pages carry no eyebrow — see the breadcrumb
   just below the hero, which already says where you are). */
.journey-paris{ --region-accent: #8b9aa3; }               /* Seine water, zinc rooftops */
.journey-paris .page-hero__img{ filter: saturate(.92) hue-rotate(-2deg); }

.journey-provence{ --region-accent: #ad9d84; }             /* dusty lavender fields, sun-bleached stone */
.journey-provence .page-hero__img{ filter: saturate(1.08) sepia(.06) brightness(1.02); }

.journey-riviera{ --region-accent: #2f80b0; }              /* saturated Mediterranean blue */
.journey-riviera .page-hero__img{ filter: saturate(1.12) hue-rotate(2deg); }

.journey-loire{ --region-accent: #7e9573; }                /* moss and river-green vineyards */
.journey-loire .page-hero__img{ filter: saturate(1.02) hue-rotate(3deg) brightness(1.01); }

.journey-normandy{ --region-accent: #5c6f7a; }             /* cool, moody Atlantic grey-blue */
.journey-normandy .page-hero__img{ filter: saturate(.85) contrast(1.04) brightness(.98); }

/* ---------- CTA band ---------- */
.cta-band{
  position:relative; overflow:hidden; padding: var(--space-section) 2.5rem; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:1.4rem;
  border-top:1px solid var(--line);
}
.cta-band h2{ font-size: var(--text-4); max-width: 16ch; }
.cta-band p{ color: var(--text-dim); max-width:44ch; }
