/* ===========================================
   MRVICA — Mikrofarma u Biskom
   Design tokens, layout, typography, motion
   =========================================== */

@import url('./tokens.css');

/* --- FONTS --- */
@font-face {
  font-family: 'Lora';
  src: url('../assets/fonts/lora-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lora';
  src: url('../assets/fonts/lora-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* IM Fell English PRO — self-hosted, full Croatian diacritic support */
@font-face {
  font-family: 'IM Fell English';
  src: url('../assets/fonts/im-fell/im-fell-english-pro-regular.woff2') format('woff2'),
       url('../assets/fonts/im-fell/im-fell-english-pro-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IM Fell English';
  src: url('../assets/fonts/im-fell/im-fell-english-pro-italic.woff2') format('woff2'),
       url('../assets/fonts/im-fell/im-fell-english-pro-italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* IM Fell Double Pica PRO — larger display variant, for future use */
@font-face {
  font-family: 'IM Fell Double Pica';
  src: url('../assets/fonts/im-fell/im-fell-double-pica-pro-regular.woff2') format('woff2'),
       url('../assets/fonts/im-fell/im-fell-double-pica-pro-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IM Fell Double Pica';
  src: url('../assets/fonts/im-fell/im-fell-double-pica-pro-italic.woff2') format('woff2'),
       url('../assets/fonts/im-fell/im-fell-double-pica-pro-italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* IM Fell French Canon PRO — display variant */
@font-face {
  font-family: 'IM Fell French Canon';
  src: url('../assets/fonts/im-fell/im-fell-french-canon-pro-regular.woff2') format('woff2'),
       url('../assets/fonts/im-fell/im-fell-french-canon-pro-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IM Fell French Canon';
  src: url('../assets/fonts/im-fell/im-fell-french-canon-pro-italic.woff2') format('woff2'),
       url('../assets/fonts/im-fell/im-fell-french-canon-pro-italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
/* Grimpt Print Rust — swap in here when purchased:
@font-face {
  font-family: 'Grimpt';
  src: url('../assets/fonts/grimpt-print-rust-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grimpt';
  src: url('../assets/fonts/grimpt-print-rust.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*/

/* --- LEGACY BRIDGES --- */
/* Maps old variable names to the new token system in tokens.css.
   Existing CSS that uses var(--ink), var(--cream), etc. continues to work.
   New CSS should use semantic tokens directly. */
:root {
  /* Color bridges */
  --ink: var(--text-primary);
  --cream: var(--surface-primary);
  --near-white: #fefefe;
  --sage: var(--color-sage);
  --stone: var(--text-muted);
  --overlay-dark: var(--overlay-heavy);

  /* Typography bridges */
  --font-heading: var(--font-display);
  --font-caption: var(--font-body);

  /* Type scale bridges */
  --text-body: var(--text-body-lg);
  --text-heading: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-pull: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-caption: var(--text-body-sm);
  --text-nav: var(--text-body-sm);

  /* Spacing bridges */
  --space-xs: var(--space-2);
  --space-sm: var(--space-4);
  --space-md: var(--space-6);
  --space-lg: var(--space-10);
  --space-xl: var(--space-12);
  --space-2xl: var(--space-20);

  /* Motion bridges */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: var(--ease-mrvica);

  /* Layout */
  --max-prose: 42ch;
  --max-content: var(--content-max);
  --gutter: var(--content-gutter);
  --grid-gap: var(--gap-grid);
}

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}

/* Global paragraph rhythm — no extra inter-line space within paragraphs */
p {
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

figure {
  margin: 0;
}

/* --- SPLASH OVERLAY — Smooth cream veil, fades out on load --- */
.splash-overlay {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 9999;
  pointer-events: all;
  transition: opacity 1.2s var(--ease-out);
  will-change: opacity;
}

.splash-overlay.revealed {
  opacity: 0;
  pointer-events: none;
}

/* --- HERO SLIDESHOW — Push wipe --- */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}

.hero-section.visible {
  opacity: 1;
}

/* Stage: flex row of slides, translates left by slide width on each transition */
.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transform: translateX(0);
  transition: transform 1s cubic-bezier(0.37, 0, 0.63, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  touch-action: pan-y;
  -webkit-touch-callout: none;
  user-select: none;
}

/* Slide dots — bottom left */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: var(--gutter);
  z-index: 10;
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--cream);
  background: transparent;
  padding: 0;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.hero-dot.active {
  background-color: var(--cream);
}

.hero-dot:hover {
  background-color: rgba(255, 240, 225, 0.5);
}

/* --- HERO NAV --- */
.hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gutter);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.hero-nav.visible {
  opacity: 1;
  pointer-events: all;
}

.hero-nav > * {
  pointer-events: all;
}

/* Nav mark — wordmark only (rozeta stays on left as menu trigger) */
.nav-mark {
  display: block;
  width: 140px;
  height: 42px;
  background-color: var(--surface-primary);
  -webkit-mask-image: url('../assets/logos/mrvica-wordmark-horizontal.png');
  mask-image: url('../assets/logos/mrvica-wordmark-horizontal.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.nav-mark.visible {
  opacity: 1;
}

/* --- MENU TRIGGER (Rozeta) — left-aligned to grid --- */
.menu-trigger {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  transition: transform 160ms var(--ease-out);
  z-index: 101;
}

.menu-trigger:active {
  transform: scale(0.97);
}

.menu-trigger__rozeta {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: var(--surface-primary);
  -webkit-mask-image: url('../assets/logos/mrvica-rozeta.png');
  mask-image: url('../assets/logos/mrvica-rozeta.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: background-color 0.3s var(--ease-out);
  flex-shrink: 0;
}

.menu-trigger__label {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: var(--text-on-dark);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 0.4s var(--ease-out),
              opacity 0.3s var(--ease-out),
              margin-left 0.4s var(--ease-out);
  margin-left: 0;
}

.menu-trigger:hover .menu-trigger__label,
.menu-trigger:focus-visible .menu-trigger__label {
  max-width: 6rem;
  opacity: 1;
  margin-left: 0.5rem;
}

/* When scrolled past hero — dark rozeta on light bg */
.hero-nav.scrolled .menu-trigger__rozeta {
  background-color: var(--brand-mark);
}

.hero-nav.scrolled .menu-trigger__label {
  color: var(--ink);
}

.hero-nav.scrolled .nav-mark {
  background-color: var(--brand-mark);
}

.hero-nav.scrolled {
  background-color: rgba(255, 240, 225, 0.95) /* surface-primary with opacity */;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Nav CTA — frameless, underline on hover */
.nav-cta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-caption);
  color: var(--text-on-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border: none;
  background: none;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out);
}

.nav-cta:hover {
  border-bottom-color: currentColor;
}

.hero-nav.scrolled .nav-cta {
  color: var(--ink);
}

/* Hero CTA pair — side by side */
.hero-cta-pair {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-cta--outline {
  opacity: 0.75;
}

.nav-cta--outline:hover {
  opacity: 1;
}

/* Hero location tag — bottom right, caption style */
.hero-location {
  position: absolute;
  bottom: 1.5rem;
  right: var(--gutter);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  line-height: 1.4;
  margin: 0;
  z-index: 2;
}

/* --- MENU DRAWER --- */
.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(400px, 85vw);
  height: 100vh;
  background-color: var(--cream);
  z-index: 9000;
  transform: translateX(-100%);
  transition: transform 400ms var(--ease-drawer);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--gutter);
  will-change: transform;
}

.menu-drawer.open {
  transform: translateX(0);
}

.menu-drawer__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
  transition: transform 160ms var(--ease-out);
}

.menu-drawer__close:active {
  transform: scale(0.97);
}

.menu-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.menu-drawer__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.5em;
  line-height: 1.4;
  color: var(--ink);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s var(--ease-out),
              transform 0.4s var(--ease-out),
              color 0.3s ease;
}

.menu-drawer.open .menu-drawer__link {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger — 50ms between items */
.menu-drawer.open .menu-drawer__link:nth-child(1) { transition-delay: 80ms; }
.menu-drawer.open .menu-drawer__link:nth-child(2) { transition-delay: 130ms; }
.menu-drawer.open .menu-drawer__link:nth-child(3) { transition-delay: 180ms; }
.menu-drawer.open .menu-drawer__link:nth-child(4) { transition-delay: 230ms; }
.menu-drawer.open .menu-drawer__link:nth-child(5) { transition-delay: 280ms; }

.menu-drawer__link:hover {
  color: var(--sage);
}

.menu-drawer__footer {
  margin-top: auto;
  padding-top: var(--space-lg);
}

.menu-drawer__lang {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  letter-spacing: 0.15em;
  color: var(--stone);
}

/* Backdrop */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.3);
  z-index: 8999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.menu-backdrop.visible {
  opacity: 1;
  pointer-events: all;
}

/* --- BREATHER --- */
.breather {
  min-height: 33vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg) var(--gutter);
  background-color: var(--cream);
}

.breather__line {
  font-family: var(--font-heading);
  font-size: var(--text-pull);
  font-style: italic;
  line-height: 1.6;
  max-width: var(--max-prose);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s var(--ease-out),
              transform 1.4s var(--ease-out);
}

/* Trigger when parent is revealed — robust against intersection edge cases */
.breather.revealed .breather__line {
  opacity: 1;
  transform: translateY(0);
}

/* Top row first, bottom row after — gentle stagger */
.breather.revealed .breather__line--1 { transition-delay: 0ms; }
.breather.revealed .breather__line--2 { transition-delay: 700ms; }

/* (Second breather removed — video bridge flows directly to About) */

/* --- STICKY SCROLL SECTIONS — 12-col grid, 5/7 split, full-bleed to match nav --- */
.sticky-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  padding: var(--space-xl) var(--gutter);
  width: 100%;
}

.sticky-section__text {
  grid-column: 1 / span 5; /* 5 of 12 cols */
  position: sticky;
  top: var(--space-lg);
  align-self: start;
  max-height: calc(100vh - var(--space-xl));
  padding-right: var(--space-md);
}

.sticky-section__text p {
  max-width: var(--max-prose);
  margin-bottom: 0.875rem;
}

.sticky-section__emphasis {
  font-family: var(--font-heading);
  font-size: var(--text-pull);
  font-style: italic;
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* About story section — tight top padding to keep sticky column in viewport; generous bottom */
.story-section {
  padding-top: var(--space-md);
  padding-bottom: calc(var(--space-xl) + 2em);
}

.story-section .sticky-section__text {
  top: var(--space-md);
}

.story-section .sticky-section__text > p:last-of-type {
  margin-bottom: 2em;
}

/* (Selective B&W rule removed) */

/* About portrait — keep flowers visible, shorter aspect for sticky fit */
.about-portrait {
  position: relative;
  margin-bottom: var(--space-sm);
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center center;
  border-radius: 2px;
}

.about-portrait__caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  text-align: right;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  line-height: 1.4;
}

.about-portrait__caption span:first-child {
  font-weight: 600;
}

.sticky-section__images {
  grid-column: 6 / span 7; /* 7 of 12 cols, starting at col 6 */
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
}

/* Two equal images side by side within the 7-col container */
.sticky-section__pair,
.about-grid__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
}

.sticky-section__pair img,
.about-grid__pair img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

/* Full-width image spanning the 7-col container */
.about-grid__full img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 2px;
}

.sticky-section__images img {
  width: 100%;
  border-radius: 2px;
  object-fit: cover;
}

.sticky-section__images > figure:first-child img {
  min-height: 400px;
}

/* Section headings */
.section-heading {
  font-family: var(--font-heading);
  font-size: var(--text-heading);
  font-weight: 400;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

/* Nauci dual meaning */
.nauci-dual {
  font-family: var(--font-heading);
  font-size: var(--text-pull);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

/* Systems section spacing */
.systems-section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
}

/* --- EXPANDABLE --- */
.expandable__trigger {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-sm);
  transition: color 0.3s ease;
}

.expandable__trigger:hover {
  color: var(--ink);
}

.expandable__arrow {
  transition: transform 0.3s var(--ease-out);
  display: inline-block;
}

.expandable[data-expanded="true"] .expandable__arrow {
  transform: rotate(90deg);
}

.expandable__content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-out),
              opacity 0.4s var(--ease-out),
              margin-top 0.4s var(--ease-out);
  margin-top: 0;
}

.expandable[data-expanded="true"] .expandable__content {
  max-height: 500px;
  opacity: 1;
  margin-top: var(--space-md);
}

.expandable__content p {
  margin-bottom: var(--space-sm);
}

/* --- VIDEO BRIDGE — THE LAND --- */
.video-bridge {
  position: relative;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--cream);
}

.video-bridge > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.15);
  will-change: transform;
}

.video-bridge__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-heavy);
  z-index: 1;
}

.video-bridge__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: var(--space-xl) var(--gutter);
  text-align: center;
  color: var(--text-on-dark);
}

.video-bridge__content p {
  margin-bottom: var(--space-md);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}

.video-bridge__content.revealed p {
  opacity: 1;
  transform: translateY(0);
}

.video-bridge__content.revealed p:nth-child(1) { transition-delay: 0ms; }
.video-bridge__content.revealed p:nth-child(2) { transition-delay: 500ms; }

/* --- MOOD INTERSTITIAL --- */
.mood-interstitial {
  position: relative;
  height: 50vh;
  overflow: hidden;
  background-color: var(--cream);
}

.mood-interstitial > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}

.mood-interstitial--text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mood-interstitial__scrim {
  position: absolute;
  inset: 0;
  background: var(--overlay-medium);
  z-index: 1;
}

.mood-interstitial__quote {
  position: relative;
  z-index: 2;
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.5;
  color: var(--cream);
  text-align: center;
  max-width: 640px;
  padding: 0 var(--gutter);
  margin: 0;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

/* --- PRACTICE SECTION — NAUČITI (12-col, 5/7, corridor-aligned) --- */
.practice-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  padding: var(--space-2xl) var(--gutter);
  background-color: var(--cream);
  width: 100%;
}

.practice-section__content {
  grid-column: 1 / span 5;
  text-align: left;
  padding-right: var(--space-md);
  position: sticky;
  top: calc(4.5rem + 40px);
  align-self: start;
  max-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
}

.practice-section__mark {
  width: clamp(80px, 10vw, 120px);
  height: auto;
  margin-top: auto;
  padding-top: var(--space-xl);
  opacity: 0.85;
  align-self: flex-start;
}

/* Staggered reveal — icon fires last, after right-column photos */
.reveal.reveal--delayed {
  transition-delay: 900ms;
}

.practice-section__media {
  grid-column: 6 / span 7;
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
}

.practice-section__media > figure,
.practice-section__media > div.practice-video {
  margin: 0;
  width: 100%;
}

.practice-section__media img,
.practice-section__media video {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 2px;
}

.practice-section__media .practice-video video {
  aspect-ratio: 16/9;
}

.practice-section__media .practice-photo img {
  aspect-ratio: 4/3;
}

.practice-section__media .practice-photo--portrait img {
  aspect-ratio: 3/4;
  object-position: top;
}

/* (B&W removed — all photos render in full color) */

.practice-section__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  color: var(--ink);
}

.practice-section__content p {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

/* First paragraph — plain body text, slightly larger as an opener */
.practice-section__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  margin-bottom: var(--space-md) !important;
}

/* Spacer between stanzas */
.practice-section__content p + p.practice-section__break {
  margin-top: var(--space-md);
}

.practice-section__content em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
}

.practice-section__emphasis {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-pull);
  margin-top: var(--space-lg) !important;
  margin-bottom: 0 !important;
}

/* --- NOURISH SECTION — NAHRANITI (mirror of practice, media left) --- */
.nourish-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  padding: var(--space-2xl) var(--gutter);
  background-color: var(--cream);
  width: 100%;
}

.nourish-section__media {
  grid-column: 1 / span 7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: start;
}

.nourish-media {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--cream);
  aspect-ratio: 4/5;
}

.nourish-media--full {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

.nourish-media img,
.nourish-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nourish-section__content {
  grid-column: 8 / span 5;
  text-align: left;
  padding-left: var(--space-md);
  position: sticky;
  top: calc(4.5rem + 40px);
  align-self: start;
  max-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
}

.nourish-section__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  color: var(--ink);
}

.nourish-section__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  margin-bottom: var(--space-md) !important;
}

.nourish-section__content p {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.nourish-section__emphasis {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-pull);
  margin-top: var(--space-lg) !important;
  margin-bottom: 0 !important;
}

.nourish-section__apart {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.nourish-section__close {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
}

/* Section icons — decorative marks at end of text blocks */
.section-icon {
  display: block;
  width: clamp(80px, 10vw, 120px);
  height: auto;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
  opacity: 0.85;
}

.section-icon--trowel {
  transform: rotate(-45deg);
}

.section-icon--shears {
  width: clamp(80px, 10vw, 120px);
}

/* --- BUILD SECTION — SAGRADITI (text left, media right, 2-col image grid) --- */
.build-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  padding: var(--space-2xl) var(--gutter);
  background-color: var(--cream);
  width: 100%;
}

.build-section__content {
  grid-column: 1 / span 5;
  text-align: left;
  padding-right: var(--space-md);
  position: sticky;
  top: calc(4.5rem + 40px);
  align-self: start;
  max-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
}

.build-section__media {
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: start;
}

.build-media {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--cream);
  aspect-ratio: 4/5;
}

.build-media--full {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

.build-media img,
.build-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.build-section__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  color: var(--ink);
}

.build-section__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  margin-bottom: var(--space-md) !important;
}

.build-section__content p {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.build-section__emphasis {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-pull);
  margin-top: var(--space-lg) !important;
  margin-bottom: 0 !important;
}

/* Stećak mark — bottom-left of the sticky text panel */
.build-section__mark {
  width: clamp(80px, 10vw, 120px);
  height: auto;
  margin-top: auto;
  padding-top: var(--space-xl);
  opacity: 0.9;
  align-self: flex-start;
}

/* --- CREDENTIALS SECTION — 12-col, 5/7 --- */
.credentials-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  padding: var(--space-xl) var(--gutter);
  background-color: #F5EBDD;
  width: 100%;
  align-items: stretch;
}

.credentials-section__left {
  grid-column: 1 / span 7;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.credentials-section__right {
  grid-column: 8 / span 5;
  display: flex;
}

.credentials-section__right figure {
  margin: 0;
  width: 100%;
  height: 100%;
}

.credentials-section__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  border-radius: 2px;
  min-height: 500px;
}

.credentials-section__photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 65%;
  border-radius: 2px;
}

.credentials-section__text p {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.credentials-section__text em strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-style: italic;
  font-size: 1em;
}

/* Olive logos — single row, left-aligned flush with text paragraphs above */
.partner-logos--olive {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  margin-left: 0;
  padding: var(--space-sm) 0 var(--space-md);
}

.partner-logos--olive img {
  opacity: 1;
  max-height: 30px;
  height: auto;
  width: auto;
  flex: 0 1 auto;
  min-width: 0;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.3s ease;
}

.partner-logos--olive img:hover {
  opacity: 0.75;
}

/* --- NAUCI HERO — two photos side by side, dark overlay, text on top --- */
.nauci-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: clamp(var(--space-2xl), 14vh, 8rem) var(--gutter);
  padding-left: calc(1 * (100% / 12) + var(--gutter));
}

.nauci-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.nauci-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

.nauci-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: left;
}

.nauci-hero__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.nauci-hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-display-lg);
  line-height: var(--leading-tight);
  color: var(--text-on-dark);
  margin: 0 0 var(--gap-block);
}

.nauci-hero__content p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.9375rem, 0.875rem + 0.2vw, 1rem);
  line-height: 1.65;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: var(--space-sm);
}

/* Partner logos — hero variant (light, left-aligned) */
.partner-logos--hero {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-top: var(--space-lg);
}

.partner-logos.partner-logos--hero {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 20px;
  max-width: none;
}

.partner-logos.partner-logos--hero img {
  max-height: 38px;
  height: auto;
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.partner-logos.partner-logos--hero img:hover {
  opacity: 0.75;
}

@media (max-width: 767px) {
  .nauci-hero {
    min-height: 100vh;
    align-items: flex-end;
    padding-left: var(--gutter);
    padding-bottom: var(--space-xl);
  }
  .partner-logos.partner-logos--hero {
    gap: 14px;
  }
  .partner-logos.partner-logos--hero img {
    max-height: 24px;
  }
}

/* (Pull quote section removed — quote now lives in experiences-intro) */

/* Video inside image grids — match image sizing exactly */
.about-grid__full video,
.about-grid__pair video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-grid__full video {
  aspect-ratio: 16/9;
}

/* --- TRUST SECTION --- */
.trust-section {
  padding: var(--space-2xl) var(--gutter);
  text-align: center;
  background-color: var(--near-white);
}

.trust-section__content {
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  max-width: var(--max-content);
  margin: 0 auto;
}

.partner-logos img {
  height: 48px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.partner-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- TEACH SECTION — Two tracks, media column matches content height --- */
.teach-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  padding: var(--space-2xl) var(--gutter);
  background-color: var(--cream);
  width: 100%;
  align-items: stretch;
}

.teach-section__media {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Video grows to fill remaining height so its bottom aligns with the
   right-column content's last element (Consult button). */
.teach-section__video {
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--cream);
  aspect-ratio: 4/5;
  flex: 1 1 auto;
  min-height: 0;
}

.teach-section__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teach-section__portrait {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3/2;
}

.teach-section__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teach-section__content {
  grid-column: 7 / span 6;
  display: flex;
  flex-direction: column;
  padding-left: var(--space-md);
}

.teach-section__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-xl);
}

.teach-section__divider {
  height: 1px;
  background-color: var(--border-subtle);
  margin: var(--space-xl) 0;
}

/* Track = one of the two offerings */
.teach-track {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.teach-track__tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.teach-track__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.625rem, 1.2rem + 1.1vw, 2.125rem);
  line-height: 1.2;
  margin: 0 0 var(--space-md);
  color: var(--ink);
}

.teach-track__body p {
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  max-width: 56ch;
}

.teach-track__audience {
  font-style: italic;
  color: var(--stone);
  margin-top: var(--space-sm);
}

.teach-track__note {
  font-size: var(--text-caption);
  font-style: italic;
  color: var(--stone);
  margin-top: var(--space-md);
}

.teach-track__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.9rem 1.75rem;
  border: 1px solid var(--ink);
  background: none;
  text-decoration: none;
  margin-top: var(--space-md);
  transition: background-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out),
              transform 160ms var(--ease-out);
}

.teach-track__cta:hover {
  background-color: var(--ink);
  color: var(--cream);
}

.teach-track__cta:active {
  transform: scale(0.97);
}

/* Architecture track footer — button left, bird icon flush right */
.teach-track__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.teach-track__footer .teach-track__cta {
  margin-top: 0;
}

.teach-track__bird {
  width: clamp(96px, 10vw, 140px);
  height: auto;
  margin: 0;
  opacity: 0.9;
  flex-shrink: 0;
  align-self: flex-end;
}

@media (max-width: 1023px) {
  .teach-section__video {
    aspect-ratio: 16/10;
  }
  .teach-section__portrait {
    aspect-ratio: 3/2;
  }
}

@media (max-width: 767px) {
  .teach-section {
    grid-template-columns: 1fr;
  }
  .teach-section__media,
  .teach-section__content {
    grid-column: 1 / -1;
    padding-left: 0;
  }
  .teach-section__media {
    margin-bottom: var(--space-lg);
  }
  /* Respect the source 9:16 vertical so Hrvoje isn't cropped at the head. */
  .teach-section__video {
    aspect-ratio: 9 / 16;
  }
  .teach-section__video video {
    object-position: center top;
  }
}

/* --- EXPERIENCES INTRO — Kakuzō pull quote --- */
.experiences-intro {
  position: relative;
  padding: clamp(var(--space-2xl), 18vh, 12rem) var(--gutter);
  text-align: center;
  background-color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.experiences-intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.experiences-intro__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.experiences-intro__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.experiences-intro__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 1rem + 1.4vw, 2rem);
  line-height: 1.4;
  margin: 0 0 var(--space-md);
  color: var(--text-on-dark);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.4);
}

.experiences-intro__attribution {
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 1rem;
  color: var(--text-on-dark);
  opacity: 0.85;
  margin-bottom: 0;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   EXPERIENCES SECTION — Editorial
   Architectural hierarchy, thin rules, sparing font use
   ============================================================ */
.experiences-section {
  background-color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6rem);
  scroll-margin-top: 4.5rem;
}

/* Centered hero header — mirrors .subpage__heading */
.experiences-section__heading {
  max-width: var(--max-content);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding: 0 var(--gutter);
  text-align: center;
}

.experiences-section__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

.experiences-section__title {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
  padding-bottom: 0.32em;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}

.experiences-section__subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.0625rem, 0.9rem + 0.4vw, 1.375rem);
  line-height: 1.5;
  color: var(--stone);
  max-width: 560px;
  margin: clamp(1rem, 2vw, 1.75rem) auto 0;
}

/* Label + rule row */
.experiences-section__section-head {
  max-width: var(--max-content);
  margin: clamp(2rem, 4vw, 3.25rem) auto 0;
  padding: 0 var(--gutter);
}

.experiences-section__labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.experiences-section__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.experiences-section__note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: left;
  line-height: 1.5;
}

.experiences-section__rule {
  height: 1px;
  width: 100%;
  background-color: var(--border-medium);
}

/* Card grid */
.experience-cards {
  max-width: var(--max-content);
  margin: clamp(1.75rem, 3vw, 2.75rem) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  align-items: stretch;
}

/* Card — flat, editorial, no surface fill */
.experience-card {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.experience-card__image {
  overflow: hidden;
  aspect-ratio: 4/5;
  margin: 0 0 1.125rem;
  background: linear-gradient(135deg, #e8d9c4 0%, #d6c4aa 100%);
}

.experience-card__image img,
.experience-card__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out);
}

.experience-card:hover .experience-card__image img,
.experience-card:hover .experience-card__image video {
  transform: scale(1.03);
}

.experience-card__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.4rem;
}

.experience-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.375rem, 1.05rem + 0.7vw, 1.75rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.25rem;
}

.experience-card__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--stone);
  margin: 0 0 1.25rem;
  max-width: 32ch;
}

/* Architectural meta strip — label / value stacks, thin rule above and below */
.experience-card__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
  padding: 0.875rem 0;
  margin: 0 0 1.25rem;
}

.experience-card__meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.experience-card__meta dt {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.experience-card__meta dd {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  min-height: 2.3em;
}

.experience-card__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 1.25rem;
  flex: 1 1 auto;
}

/* Takeaway — bottom block, subtle label, thin top rule */
.experience-card__takeaway {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin: 0 0 1.5rem;
}

.experience-card__takeaway-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.4rem;
}

.experience-card__takeaway p {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

.experience-card__cta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 1rem 1.5rem;
  border: 1px solid var(--ink);
  background: none;
  text-align: center;
  cursor: pointer;
  align-self: stretch;
  transition: background-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out),
              transform 160ms var(--ease-out);
}

.experience-card__cta:hover {
  background-color: var(--ink);
  color: var(--cream);
}

.experience-card__cta:active {
  transform: scale(0.97);
}

/* --- NOTES SECTION — card-aligned: 3-col grid matching Experience Cards --- */
.notes-section {
  padding: 0 var(--gutter) var(--space-2xl);
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
}

/* Thin divider rules, spanning card-grid width */
.notes-section__rule {
  height: 1px;
  width: 100%;
  background-color: var(--border-subtle);
}

.notes-section__rule:first-child {
  margin-top: 0;
  margin-bottom: var(--space-md);
}

.notes-section__rule:nth-of-type(2) {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

/* Notes — single full-width column spanning the experience-cards grid */
.notes-grid {
  display: block;
}

.note {
  margin-bottom: 0;
  text-align: left;
}

.note__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--ink);
  text-align: left;
}

.note p {
  margin-bottom: 0.65rem;
  line-height: 1.55;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--stone);
  text-align: left;
}

.note p:last-child {
  margin-bottom: 0;
}

/* Functional requirement — centered full-width below bottom divider, heavier weight */
.notes-section__functional {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 700;
  margin-top: var(--space-md);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- PARTNERS SECTION --- */
.partners-section {
  padding: var(--space-2xl) var(--gutter);
  background-color: var(--near-white);
}

.partners-section > .section-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.partner-editorial {
  max-width: 700px;
  margin: 0 auto;
}

.partner-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.partner-item:last-child {
  border-bottom: none;
}

.partner-item__logo {
  width: 80px;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-item:hover .partner-item__logo {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-item__desc {
  font-size: var(--text-body);
  line-height: 1.6;
}

/* --- SUBPAGE NAV (sticky ink-on-cream, rozeta + wordmark) --- */
.subpage-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gutter);
  background-color: var(--cream);
  border-bottom: 1px solid var(--border-subtle);
}

/* Subpage with hero — transparent nav overlaying the hero image */
.subpage--hero .subpage-nav {
  position: fixed;
  background-color: transparent;
  border-bottom: none;
  transition: background-color 0.3s var(--ease-out);
}

.subpage--hero .subpage-nav.scrolled {
  background-color: rgba(255, 240, 225, 0.95) /* surface-primary with opacity */;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}

.subpage--hero .subpage-nav .menu-trigger__rozeta,
.subpage--hero .subpage-nav .nav-mark {
  background-color: var(--cream);
}

.subpage--hero .subpage-nav .menu-trigger__label,
.subpage--hero .subpage-nav .nav-cta {
  color: var(--cream);
}

.subpage--hero .subpage-nav.scrolled .menu-trigger__rozeta,
.subpage--hero .subpage-nav.scrolled .nav-mark {
  background-color: var(--brand-mark);
}

.subpage--hero .subpage-nav.scrolled .menu-trigger__label,
.subpage--hero .subpage-nav.scrolled .nav-cta {
  color: var(--ink);
}

.subpage-nav .menu-trigger__rozeta,
.subpage-nav .nav-mark {
  background-color: var(--brand-mark);
}

.subpage-nav .menu-trigger__label {
  color: var(--ink);
}

.subpage-nav .nav-cta {
  color: var(--ink);
}

.subpage-nav .nav-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 42px;
  -webkit-mask-image: url('../assets/logos/mrvica-wordmark-horizontal.png');
  mask-image: url('../assets/logos/mrvica-wordmark-horizontal.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 1;
}

/* --- SUBPAGE LAYOUT — Editorial --- */
.subpage {
  background-color: var(--cream);
}

.subpage__heading {
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(2rem, 4vw, 3rem);
}

.subpage__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

.subpage__title--underlined {
  display: inline-block;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1.5rem, 1rem + 1.2vw, 2.25rem);
}

.subpage__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink);
  margin-top: clamp(1.25rem, 2vw, 2rem);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.subpage__subtitle--italic {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.125rem, 0.9rem + 0.6vw, 1.5rem);
  letter-spacing: 0;
  text-transform: none;
  color: var(--stone);
}

/* Section label + rule row */
.subpage__section-head {
  max-width: var(--max-content);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 0 var(--gutter);
}

.subpage__section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.75rem;
  display: block;
}

.subpage__rule {
  height: 1px;
  background-color: var(--border-medium);
  width: 100%;
}

/* Card grid wrapper + coming-soon overlay */
.subpage__grid-wrap {
  position: relative;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}

.subpage__grid--faded {
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.subpage__coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.subpage__coming-soon span {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 2rem + 2.5vw, 4rem);
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* --- SURROUNDINGS GRID (4 cols desktop) --- */
.surroundings-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  align-items: start;
}

.editorial-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.editorial-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #e8d9c4 0%, #d6c4aa 100%);
  margin-bottom: 0.875rem;
}

.editorial-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.editorial-card:hover .editorial-card__image img {
  transform: scale(1.03);
}

.editorial-card__tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.375rem;
  display: block;
}

.editorial-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.125rem, 0.9rem + 0.5vw, 1.375rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

/* --- JOURNAL GRID (3 cols desktop) --- */
.journal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  align-items: start;
}

.journal-cards .editorial-card__image {
  aspect-ratio: 4/5;
  margin-bottom: 0.875rem;
}

.journal-cards .editorial-card__title {
  font-size: clamp(1.125rem, 0.9rem + 0.5vw, 1.375rem);
  line-height: 1.25;
}

.journal-cards .editorial-card__tags {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.375rem;
}

.journal-cards .editorial-card__tags span + span::before {
  content: ', ';
}

/* Subpage responsive */
@media (max-width: 1023px) {
  .surroundings-cards,
  .journal-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .surroundings-cards,
  .journal-cards {
    grid-template-columns: 1fr;
  }
}

/* --- FOOTER — Ground line --- */
.site-footer {
  background-color: transparent;
  color: var(--ink);
  padding: clamp(4rem, 6vw, 5rem) var(--gutter);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-footer a:hover {
  opacity: 0.55;
}

.site-footer__brand {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.site-footer__lockup {
  display: block;
  width: clamp(140px, 20vw, 200px);
  height: auto;
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.site-footer__legal {
  font-size: 0.6875rem;
  opacity: 0.5;
  letter-spacing: 0.08em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
}

.site-footer__dot {
  opacity: 0.6;
  user-select: none;
}

.site-footer__colophon {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: none;
  opacity: 0.38;
  text-align: center;
  margin: 0.75rem 0 0;
}

.site-footer__colophon a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.site-footer__colophon a:hover {
  opacity: 0.7;
}

/* --- BOOKING MODAL --- */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.booking-modal.open {
  opacity: 1;
  pointer-events: all;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
}

.booking-modal__panel {
  position: relative;
  background-color: var(--cream);
  width: min(560px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-lg);
  transform: scale(0.95) translateY(10px);
  opacity: 0;
  transition: transform 0.4s var(--ease-drawer),
              opacity 0.3s var(--ease-out);
}

.booking-modal.open .booking-modal__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.booking-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.75rem;
  color: var(--ink);
  line-height: 1;
  transition: transform 160ms var(--ease-out);
}

.booking-modal__close:active {
  transform: scale(0.97);
}

.booking-modal__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.booking-modal__rozeta {
  width: 32px;
  height: 32px;
  margin: 0 auto var(--space-sm);
  background-color: var(--ink);
  -webkit-mask-image: url('../assets/logos/mrvica-rozeta.png');
  mask-image: url('../assets/logos/mrvica-rozeta.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.booking-modal__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
}

.booking-modal__subtitle {
  font-size: var(--text-caption);
  color: var(--sage);
  margin-top: var(--space-xs);
}

.booking-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Calendar mockup */
.booking-cal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.booking-cal__month {
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

.booking-cal__prev,
.booking-cal__next {
  font-size: 1.25rem;
  color: var(--ink);
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
}

.booking-cal__prev:hover,
.booking-cal__next:hover {
  color: var(--sage);
}

.booking-cal__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-xs);
}

.booking-cal__dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.booking-cal__date {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-caption);
  border: 1px solid transparent;
  transition: background-color 0.2s ease,
              border-color 0.2s ease,
              transform 160ms var(--ease-out);
  cursor: pointer;
}

.booking-cal__date:hover {
  border-color: var(--sage);
}

.booking-cal__date:active {
  transform: scale(0.95);
}

.booking-cal__date.selected {
  background-color: var(--sage);
  color: var(--cream);
}

.booking-cal__date.past {
  opacity: 0.25;
  pointer-events: none;
}

.booking-cal__date.empty {
  pointer-events: none;
}

/* Booking details */
.booking-modal__guests-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--border-subtle);
}

.booking-modal__guests-row label {
  font-size: var(--text-caption);
  letter-spacing: 0.05em;
}

.booking-modal__guests-row select {
  font-family: var(--font-body);
  font-size: var(--text-body);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.booking-modal__summary {
  padding: var(--space-sm) 0;
}

.booking-modal__selected-date {
  font-size: var(--text-caption);
  color: var(--stone);
}

.booking-modal__total {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-top: var(--space-xs);
}

.booking-modal__submit {
  width: 100%;
  padding: 0.9rem;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  transition: background-color 0.3s var(--ease-out),
              transform 160ms var(--ease-out),
              opacity 0.3s ease;
}

.booking-modal__submit:not(:disabled):hover {
  background-color: var(--sage);
  border-color: var(--sage);
}

.booking-modal__submit:active {
  transform: scale(0.97);
}

.booking-modal__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.booking-modal__note {
  font-size: 0.75rem;
  color: var(--stone);
  text-align: center;
  line-height: 1.5;
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Editorial fade-up — more pronounced lift, paced so the motion is felt */
.img-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.img-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  .hero-strip {
    animation-duration: 0s;
  }

  .splash-mark {
    transition-duration: 0.2s;
  }

  /* For reduce-motion users: remove translate (that's 'motion') but keep the
     opacity fade so content still enters gracefully. Opacity-only change is
     not considered motion by the spec. */
  .reveal,
  .img-reveal,
  .breather__line {
    transform: none !important;
  }
  .img-reveal.revealed,
  .reveal.revealed {
    transform: none !important;
  }

  .menu-drawer {
    transition-duration: 0.2s;
  }

  .menu-drawer__link {
    transition-duration: 0.1s;
    transform: none;
  }
}

/* --- RESPONSIVE: TABLET --- */
@media (max-width: 1199px) {
  .hero-section {
    height: 70vh;
  }

  .experience-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- RESPONSIVE: MOBILE --- */
@media (max-width: 767px) {
  /* Scale spacing down for mobile — desktop 10rem/6rem/4rem feels cavernous on a phone */
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
  }

  .hero-section {
    height: 100dvh;
  }

  .sticky-section {
    grid-template-columns: 1fr;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .sticky-section__text,
  .sticky-section__images {
    grid-column: 1 / -1;
    position: relative;
    top: auto;
    max-height: none;
    padding-right: 0;
    padding-left: 0;
  }

  .sticky-section__text {
    margin-bottom: var(--space-md);
  }

  .sticky-section__pair,
  .about-grid__pair {
    grid-template-columns: 1fr;
  }

  /* Practice section → stack on mobile */
  .practice-section,
  .credentials-section,
  .nourish-section,
  .build-section {
    grid-template-columns: 1fr;
  }

  .practice-section__content,
  .nourish-section__content,
  .build-section__content {
    position: relative;
    top: auto;
    max-height: none;
  }

  .notes-grid {
    grid-template-columns: 1fr;
    row-gap: var(--space-xl);
  }

  .practice-section__content,
  .practice-section__media,
  .credentials-section__left,
  .credentials-section__right,
  .nourish-section__media,
  .nourish-section__content,
  .build-section__content,
  .build-section__media {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-left: 0;
  }

  .practice-section__content,
  .nourish-section__media,
  .build-section__content {
    margin-bottom: var(--space-lg);
  }

  /* NAHRANITI: text first on mobile (media is first in DOM) */
  .nourish-section__content {
    order: -1;
  }

  /* Appointment note: right-align on mobile */
  .experiences-section__labels {
    flex-direction: column;
    align-items: flex-start;
  }

  .credentials-section__right img {
    min-height: auto;
    aspect-ratio: 4/3;
  }

  .experience-cards {
    grid-template-columns: 1fr;
    gap: clamp(2.25rem, 6vw, 3rem);
  }

  /* Expressive image grids — collapse to 1 col on mobile so photos breathe */
  .nourish-section__media,
  .build-section__media {
    grid-template-columns: 1fr;
  }

  /* Full-row modifier now identical to default — keep the rule harmless */
  .nourish-media--full,
  .build-media--full {
    grid-column: 1 / -1;
  }

  /* 2-up items on mobile use the full-row aspect since they're now full-width */
  .nourish-media,
  .build-media {
    aspect-ratio: 4/3;
  }

  /* Experience card meta strip — stack if values wrap awkwardly at 390px */
  .experience-card__meta {
    gap: 1rem;
  }
  .experience-card__meta dd {
    font-size: 0.8125rem;
  }

  /* Partner logos — shrink slightly so all 5 fit one row at 390px */
  .partner-logos--olive img {
    max-height: 22px;
  }
  .partner-logos--olive {
    gap: 12px;
  }

  /* Teach section bird — keep visible but smaller so it doesn't dominate */
  .teach-track__bird {
    width: clamp(72px, 22vw, 96px);
  }

  /* Build section stećak mark — reduce so it fits the single-col content */
  .build-section__mark {
    width: clamp(96px, 28vw, 128px);
  }

  .breather {
    min-height: 25vh;
    padding: var(--space-lg) var(--gutter);
  }

  .partner-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
  }

  .hero-cta-pair {
    gap: 0.75rem;
  }

  .hero-cta-pair .nav-cta {
    font-size: 0.6875rem;
  }

  .hero-location {
    display: none;
  }

  .booking-modal__panel {
    padding: var(--space-md);
  }
}
