/* =====================================================================
   ORN. — STYLES
   Colours are set from js/content.js (theme). The values below are
   fallbacks only.
   ===================================================================== */
:root {
  --butter: #FDEBAB;
  --red: #7A0000;
  --cream: #F1F0EF;
  --blue: #C2D9F0;
  --brown: #3E2724;

  --serif: "Cormorant Garamond", "Frank Ruhl Libre", "Times New Roman", serif;
  --sans: "DM Sans", "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --he-serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --he-sans: "Heebo", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --col-gap: clamp(12px, 1.6vw, 24px);
  --sec: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --rule: color-mix(in srgb, var(--brown) 20%, transparent);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
::selection { background: var(--red); color: var(--butter); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* paper grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9000; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: 1680px; margin: 0 auto; padding: 0 var(--gut); }
.label {
  font-family: var(--sans); font-size: 11px; line-height: 1.4;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .92; letter-spacing: -.015em; }
em { font-style: italic; font-weight: 300; }

/* ---------- line-by-line headline reveal ---------- */
.ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.in .ln > span, .loaded .hero-title .ln > span, .loaded .in-hero .ln > span { transform: none; }
.ln:nth-child(2) > span { transition-delay: .09s; }
.ln:nth-child(3) > span { transition-delay: .18s; }

.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s ease, transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.rv.in, .loaded .rv.in-hero { opacity: 1; transform: none; }
.loaded .hero .rv.in-hero { transition-delay: .55s; }
.loaded .hero .btn.in-hero { transition-delay: .7s; }

.rv-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
.rv-clip.in, .loaded .rv-clip.in-hero { clip-path: inset(0 0 0 0); }
.rv-clip .media-in { transform: scale(1.18); transition: transform 2s var(--ease); }
.rv-clip.in .media-in, .loaded .rv-clip.in-hero .media-in { transform: scale(1); }
.loaded .hero .rv-clip.in-hero { transition-delay: .25s; }

/* ---------- running head (magazine header line) ---------- */
.rhead {
  position: relative; display: flex; justify-content: space-between; gap: 16px;
  padding-top: 14px; margin-bottom: clamp(48px, 7vw, 110px);
}
.rhead::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 1.6s var(--ease);
}
.rhead.in::before { transform: scaleX(1); }
.rhead > * { opacity: 0; transition: opacity 1s .4s; }
.rhead.in > * { opacity: .75; }

/* ---------- intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 10000; background: var(--red); color: var(--butter);
  display: grid; place-items: center; transition: transform 1.1s var(--ease) .1s;
}
.intro span { font-family: var(--serif); font-size: clamp(5rem, 16vw, 14rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; transition: opacity .5s, transform 1.1s var(--ease); }
.intro i { font-style: normal; color: var(--cream); }
.loaded .intro { transform: translateY(-100%); }
.loaded .intro span { opacity: 0; transform: translateY(-40px); }

/* ---------- media frames ---------- */
.m { position: relative; }
.media { position: relative; aspect-ratio: var(--r, 4/5); overflow: hidden; background: var(--butter); }
.media-in { position: absolute; inset: 0; transition: transform 1.4s var(--ease); }
.media-in > img, .media-in > video, .ph, .ph svg { width: 100%; height: 100%; object-fit: cover; }
.media:hover .media-in { transform: scale(1.045); }
.ph { position: relative; }
.ph-tag {
  position: absolute; inset-inline-start: 10px; bottom: 10px; max-width: calc(100% - 20px);
  display: flex; flex-direction: column; gap: 2px; padding: 7px 10px;
  background: color-mix(in srgb, var(--cream) 90%, transparent); color: var(--brown);
  font-size: 10.5px; letter-spacing: .04em; line-height: 1.35;
}
.ph-tag b { font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 9.5px; color: var(--red); }
.cap { margin-top: 12px; opacity: .65; font-size: 10px; }
.play {
  position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center;
}
.play::after { content: ""; margin-left: 3px; border-left: 11px solid var(--red); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* UGC / story overlay */
.ugc { position: absolute; inset: 0; pointer-events: none; color: #fff; }
.ugc-bars { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.ugc-bars i { flex: 1; height: 2px; background: rgba(255, 255, 255, .45); border-radius: 2px; overflow: hidden; position: relative; }
.ugc-bars i.on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: story 6s linear infinite; }
@keyframes story { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ugc-side { position: absolute; right: 10px; top: 42%; display: flex; flex-direction: column; gap: 12px; }
.ugc-side span { width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--brown) 28%, transparent); display: grid; place-items: center; font-size: 14px; backdrop-filter: blur(4px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 16px; }
.btn-dot {
  width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: var(--butter);
  display: grid; place-items: center; font-size: 20px; transition: transform .6s var(--ease), background .4s;
}
.btn .label { position: relative; }
.btn .label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .6s var(--ease); }
.btn:hover .btn-dot { transform: scale(1.12) rotate(-12deg); background: var(--brown); }
.btn:hover .label::after { transform: scaleX(1); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 20px var(--gut); transition: padding .5s var(--ease), background .4s, transform .6s var(--ease), color .4s;
}
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; background: color-mix(in srgb, var(--cream) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }
.nav.scrolled.on-dark { background: color-mix(in srgb, var(--red) 88%, transparent); color: var(--cream); box-shadow: 0 1px 0 color-mix(in srgb, var(--cream) 15%, transparent); }
.nav.hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: baseline; gap: 12px; justify-self: start; }
.brand-mark { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--red); transition: color .4s; }
.on-dark .brand-mark { color: var(--butter); }
.brand-sub { opacity: .7; font-size: 10px; }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links sup { font-size: 8px; margin-inline-end: 5px; opacity: .55; vertical-align: super; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  justify-self: end; display: inline-flex; gap: 10px; align-items: center;
  border: 1px solid currentColor; border-radius: 99px; padding: 10px 18px; transition: background .4s, color .4s;
}
.nav-cta:hover { background: var(--red); color: var(--butter); border-color: var(--red); }
.on-dark .nav-cta:hover { background: var(--butter); color: var(--red); border-color: var(--butter); }
.menu-btn { display: none; justify-self: end; border: 1px solid currentColor; border-radius: 99px; padding: 9px 16px; position: relative; z-index: 2; }

.menu {
  position: fixed; inset: 0; z-index: 400; background: var(--red); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gut) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--serif); font-size: clamp(3rem, 15vw, 6rem); line-height: 1.05; border-bottom: 1px solid color-mix(in srgb, var(--cream) 18%, transparent); padding: 6px 0; display: flex; align-items: flex-start; gap: 12px; }
.menu nav a sup { margin-top: 1.4em; color: var(--butter); }
.menu-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; opacity: .75; }
.menu-open .nav { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .brand-mark { color: var(--butter); }

/* =====================================================================
   01 HERO
   ===================================================================== */
.hero { position: relative; overflow-x: clip; min-height: 100svh; display: flex; flex-direction: column; padding-top: clamp(84px, 9vw, 120px); }
.hero-grid {
  flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap);
  grid-template-rows: auto 1fr auto; padding-bottom: clamp(32px, 4vw, 56px); position: relative;
}
.hero-meta { grid-column: 1 / 8; grid-row: 1; display: flex; flex-wrap: wrap; gap: 10px 0; padding-top: 18px; align-self: start; }
.hero-meta span:not(:last-child)::after { content: "/"; margin: 0 14px; opacity: .4; }
.hero-title {
  grid-column: 1 / 12; grid-row: 2; align-self: end; position: relative; z-index: 3; pointer-events: none;
  font-size: clamp(7.5rem, 27.5vw, 32rem); line-height: .76; font-weight: 500; letter-spacing: -.055em;
  color: var(--red); margin-bottom: -.02em;
}
.hero-title .ln { padding-top: .1em; padding-right: .06em; }
.hero-title .ln > span { transition-duration: 1.6s; transition-delay: .2s; }
.hero-title .dot { color: var(--red); }
.hero-media { grid-column: 8 / 13; grid-row: 1 / 4; position: relative; align-self: start; margin-top: 8px; }
.hero-media::before {
  content: ""; position: absolute; inset-inline-start: -16%; bottom: 14%; width: 62%; height: 46%; background: var(--butter); z-index: -1;
}
.hero-media::after {
  content: ""; position: absolute; inset-inline-end: -7%; top: -5%; width: 34%; height: 28%; background: var(--blue); z-index: -1;
}
.hero-media .cap { text-align: left; }
.sticker { position: absolute; inset-inline-end: 12%; top: -54px; width: 132px; height: 132px; border-radius: 50%; background: var(--cream); z-index: 4; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--rule); }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.sticker text { font-family: var(--sans); font-size: 12.4px; letter-spacing: .2em; text-transform: uppercase; fill: var(--red); font-weight: 500; }
.sticker-star { color: var(--red); font-size: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-copy {
  grid-column: 1 / 8; grid-row: 3; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 48px);
  align-items: end; padding-top: 24px; margin-top: 18px; border-top: 1px solid var(--rule);
}
.tagline { font-family: var(--serif); font-size: clamp(2.3rem, 3.8vw, 4rem); line-height: .98; letter-spacing: -.02em; }
.tagline em { color: var(--red); }
.hero-side { display: flex; flex-direction: column; gap: 24px; }
.hero-desc { font-size: 15px; max-width: 34ch; opacity: .85; }
.hero-index { position: absolute; inset-inline-end: calc(var(--gut) * -1 + 10px); bottom: 40px; writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; opacity: .6; }
.hero-index i { width: 1px; height: 60px; background: currentColor; position: relative; overflow: hidden; }
.hero-index i::after { content: ""; position: absolute; inset: 0; background: var(--cream); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

.marquee { direction: ltr; background: var(--red); color: var(--butter); overflow: hidden; padding: 18px 0; }
.track { display: flex; align-items: center; width: max-content; animation: mq 46s linear infinite; }
.track span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.6rem); padding: 0 28px; white-space: nowrap; line-height: 1.2; }
.track b { font-size: 12px; font-weight: 400; opacity: .7; }
@keyframes mq { to { transform: translateX(-50%); } }

/* =====================================================================
   02 ABOUT
   ===================================================================== */
.about { padding: var(--sec) 0; }
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: clamp(56px, 8vw, 120px); }
.about-side { grid-column: 1 / 3; display: flex; flex-direction: column; gap: 10px; padding-top: 12px; opacity: .7; }
.about-headwrap { grid-column: 3 / 13; }
.about-head { font-size: clamp(3rem, 7.2vw, 8rem); }
.about-head em { color: var(--red); }
.about-portrait { grid-column: 1 / 6; position: relative; }
.about-portrait .block { position: absolute; top: -6%; inset-inline-start: 14%; width: 100%; height: 68%; background: var(--red); }
.about-portrait .portrait { position: relative; width: 84%; }
.about-portrait .detail { position: absolute; inset-inline-end: -6%; bottom: 12%; width: 40%; z-index: 2; }
.about-portrait .detail .media { box-shadow: 0 0 0 10px var(--cream); }
.about-text { grid-column: 7 / 12; align-self: center; display: flex; flex-direction: column; gap: 20px; font-size: 15.5px; }
.about-text p { max-width: 52ch; }
.about-text p:not(.lead):not(.sig) { opacity: .82; }
.lead { font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2.15rem); line-height: 1.22; }
.lead::first-letter { float: right; font-size: 3.4em; line-height: .8; padding: .04em 0 0 .12em; color: var(--red); font-weight: 500; }
.sig { font-family: var(--serif); font-style: italic; font-size: 1.9rem; color: var(--red); }
.about-quote {
  grid-column: 2 / 12; text-align: center; font-family: var(--serif); font-size: clamp(2.1rem, 4.6vw, 4.8rem);
  line-height: 1.04; letter-spacing: -.015em; position: relative; padding-top: .4em;
}
.about-quote em { color: var(--red); }
.qmark { display: block; font-size: 2.4em; line-height: .5; color: var(--butter); -webkit-text-stroke: 1px var(--red); }
.disc { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--brown); }
.disc li { padding: 22px clamp(14px, 2vw, 30px) 0; border-left: 1px solid var(--rule); }
.disc li:first-child { border-left: 0; padding-left: 0; }
.disc .label { color: var(--red); }
.disc h3 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); margin: 22px 0 12px; }
.disc p { font-size: 14px; opacity: .78; }

/* =====================================================================
   03 WORK
   ===================================================================== */
.work { background: var(--red); color: var(--cream); padding: var(--sec) 0; position: relative; }
.work .rhead.on-dark::before { background: color-mix(in srgb, var(--cream) 40%, transparent); }
.work-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: end; }
.wh-title { grid-column: 1 / 9; }
.work-head h2 { font-size: clamp(4.2rem, 13vw, 15rem); line-height: .84; position: relative; }
.work-head h2 em { color: var(--butter); }
.count { position: absolute; top: .2em; font-family: var(--sans); font-size: 14px; letter-spacing: .1em; color: var(--butter); margin-left: 10px; }
.work-head p { grid-column: 9 / 13; font-size: 15px; opacity: .82; max-width: 40ch; padding-bottom: 1.2em; }

.index { margin-top: clamp(56px, 7vw, 110px); border-bottom: 1px solid color-mix(in srgb, var(--cream) 22%, transparent); }
.index a {
  display: grid; grid-template-columns: 70px 1fr 220px 80px 40px; align-items: center; gap: 16px;
  padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--cream) 22%, transparent); position: relative; transition: color .4s, padding .6s var(--ease);
}
.index a::before { content: ""; position: absolute; inset: 0; background: var(--butter); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.index a > * { position: relative; z-index: 1; }
.i-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.1; }
.i-cat, .i-year { opacity: .7; }
.i-arrow { font-size: 20px; justify-self: end; transition: transform .6s var(--ease); }
.index a:hover { color: var(--red); padding-left: 16px; padding-right: 16px; }
.index a:hover::before { transform: scaleY(1); }
.index a:hover .i-arrow { transform: rotate(-45deg); }

.project { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); padding-top: clamp(100px, 13vw, 200px); }
.p-info { grid-column: 1 / 5; grid-row: 1; align-self: start; position: sticky; top: 100px; }
.p-media { grid-column: 6 / 13; grid-row: 1; }
.project.flip .p-info { grid-column: 9 / 13; }
.project.flip .p-media { grid-column: 1 / 8; }
.p-top { display: flex; justify-content: space-between; border-top: 1px solid color-mix(in srgb, var(--cream) 40%, transparent); padding-top: 12px; opacity: .8; }
.p-num {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(5.5rem, 10vw, 11rem);
  line-height: .9; margin-top: 18px; color: transparent; -webkit-text-stroke: 1px var(--butter);
  opacity: 0; transform: translateX(-20px); transition: opacity 1.2s, transform 1.4s var(--ease);
}
.p-num.in { opacity: 1; transform: none; }
.p-num { transform: translateX(20px); }
.p-title { font-size: clamp(2.5rem, 4.2vw, 4.4rem); margin: 10px 0 28px; }
.p-title em { color: var(--butter); }
.p-meta { display: grid; grid-template-columns: 70px 1fr; gap: 8px 16px; font-size: 14px; border-top: 1px solid color-mix(in srgb, var(--cream) 22%, transparent); padding-top: 16px; }
.p-meta dt { opacity: .6; padding-top: 3px; font-size: 10px; }
.p-desc { margin: 22px 0; font-size: 15px; opacity: .85; max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid color-mix(in srgb, var(--butter) 50%, transparent); color: var(--butter); border-radius: 99px; padding: 6px 12px; font-size: 10px; }
.work .cap { color: var(--cream); }

/* project compositions */
.p-media { display: grid; grid-template-columns: repeat(8, 1fr); column-gap: var(--col-gap); row-gap: var(--col-gap); align-items: start; }
/* feature: tall video + two stills */
.layout-feature .m1 { grid-column: 1 / 5; grid-row: 1 / 3; }
.layout-feature .m2 { grid-column: 5 / 9; grid-row: 1; margin-top: 22%; }
.layout-feature .m3 { grid-column: 6 / 9; grid-row: 2; }
.layout-feature.flip .m1 { grid-column: 5 / 9; }
.layout-feature.flip .m2 { grid-column: 1 / 5; }
.layout-feature.flip .m3 { grid-column: 1 / 4; }
/* wide: landscape + overlapping portrait */
.layout-wide .m1 { grid-column: 1 / 9; grid-row: 1; }
.layout-wide .m2 { grid-column: 5 / 8; grid-row: 2; margin-top: -26%; z-index: 2; }
.layout-wide .m2 .media { box-shadow: 0 0 0 10px var(--red); }
/* trio: three phones, staggered */
.layout-trio .p-media { grid-template-columns: repeat(3, 1fr); }
.layout-trio .m2 { margin-top: 18%; }
.layout-trio .m3 { margin-top: 36%; }
/* gallery: square + tall + banner */
.layout-gallery .m1 { grid-column: 1 / 6; grid-row: 1; }
.layout-gallery .m2 { grid-column: 6 / 9; grid-row: 1; margin-top: 34%; }
.layout-gallery .m3 { grid-column: 2 / 9; grid-row: 2; }
/* concept: panoramic + collage */
.layout-concept .m1 { grid-column: 1 / 9; grid-row: 1; }
.layout-concept .m2 { grid-column: 1 / 4; grid-row: 2; }
.layout-concept .m3 { grid-column: 4 / 9; grid-row: 2; margin-top: 18%; }

/* =====================================================================
   04 APPROACH
   ===================================================================== */
.approach { padding: var(--sec) 0; }
.ap-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: end; }
.ap-title { grid-column: 1 / 9; }
.ap-head h2 { font-size: clamp(3.2rem, 8.4vw, 9.5rem); }
.ap-head h2 em { color: var(--red); }
.ap-head p { grid-column: 9 / 13; font-size: 15px; opacity: .82; max-width: 40ch; padding-bottom: .8em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 110px); border-top: 1px solid var(--brown); border-bottom: 1px solid var(--rule); }
.step {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  min-height: clamp(440px, 40vw, 580px); padding: 18px clamp(16px, 1.8vw, 28px) 30px; border-left: 1px solid var(--rule);
}
.step:first-child { border-left: 0; }
.step::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.step:hover::before { transform: scaleY(1); }
.step-top { display: flex; justify-content: space-between; opacity: .75; }
.step-star { color: var(--red); transition: transform .9s var(--ease); font-size: 14px; }
.step:hover .step-star { transform: rotate(180deg) scale(1.3); }
.step-num {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(5rem, 9vw, 10rem); line-height: .8;
  color: var(--red); margin: clamp(24px, 3vw, 44px) 0 auto; transition: transform .9s var(--ease);
}
.step:hover .step-num { transform: translateX(-12px); color: var(--brown); }
.step h3 { font-size: clamp(1.8rem, 2.4vw, 2.5rem); margin: 28px 0 14px; }
.step h3 em { color: var(--red); }
.step p { font-size: 14px; opacity: .82; }
.step ul { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 10px; }
.step ul li::before { content: "— "; color: var(--red); }
.manifesto {
  font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 4.2rem); line-height: 1.08; letter-spacing: -.015em;
  text-align: center; margin-top: clamp(80px, 10vw, 150px);
}
.manifesto em { color: var(--red); }

/* =====================================================================
   05 CONTACT + FOOTER
   ===================================================================== */
.contact { background: var(--butter); padding: var(--sec) 0 clamp(64px, 8vw, 120px); }
.contact .rhead::before { background: var(--red); }
.contact-title { font-size: clamp(3.6rem, 11.5vw, 13.5rem); line-height: .86; color: var(--red); letter-spacing: -.03em; }
.contact-title .ln:nth-child(2) { padding-right: 12vw; }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); margin-top: clamp(56px, 7vw, 100px); align-items: end; }
.contact-main { grid-column: 1 / 9; display: flex; flex-direction: column; gap: 22px; }
.contact-intro { max-width: 46ch; font-size: 15.5px; margin-bottom: 18px; }
.c-row { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 16px; border-top: 1px solid color-mix(in srgb, var(--brown) 25%, transparent); padding-top: 14px; }
.c-row .label { opacity: .7; }
.c-link { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 4.2rem); line-height: 1.05; justify-self: start; position: relative; overflow-wrap: anywhere; transition: color .4s; }
.c-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.c-link:hover { color: var(--red); }
.c-link:hover::after { transform: scaleX(1); transform-origin: left; }
.avail { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.cta-circle {
  grid-column: 10 / 13; justify-self: end; position: relative; width: clamp(190px, 19vw, 280px); aspect-ratio: 1;
  border-radius: 50%; background: var(--red); color: var(--cream); display: grid; place-items: center;
  transition: background .5s, transform .8s var(--ease);
}
.cta-circle svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.cta-circle text { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; fill: var(--butter); }
.cta-in { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; max-width: 60%; }
.cta-arrow { font-size: 36px; line-height: 1; transition: transform .7s var(--ease); }
.cta-circle:hover { background: var(--brown); transform: scale(1.05) rotate(-4deg); }
.cta-circle:hover .cta-arrow { transform: rotate(45deg); }

.footer { background: var(--brown); color: var(--cream); padding-top: 28px; overflow: hidden; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; opacity: .7; }
.foot-row a:hover { color: var(--blue); }
.foot-big {
  font-family: var(--serif); font-weight: 500; font-size: clamp(8rem, 33vw, 40rem); line-height: .86; letter-spacing: -.06em;
  color: var(--blue); margin: clamp(20px, 3vw, 40px) 0 -.17em -.05em; user-select: none;
}
.foot-big span { color: var(--red); }

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9500; pointer-events: none; opacity: 0;
  width: 0; height: 0; transition: opacity .3s;
}
.cursor.show { opacity: 1; }
.cursor span {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--red);
  transform: translate(-50%, -50%); display: grid; place-items: center; overflow: hidden;
  font: 500 0/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  transition: width .45s var(--ease), height .45s var(--ease), background .3s, font-size .3s;
}
.cursor.link span { width: 34px; height: 34px; background: color-mix(in srgb, var(--red) 15%, transparent); }
.cursor.big span { width: 88px; height: 88px; background: var(--blue); font-size: 11px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .brand-sub { display: none; }
  .hero-copy { grid-column: 1 / 9; grid-template-columns: 1fr; }
  .hero-media { grid-column: 8 / 13; }
  .index a { grid-template-columns: 50px 1fr 160px 40px; }
  .i-year { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .p-info { grid-column: 1 / 6; }
  .project.flip .p-info { grid-column: 8 / 13; }
  .project.flip .p-media { grid-column: 1 / 8; }
}

@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; padding-top: 14px; padding-bottom: 14px; }
  .nav-cta { display: none; }
  .menu-btn { display: block; }
  .hide-sm { display: none !important; }

  .hero { min-height: auto; padding-top: 74px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-meta { grid-column: 1; grid-row: 1; padding-top: 10px; }
  .hero-meta span:not(:last-child)::after { margin: 0 10px; }
  .hero-title { grid-column: 1; grid-row: 2; font-size: 37vw; margin-top: 4vw; }
  .hero-media { grid-column: 1; grid-row: 3; width: 84%; justify-self: end; margin-top: -11vw; }
  .hero-media::before { inset-inline-start: -14%; bottom: 20%; width: 60%; height: 40%; }
  .hero-media::after { inset-inline-end: -4%; top: -4%; }
  .sticker { width: 92px; height: 92px; inset-inline-start: -46px; top: auto; bottom: 18%; }
  .sticker text { font-size: 13px; }
  .hero-copy { grid-column: 1; grid-row: 4; margin-top: 36px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-side, .about-headwrap, .about-portrait, .about-text, .about-quote, .disc { grid-column: 1; }
  .about-side { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; order: -1; }
  .about-portrait { width: 88%; margin-bottom: 6vw; }
  .about-portrait .portrait { width: 88%; }
  .about-portrait .detail { inset-inline-end: -10%; bottom: 10%; width: 42%; }
  .disc { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .disc li:nth-child(3) { border-left: 0; padding-left: 0; }

  .wh-title, .work-head p { grid-column: 1 / 13; }
  .work-head p { margin-top: 28px; }
  .index a { grid-template-columns: 36px 1fr 28px; gap: 12px; padding: 14px 0; }
  .i-cat { display: none; }
  .project, .project.flip { display: block; padding-top: 96px; }
  .p-info { position: static; margin-bottom: 36px; }
  .p-num { font-size: 5rem; }
  .p-media { grid-template-columns: 1fr 1fr; }
  .p-media .m { grid-column: auto !important; grid-row: auto !important; margin-top: 0 !important; }
  .layout-feature .m1 { grid-column: 1 !important; grid-row: 1 / 3 !important; }
  .layout-feature .m2 { grid-column: 2 !important; grid-row: 1 !important; }
  .layout-feature .m3 { grid-column: 2 !important; grid-row: 2 !important; }
  .layout-wide .m1, .layout-gallery .m3, .layout-concept .m1 { grid-column: 1 / 3 !important; }
  .layout-wide .m2 { grid-column: 2 !important; margin-top: -30% !important; }
  .layout-trio .p-media { grid-template-columns: repeat(3, 1fr); column-gap: 8px; }
  .layout-trio .m2 { margin-top: 12% !important; }
  .layout-trio .m3 { margin-top: 24% !important; }
  .layout-trio .ph-tag, .layout-trio .ugc-side { display: none; }
  .layout-concept .m3 { margin-top: 20% !important; }

  .ap-title, .ap-head p { grid-column: 1 / 13; }
  .ap-head p { margin-top: 24px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; border-left: 0 !important; border-top: 1px solid var(--rule); padding: 18px 0 30px; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
  .step:first-child { border-top: 0; }
  .step-top { grid-column: 1 / 3; }
  .step-num { grid-column: 2; grid-row: 2 / 6; font-size: 4.6rem; margin: 22px 0 0; }
  .step h3, .step p, .step ul { grid-column: 1; }
  .step h3 { margin-top: 22px; }
  .step::before { left: calc(var(--gut) * -1); right: calc(var(--gut) * -1); }

  .contact-title .ln:nth-child(2) { padding-right: 8vw; }
  .contact-main { grid-column: 1 / 13; }
  .c-row { grid-template-columns: 1fr; gap: 4px; }
  .cta-circle { grid-column: 1 / 13; justify-self: start; margin-top: 48px; }
  .rhead-mid { display: none; }
  .ph-tag { font-size: 9.5px; padding: 5px 7px; inset-inline-start: 6px; bottom: 6px; max-width: calc(100% - 12px); }
}

@media (max-width: 480px) {
  .hero-copy { grid-template-columns: 1fr; }
  .disc { grid-template-columns: 1fr; }
  .disc li { border-left: 0; padding-left: 0; }
  .foot-row { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ln > span, .rv, .rv-clip, .rv-clip .media-in, .p-num { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   LOGO (traced vector of the handwritten ORN. mark, js/logo.js)
   ===================================================================== */
.logo { display: block; height: auto; overflow: visible; }
.brand-mark .logo { width: 62px; }
.intro span .logo { width: clamp(180px, 30vw, 380px); color: var(--butter); }
.hero-title .logo { width: clamp(280px, 51vw, 980px); }
.hero-title .ln { padding-top: .02em; }
.foot-big .logo { width: 100%; color: var(--blue); }
.foot-big { line-height: 0; margin-bottom: -6vw; }
@media (max-width: 860px) {
  .hero-title .logo { width: 72vw; }
  .hero-media { margin-top: 6vw !important; }
  .brand-mark .logo { width: 56px; }
}

/* =====================================================================
   HEBREW + ENGLISH (page is Hebrew RTL; English is the accent)
   ===================================================================== */
body { font-family: var(--he-sans), var(--sans); line-height: 1.75; }
:where(.en) { text-align: right; }
.q-en { display: block; text-align: center; }
.manifesto { text-align: center; }
.he-sub, .lead, .sig, .step-he, .quote-he { font-family: var(--he-serif); }
.label.he { letter-spacing: .02em; text-transform: none; font-size: 13px; font-family: var(--he-sans); }
.nav-links .label.he, .nav-links a { font-size: 14px; letter-spacing: 0; }
.nav-cta.he, .menu-btn { letter-spacing: .02em; }
.btn .label.he, .cta-in .label.he { font-size: 15px; font-weight: 500; }
.menu nav a { font-family: var(--he-serif); font-weight: 400; }
.sticker svg, .cta-circle svg, .ph svg { direction: ltr; }
.ph-tag { direction: ltr; text-align: left; }

/* Hebrew line that sits under/next to an English headline */
.he-sub {
  font-size: clamp(1.25rem, 1.9vw, 1.9rem); line-height: 1.35; font-weight: 400;
  margin-top: clamp(16px, 2vw, 28px); max-width: 38ch;
}
.about .he-sub, .approach .he-sub { color: var(--red); }
.work .he-sub { color: var(--butter); }
.contact-he { color: var(--brown); margin-top: 28px; }
.quote-he { display: block; font-size: clamp(1.15rem, 1.6vw, 1.6rem); color: var(--brown); opacity: .75; margin: 22px auto 0; max-width: 40ch; }
.manifesto-he { text-align: center; margin: 26px auto 0; color: var(--brown); opacity: .75; max-width: 64ch; }
.step-he { font-size: 1.2rem; color: var(--red); margin: -6px 0 12px; }
.lead { font-size: clamp(1.45rem, 2vw, 1.95rem); line-height: 1.4; font-weight: 400; }
.sig { font-size: 1.6rem; font-style: normal; }
.hero-desc { font-size: 17px; max-width: 30ch; }
.p-desc, .about-text p:not(.lead):not(.sig), .ap-head p, .work-head p, .contact-intro { font-size: 16px; }
.p-meta dd { font-size: 15px; }
.disc p, .step p { font-size: 15px; }
.step ul { font-size: 13.5px; letter-spacing: 0; text-transform: none; font-family: var(--he-sans); }
.count { position: static; vertical-align: top; display: inline-block; margin: .3em 0 0 10px; }

/* ---------- work chapters (categories) ---------- */
.chapter { padding-top: clamp(110px, 13vw, 210px); }
.ch-head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: end;
  position: relative; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--cream) 40%, transparent);
}
.ch-top { grid-column: 1 / 13; display: flex; justify-content: space-between; opacity: .75; margin-bottom: clamp(28px, 4vw, 56px); }
.ch-letter {
  grid-column: 1 / 3; grid-row: 2; font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(6rem, 13vw, 14rem); line-height: .75; color: var(--blue);
  opacity: 0; transform: translateY(30px); transition: opacity 1.2s, transform 1.4s var(--ease);
}
.ch-letter.in { opacity: 1; transform: none; }
.ch-titles { grid-column: 3 / 9; grid-row: 2; }
.ch-title { font-size: clamp(3rem, 7.5vw, 8rem); line-height: .9; }
.ch-title em { color: var(--butter); }
.ch-he { color: var(--blue) !important; }
.ch-side { grid-column: 9 / 13; grid-row: 2; padding-bottom: .6em; display: flex; flex-direction: column; gap: 14px; }
.ch-intro { font-size: 16px; opacity: .85; max-width: 36ch; }
.ch-note { font-size: 14px; color: var(--butter); }
.ch-note .label { opacity: .7; margin-inline-end: 8px; color: var(--cream); }
.chapter .project:first-of-type { padding-top: clamp(64px, 8vw, 120px); }
@media (max-width: 860px) {
  .ch-head { grid-template-columns: 1fr auto; }
  .ch-top { grid-column: 1 / 3; }
  .ch-letter { grid-column: 2; grid-row: 2; font-size: 6rem; }
  .ch-titles { grid-column: 1; grid-row: 2; }
  .ch-side { grid-column: 1 / 3; grid-row: 3; margin-top: 20px; }
  .chapter { padding-top: 110px; }
}

/* each category: a row of vertical videos, gently staggered */
.ch-videos {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px);
  margin: clamp(56px, 7vw, 110px) auto 0; max-width: 1040px; align-items: start;
}
.ch-videos .m:nth-child(3n+2) { margin-top: 14%; }
.ch-videos .m:nth-child(3n+3) { margin-top: 28%; }
.chapter.flip .ch-videos .m:nth-child(3n+1) { margin-top: 28%; }
.chapter.flip .ch-videos .m:nth-child(3n+3) { margin-top: 0; }
@media (max-width: 860px) {
  .ch-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ch-videos .m { margin-top: 0 !important; }
  .ch-videos .m:nth-child(2n) { margin-top: 18% !important; }
  .ch-videos .ugc-side { display: none; }
}
/* hero meta separators: physical side, since the row reads right-to-left */
.hero-meta span:not(:last-child)::after { content: none; }
.hero-meta { gap: 8px 0; }
.hero-meta span:not(:last-child) { border-left: 1px solid var(--rule); padding-left: 14px; margin-left: 14px; }

/* About: no drop cap, the greeting is the opening line */
.lead::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0; color: inherit; font-weight: inherit; }
.lead { font-size: clamp(1.9rem, 2.8vw, 2.7rem); line-height: 1.2; color: var(--red); }
/* About: the last line before the signature is the punchline */
.about-text p.rv:has(+ .sig):not(.lead) { font-family: var(--he-serif); font-size: clamp(1.35rem, 1.8vw, 1.75rem); line-height: 1.35; color: var(--red); opacity: 1 !important; }

/* About, v3: Oren's own text. Opening paragraph medium-size, English closing line as the signature moment */
.lead { font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.5; color: var(--red); }
.about-text > p.en { font-family: var(--serif) !important; font-style: italic; font-weight: 400; font-size: clamp(2rem, 3vw, 2.9rem) !important; line-height: 1.1; color: var(--red); text-align: right; margin-top: 8px; }

/* About, v4: the opening paragraph is plain body text; only the name is bold */
.about-text p.lead { font-family: var(--he-sans); font-size: 16px; line-height: 1.75; color: var(--brown); opacity: .82; }
.about-text p.lead strong { font-weight: 700; }

/* =====================================================================
   SELECTED WORK v3 — three distinct chapters
   ===================================================================== */
.ch-letter { font-style: normal; font-weight: 300; letter-spacing: -.04em; }
.ch-sub { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.4rem); line-height: 1.1; margin-top: 14px; color: var(--butter); }
.ch-sub em { font-style: italic; }
.ch-side .tags { margin-top: 4px; }
.ch-note { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.6; padding-top: 14px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); color: inherit; }
.ch-note .label { opacity: .6; color: inherit; margin: 0; }
.ch-note-text { opacity: .85; }

/* panels: cream and brown chapters run full-bleed inside the burgundy section */
.chapter.tone-cream, .chapter.tone-brown {
  margin-top: clamp(110px, 13vw, 200px); padding: clamp(64px, 8vw, 120px) 0 clamp(72px, 9vw, 140px);
  position: relative; isolation: isolate;
}
.tone-cream { --panel: var(--cream); color: var(--brown); }
.tone-brown { --panel: var(--brown); color: var(--cream); }
.tone-cream + .tone-brown { margin-top: 0; }

.tone-cream .ch-head { border-top-color: var(--rule); }
.tone-cream .ch-letter { color: var(--red); }
.tone-cream .ch-title em, .tone-cream .ch-sub { color: var(--red); }
.tone-cream .tags li { border-color: color-mix(in srgb, var(--red) 45%, transparent); color: var(--red); }
.tone-cream .cap { color: var(--brown); }
.tone-cream .ph-tag { background: var(--butter); }

.tone-brown .ch-letter { color: var(--butter); }
.tone-brown .ch-title em, .tone-brown .ch-sub { color: var(--butter); }
.tone-brown .ch-head { border-top-color: color-mix(in srgb, var(--cream) 25%, transparent); }

/* layouts */
.layout-triptych .ch-videos { grid-template-columns: 1fr 1.3fr 1fr; align-items: center; max-width: 1120px; }
.layout-triptych .ch-videos .m { margin-top: 0 !important; }
.layout-row .ch-videos { max-width: 1180px; gap: clamp(14px, 2.4vw, 40px); }
.layout-row .ch-videos .m { margin-top: 0 !important; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--cream) 25%, transparent); }
.layout-row .ch-videos .cap { opacity: .8; margin-top: 14px; }

/* phones: each chapter's videos become a swipeable row */
@media (max-width: 860px) {
  .ch-videos, .layout-triptych .ch-videos, .layout-row .ch-videos {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; max-width: none;
    margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scrollbar-width: none;
  }
  .ch-videos::-webkit-scrollbar { display: none; }
  .ch-videos .m { flex: 0 0 64%; scroll-snap-align: start; margin-top: 0 !important; }
  .chapter.tone-cream, .chapter.tone-brown { margin-top: 96px; padding: 56px 0 64px; }
  .tone-cream + .tone-brown { margin-top: 0; }
  .ch-letter { font-size: 4.6rem; }
}
.ch-letter { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
/* the last work chapter (brown panel) runs straight into Contact */
.work:has(.chapter.tone-brown:last-child) { padding-bottom: 0; }
/* full-bleed panel colour: a plain block behind the chapter (light to paint, unlike a giant box-shadow) */
.chapter.tone-cream::before, .chapter.tone-brown::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: var(--panel); z-index: -1;
}
.work { overflow-x: clip; }

/* Contact: centred statement */
.contact-statement {
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px);
  margin: clamp(56px, 7vw, 100px) auto 0; max-width: 980px; text-align: center;
}
.cs-text {
  font-family: var(--he-serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.4; color: var(--brown); max-width: 24ch; text-wrap: balance;
}
.cs-rule { flex: 1 1 0; min-width: 24px; max-width: 120px; height: 1px; background: var(--red); opacity: .5; }
.contact-statement + .contact-grid { margin-top: clamp(48px, 6vw, 90px); }
@media (max-width: 860px) {
  .cs-rule { max-width: 36px; }
  .cs-text { font-size: 1.35rem; }
}
/* Contact statement: back to the body font (Heebo), as before */
.cs-text { font-family: var(--he-sans); font-size: 16px; line-height: 1.75; max-width: 46ch; }
@media (max-width: 860px) { .cs-text { font-size: 16px; } }

/* 4 videos per chapter (desktop / tablet). Phones keep the sideways swipe. */
@media (min-width: 861px) {
  .chapter .ch-videos { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; }
  .chapter .ch-videos .m:nth-child(n) { margin-top: 0; }
  .chapter.layout-stagger .ch-videos .m:nth-child(4n+2) { margin-top: 12%; }
  .chapter.layout-stagger .ch-videos .m:nth-child(4n+3) { margin-top: 24%; }
  .chapter.layout-stagger .ch-videos .m:nth-child(4n+4) { margin-top: 36%; }
  .chapter.layout-triptych .ch-videos { grid-template-columns: 1fr 1.25fr 1.25fr 1fr; align-items: center; }
}

/* =====================================================================
   PINNED PORTRAIT — one photo shared by the opening and About me
   ===================================================================== */
.pin { position: relative; }
.pin .about-portrait { display: none; }          /* the photo is already pinned */
.pin-track { position: absolute; z-index: 2; pointer-events: none; }
.pin-media {
  position: sticky; top: 96px; pointer-events: auto;
  width: min(100%, calc((100vh - 150px) * 0.75)); margin-inline-start: auto;
}
.pin-media::before { content: ""; position: absolute; inset-inline-start: -14%; bottom: 12%; width: 60%; height: 44%; background: var(--butter); z-index: -1; }
.pin-media::after { content: ""; position: absolute; inset-inline-end: -7%; top: -4%; width: 34%; height: 24%; background: var(--blue); z-index: -1; }
.pin-media .cap { text-align: left; }
.pin-media .sticker { inset-inline-end: auto; inset-inline-start: -66px; top: 10%; }
@media (min-width: 861px) {
  .pin .hero-media { visibility: hidden; }        /* keeps the hero layout, the pinned copy shows instead */
  .pin .about-side { grid-column: 1 / 3; }
  .pin .about-headwrap { grid-column: 3 / 8; }
  .pin .about-text { grid-column: 1 / 7; }
}
@media (max-width: 860px) {
  .pin-track { display: none; }
}

/* About: no profile labels — the title takes their place */
.about-grid > .about-headwrap:first-child { grid-column: 1 / 13; }
@media (min-width: 861px) { .pin .about-grid > .about-headwrap:first-child { grid-column: 1 / 8; } }

/* Nav: full logo lockup (ORN. over "Creative studio") */
.brand-mark .lockup { width: 104px; transition: width .5s var(--ease); }
.nav.scrolled .brand-mark .lockup { width: 84px; }
@media (max-width: 860px) { .brand-mark .lockup, .nav.scrolled .brand-mark .lockup { width: 80px; } }
/* About: the name stands out — larger, bold, burgundy */
.about-text p.lead strong { font-size: 1.6em; font-weight: 700; color: var(--red); line-height: 1.3; }

/* About: keep a normal word gap next to the enlarged name */
.about-text p.lead strong { margin-inline: .12em; }

/* =====================================================================
   PHONE SWIPE CUE (video rows)
   ===================================================================== */
.ch-scroller { position: relative; }
.ch-next, .ch-hint { display: none; }
@media (max-width: 860px) {
  .ch-next {
    display: grid; place-items: center; position: absolute; left: 4px; top: 42%; z-index: 3;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: var(--butter); color: var(--red); font-size: 22px; line-height: 1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25); animation: nudge 1.6s ease-in-out infinite;
    transition: opacity .4s, transform .4s;
  }
  .tone-cream .ch-next { background: var(--red); color: var(--butter); }
  .ch-scroller.at-end .ch-next { opacity: 0; pointer-events: none; animation: none; }
  .ch-hint {
    display: block; margin-top: 14px; font-size: 13px; opacity: .75; text-align: center; transition: opacity .4s;
  }
  .ch-hint span { display: inline-block; margin-inline-start: 6px; animation: nudge 1.6s ease-in-out infinite; }
  .ch-hint.at-end { opacity: 0; }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }

/* Closing headline in Hebrew: large, right-aligned, burgundy last line (no fake italic) */
.contact-title.he { font-family: var(--he-serif); font-weight: 400; font-size: clamp(2.6rem, 6.2vw, 7rem); line-height: 1.12; letter-spacing: -.01em; }
.contact-title.he em { font-style: normal; color: var(--red); font-weight: 500; }
.contact-title.he .ln:nth-child(2) { padding-right: 8vw; }
#contact-details { scroll-margin-top: 120px; }
@media (max-width: 860px) {
  .contact-title.he { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .contact-title.he .ln:nth-child(2) { padding-right: 6vw; }
}
@media (max-width: 860px) {
  .contact-title.he { font-size: clamp(1.9rem, 8.2vw, 3rem); }
  .contact-title.he .ln:nth-child(2) { padding-right: 4vw; }
  .contact .c-link { font-size: clamp(1.35rem, 6.2vw, 1.9rem); overflow-wrap: normal; word-break: keep-all; }
}
/* Closing button: centred under the contact details, upright */
.cta-circle { grid-column: 1 / 13 !important; justify-self: center !important; margin-top: clamp(48px, 6vw, 80px); }
.cta-circle:hover { transform: scale(1.05); }
.cta-circle:hover .cta-arrow { transform: translateY(-4px); }
.cta-in, .cta-in .label { text-align: center !important; }
/* Selected Works: two stacked words, the second stepped in for an editorial look */
.work-head h2 { line-height: .88; }
.work-head h2 .ln:nth-child(2) { padding-right: .9em; }
@media (max-width: 860px) { .work-head h2 .ln:nth-child(2) { padding-right: .6em; } }

/* Contact options menu under the round button */
.cta-menu {
  grid-column: 1 / 13; justify-self: center; margin-top: 22px; width: min(340px, 100%);
  display: flex; flex-direction: column; background: var(--cream); border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(62, 39, 36, .18);
}
.cta-menu[hidden] { display: none; }
.cta-menu a, .cta-menu button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: start;
  padding: 14px 20px; border: 0; background: none; cursor: pointer; font: inherit; color: var(--brown);
  border-top: 1px solid var(--rule); transition: background .25s;
}
.cta-menu > :first-child { border-top: 0; }
.cta-menu a:hover, .cta-menu button:hover { background: var(--butter); }
.cta-menu span { font-family: var(--he-sans); font-weight: 600; font-size: 16px; color: var(--red); }
.cta-menu small { font-size: 13px; opacity: .7; direction: ltr; unicode-bidi: isolate; }
