/* ==========================================================================
   NORD by Pencil — theme stylesheet
   Converted 1:1 from the NORD HTML template (source of truth for the design).
   Built on Trine Web Design System 1.0.
   Pencil notes: no WordPress core UI class names are styled; element resets
   that affect layout are scoped to .nord-site so the Media Library modal
   (opened by Pencil on the frontend) is never affected.
   --------------------------------------------------------------------------
   0. Fonts (local)
   1. Tokens          5. Components (cta, links, labels, frames)
   2. Base            6. Sections (hero → footer)
   3. Typography      7. Motion (reveal, lines, words)
   4. Layout          8. Responsive (tablet ≤1024, mobile ≤720)
   ========================================================================== */

/* 0. FONTS ---------------------------------------------------------------
   Self-hosted (SIL Open Font License, see fonts/OFL-*.txt).
   Same files, subsets and unicode-ranges that Google Fonts serves.
   ------------------------------------------------------------------------ */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-normal.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: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-italic.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: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.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: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.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: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-400-normal.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: "Hanken Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-500-normal.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: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-600-normal.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;
}

/* 1. TOKENS --------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Colour roles */
  --color-bg:          #EEEAE3; /* paper — warm, slightly cool-leaning off-white */
  --color-surface:     #E4DED4; /* stone paper */
  --color-text:        #161714; /* ink */
  --color-text-muted:  #4A4943; /* 8.4:1 on bg */
  --color-text-subtle: #75726A; /* metadata only, 4.5:1 on bg */
  --color-primary:     #26302A; /* moss — dark sections, primary CTA hover */
  --color-primary-2:   #313C35;
  --color-accent:      #B8622F; /* cloudberry — the single accent */
  --color-on-dark:     #EEEAE3;
  --color-on-dark-muted: rgba(238, 234, 227, .72);
  --color-border:      rgba(22, 23, 20, .16);
  --color-border-dark: rgba(238, 234, 227, .2);
  --color-focus:       #B8622F;

  /* Type families */
  --font-display: "Cormorant Garamond", "Cormorant", "Iowan Old Style", Georgia, serif;
  --font-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Type scale (fluid, 7 steps) */
  --fs-display: clamp(3.25rem, 1rem + 9.4vw, 11.5rem);
  --fs-h2:      clamp(2.625rem, 1.3rem + 5vw, 6.75rem);
  --fs-h3:      clamp(1.75rem, 1.35rem + 1.5vw, 2.75rem);
  --fs-lead:    clamp(1.625rem, 1.1rem + 2.1vw, 3.25rem);
  --fs-body:    1.0625rem;
  --fs-small:   .9375rem;
  --fs-label:   .75rem;

  /* Spacing scale */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --space-11: 12rem;

  /* Layout */
  --container: 90rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --grid-gap: clamp(1rem, 2vw, 2rem);
  --section-y: clamp(5.5rem, 3rem + 9vw, 12rem);
  --header-h: 5.5rem;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: .35s;
  --dur: .7s;
  --dur-slow: 1.2s;

  /* Image grade: pulls every photo into one palette */
  --image-grade: saturate(.82) contrast(1.04) sepia(.06);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

:where(.nord-site) img { display: block; max-width: 100%; height: auto; }

:where(.nord-site) a { color: inherit; text-decoration: none; }

:where(.nord-site) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

em { font-style: italic; }

::selection { background: var(--color-primary); color: var(--color-on-dark); }

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--color-text);
  color: var(--color-bg);
  font-size: var(--fs-small);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

section[id] { scroll-margin-top: 0; }

/* 3. TYPOGRAPHY ----------------------------------------------------------- */
.display,
.h-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.025em;
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.display em,
.h-display em,
.h2 em { font-weight: 400; }

.lead {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}

/* Headlines are authored as explicit lines (keeps the composition fixed) */
[data-lines] .line { display: block; }

.label {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.label--accent { color: var(--color-accent); }
.label--light  { color: var(--color-on-dark); }
.label--muted  { color: var(--color-on-dark-muted); }

.caption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-3);
  font-size: .8125rem;
  color: var(--color-text-subtle);
  letter-spacing: .02em;
}
.caption--dark { color: var(--color-on-dark-muted); }

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

.section { padding-block: var(--section-y); }

.section--dark {
  background: var(--color-primary);
  color: var(--color-on-dark);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-5);
  align-items: end;
  margin-bottom: clamp(var(--space-8), 7vw, var(--space-10));
}
.section-head > .label { grid-column: 1 / -1; }
.section-head > .h2    { grid-column: 1 / span 8; }
.section-head__aside {
  grid-column: 9 / -1;
  max-width: 30ch;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}
.section-head--split > .h2 { grid-column: 1 / span 9; }
.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-6);
}
.section-head--row .label { margin-bottom: var(--space-5); }

/* 5. COMPONENTS ----------------------------------------------------------- */

/* Frame: every content image sits in a fixed frame so replacements never
   change layout (Pencil-ready). */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: var(--image-grade);
}
.frame--4x5 { aspect-ratio: 4 / 5; }
.frame--3x2 { aspect-ratio: 3 / 2; }

/* CTA system: primary (ink), light (on image/dark), header (compact) */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 3.25rem;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid currentColor;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur-fast) var(--ease-out);
}
.cta:hover::before,
.cta:focus-visible::before { transform: scaleY(1); }

.cta__arrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: transform var(--dur-fast) var(--ease-out);
}
.cta:hover .cta__arrow,
.cta:focus-visible .cta__arrow { transform: translateX(.35rem); }

.cta--primary {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-bg);
}
.cta--primary::before { background: var(--color-primary); }

.cta--light {
  background: var(--color-bg);
  border-color: var(--color-bg);
  color: var(--color-text);
}
.cta--light::before { background: var(--color-accent); }
.cta--light:hover,
.cta--light:focus-visible { color: var(--color-on-dark); border-color: var(--color-accent); }

.cta--large {
  min-height: 4rem;
  padding-inline: var(--space-6);
  font-size: .875rem;
}
.cta--block { width: 100%; }

.cta--header {
  min-height: 2.75rem;
  padding: var(--space-3) var(--space-4);
  border-color: currentColor;
  font-size: .75rem;
  gap: var(--space-4);
}
.cta--header::before { background: currentColor; }
.cta--header:hover .cta__text,
.cta--header:hover .pencil-button__text,
.cta--header:hover .cta__arrow,
.cta--header:focus-visible .cta__text,
.cta--header:focus-visible .pencil-button__text,
.cta--header:focus-visible .cta__arrow { color: var(--header-invert, var(--color-text)); }
.cta--header .cta__text,
.cta--header .pencil-button__text,
.cta--header .cta__arrow { position: relative; transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }

/* Text link */
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-2);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(0);
}
.text-link--light { color: var(--color-on-dark); }

/* 6. SECTIONS ------------------------------------------------------------- */

/* ---- Header ---- */
.site-header {
  --header-invert: var(--color-text);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--color-on-dark);
  transition:
    transform var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  height: var(--header-h);
  transition: height var(--dur) var(--ease-out);
}
.site-header.is-scrolled {
  --header-invert: var(--color-bg);
  background: rgba(238, 234, 227, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--color-text);
  box-shadow: 0 1px 0 var(--color-border);
}
.site-header.is-scrolled .site-header__inner { height: 4.25rem; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-open {
  --header-invert: var(--color-bg);
  color: var(--color-text);
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-logo {
  justify-self: start;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: .32em;
  line-height: 1;
  margin-right: -.32em;
}

.site-nav__list {
  display: flex;
  gap: clamp(var(--space-5), 3vw, var(--space-7));
}
.site-nav__link {
  position: relative;
  display: inline-block;
  padding-block: var(--space-2);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out);
}
.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link.is-current::after { transform: scaleX(1); }

.cta--header { justify-self: end; }

.nav-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  gap: var(--space-3);
  min-height: 2.75rem;
  padding: 0 0 0 var(--space-3);
  border: 0;
  background: none;
  color: inherit;
  font: 600 .75rem/1 var(--font-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__lines {
  position: relative;
  display: block;
  width: 1.75rem;
  height: .625rem;
}
.nav-toggle__lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease-out), top var(--dur-fast) var(--ease-out);
}
.nav-toggle__lines span:first-child { top: 0; }
.nav-toggle__lines span:last-child  { top: calc(100% - 1.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:first-child { top: calc(50% - .75px); transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:last-child  { top: calc(50% - .75px); transform: rotate(-45deg); }

/* ---- Mobile menu ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
  background: var(--color-bg);
  color: var(--color-text);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav {
  display: grid;
  gap: var(--space-7);
}
.mobile-menu__list { border-top: 1px solid var(--color-border); }
.mobile-menu__list li { border-bottom: 1px solid var(--color-border); overflow: hidden; }
.mobile-menu__row {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding-block: var(--space-4);
}
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 3.75rem);
  line-height: 1;
}
.mobile-menu__index {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--color-text-subtle);
}
.mobile-menu__meta { color: var(--color-text-subtle); }

/* ---- Hero ---- */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--color-on-dark);
  background: var(--color-primary);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
}
.hero__media img { transform-origin: center 40%; }

/* Parallax images: JS writes --py; scale gives the image room to travel */
[data-parallax] { --ps: 1.12; }
[data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps)); }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 17, 14, .45) 0%, rgba(14, 17, 14, 0) 26%),
    linear-gradient(0deg, rgba(14, 17, 14, .62) 0%, rgba(14, 17, 14, .1) 55%, rgba(14, 17, 14, 0) 70%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--space-6));
  padding-bottom: var(--space-7);
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  color: var(--color-on-dark-muted);
}
.hero__coords { font-variant-numeric: tabular-nums; }
.hero__title {
  align-self: end;
  margin-bottom: clamp(var(--space-6), 4vw, var(--space-8));
}
.hero__title em { color: #F3DCC6; }
.hero__foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: center;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-dark);
}
.hero__intro {
  grid-column: 1 / span 4;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem);
  font-style: italic;
  line-height: 1.2;
}
.hero__foot .cta { grid-column: 6 / span 3; justify-self: start; }
.hero__scroll {
  grid-column: 11 / -1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-on-dark-muted);
}
.hero__scroll-line {
  position: relative;
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--color-border-dark);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-on-dark);
  transform: translateX(-100%);
}

/* ---- Manifesto ---- */
.manifesto__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-7);
}
.manifesto__label {
  grid-column: 1 / span 3;
  grid-row: 1;
  padding-top: 1.2em;
  color: var(--color-text-muted);
}
.manifesto__title {
  grid-column: 4 / -1;
  grid-row: 1;
}
.manifesto__title .line:last-child { padding-left: 1.4em; }
.manifesto__figure {
  grid-column: 1 / span 3;
  grid-row: 2 / span 2;
  align-self: start;
}
.manifesto__text {
  grid-column: 5 / span 7;
  grid-row: 2;
  max-width: 24ch;
}
.manifesto__link {
  grid-column: 5 / span 4;
  grid-row: 3;
  justify-self: start;
  align-self: start;
}

/* ---- Destinations ---- */
.destinations .section-head > .h2 .line:last-child { padding-left: 1.2em; }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: clamp(var(--space-8), 8vw, var(--space-10));
}
.dest--japan    { grid-column: 1 / span 7; }
.dest--iceland  { grid-column: 9 / span 4; align-self: start; margin-top: clamp(var(--space-8), 12vw, var(--space-11)); }
.dest--portugal { grid-column: 2 / span 5; align-self: start; }
.dest--italy    { grid-column: 7 / span 6; align-self: start; margin-top: clamp(var(--space-7), 9vw, var(--space-10)); }

.dest--japan    .dest__frame { aspect-ratio: 5 / 4; }
.dest--iceland  .dest__frame { aspect-ratio: 3 / 4; }
.dest--portugal .dest__frame { aspect-ratio: 4 / 5; }
.dest--italy    .dest__frame { aspect-ratio: 3 / 2; }

.dest { position: relative; }
.dest__frame img {
  transform: scale(1.02);
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out);
}
.dest:hover .dest__frame img,
.dest:focus-within .dest__frame img {
  transform: scale(1.08);
  filter: saturate(1) contrast(1.04);
}

.dest__meta {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--space-5);
  align-items: baseline;
  padding-top: clamp(var(--space-6), 3.4vw, var(--space-7)); /* breathing room below the image */
}
.dest__num {
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 2rem + 3vw, 5.5rem);
  line-height: .8;
  color: var(--color-accent);
  font-variant-numeric: lining-nums;
  margin-top: calc(-1 * clamp(2rem, 1.2rem + 2.2vw, 3.75rem));
  transition: transform var(--dur) var(--ease-out);
}
.dest:hover .dest__num,
.dest:focus-within .dest__num { transform: translateY(-.35rem); }
.dest__name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1;
}
.dest__places {
  grid-column: 2;
  margin-top: var(--space-2);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---- Featured experience ---- */
.feature__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
}
.feature__visual { grid-column: 1 / span 6; }
.feature__sticky {
  position: sticky;
  top: calc(var(--space-9) + env(safe-area-inset-top, 0px));
}
.feature__frame { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--space-11)); width: 100%; }
.feature__plate {
  margin-top: var(--space-4);
  color: var(--color-on-dark-muted);
}

.feature__content {
  grid-column: 8 / -1;
  display: grid;
  align-content: start;
  gap: var(--space-7);
  padding-top: var(--space-9);
}
.feature__content > .label { margin-bottom: calc(-1 * var(--space-4)); }
.feature__title em { color: #E7B48F; }
.feature__title .line:last-child { padding-left: 1.1em; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--color-border-dark);
}
.facts__item {
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-border-dark);
}
.facts__item:nth-child(odd) { padding-right: var(--space-4); }
.facts__item:nth-child(even) { padding-left: var(--space-4); border-left: 1px solid var(--color-border-dark); }
.facts dt {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}
.facts dd {
  margin-top: var(--space-1);
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.2;
}

.feature__intro {
  max-width: 44ch;
  color: var(--color-on-dark-muted);
}

.itinerary { border-top: 1px solid var(--color-border-dark); }
.itinerary__item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  column-gap: var(--space-5);
  row-gap: var(--space-1);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-border-dark);
}
.itinerary__days {
  grid-row: 1 / span 2;
  padding-top: .45rem;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #E7B48F;
  font-variant-numeric: tabular-nums;
}
.itinerary__place {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.1;
}
.itinerary__note {
  font-size: var(--fs-small);
  color: var(--color-on-dark-muted);
}

.feature__inset { width: 72%; justify-self: end; }
.feature__action { justify-self: start; }

/* ---- Experiences ---- */
.exp-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: start;
}
.exp-list {
  grid-column: 1 / span 7;
  border-top: 1px solid var(--color-border);
}
.exp {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  grid-template-areas:
    "index name arrow"
    ".     tag  arrow";
  column-gap: var(--space-5);
  row-gap: var(--space-1);
  padding-block: clamp(var(--space-5), 2.6vw, var(--space-7));
  border-bottom: 1px solid var(--color-border);
  transition: padding var(--dur) var(--ease-out);
}
.exp__index {
  grid-area: index;
  padding-top: .9em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-text-subtle);
}
.exp__name {
  font-weight: 400;
  grid-area: name;
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 1.4rem + 2.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--color-text-subtle);
  transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.exp__tag {
  grid-area: tag;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-text-muted);
}
.exp__arrow {
  grid-area: arrow;
  align-self: center;
  font-size: 1.5rem;
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-.75rem);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.exp__thumb { display: none; }

.exp.is-active .exp__name,
.exp:hover .exp__name,
.exp:focus-within .exp__name { color: var(--color-text); transform: translateX(.5rem); }
.exp.is-active .exp__arrow,
.exp:hover .exp__arrow,
.exp:focus-within .exp__arrow { opacity: 1; transform: none; }
.exp.is-active .exp__index { color: var(--color-accent); }

.exp-preview {
  grid-column: 9 / -1;
  position: sticky;
  top: calc(var(--space-9) + env(safe-area-inset-top, 0px));
}
.exp-preview__frame { aspect-ratio: 4 / 5; }
.exp-preview__frame img {
  position: absolute;
  inset: 0;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: scale(1.08);
  transition:
    clip-path var(--dur-slow) var(--ease-out),
    transform 1.6s var(--ease-out),
    opacity 0s linear var(--dur-slow);
}
.exp-preview__frame img.is-active {
  opacity: 1;
  z-index: 1;
  clip-path: inset(0 0 0 0);
  transform: scale(1);
  transition:
    clip-path var(--dur-slow) var(--ease-out),
    transform 1.6s var(--ease-out),
    opacity 0s;
}
.exp-preview__caption span:last-child { font-variant-numeric: tabular-nums; }

/* ---- Journal ---- */
.journal { border-top: 1px solid var(--color-border); }
.journal .section-head--row .h2 .line:last-child { padding-left: 1.2em; }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-8);
}
.story--lead { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.story:nth-child(2) { grid-column: 9 / -1; grid-row: 1; }
.story:nth-child(3) { grid-column: 9 / -1; grid-row: 2; align-self: end; }

.story { position: relative; display: grid; align-content: start; gap: var(--space-5); }
.story__frame { aspect-ratio: 4 / 3; }
.story--lead .story__frame { aspect-ratio: 3 / 2; }
.story__frame img { transition: transform var(--dur-slow) var(--ease-out); }
.story:hover .story__frame img,
.story:focus-within .story__frame img { transform: scale(1.05); }

.story__body { display: grid; gap: var(--space-3); }
.story__meta {
  display: flex;
  gap: var(--space-4);
  color: var(--color-text-subtle);
}
.story__meta span + span::before {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 1px;
  margin-right: var(--space-4);
  vertical-align: middle;
  background: currentColor;
}
.story__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.05;
  text-wrap: balance;
}
.story--lead .story__title { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem); }
.story__title {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 92%;
  background-repeat: no-repeat;
  transition: background-size var(--dur) var(--ease-out);
  display: inline;
  justify-self: start;
}
.story:hover .story__title,
.story:focus-within .story__title { background-size: 100% 1px; }
.story__excerpt {
  max-width: 46ch;
  color: var(--color-text-muted);
}

/* ---- Testimonial ---- */
.testimonial { background: var(--color-surface); }
.quote {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
}
.quote__mark {
  grid-column: 1 / span 2;
  font-family: var(--font-display);
  font-size: clamp(6rem, 4rem + 8vw, 14rem);
  line-height: .7;
  color: var(--color-accent);
}
.quote__text {
  grid-column: 3 / -1;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.quote__text .line:nth-child(2) { padding-left: 1.5em; }
.quote__cite {
  grid-column: 3 / -1;
  margin-top: var(--space-7);
  color: var(--color-text-muted);
}

/* ---- Final CTA ---- */
.final {
  --reveal: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--color-on-dark);
  background: var(--color-bg);
  overflow: hidden;
}
.final__media {
  position: absolute;
  inset: 0;
  clip-path: inset(
    calc((1 - var(--reveal)) * 12%)
    calc((1 - var(--reveal)) * 18%)
    calc((1 - var(--reveal)) * 12%)
    calc((1 - var(--reveal)) * 18%)
  );
  will-change: clip-path;
}
.final__media img { transform: scale(calc(1.18 - var(--reveal) * .12)); }
.final__shade {
  position: absolute;
  inset: 0;
  opacity: var(--reveal);
  background: linear-gradient(0deg, rgba(14, 17, 14, .7) 0%, rgba(14, 17, 14, .15) 60%, rgba(14, 17, 14, .25) 100%);
}
.final__inner {
  position: relative;
  display: grid;
  justify-items: start;
  gap: var(--space-6);
  padding-block: var(--space-10) var(--space-9);
}
.final__title { max-width: none; }
.final__title .line:last-child { padding-left: 1.3em; }
.final__title em { color: #F3DCC6; }
.final__text {
  max-width: 34ch;
  font-size: 1.125rem;
  color: var(--color-on-dark-muted);
}

/* ---- Footer ---- */
.site-footer {
  padding-top: var(--space-10);
  padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
  background: #121411;
  color: var(--color-on-dark);
  overflow: hidden;
}
.site-footer__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-7);
  align-items: start;
}
.site-footer__brand { grid-column: 1 / span 4; }
.site-footer__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: .32em;
  line-height: 1;
}
.site-footer__tagline {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-on-dark-muted);
}
.site-footer__col { grid-column: span 2; display: grid; gap: var(--space-4); }
.site-footer__col:nth-of-type(1) { grid-column: 6 / span 2; }
.site-footer__list { display: grid; gap: var(--space-2); }
.site-footer__list a {
  font-size: var(--fs-small);
  color: var(--color-on-dark);
  transition: color var(--dur-fast) var(--ease-out), padding var(--dur-fast) var(--ease-out);
}
.site-footer__list a:hover,
.site-footer__list a:focus-visible { color: #E7B48F; padding-left: var(--space-2); }
.site-footer__top-link { grid-column: 11 / -1; justify-self: end; }

.site-footer__wordmark {
  margin-top: var(--space-9);
  font-family: var(--font-display);
  font-size: clamp(6rem, 29vw, 30rem);
  font-weight: 400;
  line-height: .75;
  letter-spacing: .06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 234, 227, .28);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-dark);
  font-size: .8125rem;
  color: var(--color-on-dark-muted);
}

/* ---- Cursor label (pointer devices only) ---- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  display: none;
  place-items: center;
  width: 6.5rem;
  height: 6.5rem;
  margin: -3.25rem 0 0 -3.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  pointer-events: none;
  transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0);
  transition: transform .45s var(--ease-out);
}
.cursor.is-visible { transform: translate3d(var(--x), var(--y), 0) scale(1); }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: grid; }
  .has-cursor [data-cursor] { cursor: none; }
}

/* 7. MOTION --------------------------------------------------------------- */
/* All hidden states are gated behind .js + no-reduced-motion, so the page is
   fully readable without JavaScript or with reduced motion. */
@media (prefers-reduced-motion: no-preference) {

  /* Generic reveal */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
    transition-delay: var(--delay, 0s);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Line-by-line headline reveal */
  /* Mask for the slide-up reveal. clip-path (not overflow: hidden) so the mask
     extends past the tight line box: Cormorant's ascenders, descenders and
     italic swashes are never cut. The text starts far enough below (170%) to
     stay hidden inside the enlarged mask until it slides in. */
  .js [data-lines] .line { display: block; padding-bottom: .08em; margin-bottom: -.08em; clip-path: inset(-.35em -.5em -.3em -.5em); }
  .js [data-lines] .line > span {
    display: inline-block;
    transform: translateY(170%);
    transition: transform 1.3s var(--ease-out);
  }
  .js [data-lines] .line:nth-child(2) > span { transition-delay: .1s; }
  .js [data-lines] .line:nth-child(3) > span { transition-delay: .2s; }
  .js [data-lines].is-in .line > span { transform: none; }

  /* Hero load sequence */
  .js .hero:not(.is-settled) .hero__media img { transition: transform 2.8s var(--ease-out); }
  .js .hero:not(.is-loaded) .hero__media img { --ps: 1.24; }
  .js .hero__meta,
  .js .hero__foot { transition: opacity 1.2s var(--ease-out) .6s, transform 1.2s var(--ease-out) .6s; }
  .js .hero:not(.is-loaded) .hero__meta,
  .js .hero:not(.is-loaded) .hero__foot { opacity: 0; transform: translateY(1rem); }

  .hero__scroll-line::after { animation: scroll-line 2.4s var(--ease-in-out) infinite; }

  /* Mobile menu entry */
  .mobile-menu:not([hidden]) .mobile-menu__row { animation: menu-in .8s var(--ease-out) both; }
  .mobile-menu li:nth-child(2) .mobile-menu__row { animation-delay: .05s; }
  .mobile-menu li:nth-child(3) .mobile-menu__row { animation-delay: .1s; }
  .mobile-menu li:nth-child(4) .mobile-menu__row { animation-delay: .15s; }
}

/* Word-by-word manifesto (JS adds .word spans) */
.js .manifesto__text .word {
  opacity: .22;
  transition: opacity .5s var(--ease-out);
}
.js .manifesto__text .word.is-lit { opacity: 1; }

@keyframes scroll-line {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
@keyframes menu-in {
  from { transform: translateY(100%); }
  to   { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-parallax] img,
  .final__media img { transform: none !important; }
  .final { --reveal: 1 !important; }
  .js .manifesto__text .word { opacity: 1; }
}

/* 7b. WORDPRESS + PENCIL INTEGRATION ------------------------------------ */

/* Card links: the Pencil button (name/title) is stretched over the whole card,
   so cards stay fully clickable while every value inside is its own field. */
.dest__link::after,
.story__link::after,
.exp__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* While Pencil's edit mode is on, drop the overlays and the cursor label so
   images, numbers and captions inside cards can be selected and edited. */
.pencil-selection-active .dest__link::after,
.pencil-selection-active .story__link::after,
.pencil-selection-active .exp__link::after { display: none; }
.pencil-selection-active .cursor { display: none !important; }
.pencil-selection-active [data-cursor] { cursor: auto !important; }

/* Full-bleed images (hero, final CTA) sit under a shade and a text layer.
   In edit mode, clicks pass through those layers except on the fields
   themselves, so the background image can be selected and replaced. */
.pencil-selection-active :is(.hero__shade, .final__shade, .hero__inner, .final__inner) { pointer-events: none; }
.pencil-selection-active :is(.hero__inner, .final__inner) :is([data-pencil-field], a, button) { pointer-events: auto; }

/* Mobile menu toggle: both labels are editable; CSS shows the right one. */
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

/* Experience captions: one editable caption per experience, active one shown. */
.exp-preview__cap { display: none; }
.exp-preview__cap.is-active { display: inline; }

/* Header on pages without a hero (anything but the front page). */
.site-header.is-solid {
  --header-invert: var(--color-bg);
  background: rgba(238, 234, 227, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--color-text);
  box-shadow: 0 1px 0 var(--color-border);
}
.site-header.is-solid .site-header__inner { height: 4.25rem; }

/* Keep the fixed header below the WordPress admin bar for logged-in editors. */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

/* Fallback template (index.php): WordPress-owned pages and posts. */
.page-content { padding-top: calc(var(--header-h) + var(--section-y) * .6); }
.page-content__entry + .page-content__entry { margin-top: var(--space-9); }
.page-content__title { max-width: 20ch; margin-bottom: var(--space-7); }
.page-content__body {
  display: grid;
  gap: var(--space-5);
  max-width: 65ch;
  color: var(--color-text-muted);
}
.page-content__body a:not(.text-link) { text-decoration: underline; text-underline-offset: .2em; }
.page-content__body :is(h2, h3) {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
}
.page-content__body h2 { font-size: var(--fs-h3); }
.page-content__body ul { list-style: disc; padding-left: 1.25em; }
.page-content__body ol { list-style: decimal; padding-left: 1.25em; }

/* 8. RESPONSIVE ----------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  :root { --header-h: 4.5rem; }

  .site-header__inner { grid-template-columns: 1fr auto auto; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero__foot { row-gap: var(--space-5); }
  .hero__intro { grid-column: 1 / span 6; }
  .hero__foot .cta { grid-column: 7 / span 6; justify-self: end; }
  .hero__scroll { display: none; }

  .manifesto__label { grid-column: 1 / -1; padding-top: 0; }
  .manifesto__title { grid-column: 1 / -1; grid-row: 2; }
  .manifesto__figure { grid-column: 1 / span 4; grid-row: 3; }
  .manifesto__text { grid-column: 6 / -1; grid-row: 3; align-self: center; }
  .manifesto__link { grid-column: 6 / -1; grid-row: 4; }

  .section-head > .h2,
  .section-head--split > .h2 { grid-column: 1 / -1; }
  .section-head__aside { grid-column: 1 / span 8; }

  .dest--japan    { grid-column: 1 / span 8; }
  .dest--iceland  { grid-column: 9 / -1; margin-top: var(--space-10); }
  .dest--portugal { grid-column: 1 / span 5; }
  .dest--italy    { grid-column: 6 / -1; }

  .feature__visual { grid-column: 1 / -1; }
  .feature__sticky { position: static; }
  .feature__frame { aspect-ratio: 16 / 10; max-height: none; }
  .feature__content { grid-column: 1 / -1; padding-top: var(--space-8); }
  .feature__inset { width: 60%; }

  .exp-list { grid-column: 1 / -1; }
  .exp-preview { display: none; }
  .exp {
    grid-template-columns: 3rem 1fr 6.5rem;
    grid-template-areas:
      "index name thumb"
      ".     tag  thumb";
    align-items: center;
  }
  .exp__arrow { display: none; }
  .exp__thumb { display: block; grid-area: thumb; aspect-ratio: 1; }
  .exp__name { color: var(--color-text); }
  .exp.is-active .exp__name,
  .exp:hover .exp__name { transform: none; }

  .story--lead { grid-column: 1 / -1; grid-row: auto; }
  .story:nth-child(2) { grid-column: 1 / span 6; grid-row: auto; }
  .story:nth-child(3) { grid-column: 7 / -1; grid-row: auto; align-self: start; }

  .quote__mark { grid-column: 1 / -1; }
  .quote__text,
  .quote__cite { grid-column: 1 / -1; }

  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__col:nth-of-type(1) { grid-column: 1 / span 4; }
  .site-footer__col { grid-column: span 4; }
  .site-footer__top-link { grid-column: 9 / -1; }
}

/* Mobile */
@media (max-width: 720px) {
  :root {
    --grid-gap: 1rem;
    --fs-body: 1rem;
  }

  .cta--header { display: none; }
  .site-logo { font-size: 1.5rem; }

  /* Hero: stacked composition, CTA full width */
  .hero__inner { padding-bottom: var(--space-6); }
  .hero__title { max-width: none; font-size: clamp(3.25rem, 15vw, 5rem); }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__intro,
  .hero__foot .cta { grid-column: 1; }
  .hero__foot .cta { justify-self: stretch; }
  .hero__coords { writing-mode: vertical-rl; }

  /* Manifesto */
  .manifesto__grid { row-gap: var(--space-6); }
  .manifesto__title .line:last-child { padding-left: .6em; }
  .manifesto__figure { grid-column: 5 / -1; grid-row: 4; }
  .manifesto__text { grid-column: 1 / -1; grid-row: 3; max-width: none; }
  .manifesto__figure { grid-column: 3 / -1; }
  .manifesto__link { grid-column: 1 / -1; grid-row: 5; }

  .section-head__aside { grid-column: 1 / -1; }
  .section-head--row { flex-direction: column; align-items: flex-start; }

  /* Destinations: alternating widths keep an editorial rhythm */
  .dest-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: var(--space-8); }
  .dest--japan    { grid-column: 1 / -1; }
  .dest--iceland  { grid-column: 2 / -1; margin-top: 0; }
  .dest--portugal { grid-column: 1 / span 5; }
  .dest--italy    { grid-column: 1 / -1; margin-top: 0; }
  .dest--japan .dest__frame   { aspect-ratio: 4 / 5; }
  .dest--iceland .dest__frame { aspect-ratio: 4 / 5; }
  .dest--portugal .dest__frame { aspect-ratio: 1; }

  /* Feature */
  .feature__frame { aspect-ratio: 4 / 5; }
  .feature__content { gap: var(--space-6); }
  .feature__inset { width: 80%; }
  .itinerary__item { grid-template-columns: 1fr; }
  .itinerary__days { grid-row: auto; padding-top: 0; }
  .facts__item:nth-child(even) { padding-left: var(--space-3); }

  /* Experiences */
  .exp {
    grid-template-columns: 1fr 5rem;
    grid-template-areas:
      "name thumb"
      "tag  thumb";
    column-gap: var(--space-4);
  }
  .exp__index { display: none; }
  .exp__name { font-size: 2rem; }
  .exp__tag { font-size: 1.125rem; }

  /* Journal */
  .journal-grid { row-gap: var(--space-7); }
  .story:nth-child(2),
  .story:nth-child(3) { grid-column: 1 / -1; }
  .story:not(.story--lead) {
    grid-template-columns: 7.5rem 1fr;
    align-items: start;
    gap: var(--space-4);
  }
  .story:not(.story--lead) .story__frame { aspect-ratio: 1; }
  .story:not(.story--lead) .story__title { font-size: 1.5rem; }
  .story__meta { flex-wrap: wrap; gap: var(--space-2) var(--space-4); }

  /* Quote */
  .quote__text .line:nth-child(2) { padding-left: .6em; }
  .quote__cite { margin-top: var(--space-6); }

  /* Final */
  .final__inner { padding-block: var(--space-9) var(--space-7); }
  .final__title { font-size: clamp(3rem, 14vw, 4.75rem); }
  .final__title .line:last-child { padding-left: .6em; }
  .final__action { justify-self: stretch; }
  .final__action .cta { width: 100%; }

  /* Footer */
  .site-footer { padding-top: var(--space-8); }
  .site-footer__col:nth-of-type(1),
  .site-footer__col { grid-column: span 6; }
  .site-footer__top-link { grid-column: 1 / -1; justify-self: start; }
  .site-footer__bottom { flex-direction: column; gap: var(--space-2); }
}
