/* =========================================================
   MARIA RISEN PHOTOGRAPHY — main styles
   Colors, fonts and animation speed live in :root below.
   Change them here and the whole site follows.
   ========================================================= */

:root {
  /* Colors */
  --cream: #F6F1EA;
  --cream-deep: #EDE5DA;
  --blue: #8FA1AD;
  --blue-deep: #6F8391;
  --sand: #C9B8A6;
  --ink: #1E1D1C;
  --ink-soft: #4A4744;
  --line: rgba(30, 29, 28, 0.18);
  --line-light: rgba(246, 241, 234, 0.45);

  /* Placeholder boxes (will be replaced by photos) */
  --ph-bg: #FBF8F4;
  --ph-border: #DDD3C6;

  /* Fonts */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* ONE animation rhythm for the whole site */
  --dur: 1.1s;
  --dur-fast: 0.45s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --stagger: 0.12s;

  /* Layout */
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 76px;
  --header-h-small: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden; overflow-x: clip;
  max-width: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
em { font-style: italic; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Placeholder (a photo will go here) ---------- */
.ph {
  position: relative;
  background: var(--ph-bg);
  border: 1px solid var(--ph-border);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8px;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: #A89A8A;
}
/* When a real photo is inside, the label disappears */
.ph:has(img)::after { content: none; }
.ph:has(img) { border: 0; background: transparent; }
.ph > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--cream); opacity: 0.85; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(44px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0 0 2rem;
}
.display em { text-transform: none; font-style: italic; }
.display--sm { font-size: clamp(38px, 6vw, 84px); }
.display--light { color: var(--cream); }

.link-line {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size var(--dur-fast) var(--ease);
}
.link-line:hover { background-size: 30% 1px; }
.link-line--light { color: var(--cream); }

/* ---------- HEADER (always visible) ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(246, 241, 234, 0);
  transition: height var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.header.is-scrolled {
  height: var(--header-h-small);
  background: rgba(246, 241, 234, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
.logo {
  font-family: var(--serif);
  font-size: 22px; letter-spacing: 0.2em; text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 8px 0; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur-fast) var(--ease);
}
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border: 1px solid var(--ink); padding: 8px 18px; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink); color: var(--cream); }

.has-sub { position: relative; }
.sub {
  list-style: none; margin: 0; padding: 18px 26px;
  position: absolute; top: calc(100% + 10px); left: -26px;
  background: var(--cream); box-shadow: 0 0 0 1px var(--line);
  min-width: 210px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub {
  opacity: 1; visibility: visible; transform: none;
}
.sub a {
  display: block; padding: 6px 0;
  font-family: var(--serif); font-size: 22px;
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast);
}
.sub a:hover { transform: translateX(8px); color: var(--blue-deep); }

.burger { display: none; width: 34px; height: 34px; position: relative; z-index: 60; }
.burger span {
  position: absolute; left: 4px; right: 4px; height: 1px; background: var(--ink);
  transition: transform var(--dur-fast) var(--ease);
}
.burger span:first-child { top: 13px; }
.burger span:last-child { top: 21px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 1. HERO ---------- */
.hero {
  padding: calc(var(--header-h) + clamp(30px, 6vw, 80px)) var(--gutter) clamp(30px, 4vw, 60px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-title {
  margin: 0 0 2.6rem;
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(56px, 8vw, 150px); line-height: 0.9; letter-spacing: -0.01em;
}
.hero-title em { text-transform: none; }
.hero > * { min-width: 0; }
.hero-line { display: block; }
.hero-line--indent { padding-left: 0.9em; }
.hero-photos { position: relative; padding-bottom: 40px; }
.hero-photo { aspect-ratio: 0.75; width: 82%; margin-left: auto; }
.hero-photo-small {
  position: absolute; left: 0; bottom: 130px; z-index: 3;
  width: 38%; aspect-ratio: 0.8;
  box-shadow: 0 0 0 10px var(--cream);
}
.hero-sub {
  margin: 34px 0 0; text-align: right; position: relative; z-index: 4;
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
}
.hero-sub em { text-transform: none; font-family: var(--serif); font-size: 18px; letter-spacing: 0.02em; }
.hero-sub .dot { margin: 0 10px; }

/* ---------- 2. INTRO ---------- */
.intro {
  padding: clamp(50px, 7vw, 100px) var(--gutter) clamp(90px, 12vw, 160px);
  max-width: 1280px; margin: 0 auto;
}
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end;
}
.intro-photo { aspect-ratio: 0.8; width: min(100%, 440px); }
.intro-text { max-width: 560px; font-size: 19px; color: var(--ink-soft); min-width: 0; }

/* ---------- 3. SESSIONS ---------- */
.sessions {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  border-top: 1px solid var(--line);
}
.sessions-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.sessions-list { list-style: none; margin: 0; padding: 0; }
.sessions-list li { border-bottom: 1px solid var(--line); }
.sessions-list a {
  display: flex; align-items: baseline; gap: 22px;
  padding: 14px 0;
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(38px, 6.2vw, 92px); line-height: 1;
  color: rgba(30, 29, 28, 0.32);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.sessions-list a .num {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em;
  transform: translateY(-1.2em);
}
.sessions-list a.is-active, .sessions-list a:hover { color: var(--ink); transform: translateX(14px); }
.sessions-photos {
  position: sticky; top: calc(var(--header-h-small) + 32px);
  aspect-ratio: 0.78;
}
.session-photo {
  position: absolute; inset: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--dur) var(--ease);
}
.session-photo.is-active { clip-path: inset(0 0 0 0); z-index: 1; }

/* ---------- 4. SELECTED WORK (justified rows) ---------- */
.work { padding: clamp(80px, 12vw, 160px) var(--gutter); }
.work-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.work-head .display { margin: 0; }
.rows { display: flex; flex-wrap: wrap; gap: 8px; }
.rows > * { flex: 0 0 auto; }
.rows > * > img { transition: transform 1.6s var(--ease); }
.rows > *:hover > img { transform: scale(1.04); }

/* ---------- 5. ABOUT TEASER ---------- */
.about-teaser {
  position: relative; overflow: hidden;
  background: var(--blue); color: var(--cream);
  padding: clamp(90px, 12vw, 170px) var(--gutter);
}
.about-word {
  position: absolute; top: clamp(20px, 4vw, 50px); left: var(--gutter); right: var(--gutter);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(64px, 15vw, 280px); line-height: 0.85;
  white-space: nowrap; color: rgba(246, 241, 234, 0.9);
  pointer-events: none;
}
.about-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px);
  align-items: end; margin-top: clamp(80px, 14vw, 220px);
}
.about-photo { aspect-ratio: 0.78; width: min(100%, 460px); justify-self: center; border-color: rgba(30,29,28,.15); }
.about-text { max-width: 520px; padding-bottom: 20px; }
.about-text p:not(.eyebrow) { color: rgba(246, 241, 234, 0.92); }

/* ---------- 6. HOW IT WORKS ---------- */
.steps { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); }
.steps-bg {
  position: absolute; inset: -10% 0; border: 0;
  background: #3A3836;
}
.steps-bg::after { color: rgba(246,241,234,.4); align-items: flex-start; padding-top: 30px; }
.steps-inner { position: relative; z-index: 1; padding: clamp(100px, 14vw, 200px) var(--gutter); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 3rem; }
.step {
  border: 1px solid rgba(246, 241, 234, 0.3);
  background: var(--blue-deep);
  padding: 32px 28px 26px;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.step:hover { background: var(--blue); transform: translateY(-6px); }
.step-num { font-family: var(--serif); font-size: 46px; line-height: 1; display: block; margin-bottom: 26px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 10px; }
.step p { font-size: 15px; color: var(--cream); margin: 0; }

/* ---------- 8. CTA ---------- */
.cta {
  background: var(--ink); color: var(--cream);
  text-align: center;
  padding: clamp(110px, 16vw, 220px) var(--gutter);
  border-top: 1px solid rgba(246,241,234,.12);
}
.cta-title {
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(52px, 10vw, 160px); line-height: 0.92; margin: 0 0 3rem;
}
.cta-title em { text-transform: none; }
.btn {
  display: inline-block;
  border: 1px solid var(--cream);
  padding: 18px 44px;
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color var(--dur-fast) var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: none; }

.btn--dark { border-color: var(--ink); }
.btn--dark::before { background: var(--ink); }
.btn--dark:hover { color: var(--cream); }
.eyebrow-sub { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: 0.22em; opacity: 0.75; }

/* ---------- 9. FOOTER ---------- */
.footer { padding: 80px var(--gutter) 30px; background: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-logo { font-family: var(--serif); font-size: 30px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-logo em { text-transform: none; letter-spacing: 0; }
.footer-small { font-size: 14px; color: var(--ink-soft); }
.footer-head { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue-deep); }
.footer-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.footer-list a:hover { color: var(--blue-deep); }
.footer-bottom {
  margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12px; letter-spacing: 0.1em; color: var(--ink-soft);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Custom cursor (desktop only) ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none;
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid var(--ink);
  translate: -50% -50%;
  display: none; align-items: center; justify-content: center;
  transition: width var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast);
  mix-blend-mode: normal;
}
.cursor span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; transition: opacity var(--dur-fast); color: var(--cream); }
.cursor.is-link { width: 46px; height: 46px; }
.cursor.is-photo { width: 84px; height: 84px; background: var(--ink); border-color: var(--ink); }
.cursor.is-photo span { opacity: 1; }
@media (pointer: fine) { .cursor { display: flex; } }

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.reveal.is-in { opacity: 1; transform: none; }
/* Curtain: a cover the color of the section slides away and opens the photo */
.reveal-curtain::before {
  content: ''; position: absolute; inset: -1px; z-index: 2;
  background: var(--cover, var(--cream));
  transform-origin: top;
  transition: transform calc(var(--dur) * 1.2) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.reveal-curtain.is-in::before { transform: scaleY(0); }
.about-teaser { --cover: var(--blue); }
.hero-line { transition: transform calc(var(--dur) * 1.2) var(--ease), opacity calc(var(--dur) * 1.2) var(--ease); }
.js .hero-line { opacity: 0; transform: translateX(-12vw); }
.js .hero-line:nth-child(2) { transition-delay: .12s; }
.js .hero-line:nth-child(3) { transition-delay: .24s; }
.is-loaded .hero-line { opacity: 1; transform: none; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.nav-link.is-current::after { transform: scaleX(1); }

/* 1. ABOUT ME */
.ab-hero {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px);
  align-items: center;
  padding: calc(var(--header-h) + clamp(30px, 5vw, 70px)) var(--gutter) clamp(80px, 10vw, 140px);
}
.ab-photo { width: 100%; max-width: 560px; aspect-ratio: 0.78; }
.ab-hero-text { max-width: 560px; font-size: 19px; color: var(--ink-soft); }
.ab-title {
  margin: 0 0 2.4rem; color: var(--ink);
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(72px, 10vw, 180px); line-height: 0.86; letter-spacing: -0.01em;
}
.ab-title em { text-transform: none; }
.ab-title-line { display: block; }
.ab-title-line--indent { padding-left: 1.1em; }
.ab-lead { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); color: var(--ink); margin-bottom: 0.6rem; line-height: 1.2; }

/* 2. WHAT I BRING */
.ab-approach {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  border-top: 1px solid var(--line);
}
.ab-approach > * { min-width: 0; }
.ab-approach-photos { position: relative; padding-bottom: 12%; }
.ab-approach-big { width: 78%; aspect-ratio: 0.8; }
.ab-approach-small {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 46%; aspect-ratio: 1; box-shadow: 0 0 0 10px var(--cream);
}
.ab-approach-text { max-width: 560px; }
.bring { margin: 0; }
.bring-item { padding: 26px 0; border-top: 1px solid var(--line); }
.bring-item:last-child { border-bottom: 1px solid var(--line); }
.bring dt { font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); line-height: 1.1; margin-bottom: 10px; }
.bring dd { margin: 0; color: var(--ink-soft); }

/* 3. TIMELINE — top to bottom */
.tl { padding: clamp(80px, 12vw, 160px) var(--gutter); border-top: 1px solid var(--line); }
.tl-head { text-align: center; margin-bottom: clamp(60px, 8vw, 110px); }
.tl-head .display { margin: 0; }
.tl-script {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(34px, 4vw, 56px); line-height: 1; color: var(--blue-deep);
  margin: 0 0 14px;
}
.tl-list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1100px;
  position: relative; display: flex; flex-direction: column; gap: clamp(60px, 8vw, 110px);
}
/* the line draws itself while you scroll */
.tl-list::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line);
}
.tl-list::after {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--ink);
  transform: scaleY(var(--tl, 0)); transform-origin: top;
}
.tl-item {
  display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  grid-template-areas: "photo year h" "photo . p";
  grid-template-rows: auto 1fr; column-gap: 0; row-gap: 10px;
  position: relative;
}
.tl-item:nth-child(even) { grid-template-areas: "h year photo" "p . photo"; }
.tl-item:nth-child(even) h3, .tl-item:nth-child(even) p { text-align: right; }
.tl-year {
  grid-area: year; justify-self: center; align-self: start; position: relative; z-index: 1;
  background: var(--cream); padding: 6px 0;
  font-size: 14px; letter-spacing: 0.3em; font-weight: 400; white-space: nowrap;
}
.tl-photo { grid-area: photo; width: 100%; aspect-ratio: var(--r, 0.78); max-width: 100%; }
.tl-photo[style*=".78"] { width: 70%; }
.tl-item:nth-child(odd) .tl-photo { justify-self: end; }
.tl-item:nth-child(even) .tl-photo { justify-self: start; }
.tl-item h3 { grid-area: h; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; margin: 0; }
.tl-item p { grid-area: p; font-size: 16px; color: var(--ink-soft); margin: 0; max-width: 420px; }
.tl-item:nth-child(even) p { justify-self: end; }
.tl-item > * {
  opacity: 0; transform: translateY(30px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tl-item.is-in > * { opacity: 1; transform: none; }
.tl-item.is-in .tl-photo { transition-delay: .1s; }
.tl-item.is-in h3 { transition-delay: .2s; }
.tl-item.is-in p { transition-delay: .3s; }
.tl-item .tl-photo > img { transition: transform 1.6s var(--ease); }
.tl-item:hover .tl-photo > img { transform: scale(1.05); }

/* 4. FACTS */
.facts { background: var(--blue); color: var(--cream); }
.facts-inner { padding: clamp(90px, 12vw, 160px) var(--gutter); max-width: 1100px; margin: 0 auto; }
.facts-list { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.facts-list li {
  font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3;
  padding: 22px 0; border-top: 1px solid var(--line-light);
  transition: padding-left var(--dur-fast) var(--ease);
}
.facts-list li:last-child { border-bottom: 1px solid var(--line-light); }
.facts-list li:hover { padding-left: 16px; }

/* SMALL LIGHT CTA */
.cta-light {
  text-align: center; padding: clamp(70px, 9vw, 120px) var(--gutter);
  border-top: 1px solid var(--line);
}
.cta-light-title { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.5vw, 64px); line-height: 1.05; margin: 0 0 2rem; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.nav-cta.is-current { background: var(--ink); color: var(--cream); }
.ct {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px);
  padding: calc(var(--header-h) + clamp(30px, 5vw, 70px)) var(--gutter) clamp(90px, 12vw, 160px);
}
.ct-title {
  margin: 0 0 1.6rem;
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(72px, 10vw, 170px); line-height: 0.86;
}
.ct-title span { display: block; }
.ct-title em { text-transform: none; }
.ct-indent { padding-left: 1em; }
.ct-lead { font-size: 19px; color: var(--ink-soft); max-width: 440px; }
.ct-photo { width: 70%; aspect-ratio: 0.8; margin: 2.4rem 0; }
.ct-details p { margin: 0 0 4px; color: var(--ink-soft); font-size: 16px; }
.ct-label { font-size: 12px !important; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue-deep) !important; margin-top: 22px !important; }
.ct-email { font-family: var(--serif); font-size: 28px !important; color: var(--ink) !important; user-select: all; }

.ct-form { align-self: start; padding-top: clamp(10px, 4vw, 60px); position: relative; }
.field { margin-bottom: 30px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 6px; }
.field .opt { text-transform: none; letter-spacing: 0.02em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; border-radius: 0; appearance: none; -webkit-appearance: none;
  transition: border-color var(--dur-fast) var(--ease);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat; cursor: pointer;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #B3A898; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: #A4483A; }
.form-error { color: #A4483A; font-size: 15px; margin: -10px 0 20px; }
.ct-next { margin-top: 1.4rem; font-size: 14px; color: var(--ink-soft); max-width: 460px; }
.form-done { padding: 40px 0; }
.form-done-title { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1; margin-bottom: 12px; }

/* =========================================================
   SESSION PAGES (Portraits, Couples, ...)
   ========================================================= */
.sub a.is-current { color: var(--blue-deep); }
.ss-hero { padding: calc(var(--header-h) + clamp(30px, 5vw, 70px)) var(--gutter) clamp(60px, 8vw, 110px); }
.ss-title {
  margin: 0; font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(64px, 13vw, 240px); line-height: 0.85; letter-spacing: -0.01em;
}
.ss-tag { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); color: var(--blue-deep); margin: 1rem 0 clamp(30px, 4vw, 56px); }
.ss-hero-photo { width: 100%; aspect-ratio: 16 / 8; max-width: 100%; }

.foryou {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start;
  padding: clamp(70px, 10vw, 140px) var(--gutter); border-top: 1px solid var(--line);
}
.foryou-photo { width: 100%; max-width: 480px; aspect-ratio: 0.78; }
.foryou-text { display: contents; }
.foryou-text .display { margin: 0; }
.foryou-list { list-style: none; margin: 0; padding: 0; }
.foryou-list li { padding: 18px 0 18px 34px; border-top: 1px solid var(--line); position: relative; font-size: 18px; }
.foryou-list li:last-child { border-bottom: 1px solid var(--line); }
.foryou-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 1px; background: var(--ink); }

/* "See full session" — appears when the photo is in the middle of the screen (and on hover) */
.story-btn {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: flex-end; padding: 70px 18px 18px;
  background: linear-gradient(to bottom, rgba(30,29,28,0), rgba(30,29,28,0.45));
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: #fff; white-space: nowrap;
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.story-label { border: 1px solid #fff; padding: 12px 18px; transition: background var(--dur-fast); white-space: normal; text-align: center; }
.story-btn:hover .story-label { background: rgba(255,255,255,.15); }
.has-story.is-centered .story-btn, .has-story:hover .story-btn, .story-btn:focus-visible { opacity: 1; transform: none; }

.price {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center;
  background: var(--blue); color: var(--cream);
  padding: clamp(80px, 11vw, 150px) var(--gutter);
}
.price-num { line-height: 0.8; }
.price-from { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 44px); margin-bottom: 10px; }
.price-big { font-family: var(--serif); font-weight: 300; font-size: clamp(110px, 17vw, 280px); letter-spacing: -0.02em; }
.price-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.price-list li { padding: 12px 0; border-top: 1px solid var(--line-light); }
.price-list li:last-child { border-bottom: 1px solid var(--line-light); }
.price-steps { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 2rem; }
.price-steps span { margin: 0 8px; }

.worries { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.worries-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); margin-top: 2rem; }
.worry { border-top: 1px solid var(--ink); padding-top: 22px; }
.worry-q { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; margin-bottom: 12px; }
.worry-a { color: var(--ink-soft); margin: 0; }

.branding { padding: 0 var(--gutter) clamp(80px, 11vw, 150px); max-width: 900px; }

.others { padding: clamp(60px, 8vw, 110px) var(--gutter); border-top: 1px solid var(--line); }
.others-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.other { display: block; }
.other-photo { aspect-ratio: 0.78; width: 100%; margin-bottom: 12px; }
.other-photo > img { transition: transform 1.4s var(--ease); }
.other:hover .other-photo > img { transform: scale(1.05); }
.other span { font-family: var(--serif); font-size: 22px; transition: color var(--dur-fast); }
.other:hover span { color: var(--blue-deep); }

/* ABOUT ME on the home page slides in from the left */
.slide-in { display: inline-block; opacity: 0; transform: translateX(-12vw); transition: opacity calc(var(--dur) * 1.2) var(--ease), transform calc(var(--dur) * 1.2) var(--ease); }
.slide-in.is-in { opacity: 1; transform: none; }

/* Contact: "talk" ends right under the S of LET'S */
.ct-title { display: table; }
.ct-indent { text-align: right; padding-left: 0; }

/* room under the tail of "you" */
.intro > .display { margin-bottom: clamp(2.6rem, 5vw, 4rem); }

/* ABOUT me: "me" ends under the T on every screen */
.ab-title { display: table; }
.ab-title-line--indent { text-align: right; padding-left: 0; padding-right: 0.12em; }

/* Big headings slide in from the left (and some from the right) */
.slide-h, .slide-r {
  opacity: 0;
  transition: opacity calc(var(--dur) * 1.2) var(--ease), transform calc(var(--dur) * 1.2) var(--ease);
}
.slide-h { transform: translateX(-12vw); }
.slide-r { transform: translateX(12vw); }
.slide-h.is-in, .slide-r.is-in { opacity: 1; transform: none; }

/* =========================================================
   PAGE RHYTHM — one rule for every page
   - every block has the same space above and below its content
   - two light blocks in a row are separated by a thin line
   - a colored block (blue / dark) needs no line: the color is the divider
   ========================================================= */
:root { --space-y: clamp(64px, 7vw, 100px); }

main > section { padding-top: var(--space-y) !important; padding-bottom: var(--space-y) !important; border-top: 1px solid var(--line); }

/* first block of each page: room for the menu on top, same space below */
main > section:first-child { padding-top: calc(var(--header-h) + clamp(30px, 5vw, 70px)) !important; border-top: 0; }

/* colored blocks and the block right after them: no line */
main > .about-teaser, main > .steps, main > .cta, main > .price, main > .facts,
main > .about-teaser + section, main > .steps + section, main > .cta + section,
main > .price + section, main > .facts + section { border-top: 0; }

/* blocks whose inner wrapper carries the spacing */
main > .steps, main > .facts { padding-top: 0 !important; padding-bottom: 0 !important; }
.steps-inner, .facts-inner { padding-top: var(--space-y) !important; padding-bottom: var(--space-y) !important; }

/* ABOUT ME on the home page sits inside its blue block, never cut at the top */
.about-word { position: static; margin: 0 0 clamp(28px, 4vw, 56px); translate: none !important; line-height: 0.9; }
.about-grid { margin-top: 0; }

/* light footer after a light last block gets the same thin line */
.footer { border-top: 1px solid var(--line); padding-top: var(--space-y); }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .others-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .worries-grid { grid-template-columns: 1fr; max-width: 640px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  html, body { touch-action: pan-y pinch-zoom; }
  .others-row { touch-action: pan-x pan-y; }
  /* big headings: smaller on phones so they never touch the edge */
  .display { font-size: 11vw; }
  .display--sm { font-size: 9.6vw; }
  .cta-title { font-size: 12.5vw; }
  .eyebrow-sub { letter-spacing: 0.12em; }
  .display, .cta-title, .ss-title, .hero-title, .ab-title, .ct-title { overflow-wrap: break-word; }
  .burger { display: block; }
  /* blur on the header would trap the full-screen menu inside the header */
  .header.is-scrolled { backdrop-filter: none; background: var(--cream); }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px;
    padding: 0 var(--gutter);
    background: var(--cream);
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur-fast) var(--ease), visibility var(--dur-fast);
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav-link { font-family: var(--serif); font-size: 40px; letter-spacing: 0.04em; padding: 0; }
  .nav-link::after { display: none; }
  .nav-cta { border: 0; padding: 0; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 6px 0 0 4px; min-width: 0; display: none; }
  .has-sub.is-open .sub { display: block; }
  .sub a { font-size: 22px; padding: 3px 0; }

  .hero { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 24px); }
  .hero-text { text-align: center; }
  .hero-line--indent { padding-left: 0; }
  .hero-btn { display: table; margin: 0 auto; }
  .hero-sub { text-align: center; letter-spacing: 0.2em; }
  .hero-photo-small { top: 38%; bottom: auto !important; }
  .about-teaser { padding-top: 56px; }
  .hero-title { font-size: 15vw; margin-bottom: 1.8rem; }
  .hero-line--indent { padding-left: 0.5em; }
  .hero-photo { width: 78%; }
  .hero-photo-small { width: 42%; bottom: 110px; box-shadow: 0 0 0 6px var(--cream); }
  .hero-sub .dot { display: none; }
  .hero-sub em { display: block; margin-top: 4px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-photo { width: 80%; }
  .intro-text { font-size: 17px; }

  .sessions-grid { grid-template-columns: minmax(0, 1fr) 38%; gap: 14px; }
  .sessions-photos { top: calc(var(--header-h-small) + 16px); }
  .sessions-list a { gap: 8px; font-size: clamp(26px, 8.4vw, 38px); padding: 12px 0; }
  .sessions-list a .num { font-size: 10px; }
  .sessions-list a.is-active, .sessions-list a:hover { transform: translateX(4px); }

  .about-word { position: static; font-size: 16vw; margin-bottom: 28px; text-align: center; translate: none !important; }
  .about-grid { grid-template-columns: 1fr; margin-top: 0; }
  .about-photo { width: 78%; }

  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-logo { font-size: 24px; margin-bottom: 6px; }
  .footer-bottom { margin-top: 36px; }
  .ct { padding-bottom: 60px; }

  /* Session pages on phone */
  .ss-hero .eyebrow, .ss-title, .ss-tag { text-align: center; }
  .ss-title { font-size: 14vw; white-space: nowrap; }
  .ss-hero-photo { aspect-ratio: 4 / 3; }
  .foryou, .price { grid-template-columns: 1fr; }
  .foryou-photo { width: 80%; }
  /* other sessions: one row you swipe sideways */
  .others-row {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .others-row::-webkit-scrollbar { display: none; }
  .other { flex: 0 0 42%; scroll-snap-align: start; }
  .other span { font-size: 20px; }

  /* Contact on phone */
  .ct { grid-template-columns: 1fr; gap: 0; }
  .ct-side { display: contents; }
  .ct-title { font-size: 22vw; order: 1; }
  .ct-lead { order: 2; margin-bottom: 2rem; }
  .ct-form { order: 3; padding-top: 0; }
  .ct-photo { display: none; }
  .ct-details { order: 4; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); }

  /* About page on phone */
  .ab-hero { grid-template-columns: 1fr; }
  .ab-hero-text { order: -1; font-size: 17px; }
  .ab-title { font-size: 21vw; margin-bottom: 1.6rem; }
  .ab-photo { width: 82%; }
  .ab-approach { grid-template-columns: 1fr; }
  .tl-list { padding-left: 34px; gap: 56px; }
  .tl-list::before, .tl-list::after { left: 6px; }
  .tl-item, .tl-item:nth-child(even) {
    grid-template-columns: 1fr; grid-template-areas: "year" "photo" "h" "p"; grid-template-rows: auto;
  }
  .tl-item:nth-child(even) h3, .tl-item:nth-child(even) p { text-align: left; }
  .tl-item:nth-child(even) p { justify-self: start; }
  .tl-year { justify-self: start; }
  .tl-year::before { content: ''; position: absolute; left: -32px; top: 50%; width: 20px; height: 1px; background: var(--ink); }
  .tl-photo, .tl-photo[style*=".78"], .tl-item:nth-child(odd) .tl-photo, .tl-item:nth-child(even) .tl-photo { width: 80%; justify-self: start; margin-top: 6px; }
}

/* ---------- Respect people who turn animations off ---------- */
@media (prefers-reduced-motion: reduce) {
  .slide-h, .slide-r, .slide-in { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal, .js .hero-line { opacity: 1; transform: none; }
  .reveal-curtain::before { display: none; }
}
