/* Filmstrip — minimal light, single typeface (Jost) */
:root {
  --bg: #ffffff;
  --text: #1b1b1b;
  --muted: #9a9a9a;
  --line: #ececec;
  --ph: #f3f2f0;
  --g: clamp(18px, 3vw, 40px);
  --bar: 72px;
  --font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 14px/1.6 var(--font); letter-spacing: .015em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }

.caps { text-transform: uppercase; letter-spacing: .2em; font-size: 11px; }
.muted { color: var(--muted); }
.link { border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .3s; }
.link:hover { border-color: var(--text); }

/* Header */
.bar { height: var(--bar); display: flex; justify-content: space-between; align-items: center; padding: 0 var(--g); }
.name { font-weight: 500; text-transform: uppercase; letter-spacing: .24em; font-size: 12px; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.menu { display: none; }
@media (max-width: 640px) { .nav { display: none; } .menu { display: block; } }

/* Placeholder (fashion photos to come) */
.ph-box { background: var(--ph); display: grid; place-items: center; color: #b4b0aa; text-align: center; }
.ph-box span { text-transform: uppercase; letter-spacing: .2em; font-size: 10px; }

/* ---------- Home: filmstrip ---------- */
.home { height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.strip { flex: 1; min-height: 0; display: flex; gap: clamp(16px, 2vw, 32px); overflow-x: auto; overflow-y: hidden; padding: 8px var(--g) 0; scrollbar-width: none; scroll-snap-type: x proximity; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { margin: 0; flex: none; height: 100%; display: flex; flex-direction: column; scroll-snap-align: start; scroll-margin-left: var(--g); }
.strip .img { height: calc(100% - 36px); background: var(--ph); }
.strip .img img { height: 100%; width: auto; }
.strip figcaption { height: 36px; display: flex; align-items: flex-end; gap: 14px; font-size: 12.5px; }
.strip figcaption span { color: var(--muted); }
.strip .end { height: calc(100% - 36px); aspect-ratio: .8; flex: none; display: grid; place-items: center; border: 1px solid var(--line); text-align: center; padding: 24px; transition: background .3s; }
.strip .end:hover { background: #fafafa; }
.strip .end b { display: block; font-weight: 400; font-size: 22px; letter-spacing: .01em; margin-bottom: 10px; }
.foot { flex: none; height: var(--bar); display: flex; justify-content: space-between; align-items: center; padding: 0 var(--g); }
.foot .ctl { display: flex; align-items: center; gap: 20px; }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: border-color .2s; }
.arrows button:hover { border-color: var(--text); }
.arrows svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .home { height: auto; overflow: visible; display: block; }
  .strip { display: block; overflow: visible; padding: 0 var(--g); }
  .strip figure { height: auto; margin-bottom: 36px; }
  .strip .img { height: auto; }
  .strip .img img { width: 100%; height: auto; }
  .strip figcaption { height: auto; padding-top: 10px; }
  .strip .end { width: 100%; height: auto; aspect-ratio: 3 / 2; margin-bottom: 24px; }
  .foot { display: none; }
}

/* ---------- Inner pages ---------- */
.page { padding: clamp(48px, 8vw, 112px) var(--g) 0; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.page-head h1 { margin: 0; font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: .01em; line-height: 1.1; }

/* Portfolio filters + justified grid */
.filters { display: flex; gap: 26px; flex-wrap: wrap; }
.filters button { color: var(--muted); transition: color .2s; }
.filters button sup { font-size: 9px; margin-left: 3px; }
.filters button[aria-pressed="true"] { color: var(--text); }
.jgrid { display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 16px); }
.jrow { display: flex; gap: clamp(10px, 1.2vw, 16px); }
.jitem { position: relative; flex: none; overflow: hidden; background: var(--ph); cursor: zoom-in; }
.jitem img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.jitem .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.45)); color: #fff; font-size: 12px; opacity: 0; transition: opacity .3s; display: flex; justify-content: space-between; }
.jitem:hover .cap { opacity: 1; }
.jitem:hover img { opacity: .94; }
.jitem.ph-box { cursor: default; }

/* Lightbox (light) */
.lb { position: fixed; inset: 0; z-index: 150; background: #fff; display: grid; grid-template-rows: var(--bar) 1fr var(--bar); }
.lb .top, .lb .bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 var(--g); }
.lb .top span { font-size: 12px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.lb .bot #lbt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the photos sit side by side: swipe with a finger, or use Previous / Next */
.lb .stage { min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; touch-action: pan-x; }
.lb .stage::-webkit-scrollbar { display: none; }
.lb .sl { flex: 0 0 100%; min-width: 0; height: 100%; display: grid; place-items: center; padding: 0 var(--g); scroll-snap-align: center; scroll-snap-stop: always; }
.lb .sl img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0; transition: opacity .5s ease; }
.lb .sl img.in { opacity: 1; }
.lb .bot .nav2 { display: flex; flex: none; gap: 28px; }
.lb .nav2 button { transition: opacity .3s; }
.lb .nav2 button:disabled { opacity: .25; cursor: default; }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about .portrait { aspect-ratio: 4 / 5; background: var(--ph); overflow: hidden; position: sticky; top: 24px; }
.about .portrait img { width: 100%; height: 100%; object-fit: cover; }
.about .bio { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; letter-spacing: .005em; max-width: 34em; }
.about .bio p { margin: 0 0 1em; }
.about .bio p.muted { color: var(--muted); }
.block { margin-top: clamp(56px, 7vw, 96px); }
.block > .caps { display: block; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.services { list-style: none; margin: 0; padding: 0; }
.services li { display: grid; grid-template-columns: 40px 1fr 1.4fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.services li b { font-weight: 400; font-size: 17px; }
.services li .n { color: var(--muted); font-size: 12px; }
.films { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.films .f .fr { position: relative; aspect-ratio: 2.2; background: #111; overflow: hidden; }
.films .f img { width: 100%; height: 100%; object-fit: cover; }
.films .f .play { position: absolute; left: 12px; bottom: 12px; background: #fff; padding: 6px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.films .f p { margin: 10px 0 0; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.facts div span { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 1024px) {
  .services li { grid-template-columns: 32px 1fr; }
  .services li .d { grid-column: 2; }
  .films { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .about { grid-template-columns: 1fr; }
  .about .portrait { position: static; max-width: 420px; }
  .services li { grid-template-columns: 32px 1fr; }
  .services li .d { grid-column: 2; }
  .films { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.contact h1 { margin: 0 0 24px; font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
.contact .lead { color: var(--muted); font-size: 16px; max-width: 30em; margin: 0 0 40px; }
.dl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dl li { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl li .caps { color: var(--muted); padding-top: 3px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0 10px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--text); }
.send { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
.btn { height: 46px; padding: 0 26px; border: 1px solid var(--text); background: var(--text); color: #fff; }
.btn:hover { background: #000; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* Quiet pages (presets / 404) */
.quiet { min-height: calc(100vh - var(--bar)); min-height: calc(100svh - var(--bar)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px); padding: 0 var(--g) var(--bar); }
.quiet h1 { margin: 0 0 16px; font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
.quiet p { color: var(--muted); font-size: 16px; max-width: 28em; margin: 0 0 28px; }
.quiet .img { aspect-ratio: 4 / 5; max-height: 70vh; justify-self: end; overflow: hidden; }
.quiet .img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .quiet { grid-template-columns: 1fr; padding-top: 32px; } .quiet .img { justify-self: stretch; max-height: none; } }

/* Footer (inner pages) */
.sitefoot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--g); margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.sitefoot nav { display: flex; gap: 22px; }
.sitefoot a:hover { color: var(--text); }
.lb[hidden] { display: none; }
/* Before / after */
.compare { --pos: 50%; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ph); user-select: none; margin-top: 20px; max-width: 620px; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .bar2 { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: #fff; pointer-events: none; }
.compare .tag { position: absolute; bottom: 12px; padding: 4px 9px; background: rgba(255,255,255,.92); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; pointer-events: none; }
.compare .tag.l { left: 12px; } .compare .tag.r { right: 12px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* ===== Home: content below the filmstrip ===== */
.home { overflow: visible; }
.hsec { padding: clamp(96px, 12vw, 170px) var(--g) 0; }
.shead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; margin-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.shead .caps:first-child { color: var(--text); }
.intro2 { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(24px, 5vw, 80px); }
.intro2 p { margin: 0; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.35; letter-spacing: .005em; max-width: 26em; }
.intro2 p span { color: var(--muted); }
.intro2 .links { display: flex; gap: 32px; margin-top: 32px; }
.genres { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.genre .im { aspect-ratio: 3 / 4; overflow: hidden; background: var(--ph); }
.genre .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.genre:hover .im img { transform: scale(1.03); }
.genre p { margin: 12px 0 0; display: flex; justify-content: space-between; font-size: 15px; }
.genre p span { color: var(--muted); font-size: 12px; }
.feature figure { margin: 0; }
.feature .wide img { width: 100%; height: auto; }
.feature .pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(10px, 1.4vw, 20px); }
.feature .pair img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.feature figcaption { display: flex; gap: 14px; padding-top: 10px; font-size: 12.5px; }
.feature figcaption span { color: var(--muted); }
.hfilms { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); }
.hfilms .fr { position: relative; aspect-ratio: 2.2; background: #111; overflow: hidden; }
.hfilms img { width: 100%; height: 100%; object-fit: cover; }
.hfilms .play { position: absolute; left: 14px; bottom: 14px; background: #fff; padding: 7px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.hfilms p { margin: 10px 0 0; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.hfilms p span:last-child { color: var(--muted); }
.hedit { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hedit h2 { margin: 0 0 14px; font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
.hedit p { margin: 0; color: var(--muted); font-size: 16px; max-width: 28em; }
.hedit .compare { max-width: none; margin-top: 0; }
.hcta { text-align: center; padding: clamp(110px, 14vw, 200px) var(--g) clamp(40px, 5vw, 64px); }
.hcta h2 { margin: 18px 0 20px; font-weight: 400; font-size: clamp(36px, 5.2vw, 76px); line-height: 1.05; letter-spacing: .005em; }
.hcta .row { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .intro2, .hedit { grid-template-columns: 1fr; }
  .genres { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--g) * -1); padding-right: var(--g); }
  .genres::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  .genres { grid-auto-columns: 62%; }
  .feature .pair, .hfilms { grid-template-columns: 1fr; }
  .hfilms { row-gap: 28px; }
}

/* ===== Phone: compact homepage ===== */
@media (max-width: 640px) {
  /* filmstrip stays one screen: swipe sideways, one photo at a time */
  .home { height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
  .strip { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; padding: 0 var(--g); scroll-snap-type: x mandatory; }
  .strip figure { flex: none; width: calc(100vw - 2 * var(--g)); height: 100%; margin: 0; justify-content: center; scroll-snap-align: center; }
  .strip .img { height: auto; aspect-ratio: auto !important; background: none; display: flex; justify-content: center; }
  .strip .img img { aspect-ratio: auto !important; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - var(--bar) - 64px - 48px); }
  .strip figcaption { height: auto; padding-top: 10px; }
  .strip figure:last-child { justify-content: center; }
  .strip .end { width: 100%; height: auto; aspect-ratio: 4 / 5; margin: 0; }
  .foot { display: flex; height: 64px; }
  .foot > .caps { display: none; }
  .foot .ctl { width: 100%; justify-content: space-between; }

  /* tighter sections */
  .hsec { padding-top: 72px; }
  .shead { margin-bottom: 18px; }
  .intro2 { gap: 14px; }
  .intro2 p { font-size: 20px; }
  .intro2 .links { margin-top: 20px; }
  .genres { grid-auto-columns: 44%; }
  .feature .pair { grid-template-columns: 1fr 1fr; }
  .feature .pair figcaption { flex-direction: column; gap: 0; }
  .hfilms { row-gap: 20px; }
  .hedit { gap: 20px; }
  .hedit h2 { font-size: 22px; }
  .hcta { padding: 88px var(--g) 32px; }
  .sitefoot { margin-top: 56px; }
}
@media (max-width: 640px) {
  .home { height: auto; overflow: visible; }
  .strip { flex: none; height: calc((100vw - 2 * var(--g)) * 1.25 + 40px); }
  .strip figure { justify-content: flex-end; }
  .strip .img img { max-height: calc((100vw - 2 * var(--g)) * 1.25); }
  .strip .end { aspect-ratio: auto; height: calc((100vw - 2 * var(--g)) * 1.25); }
  .foot { height: 60px; }
}
@media (max-width: 640px) { .strip figure { justify-content: center; } }

/* ===== Tablet & desktop: filmstrip height fits a wide photo across the screen ===== */
@media (min-width: 641px) {
  .home { height: auto; overflow: visible; }
  .strip { flex: none; height: min(calc(100vh - 2 * var(--bar) - 8px), calc((100vw - 2 * var(--g)) / 1.78 + 44px)); }
}

/* ===== Opening animation ===== */
.intro { position: fixed; inset: 0; z-index: 300; background: #fff; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  transition: transform 1.15s cubic-bezier(.76, 0, .24, 1); }
.intro.out { transform: translateY(-100%); }
.intro svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.15s cubic-bezier(.76, 0, .24, 1); }
.intro.out svg.lines { transform: translateY(12%); }
.intro svg.lines path { fill: none; stroke: #e2ded8; stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.9s cubic-bezier(.45, .05, .25, 1) forwards; animation-delay: calc(var(--i) * 70ms); }
.intro svg.lines path.ix { stroke: #cfc9c1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro svg.lines path.rev { stroke-dashoffset: -1; }
.intro .skip .t { display: none; }
@media (hover: none) { .intro .skip .c { display: none; } .intro .skip .t { display: inline; } }
.intro .mark { position: relative; text-align: center; opacity: 0; transform: translateY(6px); animation: markin .9s .35s ease forwards; background: #fff; padding: 18px 26px; border-radius: 999px; }
@keyframes markin { to { opacity: 1; transform: none; } }
.intro .mono-ring { width: 64px; height: 64px; margin: 0 auto 16px; border: 1px solid #1b1b1b; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 15px; letter-spacing: .14em; padding-left: .14em; }
.intro .nm { font-weight: 500; text-transform: uppercase; letter-spacing: .3em; font-size: 12px; padding-left: .3em; }
.intro .co { margin-top: 8px; color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding-left: .18em; }
.intro .skip { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #c3beb7; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
/* homepage photos ease in as the curtain lifts */
.has-intro .strip figure { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.22, 1, .36, 1); }
.has-intro.ready .strip figure { opacity: 1; transform: none; }
.has-intro.ready .strip figure:nth-child(2) { transition-delay: .08s; }
.has-intro.ready .strip figure:nth-child(3) { transition-delay: .16s; }
.has-intro.ready .strip figure:nth-child(n+4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .intro svg.lines path, .badge .d { animation: none; stroke-dashoffset: 0; }
  .badge .sun, .badge .words { animation: none; transform: none; opacity: 1; }
  .badge .rays line, .badge .dots circle { animation: none; opacity: 1; }
  .intro, .intro svg.lines { transition: opacity .5s; }
  .intro.out { transform: none; opacity: 0; }
  .has-intro .strip figure { opacity: 1; transform: none; }
}

/* ===== Badge opening ===== */
.intro .mark { background: none; padding: 0; animation: none; opacity: 1; transform: none; display: grid; justify-items: center; gap: 18px; }
.intro .badge-wrap { background: #fff; border-radius: 50%; padding: 14px; }
.intro .badge { display: block; width: min(280px, 62vw); height: auto; color: #1b1b1b; overflow: visible; }
.intro .co { margin: 0; background: #fff; padding: 4px 10px; opacity: 0; animation: fade .6s 2.4s forwards; }
.badge .d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw var(--dur, 1s) cubic-bezier(.5, 0, .2, 1) var(--del, 0s) forwards; }
.badge .r1 { --dur: 1.1s; --del: .1s; }
.badge .r2 { --dur: 1.1s; --del: .1s; }
.badge .d.rev { stroke-dashoffset: -1; }
.badge .map { --dur: 1.5s; --del: .5s; }
.badge .ridge { --dur: .7s; --del: 1.4s; }
.badge .snow { --dur: .3s; --del: 1.95s; }
.badge .river { --dur: .7s; --del: calc(1.9s + var(--k) * .1s); }
.badge .sun { transform: translateY(15px); animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) 1.7s forwards; }
.badge .rays line { opacity: 0; animation: fade .35s ease forwards; animation-delay: calc(2.55s + var(--k) * .09s); }
.badge .words { opacity: 0; transform-origin: 100px 100px; transform: rotate(-14deg); animation: turn 1.4s cubic-bezier(.2, .7, .2, 1) .8s forwards; }
.badge .dots circle { opacity: 0; animation: fade .4s 1.7s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes turn { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ===== Map graticule behind the badge ===== */
.intro svg.lines .g { fill: none; stroke: #e3dfd8; stroke-width: 1; vector-effect: non-scaling-stroke; }
.intro svg.lines .grid { transform-origin: var(--cx) var(--cy); animation: drift 4s cubic-bezier(.2, .6, .2, 1) forwards; }
@keyframes drift { from { transform: rotate(-4deg); } to { transform: rotate(0deg); } }
.intro svg.lines .g-rad { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(.45, .05, .25, 1) forwards; animation-delay: calc(.35s + var(--i) * 18ms); }
.intro svg.lines .g-rad.major { stroke: #d6d1c9; }
.intro svg.lines .g-ring { stroke-dasharray: 2 6; opacity: 0; transform-origin: var(--cx) var(--cy); transform: scale(.82); animation: ripple 1.3s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.25s + var(--i) * 130ms); }
.intro svg.lines .g-ring.solid { stroke-dasharray: none; stroke: #d6d1c9; }
@keyframes ripple { to { opacity: 1; transform: scale(1); } }
.intro svg.lines .g-ticks { opacity: 0; transform-origin: var(--cx) var(--cy); transform: rotate(-20deg); animation: turn 1.6s cubic-bezier(.2, .7, .2, 1) .2s forwards; }
.intro svg.lines .g-ticks line { stroke: #bdb7ae; stroke-width: 1; vector-effect: non-scaling-stroke; }
.intro svg.lines .g-ticks line.big { stroke: #8f8980; }
.intro svg.lines .g-lbl { font: 500 10px/1 "Jost", sans-serif; letter-spacing: .2em; fill: #9a9a9a; text-anchor: middle; dominant-baseline: middle; }
@media (prefers-reduced-motion: reduce) {
  .intro svg.lines .grid, .intro svg.lines .g-rad, .intro svg.lines .g-ring, .intro svg.lines .g-ticks { animation: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
}
.intro .badge-wrap { background: none; }
.intro .mark { gap: 40px; }
.intro .co { padding: 4px 12px; }

/* ===== River map behind the badge ===== */
.intro .badge { width: min(200px, 50vw); }
.intro .mark { gap: 34px; }
.intro svg.lines .rv { fill: none; stroke: #cbc5bc; stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.45, .05, .3, 1) forwards; animation-delay: calc(.3s + var(--i) * .22s); }
.intro svg.lines .rv-ganga { stroke: #b9b2a8; stroke-width: 1.5; }
.intro svg.lines .rv-arrow { fill: none; stroke: #b9b2a8; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0;
  animation: fade .4s ease forwards; animation-delay: calc(2.4s + var(--i) * .22s); }
.intro svg.lines .rv-lbl { font: 500 10px/1 "Jost", sans-serif; letter-spacing: .26em; text-transform: uppercase; fill: #a29b91; text-anchor: middle; opacity: 0;
  animation: fade .8s ease forwards; animation-delay: calc(1.3s + var(--i) * .22s); }
.intro svg.lines .halo { fill: #fff; }
@media (prefers-reduced-motion: reduce) {
  .intro svg.lines .rv, .intro svg.lines .rv-arrow, .intro svg.lines .rv-lbl { animation: none; opacity: 1; stroke-dashoffset: 0; }
}

/* badge sits low, rivers flow above it */
.intro { place-items: end center; padding-bottom: 13vh; padding-bottom: 13svh; }
.intro .skip { bottom: 22px; }
.intro svg.lines .place circle { fill: #8f8980; }
.intro svg.lines .place .ring { fill: none; stroke: #b9b2a8; stroke-width: 1; }
.intro svg.lines .place text { font: 500 10px/1 "Jost", sans-serif; letter-spacing: .22em; text-transform: uppercase; fill: #7d776f; dominant-baseline: middle; }
.intro svg.lines .place { opacity: 0; animation: fade .6s ease 2.2s forwards; }

.intro .badge { width: min(160px, 42vw); }

.intro, .intro svg.lines { transition-duration: .85s; }

/* ===== Mobile menu with drawing animation ===== */
.bar { position: relative; z-index: 110; }
.mnav { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; flex-direction: column; padding: calc(var(--bar) + 8px) var(--g) 28px;
  opacity: 0; transition: opacity .25s ease; overflow: hidden; }
.mnav.open { opacity: 1; }
.mnav[hidden] { display: none; }
body.menu-open { overflow: hidden; }
.mnav svg.mlines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mnav svg.mlines path { fill: none; stroke: #e1ddd6; stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.mnav.open svg.mlines path { animation: draw 1.8s cubic-bezier(.45, .05, .3, 1) forwards; animation-delay: calc(.1s + var(--i) * .15s); }
.mnav .mbadge { position: relative; width: 84px; margin: 6px 0 26px; color: #1b1b1b; }
.mnav .mbadge .badge { width: 100%; height: auto; display: block; overflow: visible; }
.mnav:not(.open) .mbadge * { animation: none !important; }
.mnav .mlinks { position: relative; display: flex; flex-direction: column; gap: 2px; }
.mnav .mlinks a { font-size: 38px; line-height: 1.25; letter-spacing: .01em; color: var(--text); opacity: 0; transform: translateY(18px); }
.mnav .mlinks a[aria-current] { color: var(--muted); }
.mnav.open .mlinks a { animation: linkin .7s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(1.25s + var(--k) * .14s); }
@keyframes linkin { to { opacity: 1; transform: none; } }
.mnav .mfoot { position: relative; margin-top: auto; display: grid; gap: 6px; font-size: 14px; color: var(--muted); opacity: 0; }
.mnav.open .mfoot { animation: fade .6s ease 1.9s forwards; }
.mnav .mfoot .caps { color: var(--text); }
@media (min-width: 641px) { .mnav { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .mnav.open svg.mlines path, .mnav.open .mlinks a, .mnav.open .mfoot { animation-duration: .01s; animation-delay: 0s; }
}

.mnav svg.mlines path.mt { stroke: #d3cdc4; stroke-width: 1; stroke-linejoin: round; }
.mnav.open svg.mlines path.mt { animation: draw 1.6s cubic-bezier(.45, .05, .3, 1) forwards; animation-delay: calc(.05s + var(--i) * .1s); }

/* ===== Videography page ===== */
.films-list { display: grid; gap: clamp(64px, 8vw, 120px); }
.player { position: relative; aspect-ratio: 2.2; background: #111; overflow: hidden; }
.player img, .player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--text); padding: 14px 22px; transition: background .2s, transform .3s var(--ease); }
.play-btn svg { width: 10px; height: 10px; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.04); }
.film-meta { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px 24px; padding-top: 18px; align-items: start; }
.film-meta h2 { margin: 0; font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.film-meta p { margin: 4px 0 0; font-size: 14px; }
.film-meta .n { font-size: 12px; padding-top: 8px; }
.film-meta dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 6px 16px; font-size: 14px; }
.film-meta dt { padding-top: 2px; }
.film-meta dd { margin: 0; }
@media (max-width: 640px) {
  .player { aspect-ratio: 16 / 9; }
  .film-meta { grid-template-columns: 32px 1fr; }
  .film-meta dl { grid-column: 2; }
}

/* ===== Videography: sections + short-form grid ===== */
.vtabs { display: flex; gap: 26px; }
.vtabs a { color: var(--muted); transition: color .2s; }
.vtabs a:hover { color: var(--text); }
.vsec { scroll-margin-top: 24px; }
.vsec + .vsec { margin-top: clamp(96px, 11vw, 160px); }
.shorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); row-gap: clamp(28px, 3vw, 44px); }
.short { margin: 0; }
.short .vframe { position: relative; aspect-ratio: 9 / 16; background: var(--ph); overflow: hidden; cursor: pointer; }
.short .vframe video, .short .vframe img { width: 100%; height: 100%; object-fit: cover; display: block; }
.short .vplay { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--text); display: grid; place-items: center; font-style: normal; }
.short .vplay svg { width: 9px; height: 9px; margin-left: 2px; }
.short figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; font-size: 13px; }
.short figcaption span { color: var(--muted); }
@media (max-width: 1024px) { .shorts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .shorts { grid-template-columns: repeat(2, 1fr); } .vtabs { gap: 20px; } }

/* ===== River page transition: ink wave ===== */
.rt { position: fixed; inset: 0; z-index: 400; pointer-events: none; visibility: hidden; }
.rt.cover { visibility: visible; pointer-events: auto; }
.rt svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rt .ink { fill: #faf9f7; stroke: #a9a298; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.rt .rip { fill: none; stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rt .r1 { stroke: #cdc7be; }
.rt .r2 { stroke: #e6e2dc; }
.rt-lbl { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); display: flex; gap: 14px; align-items: baseline; padding-left: .32em;
  color: #1b1b1b; font: 500 12px/1 "Jost", sans-serif; letter-spacing: .32em; text-transform: uppercase; opacity: 0; transition: opacity .35s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rt-lbl .no { color: #a9a298; }
.rt-lbl .no::after { content: "—"; margin-left: 14px; }
.rt.show-lbl .rt-lbl { opacity: 1; transform: translate(-50%, -50%); }
html.rt-arrive body::before { content: ""; position: fixed; inset: 0; background: #faf9f7; z-index: 399; transition: opacity .6s ease; }
html.rt-arrive body::after { content: var(--rt-name, ""); position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 400;
  color: #1b1b1b; font: 500 12px/1 "Jost", sans-serif; letter-spacing: .32em; text-transform: uppercase; padding-left: .32em; white-space: nowrap; pointer-events: none; transition: opacity .45s ease; }
html.rt-arrive.rt-go body::before, html.rt-arrive.rt-go body::after { opacity: 0; }
/* ===== Scroll river line ===== */
.sr { position: fixed; left: 6px; top: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .5s ease; }
.sr.show { opacity: 1; }
.sr svg { display: block; overflow: visible; }
.sr .bed { fill: none; stroke: #efece7; stroke-width: 1; }
.sr .flow { fill: none; stroke: #a9a298; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sr circle { fill: #fff; stroke: #cfc9c1; stroke-width: 1; transition: fill .3s, stroke .3s; }
.sr circle.on { fill: #8f8980; stroke: #8f8980; }

/* ===== Portfolio: flowing filters + hover zoom ===== */
.filters { position: relative; padding-bottom: 12px; }
.fwave { position: absolute; left: 0; bottom: 0; height: 8px; width: 30px; overflow: visible; pointer-events: none;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), width .7s cubic-bezier(.22, 1, .36, 1); }
.fwave path { fill: none; stroke: #8f8980; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.fwave.flow path { stroke-dasharray: 60 40; animation: wflow .9s cubic-bezier(.22, 1, .36, 1); }
@keyframes wflow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.jitem { will-change: transform; }
.jitem .cap em { font-style: normal; opacity: .7; margin-right: 8px; letter-spacing: .08em; }
.jitem.ph-box .cap { color: #8f8980; background: none; }
@media (hover: hover) and (pointer: fine) {
  /* hover: a slow, quiet zoom inside the frame; the other photos stay as they are */
  .jitem img { transition: opacity .4s, transform 1.4s cubic-bezier(.22, 1, .36, 1); }
  .jitem:hover img { transform: scale(1.045); }
  .jitem.ph-box:hover .cap { opacity: 1; }
}

/* ===== "All" view layouts ===== */
.mode-editorial, .mode-wall { display: block; }
.mode-editorial figure, .mode-wall figure { margin: 0; }
.mode-editorial .jitem, .mode-wall .jitem, .mode-bento .jitem { display: block; width: 100%; }
.mode-editorial .jitem img, .mode-wall .jitem img { height: 100%; object-fit: cover; }
.ecap { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 12.5px; }
.ecap span:last-child { color: var(--muted); }
.ecap em { font-style: normal; color: var(--muted); margin-right: 8px; }
/* A. editorial */
.erow { display: grid; gap: clamp(12px, 2vw, 28px); margin-bottom: clamp(56px, 7vw, 110px); align-items: start; }
.e-full { grid-template-columns: 1fr; }
.e-full .jitem { max-height: 86vh; }
.e-pair { grid-template-columns: 7fr 5fr; }
.e-pairr { grid-template-columns: 5fr 7fr; }
.e-trio { grid-template-columns: repeat(3, 1fr); }
.e-single { grid-template-columns: repeat(12, 1fr); }
.e-single figure { grid-column: 4 / 10; }
.e-pair figure:nth-child(2), .e-pairr figure:nth-child(1) { margin-top: 12%; }
.e-trio figure:nth-child(2) { margin-top: 8%; }
/* B. bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 13vw, 210px); grid-auto-flow: dense; gap: clamp(8px, 1vw, 14px); }
.bento .jitem { height: 100%; }
.bento .jitem img { width: 100%; height: 100%; object-fit: cover; }
/* C. exhibition wall */
.wrow { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 28px); margin-bottom: clamp(64px, 9vw, 140px); align-items: start; }
@media (max-width: 640px) {
  .e-pair, .e-pairr, .e-trio { grid-template-columns: 1fr 1fr; }
  .e-trio figure:nth-child(3) { grid-column: 1 / -1; }
  .e-single figure { grid-column: 2 / 12; }
  .e-pair figure:nth-child(2), .e-pairr figure:nth-child(1), .e-trio figure:nth-child(2) { margin-top: 0; }
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 26vw; }
  .bento .jitem[style*="span 6"] { grid-column: span 6 !important; }
  .bento .jitem[style*="span 4"], .bento .jitem[style*="span 3"] { grid-column: span 3 !important; }
  .wrow { grid-template-columns: repeat(6, 1fr); }
  .wrow figure:first-child { grid-column: 1 / 6 !important; }
  .wrow figure:nth-child(2) { grid-column: 2 / 7 !important; margin-top: 48px !important; }
}
.mode-editorial .jitem.ph-box, .mode-wall .jitem.ph-box, .mode-bento .jitem.ph-box { display: grid; place-items: center; }

/* ===== Genre index ===== */
.gindex { position: relative; }
.gi-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gi-list li { border-bottom: 1px solid var(--line); }
.gi-list a { display: grid; grid-template-columns: 64px 1fr auto 40px; align-items: center; gap: 20px; padding: clamp(14px, 2vw, 24px) 0;
  transition: opacity .4s ease; }
.gi-n { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.gi-t { font-size: clamp(40px, 7.2vw, 108px); line-height: 1; letter-spacing: -0.01em; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.gi-a { font-size: 22px; color: var(--muted); transition: transform .4s cubic-bezier(.22, 1, .36, 1), color .3s; justify-self: end; }
.gi-thumbs { display: flex; gap: 8px; align-items: center; }
.gi-thumbs .gi-th { width: clamp(52px, 5vw, 72px); aspect-ratio: 4 / 5; height: auto; object-fit: cover; background: var(--ph);
  filter: grayscale(.35); opacity: .85; transition: filter .4s ease, opacity .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
.gi-soon { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.gi-strip { display: none; }
@media (hover: hover) and (pointer: fine) {
  .gi-list:hover a { opacity: .35; }
  .gi-list a:hover { opacity: 1; }
  .gi-list a:hover .gi-t { transform: translateX(14px); }
  .gi-list a:hover .gi-a { transform: translateX(6px); color: var(--text); }
  .gi-list a:hover .gi-th { filter: none; opacity: 1; }
  .gi-list a:hover .gi-th:nth-child(1) { transform: translateX(-6px); }
  .gi-list a:hover .gi-th:nth-child(2) { transform: translateX(-3px); }
}
@media (max-width: 900px) {
  .gi-list a { grid-template-columns: 36px 1fr auto; padding: 18px 0 12px; }
  .gi-a, .gi-thumbs { display: none; }
  .gi-strip { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 18px 52px; scrollbar-width: none; }
  .gi-strip::-webkit-scrollbar { display: none; }
  .gi-strip .gi-th { flex: none; width: 92px; height: 116px; object-fit: cover; }
  .gi-strip .gi-soon { padding: 6px 0 4px; }
}
.more-head { margin-top: clamp(40px, 5vw, 80px); }

.shead + .gindex .gi-list { border-top: 0; }

/* ===== Production additions ===== */
.blocktext { font-size: 16px; max-width: 34em; margin: 18px 0 0; }
.hfilms > a { display: block; color: inherit; }
.short .vframe video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.short .vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.short .vframe.live video { opacity: 1; }
.short .vframe .vplay { z-index: 2; }
.short .vframe:focus-visible { outline: 1.5px solid var(--text); outline-offset: 3px; }
.vlb { position: fixed; inset: 0; z-index: 450; background: rgba(250, 249, 247, .97); display: grid; place-items: center; padding: 56px 16px 24px; }
.vlb[hidden] { display: none; }
.vlb video { max-height: 100%; max-width: 100%; aspect-ratio: 9 / 16; height: calc(100vh - 100px); height: calc(100svh - 100px); background: #000; }
.vlb-x { position: absolute; top: 18px; right: max(18px, env(safe-area-inset-right, 0px)); }
.btn { display: inline-flex; align-items: center; }
.intro2 p [data-edit="home.intro_lead"] { color: var(--text); }
.intro2 > [data-edit] { align-self: start; }

/* transition: name only, then fade in the new page */
.rt-lbl .no { display: none; }
.rt.fade { opacity: 0; transition: opacity .6s ease; }

/* Selected (editorial): calmer sizes — no photo taller than ~70% of the screen */
.mode-editorial { max-width: 1180px; margin: 0 auto; }
.mode-editorial figure { width: 100%; max-width: min(100%, calc(70vh * var(--r, 1))); justify-self: center; }
.mode-editorial .e-full figure { margin: 0 auto; }
.mode-editorial .e-full .jitem { max-height: none; }
.mode-editorial .erow { margin-bottom: clamp(48px, 6vw, 90px); }
@media (max-width: 640px) { .mode-editorial figure { max-width: min(100%, calc(62vh * var(--r, 1))); } }

/* compass ring attached to the badge */
.intro .badge-wrap { position: relative; }
.intro svg.compass { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.intro svg.compass .g-ticks { opacity: 0; transform-box: view-box; transform-origin: 50% 50%; transform: rotate(-20deg); animation: turn 1.6s cubic-bezier(.2, .7, .2, 1) .2s forwards; }
.intro svg.compass .g-ticks line { stroke: #bdb7ae; stroke-width: 1; }
.intro svg.compass .g-ticks line.big { stroke: #8f8980; }
.intro svg.compass .g-lbl { font: 500 10px/1 "Jost", sans-serif; letter-spacing: 0; fill: #9a9a9a; text-anchor: middle; dominant-baseline: middle; }
@media (prefers-reduced-motion: reduce) { .intro svg.compass .g-ticks { animation: none; opacity: 1; transform: none; } }

/* a redraw after resizing shows the map already drawn (no restart) */
.intro.drawn svg.lines path, .intro.drawn svg.lines text, .intro.drawn svg.lines .place, .intro.drawn svg.compass .g-ticks { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; transform: none !important; }

/* ===== Featured: one framed photo, two smaller ones drifting beside ===== */
.feat-a .fa-frame { margin: clamp(32px, 6vw, 90px) auto 0; width: min(56vw, calc(72vh * var(--r, 1.5))); }
.feat-a .fa-img { overflow: hidden; background: var(--ph); aspect-ratio: var(--r, 1.5); clip-path: inset(7% 7% 7% 7%); transition: clip-path 1.4s var(--ease); }
.feat-a .fa-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 1.8s var(--ease); }
.feat-a .fa-set.in .fa-img { clip-path: inset(0 0 0 0); }
.feat-a .fa-set.in .fa-img img { transform: scale(1); }
.feat-a .fa-frame figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.feat-a .fa-frame figcaption .caps { color: var(--muted); }
.feat-a .fa-frame h3 { margin: 0; font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: .005em; }
.feat-a .fa-pair { display: grid; grid-template-columns: 5fr 4fr; gap: clamp(20px, 6vw, 110px); align-items: start; margin-top: clamp(48px, 8vw, 120px); padding: 0 4vw; }
.feat-a .fa-pair figure { margin: 0; will-change: transform; }
.feat-a .fa-pair figure:nth-child(2) { margin-top: 18vh; }
.feat-a .fa-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ph); }
.feat-a .fa-pair figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 12.5px; }
.feat-a .fa-pair figcaption span { color: var(--muted); }
.feat-a .fa-m { display: none; }
@media (max-width: 640px) {
  .feat-a .fa-d { display: none; }
  .feat-a .fa-m { display: block; }
  .feat-a .fa-frame { width: 100%; margin-top: 28px; }
  .feat-a .fa-frame figcaption { flex-direction: column; gap: 4px; }
  .feat-a .fa-pair { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; }
  .feat-a .fa-pair figure:nth-child(2) { margin-top: 64px; }
  .feat-a .fa-pair figcaption { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .feat-a .fa-img { clip-path: none; transition: none; } .feat-a .fa-img img { transform: none; transition: none; } }

/* ===== Home: introduction — an editorial statement with small photos set into the sentence ===== */
.hello-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hello-lead { margin: clamp(36px, 5vw, 72px) 0 0; font-weight: 300; font-size: clamp(34px, 5vw, 78px); line-height: 1.14; letter-spacing: -.005em; max-width: 15.5em; }
.hello-lead .ln { display: inline-block; overflow: hidden; vertical-align: top; }
.hello-lead .pill { display: inline-block; vertical-align: -.06em; height: .82em; width: 0; margin: 0 .02em; border-radius: 999px; overflow: hidden; background: var(--ph);
  transition: width 1.3s var(--ease), margin 1.3s var(--ease); }
.hello-lead .pill img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.6s var(--ease); }
.hello.in .hello-lead .pill { width: 1.7em; margin: 0 .04em; }
.hello.in .hello-lead .pill img { transform: scale(1); }
.hello-lead .pill:nth-of-type(2) { transition-delay: .15s; }
.hello-lead .pill:nth-of-type(3) { transition-delay: .3s; }
.hello-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 8vw, 140px); margin-top: clamp(44px, 6vw, 90px); align-items: start; }
.hello-body p { margin: 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; color: #555; max-width: 30em; }
.hello .links { display: flex; gap: 32px; margin-top: 32px; }
.hfacts { margin: 0; display: grid; gap: 0; }
.hfacts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); margin: 0; }
.hfacts div:last-child { border-bottom: 1px solid var(--line); }
.hfacts dt { padding-top: 3px; }
.hfacts dd { margin: 0; font-size: 14px; line-height: 1.55; }
.hello-ring { position: absolute; right: 0; top: calc(-1 * clamp(44px, 6vw, 90px) - 150px); width: 120px; height: 120px; animation: hr-spin 32s linear infinite; }
.hello-ring text { font: 400 12.4px var(--font); fill: var(--muted); }
.hello-ring circle { fill: var(--text); }
@keyframes hr-spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .hello-ring { display: none; } }
@media (max-width: 820px) {
  .hello-grid { grid-template-columns: 1fr; }
  .hello-top .muted { display: none; }
  .hfacts div { grid-template-columns: 100px 1fr; }
}
@media (prefers-reduced-motion: reduce) { .hello-ring { animation: none; } .hello-lead .pill { width: 1.7em; margin: 0 .04em; transition: none; } .hello-lead .pill img { transform: none; } }

/* ===== Footer: every page as a large link with a river underline ===== */
.sitefoot { display: block; position: relative; padding: 0 var(--g) 28px; margin-top: clamp(90px, 11vw, 160px); border-top: 0; color: var(--muted); font-size: 12px; }
.ft-ridge { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: auto; aspect-ratio: 1200 / 330; z-index: 0; pointer-events: none;
  opacity: 0; transform: translateY(24px); transition: opacity 1.6s var(--ease), transform 1.8s var(--ease); }
.ft-ridge .fill { fill: url(#ftg); }
.ft-ridge .edge { fill: none; stroke: url(#fte); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sitefoot.in .ft-ridge { opacity: 1; transform: none; }
.sitefoot > :not(.ft-ridge) { position: relative; z-index: 1; }
.sitefoot { padding-top: clamp(70px, 13vw, 190px); }
.ft-head { display: flex; justify-content: space-between; padding: 26px 0 10px; }
.ft-top:hover { color: var(--text); }
.ft-pages { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding: clamp(18px, 2.4vw, 30px) 0 clamp(44px, 6vw, 76px); }
.ft-pages a { position: relative; display: inline-block; color: var(--text); font-size: clamp(20px, 2.3vw, 32px); font-weight: 300; line-height: 1.2; letter-spacing: .06em; padding-bottom: 10px; transition: color .4s var(--ease), opacity .4s var(--ease); }
.ft-pages a span { display: inline-block; transition: transform .6s var(--ease); }
.ft-pages .wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 10px; clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease); }
.ft-pages .wave path { fill: none; stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ft-pages:hover a { color: #c9c9c9; }
.ft-pages a:hover, .ft-pages a:focus-visible { color: var(--text); }
.ft-pages a:hover span { transform: translateY(-2px); }
.ft-pages a:hover .wave, .ft-pages a:focus-visible .wave { clip-path: inset(0 0 0 0); }
.ft-pages a[aria-current="page"] .wave { clip-path: inset(0 0 0 0); opacity: .35; }
.ft-pages a[aria-current="page"]:hover .wave { opacity: 1; }
.ft-base { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.ft-soc { display: flex; gap: 22px; }
.ft-base a:hover { color: var(--text); }
@media (max-width: 640px) {
  .ft-pages { flex-direction: column; gap: 0; padding-bottom: 36px; }
  .ft-pages a { font-size: 22px; padding: 14px 0 14px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
  .ft-pages a::before { content: "→"; order: 2; font-size: 16px; color: var(--muted); align-self: center; }
  .ft-pages .wave { display: none; }
  .ft-pages a[aria-current="page"] { color: var(--muted); }
  .ft-pages:hover a { color: var(--text); }
  .ft-base { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ft-ridge { opacity: 1; transform: none; transition: none; } }

/* ===== Homepage introduction: quiet statement on phones, cinematic photograph on larger screens ===== */
.iv-m { display: none; }
@media (max-width: 640px) { .iv-m { display: block; } .iv-d { display: none; } }

/* Intro (phones) — quiet statement */
.iv1 { text-align: center; padding-top: clamp(90px, 13vw, 190px); padding-bottom: clamp(70px, 10vw, 150px); }
.iv1-k { display: block; letter-spacing: .32em; }
.iv1-q { margin: clamp(34px, 4vw, 56px) auto 0; max-width: 20em; font-weight: 300; font-size: clamp(26px, 3.3vw, 50px); line-height: 1.3; letter-spacing: .005em; }
.iv1-rule { display: block; width: 1px; height: clamp(48px, 6vw, 80px); background: #cfcfcf; margin: clamp(36px, 4vw, 56px) auto; }
.iv1-name { display: block; text-transform: uppercase; letter-spacing: .42em; font-size: 13px; padding-left: .42em; }
.iv1-role { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.iv1-links { display: flex; justify-content: center; gap: 36px; margin-top: 36px; }

/* Intro (larger screens) — cinematic full-width photograph */
.iv3 { position: relative; height: 92vh; height: 92svh; min-height: 520px; margin-top: clamp(80px, 10vw, 140px); overflow: hidden; background: #0b1322; color: #fff; }
.iv3-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 3s var(--ease); }
.iv.in .iv3-bg { transform: scale(1); }
.iv3::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,26,.15), rgba(8,14,26,.55)); }
.iv3-tx { position: absolute; z-index: 1; left: var(--g); right: var(--g); bottom: clamp(40px, 8vh, 90px); max-width: 980px; }
.iv3-tx .caps { color: rgba(255,255,255,.8); letter-spacing: .28em; }
.iv3-lead { margin: 18px 0 0; font-weight: 300; font-size: clamp(32px, 4.8vw, 72px); line-height: 1.1; }
.iv3-body { margin: 18px 0 0; max-width: 34em; color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.7; }
.iv3-links { display: flex; gap: 30px; margin-top: 30px; }
.iv3-links a { font-size: 13px; text-transform: uppercase; letter-spacing: .2em; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.5); }
.iv3-links a:hover { border-color: #fff; }
.iv3 [data-edit] { color: inherit; }

/* Genres — cover cards (homepage and portfolio) */
.gv3 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(24px, 3vw, 40px); }
.gv3 a { display: block; }
.gv3-c { overflow: hidden; aspect-ratio: 9 / 13; background: var(--ph); }
.gv3-c img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.gv3 a:hover img { transform: scale(1.06); }
.gv3-n { display: block; margin-top: 16px; font-weight: 300; font-size: clamp(20px, 1.8vw, 26px); }
.gv3-v { display: block; margin-top: 4px; transition: color .4s; }
.gv3 a:hover .gv3-v { color: var(--text); }
@media (max-width: 820px) {
  .gv3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68vw; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--g) * -1); padding-right: var(--g); scrollbar-width: none; }
  .gv3::-webkit-scrollbar { display: none; }
  .gv3 a { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .iv3-bg { transform: none; transition: none; } }


/* ===== WhatsApp ===== */
.wa-ic { width: 17px; height: 17px; flex: none; }
.wa-ic path { fill: currentColor; }
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 16px;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text); border: 1px solid #e3e0da; border-radius: 999px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .6s var(--ease), border-color .4s; animation: wa-in .9s 1.2s var(--ease) both; }
.wa-fab .wa-ic { width: 21px; height: 21px; color: #25d366; }
.wa-fab:hover { transform: translateY(-2px); border-color: #c9c4bb; box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .4); }
@keyframes wa-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* stay out of the way: during the opening animation, in the phone menu, the photo/video viewers and edit mode */
.has-intro:not(.ready) .wa-fab, body:has(.mnav:not([hidden])) .wa-fab, body:has(.lb:not([hidden])) .wa-fab, body:has(.vlb:not([hidden])) .wa-fab, body:has(.ed-bar) .wa-fab { animation: none; opacity: 0; visibility: hidden; pointer-events: none; }
.wa-off .wa-fab { animation: none; opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 640px) {
  .wa-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa-fab span { display: none; }
  .wa-fab .wa-ic { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; }
.btn-line { background: transparent; color: var(--text); border: 1px solid var(--text); }
.btn-line:hover { background: var(--text); color: #fff; }
.wa-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin: 4px 0 34px; }
.wa-cta .wa-ic { color: currentColor; }
.hcta .row { flex-wrap: wrap; justify-content: center; }
