/* ==========================================================================
   Remember When Vacations — Redesign prototype
   Design system + page styles.
   Every section maps to an Elementor container; see ELEMENTOR-GUIDE.md.
   ========================================================================== */

/* ---------- 1. Tokens (mirror these in Elementor > Site Settings) ---------- */
:root {
  /* Color — Global Colors (core palette) */
  --ink: #393832;          /* Charcoal: dark sections, primary text */
  --ink-deep: #24231f;     /* Charcoal, deepened: image overlays, text on gold */
  --sage: #7e856b;         /* Soft sage: accents, fills, large type */
  --forest: #7e856b;       /* alias of Soft sage */
  --moss: #5c624d;         /* Soft sage, text shade: secondary text on ivory (AA) */
  --bone: #f7f4ed;         /* Warm ivory: text on dark */
  --paper: #f7f4ed;        /* Warm ivory: page background */
  --stone: #bbae9b;        /* Stone: tinted bands, hairlines */
  --sand: #e6dfd3;         /* Stone, light tint: image placeholders, soft panels */
  --brass: #ad8544;        /* Matte gold: brand accent, buttons, rules */
  --brass-soft: #c9a86e;   /* Matte gold, light: small accent text on charcoal (AA) */
  --gold-deep: #7a5c2a;    /* Matte gold, deep: small accent text on ivory (AA) */
  /* Type — Global Fonts */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --fs-mega: clamp(3.4rem, 10.5vw, 11.5rem);
  --fs-xl: clamp(2.7rem, 6.4vw, 6.75rem);
  --fs-lg: clamp(2.1rem, 4.2vw, 4.25rem);
  --fs-md: clamp(1.6rem, 2.5vw, 2.5rem);
  --fs-sm: clamp(1.25rem, 1.6vw, 1.6rem);
  --fs-body: 1rem;
  --fs-small: .8125rem;
  --fs-eyebrow: .6875rem;

  /* Space */
  --gutter: clamp(20px, 5vw, 88px);
  --section: clamp(96px, 13vw, 210px);
  --max: 1680px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--bone); color: var(--ink); padding: 10px 16px;
  font-size: var(--fs-small);
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Page enter / leave (Elementor: Site Settings > Page Transitions) */
body { animation: page-in .9s var(--ease) both; }
body.is-leaving { opacity: 0; transition: opacity .35s ease; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 3. Typography ---------- */
.serif { font-family: var(--serif); }
.display-mega, .display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -.015em;
}
.display-mega { font-size: var(--fs-mega); line-height: .88; letter-spacing: -.03em; }
.display-xl { font-size: var(--fs-xl); line-height: .95; letter-spacing: -.025em; }
.display-lg { font-size: var(--fs-lg); line-height: 1.02; }
.display-md { font-size: var(--fs-md); line-height: 1.12; }
.display-sm { font-size: var(--fs-sm); line-height: 1.25; font-weight: 400; }
em, .italic { font-style: italic; }
.display-mega em, .display-xl em, .display-lg em, .display-md em { font-weight: 300; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  line-height: 1.6;
}
.caption {
  font-size: var(--fs-small);
  letter-spacing: .02em;
  color: var(--moss);
}
.on-dark .caption { color: rgba(247, 244, 237, .62); }
.lede { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.75; max-width: 34em; }
.muted { color: var(--moss); }
.on-dark .muted { color: rgba(247, 244, 237, .7); }
.accent { color: var(--gold-deep); }
.on-dark .accent { color: var(--brass-soft); }

/* ---------- 4. Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.on-dark { background: var(--ink); color: var(--bone); }
.on-forest { background: var(--forest); color: var(--bone); }
.on-sand { background: var(--sand); }
.on-stone { background: var(--stone); color: var(--ink); }
.on-stone .caption, .on-stone .muted, .on-stone .accent { color: var(--ink); }
.on-stone .voice blockquote::before { color: var(--ink); opacity: .55; }
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
}
.rule { height: 1px; background: currentColor; opacity: .18; border: 0; margin: 0; }

/* Media frames — images always fill their frame */
.frame { position: relative; overflow: hidden; background: var(--sand); }
.on-dark .frame { background: #45443d; }
.frame > img, .frame > video {
  width: 100%; height: 100%; object-fit: cover;
}
.frame--hover > img { transition: transform 1.6s var(--ease); }
a:hover .frame--hover > img, .frame--hover:hover > img { transform: scale(1.045); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 30px;
  border: 1px solid currentColor;
  font-family: var(--sans);
  font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  line-height: 1;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--dark { border-color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--brass { background: var(--brass); border-color: var(--brass); color: var(--ink-deep); }
.btn--brass:hover { background: var(--bone); border-color: var(--bone); }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-line {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  padding-bottom: 8px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .7s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); }
.link-line .arrow { transition: transform .5s var(--ease); }
.link-line:hover .arrow { transform: translateX(5px); }

/* ---------- 6. Header (Elementor Pro: Header template — Site Logo + Nav Menu + Button) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  column-gap: clamp(24px, 3vw, 56px);
  padding: 24px var(--gutter);
  color: var(--bone);
  transition: background .6s var(--ease), padding .6s var(--ease), transform .6s var(--ease);
}
.site-header::before { /* soft legibility veil over imagery */
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 35, 31, .5), rgba(36, 35, 31, 0));
  transition: opacity .6s;
}
.site-header.is-solid {
  background: rgba(57, 56, 50, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-block: 14px;
}
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: block; }
.brand img { height: 50px; width: auto; transition: height .6s var(--ease); }
.site-header.is-solid .brand img { height: 40px; }

.site-nav ul { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 46px); }
.site-nav a, .header-inquire {
  font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  white-space: nowrap;
}
.site-nav a { position: relative; display: block; padding-block: 6px; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass-soft);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--brass-soft); }
.header-inquire {
  justify-self: end; display: inline-block;
  border: 1px solid rgba(247, 244, 237, .55); padding: 12px 22px;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.header-inquire:hover, .header-inquire[aria-current="page"] { background: var(--brass); border-color: var(--brass); color: var(--ink-deep); }

/* Light header variant for pages that open on ivory (Journal) */
.light-header .site-header { color: var(--ink); }
.light-header .site-header::before { display: none; }
.light-header .brand img { filter: brightness(0) opacity(.78); }
.light-header .site-nav a[aria-current="page"] { color: var(--gold-deep); }
.light-header .site-nav a::after { background: var(--gold-deep); }
.light-header .header-inquire { border-color: rgba(57, 56, 50, .4); }
.light-header .site-header.is-solid { background: rgba(247, 244, 237, .94); }

/* Tablet & phone: logo + Inquire on top, every page link on a second row */
@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto; grid-template-areas: "brand cta" "nav nav";
    justify-content: space-between; row-gap: 12px; padding-block: 18px 8px;
  }
  .site-header.is-solid { padding-block: 12px 6px; }
  .brand { grid-area: brand; }
  .header-inquire { grid-area: cta; }
  .site-nav {
    grid-area: nav; margin-inline: calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid rgba(247, 244, 237, .16);
  }
  .light-header .site-nav { border-top-color: rgba(57, 56, 50, .14); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { justify-content: space-between; gap: 22px; min-width: 100%; width: max-content; padding: 8px var(--gutter) 2px; }
}
@media (max-width: 520px) {
  .brand img, .site-header.is-solid .brand img { height: 36px; }
  .header-inquire { padding: 9px 14px; }
  .site-nav a { letter-spacing: .16em; font-size: .66rem; }
  .site-nav .hide-xs { display: none; }
  .site-nav ul { gap: 14px; }
}
@media (max-width: 380px) {
  .site-nav a { letter-spacing: .1em; font-size: .62rem; }
  .site-nav ul { gap: 10px; }
}

/* Dual invitation band (guests / owners) */
.dual { display: grid; grid-template-columns: 1fr 1fr; }
.dual__half { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--bone); }
.dual__half .frame { position: absolute; inset: 0; }
.dual__half::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 35, 31, .1), rgba(36, 35, 31, .66)); transition: background .8s var(--ease); }
.dual__half:hover::after { background: linear-gradient(180deg, rgba(36, 35, 31, .2), rgba(36, 35, 31, .75)); }
.dual__text { position: relative; z-index: 1; padding: clamp(32px, 5vw, 72px); max-width: 560px; }
.dual__text .display-md { margin: 16px 0 26px; }
@media (max-width: 860px) { .dual { grid-template-columns: 1fr; } .dual__half { min-height: 64vh; } }

/* ---------- 7. Gallery lightbox (Elementor: Site Settings > Lightbox) ---------- */
figure[data-lb] { cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--ink-deep); color: var(--bone);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.lb-open { overflow: hidden; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px var(--gutter); }
.lightbox__title { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.lightbox__count { font-size: var(--fs-small); letter-spacing: .14em; color: rgba(247, 244, 237, .7); white-space: nowrap; }
.lightbox__close { font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: .24em; text-transform: uppercase; padding: 10px 0; }
.lightbox__close:hover { color: var(--brass-soft); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(16px, 8vw, 140px); }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); width: auto; height: auto; object-fit: contain; transition: opacity .35s ease; }
.lightbox__stage img.is-loading { opacity: 0; }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(247, 244, 237, .4);
  display: grid; place-items: center; font-size: 1.1rem;
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.lightbox__prev { left: clamp(10px, 2.4vw, 40px); }
.lightbox__next { right: clamp(10px, 2.4vw, 40px); }
.lightbox__prev:hover, .lightbox__next:hover { background: var(--brass); border-color: var(--brass); color: var(--ink-deep); }
.lightbox__caption { padding: 18px var(--gutter) 28px; text-align: center; font-size: var(--fs-small); color: rgba(247, 244, 237, .8); }
.lightbox__caption span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--brass-soft); margin-right: 12px; }
@media (max-width: 860px) {
  .lightbox__stage { padding: 0; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -62px; transform: none; width: 44px; height: 44px; }
  .lightbox__caption { padding-inline: 70px; }
  .lightbox__bar { padding-block: 16px; }
  .lightbox__title { font-size: 1.05rem; line-height: 1.3; }
  .lightbox__close { white-space: nowrap; }
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: flex; align-items: flex-end;
  color: var(--bone); overflow: hidden; background: var(--ink);
}
.hero--short { height: 82vh; height: 82svh; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__media video { filter: brightness(.84) contrast(1.06) saturate(.92); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 35, 31, .35) 0%, rgba(36, 35, 31, 0) 28%, rgba(36, 35, 31, .08) 48%, rgba(36, 35, 31, .72) 100%),
    linear-gradient(90deg, rgba(36, 35, 31, .25) 0%, rgba(36, 35, 31, 0) 55%, rgba(36, 35, 31, .2) 100%);
}
.hero__content, .bleed__text, .chapter__title, .featured__text, .article-hero__text, .dual__text, .contact__media-text {
  text-shadow: 0 1px 28px rgba(36, 35, 31, .28);
}
.kenburns { animation: kenburns 22s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }

.hero__content {
  position: relative; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
  padding: 0 var(--gutter) clamp(40px, 7vh, 88px);
}
.hero__title { max-width: 12ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; animation: rise 1.4s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__eyebrow { margin-bottom: clamp(18px, 3vh, 32px); animation: fade 1.6s .3s var(--ease) both; }
.hero__aside {
  display: flex; flex-direction: column; align-items: flex-end; gap: 22px; text-align: right;
  animation: fade 1.6s .6s var(--ease) both;
}
.hero__aside .lede { max-width: 25em; font-size: .98rem; color: rgba(247, 244, 237, .86); }
.hero__links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 0; width: 1px; height: clamp(44px, 8vh, 80px);
  background: rgba(247, 244, 237, .25); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--bone); animation: cue 2.6s var(--ease-io) infinite;
}
@keyframes cue { 0% { top: -100%; } 60%, 100% { top: 100%; } }

.hero__fig {
  position: absolute; top: clamp(110px, 18vh, 170px); right: var(--gutter);
  writing-mode: vertical-rl; transform: rotate(180deg);
  color: rgba(247, 244, 237, .7);
  animation: fade 1.6s .9s var(--ease) both;
}

/* ---------- 9. Home: statement ---------- */
.statement__head { align-items: start; }
.statement__eyebrow { grid-column: 1 / span 3; padding-top: 1.1em; }
.statement__text { grid-column: 4 / -1; }
.statement__text p.lede { margin-top: clamp(28px, 4vw, 48px); margin-left: auto; margin-right: 8%; }
.compose { margin-top: clamp(70px, 10vw, 160px); align-items: start; }
.compose__a-wrap { grid-column: 1 / span 5; }
.compose__b-wrap { grid-column: 6 / -1; }
.compose__a-wrap .frame, .compose__b-wrap .frame { height: clamp(300px, 36vw, 640px); }
.fig-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }

/* ---------- 10. Full-bleed interlude with parallax ---------- */
.bleed {
  position: relative; height: 112vh; min-height: 560px; overflow: hidden;
  display: grid; place-items: center; color: var(--bone); text-align: center;
}
.bleed--short { height: 80vh; }
.bleed__media { position: absolute; inset: -12% 0; }
.bleed__media img { width: 100%; height: 100%; object-fit: cover; }
.bleed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(36, 35, 31, .5) 0%, rgba(36, 35, 31, .3) 60%, rgba(36, 35, 31, .22) 100%);
}
.bleed__text { position: relative; z-index: 1; padding-inline: var(--gutter); }
.bleed__text .eyebrow { margin-bottom: 22px; }
.bleed__corner {
  position: absolute; z-index: 1; left: var(--gutter); bottom: 32px; text-align: left;
  color: rgba(247, 244, 237, .75);
}

/* ---------- 11. Home: collection (editorial, not a listing grid) ---------- */
.collection__head { align-items: end; margin-bottom: clamp(56px, 8vw, 120px); }
.collection__head .display-xl { grid-column: 1 / span 8; }
.collection__head .collection__more { grid-column: 10 / -1; justify-self: end; text-align: right; }
.collection__head .collection__more p { margin-bottom: 22px; }
.works { row-gap: clamp(48px, 5vw, 80px); align-items: start; }
.work { display: block; }
.work .frame { aspect-ratio: var(--ar, 4 / 5); }
.work__meta {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 18px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(57, 56, 50, .14);
}
.work__no { font-size: var(--fs-eyebrow); letter-spacing: .2em; color: var(--gold-deep); font-weight: 500; }
.work__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.05; }
.work__title em { transition: color .5s; }
.work:hover .work__title { font-style: italic; }
.work__place { font-size: var(--fs-small); color: var(--moss); text-align: right; line-height: 1.4; }
.work__stat { grid-column: 2 / -1; font-size: var(--fs-small); color: var(--moss); margin-top: -6px; }
/* Neat grid: two across, then three across; every frame 4:3 */
.work { --ar: 4 / 3; }
.work--a { grid-column: 1 / span 6; }
.work--b { grid-column: 7 / -1; }
.work--c { grid-column: 1 / span 4; }
.work--d { grid-column: 5 / span 4; }
.work--e { grid-column: 9 / -1; }
.work--c .work__meta, .work--d .work__meta, .work--e .work__meta { grid-template-columns: auto 1fr; row-gap: 6px; }
.work--c .work__title, .work--d .work__title, .work--e .work__title { font-size: clamp(1.5rem, 2vw, 2.1rem); }
.work--c .work__place, .work--d .work__place, .work--e .work__place { grid-column: 2; text-align: left; }
.work--c .work__stat, .work--d .work__stat, .work--e .work__stat { margin-top: 0; }

/* ---------- 12. Home: ways we work (hover-reveal list) ---------- */
.ways { align-items: start; }
.ways__intro { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(48px, 6vw, 96px); }
.ways__list { grid-column: 1 / span 6; border-top: 1px solid rgba(247, 244, 237, .16); }
.ways__item { border-bottom: 1px solid rgba(247, 244, 237, .16); }
.ways__link {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 12px;
  padding: clamp(22px, 2.6vw, 36px) 0;
}
.ways__num { font-size: var(--fs-eyebrow); letter-spacing: .2em; color: var(--brass-soft); font-weight: 500; }
.ways__title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3.3vw, 3.4rem); line-height: 1.05;
  color: rgba(247, 244, 237, .46); transition: color .6s var(--ease), transform .8s var(--ease);
}
.ways__arrow { opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .6s var(--ease); }
.ways__desc {
  grid-column: 2 / -1; max-width: 30em; font-size: .95rem; color: rgba(247, 244, 237, .72);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .8s var(--ease), opacity .6s var(--ease), margin .8s var(--ease);
}
.ways__item.is-active .ways__title { color: var(--bone); font-style: italic; transform: translateX(8px); }
.ways__item.is-active .ways__arrow { opacity: 1; transform: none; }
.ways__item.is-active .ways__desc { max-height: 10em; opacity: 1; margin-top: 12px; }
.ways__media { grid-column: 8 / -1; position: sticky; top: 120px; aspect-ratio: 4 / 5; }
.ways__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 2s var(--ease);
}
.ways__media img.is-active { opacity: 1; transform: none; }
.ways__mobile-img { display: none; }

/* ---------- 13. Stats (typographic, no boxes) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 8px clamp(12px, 2vw, 32px) 0; border-left: 1px solid rgba(247, 244, 237, .16); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  display: block; font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 4.6vw, 5.4rem); line-height: 1; letter-spacing: -.02em;
  white-space: nowrap;
}
.stat__num sup { font-size: .38em; vertical-align: top; position: relative; top: .35em; margin-left: .06em; color: var(--brass-soft); }
.stat__label { display: block; margin-top: 18px; color: rgba(247, 244, 237, .64); }
.on-light .stat { border-color: rgba(57, 56, 50, .14); }
.on-light .stat__label { color: var(--moss); }
.on-light .stat__num sup { color: var(--brass); }
.stats-foot { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- 14. Film strip (Elementor: Image Carousel, variable width) ---------- */
.strip-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.strip {
  display: flex; gap: clamp(14px, 1.6vw, 26px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter); padding-bottom: 6px;
  scrollbar-width: none; cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging a, .strip.is-dragging img { pointer-events: none; }
.strip figure { flex: 0 0 auto; scroll-snap-align: start; }
.strip .frame { height: clamp(300px, 64vh, 660px); }
.strip .frame img { width: auto; height: 100%; user-select: none; -webkit-user-drag: none; }
.strip figcaption { display: flex; gap: 14px; margin-top: 14px; font-size: var(--fs-small); color: var(--moss); }
.strip figcaption b { font-weight: 500; color: var(--ink); }
.on-dark .strip figcaption b { color: var(--bone); }
.strip-controls { display: flex; align-items: center; gap: 22px; }
.strip-progress { width: clamp(80px, 12vw, 180px); height: 1px; background: rgba(57, 56, 50, .16); position: relative; }
.strip-progress span { position: absolute; left: 0; top: 0; height: 1px; background: currentColor; width: 20%; transition: width .3s; }
.icon-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor;
  display: inline-grid; place-items: center; opacity: .8;
  transition: background .4s, color .4s, opacity .4s;
}
.icon-btn:hover { opacity: 1; background: var(--ink); color: var(--bone); border-color: var(--ink); }
.on-dark .icon-btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.icon-btn svg { width: 16px; height: 16px; }

/* ---------- 15. Method (four steps over a photograph) ---------- */
.method { position: relative; color: var(--bone); overflow: hidden; }
.method__media { position: absolute; inset: -10% 0; }
.method__media img { width: 100%; height: 100%; object-fit: cover; }
.method::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(36, 35, 31, .55), rgba(36, 35, 31, .78)); }
.method .wrap { position: relative; z-index: 2; }
.method__head { margin-bottom: clamp(64px, 10vw, 160px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.step { border-top: 1px solid rgba(247, 244, 237, .3); padding-top: 26px; }
.step__num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--brass-soft); }
.step__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1.05; margin: 6px 0 16px; }
.step p { font-size: .95rem; color: rgba(247, 244, 237, .78); max-width: 24em; }
.method--paper { color: var(--ink); }
.method--paper::before { display: none; }
.method--paper .step { border-color: rgba(57, 56, 50, .18); }
.method--paper .step p { color: var(--moss); }
.method--paper .step__num { color: var(--gold-deep); }

/* ---------- 16. Voices (Elementor Pro: Testimonial Carousel) ---------- */
.voices { text-align: center; }
.voices__stage { position: relative; display: grid; max-width: 1100px; margin-inline: auto; }
.voice {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), visibility 0s linear 1s;
}
.voice.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 1s var(--ease) .15s, transform 1s var(--ease) .15s; }
.voice blockquote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.55rem, 3vw, 2.9rem); line-height: 1.22; letter-spacing: -.01em;
}
.voice blockquote::before { content: "\201C"; display: block; font-size: 2.2em; line-height: .6; color: var(--brass); font-style: normal; margin-bottom: .25em; }
.voice cite { display: block; margin-top: clamp(28px, 3vw, 44px); font-style: normal; }
.voice cite span { display: block; margin-top: 6px; }
.voices__nav { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: clamp(40px, 5vw, 64px); }
.voices__count { font-size: var(--fs-small); letter-spacing: .14em; min-width: 5em; }
.voices__verify { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- 17. Journal teaser + cards ---------- */
.jt { row-gap: clamp(48px, 6vw, 80px); align-items: start; }
.jt__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(16px, 3vw, 40px); }
.jt__lead { grid-column: 1 / span 7; }
.jt__side { grid-column: 9 / -1; display: grid; gap: clamp(40px, 5vw, 72px); }
.card { display: block; }
.card .frame { aspect-ratio: var(--ar, 3 / 2); }
.card__meta { display: flex; gap: 14px; align-items: center; margin-top: 20px; color: var(--moss); }
.card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.card__cat { color: var(--gold-deep); }
.card__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.1vw, 2.15rem); line-height: 1.12; margin-top: 10px; }
.card--lead .card__title { font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.02; }
.card__dek { margin-top: 12px; color: var(--moss); max-width: 34em; font-size: .97rem; }
.card:hover .card__title { font-style: italic; }

/* ---------- 18. Closing CTA ---------- */
.cta {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: grid; place-items: center; text-align: center; color: var(--bone);
}
.cta__media { position: absolute; inset: -10% 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(36, 35, 31, .74) 0%, rgba(36, 35, 31, .5) 55%, rgba(36, 35, 31, .3) 100%); }
.cta__inner { position: relative; z-index: 1; padding: 140px var(--gutter); max-width: 1200px; }
.cta__inner .eyebrow { margin-bottom: 26px; }
.cta__inner .lede { margin: 30px auto 44px; color: rgba(247, 244, 237, .86); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--ink); color: var(--bone); position: relative; overflow: hidden; }
.footer__topo {
  position: absolute; right: -14%; bottom: -24%; width: 72%; max-width: 1150px; opacity: .05; pointer-events: none;
}
/* Top row: brand line + calls to action, then three link columns */
.footer__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1fr) auto;
  gap: clamp(32px, 4vw, 72px);
  padding-block: clamp(88px, 10vw, 150px) clamp(56px, 6vw, 88px);
}
.footer__lead .eyebrow { color: var(--brass-soft); margin-bottom: 24px; }
.footer__pitch {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 2.5vw, 2.6rem);
  line-height: 1.14; max-width: 15em; color: var(--bone);
}
.footer__pitch em { color: var(--brass-soft); }
.footer__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.footer__col h4 { margin-bottom: 20px; color: var(--brass-soft); }
.footer__col li { font-size: .95rem; line-height: 1.45; padding-block: 5px; color: rgba(247, 244, 237, .72); }
.footer__col a { transition: color .4s; }
.footer__col a:hover { color: var(--bone); }
.footer__note { margin-top: 18px; font-size: var(--fs-small); color: rgba(247, 244, 237, .5); }
/* The full name as a two-line wordmark */
.footer__base {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding-block: 26px 34px; border-top: 1px solid rgba(247, 244, 237, .14);
  font-size: var(--fs-small); color: rgba(247, 244, 237, .55);
}
.footer__logo { width: 160px; height: auto; }
.footer__base a:hover { color: var(--bone); }

/* ---------- 20. Page intro (inner pages) ---------- */
.page-intro { padding-top: clamp(150px, 20vw, 260px); padding-bottom: clamp(56px, 8vw, 120px); }
.page-intro .eyebrow { margin-bottom: 26px; }

/* ---------- 21. Stays (The Collection) ---------- */
.toc { border-top: 1px solid rgba(57, 56, 50, .14); }
.toc li { border-bottom: 1px solid rgba(57, 56, 50, .14); }
.toc a {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto auto; gap: 20px; align-items: center;
  padding: clamp(18px, 2.2vw, 30px) 0;
}
.toc__no { font-size: var(--fs-eyebrow); letter-spacing: .2em; color: var(--gold-deep); font-weight: 500; }
.toc__name { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3.8vw, 3.9rem); line-height: 1.05; transition: transform .8s var(--ease); }
.toc__place { font-size: var(--fs-small); color: var(--moss); text-align: right; }
.toc__thumb {
  width: clamp(0px, 9vw, 150px); aspect-ratio: 4 / 3; overflow: hidden;
  opacity: 0; transform: scale(.9); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.toc__thumb img { width: 100%; height: 100%; object-fit: cover; }
.toc a:hover .toc__name { font-style: italic; transform: translateX(10px); }
.toc a:hover .toc__thumb { opacity: 1; transform: none; }

.chapter { scroll-margin-top: 0; }
.chapter__cover { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; color: var(--bone); display: flex; align-items: flex-end; }
.chapter__cover .frame { position: absolute; inset: 0; }
.chapter__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 35, 31, .2) 0%, rgba(36, 35, 31, 0) 40%, rgba(36, 35, 31, .6) 100%); }
.chapter__title {
  position: relative; z-index: 1; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: 0 var(--gutter) clamp(36px, 6vh, 72px);
}
.chapter__count { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.8vw, 1.7rem); white-space: nowrap; }
/* Chapter body: details stay pinned while the photos scroll past (Elementor: Container > Sticky) */
.chapter__body { padding-block: clamp(72px, 9vw, 140px); align-items: start; }
.chapter__info {
  grid-column: 1 / span 4; padding-right: clamp(0px, 2vw, 36px);
  position: sticky; top: 112px; max-height: calc(100vh - 136px); overflow-y: auto; scrollbar-width: thin;
  transition: top .6s var(--ease);
}
body:has(.site-header.is-hidden) .chapter__info { top: 40px; max-height: calc(100vh - 64px); }
.chapter__info .display-sm { margin: 18px 0 26px; }
/* Short laptop screens: keep the whole pinned panel (incl. the booking button) in view */
@media (max-height: 860px) and (min-width: 861px) {
  .chapter__info .chapter__quote { display: none; }
  .chapter__info .display-sm { margin: 12px 0 16px; font-size: clamp(1.1rem, 1.4vw, 1.35rem); }
  .chapter__info .facts { padding: 14px 0; }
  .chapter__info .features { margin-top: 14px; line-height: 1.75; }
  .chapter__info .chapter__actions { margin-top: 22px; }
}
.chapter__gallery { grid-column: 5 / -1; min-width: 0; }
.chapter--flip .chapter__info { grid-column: 9 / -1; grid-row: 1; padding-right: 0; padding-left: clamp(0px, 2vw, 36px); }
.chapter--flip .chapter__gallery { grid-column: 1 / span 8; grid-row: 1; }

/* Property photos: neat two-column grid (Elementor: Gallery widget, Grid, 2 columns) */
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.1vw, 16px); }
.pgrid__item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); cursor: zoom-in; }
.pgrid__item--full { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.pgrid__item--tall { aspect-ratio: 4 / 5; }
.pgrid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.pgrid__item:hover img { transform: scale(1.035); }
.pgrid__item figcaption {
  position: absolute; inset: auto 0 0 0; display: flex; align-items: baseline; gap: 12px;
  padding: 44px 18px 14px; font-size: var(--fs-small); color: var(--bone);
  background: linear-gradient(180deg, rgba(36, 35, 31, 0), rgba(36, 35, 31, .6));
  opacity: 0; transition: opacity .5s var(--ease); pointer-events: none;
}
.pgrid__item figcaption span { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--brass-soft); white-space: nowrap; }
.pgrid__item:hover figcaption, .pgrid__item:focus-visible figcaption { opacity: 1; }.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; padding: 20px 0; border-block: 1px solid rgba(57, 56, 50, .14); }
.facts dt { font-size: var(--fs-eyebrow); letter-spacing: .2em; text-transform: uppercase; color: var(--moss); font-weight: 500; }
.facts dd { font-family: var(--serif); font-size: 1.9rem; line-height: 1; font-weight: 300; }
.facts div { display: flex; flex-direction: column-reverse; gap: 6px; }
.rating-line { margin-top: 22px; font-size: var(--fs-small); color: var(--moss); }
.rating-line strong { color: var(--ink); font-weight: 500; }
.features { margin-top: 24px; font-size: .92rem; line-height: 1.9; color: var(--moss); }
.features li { display: inline; }
.features li:not(:last-child)::after { content: " \00B7 "; color: var(--brass); padding-inline: .25em; }
.chapter__quote { margin-top: 32px; padding-left: 20px; border-left: 1px solid var(--brass); font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.4; }
.chapter__quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; }
.chapter__actions { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; margin-top: 34px; }

/* ---------- 22. Services (For Owners) ---------- */
.service { align-items: center; padding-block: clamp(40px, 6vw, 90px); }
.service__media { grid-column: 1 / span 7; aspect-ratio: 5 / 4; }
.service__text { grid-column: 9 / -1; }
.service--flip .service__media { grid-column: 6 / -1; grid-row: 1; }
.service--flip .service__text { grid-column: 1 / span 4; grid-row: 1; }
.service__num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--brass); }
.service__title { margin: 10px 0 22px; }
.service__text > p { color: var(--moss); }
.included { margin-top: 30px; border-top: 1px solid rgba(57, 56, 50, .14); border-bottom: 1px solid rgba(57, 56, 50, .14); }
.included summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-size: var(--fs-eyebrow); letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
}
.included summary::-webkit-details-marker { display: none; }
.included summary .plus { position: relative; width: 12px; height: 12px; }
.included summary .plus::before, .included summary .plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.included summary .plus::after { transform: rotate(90deg); }
.included[open] summary .plus::after { transform: rotate(0); }
.included ul { padding-bottom: 22px; }
.included li { padding: 7px 0 7px 22px; position: relative; font-size: .95rem; color: var(--moss); }
.included li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 1px; background: var(--brass); }
.service__actions { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 30px; }

/* ---------- 23. About ---------- */
.manifesto { grid-column: 3 / span 9; }
.manifesto p + p { margin-top: 1.4em; }
.host { align-items: center; }
.host__media { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.host__text { grid-column: 7 / span 6; }
.host__text blockquote { margin: 26px 0 30px; }
.principles { row-gap: 56px; }
.principle { grid-column: span 4; border-top: 1px solid rgba(57, 56, 50, .14); padding-top: 24px; }
.principle h3 { margin: 8px 0 14px; }
.principle p { color: var(--moss); font-size: .97rem; }

/* ---------- 24. Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.contact__media { position: sticky; top: 0; align-self: start; height: 100vh; height: 100svh; overflow: hidden; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 35, 31, .45), rgba(36, 35, 31, .1) 40%, rgba(36, 35, 31, .55)); }
.contact__media-text { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 6vh, 72px); color: var(--bone); }
.contact__panel { padding: clamp(130px, 16vw, 200px) var(--gutter) clamp(80px, 9vw, 120px); }
.contact__panel .lede { margin: 26px 0 0; color: var(--moss); }
.form { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-eyebrow); letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--moss); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(57, 56, 50, .28);
  padding: 10px 0 12px; border-radius: 0; outline: none;
  transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23131913' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); }
.field.is-invalid input, .field.is-invalid select { border-color: #a3473b; }
.form__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 8px; }
.form__note { font-size: var(--fs-small); color: var(--moss); }
.form-success { display: none; margin-top: 56px; padding: 40px 0; border-top: 1px solid var(--brass); }
.form-success.is-visible { display: block; animation: fade 1s var(--ease) both; }
.details { margin-top: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: 1fr 1fr; gap: 36px 28px; padding-top: 40px; border-top: 1px solid rgba(57, 56, 50, .14); }
.details h4 { margin-bottom: 10px; color: var(--gold-deep); }
.details p { font-size: .97rem; }
.details a { border-bottom: 1px solid rgba(57, 56, 50, .25); transition: border-color .4s; }
.details a:hover { border-color: var(--ink); }

/* ---------- 25. Journal ---------- */
.masthead { padding-top: clamp(150px, 19vw, 250px); padding-bottom: clamp(40px, 5vw, 72px); }
.masthead__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.masthead__title { font-size: clamp(4.4rem, 17vw, 18rem); line-height: .8; letter-spacing: -.045em; font-family: var(--serif); font-weight: 300; }
.masthead__title em { color: var(--brass); }
.masthead__aside { max-width: 22em; padding-bottom: 1.2em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 30px; padding: 22px 0; border-block: 1px solid rgba(57, 56, 50, .14); margin-top: clamp(32px, 4vw, 56px); }
.filters button {
  font-size: var(--fs-eyebrow); letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  color: var(--moss); padding: 6px 0; position: relative; transition: color .4s;
}
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transition: transform .5s var(--ease); }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); }
.filters button[aria-pressed="true"]::after { transform: scaleX(1); }
.filters .count { color: var(--gold-deep); margin-left: 4px; letter-spacing: .1em; }

.featured { position: relative; display: block; height: 92vh; min-height: 520px; overflow: hidden; color: var(--bone); }
.featured .frame { position: absolute; inset: 0; }
.featured::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 35, 31, .62) 0%, rgba(36, 35, 31, .15) 60%), linear-gradient(0deg, rgba(36, 35, 31, .4), rgba(36, 35, 31, 0) 50%); }
.featured__text { position: absolute; z-index: 1; left: var(--gutter); bottom: clamp(40px, 8vh, 96px); max-width: min(820px, 80vw); }
.featured__text .display-xl { margin: 20px 0 22px; }
.featured__text p { color: rgba(247, 244, 237, .85); max-width: 32em; }
.featured__text .link-line { margin-top: 30px; }

/* Journal grid: clean and uniform, two equal columns, every image the same size (Elementor: Loop Grid, 2 columns) */
.jgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 6vw, 96px) clamp(20px, 2.4vw, 40px); align-items: start; }
.jgrid .card, .jgrid .card:nth-child(n) { grid-column: auto; margin-top: 0; --ar: 3 / 2; }
.jgrid .card .card__title { font-size: clamp(1.6rem, 2.3vw, 2.35rem); line-height: 1.1; }
.jgrid .card.is-hidden { display: none; }
.journal-empty { display: none; padding: 60px 0; }

/* Article */
.article-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--bone); display: flex; align-items: flex-end; }
.article-hero .frame { position: absolute; inset: 0; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 35, 31, .35), rgba(36, 35, 31, 0) 35%, rgba(36, 35, 31, .7)); }
.article-hero__text { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(48px, 9vh, 110px); max-width: 1300px; }
.article-hero__text h1 { margin: 22px 0 24px; }
.article-hero__text .lede { color: rgba(247, 244, 237, .88); }
.article-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; color: rgba(247, 244, 237, .85); }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.article { padding-block: clamp(80px, 10vw, 150px); }
.prose { max-width: 700px; margin-inline: auto; padding-inline: var(--gutter); box-sizing: content-box; font-size: 1.12rem; line-height: 1.85; font-weight: 300; }
.prose > * + * { margin-top: 1.4em; }
.prose > p:first-child::first-letter {
  float: left; font-family: var(--serif); font-weight: 300; font-size: 5.6em; line-height: .78;
  padding: .06em .1em 0 0; color: var(--brass);
}
.prose h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; margin-top: 2.2em; }
.prose h3 { font-size: var(--fs-eyebrow); letter-spacing: .24em; text-transform: uppercase; font-weight: 500; margin-top: 2.4em; color: var(--gold-deep); }
.prose ul { padding-left: 0; }
.prose li { position: relative; padding-left: 26px; margin-top: .5em; }
.prose li::before { content: ""; position: absolute; left: 0; top: .95em; width: 12px; height: 1px; background: var(--brass); }
.prose a { border-bottom: 1px solid var(--brass); }
.prose strong { font-weight: 500; }
.pull {
  margin: 2.2em 0 !important; padding: 0; border: 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.18; letter-spacing: -.01em;
}
.pull cite { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: var(--fs-eyebrow); letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--moss); }
.prose .bleed-img {
  width: 100vw; position: relative; left: 50%; transform: translateX(-50%);
  margin-top: 2.6em; margin-bottom: 2.6em;
}
.prose .bleed-img .frame { height: min(92vh, 980px); }
.prose .bleed-img figcaption, .prose .pair figcaption { padding-inline: var(--gutter); margin-top: 12px; font-size: var(--fs-small); color: var(--moss); }
.prose .pair {
  width: min(1240px, calc(100vw - 2 * var(--gutter))); position: relative; left: 50%; transform: translateX(-50%);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 26px); margin-top: 2.6em; margin-bottom: 2.6em; align-items: start;
}
.prose .pair .frame { aspect-ratio: 4 / 5; }

.prose .pair figcaption { grid-column: 1 / -1; padding: 0; }
.glance { margin: 2.6em 0 !important; padding: 30px 0; border-block: 1px solid rgba(57, 56, 50, .16); font-size: .95rem; }
.glance h3 { margin-top: 0 !important; margin-bottom: 18px; }
.glance dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 32px; }
.glance dt { color: var(--moss); }
.article-end { max-width: 700px; margin: clamp(56px, 7vw, 100px) auto 0; padding-inline: var(--gutter); box-sizing: content-box; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; padding-top: 32px; border-top: 1px solid rgba(57, 56, 50, .14); }
.related-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.related .card { grid-column: span 4; }
.related .card .frame { aspect-ratio: 4 / 5; }

.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 55; background: var(--brass); transform-origin: left; transform: scaleX(0); }

/* ---------- 26. Scroll reveals (Elementor: Motion Effects / Entrance Animations) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(10% 0 0 0); transition: clip-path 1.6s var(--ease); }
.js .reveal-img > img { transform: scale(1.12); transition: transform 2.2s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in > img { transform: none; }
.js a:hover .reveal-img.is-in > img, .js .frame--hover.reveal-img.is-in:hover > img { transform: scale(1.045); transition: transform 1.6s var(--ease); }
[data-delay="1"] { transition-delay: .1s !important; }
[data-delay="2"] { transition-delay: .2s !important; }
[data-delay="3"] { transition-delay: .3s !important; }

/* ---------- 27. Responsive ---------- */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto; row-gap: 64px; }
  .footer__lead { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .chapter__info { grid-column: 1 / span 5; }
  .chapter__gallery { grid-column: 6 / -1; }
  .chapter--flip .chapter__info { grid-column: 8 / -1; }
  .chapter--flip .chapter__gallery { grid-column: 1 / span 7; }
}

@media (max-width: 860px) {
  :root { --section: clamp(84px, 18vw, 130px); }
  .hero__content { grid-template-columns: 1fr; gap: 26px; }
  .hero__aside { align-items: flex-start; text-align: left; }
  .hero__links { justify-content: flex-start; }
  .hero__fig { display: none; }

  .statement__eyebrow, .statement__text { grid-column: 1 / -1; }
  .statement__eyebrow { margin-bottom: 22px; padding-top: 0; }
  .statement__text p.lede { margin-right: 0; margin-left: 0; }
  .compose__a-wrap, .compose__b-wrap { grid-column: 1 / -1; }
  .compose__b-wrap { margin-top: 32px; }
  .compose__a-wrap .frame, .compose__b-wrap .frame { height: auto; aspect-ratio: 4 / 3; }

  .bleed { height: 86vh; }

  .collection__head .display-xl, .collection__head .collection__more { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .collection__head .collection__more { margin-top: 28px; }
  .work--a, .work--c { grid-column: 1 / span 6; }
  .work--b, .work--d { grid-column: 7 / -1; }
  .work--e { grid-column: 1 / -1; --ar: 3 / 2; }
  .work__meta { grid-template-columns: auto 1fr; }
  .work__place { grid-column: 2; text-align: left; margin-top: -10px; }
  .work__stat { grid-column: 2; margin-top: 0; }

  .ways__intro { flex-direction: column; align-items: flex-start; }
  .ways__list { grid-column: 1 / -1; }
  .ways__media { display: none; }
  .ways__mobile-img { display: block; grid-column: 1 / -1; aspect-ratio: 3 / 2; margin-top: 18px; }
  .ways__link { grid-template-columns: 40px 1fr; }
  .ways__arrow { display: none; }
  .ways__title { color: var(--bone); }
  .ways__desc, .ways__item .ways__desc { max-height: none; opacity: 1; margin-top: 10px; grid-column: 1 / -1; }
  .ways__item.is-active .ways__title { transform: none; }

  .stats { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }

  .steps { grid-template-columns: 1fr; row-gap: 40px; }

  .jt__lead, .jt__side { grid-column: 1 / -1; }
  .jt__side { grid-template-columns: 1fr 1fr; gap: 20px; }
  .jt__head, .strip-head, .related-head { flex-direction: column; align-items: flex-start; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 14px; }

  .toc a { grid-template-columns: 44px 1fr; }
  .toc__place { grid-column: 2; text-align: left; margin-top: -10px; }
  .toc__thumb { display: none; }

  .chapter__cover { height: 78vh; height: 78svh; }
  .chapter__title { flex-direction: column; align-items: flex-start; gap: 10px; }
  .chapter__info, .chapter--flip .chapter__info { grid-column: 1 / -1; grid-row: auto; position: static; }
  .chapter__info, .chapter--flip .chapter__info { padding-inline: 0; max-height: none; overflow: visible; }
  .chapter__gallery, .chapter--flip .chapter__gallery { grid-column: 1 / -1; grid-row: auto; margin-top: 48px; }
  .pgrid__item figcaption { display: none; }

  .service__media, .service--flip .service__media { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .service__text, .service--flip .service__text { grid-column: 1 / -1; grid-row: auto; margin-top: 32px; }

  .manifesto { grid-column: 1 / -1; }
  .host__media { grid-column: 1 / span 10; }
  .host__text { grid-column: 1 / -1; margin-top: 40px; }
  .principle { grid-column: 1 / -1; }

  .contact { grid-template-columns: 1fr; }
  .contact__media { position: relative; height: 72vh; height: 72svh; }
  .contact__panel { padding-top: clamp(64px, 12vw, 100px); }
  .form, .details { grid-template-columns: 1fr; }

  .jgrid { grid-template-columns: 1fr; }
  .featured { height: 84vh; }
  .related .card { grid-column: 1 / -1; }
  .related .card .frame { aspect-ratio: 4 / 3; }
  .prose .pair { grid-template-columns: 1fr; }

  .prose .bleed-img .frame { height: 70vh; }
}

@media (max-width: 520px) {
  .hero__links { gap: 22px; }
  .jt__side { grid-template-columns: 1fr; gap: 48px; }
  .work--a, .work--b, .work--c, .work--d, .work--e { grid-column: 1 / -1; --ar: 4 / 3; }
  .facts dd { font-size: 1.6rem; }
  .stat__num { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .js .reveal-img > img { transform: none; }
}
