/* ============================================================
   Jacob Jan Boerma — cinematic quiet luxury (Aman-inspired)
   Full-bleed imagery · spaced serif caps · slow, fluid motion
   ============================================================ */

:root {
  --bg: #f3f0ea;
  --bg-alt: #ebe6dd;
  --ink: #26221c;
  --grey: #8b847a;
  --gold: #a3814d;
  --light: #f6f4ef;
  --line: rgba(38, 34, 28, 0.14);
  --line-light: rgba(246, 244, 239, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: 1.4s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body[data-loader] { overflow: hidden; }
body.loaded { overflow-x: hidden; overflow-y: auto; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
figure { overflow: hidden; background: var(--bg-alt); position: relative; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 6vw; }
.container-wide { max-width: 1500px; margin: 0 auto; padding: 0 3vw; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- typography ---------- */

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 1.2rem 0 1.4rem;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}

.kicker {
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker.light { color: var(--light); opacity: 0.92; }

.kicker.rule { display: inline-block; }
.kicker.rule::after {
  content: ""; display: block; width: 44px; height: 1px;
  background: currentColor; margin: 1rem auto 0; opacity: 0.55;
}
.split-side .kicker.rule::after { margin-left: 0; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--grey);
  max-width: 52ch;
}
.center .lede, .center-lede { margin: 1.4rem auto 0; }

.quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  max-width: 32ch;
  margin: 0 auto 1.8rem;
}

.intro-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.55;
  margin: 2rem auto 2.4rem;
}
.intro-text em { font-style: italic; color: var(--gold); }

.star { color: var(--gold); font-size: 0.4em; vertical-align: 0.9em; letter-spacing: 0.12em; }

.prose p { margin-bottom: 1.4em; max-width: 60ch; }
.prose a { color: var(--gold); border-bottom: 1px solid currentColor; }
.prose-h {
  font-family: var(--sans);
  font-size: 0.68rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
  margin: 2.6em 0 0.9em;
}
.prose .prose-h:first-child { margin-top: 0; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.8em;
  margin-top: 1.6rem;
  font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase;
}
.text-link::after {
  content: "\2192";
  font-family: var(--serif); font-size: 1.5em; line-height: 1;
  color: var(--gold);
  transition: transform 0.5s var(--ease);
}
.text-link:hover::after { transform: translateX(7px); }

/* buttons get a sliding arrow too */
.btn { position: relative; }
.btn::after {
  content: "\2192"; display: inline-block;
  font-family: var(--serif); line-height: 1;
  margin-left: 0.9em;
  transform: translateX(-3px);
  transition: transform 0.5s var(--ease);
}
.btn:hover::after { transform: translateX(6px); }

.hover-line { position: relative; }
.hover-line::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.55s var(--ease);
}
.hover-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- loader (JJB intro) ---------- */

.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--light);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.8rem;
  transition: opacity 1s ease, visibility 1s;
}
.loader.done { opacity: 0; visibility: hidden; }

.loader-mark {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(4.5rem, 15vw, 9.5rem);
  letter-spacing: 0.14em;
  line-height: 1.2; display: flex; gap: 0.1em;
  overflow: hidden;
  padding: 0 0.1em 0.12em;   /* room for the J descenders */
}
.loader-letter {
  display: inline-block; padding: 0 0.04em;
  transform: translateY(120%);
  animation: rise 1.1s var(--ease) forwards;
}
.loader-letter:nth-child(2) { animation-delay: 0.15s; }
.loader-letter:nth-child(3) { animation-delay: 0.3s; }
@keyframes rise { to { transform: translateY(0); } }

.loader-rule { width: 130px; height: 1px; background: rgba(246,244,239,0.2); overflow: hidden; }
.loader-rule span {
  display: block; height: 100%; width: 100%; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  animation: load 1.7s 0.4s var(--ease) forwards;
}
@keyframes load { to { transform: scaleX(1); } }

.loader-sub {
  font-size: 0.64rem; letter-spacing: 0.52em; text-transform: uppercase;
  color: rgba(246,244,239,0.75);
  opacity: 0; animation: fade 1s 1s ease forwards;
}
@keyframes fade { to { opacity: 1; } }

/* ---------- page transition ---------- */

.wipe {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink);
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
.wipe.in { visibility: visible; opacity: 1; transition: opacity 0.45s ease; }

main { animation: page-in 1.1s 0.05s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body[data-loader] main { animation-delay: 2.2s; }

/* ---------- header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  max-width: 1500px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 4vw;
}

.wordmark {
  display: flex; flex-direction: column; align-items: flex-start;
  line-height: 1; white-space: nowrap;
  transition: color 0.5s;
}
.wm-mono {
  font-family: var(--serif);
  font-size: 1.55rem; letter-spacing: 0.16em;
}
.wm-mono em {
  font-style: italic; color: var(--gold);
  margin: 0 0.02em;
}
.wm-name {
  font-size: 0.5rem; letter-spacing: 0.46em; text-transform: uppercase;
  opacity: 0.85; margin-top: 0.45em;
  padding-left: 0.1em;
}
.wordmark:hover .wm-mono em { color: inherit; transition: color 0.4s; }

.nav-links { display: flex; gap: 2.6rem; list-style: none; }
.nav-links a {
  font-size: 0.64rem; letter-spacing: 0.34em; text-transform: uppercase;
  position: relative; padding-bottom: 4px;
  transition: color 0.4s, opacity 0.4s;
  opacity: 0.9;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

/* over dark hero: light text until scrolled */
.has-dark-hero .site-header:not(.scrolled) { color: var(--light); }
.has-dark-hero .site-header:not(.scrolled) .nav-toggle span { background: var(--light); }
.site-header.scrolled { color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: var(--ink); margin: 7px 0; transition: 0.4s var(--ease); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2.2rem;
    background: var(--ink);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s var(--ease);
  }
  .nav-open .nav-links { clip-path: inset(0 0 0 0); }
  .nav-links a { font-size: 0.95rem; letter-spacing: 0.4em; color: var(--light); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); background: var(--light); }
  .nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); background: var(--light); }
}

/* ---------- full-screen hero (home) ---------- */

.hero {
  position: relative; height: 100svh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
  color: var(--light);
}

.hero-slides { position: absolute; inset: 0; }
.hero-slides .slide {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.08);
  transition: opacity 2.2s ease;
}
.hero-slides .slide.on {
  opacity: 1;
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1.0); } }

.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,13,0.42) 0%, rgba(20,17,13,0.18) 45%, rgba(20,17,13,0.55) 100%);
}

.hero-content { position: relative; z-index: 2; padding: 0 6vw; }

.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 1.06; letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 1.6rem 0 1.4rem;
  text-shadow: 0 2px 40px rgba(20, 17, 13, 0.35);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; transform: translateY(112%); animation: rise 1.3s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.15s; }
body[data-loader] .hero-title .line > span { animation-delay: 2.1s; }
body[data-loader] .hero-title .line:nth-child(2) > span { animation-delay: 2.25s; }
.hero-stars { font-size: 0.2em; letter-spacing: 0.34em; color: var(--gold); vertical-align: 2em; margin-left: 0.5em; }

.hero-sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  opacity: 0; animation: fade 1.4s 1s ease forwards;
}
body[data-loader] .hero-sub { animation-delay: 2.9s; }

.scroll-cue {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  z-index: 3; width: 1px; height: 64px;
  background: var(--line-light); overflow: hidden;
}
.scroll-cue span {
  display: block; width: 100%; height: 40%;
  background: var(--light);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(280%); }
}

/* ---------- cover hero (subpages) ---------- */

.cover-hero {
  position: relative; height: 78svh; min-height: 520px;
  display: flex; align-items: flex-end;
  overflow: hidden; color: var(--light);
}
.cover-bg { position: absolute; inset: 0; background: var(--ink); }
.cover-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,13,0.34) 0%, rgba(20,17,13,0.12) 45%, rgba(20,17,13,0.62) 100%);
}
.cover-content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 0 6vw clamp(3.5rem, 9vh, 6rem);
  text-align: center;
}
.cover-title {
  margin: 1.2rem 0 0.6rem;
  text-shadow: 0 2px 36px rgba(20, 17, 13, 0.4);
}
.cover-sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  opacity: 0.95; max-width: 58ch; margin: 0 auto;
}
.cover-hero .scroll-cue { bottom: 1.6rem; display: none; }
@media (min-height: 700px) { .cover-hero .scroll-cue { display: block; } }

.detail-hero-plain { padding: clamp(9rem, 18vh, 12rem) 0 clamp(1.5rem, 4vh, 2.5rem); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-size: 0.68rem; letter-spacing: 0.36em; text-transform: uppercase;
  padding: 1.15rem 3rem;
  border: 1px solid var(--ink);
  color: var(--ink); background: transparent;
  transition: background 0.5s, color 0.5s, border-color 0.5s, letter-spacing 0.5s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); letter-spacing: 0.42em; }
.btn.light { border-color: rgba(246, 244, 239, 0.55); color: var(--light); }
.btn.light:hover { background: var(--light); color: var(--ink); border-color: var(--light); }

/* ---------- sections ---------- */

.section { padding: clamp(4.5rem, 11vh, 8rem) 0; }
.section.alt { background: var(--bg-alt); }
.intro-block { padding-top: clamp(5rem, 13vh, 9rem); }

.section-head { margin-bottom: 3.4rem; }
.section-head h2 { margin-top: 1rem; }

.band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(4.5rem, 12vh, 8rem) 0;
}

.cta-band {
  position: relative;
  background: var(--ink); color: var(--light);
  padding: clamp(5rem, 13vh, 8.5rem) 0;
}
.cta-band .kicker { color: color-mix(in srgb, var(--gold) 85%, #fff); }
.cta-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  letter-spacing: 0.14em;
  margin: 1.3rem auto 2.4rem; max-width: 24ch;
}

/* ---------- showcase (full-bleed restaurant covers) ---------- */

.showcase-list { padding-top: clamp(4.5rem, 11vh, 8rem); }
.showcase-list.first { padding-top: 0; }
.showcase-head { margin-bottom: 3.4rem; padding: 0 6vw; }

.showcase {
  position: relative; display: flex;
  align-items: flex-end;
  height: 86svh; min-height: 480px;
  overflow: hidden; color: var(--light);
}
.showcase-bg { position: absolute; inset: 0; background: var(--ink); }
.showcase-bg img { transition: transform 1.6s var(--ease); }
.showcase-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,13,0.1) 30%, rgba(20,17,13,0.6) 100%);
  transition: background 0.8s;
}
.showcase:hover .showcase-bg img { transform: scale(1.05); }

.showcase-caption {
  position: relative; z-index: 2;
  width: 100%; max-width: 1500px; margin: 0 auto;
  padding: 0 6vw clamp(2.6rem, 7vh, 4.5rem);
}
.showcase-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1.1; margin: 0.8rem 0 1rem;
  text-shadow: 0 2px 36px rgba(20, 17, 13, 0.4);
}
.showcase-cta {
  display: inline-flex; align-items: center; gap: 0.9em;
  font-size: 0.64rem; letter-spacing: 0.4em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid rgba(246,244,239,0.5);
  opacity: 0.85;
  transition: opacity 0.4s, letter-spacing 0.5s var(--ease), border-color 0.4s;
}
.showcase-cta::after {
  content: "\2192";                       /* animated arrow */
  font-family: var(--serif); font-size: 1.5em; line-height: 1;
  color: var(--gold);
  transform: translateX(-4px); opacity: 0.75;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.showcase:hover .showcase-cta, .duo-card:hover .showcase-cta {
  opacity: 1; letter-spacing: 0.48em; border-color: var(--gold);
}
.showcase:hover .showcase-cta::after, .duo-card:hover .showcase-cta::after {
  transform: translateX(8px); opacity: 1;
}

/* caption lifts and name breathes wider on hover */
.showcase-caption { transition: transform 0.7s var(--ease); }
.showcase:hover .showcase-caption { transform: translateY(-10px); }
.showcase-name, .duo-name { transition: letter-spacing 0.8s var(--ease); }
.showcase:hover .showcase-name, .duo-card:hover .duo-name { letter-spacing: 0.19em; }
.duo-caption { transition: transform 0.7s var(--ease); }
.duo-card:hover .duo-caption { transform: translateY(-8px); }

/* ---------- duo cards (consultancy engagements) ---------- */

.duo-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  margin-bottom: 2.6rem;
}
.duo-card { display: block; }

/* living card: slow crossfading slideshow with caption on the image */
.duo-media {
  position: relative; aspect-ratio: 4 / 5;
  background: var(--ink);
  transition: transform 1.2s var(--ease);
}
.duo-card:hover .duo-media { transform: scale(1.012); }
.duo-media .slide {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.08);
  transition: opacity 2.2s ease;
}
.duo-media .slide.on { opacity: 1; animation: kenburns 8.5s ease-out forwards; }
.duo-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,17,13,0.06) 35%, rgba(20,17,13,0.66) 100%);
  transition: background 0.8s;
}
.duo-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--light); text-align: left;
}
.duo-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 2px 30px rgba(20, 17, 13, 0.4);
}
.duo-intro {
  color: rgba(246, 244, 239, 0.82); font-size: 0.9rem;
  max-width: 40ch; margin-bottom: 0.5rem;
}
.duo-caption .showcase-cta { align-self: flex-start; }
@media (max-width: 760px) { .duo-grid { grid-template-columns: 1fr; } .duo-media { aspect-ratio: 4 / 5; } }

/* slideshow slides inside full-bleed showcases (Morii) */
.showcase-bg .slide {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.06);
  transition: opacity 2.2s ease;
}
.showcase-bg .slide.on { opacity: 1; animation: kenburns 8.5s ease-out forwards; }

.linkband { padding: clamp(2.2rem, 6vh, 3.5rem) 0 clamp(3rem, 8vh, 5rem); }

/* cinematic settle-zoom, triggered when a cover/showcase scrolls into view */
.zooming { animation: slowzoom 12s var(--ease) both; }
@keyframes slowzoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- detail pages ---------- */

.detail-body { padding: clamp(4rem, 10vh, 7rem) 0; }

.back {
  display: inline-block; margin-bottom: 2rem;
  font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--grey);
}

.split {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5.5rem); align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.meta-list { border-top: 1px solid var(--line); position: sticky; top: 108px; }
.meta-row {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.meta-row span:first-child {
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--grey); padding-top: 0.35em; white-space: nowrap;
}
.meta-row span:last-child { text-align: right; font-family: var(--serif); font-size: 1.05rem; }
.meta-row a { color: var(--gold); border-bottom: 1px solid currentColor; }

/* ---------- gallery ---------- */

.gallery { padding-bottom: clamp(3.5rem, 9vh, 6.5rem); }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.6vw, 1.5rem); }
.g-item { aspect-ratio: 4 / 5; transition: transform 0.9s var(--ease); }
.g-item:hover { transform: scale(1.015); }
@media (max-width: 680px) { .g-grid { grid-template-columns: repeat(2, 1fr); } }

/* dynamic editorial mosaic (all galleries) — varied sizes, offsets, speeds */
.g-mosaic {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.4vw, 2.4rem);
  align-items: start;
}
.g-mosaic .g-item { aspect-ratio: auto; }
.g-mosaic .m1 { grid-column: 1 / 8;  aspect-ratio: 4 / 3; }
.g-mosaic .m2 { grid-column: 8 / 13; aspect-ratio: 3 / 4;  margin-top: clamp(3rem, 9vw, 8rem); }
.g-mosaic .m3 { grid-column: 1 / 6;  aspect-ratio: 3 / 4;  margin-top: clamp(1rem, 3vw, 2.5rem); }
.g-mosaic .m4 { grid-column: 6 / 13; aspect-ratio: 16 / 10; margin-top: clamp(4rem, 10vw, 9rem); }
.g-mosaic .m5 { grid-column: 3 / 11; aspect-ratio: 16 / 9;  margin-top: clamp(2rem, 5vw, 4.5rem); }
.g-mosaic .m6 { grid-column: 1 / 9;  aspect-ratio: 16 / 10; margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.g-mosaic .reveal-img:nth-child(2) { transition-delay: 0.12s; }
.g-mosaic .reveal-img:nth-child(3) { transition-delay: 0.06s; }
.g-mosaic .reveal-img:nth-child(4) { transition-delay: 0.16s; }
.g-mosaic .reveal-img:nth-child(5) { transition-delay: 0.1s; }
@media (max-width: 680px) {
  .g-mosaic { grid-template-columns: 1fr 1fr; }
  .g-mosaic .m1 { grid-column: 1 / -1; margin-top: 0; }
  .g-mosaic .m2 { grid-column: 1 / 2; margin-top: 0; }
  .g-mosaic .m3 { grid-column: 2 / 3; margin-top: 2rem; }
  .g-mosaic .m4 { grid-column: 1 / -1; margin-top: 0; }
  .g-mosaic .m5 { grid-column: 1 / -1; margin-top: 0; }
  .g-mosaic .m6 { grid-column: 1 / -1; margin-top: 0; }
}

/* parallax headroom */
[data-parallax] { will-change: transform; transform: translateY(0) scale(1.07); }

/* image reveal on scroll */
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path var(--slow) var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0); }

/* text reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- contact ---------- */

.contact-list { display: flex; flex-direction: column; }
.contact-row {
  display: grid; grid-template-columns: 6.5rem 1fr 2.5rem;
  gap: clamp(1rem, 3vw, 3rem); align-items: baseline;
  padding: 2.2rem 0; border-top: 1px solid var(--line);
  transition: padding 0.5s var(--ease);
}
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-row:hover { padding-left: 1.2rem; }
.index-num {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--grey);
}
.contact-value {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.4rem, 3.2vw, 2.5rem);
  letter-spacing: 0.06em;
  transition: color 0.4s;
}
.contact-row:hover .contact-value { color: var(--gold); }
.index-arrow {
  font-family: var(--serif); font-size: 1.4rem; color: var(--gold);
  justify-self: end; transition: transform 0.45s var(--ease);
}
.contact-row:hover .index-arrow { transform: translateX(8px); }
@media (max-width: 680px) { .contact-row { grid-template-columns: 1fr 2rem; } .contact-row .index-num { display: none; } }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink); color: var(--light);
  padding: clamp(4rem, 10vh, 6rem) 0 2.2rem;
  text-align: center;
}

.footer-wordmark {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.3em; text-transform: uppercase;
}
.footer-sub {
  font-size: 0.62rem; letter-spacing: 0.44em; text-transform: uppercase;
  color: var(--gold); margin-top: 0.9rem;
}

.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem 2.8rem;
  margin: 2.6rem 0 2.8rem;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.footer-links a { opacity: 0.85; transition: opacity 0.35s; }
.footer-links a:hover { opacity: 1; }

.footer-note {
  padding-top: 1.6rem;
  border-top: 1px solid rgba(246, 244, 239, 0.14);
  font-size: 0.68rem; letter-spacing: 0.14em;
  color: rgba(246, 244, 239, 0.6);
}


/* ---------- editorial story rows (about / consultancy) ---------- */

.story { padding: clamp(3rem, 8vh, 6rem) 0 0; }
.story-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 6vw, 6rem); align-items: center;
  padding-bottom: clamp(3.5rem, 9vh, 6.5rem);
}
.story-row.flip .story-text { order: 1; }
.story-row.flip .story-img { order: 2; }
.story-img { aspect-ratio: 4 / 3; }
.story-img.tall { aspect-ratio: 4 / 5; margin-top: clamp(1rem, 4vw, 3rem); }
.story-h {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  letter-spacing: 0.12em;
  margin: 1rem 0 1.1rem;
}
.story-text p:not(.kicker) { max-width: 50ch; }
@media (max-width: 820px) {
  .story-row { grid-template-columns: 1fr; }
  .story-row.flip .story-text { order: 2; }
  .story-row.flip .story-img { order: 1; }
  .story-img.tall { margin-top: 0; }
}

/* full-width breakout image with quote overlay */
.breakout {
  position: relative; height: 68svh; min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--light);
}
.breakout-bg { position: absolute; inset: 0; background: var(--ink); }
.breakout-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(20, 17, 13, 0.45);
}
.breakout-content { position: relative; z-index: 2; padding: 0 6vw; }
.quote.light { color: var(--light); text-shadow: 0 2px 30px rgba(20,17,13,0.4); }

/* facts band */
.facts { padding: clamp(3rem, 8vh, 5.5rem) 0; }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 5vh, 3.2rem) 0;
  text-align: center;
}
.fact-v {
  font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  margin-top: 0.6rem; line-height: 1.4;
}
.fact.reveal:nth-child(2) { transition-delay: 0.1s; }
.fact.reveal:nth-child(3) { transition-delay: 0.2s; }
.fact.reveal:nth-child(4) { transition-delay: 0.3s; }
@media (max-width: 820px) { .facts-grid { grid-template-columns: 1fr 1fr; } }

.made-by a { color: var(--gold); }


/* ---------- contemporary chapters (about) ---------- */

.chapter { position: relative; padding: clamp(4.5rem, 11vh, 8rem) 0 clamp(7rem, 16vh, 11rem); overflow: hidden; }

.chapter-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.8rem, 1.8vw, 1.8rem);
  align-items: center;
}

.ghost {
  position: absolute; top: -0.42em; left: -0.04em; z-index: 0;
  font-family: var(--serif); font-style: italic; line-height: 1;
  font-size: clamp(9rem, 20vw, 17rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(38, 34, 28, 0.16);
  pointer-events: none; user-select: none;
}
@supports not (-webkit-text-stroke: 1px black) { .ghost { color: rgba(38, 34, 28, 0.05); } }
.ghost.right { left: auto; right: -0.04em; }

.ch-img.main { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 4 / 3; z-index: 1; }
.ch-img.over {
  grid-column: 6 / 9; grid-row: 1; align-self: end;
  aspect-ratio: 3 / 4; z-index: 2;
  transform: translateY(32%);
  box-shadow: 0 30px 70px rgba(38, 34, 28, 0.28);
}
.ch-text { grid-column: 9 / 13; grid-row: 1; z-index: 2; }

.chapter.flip .ch-img.main { grid-column: 6 / 13; }
.chapter.flip .ch-img.over { grid-column: 5 / 8; }
.chapter.flip .ch-text { grid-column: 1 / 5; }

@media (max-width: 880px) {
  .chapter { padding-bottom: clamp(4rem, 9vh, 6rem); }
  .chapter-grid { grid-template-columns: 1fr; align-items: start; }
  .ch-img.main, .ch-img.over, .ch-text,
  .chapter.flip .ch-img.main, .chapter.flip .ch-img.over, .chapter.flip .ch-text { grid-column: 1 / -1; }
  .ch-img.main { grid-row: auto; }
  .ch-img.over { grid-row: auto; transform: none; width: 62%; margin: -18% 0 0 auto; }
  .ch-text { grid-row: auto; margin-top: 2rem; }
  .ghost { font-size: 8rem; }
}

/* big number stats */
.stats { padding: clamp(3rem, 8vh, 5.5rem) 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(2.4rem, 6vh, 4rem) 0;
}
.stat { display: flex; flex-direction: column; gap: 0.7rem; }
.stat-n {
  font-family: var(--serif); line-height: 0.9;
  font-size: clamp(3.6rem, 8vw, 6.5rem);
}
.stat-n sup { font-size: 0.4em; color: var(--gold); }
.stat.reveal:nth-child(2) { transition-delay: 0.12s; }
.stat.reveal:nth-child(3) { transition-delay: 0.24s; }
@media (max-width: 680px) { .stats-grid { grid-template-columns: 1fr; gap: 2.6rem; } }


/* ---------- serene image sections (Aman) ---------- */

.breakout.plain { height: 72svh; }
.breakout.plain .breakout-bg::after { background: rgba(20, 17, 13, 0.08); }

.duo-imgs { padding: clamp(3rem, 8vh, 5.5rem) 0; }
.dg {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 2rem);
}
.dg figure { aspect-ratio: 4 / 5; }
@media (max-width: 680px) { .dg { grid-template-columns: 1fr; } }


/* ---------- understated body blocks (Aman) ---------- */

.body-block { text-align: center; }
.body-block p:not(.kicker) {
  max-width: 640px; margin: 0 auto 1.4em;
  font-size: 0.99rem; line-height: 2.05;
}
.body-block .kicker { margin-bottom: 1.6rem; }

/* ---------- image carousel with arrows (Aman) ---------- */

.carousel { padding: clamp(2.5rem, 7vh, 4.5rem) 0; }
.car-track {
  display: flex; gap: clamp(1rem, 2vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 0 6vw;
}
.car-track::-webkit-scrollbar { display: none; }
.car-item {
  flex: 0 0 min(72vw, 1020px);
  aspect-ratio: 16 / 9;
  scroll-snap-align: center;
}
.car-item img { transition: transform 1.3s var(--ease); }
.car-item:hover img { transform: scale(1.03); }

.car-nav {
  display: flex; justify-content: flex-end; gap: 0.8rem;
  max-width: 1500px; margin: 1.6rem auto 0; padding: 0 6vw;
}
.car-btn {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink); font-family: var(--serif); font-size: 1.35rem;
  cursor: pointer;
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.car-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }

@media (max-width: 680px) { .car-item { flex-basis: 86vw; } }


/* ---------- film chapters: full-bleed image, text over it ---------- */

.film {
  position: relative; min-height: 96svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  color: var(--light);
  padding: clamp(5rem, 12vh, 8rem) 0;
}
.film-bg { position: absolute; inset: 0; background: var(--ink); }
.film-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,13,0.38) 0%, rgba(20,17,13,0.5) 50%, rgba(20,17,13,0.42) 100%);
}
.film-content { position: relative; z-index: 2; max-width: 780px; padding: 0 6vw; }
.film-text {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.75;
  margin-top: 1.8rem;
  text-shadow: 0 2px 30px rgba(20, 17, 13, 0.45);
}


/* ---------- still images (Aman calm) ---------- */

.still { padding: clamp(2rem, 6vh, 4rem) 0; }
.still-img { aspect-ratio: 16 / 9; }

.bb-h {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: 0.2em;
  margin: 1.2rem 0 1.6rem;
}


/* ---------- asymmetric elegant sections ---------- */

.asym { padding: clamp(4rem, 10vh, 7rem) 0 clamp(2.5rem, 6vh, 4rem); }
.asym-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem); align-items: start;
}
.asym-text { grid-column: 2 / 8; padding-top: clamp(0.5rem, 3vh, 2.5rem); text-align: left; }
.asym-text p:not(.kicker) { max-width: 52ch; font-size: 0.98rem; line-height: 2.02; margin-bottom: 1.4em; }
.asym-text .kicker.rule::after { margin: 1rem 0 0; }
.asym-text .bb-h { margin: 1.1rem 0 1.5rem; }
.asym-img { grid-column: 9 / 12; aspect-ratio: 3 / 4; margin-top: clamp(1.5rem, 7vh, 5rem); }
.asym.flip .asym-img { grid-column: 2 / 5; margin-top: clamp(0.5rem, 3vh, 2rem); }
.asym.flip .asym-text { grid-column: 6 / 12; }
@media (max-width: 820px) {
  .asym-text, .asym.flip .asym-text { grid-column: 1 / -1; }
  .asym-img, .asym.flip .asym-img { grid-column: 1 / -1; width: 68%; margin: 1.5rem auto 0; }
}

/* elegant text-only separator */
.sep { padding: clamp(2.5rem, 7vh, 4.5rem) 0; }
.sep-text {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--ink); max-width: 34ch; margin: 0 auto;
}
.sep-text::before {
  content: ""; display: block; width: 44px; height: 1px;
  background: var(--gold); opacity: 0.55; margin: 0 auto 1.6rem;
}

/* occasional wide image (contained, not full-bleed) */
.wide-moment { padding: clamp(2.5rem, 7vh, 4.5rem) 0 clamp(4rem, 10vh, 6.5rem); }
.wide-img { aspect-ratio: 16 / 9; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  body[data-loader] { overflow: auto; }
  body[data-loader] main, main { animation: none; }
  .hero-title .line > span, body[data-loader] .hero-title .line > span { transform: none; animation: none; }
  .hero-sub, body[data-loader] .hero-sub { opacity: 1; animation: none; }
  .hero-slides .slide.on { animation: none; transform: none; }
  .duo-media .slide { opacity: 1; transform: none; }
  .duo-media .slide.on { animation: none; }
  .duo-media .slide:not(.on) { display: none; }
  .zooming { animation: none; }
  .scroll-cue span { animation: none; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; transition: none; }
  [data-parallax] { transform: none !important; }
  html { scroll-behavior: auto; }
}
