/* ==========================================================================
   Stephanie Rios Photography, homepage
   Brand tokens come from the current site: ivory, rust, sage, taupe.
   Shape system: all-sharp corners (radius 0) for photos, buttons and fields.
   ========================================================================== */

/* ---------- Self-hosted fonts (SIL Open Font License) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Questrial";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/questrial-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F7F6F2;            /* brand ivory */
  --bg-alt: #EFEBE3;        /* linen band */
  --surface: #FBFAF7;
  --ink: #2C2724;
  --ink-soft: #5F5752;
  --line: rgba(44, 39, 36, .14);
  --rust: #B68B6C;          /* brand rust, decorative */
  --accent: #8C6247;        /* rust, deepened for AA text + buttons */
  --accent-hover: #74503A;
  --on-accent: #FBF8F3;
  --sage: #888977;          /* brand sage */
  --sage-soft: #DCDAD0;
  --photo-text: #FBF8F3;
  --error: #9B3B2E;

  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-body: "Questrial", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --section: clamp(88px, 11vw, 168px);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1F1C1A;
    --bg-alt: #282421;
    --surface: #2B2724;
    --ink: #EEE8DF;
    --ink-soft: #C3B9AE;
    --line: rgba(238, 232, 223, .16);
    --rust: #C49A7B;
    --accent: #D2AC8C;
    --accent-hover: #E2C2A6;
    --on-accent: #1F1C1A;
    --sage: #A5A694;
    --sage-soft: #34312C;
    --error: #F0A493;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
figure { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.section-lede {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--lg { min-height: 56px; padding: 0 34px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-block: 6px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .45s var(--ease), color .3s var(--ease);
}
.text-link:hover { background-size: 100% 1px; }
.text-link i { transition: transform .35s var(--ease); }
.text-link:hover i { transform: translateX(4px); }
.text-link--quiet { color: var(--ink-soft); }
.text-link--light { color: var(--photo-text); }

.icon-btn {
  width: 48px; height: 48px;
  display: inline-grid; place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), opacity .3s;
}
.icon-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Header ---------- */
.header-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(60, 40, 25, .35);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__logo img { height: 46px; width: auto; }
@media (prefers-color-scheme: dark) {
  .site-header__logo img, .site-footer__logo { filter: brightness(1.75) saturate(.8); }
}

.primary-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.primary-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  transition: color .3s var(--ease);
}
.primary-nav__link:hover { color: var(--accent); }
.primary-nav__link i { font-size: .8em; transition: transform .3s var(--ease); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -24px;
  min-width: 250px;
  padding: 14px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -30px rgba(60, 40, 25, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.dropdown a {
  display: block; padding: 9px 24px;
  text-decoration: none; font-size: .95rem; color: var(--ink-soft);
  transition: color .2s, background-color .2s;
}
.dropdown a:hover { color: var(--ink); background: var(--bg-alt); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .primary-nav__link i,
.has-dropdown.is-open .primary-nav__link i { transform: rotate(180deg); }

.site-header__actions { display: flex; align-items: center; gap: 24px; }
.menu-toggle {
  display: none;
  width: 44px; height: 44px; place-items: center;
  background: none; border: 1px solid var(--line); cursor: pointer; font-size: 1.3rem;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--bg);
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding-block: 28px 40px;
}
.mobile-menu__list a {
  display: block; padding: 8px 0;
  font-family: var(--font-display); font-weight: 300; font-size: 2.4rem; line-height: 1.2;
  text-decoration: none;
}
.mobile-menu__sub { margin: 24px 0 32px; display: grid; gap: 4px; }
.mobile-menu__sub a { color: var(--ink-soft); text-decoration: none; display: block; padding: 6px 0; }

@media (max-width: 1080px) {
  .site-header__clients { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .primary-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .site-header__actions .btn { display: none; }
  .site-header__logo img { height: 40px; }
}
@media (min-width: 961px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  min-height: calc(100dvh - var(--header-h));
  padding-block: clamp(24px, 3.5vw, 48px);
}
.hero__copy { position: relative; z-index: 2; padding-bottom: 6vh; }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.9rem, 4.5vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  padding-bottom: .08em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--accent); }
.nowrap { white-space: nowrap; }
.hero__lede {
  margin-top: 26px;
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

.hero__media {
  position: relative;
  height: min(calc(100dvh - var(--header-h) - 64px), 880px);
  min-height: 520px;
}
.hero__main {
  position: absolute; inset: 0 0 0 auto;
  width: 84%;
  overflow: hidden;
  background: var(--bg-alt);
}
.hero__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__inset {
  position: absolute; left: -4%; bottom: 9%;
  width: 50%;
  aspect-ratio: 3 / 2;
  border: 10px solid var(--bg);
  background: var(--bg-alt);
  overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(60, 40, 25, .55);
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 28px;
    padding-top: 12px;
    padding-bottom: 56px;
  }
  .hero__media { order: -1; height: 46svh; min-height: 300px; }
  .hero__title { font-size: clamp(2.5rem, 10vw, 3.4rem); }
  .hero__lede { margin-top: 18px; font-size: 1.02rem; }
  .hero__actions { margin-top: 26px; }
  .hero__main { width: 100%; }
  .hero__inset { width: 46%; bottom: -24px; left: 0; border-width: 6px; }
  .hero__copy { padding-bottom: 0; padding-top: 18px; }
  .hero__eyebrow { margin-bottom: 16px; }
}

/* ---------- Press ---------- */
.press { border-block: 1px solid var(--line); }
.press__inner {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-block: 30px;
}
.press__label { flex: none; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--ink-soft); }
.press__logos {
  flex: 1;
  display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 56px);
}
.press__logos img {
  height: 34px; width: auto; max-width: 200px; object-fit: contain;
  opacity: .72;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  transition: opacity .3s;
}
.press__logos li:nth-child(1) img { height: 46px; }
.press__logos li:nth-child(2) img { height: 18px; }
.press__logos img:hover { opacity: 1; }
@media (prefers-color-scheme: dark) {
  .press__logos img { filter: grayscale(1) invert(1); mix-blend-mode: screen; opacity: .8; }
}
@media (max-width: 760px) {
  .press__inner { flex-direction: column; gap: 18px; }
  .press__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; justify-items: center; width: 100%; }
  .press__logos img { height: 28px; max-width: 150px; }
  .press__logos li:nth-child(1) img { height: 38px; }
  .press__logos li:nth-child(2) img { height: 15px; }
}

/* ---------- Intro statement ---------- */
.intro {
  position: relative;
  padding-block: var(--section);
}
.intro__branch {
  position: absolute; right: var(--gutter); top: clamp(40px, 6vw, 90px);
  width: clamp(160px, 20vw, 280px);
  opacity: .9;
  pointer-events: none;
}
.intro__statement {
  max-width: min(980px, calc(100% - clamp(0px, 20vw, 280px)));
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.85rem, 3.5vw, 3.2rem);
  line-height: 1.32;
  letter-spacing: -.005em;
}
.inline-photo {
  display: inline-block;
  width: 1.9em; height: 1.05em;
  vertical-align: -.12em;
  overflow: hidden;
  margin-inline: .08em;
  background: var(--bg-alt);
}
.inline-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.inline-photo:hover img { transform: scale(1.12); }
.intro__sign {
  margin-top: 36px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--accent);
}
@media (max-width: 900px) {
  .intro__statement { max-width: none; }
  .intro__branch { position: static; width: 170px; margin: 0 0 24px auto; }
}

/* ---------- Recent work rail ---------- */
.work { padding-bottom: var(--section); }
.work__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.rail-controls { display: flex; gap: 10px; flex: none; }

.rail {
  --rail-pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 25.5vw, 390px);
  gap: clamp(18px, 2.2vw, 32px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  padding-inline: var(--rail-pad);
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  align-items: start;
}
.rail:focus-visible { outline-offset: -2px; }
.story { scroll-snap-align: start; }
.story:nth-child(even) { margin-top: clamp(28px, 4vw, 64px); }
.story__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 22px;
}
.story__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.story:hover .story__photo img { transform: scale(1.045); }
.story__meta { font-size: .9rem; color: var(--ink-soft); }
.story__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.2vw, 2.1rem);
  line-height: 1.15;
}
.story__text { margin-top: 8px; color: var(--ink-soft); max-width: 34ch; font-size: 1rem; line-height: 1.6; }

.work__foot { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 14px 40px; }

@media (max-width: 700px) {
  .work__head { flex-direction: column; align-items: flex-start; }
  .rail-controls { display: none; }
  .rail { grid-auto-columns: 78vw; }
  .story:nth-child(even) { margin-top: 0; }
}

/* ---------- Travel ---------- */
.travel {
  position: relative;
  isolation: isolate;
  min-height: min(94svh, 920px);
  display: grid;
  grid-template-rows: 1fr auto;
  color: var(--photo-text);
  overflow: hidden;
}
.travel__bg { position: absolute; inset: 0; z-index: -1; }
.travel__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.travel__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(24, 19, 16, .78) 0%, rgba(24, 19, 16, .45) 38%, rgba(24, 19, 16, .08) 70%),
    linear-gradient(to right, rgba(24, 19, 16, .35), transparent 60%);
}
.travel__content { align-self: end; padding-bottom: clamp(40px, 6vw, 72px); }
.travel__title { max-width: 14ch; }
.travel__text { margin: 22px 0 22px; max-width: 44ch; color: rgba(251, 248, 243, .9); }

.marquee {
  display: flex;
  overflow: hidden;
  border-top: 1px solid rgba(251, 248, 243, .28);
  padding-block: 22px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  flex: none;
  display: flex; align-items: center;
  gap: 0;
  padding-right: 0;
}
.marquee__track li {
  display: flex; align-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  white-space: nowrap;
}
.marquee__track li::after {
  content: "";
  width: 22px; height: 22px;
  margin-inline: clamp(22px, 2.6vw, 40px);
  background: url("../img/monogram.webp") center / contain no-repeat;
  filter: brightness(1.35);
  opacity: .9;
}

/* ---------- Families bento ---------- */
.families { padding-block: var(--section); }
.families__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.families__intro {
  grid-column: 1 / span 4;
  align-self: center;
  padding-right: clamp(0px, 2vw, 32px);
}
.families__intro .eyebrow { margin-bottom: 18px; }
.families__intro .text-link { margin-top: 26px; }
.tile { overflow: hidden; background: var(--bg-alt); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile--wide { grid-column: 5 / span 8; aspect-ratio: 3 / 2; }
.tile--a { grid-column: 1 / span 3; aspect-ratio: 2 / 3; }
.tile--b { grid-column: 4 / span 3; aspect-ratio: 2 / 3; margin-top: clamp(24px, 5vw, 80px); }
.tile--c { grid-column: 7 / span 3; aspect-ratio: 2 / 3; }
.tile--d { grid-column: 10 / span 3; aspect-ratio: 2 / 3; margin-top: clamp(24px, 5vw, 80px); }

@media (max-width: 760px) {
  .families__grid { grid-template-columns: 1fr 1fr; }
  .families__intro { grid-column: 1 / -1; padding: 0 0 12px; }
  .tile--wide { grid-column: 1 / -1; }
  .tile--a, .tile--b, .tile--c, .tile--d { grid-column: auto; }
  .tile--b, .tile--d { margin-top: 28px; }
  .tile--c { margin-top: -28px; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-alt); padding-block: clamp(80px, 9vw, 140px); }
.reviews__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(32px, 6vw, 96px);
}
.reviews__mark { width: 52px; height: auto; margin-bottom: 26px; }
.reviews__label { margin-bottom: 22px; }
.reviews__tabs { display: grid; justify-items: start; gap: 2px; }
.reviews__tabs button {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-family: var(--font-display); font-size: 1.4rem; color: var(--ink-soft);
  opacity: .75;
  transition: color .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.reviews__tabs button:hover { opacity: 1; }
.reviews__tabs button[aria-selected="true"] { color: var(--accent); opacity: 1; font-style: italic; transform: translateX(8px); }

.reviews__stage { position: relative; min-height: 18rem; display: flex; flex-direction: column; justify-content: center; }
.review blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  line-height: 1.28;
  max-width: 44ch;
  text-wrap: pretty;
}
.review figcaption { margin-top: 26px; color: var(--ink-soft); font-size: .95rem; letter-spacing: .04em; }
.review.is-active { animation: review-in .7s var(--ease) both; }
@keyframes review-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.reviews__more { margin-top: 36px; align-self: flex-start; }

@media (max-width: 860px) {
  .reviews__inner { grid-template-columns: minmax(0, 1fr); }
  .reviews__side { min-width: 0; }
  .reviews__tabs {
    display: flex; overflow-x: auto; gap: 22px;
    scroll-snap-type: x mandatory; padding-bottom: 6px;
  }
  .reviews__tabs button { flex: none; white-space: nowrap; scroll-snap-align: start; font-size: 1.2rem; }
  .reviews__tabs button[aria-selected="true"] { transform: none; }
  .reviews__stage { min-height: 0; }
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  padding-block: var(--section);
}
.about__photo { position: relative; }
.about__photo::before {
  content: "";
  position: absolute;
  inset: 12% -7% -7% 12%;
  background: var(--sage-soft);
  z-index: -1;
}
.about__photo { isolation: isolate; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about__copy p { margin-top: 20px; color: var(--ink-soft); max-width: 52ch; }
.about__copy .section-title { margin-bottom: 8px; }
.about__copy .text-link { margin-top: 28px; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; margin-right: 7%; }
}

/* ---------- CTA + Instagram ---------- */
.cta { padding-top: clamp(40px, 5vw, 80px); }
.cta__inner {
  display: grid; justify-items: center; text-align: center;
  padding-bottom: clamp(72px, 9vw, 128px);
}
.cta__mark { width: 64px; margin-bottom: 30px; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -.015em;
}
.cta__text { margin: 22px 0 36px; color: var(--ink-soft); max-width: 42ch; }

.insta__head { display: flex; justify-content: center; margin-bottom: 20px; }
.insta__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.insta__grid a { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.insta__grid a:hover img { transform: scale(1.06); opacity: .88; }
@media (max-width: 760px) {
  .insta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); padding-top: clamp(64px, 7vw, 104px); }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 4fr);
  gap: clamp(32px, 4vw, 64px);
}
.site-footer__logo { width: 170px; margin-bottom: 18px; }
.site-footer__brand p { color: var(--ink-soft); max-width: 30ch; }
.site-footer__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.site-footer__col ul { display: grid; gap: 6px; }
.site-footer__col a { color: var(--ink-soft); text-decoration: none; transition: color .2s; }
.site-footer__col a:hover { color: var(--accent); }

.newsletter { display: grid; gap: 14px; align-content: start; }
.newsletter__note { color: var(--ink-soft); font-size: .95rem; margin-top: -6px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; letter-spacing: .06em; color: var(--ink); }
.field input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--ink) 32%, transparent);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: .88rem; }
.newsletter .btn { justify-self: start; }
.newsletter__success { color: var(--accent); }

.site-footer__base {
  margin-top: clamp(56px, 6vw, 88px);
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  padding-block: 22px 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: .9rem; color: var(--ink-soft);
}

@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand, .newsletter { grid-column: 1 / -1; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 1s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__main { animation: unveil 1.4s var(--ease) both; }
  .hero__main img { animation: settle 2.2s var(--ease) both; }
  .hero__inset { animation: rise 1.2s .45s var(--ease) both; }

  [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  [data-reveal].is-visible { opacity: 1; transform: none; }

  .marquee__track { animation: marquee 60s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }

  @supports (animation-timeline: view()) {
    .travel__bg img {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
      transform-origin: 50% 50%;
    }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes drift { from { transform: scale(1.14) translateY(-4%); } to { transform: scale(1.14) translateY(4%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; row-gap: 8px; padding-inline: var(--gutter); }
  .marquee__track[aria-hidden="true"] { display: none; }
  .review.is-active { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ==========================================================================
   Interior pages
   ========================================================================== */

/* ---------- Nav current state ---------- */
.primary-nav__link[aria-current="page"],
.primary-nav__toggle[data-current] { color: var(--accent); }
.dropdown a[aria-current="page"] { color: var(--accent); }
.mobile-menu a[aria-current="page"] { color: var(--accent); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 22px; font-size: .88rem; color: var(--ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Generic section helpers ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--bg-alt); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lede { margin-inline: auto; }
.prose { color: var(--ink-soft); max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--ink); font-weight: 400; }
.section-title--sm { font-size: clamp(2rem, 3.4vw, 3rem); }

/* ---------- Page hero: split ---------- */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 120px);
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.07;
  letter-spacing: -.015em;
  padding-bottom: .06em;
  text-wrap: balance;
}
.page-hero__title em, .intro-hero__title em { font-style: italic; color: var(--accent); }
.page-hero__lede { margin-top: 24px; color: var(--ink-soft); font-size: 1.1rem; max-width: 44ch; }
.page-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.page-hero__media { position: relative; aspect-ratio: 4 / 5; max-height: calc(100dvh - var(--header-h) - 80px); overflow: hidden; background: var(--bg-alt); justify-self: end; width: 100%; }
.page-hero__media--wide { aspect-ratio: 5 / 4; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--reverse .page-hero__media { order: -1; justify-self: start; }
@media (max-width: 900px) {
  .page-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; }
  .page-hero__media { order: -1; aspect-ratio: 4 / 3; max-height: 52svh; }
}

/* ---------- Page hero: full-bleed image ---------- */
.image-hero {
  position: relative; isolation: isolate;
  min-height: min(84svh, 820px);
  display: grid; align-items: end;
  color: var(--photo-text);
  overflow: hidden;
  margin-top: 18px;
}
.image-hero__bg { position: absolute; inset: 0; z-index: -1; }
.image-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.image-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24, 19, 16, .74), rgba(24, 19, 16, .28) 45%, rgba(24, 19, 16, .05) 75%);
}
.image-hero__content { padding-block: clamp(48px, 7vw, 96px); }
.image-hero__content .page-hero__title { max-width: 16ch; }
.image-hero__content .page-hero__lede { color: rgba(251, 248, 243, .9); }
.image-hero .eyebrow { color: rgba(251, 248, 243, .85); margin-bottom: 18px; }

/* ---------- Page hero: text only ---------- */
.intro-hero { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.intro-hero__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.8rem, 5.6vw, 5.4rem); line-height: 1.05; letter-spacing: -.015em;
  max-width: 18ch; text-wrap: balance; padding-bottom: .06em;
}
.intro-hero__lede { margin-top: 22px; color: var(--ink-soft); font-size: 1.1rem; max-width: 54ch; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px clamp(24px, 4vw, 56px);
  padding-block: clamp(36px, 4vw, 56px);
  border-block: 1px solid var(--line);
}
.stat__num { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; color: var(--accent); }
.stat__label { margin-top: 10px; color: var(--ink-soft); max-width: 22ch; }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 26px); align-items: stretch; }
.package { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.package__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); }
.package__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.package:hover .package__photo img { transform: scale(1.04); }
.package__body { display: flex; flex-direction: column; flex: 1; padding: 26px clamp(20px, 2vw, 28px) 30px; }
.package__letter { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--accent); }
.package__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1.12; margin-top: 2px; }
.package__quote { margin-top: 6px; color: var(--ink-soft); font-size: .98rem; }
.package__list { margin: 22px 0 26px; display: grid; gap: 10px; }
.package__list li { display: flex; gap: 10px; align-items: baseline; }
.package__list i { color: var(--accent); flex: none; transform: translateY(2px); }
.package__price { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.package__from { font-size: .85rem; color: var(--ink-soft); }
.package__amount { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 3vw, 2.9rem); line-height: 1.05; }
.package__amount small { font-family: var(--font-body); font-size: .85rem; color: var(--ink-soft); margin-left: 6px; }
@media (max-width: 1120px) { .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .packages { grid-template-columns: minmax(0, 1fr); } .package__photo { aspect-ratio: 3 / 2; } }

/* ---------- Checklist / split feature ---------- */
.checklist { display: grid; gap: 4px 36px; }
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checklist li { display: flex; gap: 12px; align-items: baseline; padding-block: 10px; }
.checklist i { color: var(--accent); flex: none; transform: translateY(2px); }
@media (max-width: 640px) { .checklist--2 { grid-template-columns: 1fr; } }

.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 100px); align-items: center;
}
.feature--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.feature--reverse .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature__media--wide > img { aspect-ratio: 4 / 3; }
.feature__inset {
  position: absolute; width: 44%; right: -6%; bottom: -8%;
  border: 10px solid var(--bg); aspect-ratio: 4 / 5; object-fit: cover;
  box-shadow: 0 30px 60px -36px rgba(60, 40, 25, .55);
}
.section--tint .feature__inset { border-color: var(--bg-alt); }
.feature__copy .section-title { margin-bottom: 18px; }
.feature__copy .text-link, .feature__copy .btn { margin-top: 28px; }
@media (max-width: 900px) {
  .feature, .feature--reverse { grid-template-columns: minmax(0, 1fr); }
  .feature--reverse .feature__media { order: 0; }
  .feature__media > img { aspect-ratio: 4 / 3; }
  .feature__inset { right: 0; width: 40%; bottom: -10%; border-width: 6px; }
}

/* ---------- Duo (two offers) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.duo__item img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; margin-bottom: 26px; }
.duo__item:nth-child(2) { margin-top: clamp(0px, 6vw, 88px); }
.duo__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1.1; }
.duo__item p { margin-top: 12px; color: var(--ink-soft); max-width: 48ch; }
.price-tag { display: inline-block; margin-top: 18px; font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); }
.price-tag small { font-family: var(--font-body); font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo__item:nth-child(2) { margin-top: 0; } }

/* ---------- Callout ---------- */
.callout {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  background: var(--bg-alt);
}
.callout__icon { font-size: 2.4rem; color: var(--accent); }
.callout__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; }
.callout p { margin-top: 8px; color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 760px) { .callout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); }
.steps__media {
  position: sticky; top: calc(var(--header-h) + 32px);
  height: min(calc(100dvh - var(--header-h) - 64px), 780px);
  overflow: hidden; background: var(--bg-alt);
}
.steps__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.steps__media img.is-active { opacity: 1; transform: none; }
.step { min-height: min(78vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-block: 48px; }
.step + .step { border-top: 1px solid var(--line); }
.step__num { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--accent); }
.step__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.3rem, 3.8vw, 3.4rem); line-height: 1.08; margin-top: 4px; }
.step__kicker { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--ink-soft); margin-top: 6px; }
.step__body { margin-top: 20px; }
.step__body .text-link { margin-top: 18px; }
.step__photo { display: none; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps__media { display: none; }
  .step { min-height: 0; padding-block: 40px; }
  .step__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 24px; }
}

/* ---------- Travel places ---------- */
.places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.places__group h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.places__group li { padding-block: 5px; color: var(--ink-soft); }
@media (max-width: 900px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Mosaic ---------- */
.mosaic {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(110px, 11vw, 170px);
  gap: clamp(10px, 1.2vw, 18px);
}
.mosaic figure { overflow: hidden; background: var(--bg-alt); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic .m-a { grid-column: 1 / span 5; grid-row: span 4; }
.mosaic .m-b { grid-column: 6 / span 4; grid-row: span 2; }
.mosaic .m-c { grid-column: 10 / span 3; grid-row: span 3; }
.mosaic .m-d { grid-column: 6 / span 4; grid-row: span 3; }
.mosaic .m-e { grid-column: 10 / span 3; grid-row: span 2; }
.mosaic .m-f { grid-column: 1 / span 5; grid-row: span 1; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .mosaic figure { grid-column: auto !important; grid-row: span 2 !important; }
  .mosaic .m-a { grid-column: 1 / -1 !important; }
  .mosaic .m-f { display: none; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 26px; }
.faq-nav { display: grid; gap: 4px; }
.faq-nav a { font-family: var(--font-display); font-size: 1.45rem; text-decoration: none; color: var(--ink-soft); }
.faq-nav a:hover { color: var(--accent); }
.faq-group + .faq-group { margin-top: clamp(56px, 7vw, 96px); }
.faq-group__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.1; margin-bottom: 14px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display); font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; font-size: 1.1rem; color: var(--accent); transition: transform .35s var(--ease); }
.faq[open] summary i { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq__answer { padding: 0 0 26px; color: var(--ink-soft); max-width: 64ch; }
.faq__answer p + p { margin-top: .9em; }
@media (prefers-reduced-motion: no-preference) {
  .faq[open] .faq__answer { animation: rise .5s var(--ease) both; }
}
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; }
  .faq-aside img { display: none; }
  .faq-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
}

/* ---------- Review cards ---------- */
.review-grid { columns: 3 300px; column-gap: clamp(16px, 2vw, 28px); }
.review-card, .review-grid figure.review-photo { break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 28px); }
.review-card { padding: clamp(26px, 3vw, 38px); background: var(--surface); border: 1px solid var(--line); }
.review-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; }
.review-card figcaption { margin-top: 20px; color: var(--ink-soft); font-size: .95rem; }
.review-card figcaption strong { color: var(--ink); font-weight: 400; }
.review-photo img { width: 100%; }
.review-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.review-feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.review-feature blockquote { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.3; }
.review-feature figcaption { margin-top: 24px; color: var(--ink-soft); }
@media (max-width: 900px) { .review-feature { grid-template-columns: minmax(0, 1fr); } .review-feature img { aspect-ratio: 4 / 3; } }

/* ---------- Vendors ---------- */
.vendor-grid { columns: 3 290px; column-gap: clamp(20px, 3vw, 48px); }
.vendor-card { break-inside: avoid; margin-bottom: clamp(36px, 4vw, 56px); }
.vendor-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 22px; }
.vendor-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.vendor-card li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 7px; }
.tag { flex: none; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); padding: 2px 8px; }

/* ---------- Session types (families) ---------- */
.sessions { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.session img { width: 100%; object-fit: cover; margin-bottom: 18px; }
.session h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.85rem; line-height: 1.1; }
.session p { margin-top: 8px; color: var(--ink-soft); max-width: 40ch; }
.session--lg { grid-column: 1 / span 6; grid-row: span 2; }
.session--lg img { aspect-ratio: 4 / 5; }
.session--sm { grid-column: span 3; }
.session--sm img { aspect-ratio: 4 / 5; }
.session--wide { grid-column: 7 / span 6; }
.session--wide img { aspect-ratio: 16 / 9; }
@media (max-width: 900px) {
  .sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .session--lg, .session--wide { grid-column: 1 / -1; grid-row: auto; }
  .session--lg img { aspect-ratio: 4 / 3; }
  .session--sm { grid-column: span 1; }
}

/* ---------- Single package (families) ---------- */
.package--wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.package--wide .package__photo { aspect-ratio: auto; min-height: 100%; }
.package--wide .package__body { padding: clamp(28px, 4vw, 56px); }
@media (max-width: 860px) { .package--wide { grid-template-columns: minmax(0, 1fr); } .package--wide .package__photo { aspect-ratio: 3 / 2; } }

/* ---------- Portfolio gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: clamp(28px, 3vw, 44px); }
.filter {
  background: transparent; border: 1px solid var(--line); border-radius: 0;
  padding: 10px 18px; cursor: pointer;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.gallery { columns: 3 280px; column-gap: clamp(10px, 1.2vw, 16px); }
.gallery__item { break-inside: avoid; margin-bottom: clamp(10px, 1.2vw, 16px); }
.gallery__item[hidden] { display: none; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-alt); cursor: zoom-in; overflow: hidden; }
.gallery__btn img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.gallery__btn:hover img { transform: scale(1.03); }
.gallery__count { margin-top: -12px; margin-bottom: 28px; color: var(--ink-soft); font-size: .92rem; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #FBF8F3; }
.lightbox::backdrop { background: rgba(18, 15, 13, .94); }
.lightbox[open] { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; }
.lightbox__figure { margin: 0; display: grid; place-items: center; height: 100dvh; padding: 56px 0 24px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; }
.lightbox__caption { margin-top: 12px; font-size: .9rem; opacity: .75; text-align: center; padding-inline: 16px; }
.lightbox__btn {
  width: 52px; height: 52px; display: grid; place-items: center; margin: auto;
  background: rgba(251, 248, 243, .08); border: 1px solid rgba(251, 248, 243, .25); border-radius: 0;
  color: #FBF8F3; font-size: 1.3rem; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(251, 248, 243, .18); }
.lightbox__close { position: fixed; top: 14px; right: 14px; }
@media (max-width: 700px) {
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); }
  .lightbox__prev, .lightbox__next { position: fixed; bottom: 16px; }
  .lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }
}

/* ---------- About ---------- */
.story-block { max-width: 760px; margin-inline: auto; }
.story-block h2 { margin-bottom: 22px; }
.story-block p { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.8; }
.story-block p + p { margin-top: 1.2em; }
.dropcap::first-letter {
  float: left; font-family: var(--font-display); font-size: 4.8em; line-height: .82;
  padding: 6px 12px 0 0; color: var(--accent);
}
.pullquote {
  margin: clamp(48px, 7vw, 96px) auto;
  max-width: 20ch; text-align: center;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.15; color: var(--accent);
}
.photo-pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(14px, 2vw, 28px); align-items: end; }
.photo-pair img { width: 100%; object-fit: cover; }
.photo-pair img:first-child { aspect-ratio: 3 / 2; }
.photo-pair img:last-child { aspect-ratio: 4 / 5; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.form-panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 52px); min-height: 420px; }
.form-panel__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.5rem); margin-bottom: 8px; }
.form-panel__lede { color: var(--ink-soft); margin-bottom: 28px; }
.form-panel iframe { width: 100%; border: 0; }
.form-panel input, .form-panel select, .form-panel textarea { max-width: 100%; }
.contact-aside > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 32px; }
.contact-list { display: grid; gap: 18px; }
.contact-list dt { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.45rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.note { margin-top: 36px; padding: 24px 26px; border-left: 2px solid var(--rust); background: var(--bg-alt); color: var(--ink-soft); }
.note strong { display: block; color: var(--ink); font-weight: 400; font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 6px; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact-aside > img { aspect-ratio: 4 / 3; } }

/* ---------- Footer contact ---------- */
.site-footer__contact { margin-top: 18px; display: grid; gap: 4px; }
.site-footer__contact a { color: var(--ink-soft); text-decoration: none; }
.site-footer__contact a:hover { color: var(--accent); }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.page-hero .eyebrow + .page-hero__title { margin-top: 22px; }
.feature__media > .feature__inset { width: 44%; aspect-ratio: 4 / 5; }
.image-hero .page-hero__title em { color: #EBCFB4; }
@media (max-width: 900px) { .feature__media > .feature__inset { width: 40%; } }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat__num { font-size: 2.6rem; }
}

/* ==========================================================================
   Journal
   ========================================================================== */
.post-card__link { display: grid; text-decoration: none; color: inherit; }
.post-card__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); margin-bottom: 20px; }
.post-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card__link:hover .post-card__photo img { transform: scale(1.04); }
.post-card__meta { font-size: .88rem; color: var(--ink-soft); }
.post-card__title { margin-top: 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.1vw, 2rem); line-height: 1.15; }
.post-card__excerpt { margin-top: 10px; color: var(--ink-soft); max-width: 46ch; }
.post-card .text-link { margin-top: 16px; }
.post-card__link:hover .post-card__title { color: var(--accent); }

.post-card--featured .post-card__link {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
}
.post-card--featured .post-card__photo { aspect-ratio: 3 / 2; margin-bottom: 0; }
.post-card--featured .post-card__title { font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.08; }
.post-card--featured { margin-bottom: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--line); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(18px, 2.2vw, 32px); }
.post-grid .post-card:nth-child(3n + 2) { margin-top: clamp(0px, 4vw, 64px); }
@media (max-width: 1100px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-grid .post-card:nth-child(3n + 2) { margin-top: 0; } }
@media (max-width: 640px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-card--featured .post-card__link { grid-template-columns: minmax(0, 1fr); }
  .post-card__photo { aspect-ratio: 4 / 3; }
}

.post-hero { padding-block: clamp(28px, 4vw, 64px) clamp(28px, 3vw, 44px); text-align: center; }
.post-hero__meta { color: var(--ink-soft); font-size: .92rem; }
.post-hero__title {
  margin: 14px auto 0; max-width: 20ch;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.06; letter-spacing: -.015em; text-wrap: balance;
}
.post-hero__excerpt { margin: 18px auto 0; max-width: 52ch; color: var(--ink-soft); font-size: 1.1rem; }
.post-cover { max-width: 1360px; }
.post-cover img { width: 100%; height: auto; max-height: 86svh; object-fit: contain; margin-inline: auto; background: var(--bg-alt); }

.post-body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(44px, 6vw, 88px); max-width: 1100px; }
.post-body__text p { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.5; }
.post-body__text p + p { margin-top: 1em; }
.post-details { margin: 0; display: grid; gap: 18px; align-content: start; padding-top: 8px; border-top: 1px solid var(--line); }
.post-details dt { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-top: 14px; }
.post-details dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.3rem; }
.post-body + .post-gallery { margin-top: 0; }
.post-gallery + .post-body { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .post-body { grid-template-columns: minmax(0, 1fr); } }

.post-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); max-width: 1240px; align-items: start; }
.post-gallery__item { background: var(--bg-alt); }
.post-gallery__item img { width: 100%; height: auto; }
.post-gallery__item--wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .post-gallery { grid-template-columns: minmax(0, 1fr); } }

.post-nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line); max-width: 1240px;
}
.post-nav__link { text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; }
.post-nav__link span { display: block; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.post-nav__link:hover { color: var(--accent); }
.post-nav__link--older { text-align: right; }
@media (max-width: 760px) {
  .post-nav { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .post-nav__link--older { text-align: left; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal__body { max-width: 760px; color: var(--ink-soft); }
.legal__body h2 { margin: 2.2em 0 .6em; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.1rem); color: var(--ink); line-height: 1.2; }
.legal__body p + p { margin-top: 1em; }
.legal__body ul { margin: .6em 0 0; padding-left: 1.2em; list-style: disc; display: grid; gap: .5em; }
.legal__body strong { color: var(--ink); font-weight: 400; }
.legal__body a, .form-panel__lede a, .newsletter__fine a { color: var(--accent); }

/* ==========================================================================
   Footer additions
   ========================================================================== */
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink); font-size: 1.2rem; text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.social a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.newsletter__fine { font-size: .82rem; color: var(--ink-soft); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer__legal a, .site-footer__base a { color: var(--ink-soft); }
.site-footer__legal a:hover, .site-footer__base a:hover { color: var(--accent); }
.site-footer__base { align-items: center; }
.title-sub { display: block; font-style: italic; font-size: .62em; color: var(--accent); margin-top: .25em; line-height: 1.2; }
.post-card__title .title-sub { font-size: .7em; }

/* ==========================================================================
   Location guide
   ========================================================================== */
.locations { display: grid; gap: clamp(48px, 7vw, 104px); }
.location { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.location:nth-child(even) .location__photos { order: 2; }
/* Three photos taken at the location: a tall lead on the left, two stacked on the right. */
.location__photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); aspect-ratio: 4 / 3; }
.location__photos figure { margin: 0; overflow: hidden; background: var(--bg-alt); }
.location__photos figure:first-child { grid-row: 1 / -1; }
.location__photos img { width: 100%; height: 100%; object-fit: cover; }
.location__city { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.location__name { margin-top: 8px; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.08; }
.location__kicker { margin-top: 6px; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--accent); }
.location__body > p:not(.location__city):not(.location__kicker) { margin-top: 16px; color: var(--ink-soft); max-width: 46ch; }
.location__body .text-link { margin-top: 20px; }
@media (max-width: 760px) {
  .location { grid-template-columns: minmax(0, 1fr); }
  .location:nth-child(even) .location__photos { order: 0; }
}
.faq__answer a { color: var(--accent); }

/* ==========================================================================
   Cookie note: a floating cookie that opens into a small notice (main.js)
   ========================================================================== */
.cookie {
  --cookie-gap: clamp(14px, 2vw, 24px);
  --cookie-size: 52px;
  position: fixed; right: var(--cookie-gap); bottom: var(--cookie-gap); z-index: 35;
}
@media (max-width: 600px) { .cookie { --cookie-size: 48px; } }
.cookie__toggle {
  display: grid; place-items: center;
  width: var(--cookie-size); height: var(--cookie-size); padding: 0;
  background: var(--surface); color: var(--accent);
  border: 1px solid var(--line); border-radius: 50%;
  box-shadow: 0 12px 26px -14px rgba(60, 40, 25, .45);
  font-size: calc(var(--cookie-size) / 2); cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.cookie__toggle i { display: block; }
.cookie__toggle:hover,
.cookie.is-open .cookie__toggle { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cookie__panel {
  position: absolute; right: 0; bottom: calc(100% + 16px);
  width: min(340px, calc(100vw - 2 * var(--cookie-gap)));
  padding: 24px 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -28px rgba(60, 40, 25, .5);
  opacity: 0; visibility: hidden;
  transform: translateY(10px) scale(.96);
  transform-origin: calc(100% - var(--cookie-size) / 2) 100%;
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
/* Little pointer down to the cookie */
.cookie__panel::after {
  content: ""; position: absolute; right: calc(var(--cookie-size) / 2 - 6px); bottom: -7px;
  width: 12px; height: 12px;
  background: var(--surface);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.cookie.is-open .cookie__panel {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s;
}
.cookie__title { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.15; }
.cookie__text { margin-top: 8px; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); }
.cookie__actions { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.cookie__ok { min-height: 42px; padding: 0 22px; }

@media (prefers-reduced-motion: no-preference) {
  .cookie:not([hidden]) .cookie__toggle { animation: cookie-pop .7s var(--ease) .5s both; }
  .cookie__toggle:hover i,
  .cookie__toggle:focus-visible i { animation: cookie-wiggle .7s ease-in-out; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie__panel, .cookie.is-open .cookie__panel { transform: none; }
}
@keyframes cookie-pop {
  from { opacity: 0; transform: translateY(16px) scale(.6) rotate(-30deg); }
  to { opacity: 1; transform: none; }
}
@keyframes cookie-wiggle {
  25% { rotate: -12deg; }
  50% { rotate: 9deg; }
  75% { rotate: -4deg; }
}
@media print { .cookie { display: none !important; } }
