/* ==========================================================================
   ELYRA - Travel Agency Template
   1. Tokens  2. Base  3. Utilities  4. Buttons  5. Page transitions
   6. Header & menu  7. Home hero  8. Intro / topo  9. Sections
   10. Cards  11. Inner pages  12. Forms  13. Footer  14. Motion  15. Responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --ink: #0e0c0a;
  --ink-2: #15120f;
  --ink-3: #1d1915;
  --ink-4: #27221d;
  --line: rgba(243, 236, 225, 0.12);
  --line-strong: rgba(243, 236, 225, 0.24);

  --cream: #f3ece1;
  --cream-2: #e8dece;
  --text: #f3ece1;
  --muted: rgba(243, 236, 225, 0.64);
  --dim: rgba(243, 236, 225, 0.42);

  --gold: #c8ad7f;
  --gold-2: #b2956a;
  --gold-soft: rgba(200, 173, 127, 0.14);
  --ember: #e48a4f;

  --paper-ink: #1a1612;
  --paper-muted: #5f574d;

  --serif: "DM Serif Display", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 4px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* 2. Base --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Lock the page horizontally on phones. `clip` (unlike `hidden`) doesn't
   create a scroll container, so sticky sections keep working. */
@supports (overflow-x: clip) {
  html,
  body { overflow-x: clip; }
}
html,
body { overscroll-behavior-x: none; max-width: 100%; }

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* 3. Utilities ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }
.section--paper { background: var(--cream); color: var(--paper-ink); }
.section--ink2 { background: var(--ink-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.section--paper .eyebrow { color: var(--gold-2); }

.display {
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: 0.98;
}
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 56ch; }
.section--paper .lead { color: var(--paper-muted); }

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px currentColor;
  -webkit-text-stroke-color: var(--text);
}
.section--paper .outline-text { -webkit-text-stroke-color: var(--paper-ink); }

.italic { font-style: italic; color: var(--gold); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 72px);
  flex-wrap: wrap;
}
.section-head__title { display: grid; gap: 22px; max-width: 760px; }
.section-head .lead { max-width: 420px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.media-cover { position: relative; overflow: hidden; }
.media-cover img { width: 100%; height: 100%; object-fit: cover; }

/* 4. Buttons ------------------------------------------------------------ */
.btn {
  --bg: transparent;
  --fg: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 34px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  isolation: isolate;
  overflow: hidden;
  transition: color 0.5s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* Slanted gold button - echoes the reference design */
.btn--gold {
  --bg: var(--gold);
  --fg: var(--ink);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  padding-inline: 42px;
}
.btn--gold::before,
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.btn--gold:hover::before,
.btn--ghost:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--ghost { border: 1px solid var(--line-strong); }
.btn--ghost:hover { --fg: var(--ink); }
.btn--ghost::before { background: var(--gold); }

.section--paper .btn--ghost { --fg: var(--paper-ink); border-color: rgba(26, 22, 18, 0.25); }
.section--paper .btn--ghost::before { background: var(--paper-ink); }
.section--paper .btn--ghost:hover { --fg: var(--cream); }

.btn--sm { min-height: 42px; padding: 0 22px; font-size: 11px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.link-arrow:hover { background-size: 30% 1px; color: var(--gold); }
.link-arrow svg { width: 14px; height: 14px; }

.icon-btn {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s;
}
.icon-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.icon-btn svg { width: 16px; height: 16px; }

/* 5. Page transitions --------------------------------------------------------- */
.page-fade {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.page-fade.is-active { opacity: 1; pointer-events: all; }

/* 6. Header & menu ------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: transform 0.6s var(--ease), background 0.4s, height 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(14, 12, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; border-radius: 25%; box-shadow: 0 0 0 1px var(--line-strong); transition: transform 0.6s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-2px) scale(1.06); }
.brand__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand__sub {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 4px;
}

.nav { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 8px;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}
.nav a:hover,
.nav a.is-active { color: var(--text); }
.nav a.is-active::after,
.nav a:hover::after { transform: scale(1); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.header-phone { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; transition: color 0.3s; }
.header-phone:hover { color: var(--gold); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1px;
  background: var(--text);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink-2);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: circle(0 at calc(100% - 46px) 42px);
  transition: clip-path 0.9s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .menu-overlay { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; }
.menu-overlay nav { display: grid; gap: 4px; }
.menu-overlay nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 11vw, 4rem);
  line-height: 1.15;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.menu-overlay nav a small { font-family: var(--sans); font-size: 11px; color: var(--gold); letter-spacing: 0.2em; }
.menu-overlay nav a.is-active { color: var(--gold); }
.menu-open .menu-overlay nav a { opacity: 1; transform: none; }
.menu-open .menu-overlay nav a:nth-child(1) { transition-delay: 0.25s; }
.menu-open .menu-overlay nav a:nth-child(2) { transition-delay: 0.3s; }
.menu-open .menu-overlay nav a:nth-child(3) { transition-delay: 0.35s; }
.menu-open .menu-overlay nav a:nth-child(4) { transition-delay: 0.4s; }
.menu-open .menu-overlay nav a:nth-child(5) { transition-delay: 0.45s; }
.menu-open .menu-overlay nav a:nth-child(6) { transition-delay: 0.5s; }
.menu-overlay__foot { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }

/* 7. Home hero ---------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: grid;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: -4%;
  z-index: -2;
  will-change: transform;
  container-type: size;
}
/* The stage reproduces object-fit: cover (focus point --px/--py) so the
   leg layers stay pinned to the photo at every screen size.
   2000 / 2994 is the photo's aspect ratio. */
.hero__stage {
  --px: 0.5;
  --py: 0.78;
  --sw: max(100cqw, 100cqh * 0.668);
  --sh: max(100cqh, 100cqw * 1.497);
  position: absolute;
  width: var(--sw);
  height: var(--sh);
  left: calc((100cqw - var(--sw)) * var(--px));
  top: calc((100cqh - var(--sh)) * var(--py));
  transform-origin: calc(50cqw - (100cqw - var(--sw)) * var(--px)) calc(50cqh - (100cqh - var(--sh)) * var(--py));
  scale: 1.12;
  animation: heroZoom 2.6s var(--ease) 0.4s forwards;
}
@keyframes heroZoom { to { scale: 1; } }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero__leg {
  position: absolute;
  height: auto;
  max-width: none;
  animation: legSwing 1.7s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__leg--front { left: 54.8%; top: 76.0521%; width: 7.4%; transform-origin: 83.78% 13.44%; --from: -4deg; --to: 7deg; }
.hero__leg--back { left: 58.85%; top: 77.1877%; width: 4.6%; transform-origin: 72.55% 5.71%; --from: 6deg; --to: -5deg; animation-delay: -0.85s; }
@keyframes legSwing {
  from { transform: rotate(var(--from)); }
  to { transform: rotate(var(--to)); }
}

/* Warm sunset grade + legibility gradients */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 12, 10, 0.55) 0%, rgba(14, 12, 10, 0) 22%),
    linear-gradient(0deg, rgba(14, 12, 10, 0.92) 0%, rgba(14, 12, 10, 0.25) 34%, rgba(14, 12, 10, 0) 55%),
    linear-gradient(115deg, rgba(228, 138, 79, 0.42) 0%, rgba(228, 138, 79, 0.18) 45%, rgba(120, 60, 30, 0.35) 100%);
}
.hero__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 35%, rgba(255, 170, 100, 0.25), transparent 60%);
  mix-blend-mode: soft-light;
}

.hero__content {
  align-self: center;
  padding-top: var(--header-h);
}
.hero__title {
  font-size: clamp(3.6rem, 9.6vw, 9.6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  display: grid;
  margin-left: clamp(0px, 8vw, 140px);
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .line--2 { padding-left: clamp(20px, 10vw, 180px); }
.hero__title .word { display: inline-block; }
.hero__title .outline-text { -webkit-text-stroke-width: 1.2px; -webkit-text-stroke-color: rgba(243, 236, 225, 0.75); }
.hero__title .char { display: inline-block; will-change: transform, opacity, filter; }

.hero__tagline {
  margin: clamp(22px, 3vw, 34px) 0 0 clamp(4px, 8.2vw, 146px);
  max-width: 380px;
  color: rgba(243, 236, 225, 0.82);
  font-size: 15px;
}

.hero__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: clamp(22px, 3.5vw, 40px);
}
.hero__bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
}
.hero__features { display: grid; grid-template-columns: repeat(3, minmax(0, 210px)); gap: clamp(18px, 3vw, 44px); }
.hero__features li { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.hero__features strong { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.hero__features span { font-size: 12px; color: var(--muted); line-height: 1.5; display: block; }

.hero__cta {
  width: 150px;
  height: 150px;
  padding: 20px;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease);
}
.hero__cta svg { width: 22px; height: 22px; align-self: flex-end; transition: transform 0.5s var(--ease); }
.hero__cta:hover { background: var(--cream); }
.hero__cta:hover svg { transform: translate(4px, -4px) rotate(-45deg); }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.socials svg { width: 14px; height: 14px; }

/* 8. Intro with topographic map ---------------------------------------- */
.intro {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.topo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.9; }
.topo-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14, 12, 10, 0.88) 0%, rgba(14, 12, 10, 0.4) 45%, rgba(14, 12, 10, 0) 75%);
  pointer-events: none;
}
.pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 12px 2px rgba(243, 236, 225, 0.55);
  animation: twinkle 3.2s ease-in-out infinite;
}
.pin:nth-child(2n) { animation-delay: 1.1s; }
.pin:nth-child(3n) { animation-delay: 2s; }
@keyframes twinkle { 50% { opacity: 0.35; transform: scale(0.7); } }

.intro__media {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(34vw, 520px);
  aspect-ratio: 3 / 4;
  transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  border-radius: 50% 0 0 50% / 60% 0 0 60%;
  overflow: hidden;
}
.intro__media img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }

.intro__content {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 26px;
  padding-block: 120px;
}
.intro__content p { color: var(--muted); font-size: 14.5px; max-width: 46ch; }
.scatter { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.18; }
.scatter .char { display: inline-block; will-change: transform, opacity; }

/* 9. Sections ----------------------------------------------------------- */

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(22px, 3vw, 36px);
  background: var(--ink);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 3.4vw, 56px);
  padding-right: clamp(28px, 3.4vw, 56px);
  font-family: "Fraunces", var(--serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
/* small right padding keeps the italic overhang from being clipped */
.marquee__word { padding: 0.04em 0.12em 0.08em 0; color: var(--cream); }
.marquee__item:nth-child(even) .marquee__word {
  background: linear-gradient(100deg, var(--ember) 0%, var(--gold) 45%, var(--cream) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.marquee__sun {
  width: clamp(34px, 3.4vw, 52px);
  height: clamp(34px, 3.4vw, 52px);
  flex-shrink: 0;
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(228, 138, 79, 0.45));
  animation: sunSpin 16s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sunSpin { to { transform: rotate(360deg); } }

/* Horizontal showcase (sticky) */
.showcase { position: relative; background: var(--ink); }
.showcase__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 4vh, 48px);
}
.showcase__head .section-head__title { max-width: none; }
.showcase__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.showcase__progress { width: 180px; height: 1px; background: var(--line); position: relative; }
.showcase__progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.showcase__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  padding-left: var(--gutter);
  will-change: transform;
}

.dest-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(260px, 26vw, 380px);
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  isolation: isolate;
}
.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.dest-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 12, 10, 0.35) 0%, rgba(14, 12, 10, 0) 22%, rgba(14, 12, 10, 0) 40%, rgba(14, 12, 10, 0.88) 100%);
  transition: background 0.6s;
}
.dest-card:hover img { transform: scale(1.08); }
.dest-card__top {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.dest-card__num { color: var(--cream); opacity: 0.8; }
.dest-card__region {
  padding: 4px 10px;
  border: 1px solid rgba(243, 236, 225, 0.4);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  background: rgba(14, 12, 10, 0.4);
}
.dest-card__body { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 6px; }
.dest-card__name { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; }
.dest-card__tag { font-size: 13px; color: var(--muted); }
.dest-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--muted);
}
.dest-card__foot b { color: var(--gold); font-weight: 500; font-size: 14px; }
.dest-card__arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  transform: scale(0) rotate(-45deg);
  transition: transform 0.5s var(--ease);
}
.dest-card__arrow svg { width: 14px; height: 14px; }
.dest-card:hover .dest-card__arrow { transform: scale(1) rotate(-45deg); }

.showcase__end {
  flex: 0 0 auto;
  width: clamp(260px, 26vw, 380px);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  margin-right: var(--gutter);
}
.showcase__end p { font-family: var(--serif); font-size: 1.8rem; line-height: 1.15; }

/* Why / stats */
.why__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.why__media { position: relative; }
.why__media .main { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.why__media .main img { width: 100%; height: 120%; object-fit: cover; }
.why__media .float {
  position: absolute;
  right: -8%;
  bottom: -8%;
  width: 46%;
  aspect-ratio: 1;
  border: 8px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.why__media .float img { width: 100%; height: 100%; object-fit: cover; }
.why__badge {
  position: absolute;
  left: -24px;
  top: 40px;
  background: var(--gold);
  color: var(--ink);
  padding: 22px 24px;
  display: grid;
  gap: 2px;
}
.why__badge strong { font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 400; }
.why__badge span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }

.why__content { display: grid; gap: 28px; }
.pillars { display: grid; gap: 0; margin-top: 8px; }
.pillar {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.35rem; margin-bottom: 4px; }
.pillar p { color: var(--muted); font-size: 14.5px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(64px, 9vw, 120px);
}
.stat { padding: 34px 24px 0 0; display: grid; gap: 6px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; }
.stat__num sup { font-size: 0.45em; color: var(--gold); vertical-align: top; position: relative; top: 0.25em; }
.stat__label { font-size: 12px; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }

/* Experience styles — expanding image panels */
.style-panels {
  display: flex;
  gap: 12px;
  height: clamp(460px, 68vh, 620px);
}
.sp {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  color: var(--cream);
  isolation: isolate;
  transition: flex-grow 0.9s var(--ease);
}
.sp.is-active { flex-grow: 4.2; }
.sp__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) sepia(0.25) brightness(0.75);
  transform: scale(1.15);
  transition: filter 0.9s var(--ease), transform 1.4s var(--ease);
}
.sp.is-active .sp__img { filter: none; transform: scale(1); }
.sp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 12, 10, 0.45) 0%, rgba(14, 12, 10, 0) 30%, rgba(14, 12, 10, 0.15) 50%, rgba(14, 12, 10, 0.9) 100%);
}
.sp__num {
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
/* vertical name shown while a panel is collapsed */
.sp__label {
  position: absolute;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  writing-mode: vertical-rl;
  rotate: 180deg;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  white-space: nowrap;
  transition: opacity 0.4s var(--ease);
}
.sp.is-active .sp__label { opacity: 0; }
.sp__body {
  position: absolute;
  left: clamp(22px, 2.6vw, 36px);
  right: clamp(22px, 2.6vw, 36px);
  bottom: clamp(22px, 2.6vw, 34px);
  display: grid;
  gap: 12px;
  justify-items: start;
  opacity: 0;
  translate: 0 24px;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), translate 0.4s var(--ease);
}
.sp.is-active .sp__body {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
  transition: opacity 0.7s var(--ease) 0.35s, translate 0.9s var(--ease) 0.35s;
}
.sp__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(14, 12, 10, 0.35);
  border: 1px solid rgba(200, 173, 127, 0.6);
  color: var(--gold);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sp__icon svg { width: 24px; height: 24px; }
.sp__body h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; }
.sp__body p { color: rgba(243, 236, 225, 0.8); font-size: 15px; max-width: 34ch; }
.sp__foot {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(243, 236, 225, 0.25);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sp__foot [data-style-count] { color: rgba(243, 236, 225, 0.7); }
.sp__cta { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); }
.sp__cta svg { width: 16px; height: 16px; transition: translate 0.4s var(--ease); }
.sp:hover .sp__cta svg { translate: 4px 0; }

/* Testimonials */
.testimonials { position: relative; overflow: hidden; }
.testimonials__layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.quote-mark { font-family: var(--serif); font-size: 9rem; line-height: 0.6; color: var(--gold); height: 60px; }
.slider { position: relative; min-height: 340px; }
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), visibility 0.8s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.3; }
.slide__who { display: flex; align-items: center; gap: 16px; }
.slide__who img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.slide__who strong { display: block; font-weight: 500; }
.slide__who span { font-size: 13px; color: var(--paper-muted); }
.slider__controls { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.slider__controls .icon-btn { border-color: rgba(26, 22, 18, 0.25); }
.slider__controls .icon-btn:hover { background: var(--paper-ink); color: var(--cream); border-color: var(--paper-ink); }
.slider__count { font-size: 13px; letter-spacing: 0.14em; color: var(--paper-muted); margin-left: 8px; }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; min-height: 80vh; display: grid; align-items: center; }
.cta-band__bg { position: absolute; inset: -10% 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 12, 10, 0.85) 0%, rgba(14, 12, 10, 0.35) 70%), linear-gradient(0deg, rgba(14, 12, 10, 0.6), transparent 40%);
}
.cta-band__content { display: grid; gap: 28px; max-width: 720px; justify-items: start; }
.cta-band__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 10. Cards ------------------------------------------------------------- */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.tour-grid--2 { grid-template-columns: repeat(2, 1fr); }

.tour-card { display: grid; gap: 18px; position: relative; }
.tour-card__media {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tour-card:hover .tour-card__media img { transform: scale(1.06); }
.tour-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 12, 10, 0.35) 0%, transparent 30%, transparent 70%, rgba(14, 12, 10, 0.45) 100%);
}
.tour-card__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(14, 12, 10, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(243, 236, 225, 0.2);
}
.chip svg { width: 13px; height: 13px; }
.chip--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.fav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(14, 12, 10, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(243, 236, 225, 0.2);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.fav svg { width: 16px; height: 16px; }
.fav:hover { transform: scale(1.08); }
.fav.is-on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.fav.is-on svg { fill: currentColor; }
.tour-card__duration {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tour-card__duration svg { width: 14px; height: 14px; color: var(--gold); }
.tour-card__body { display: grid; gap: 8px; }
.tour-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.tour-card__meta .rating { display: inline-flex; align-items: center; gap: 6px; }
.tour-card__meta .rating svg { width: 13px; height: 13px; color: var(--gold); }
.tour-card__title { font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.15; }
.tour-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ease); }
.tour-card:hover .tour-card__title a { background-size: 100% 1px; }
.tour-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
}
.price { font-size: 12px; color: var(--muted); }
.price b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--text); margin-left: 4px; }

/* Journal cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.post-card { display: grid; gap: 18px; align-content: start; }
.post-card__media { aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; display: block; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-meta { display: flex; gap: 14px; align-items: center; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.post-meta .cat { color: var(--gold); }
.post-meta i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.post-card h3 { font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.22; }
.post-card p { font-size: 14.5px; color: var(--muted); }

.section--paper .post-card p,
.section--paper .post-meta { color: var(--paper-muted); }

/* 11. Inner pages -------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding-block: calc(var(--header-h) + 60px) clamp(48px, 7vw, 90px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero--short { min-height: 62vh; }
.page-hero__bg { position: absolute; inset: -25% 0 -5%; z-index: -2; will-change: transform; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: pageZoom 2.4s var(--ease) 0.3s forwards; }
@keyframes pageZoom { to { transform: scale(1); } }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 12, 10, 0.55) 0%, rgba(14, 12, 10, 0.1) 35%, rgba(14, 12, 10, 0.92) 100%),
    linear-gradient(115deg, rgba(228, 138, 79, 0.25), rgba(14, 12, 10, 0) 60%);
}
.page-hero__inner { display: grid; gap: 24px; }
.page-hero__title { font-size: clamp(3rem, 9vw, 8rem); line-height: 0.92; letter-spacing: -0.02em; }
.page-hero__title .char { display: inline-block; }
.w { display: inline-block; white-space: nowrap; }
.page-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.page-hero__row .lead { color: rgba(243, 236, 225, 0.8); }

.crumbs { display: flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { color: var(--gold); }

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: clamp(36px, 5vw, 56px); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 10px 20px;
  border-radius: 40px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.4s var(--ease), color 0.3s, border-color 0.3s;
}
.pill:hover { color: var(--text); border-color: var(--text); }
.pill.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pill sup { font-size: 9px; margin-left: 4px; opacity: 0.7; }

.search-field { position: relative; min-width: min(320px, 100%); }
.search-field svg { position: absolute; left: 0; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--dim); }
.search-field input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0 12px 30px;
  outline: none;
  transition: border-color 0.3s;
}
.search-field input:focus { border-color: var(--gold); }
.search-field input::placeholder { color: var(--dim); }

/* Destinations page grid */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.dest-grid .dest-card { width: 100%; aspect-ratio: 4 / 5; }
.dest-grid .dest-card:nth-child(6n + 1) { grid-column: span 2; aspect-ratio: auto; }

.dest-card--cta {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  background: radial-gradient(circle at 50% 30%, var(--gold-soft), transparent 70%);
}
.dest-card--cta::before { display: none; }
.dest-grid .dest-card.dest-card--cta { grid-column: auto; aspect-ratio: 4 / 5; }
.dest-card--cta h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.dest-card--cta p { color: var(--muted); font-size: 14px; max-width: 26ch; }
.dest-card--cta .icon-btn { width: 56px; height: 56px; color: var(--gold); border-color: var(--gold); transition: transform 0.6s var(--ease), background 0.4s, color 0.4s; }
.dest-card--cta:hover .icon-btn { background: var(--gold); color: var(--ink); transform: rotate(-45deg); }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.empty-state h3 { font-size: 1.8rem; color: var(--text); }

/* Region strip */
.region-strip { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.region { padding: 30px 22px 6px 0; display: grid; gap: 4px; }
.region + .region { padding-left: 22px; border-left: 1px solid var(--line); }
.region strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1; }
.region > span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* Tours page layout */
.tours-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.filters {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 30px;
  padding: 28px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filters__head { display: flex; justify-content: space-between; align-items: center; }
.filters__head h3 { font-size: 1.5rem; }
.filters__reset { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.filter-group { display: grid; gap: 12px; }
.filter-group > span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.check { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; width: 16px; height: 16px; border: 1px solid var(--line-strong); border-radius: 2px; display: grid; place-items: center; margin: 0; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 8px; height: 4px; border: solid var(--ink); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translate(1px, -1px); }
.check:hover { color: var(--text); }
.check small { margin-left: auto; color: var(--dim); font-size: 12px; }

.range { display: grid; gap: 10px; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--line-strong); outline: none; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid var(--ink-2); box-shadow: 0 0 0 1px var(--gold); }
.range input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid var(--ink-2); }
.range__vals { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.range__vals b { color: var(--text); font-weight: 500; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.results-bar p { color: var(--muted); font-size: 14px; }
.results-bar p b { color: var(--text); font-weight: 500; }
.results-bar__right { display: flex; gap: 12px; align-items: center; }
.results-bar .search-field { min-width: 200px; }

.select {
  position: relative;
}
.select select {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 11px 42px 11px 16px;
  font-size: 13px;
  border-radius: 40px;
  cursor: pointer;
  outline: none;
}
.select select option { background: var(--ink-2); }
.select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 6px;
  height: 6px;
  border: solid var(--gold);
  border-width: 0 1px 1px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.filters-toggle,
.filters-close { display: none; }
.filters__promo { padding: 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius); display: grid; gap: 10px; }
.filters__promo strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.filters__promo p { font-size: 13.5px; color: var(--muted); }

/* Tour detail */
.tour-hero .page-hero__title { font-size: clamp(2.6rem, 7vw, 6.4rem); max-width: 14ch; }
.tour-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--line);
  background: var(--ink-2);
}
.tour-fact { padding: 26px 24px; display: flex; gap: 14px; align-items: center; }
.tour-fact + .tour-fact { border-left: 1px solid var(--line); }
.tour-fact svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.tour-fact span { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.tour-fact strong { font-weight: 500; font-size: 15px; }

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  height: clamp(360px, 46vw, 620px);
}
.gallery button { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery__more { position: absolute; right: 14px; bottom: 14px; }

.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 6vw, 90px); align-items: start; }
/* let the sidebar column span the full row so the booking card can stick */
.detail-layout > aside { align-self: stretch; }
.detail-main { display: grid; gap: clamp(56px, 7vw, 88px); }
.detail-block { display: grid; gap: 24px; }
.detail-block h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.detail-block > p { color: var(--muted); font-size: 16.5px; }

.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.highlights li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}
.highlights svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item__btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 24px 0;
  text-align: left;
}
.acc-item__day { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); min-width: 82px; }
.acc-item__title { font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.acc-item__icon { width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; transition: transform 0.5s var(--ease), background 0.3s; }
.acc-item__icon::before,
.acc-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.acc-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.acc-item.is-open .acc-item__icon { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.acc-item.is-open .acc-item__icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.acc-item.is-open .acc-item__panel { grid-template-rows: 1fr; }
.acc-item__panel > div { overflow: hidden; }
.acc-item__panel p { color: var(--muted); padding: 0 54px 26px 104px; }

.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.incl > div { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 14px; align-content: start; }
.incl h3 { font-size: 1.3rem; }
.incl li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14.5px; padding-block: 3px; }
.incl li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; }
.incl .yes svg { color: var(--gold); }
.incl .no svg { color: var(--dim); }

.reviews { display: grid; gap: 18px; }
.review { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 14px; }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.review__who { display: flex; align-items: center; gap: 14px; }
.review__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review__who strong { display: block; font-weight: 500; }
.review__who span { font-size: 12px; color: var(--dim); }
.review p { color: var(--muted); }

.booking {
  position: sticky;
  top: 100px;
  padding: 32px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 22px;
}
.booking__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.booking__price b { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; line-height: 1; }
.booking__price span { font-size: 13px; color: var(--muted); }
.booking__rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 6px; }
.stepper button { width: 38px; height: 38px; border-radius: 2px; font-size: 18px; transition: background 0.3s; }
.stepper button:hover { background: var(--ink-4); }
.stepper output { font-size: 15px; }
.booking__summary { display: grid; gap: 10px; font-size: 14px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }
.booking__summary div { display: flex; justify-content: space-between; }
.booking__summary .total { color: var(--text); font-size: 16px; padding-top: 10px; border-top: 1px dashed var(--line); }
.booking__summary .total b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--gold); }
.booking__note { font-size: 12px; color: var(--dim); text-align: center; }

/* About */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story__media figure { border-radius: var(--radius); overflow: hidden; }
.story__media figure:first-child { aspect-ratio: 3 / 4.4; }
.story__media figure:last-child { aspect-ratio: 3 / 4.4; margin-top: 70px; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__content { display: grid; gap: 26px; }
.story__content p { color: var(--muted); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--gold); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(26, 22, 18, 0.14); }
.value { padding: 36px 28px 0 0; display: grid; gap: 14px; align-content: start; }
.value + .value { padding-left: 28px; border-left: 1px solid rgba(26, 22, 18, 0.14); }
.value__num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--gold-2); }
.value h3 { font-size: 1.5rem; }
.value p { color: var(--paper-muted); font-size: 14.5px; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; padding-block: 34px; }
.tl-item__year { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; text-align: right; }
.tl-item__dot { justify-self: center; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold); position: relative; z-index: 1; }
.tl-item__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold); }
.tl-item__text h3 { font-size: 1.4rem; margin-bottom: 6px; }
.tl-item__text p { color: var(--muted); font-size: 14.5px; max-width: 40ch; }
.tl-item:nth-child(even) .tl-item__year { order: 3; text-align: left; }
.tl-item:nth-child(even) .tl-item__dot { order: 2; }
.tl-item:nth-child(even) .tl-item__text { order: 1; text-align: right; justify-self: end; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.member { display: grid; gap: 16px; }
.member__photo { aspect-ratio: 3 / 3.8; border-radius: var(--radius); overflow: hidden; position: relative; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.8s var(--ease), transform 1.2s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.04); }
.member__social { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.member:hover .member__social { opacity: 1; transform: none; }
.member__social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--ink); }
.member__social svg { width: 14px; height: 14px; }
.member h3 { font-size: 1.4rem; }
.member span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

.logos { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos div {
  display: grid;
  place-items: center;
  padding: 34px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--dim);
  letter-spacing: 0.04em;
  transition: color 0.3s;
  text-align: center;
}
.logos div:hover { color: var(--gold); }
.logos small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; }

/* Journal */
.featured-post { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(64px, 8vw, 110px); }
.featured-post__media { aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; display: block; }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.featured-post:hover .featured-post__media img { transform: scale(1.04); }
.featured-post__body { display: grid; gap: 22px; justify-items: start; }
.featured-post__body h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.featured-post__body p { color: var(--muted); }

/* Article */
.article-hero { min-height: 86vh; }
.article-hero .page-hero__title { font-size: clamp(2.4rem, 6vw, 5.4rem); max-width: 18ch; }
.article { max-width: 760px; margin-inline: auto; display: grid; gap: 28px; }
.article > p { font-size: 18px; line-height: 1.8; color: rgba(243, 236, 225, 0.82); }
.article > p:first-child::first-letter { font-family: var(--serif); font-size: 5.2rem; float: left; line-height: 0.8; padding: 8px 14px 0 0; color: var(--gold); }
.article blockquote {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.25;
  padding: 18px 0 18px 32px;
  border-left: 2px solid var(--gold);
  margin-block: 16px;
}
.article figure { margin-block: 16px; border-radius: var(--radius); overflow: hidden; }
.article figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article figcaption { font-size: 13px; color: var(--dim); padding-top: 10px; }
.article__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 34px; margin-top: 20px; border-top: 1px solid var(--line); }
.author { display: flex; gap: 16px; align-items: center; }
.author__avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-family: var(--serif); font-size: 1.4rem; }
.author strong { display: block; font-weight: 500; }
.author span { font-size: 13px; color: var(--dim); }
.share { display: flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.share .icon-btn { width: 38px; height: 38px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-info { display: grid; gap: 34px; }
.contact-card { display: grid; gap: 8px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.contact-card span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.contact-card a,
.contact-card p { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.25; }
.contact-card a:hover { color: var(--gold); }
.contact-card small { color: var(--muted); font-size: 14px; }

.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.office { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; gap: 6px; }
.office img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.office::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(14, 12, 10, 0.9)); }
.office:hover img { transform: scale(1.06); }
.office h3 { font-size: 2rem; }
.office p { color: var(--muted); font-size: 14px; }
.office .time { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; height: 460px; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.85) sepia(0.25); }

.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq .acc-item__btn { grid-template-columns: 1fr auto; }
.faq .acc-item__panel p { padding: 0 54px 26px 0; }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.newsletter form { display: flex; gap: 0; border-bottom: 1px solid rgba(26, 22, 18, 0.3); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 18px 0; outline: none; color: var(--paper-ink); font-size: 16px; }
.newsletter input::placeholder { color: var(--paper-muted); }
.newsletter button { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; padding-left: 16px; }
.newsletter button svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.newsletter button:hover svg { transform: translateX(4px); }
.newsletter small { display: block; margin-top: 14px; color: var(--paper-muted); font-size: 13px; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 120px var(--gutter) 60px; }
.notfound__num { font-family: var(--serif); font-size: clamp(8rem, 30vw, 22rem); line-height: 0.85; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.notfound__inner { position: relative; display: grid; gap: 22px; justify-items: center; }

/* 12. Forms ------------------------------------------------------------- */
.form { display: grid; gap: 26px; padding: clamp(28px, 4vw, 52px); background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); }
.form h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 8px; position: relative; }
.field label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0 12px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--ink-2); }
.field input[type="date"] { color-scheme: dark; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #e07a5f; }
.field__error { font-size: 12px; color: #e07a5f; min-height: 0; }
.booking .field input,
.booking .field select { font-size: 15px; }

.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select label { cursor: pointer; position: relative; }
.chips-select input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chips-select span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  font-size: 13px;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chips-select input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.chips-select input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }

.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__foot small { color: var(--dim); font-size: 13px; max-width: 34ch; }

.form-success { display: none; text-align: center; padding: 40px 0; gap: 16px; justify-items: center; }
.form.is-sent > *:not(.form-success) { display: none; }
.form.is-sent .form-success { display: grid; }
.form-success__icon { width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.form-success__icon svg { width: 30px; height: 30px; }
.form-success p { color: var(--muted); max-width: 40ch; }

/* Modal & toast */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(14, 12, 10, 0.75);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(28px, 4vw, 48px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.5s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; }
.modal__box h3 { font-size: 2rem; }
.modal__box p { color: var(--muted); }
.modal__ref { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }

.lightbox { padding: 0; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 82vh; object-fit: contain; border-radius: var(--radius); }
.lightbox .modal__close { position: fixed; top: 20px; right: 20px; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 160;
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  padding: 14px 24px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 40px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.6s var(--ease), visibility 0.6s;
  max-width: calc(100vw - 32px);
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 18px; height: 18px; color: var(--gold-2); flex-shrink: 0; }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s var(--ease), visibility 0.4s, background 0.3s;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--ink); }
.to-top svg { width: 16px; height: 16px; position: relative; z-index: 1; }
.to-top circle.progress { stroke: var(--gold); transition: stroke-dashoffset 0.1s linear; }
.to-top .ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }

/* 13. Footer ------------------------------------------------------------ */
.site-footer { position: relative; background: var(--ink); border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); padding-block: clamp(64px, 8vw, 110px) 60px; }
.footer-about { display: grid; gap: 22px; align-content: start; }
.footer-about p { color: var(--muted); max-width: 34ch; font-size: 14.5px; }
.footer-col h4 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a,
.footer-col li { color: var(--muted); font-size: 14.5px; transition: color 0.3s, padding 0.4s var(--ease); }
.footer-col a:hover { color: var(--text); padding-left: 6px; }
.footer-word {
  /* large outlined watermark sitting behind the footer columns */
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(calc(-50% - 60px));
  z-index: 0;
  pointer-events: none;
  font-family: var(--serif);
  font-size: clamp(6rem, 25vw, 24rem);
  line-height: 0.75;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 236, 225, 0.13);
  user-select: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); position: relative; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--gold); }

/* 14. Motion ------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

[data-mask] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
[data-mask].is-in { clip-path: inset(0 0 0 0); }

.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-in .split-line > span,
.split-line.is-in > span { transform: none; }

.reveal-chars .char { opacity: 0; transform: translateY(0.5em) rotate(4deg); transition: opacity 0.8s var(--ease), transform 1s var(--ease); }
.reveal-chars.is-in .char { opacity: 1; transform: none; }

/* Skip link */
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 12px 18px; background: var(--gold); color: var(--ink); font-size: 13px; transition: top 0.3s; }
.skip-link:focus { top: 16px; }

/* Oversized images that move with [data-parallax] */
.intro__media img,
.why__media .main img { position: relative; top: -10%; }

/* Keep sticky showcase cards inside short viewports */
.showcase .dest-card,
.showcase__end { width: min(clamp(260px, 26vw, 380px), calc((100vh - 250px) / 1.4)); }

/* Portrait screens: keep the figure on the ledge in frame */
@media (max-aspect-ratio: 1/1) {
  .hero__stage { --px: 0.74; --py: 0.72; }
}

/* Home hero intro (on load) */
.hero [data-intro] { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-ready .hero [data-intro] { opacity: 1; transform: none; }

/* 15. Responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .header-phone { display: none; }
  .tour-grid,
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    width: min(360px, 88vw);
    overflow-y: auto;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
    align-content: start;
  }
  .filters.is-open { transform: none; box-shadow: 30px 0 60px rgba(0, 0, 0, 0.5); }
  .filters-toggle { display: inline-flex; }
  .filters-close { display: inline-grid; width: 40px; height: 40px; }
  .detail-layout { grid-template-columns: 1fr; }
  .booking { position: relative; top: 0; }
  .tour-facts { grid-template-columns: repeat(3, 1fr); }
  .tour-fact:nth-child(4) { border-left: 0; }
  .tour-fact:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .hero__bottom-inner { grid-template-columns: 1fr auto; }
  .hero__features { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 240px)); }
  .hero__features li:nth-child(3) { display: none; }
  .intro__media { position: relative; width: 70%; transform: none; top: auto; margin: 0 0 0 auto; aspect-ratio: 4 / 3; order: 2; }
  .intro { align-content: center; }
  .intro__content { padding-block: 100px 40px; }
  .why__grid,
  .story,
  .testimonials__layout,
  .contact-layout,
  .faq-layout,
  .featured-post,
  .newsletter { grid-template-columns: 1fr; }
  .why__media { margin-right: 8%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 30px; }
  /* stack the panels: collapsed rows with the name, active one opens up */
  .style-panels { flex-direction: column; height: auto; gap: 10px; }
  .sp { flex: none; height: 78px; transition: height 0.8s var(--ease); }
  .sp.is-active { height: 420px; }
  .sp__label { writing-mode: horizontal-tb; rotate: none; left: 64px; bottom: auto; top: 50%; translate: 0 -50%; }
  .sp__num { top: 50%; translate: 0 -50%; }
  .sp.is-active .sp__num { top: 22px; translate: none; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid .dest-card:nth-child(6n + 1) { grid-column: auto; aspect-ratio: 4 / 5; }
  .dest-grid .dest-card:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .value:nth-child(n + 3) { margin-top: 36px; border-top: 1px solid rgba(26, 22, 18, 0.14); }
  .region-strip { grid-template-columns: repeat(3, 1fr); }
  .region:nth-child(4) { padding-left: 0; border-left: 0; }
  .offices { grid-template-columns: 1fr; }
  .office { aspect-ratio: 16 / 9; }
  .timeline::before { left: 7px; }
  .tl-item,
  .tl-item:nth-child(even) { grid-template-columns: 14px 1fr; gap: 6px 26px; }
  .tl-item .tl-item__dot,
  .tl-item:nth-child(even) .tl-item__dot { order: 0; grid-row: span 2; align-self: start; margin-top: 10px; }
  .tl-item .tl-item__year,
  .tl-item:nth-child(even) .tl-item__year { order: 1; text-align: left; }
  .tl-item .tl-item__text,
  .tl-item:nth-child(even) .tl-item__text { order: 2; text-align: left; justify-self: start; }
  .slider { min-height: 380px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .header-actions .btn { display: none; }
  .brand__sub { display: none; }
  .hero { min-height: 680px; }
  .hero__title { margin-left: 0; }
  .hero__title .line--2 { padding-left: 0.5em; }
  .hero__tagline { margin-left: 0; }
  .hero__features { grid-template-columns: 1fr 1fr; }
  .hero__features li:nth-child(3) { display: none; }
  .hero__cta { width: 120px; height: 120px; padding: 16px; font-size: 12px; }
  .hero__bottom-inner { grid-template-columns: 1fr; }
  .hero__bottom-inner .socials { display: none; }
  .hero__cta { position: absolute; left: var(--gutter); top: -140px; }
  .intro__media { width: 88%; }
  .tour-grid,
  .tour-grid--2,
  .post-grid,
  .dest-grid,
  .team,
  .highlights,
  .incl,
  .form-row { grid-template-columns: 1fr; }
  .dest-grid .dest-card:nth-child(n) { grid-column: auto; aspect-ratio: 4 / 5; }
  .values { grid-template-columns: 1fr; }
  .value + .value { padding-left: 0; border-left: 0; margin-top: 30px; border-top: 1px solid rgba(26, 22, 18, 0.14); }
  .region-strip { grid-template-columns: repeat(2, 1fr); }
  .region:nth-child(odd) { padding-left: 0; border-left: 0; }
  .region:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .tour-facts { grid-template-columns: repeat(2, 1fr); }
  .tour-fact { padding: 20px 16px; }
  .tour-fact:nth-child(odd) { border-left: 0; }
  .tour-fact:nth-child(4) { border-left: 1px solid var(--line); }
  .tour-fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 460px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .acc-item__btn { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .acc-item__day { grid-column: 1 / -1; }
  .acc-item__icon { grid-row: 1 / span 2; grid-column: 2; }
  .acc-item__panel p { padding: 0 0 24px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-word { font-size: 34vw; }
  .story__media figure:last-child { margin-top: 40px; }
  .why__badge { left: 0; top: 20px; }
  .why__media .float { right: -6%; }
  .slider { min-height: 440px; }
  .results-bar__right { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .results-bar .search-field { flex: 1 1 100%; min-width: 0; order: -1; }
  .booking { padding: 24px; }
  .page-hero { min-height: 70vh; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (hover: none) {
  .dest-card__arrow { transform: scale(1) rotate(-45deg); }
  .member__social { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal],
  [data-mask],
  .split-line > span,
  .reveal-chars .char { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
  .hero__leg { animation: none !important; }
  .sp, .sp__img, .sp__body { transition: none !important; }
}
