/* ==========================================================================
   AURELIA — Atelier of Celebrations
   Design system: restrained luxury. Ivory, ink, brass. Cormorant + Jost.
   ========================================================================== */

:root {
  --ivory: #f6f2e9;
  --ivory-deep: #eee8da;
  --noir: #181511;
  --noir-soft: #211d17;
  --ink: #23201a;
  --stone: #7d7466;
  --stone-light: #a89e8d;
  --brass: #a3804e;
  --brass-deep: #8a6a3e;
  --line: rgba(35, 32, 26, 0.16);
  --line-light: rgba(246, 242, 233, 0.22);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --pad: clamp(1.5rem, 5vw, 6rem);
  --header-h: 96px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--brass); color: var(--ivory); }
:focus-visible { outline: 1.5px solid var(--brass); outline-offset: 4px; }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.eyebrow--center::after {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow, .eyebrow--light { color: var(--brass); }

.display {
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-size: clamp(2.75rem, 6.4vw, 5.75rem);
}
.display em, .lede em, h2 em, h3 em { font-style: italic; font-weight: 300; }
.title {
  font-weight: 300;
  line-height: 1.12;
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  letter-spacing: -0.005em;
}
.subtitle {
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
}
.lede {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.62;
  font-weight: 400;
  color: var(--ink);
}
.on-dark .lede { color: rgba(246,242,233,0.88); }
.body-text { max-width: 38rem; color: #4c463c; }
.on-dark .body-text { color: rgba(246,242,233,0.72); }
.caption {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.9rem;
}
.caption::before { content: ""; width: 1.5rem; height: 1px; background: var(--stone-light); flex: none; transform: translateY(-3px); }
.on-dark .caption { color: var(--stone-light); }

/* ---------- Ornament ---------- */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  color: var(--brass);
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: clamp(3rem, 10vw, 7rem); background: currentColor; opacity: 0.45;
}
.ornament svg { width: 9px; height: 9px; flex: none; }

/* ---------- Layout ---------- */
.wrap { padding-left: var(--pad); padding-right: var(--pad); max-width: 1600px; margin: 0 auto; }
.section { padding-top: clamp(5rem, 11vw, 10rem); padding-bottom: clamp(5rem, 11vw, 10rem); }
.section--tight { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.on-dark { background: var(--noir); color: var(--ivory); }
.on-deep { background: var(--ivory-deep); }
.center { text-align: center; }
.center .body-text, .center .lede { margin-left: auto; margin-right: auto; }
.measure { max-width: 62rem; }
.stack > * + * { margin-top: 1.6rem; }
.stack-lg > * + * { margin-top: 2.6rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft), transform 0.55s var(--ease);
  color: var(--ivory);
}
.site-header .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
body:not(.page--dark-hero) .site-header { color: var(--ink); }
.site-header.is-solid {
  background: rgba(246, 242, 233, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.wordmark { display: flex; flex-direction: column; line-height: 1; z-index: 2; }
.wordmark__name {
  font-family: var(--serif); font-weight: 400; font-size: 1.65rem; letter-spacing: 0.32em; text-transform: uppercase;
}
.wordmark__sub {
  font-family: var(--sans); font-size: 0.56rem; letter-spacing: 0.42em; text-transform: uppercase; opacity: 0.66; margin-top: 0.4rem;
}
.main-nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.75rem); }
.main-nav a {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  position: relative; padding: 0.4rem 0; opacity: 0.85; transition: opacity 0.3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current="page"] { opacity: 1; }
.nav-cta {
  border: 1px solid currentColor; padding: 0.7rem 1.6rem !important; border-radius: 999px;
  transition: background 0.35s var(--ease-soft), color 0.35s var(--ease-soft), border-color 0.35s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--brass); border-color: var(--brass); color: var(--ivory); opacity: 1; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 70; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform 0.45s var(--ease), opacity 0.3s, top 0.45s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 65; background: var(--noir); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
  opacity: 0; visibility: hidden; transition: opacity 0.55s var(--ease), visibility 0s 0.55s;
}
body.nav-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 0.55s var(--ease); }
body.nav-open .site-header { background: transparent; color: var(--ivory); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.nav-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu a.mm-link {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.25;
  display: flex; align-items: baseline; gap: 1.2rem;
  opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.mobile-menu a.mm-link .mm-index { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--brass); }
body.nav-open .mobile-menu a.mm-link { opacity: 1; transform: none; }
.mobile-menu .mm-foot {
  margin-top: 3rem; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--stone-light);
  opacity: 0; transition: opacity 0.6s var(--ease) 0.5s;
}
body.nav-open .mobile-menu .mm-foot { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--ivory); overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 112%; object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.hero--page { min-height: 78svh; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 11, 8, 0.72) 0%, rgba(14, 11, 8, 0.28) 42%, rgba(14, 11, 8, 0.34) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(4rem, 9vh, 7rem); padding-top: calc(var(--header-h) + 3rem); }
.hero .display, .hero .eyebrow, .hero__foot { text-shadow: 0 1px 28px rgba(10, 8, 6, 0.45); }
.hero .eyebrow { color: rgba(246, 242, 233, 0.92); }
.hero .eyebrow::before { background: var(--brass); opacity: 1; }
.hero__kicker { margin-bottom: 1.8rem; }
.hero .display { max-width: 15ch; }
.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-top: 3.2rem;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(246,242,233,0.8);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 0.9rem; }
.scroll-cue i {
  display: block; width: 1px; height: 3.4rem; background: rgba(246,242,233,0.55); position: relative; overflow: hidden;
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--ivory); animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }

/* Hero entrance */
.hero .reveal-line { display: block; overflow: hidden; }
.hero .reveal-line > span {
  display: block; transform: translateY(110%); transition: transform 1.1s var(--ease);
}
body.is-loaded .hero .reveal-line > span { transform: translateY(0); }
.hero .fade-in { opacity: 0; transition: opacity 1.2s var(--ease-soft) 0.5s; }
body.is-loaded .hero .fade-in { opacity: 1; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 1.05rem 2.4rem; border: 1px solid var(--ink); border-radius: 999px;
  transition: background 0.4s var(--ease-soft), color 0.4s var(--ease-soft), border-color 0.4s;
  position: relative; overflow: hidden;
}
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn--light { border-color: rgba(246,242,233,0.65); color: var(--ivory); }
.btn--light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--solid { background: var(--ink); color: var(--ivory); }
.btn--solid:hover { background: var(--brass-deep); border-color: var(--brass-deep); }
.link-arrow {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.9rem; color: var(--brass-deep);
}
.on-dark .link-arrow { color: var(--brass); }
.link-arrow svg { width: 2rem; height: 8px; transition: transform 0.45s var(--ease); }
.link-arrow:hover svg { transform: translateX(8px); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="img"] { transform: none; clip-path: inset(6% 4% 6% 4%); transition: clip-path 1.2s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal="img"].is-in { clip-path: inset(0 0 0 0); }
[data-reveal] img, .zoom-img img { transition: transform 1.4s var(--ease); }
.zoom-img { overflow: hidden; }
.zoom-img:hover img { transform: scale(1.045); }

/* ---------- Home: intro statement ---------- */
.statement .display { font-size: clamp(2.4rem, 5.2vw, 4.6rem); max-width: 24ch; }
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line);
}
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; }
.stat span { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); display: block; margin-top: 0.9rem; }

/* ---------- Editorial split blocks ---------- */
.edit-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.edit-split--rev > .edit-split__media { order: 2; }
.edit-split__media { position: relative; }
.edit-split__media .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.edit-split__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--wide { aspect-ratio: 16 / 10; }
.edit-split__media .float-card {
  position: absolute; right: -8%; bottom: -10%; width: 46%; aspect-ratio: 1/1.2; overflow: hidden;
  border: 6px solid var(--ivory); box-shadow: 0 30px 60px -30px rgba(24,21,17,0.4);
}
.on-dark .edit-split__media .float-card { border-color: var(--noir); }
.float-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.marquee__track { display: flex; gap: 4rem; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 1.5rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4rem; color: var(--stone);
}
.marquee__track span::after { content: ""; width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Featured destinations (home) ---------- */
.dest-feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.dest-card { position: relative; display: block; }
.dest-card:nth-child(1) { grid-column: 1 / span 7; }
.dest-card:nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(3rem, 8vw, 9rem); }
.dest-card:nth-child(3) { grid-column: 1 / span 5; margin-top: calc(clamp(3rem, 8vw, 9rem) * -0.4); }
.dest-card:nth-child(4) { grid-column: 6 / span 7; margin-top: clamp(2rem, 5vw, 4rem); }
.dest-card .frame { overflow: hidden; aspect-ratio: 16 / 11; }
.dest-card:nth-child(2) .frame, .dest-card:nth-child(3) .frame { aspect-ratio: 4 / 5; }
.dest-card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter 1.6s var(--ease); }
.dest-card:hover .frame img { transform: scale(1.05); }
.dest-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.3rem; }
.dest-card__meta h3 { font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.dest-card__meta h3 em { font-style: italic; }
.dest-card__meta span { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.dest-card__sub { color: var(--stone); font-style: italic; margin-top: 0.3rem; font-size: 1.05rem; }

/* ---------- Destination index list ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.filter-chip {
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.65rem 1.5rem; color: var(--stone);
  transition: all 0.35s var(--ease-soft);
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.dest-list { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.dest-row {
  display: grid; grid-template-columns: 4rem 1.6fr 1fr 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.6rem, 3vw, 2.6rem) 0; border-bottom: 1px solid var(--line);
  position: relative; transition: padding 0.4s var(--ease), opacity .4s, background 0.4s;
}
.dest-row:hover { padding-left: 1.2rem; }
.dest-row.is-dim { opacity: 0.22; }
.dest-row.is-dim:hover { opacity: 0.7; }
.dest-row__index { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.3em; color: var(--brass-deep); }
.dest-row__name { font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.1; transition: color .3s; }
.dest-row:hover .dest-row__name { color: var(--brass-deep); }
.dest-row__name em { font-style: italic; }
.dest-row__meta { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.dest-row__arrow { width: 3rem; height: 10px; color: var(--stone); transition: transform 0.45s var(--ease), color .3s; }
.dest-row:hover .dest-row__arrow { transform: translateX(10px); color: var(--brass-deep); }
.dest-row__thumb { display: none; }

/* floating hover preview */
.hover-preview {
  position: fixed; z-index: 40; width: min(24vw, 340px); aspect-ratio: 4/5; pointer-events: none;
  overflow: hidden; opacity: 0; transform: scale(0.92) rotate(2deg);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
  box-shadow: 0 40px 80px -30px rgba(24,21,17,0.5);
}
.hover-preview.is-on { opacity: 1; transform: scale(1) rotate(0deg); }
.hover-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; }
.hover-preview img.is-current { opacity: 1; }

/* ---------- Destination detail ---------- */
.meta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(1.8rem, 3.5vw, 3rem) 0;
}
.meta-grid dt { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 0.8rem; }
.meta-grid dd { font-size: 1.2rem; line-height: 1.5; font-weight: 400; }
.meta-grid dd small { display: block; font-size: 1rem; color: var(--stone); font-style: italic; }

.pull-quote {
  font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.3; text-align: center; max-width: 26ch; margin: 0 auto;
}
.pull-quote::before { content: "“"; display: block; font-size: 1.4em; color: var(--brass); line-height: 0.4; margin-bottom: 1.2rem; }

.exp-list { counter-reset: exp; border-top: 1px solid var(--line); }
.exp-item {
  counter-increment: exp; display: grid; grid-template-columns: 5.5rem 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.8rem, 3.4vw, 3rem) 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.exp-item::before {
  content: counter(exp, decimal-leading-zero);
  font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.3em; color: var(--brass-deep);
}
.exp-item h3 { font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.exp-item p { color: #4c463c; font-size: 1.06rem; }
.on-dark .exp-item p { color: rgba(246,242,233,0.7); }
.on-dark .exp-list { border-color: var(--line-light); }
.on-dark .exp-item { border-color: var(--line-light); }

/* Timeline — a celebration in three acts */
.acts { position: relative; margin-top: clamp(2.5rem,5vw,4rem); }
.act { display: grid; grid-template-columns: 10rem 1fr; gap: clamp(1.5rem, 4vw, 4rem); padding: 2.2rem 0; border-top: 1px solid var(--line); }
.act:last-child { border-bottom: 1px solid var(--line); }
.act__day { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass-deep); padding-top: 0.5rem; }
.act h3 { font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 0.7rem; }
.act p { color: #4c463c; max-width: 40rem; }
.on-dark .act { border-color: var(--line-light); }
.on-dark .act p { color: rgba(246,242,233,0.72); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.gallery a { display: block; overflow: hidden; aspect-ratio: 4/5; }
.gallery a:nth-child(2) { margin-top: clamp(2rem, 5vw, 4.5rem); }
.gallery a:nth-child(3) { margin-top: calc(clamp(2rem, 5vw, 4.5rem) * 2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(14, 11, 8, 0.94);
  display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 5vw, 4rem);
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.lightbox figure { max-width: min(1100px, 100%); max-height: 100%; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8); }
.lightbox figcaption { color: var(--stone-light); text-align: center; margin-top: 1.2rem; font-style: italic; }
.lightbox__close { position: absolute; top: 2rem; right: 2.4rem; color: var(--ivory); font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); color: var(--ivory); opacity: 0.7; padding: 1rem; transition: opacity 0.3s; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav svg { width: 2.4rem; height: 12px; }
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

/* Next destination footer band */
.next-band { display: block; position: relative; overflow: hidden; color: var(--ivory); text-align: center; }
.next-band .frame { aspect-ratio: auto; height: clamp(26rem, 60vh, 34rem); overflow: hidden; }
.next-band img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
.next-band:hover img { transform: scale(1.05); }
.next-band .scrim { position: absolute; inset: 0; background: rgba(14,11,8,0.45); transition: background 0.6s; }
.next-band:hover .scrim { background: rgba(14,11,8,0.3); }
.next-band__inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem; }

/* ---------- Services ---------- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.service-block + .service-block { margin-top: clamp(5rem, 10vw, 9rem); }
.service-block:nth-child(even) .service-block__media { order: 2; }
.service-block__media { overflow: hidden; aspect-ratio: 4/3; }
.service-block__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.service-block__media:hover img { transform: scale(1.04); }
.service-block__num { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.32em; color: var(--brass-deep); display: block; margin-bottom: 1.4rem; }
.service-block ul.tick-list { margin-top: 1.8rem; }
.tick-list li {
  padding: 0.85rem 0 0.85rem 2rem; border-top: 1px solid var(--line); position: relative; font-size: 1.05rem; color: #4c463c;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 1.5rem; width: 0.55rem; height: 1px; background: var(--brass);
}

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem); }
.journal-card { display: block; }
.journal-card:nth-child(even) { margin-top: clamp(3rem, 7vw, 7rem); }
.journal-card .frame { overflow: hidden; aspect-ratio: 16/11; }
.journal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.journal-card:hover img { transform: scale(1.05); }
.journal-card__meta { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass-deep); margin: 1.4rem 0 0.6rem; }
.journal-card h3 { font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.2; }
.journal-card p { color: var(--stone); font-style: italic; margin-top: 0.5rem; }

/* Story page */
.story-body { max-width: 44rem; margin: 0 auto; }
.story-body p { margin-bottom: 1.8rem; color: #403b32; }
.story-body p:first-of-type::first-letter {
  float: left; font-size: 4.6em; line-height: 0.78; padding: 0.06em 0.14em 0 0; color: var(--brass-deep); font-weight: 300;
}
.story-body h2 { font-weight: 400; font-size: 2rem; margin: 3.4rem 0 1.4rem; }
.story-figure { max-width: 56rem; margin: clamp(3rem, 6vw, 5rem) auto; }
.story-figure img { width: 100%; }
.story-quote {
  max-width: 40rem; margin: clamp(3rem,6vw,4.5rem) auto; text-align: center;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 300; font-style: italic; line-height: 1.4; color: var(--brass-deep);
}
.fact-box {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.8rem 0; margin-top: 3rem;
}
.fact-box dt { font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 0.5rem; }
.fact-box dd { font-size: 1.05rem; }

/* ---------- Testimonials ---------- */
.testi { position: relative; }
.testi__stage { display: grid; }
.testi__slide {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  pointer-events: none; visibility: hidden;
}
.testi__slide.is-active { visibility: visible; }
.testi__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.testi__quote { font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1.35; max-width: 34ch; }
.testi__who { margin-top: 2.2rem; display: flex; align-items: center; gap: 1.3rem; }
.testi__who img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; filter: grayscale(20%); }
.testi__who b { display: block; font-weight: 400; font-size: 1.1rem; }
.testi__who span { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--stone); }
.testi__controls { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 3rem; }
.testi__btn { width: 3rem; height: 3rem; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: all 0.35s; }
.testi__btn:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.testi__btn svg { width: 1.2rem; height: 6px; }
.testi__count { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.3em; color: var(--stone); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--ivory); text-align: center; }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: rgba(14,11,8,0.74); }
.cta-band .title, .cta-band .eyebrow { text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.cta-band .wrap { position: relative; z-index: 2; }

/* ---------- Inquiry form ---------- */
.inq { max-width: 56rem; margin: 0 auto; }
.inq-progress { display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.inq-progress li {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--stone-light);
  display: flex; align-items: center; gap: 0.8rem; transition: color 0.4s;
}
.inq-progress li b { font-weight: 400; font-family: var(--serif); font-size: 1.15rem; }
.inq-progress li.is-active { color: var(--brass-deep); }
.inq-progress li.is-done { color: var(--stone); }
.inq-step { display: none; }
.inq-step.is-active { display: block; animation: stepIn 0.7s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.field { margin-bottom: 2rem; position: relative; }
.field label {
  display: block; font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 0.7rem;
}
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.3rem; color: var(--ink); padding: 0.6rem 0;
  transition: border-color 0.4s; border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a3804e' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.2rem center; padding-right: 2rem; cursor: pointer; }
.field textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass-deep); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #a2543e; }
.field .error-msg {
  position: absolute; right: 0; top: 0; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #a2543e; opacity: 0; transition: opacity 0.3s;
}
.field.has-error .error-msg { opacity: 1; }
.pill-group { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.pill-group input { position: absolute; opacity: 0; pointer-events: none; }
.pill-group label.pill {
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.75rem 1.5rem; cursor: pointer; margin: 0;
  transition: all 0.3s var(--ease-soft);
}
.pill-group label.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill-group input:checked + label.pill { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.inq-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; }
.inq-back { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--stone); }
.inq-back:hover { color: var(--ink); }
.inq-success { text-align: center; display: none; }
.inq-success.is-active { display: block; animation: stepIn 0.8s var(--ease); }
.inq-success .ref {
  display: inline-block; margin-top: 1.6rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.7rem 1.8rem;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-deep);
}

/* ---------- Atelier page ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.value-row { border-top: 1px solid var(--line); padding: clamp(2rem, 4vw, 3.4rem) 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 6rem); }
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row h3 { font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.value-row p { color: #4c463c; max-width: 40rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--noir); color: var(--ivory); padding: clamp(4.5rem, 9vw, 8rem) 0 2.5rem; }
.site-footer .wordmark__name { font-size: clamp(3.4rem, 10vw, 8.5rem); letter-spacing: 0.22em; text-align: center; display: block; }
.site-footer .wordmark__sub { text-align: center; display: block; font-size: 0.62rem; margin-top: 1rem; }
.footer-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line-light);
}
.footer-cols h4 { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.3rem; font-weight: 400; }
.footer-cols a { display: block; padding: 0.3rem 0; color: rgba(246,242,233,0.75); font-size: 1.02rem; transition: color 0.3s, padding-left 0.3s; }
.footer-cols a:hover { color: var(--ivory); padding-left: 0.5rem; }
.footer-cols p { color: rgba(246,242,233,0.6); font-size: 1.02rem; line-height: 1.7; }
.footer-base {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.8rem; border-top: 1px solid var(--line-light);
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-light);
}

/* ---------- Page fade transition ---------- */
body { opacity: 0; transition: opacity 0.6s var(--ease-soft); }
body.is-loaded { opacity: 1; }
body.is-leaving { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .dest-row { grid-template-columns: 3rem 1.6fr 1fr auto; }
  .dest-row__meta--season { display: none; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .grid-2, .edit-split, .service-block, .value-row { grid-template-columns: 1fr; }
  .edit-split--rev > .edit-split__media, .service-block:nth-child(even) .service-block__media { order: 0; }
  .dest-feature { display: block; }
  .dest-card { margin: 0 0 3.5rem !important; }
  .dest-card .frame, .dest-card:nth-child(2) .frame, .dest-card:nth-child(3) .frame { aspect-ratio: 4/3; }
  .exp-item { grid-template-columns: 3.5rem 1fr; }
  .exp-item p { grid-column: 2; margin-top: 0.8rem; }
  .meta-grid, .fact-box { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-card:nth-child(even) { margin-top: 0; }
  .gallery a:nth-child(2), .gallery a:nth-child(3) { margin-top: 0; }
  .hover-preview { display: none; }
  .act { grid-template-columns: 1fr; gap: 0.6rem; }
  .edit-split__media .float-card { right: 4%; bottom: -8%; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
}
@media (max-width: 640px) {
  :root { --header-h: 76px; }
  body { font-size: 1.05rem; }
  .dest-row { grid-template-columns: 1fr auto; grid-template-areas: "thumb thumb" "index arrow" "name arrow" "meta arrow"; row-gap: 0.5rem; padding-left: 0 !important; }
  .dest-row__thumb { display: block; grid-area: thumb; aspect-ratio: 16/10; overflow: hidden; margin-bottom: 1rem; }
  .dest-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .dest-row__index { grid-area: index; }
  .dest-row__name { grid-area: name; font-size: 1.9rem; }
  .dest-row__meta { grid-area: meta; }
  .dest-row__arrow { grid-area: arrow; align-self: center; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stat-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .meta-grid, .fact-box { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 1.2rem; }
  .gallery a { aspect-ratio: 4/3; }
  .inq-progress { gap: 1.1rem; }
  .inq-progress li span { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .hero .reveal-line > span { transform: none; }
  .hero .fade-in { opacity: 1; }
  body { opacity: 1; }
}
