/* ==========================================================================
   photo.ly — stylesheet (pure CSS, no JavaScript required)
   Colours: white background · black text · no accent colour (strict black & white)
   Fonts:   Helvetica Neue (Inter as web fallback) — bold uppercase titles, regular text

   To change a colour everywhere, edit the variables below.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #ffffff;          /* page background (white) */
  --surface: #f3f3f3;     /* alternate sections (light grey) */
  --fg: #000000;          /* main text (black) */
  --on-image: #f7f4ef;    /* text placed over photographs */
  --beige: #000000;       /* accent colour — pure black for a strict black & white look */
  --text: #1f1f1f;        /* body copy */
  --muted: #707070;       /* small labels */
  --line: rgba(0, 0, 0, .12);
  --line-inv: rgba(0, 0, 0, .12);

  --serif: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;

  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.22, .61, .12, 1);
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Smooth page transitions (supported browsers) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fade-out .4s cubic-bezier(.22, .61, .12, 1) both; }
::view-transition-new(root) { animation: fade-in .8s cubic-bezier(.22, .61, .12, 1) both; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-kerning: normal;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--fg); color: var(--bg); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
em { font-style: italic; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 200; background: var(--fg); color: var(--bg); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.display { font-size: clamp(52px, 9.4vw, 168px); line-height: .94; letter-spacing: -.022em; }
.display em, .h-display em { color: var(--beige); }
.h-display { font-family: var(--serif); font-size: clamp(44px, 6.4vw, 112px); line-height: .95; letter-spacing: -.025em; }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--text); }

.link-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 7px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .7s var(--ease);
}
.link-line::after { content: "→"; letter-spacing: 0; transition: transform .6s var(--ease); }
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-line:hover::after { transform: translateX(6px); }

.btn {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 40px;
  padding: 22px 28px; background: var(--fg); color: var(--bg);
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border: 0; cursor: pointer; font-family: var(--sans);
  transition: background-color .6s var(--ease);
}
.btn::after { content: "→"; font-size: 16px; letter-spacing: 0; transition: transform .6s var(--ease); }
.btn:hover { background: var(--beige); }
.btn:hover::after { transform: translateX(6px); }
.btn-light { background: var(--fg); color: var(--bg); }
.btn-light:hover { background: var(--beige); }

/* ---------- Layout ---------- */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding: clamp(96px, 13vw, 200px) var(--gutter); }
.bg-beige { background: var(--surface); }
.col-k { grid-column: 1 / 4; color: var(--muted); }

/* ---------- Photos & placeholders ----------
   Each photo sits inside <figure class="ph">. Until the real file exists,
   the figure shows a beige field with film grain and the expected file path. */
.ph {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--tone, var(--beige));
  background-image:
    radial-gradient(110% 80% at 28% 18%, rgba(255, 255, 255, .3), transparent 62%),
    linear-gradient(165deg, transparent 30%, rgba(13, 12, 11, .26));
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--noise); mix-blend-mode: soft-light; opacity: .5;
}
.ph::after {
  content: attr(data-ph);
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 0;
  font: 500 9.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
.ph > img, .ph > video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.8s var(--ease);
}

/* ---------- Header & menu ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px var(--gutter);
  color: var(--fg);
}
.wordmark { position: relative; z-index: 2; font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); line-height: 1; letter-spacing: -.01em; }
.wordmark { margin-right: auto; }
.lang { order: 2; position: relative; z-index: 2; display: flex; gap: 12px; margin-right: clamp(22px, 3vw, 48px); font-size: 11px; font-weight: 500; letter-spacing: .2em; }
.lang a { color: inherit; opacity: .55; transition: opacity .4s; }
.lang a:hover, .lang [aria-current] { opacity: 1; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  order: 3; position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 14px;
  cursor: pointer; padding: 8px 0; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.nav-btn::before { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.nav-btn:hover::before { width: 46px; }
.nav-btn .close { display: none; }
.nav-toggle:focus-visible + .nav-btn { outline: 1px solid currentColor; outline-offset: 4px; }

/* Full-screen menu (CSS only: the "Menu" label toggles a hidden checkbox) */
.nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--gutter) 48px;
  background: var(--bg); color: var(--fg);
  counter-reset: nav;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 1s var(--ease), visibility 0s linear 1s;
}
.nav a:not(.nav-extra) {
  counter-increment: nav; align-self: flex-start;
  display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 30px);
  font-family: var(--serif); font-size: clamp(44px, min(9.6vw, 12.5vh), 160px); line-height: 1.02; letter-spacing: -.028em;
  transition: color .5s var(--ease), transform .8s var(--ease);
}
.nav a:not(.nav-extra)::before { content: counter(nav, decimal-leading-zero); margin-top: .9em; font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--beige); }
.nav a:not(.nav-extra):hover { font-style: italic; color: var(--beige); transform: translateX(18px); }
.nav a[aria-current="page"] { font-style: italic; color: var(--beige); }
.nav .nav-extra { align-self: flex-start; margin-top: clamp(32px, 5vw, 64px); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.nav .nav-extra:hover { color: var(--fg); }
.nav-toggle:checked ~ .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 1s var(--ease); }
.nav-toggle:checked ~ .nav a { animation: menu-in 1s var(--ease) backwards; }
.nav-toggle:checked ~ .nav a:nth-child(1) { animation-delay: .3s; }
.nav-toggle:checked ~ .nav a:nth-child(2) { animation-delay: .37s; }
.nav-toggle:checked ~ .nav a:nth-child(3) { animation-delay: .44s; }
.nav-toggle:checked ~ .nav a:nth-child(4) { animation-delay: .51s; }
.nav-toggle:checked ~ .nav a:nth-child(5) { animation-delay: .58s; }
.nav-toggle:checked ~ .nav a:nth-child(6) { animation-delay: .68s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(60px); } }
.nav-toggle:checked ~ .nav-btn .open { display: none; }
.nav-toggle:checked ~ .nav-btn .close { display: inline; }
.site-header:has(.nav-toggle:checked) { position: fixed; background: transparent; }
/* Header stays on screen and gains a dark background once the page scrolls (modern browsers). */
@supports (animation-timeline: scroll()) {
  .site-header { position: fixed; animation: header-solid linear both; animation-timeline: scroll(); animation-range: 0 240px; }
  .site-header:has(.nav-toggle:checked) { animation: none; }
}
@keyframes header-solid { to { background-color: rgba(255, 255, 255, .97); color: var(--fg); padding-top: 16px; padding-bottom: 16px; box-shadow: 0 1px 0 var(--line); } }
.home .site-header { color: var(--on-image); }
.site-header:has(.nav-toggle:checked) { color: var(--fg); }

/* ---------- Home: hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; color: var(--on-image); background: #1b1815; overflow: hidden; }
.hero-ph { position: absolute; inset: 0; animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 100%);
}
.hero-top, .hero-content, .hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); z-index: 2; }
.hero-top { top: 96px; display: flex; justify-content: space-between; color: rgba(255,255,255,.8); opacity: 0; animation: appear 1.6s .9s var(--ease) forwards; }
.hero-content { bottom: clamp(76px, 12vh, 132px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.hero-brand { grid-column: 1 / -1; margin-bottom: clamp(14px, 2vw, 26px); opacity: 0; animation: appear 1.4s .5s var(--ease) forwards; }
.hero-title { grid-column: 1 / 10; font-size: clamp(60px, 10.8vw, 200px); line-height: .9; letter-spacing: -.03em; }
.line { display: block; overflow: hidden; padding: 0 .12em .12em 0; margin-bottom: -.08em; }
.line > span { display: block; white-space: nowrap; transform: translateY(110%); animation: rise 1.7s var(--ease) forwards; }
.line + .line > span { animation-delay: .14s; }
.hero-sub { grid-column: 10 / 13; padding-bottom: 1.2vw; opacity: 0; animation: appear 1.6s .8s var(--ease) forwards; }
.hero-sub p:first-child { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 26px); line-height: 1.25; margin-bottom: 18px; }
.hero-sub .kicker { color: rgba(255,255,255,.8); }
.hero-foot { bottom: 26px; display: inline-flex; align-items: center; gap: 14px; right: auto; opacity: 0; animation: appear 1.6s 1.1s var(--ease) forwards; }
.hero-foot::before { content: ""; width: 48px; height: 1px; background: currentColor; transform-origin: left; animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes rise { to { transform: none; } }
@keyframes appear { to { opacity: 1; } }

/* ---------- Home: philosophy ---------- */
.statement { grid-column: 4 / 13; font-family: var(--serif); font-size: clamp(32px, 4.3vw, 74px); line-height: 1.08; letter-spacing: -.018em; }
.statement em { color: var(--beige); }
.phil-img { grid-column: 2 / 6; aspect-ratio: 3 / 4; margin-top: clamp(72px, 10vw, 160px); }
.phil-text { grid-column: 8 / 12; align-self: end; max-width: 430px; }
.phil-text p { color: var(--text); margin-bottom: 32px; }

/* ---------- Section heads ---------- */
#selected-works { scroll-margin-top: 80px; }
.section-head { align-items: end; margin-bottom: clamp(64px, 9vw, 140px); }
.section-head .h-display { grid-column: 4 / 10; }
.section-head .head-link { grid-column: 10 / 13; justify-self: end; }

/* ---------- Project tiles (asymmetric grid) ---------- */
.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(72px, 9vw, 150px); align-items: start; }
.w-a { grid-column: 1 / 8; }
.w-b { grid-column: 9 / 13; margin-top: 16vw; }
.w-c { grid-column: 3 / 11; }
.w-d { grid-column: 1 / 6; }
.w-e { grid-column: 7 / 13; margin-top: 11vw; }
.tile { display: block; }
.tile .ph { margin-bottom: 16px; }
.tile:hover .ph > img { transform: scale(1.035); }
.tile-cap { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; }
.tile-num, .tile-meta { color: var(--muted); }
.tile-title { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.01em; }
.tile:hover .tile-title { font-style: italic; }
.tile-meta { grid-column: 2; margin-top: 4px; }

/* ---------- Home: cinematic band ---------- */
.band { background: var(--surface); color: var(--fg); padding: clamp(88px, 11vw, 160px) var(--gutter); }
.band-head, .band-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.band-head { margin-bottom: 26px; color: rgba(255,255,255,.6); }
.band-frame { aspect-ratio: 21 / 9; width: 100%; }
.band-foot { margin-top: 32px; }
.band-quote { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.8vw, 60px); line-height: 1.05; }

/* ---------- Home: services teaser ---------- */
.svc-intro { grid-column: 1 / 5; }
.svc-intro .kicker { color: var(--muted); margin-bottom: 28px; }
.svc-intro p:not(.kicker) { color: var(--text); margin: 32px 0 36px; max-width: 360px; }
.svc-list { grid-column: 6 / 13; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); align-self: end; }
.svc-list li { display: flex; gap: 28px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(26px, 3vw, 48px); line-height: 1.08; letter-spacing: -.015em; }
.svc-list li span { font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--muted); min-width: 22px; }

/* ---------- Inner page head ---------- */
.page-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: clamp(150px, 22vh, 240px) var(--gutter) clamp(64px, 9vw, 140px); }
.page-head > .kicker { grid-column: 1 / -1; margin-bottom: 30px; color: var(--muted); }
.page-head .display { grid-column: 1 / -1; }
.page-head .lead { grid-column: 7 / 12; margin-top: clamp(36px, 4.4vw, 64px); max-width: 520px; }

/* ---------- Project page ---------- */
.project-head { padding: clamp(130px, 18vh, 190px) var(--gutter) clamp(48px, 6vw, 88px); }
.project-top { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); margin-bottom: clamp(32px, 5vw, 70px); }
.project-top a:hover { color: var(--fg); }
.project-title { font-size: clamp(64px, 14vw, 244px); line-height: .84; letter-spacing: -.04em; }
.project-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px var(--gutter); margin-top: clamp(48px, 7vw, 104px); padding-top: 22px; border-top: 1px solid var(--line); }
.project-meta dt { font-size: 11px; font-weight: 500; letter-spacing: .19em; text-transform: uppercase; color: var(--muted); }
.project-meta dd { margin-top: 8px; font-size: 14px; }
.project-cover { height: 92vh; height: 92svh; width: 100%; }
.intro-text { grid-column: 4 / 11; font-family: var(--serif); font-size: clamp(26px, 3vw, 48px); line-height: 1.16; letter-spacing: -.012em; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(28px, 5.6vw, 104px); align-items: start; padding: 0 var(--gutter) clamp(110px, 13vw, 200px); scroll-margin-top: 40px; }
.g-item { display: block; cursor: zoom-in; }
.g-item:hover .ph > img { transform: scale(1.02); }
.g-full { grid-column: 1 / -1; }
.g-half-l { grid-column: 1 / 7; }
.g-half-r { grid-column: 7 / 13; margin-top: clamp(48px, 9vw, 160px); }
.g-right { grid-column: 6 / 13; }
.g-left { grid-column: 1 / 8; }
.g-center { grid-column: 3 / 11; }
.next-project { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; padding: clamp(88px, 11vw, 160px) var(--gutter); border-top: 1px solid var(--line); }
.next-project > .kicker { grid-column: 1 / -1; color: var(--muted); margin-bottom: 26px; }
.next-title { grid-column: 1 / 10; font-family: var(--serif); font-size: clamp(58px, 10.5vw, 180px); line-height: .88; letter-spacing: -.035em; }
.next-project:hover .next-title { font-style: italic; }
.next-fig { grid-column: 10 / 13; grid-row: 2 / 4; aspect-ratio: 4 / 5; }
.next-meta { grid-column: 1 / 10; margin-top: 22px; color: var(--muted); }

/* ---------- Portfolio: photo wall with CSS-only category filter ---------- */
.pf-filters {
  display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 2.4vw, 36px);
  margin: 0 var(--gutter) clamp(48px, 6vw, 88px); padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pf-filters input { position: absolute; opacity: 0; pointer-events: none; }
.pf-filters label { position: relative; cursor: pointer; padding: 6px 0; color: var(--muted); transition: color .4s; }
.pf-filters label::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.pf-filters label:hover, .pf-filters input:checked + label { color: var(--fg); }
.pf-filters input:checked + label::after { transform: scaleX(1); transform-origin: left; }
.pf-filters input:focus-visible + label { outline: 1px solid currentColor; outline-offset: 4px; }
.pf-filters sup { font-size: 8px; margin-left: 3px; }
.wall { columns: 2; column-gap: var(--gutter); padding: 0 var(--gutter) clamp(110px, 14vw, 220px); }
.wall-item { display: block; break-inside: avoid; margin-bottom: var(--gutter); cursor: zoom-in; }
.wall-item:hover .ph > img { transform: scale(1.03); }
.wall-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--muted); }
body:has(#pf-fashion:checked) .wall-item:not([data-cat="fashion"]),
body:has(#pf-beauty:checked) .wall-item:not([data-cat="beauty"]),
body:has(#pf-editorial:checked) .wall-item:not([data-cat="editorial"]),
body:has(#pf-portraits:checked) .wall-item:not([data-cat="portraits"]),
body:has(#pf-campaigns:checked) .wall-item:not([data-cat="campaigns"]) { display: none; }

/* ---------- Full-screen viewer (CSS :target, no JavaScript) ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 100;
  background: #141210; color: var(--on-image);
  display: none; grid-template-rows: auto 1fr;
}
.viewer:target { display: grid; animation: fade-in .5s var(--ease); }
.v-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--gutter); color: rgba(255,255,255,.7); }
.v-bar a { color: var(--on-image); }
.v-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 var(--gutter) 40px; }
.v-fig { width: min(100%, calc(78vh * var(--r, .8))); width: min(100%, calc(78svh * var(--r, .8))); }
.v-fig > img { object-fit: contain; }
.v-prev, .v-next {
  position: absolute; top: 0; bottom: 0; z-index: 3; width: 30%;
  display: flex; align-items: center; padding: 0 var(--gutter);
  color: rgba(255,255,255,.55); transition: color .4s;
}
.v-prev { left: 0; cursor: w-resize; }
.v-next { right: 0; justify-content: flex-end; cursor: e-resize; }
.v-prev:hover, .v-next:hover { color: var(--on-image); }

/* ---------- About ---------- */
.about-intro { padding: 0 var(--gutter) clamp(110px, 13vw, 200px); }
.about-portrait { grid-column: 1 / 7; aspect-ratio: 4 / 5; }
.about-text { grid-column: 8 / 12; align-self: end; }
.about-text .kicker { color: var(--muted); margin-bottom: 32px; }
.about-lead { font-family: var(--serif); font-size: clamp(26px, 2.5vw, 40px); line-height: 1.16; letter-spacing: -.012em; margin-bottom: 30px; }
.about-text p:not(.kicker):not(.about-lead):not(.sign) { color: var(--text); margin-bottom: 18px; }
.sign { font-family: var(--serif); font-style: italic; font-size: 24px; margin-top: 36px; }
.quote-section { text-align: center; }
.big-quote { font-family: var(--serif); font-size: clamp(44px, 7.4vw, 128px); line-height: .98; letter-spacing: -.03em; max-width: 15ch; margin: 0 auto; }
.big-quote em { color: var(--beige); }
.quote-section .kicker { color: var(--muted); margin-top: 40px; }
.disc { grid-column: span 3; border-top: 1px solid var(--line); padding-top: 24px; }
.disc:first-of-type { grid-column: 4 / 7; }
.num { font-family: var(--serif); font-style: italic; color: var(--beige); font-size: 22px; }
.disc h3 { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.05; margin: 10px 0 16px; letter-spacing: -.01em; }
.disc p { color: var(--text); }
.wh-1 { grid-column: 1 / 6; grid-row: 1; aspect-ratio: 3 / 4; }
.wh-text { grid-column: 7 / 13; grid-row: 1; align-self: center; }
.places { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); }
.wh-2 { grid-column: 8 / 12; grid-row: 2; aspect-ratio: 4 / 5; margin-top: clamp(40px, 6vw, 96px); }

/* ---------- Services ---------- */
.services-list { padding: 0 var(--gutter); }
.svc-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; padding: clamp(30px, 3.8vw, 56px) 0; border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-num { grid-column: 1 / 2; color: var(--muted); }
.svc-name { grid-column: 2 / 8; font-size: clamp(36px, 5vw, 86px); line-height: 1; letter-spacing: -.025em; transition: transform .8s var(--ease); }
.svc-row:hover .svc-name { font-style: italic; transform: translateX(16px); }
.svc-desc { grid-column: 9 / 13; color: var(--text); }
.svc-tags { grid-column: 9 / 13; color: var(--muted); align-self: center; }
.svc-desc .kicker { color: var(--muted); margin-top: 16px; }
.approach-title { grid-column: 4 / 13; }
.steps { list-style: none; padding: 0; margin: clamp(64px, 9vw, 130px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px var(--gutter); }
.steps li { border-top: 1px solid var(--line); padding-top: 24px; }
.steps h3 { font-size: clamp(26px, 2.2vw, 34px); margin: 10px 0 14px; letter-spacing: -.01em; }
.steps p { color: var(--text); }
.bts { grid-column: 3 / 13; aspect-ratio: 21 / 9; }
.bts-cap { grid-column: 3 / 13; margin-top: 14px; color: var(--muted); }

/* ---------- Services: packages (editorial columns, no cards) ---------- */
.packages { padding: clamp(110px, 14vw, 210px) var(--gutter) clamp(110px, 14vw, 210px); }
.pk-title { grid-column: 4 / 13; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pkg {
  display: flex; flex-direction: column;
  padding: clamp(30px, 3vw, 46px) clamp(20px, 2.6vw, 44px) clamp(36px, 4vw, 56px);
  border-left: 1px solid var(--line);
  transition: background-color .7s var(--ease);
}
.pkg:first-child { border-left: 0; }
.pkg:hover { background-color: var(--surface); }
.pkg-num { color: var(--muted); }
.pkg-name { margin-top: clamp(28px, 3vw, 44px); font-size: clamp(36px, 3.4vw, 58px); line-height: 1; letter-spacing: -.025em; transition: transform .8s var(--ease); }
.pkg:hover .pkg-name { font-style: italic; transform: translateX(10px); }
.pkg-type { margin-top: 12px; color: var(--beige); }
.pkg-price { margin: clamp(36px, 4vw, 60px) 0 clamp(28px, 3vw, 44px); font-family: var(--serif); font-size: clamp(64px, 7vw, 124px); line-height: .9; letter-spacing: -.04em; }
.pkg-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pkg-list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); }
.pkg-cta { margin-top: auto; padding-top: clamp(32px, 3.4vw, 48px); }
.pkg-info { margin-top: clamp(40px, 5vw, 72px); }
.pkg-info-text { grid-column: 4 / 10; font-size: 15px; color: var(--text); }

/* ---------- Reviews ---------- */
.reviews { padding: 0 var(--gutter) clamp(110px, 14vw, 210px); }
.review {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  margin: 0; padding: clamp(56px, 7vw, 112px) 0; border-top: 1px solid var(--line);
}
.review:last-of-type { border-bottom: 1px solid var(--line); }
.review-num { grid-column: 1 / 3; color: var(--muted); }
.review blockquote { grid-column: 3 / 12; margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.5vw, 60px); line-height: 1.14; letter-spacing: -.015em; hanging-punctuation: first; }
.review blockquote::before { content: "“"; display: block; margin: 0 0 -.42em -.04em; color: var(--beige); font-size: 2.8em; line-height: 1; font-style: italic; }
.review figcaption { grid-column: 3 / 12; margin-top: clamp(28px, 3vw, 44px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; }
.review:nth-of-type(even) blockquote, .review:nth-of-type(even) figcaption { grid-column: 4 / 13; }
.review-name { font-family: var(--serif); font-style: italic; font-size: 24px; }
.review-role { color: var(--muted); }
.reviews-cta { margin-top: clamp(48px, 6vw, 88px); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 72px; padding: clamp(150px, 22vh, 230px) var(--gutter) clamp(110px, 13vw, 190px); }
.contact-left { grid-column: 1 / 7; }
.contact-left > .kicker { color: var(--muted); margin-bottom: 30px; }
.contact-title { font-size: clamp(54px, 7.4vw, 134px); }
.contact-left .btn { margin-top: clamp(40px, 5vw, 64px); }
.contact-details { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.contact-details div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-details dt { font-size: 11px; font-weight: 500; letter-spacing: .19em; text-transform: uppercase; color: var(--muted); }
.contact-details a:hover { color: var(--beige); }
.enquiry { grid-column: 8 / 13; align-self: end; display: grid; grid-template-columns: 1fr 1fr; gap: 38px 28px; }
.form-title { grid-column: 1 / -1; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--fg); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: 11px; font-weight: 500; letter-spacing: .19em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 16px/1.5 var(--sans); color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: 8px 0 12px; outline: none; width: 100%;
  transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select option { background: var(--bg); color: var(--fg); }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='6'><path d='M0 0l5.5 6L11 0' fill='none' stroke='%23161412'/></svg>") no-repeat right 2px center;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); }
.consent { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--muted); cursor: pointer; }
.consent input { -webkit-appearance: none; appearance: none; flex: none; width: 15px; height: 15px; margin: 3px 0 0; border: 1px solid var(--fg); cursor: pointer; }
.consent input:checked { background: var(--fg); box-shadow: inset 0 0 0 3px var(--bg); }
.enquiry .btn { grid-column: 1 / -1; width: 100%; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); color: var(--fg); padding: clamp(100px, 12vw, 180px) var(--gutter) 28px; overflow: hidden; }
.footer-cta { padding-bottom: clamp(88px, 11vw, 150px); border-bottom: 1px solid var(--line-inv); }
.footer-cta .kicker { color: var(--muted); }
.footer-cta-link { display: block; margin-top: 30px; font-family: var(--serif); font-size: clamp(48px, 8.4vw, 152px); line-height: .94; letter-spacing: -.03em; max-width: 13ch; }
.footer-cta-link em { color: var(--beige); transition: color .6s var(--ease); }
.footer-cta-link:hover em { color: var(--fg); }
.footer-cta .btn { margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px var(--gutter); padding: 60px 0 clamp(64px, 8vw, 120px); }
.footer-grid .kicker { color: var(--muted); margin-bottom: 14px; }
.footer-grid p { font-size: 14px; line-height: 1.95; color: var(--text); }
.footer-grid a:hover { color: var(--beige); }
.footer-mark { font-family: var(--serif); font-size: clamp(80px, 24vw, 460px); line-height: .78; letter-spacing: -.05em; white-space: nowrap; padding-bottom: .2em; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-inv); font-size: 12px; color: var(--muted); }
.footer-legal a:hover { color: var(--fg); }

/* ---------- Home: category marquee ---------- */
.marquee { display: block; overflow: hidden; padding: clamp(28px, 4vw, 60px) 0; border-bottom: 1px solid var(--line); }
.marquee-track {
  display: flex; align-items: center; width: max-content;
  font-family: var(--serif); font-size: clamp(64px, 11vw, 196px); line-height: 1.05; letter-spacing: -.035em; white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee-track > * { margin-right: clamp(26px, 3.6vw, 60px); }
.marquee-track .o { color: transparent; -webkit-text-stroke: 1px var(--fg); font-style: italic; }
.marquee-track i { font-style: normal; font-size: .26em; color: var(--beige); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee:hover .o { color: var(--beige); -webkit-text-stroke-color: var(--beige); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Full-bleed image with text over it ---------- */
.bleed { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #1b1815; color: var(--on-image); }
.bleed-img { position: absolute; inset: -8% 0; }
.bleed::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.6) 100%);
}
.bleed-content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(44px, 9vh, 110px); z-index: 2; display: grid; justify-items: start; gap: 22px; }
.bleed-content .kicker { color: rgba(247, 244, 239, .78); }
.bleed-quote { font-family: var(--serif); font-style: italic; font-size: clamp(50px, 8.4vw, 156px); line-height: .92; letter-spacing: -.03em; max-width: 11ch; }
.bleed-caption { position: absolute; left: var(--gutter); bottom: 28px; z-index: 2; color: rgba(247, 244, 239, .78); }

/* ---------- Cinematic scroll effects (modern browsers; others show the page normally) ---------- */
@supports (animation-timeline: view()) {
  .tile .ph, .wall-item .ph, .g-item .ph, .phil-img, .about-portrait, .wh-1, .wh-2, .next-fig {
    animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% entry 75%;
  }
  .bleed-img { animation: drift-scroll linear both; animation-timeline: view(); }
}
@keyframes unveil { from { clip-path: inset(24% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes drift-scroll { from { transform: translateY(-6%) scale(1.06); } to { transform: translateY(6%) scale(1.06); } }

/* ---------- Typographic refinements ---------- */
h1, h2, h3, .display, .h-display, .statement, .bleed-quote, .big-quote, .intro-text, .about-lead,
.footer-cta-link, .review blockquote, .band-quote { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.h-display, .display, .hero-title, .project-title, .next-title, .footer-mark { font-optical-sizing: auto; }
/* Mid/small serif text a touch heavier for crisp reading */
.wordmark, .tile-title, .review-name, .sign, .hero-sub p:first-child, .about-lead, .svc-list li,
.disc h3, .steps h3, .pkg-name, .next-meta, .nav-extra { font-weight: 500; }
.statement, .intro-text, .review blockquote { font-weight: 400; }
.pkg-price, .tile-num, .review-num, .svc-num { font-variant-numeric: lining-nums tabular-nums; }
.statement, .big-quote, .review blockquote { hanging-punctuation: first; }
.kicker, .nav a, .link-line, .btn, .lang { font-weight: 500; }
em { font-style: italic; font-weight: inherit; }

/* ---------- Scroll reveal (CSS scroll-driven animations, progressive) ---------- */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .phil-text, .about-text, .enquiry { grid-column: 7 / 13; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-top { top: 84px; }
  .hero-title, .hero-sub { grid-column: 1 / -1; }
  .hero-sub { margin-top: 26px; padding-bottom: 0; }
  .col-k { grid-column: 1 / -1; margin-bottom: 28px; }
  .statement { grid-column: 1 / -1; }
  .phil-img { grid-column: 1 / 9; }
  .phil-text { grid-column: 1 / -1; margin-top: 44px; }
  .section-head .h-display { grid-column: 1 / -1; }
  .section-head .head-link { grid-column: 1 / -1; justify-self: start; margin-top: 28px; }
  .works > :nth-child(odd) { grid-column: 1 / 10; margin-top: 0; }
  .works > :nth-child(even) { grid-column: 4 / 13; margin-top: 0; }
  .svc-intro, .svc-list { grid-column: 1 / -1; }
  .svc-list { margin-top: 56px; }
  .page-head .lead { grid-column: 1 / -1; }
  .intro-text { grid-column: 1 / -1; }
  .g-full, .g-right, .g-left, .g-center { grid-column: 1 / -1; }
  .next-title, .next-meta { grid-column: 1 / -1; }
  .next-fig { grid-column: 1 / 7; grid-row: auto; margin-top: 36px; }
  .about-portrait { grid-column: 1 / 11; }
  .about-text { grid-column: 1 / -1; margin-top: 56px; }
  .disc, .disc:first-of-type { grid-column: 1 / -1; margin-bottom: 40px; }
  .wh-1 { grid-column: 1 / 9; }
  .wh-text { grid-column: 1 / -1; grid-row: 2; margin-top: 56px; }
  .wh-2 { grid-column: 5 / 13; grid-row: 3; }
  .svc-num { grid-column: 1 / -1; margin-bottom: 14px; }
  .svc-name { grid-column: 1 / -1; }
  .svc-desc { grid-column: 1 / -1; margin-top: 20px; max-width: 560px; }
  .svc-tags { grid-column: 1 / -1; margin-top: 18px; }
  .pk-title { grid-column: 1 / -1; }
  .review-num { grid-column: 1 / -1; margin-bottom: 20px; }
  .review blockquote, .review figcaption, .review:nth-of-type(even) blockquote, .review:nth-of-type(even) figcaption { grid-column: 1 / -1; }
  .pkg-info-text { grid-column: 1 / -1; }
  .pkg-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .pkg { border-left: 0; border-bottom: 1px solid var(--line); padding-left: 0; padding-right: 0; }
  .pkg:hover { background-color: transparent; }
  .approach-title, .bts, .bts-cap { grid-column: 1 / -1; }
  .contact-left, .enquiry { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .wall { columns: 1; }
  .hide-sm { display: none; }
  .phil-img { grid-column: 1 / 11; }
  .works > :nth-child(odd) { grid-column: 1 / -1; }
  .works > :nth-child(even) { grid-column: 3 / -1; }
  .g-half-l, .g-half-r { grid-column: 1 / -1; margin-top: 0; }
  .band-frame { aspect-ratio: 4 / 5; }
  .steps { grid-template-columns: 1fr; }
  .enquiry { grid-template-columns: 1fr; }
  .contact-details div { grid-template-columns: 1fr; gap: 4px; }
  .contact-left .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .svc-list li { gap: 18px; }
  .v-prev, .v-next { font-size: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { animation: none !important; }
}

/* ==========================================================================
   Black & white couture style — bold uppercase sans, centred wordmark,
   strict edge-to-edge image grids. (Overrides the rules above.)
   ========================================================================== */
em { font-style: normal; }

/* Header: Menu left · wordmark centred · language right */
.nav-btn { order: 1; }
.lang { order: 3; margin: 0 0 0 auto; }
.wordmark {
  position: absolute; left: 50%; transform: translateX(-50%); margin: 0;
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  font-size: clamp(20px, 2.1vw, 32px); letter-spacing: .01em;
}

/* Headings: bold, uppercase, tight */
.display, .h-display, .hero-title, .project-title, .next-title, .footer-cta-link, .svc-name, .pkg-name,
.marquee-track, .footer-mark, .contact-title, .bleed-quote, .nav a:not(.nav-extra), .pkg-price {
  font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; font-style: normal;
}
.display { font-size: clamp(42px, 7.4vw, 136px); line-height: .92; }
.h-display { font-size: clamp(34px, 5vw, 92px); line-height: .94; }
.project-title { font-size: clamp(46px, 10vw, 180px); line-height: .88; }
.next-title { font-size: clamp(42px, 8vw, 150px); }
.contact-title { font-size: clamp(42px, 6vw, 112px); }
.footer-cta-link { font-size: clamp(40px, 6.6vw, 124px); max-width: 15ch; }
.footer-mark { font-size: clamp(64px, 17.5vw, 340px); letter-spacing: -.045em; line-height: .8; }
.svc-name { font-size: clamp(26px, 3.8vw, 64px); }
.svc-row:hover .svc-name { font-style: normal; opacity: .55; }
.pkg-name { font-size: clamp(24px, 2.2vw, 36px); }
.pkg:hover .pkg-name { font-style: normal; }
.pkg-price { font-size: clamp(48px, 5.4vw, 96px); letter-spacing: -.04em; }
.marquee-track { font-size: clamp(52px, 8.6vw, 156px); }
.marquee-track .o { font-style: normal; -webkit-text-stroke: 1.5px var(--fg); }
.marquee:hover .o { color: var(--fg); }
.bleed-quote { font-size: clamp(40px, 6.4vw, 120px); line-height: .92; max-width: 14ch; }
.statement, .intro-text, .about-lead, .review blockquote, .big-quote {
  font-family: var(--sans); font-weight: 500; letter-spacing: -.015em; line-height: 1.12; font-style: normal;
}
.big-quote { text-transform: uppercase; font-weight: 700; }
.tile-title, .review-name, .sign, .hero-sub p:first-child {
  font-family: var(--sans); font-style: normal; text-transform: uppercase; font-weight: 700; letter-spacing: .04em;
}
.tile-title { font-size: 13px; }
.review-name, .sign { font-size: 14px; }
.tile:hover .tile-title { font-style: normal; }

/* Full-screen menu */
.nav a:not(.nav-extra) { font-size: clamp(38px, min(7.6vw, 11vh), 132px); line-height: 1.02; }
.nav a:not(.nav-extra):hover { font-style: normal; color: var(--fg); opacity: .45; transform: none; }
.nav a[aria-current="page"] { font-style: normal; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; }

/* Hero: centred campaign title */
.hero-content { justify-items: center; text-align: center; }
.hero-brand { display: none; }
.hero-title { grid-column: 1 / -1; font-size: clamp(36px, 8vw, 150px); line-height: .9; }
.hero-title em { font-style: normal; }
.hero-sub { grid-column: 1 / -1; margin-top: 22px; padding: 0; }
.hero-sub p:first-child { font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.hero-foot { left: 50%; right: auto; transform: translateX(-50%); }
.hero-foot::before { display: none; }

/* Home selected works: strict, edge-to-edge grid */
.works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 6px; margin: 0 calc(-1 * var(--gutter)); }
.works > .tile { grid-column: auto !important; margin-top: 0 !important; }
.works > .tile:first-child { grid-column: 1 / -1 !important; }
.works > .tile .ph { aspect-ratio: 3 / 4 !important; }
.works > .tile:first-child .ph { aspect-ratio: 16 / 9 !important; }
.tile-cap { display: block; text-align: center; padding: 0 var(--gutter); }
.tile-num { display: none; }
.tile-meta { display: block; margin-top: 6px; }

/* Portfolio: edge-to-edge wall, image only */
.wall { padding-left: 0; padding-right: 0; column-gap: 6px; }
.wall-item { margin-bottom: 6px; }
.wall-cap { display: none; }

@media (max-width: 600px) {
  .works { grid-template-columns: 1fr; }
  .works > .tile:first-child .ph { aspect-ratio: 3 / 4 !important; }
  .wordmark { font-size: 20px; }
  .hero-title { font-size: 10.6vw; }
  .lang { gap: 8px; }
}

/* ==========================================================================
   Impact layer — intro curtain, giant wordmark, campaign panels,
   black sections, hover photo, pre-filtered portfolio.
   ========================================================================== */

/* Black sections (contrast rhythm). Everything inside re-colours itself. */
.invert {
  --bg: #000000; --fg: #ffffff; --surface: #141414;
  --text: rgba(255, 255, 255, .82); --muted: #9a9a9a; --line: rgba(255, 255, 255, .2); --beige: #ffffff;
  background: var(--bg); color: var(--fg);
}

/* Intro: black curtain with the wordmark, then it lifts to reveal the hero (home only) */
.intro {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  display: grid; place-items: center;
  background: #000; color: #fff;
  clip-path: inset(0 0 0 0);
  animation: intro-out 1s cubic-bezier(.76, 0, .24, 1) 1.15s forwards;
}
.intro span {
  font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(26px, 3.6vw, 54px); opacity: 0;
  animation: intro-in .9s var(--ease) .15s forwards;
}
@keyframes intro-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* Hero: giant wordmark across the photo, campaign line above it */
.hero-video { z-index: 1; }
.hero-mark {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(12px, 1.8vw, 30px); z-index: 2;
  margin: 0; overflow: hidden; text-align: center; white-space: nowrap;
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  font-size: 16.6vw; line-height: .8; letter-spacing: -.045em; color: var(--on-image);
}
.hero-mark span { display: block; padding-top: .05em; transform: translateY(105%); animation: rise 1.6s var(--ease) 1.25s forwards; }
.home .hero-content { bottom: calc(16.6vw * .8 + clamp(26px, 5vh, 60px)); }
.home .hero-title { font-size: clamp(22px, 2.8vw, 46px); line-height: 1.02; letter-spacing: 0; }
.home .hero-sub { margin-top: 14px; }
.home .line > span { animation-delay: 1.45s; }
.home .line + .line > span { animation-delay: 1.55s; }
.home .hero-sub { animation-delay: 1.8s; }
.home .hero-top { animation-delay: 1.9s; }

/* Home header: the small wordmark appears once the giant one has scrolled away */
@supports (animation-timeline: scroll()) {
  .home .wordmark { animation: mark-in linear both; animation-timeline: scroll(); animation-range: 35vh 80vh; }
}
@keyframes mark-in { from { opacity: 0; } to { opacity: 1; } }

/* Campaign panels: one full-screen image per category */
.panel { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--on-image); background: #1b1815; }
.panel + .panel { margin-top: 6px; }
.panel-img { position: absolute; inset: -8% 0; }
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.5) 100%);
}
.panel-content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(44px, 9vh, 110px); z-index: 2; display: grid; justify-items: center; gap: 18px; text-align: center; }
.panel-content .kicker { opacity: .85; }
.panel-title { margin: 0; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(46px, 8.4vw, 156px); line-height: .9; }
.panel .link-line { color: var(--on-image); }
@supports (animation-timeline: view()) {
  .panel-img { animation: drift-scroll linear both; animation-timeline: view(); }
}

/* Black "Selected works" section on the home page */
#selected-works.invert { padding-top: clamp(96px, 12vw, 180px); }

/* Hover: second photo of the project */
.ph > img.ph-alt { z-index: 2; opacity: 0; transition: opacity .9s var(--ease); }
.tile:hover .ph > img.ph-alt, .tile:focus-visible .ph > img.ph-alt { opacity: 1; }

/* Portfolio opened from a DISCOVER link (portfolio.html#cat-fashion etc.) */
.cat-anchor { display: block; position: relative; top: -110px; height: 0; }
body:has(#pf-all:checked):has(#cat-fashion:target) .wall-item:not([data-cat="fashion"]),
body:has(#pf-all:checked):has(#cat-beauty:target) .wall-item:not([data-cat="beauty"]),
body:has(#pf-all:checked):has(#cat-editorial:target) .wall-item:not([data-cat="editorial"]),
body:has(#pf-all:checked):has(#cat-portrait:target) .wall-item:not([data-cat="portrait"]) { display: none; }
body:has(#pf-all:checked):has(.cat-anchor:target) label[for="pf-all"] { color: var(--muted); }
body:has(#pf-all:checked):has(.cat-anchor:target) label[for="pf-all"]::after { transform: scaleX(0); }
body:has(#pf-all:checked):has(#cat-fashion:target) label[for="pf-fashion"],
body:has(#pf-all:checked):has(#cat-beauty:target) label[for="pf-beauty"],
body:has(#pf-all:checked):has(#cat-editorial:target) label[for="pf-editorial"],
body:has(#pf-all:checked):has(#cat-portrait:target) label[for="pf-portrait"] { color: var(--fg); }
body:has(#pf-all:checked):has(#cat-fashion:target) label[for="pf-fashion"]::after,
body:has(#pf-all:checked):has(#cat-beauty:target) label[for="pf-beauty"]::after,
body:has(#pf-all:checked):has(#cat-editorial:target) label[for="pf-editorial"]::after,
body:has(#pf-all:checked):has(#cat-portrait:target) label[for="pf-portrait"]::after { transform: scaleX(1); }

@media (max-width: 600px) {
  .home .hero-title { font-size: 6.6vw; }
  .hero-mark { font-size: 19vw; }
  .home .hero-content { bottom: calc(19vw * .8 + 28px); }
  .panel-title { font-size: 13vw; }
}
@media (prefers-reduced-motion: reduce) {
  .intro, .hero-video { display: none; }
  .hero-mark span { transform: none; }
}

/* Long words (Portuguese / Italian) must never push past the screen edge */
.display, .h-display, .contact-title, .footer-cta-link, .project-title, .next-title, .svc-name, .panel-title, .bleed-quote, .big-quote {
  overflow-wrap: break-word; hyphens: manual;
}
@media (max-width: 600px) {
  .display, .contact-title, .footer-cta-link { font-size: 8.6vw; }
  .h-display { font-size: 8.2vw; }
  .project-title { font-size: 11vw; }
  .next-title { font-size: 9.4vw; }
  .bleed-quote { font-size: 8.4vw; }
  .nav-btn::before { width: 18px; }
  .lang { gap: 9px; letter-spacing: .14em; }
}

/* Portrait photos in wide frames: keep the face in view (focus on the upper third) */
.project-cover > img, .panel-img > img, .bleed-img > img, .hero-ph > img, .works > .tile:first-child .ph > img { object-position: 50% 24%; }

/* ---------- Photo sizes: every photo fits on screen ---------- */
/* Portfolio wall: more, smaller columns */
.wall { columns: 3; column-gap: 8px; padding-left: var(--gutter); padding-right: var(--gutter); }
.wall-item { margin-bottom: 8px; }
@media (min-width: 1600px) { .wall { columns: 4; } }
@media (max-width: 900px) { .wall { columns: 2; } }
@media (max-width: 600px) { .wall { columns: 2; column-gap: 4px; padding-left: 4px; padding-right: 4px; } .wall-item { margin-bottom: 4px; } }
/* Project galleries: a photo is never taller than ~86% of the screen */
.g-item .ph { width: min(100%, calc(86vh * var(--r, 1))); width: min(100%, calc(86svh * var(--r, 1))); margin-inline: auto; }
/* Home selected works: first one wide, the other four side by side */
.works { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 4px; } .works > .tile:first-child .ph { aspect-ratio: 4 / 5 !important; } .tile-title { font-size: 11px; } }

/* ---------- Portfolio grouped by shoot (Nicole · Clarice · Raiara) ---------- */
.shoots { padding-bottom: clamp(60px, 8vw, 140px); }
.shoot { padding-bottom: clamp(64px, 8vw, 130px); }
.shoot .wall { padding-bottom: 0; }
.shoot-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 26px;
  margin: 0 var(--gutter) clamp(22px, 3vw, 40px); padding-top: clamp(26px, 3vw, 44px);
  border-top: 1px solid var(--line);
}
.shoot-num, .shoot-meta { color: var(--muted); }
.shoot-title { margin: 0; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(40px, 6vw, 104px); line-height: .9; }
.shoot-link { margin-left: auto; }
@media (max-width: 600px) { .shoot-link { margin-left: 0; } }
/* when a category filter is on, a shoot with no photo in that category disappears */
body:has(#pf-fashion:checked) .shoot:not(:has(.wall-item[data-cat="fashion"])),
body:has(#pf-beauty:checked) .shoot:not(:has(.wall-item[data-cat="beauty"])),
body:has(#pf-editorial:checked) .shoot:not(:has(.wall-item[data-cat="editorial"])),
body:has(#pf-portrait:checked) .shoot:not(:has(.wall-item[data-cat="portrait"])),
body:has(#pf-all:checked):has(#cat-fashion:target) .shoot:not(:has(.wall-item[data-cat="fashion"])),
body:has(#pf-all:checked):has(#cat-beauty:target) .shoot:not(:has(.wall-item[data-cat="beauty"])),
body:has(#pf-all:checked):has(#cat-editorial:target) .shoot:not(:has(.wall-item[data-cat="editorial"])),
body:has(#pf-all:checked):has(#cat-portrait:target) .shoot:not(:has(.wall-item[data-cat="portrait"])) { display: none; }

/* ---------- Portfolio wall in reading order (left to right, row by row) ---------- */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; columns: auto; }
.wall-item { margin: 0; }
.wall-item .ph { aspect-ratio: 2 / 3 !important; }
.wall-item .ph > img { object-position: 50% 22%; }
.wall-item.wide { grid-column: span 2; }
.wall-item.wide .ph { aspect-ratio: auto !important; height: 100%; }
@media (min-width: 1600px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; } .wall-item.wide { grid-column: 1 / -1; } .wall-item.wide .ph { aspect-ratio: 3 / 2 !important; height: auto; } }

/* About: the photographer's own portrait (landscape B&W) — keep the face in frame */
.about-portrait > img { object-position: 62% 35%; }

/* ---------- Book page (booking request) ---------- */
.book { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 64px; padding: 0 var(--gutter) clamp(110px, 13vw, 190px); }
.book-left { grid-column: 1 / 6; align-self: start; }
.book-k { color: var(--muted); margin: 0 0 22px; }
.book-steps { list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; border-top: 1px solid var(--line); }
.book-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.book-steps .kicker { grid-row: 1 / 3; color: var(--muted); padding-top: 6px; }
.book-steps h3 { margin: 0; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; }
.book-steps p { margin: 4px 0 0; color: var(--text); font-size: 14px; }
.book-form { grid-column: 7 / 13; align-self: start; }
.field input[type="date"] { min-height: 46px; }
@media (max-width: 900px) { .book-left, .book-form { grid-column: 1 / -1; } }

/* Home: booking call-to-action */
.book-cta { text-align: center; display: grid; justify-items: center; gap: 28px; }
.book-cta .kicker { color: var(--muted); }
.book-cta .h-display { max-width: 14ch; }

/* Menu now has six links (+ WhatsApp) */
.nav-toggle:checked ~ .nav a:nth-child(7) { animation-delay: .76s; }

/* ---------- Home: the photographer (B&W portrait + short intro) ---------- */
.home-about { align-items: center; row-gap: 48px; }
.home-about-img { grid-column: 1 / 8; aspect-ratio: 1338 / 1176; }
.home-about-img > img { object-position: 60% 40%; }
.home-about-text { grid-column: 9 / 13; }
.home-about-text .kicker { color: var(--muted); margin-bottom: 26px; }
.home-about-lead { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -.015em; font-size: clamp(26px, 2.6vw, 44px); line-height: 1; margin-bottom: 24px; }
.home-about-text p:not(.kicker):not(.home-about-lead) { color: var(--text); margin-bottom: 30px; }
@media (max-width: 900px) { .home-about-img, .home-about-text { grid-column: 1 / -1; } }

/* ---------- Home opening: the photographer's B&W portrait ---------- */
.hero-ph > img { object-position: 58% 28%; }
.hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,.28) 55%, rgba(0,0,0,.72) 100%);
}
.home .hero-title, .home .hero-sub { text-shadow: 0 1px 24px rgba(0,0,0,.35); }
@media (max-width: 600px) { .hero-ph > img { object-position: 64% 30%; } }

/* Reviews: translation under the original Portuguese quote */
.review-tr { grid-column: 3 / 12; margin: 22px 0 0; color: var(--text); font-size: 15px; max-width: 60ch; }
.review-tr .kicker { display: block; color: var(--muted); margin-bottom: 6px; }
.review:nth-of-type(even) .review-tr { grid-column: 4 / 13; }
@media (max-width: 900px) { .review-tr, .review:nth-of-type(even) .review-tr { grid-column: 1 / -1; } }

/* ==========================================================================
   Gold details — accent colour and fine gold borders
   ========================================================================== */
:root {
  --gold: #a9874f;          /* antique gold, on white */
  --gold-light: #c9a76b;    /* lighter gold, on black and over photos */
  --beige: var(--gold);     /* every accent detail uses the gold */
  --line: rgba(169, 135, 79, .5);
  --line-inv: rgba(169, 135, 79, .5);
}
.invert, .site-footer { --beige: var(--gold-light); --line: rgba(201, 167, 107, .45); --line-inv: rgba(201, 167, 107, .45); }

/* titles: the highlighted word in gold (over the photo a lighter gold) */
.hero-title em, .bleed-quote em { color: var(--gold-light); }
/* fine gold lines */
@keyframes header-solid { to { background-color: rgba(255, 255, 255, .97); color: var(--fg); padding-top: 16px; padding-bottom: 16px; box-shadow: 0 1px 0 var(--gold); } }
.form-title { border-bottom-color: var(--gold); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.consent input { border-color: var(--gold); }
.consent input:checked { background: var(--gold); }
/* buttons: thin gold outline, gold fill on hover */
.btn { border: 1px solid var(--gold); }
.btn:hover { background: var(--gold); color: #fff; }
.invert .btn-light, .site-footer .btn-light { border-color: var(--gold-light); }
.invert .btn-light:hover, .site-footer .btn-light:hover { background: var(--gold-light); color: #000; }
/* links: gold underline */
.link-line { background-image: linear-gradient(var(--beige), var(--beige)); }
/* menu: gold numbers, current page in gold */
.nav a:not(.nav-extra):hover, .nav a[aria-current="page"] { color: var(--gold); opacity: 1; }
/* prices on the black packages section */
.pkg-price { color: var(--gold-light); }
.book-steps .kicker, .shoot-num, .review-num { color: var(--gold); }
/* the photographer's portrait gets a fine gold frame */
.home-about-img, .about-portrait { outline: 1px solid var(--gold); outline-offset: 10px; }

/* ---------- Services: Milan photoshoot for travellers (white section) ---------- */
.milano { padding-top: clamp(90px, 11vw, 170px); }
.mi-lead { grid-column: 4 / 11; margin-top: 26px; }
.mi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mi-locs { margin-top: 26px; color: var(--muted); }
.home-langs { color: var(--gold) !important; margin: -8px 0 26px !important; }
@media (max-width: 900px) { .mi-lead { grid-column: 1 / -1; } .mi-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ (Book page): native <details>, no JavaScript ---------- */
.faq { padding: 0 var(--gutter) clamp(110px, 13vw, 190px); }
.faq-title { grid-column: 4 / 13; }
.faq-list { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 24px 0; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(16px, 1.5vw, 22px);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-weight: 400; font-size: 1.4em; line-height: 1; transition: transform .4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 26px; max-width: 70ch; color: var(--text); }
@media (max-width: 900px) { .faq-title { grid-column: 1 / -1; } }

/* ---------- Reviews with a photo from each client's shoot ---------- */
.review { align-items: start; }
.review-num { grid-column: 1 / 4; grid-row: 1; }
.review-img { grid-column: 1 / 4; grid-row: 2 / span 3; margin-top: 18px; outline: 1px solid var(--gold); outline-offset: 8px; }
.review blockquote, .review-tr, .review figcaption,
.review:nth-of-type(even) blockquote, .review:nth-of-type(even) .review-tr, .review:nth-of-type(even) figcaption { grid-column: 5 / 13; }
.review blockquote { grid-row: 2; align-self: start; margin-top: 18px; }
@media (max-width: 900px) {
  .review-img { grid-column: 1 / 8; grid-row: auto; margin: 6px 0 28px; }
  .review blockquote, .review-tr, .review figcaption,
  .review:nth-of-type(even) blockquote, .review:nth-of-type(even) .review-tr, .review:nth-of-type(even) figcaption { grid-column: 1 / -1; grid-row: auto; }
}
.review .review-tr { grid-row: 3; }
.review figcaption { grid-row: 4; align-self: start; }
@media (max-width: 900px) { .review .review-tr, .review figcaption { grid-row: auto; } }

/* ---------- PayPal deposit links ---------- */
.pkg-cta { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: baseline; }
.pay-link { color: var(--beige); }
.book-pay { margin-top: clamp(44px, 5vw, 64px); }
.book-pay-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.book-pay-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.book-pay-list li span { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.book-pay-list .link-line { color: var(--gold); }
.book-pay-note { margin-top: 18px; font-size: 14px; color: var(--text); }

/* ---------- Background music toggle ---------- */
.sound {
  order: 3; margin-left: auto; margin-right: clamp(16px, 2vw, 28px);
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  background: none; border: 0; cursor: pointer; color: inherit;
  font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.lang { order: 4; margin-left: 0; }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.sound-bars i { width: 2px; height: 3px; background: var(--gold); transition: height .3s; }
.sound[aria-pressed="true"] .sound-bars i { animation: eq 1s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: .25s; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: .5s; }
@keyframes eq { from { height: 3px; } to { height: 11px; } }
.sound:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
@media (max-width: 600px) { .sound { font-size: 0; gap: 0; margin-right: 14px; } .sound-bars { height: 13px; } .sound-bars i { width: 2px; } }
@media (prefers-reduced-motion: reduce) { .sound[aria-pressed="true"] .sound-bars i { animation: none; height: 9px; } }

/* ---------- Background music: big fixed Pause / Play button ---------- */
.sound { display: none; }
.lang { margin-left: auto; }
.sound-fab {
  position: fixed; left: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 310;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px; cursor: pointer;
  background: #000; color: #fff; border: 1px solid var(--gold-light);
  font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transition: background-color .4s, color .4s;
}
.sound-fab:hover { background: var(--gold); color: #000; }
.sound-fab:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.sound-fab .sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-fab .sound-bars i { width: 2px; height: 4px; background: var(--gold-light); }
.sound-fab:hover .sound-bars i { background: #000; }
.sound-fab[aria-pressed="true"] .sound-bars i { animation: eq .9s ease-in-out infinite alternate; }
.sound-fab[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: .2s; }
.sound-fab[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: .4s; }
.sound-fab[aria-pressed="true"] .sound-bars i:nth-child(4) { animation-delay: .6s; }
@keyframes eq { from { height: 4px; } to { height: 14px; } }
@media (max-width: 600px) { .sound-fab { padding: 12px 16px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .sound-fab[aria-pressed="true"] .sound-bars i { animation: none; height: 10px; } }

/* Home closing photo (Raiara, London buses): keep her in the centre of the frame */
.bleed-img > img { object-position: 60% 22%; }
.bleed-img > img { width: 112%; max-width: none; left: -10%; }

/* Package cards: one explanatory sentence under the price */
.pkg-desc { margin: 0 0 clamp(24px, 2.6vw, 36px); font-size: 15px; line-height: 1.6; max-width: 38ch; opacity: .82; }

/* Home entrance: "camera focusing" — the photo starts close and out of focus, pulls back into
   sharp focus while a gold viewfinder opens to the edges of the screen; then the slow drift continues. */
.home .hero-ph { animation: lens-in 2.8s cubic-bezier(.22, .8, .2, 1) .95s both, drift 30s ease-in-out 3.75s infinite alternate; }
@keyframes lens-in {
  0%   { transform: scale(1.6); filter: blur(16px) brightness(.55); }
  55%  { filter: blur(3px) brightness(.85); }
  100% { transform: scale(1.04); filter: none; }
}
.home .hero::before {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  top: 34%; bottom: 34%; left: 36%; right: 36%;
  --c: var(--gold-light); --l: clamp(26px, 3vw, 46px);
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--l) no-repeat;
  opacity: 0;
  animation: viewfinder 2.9s cubic-bezier(.22, .8, .2, 1) 1.2s forwards;
}
@keyframes viewfinder {
  0%   { opacity: 0; top: 34%; bottom: 34%; left: 36%; right: 36%; }
  12%  { opacity: 1; top: 34%; bottom: 34%; left: 36%; right: 36%; }
  70%  { opacity: 1; top: 18px; bottom: 18px; left: 18px; right: 18px; }
  100% { opacity: 0; top: 10px; bottom: 10px; left: 10px; right: 10px; }
}
@media (max-width: 700px) {
  .home .hero::before { top: 36%; bottom: 36%; left: 22%; right: 22%; }
  @keyframes viewfinder {
    0%   { opacity: 0; top: 36%; bottom: 36%; left: 22%; right: 22%; }
    12%  { opacity: 1; top: 36%; bottom: 36%; left: 22%; right: 22%; }
    70%  { opacity: 1; top: 14px; bottom: 14px; left: 14px; right: 14px; }
    100% { opacity: 0; top: 8px; bottom: 8px; left: 8px; right: 8px; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .home .hero-ph { animation: none; }
  .home .hero::before { display: none; }
}

/* Booking: after the request is sent, the form gives way to the PayPal deposit step */
.book-form.is-sent > *:not(.pay-step) { display: none; }
.pay-step { grid-column: 1 / -1; display: grid; gap: 18px; justify-items: start; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--gold); }
.pay-step[hidden], .pay-step [hidden] { display: none; }
.pay-step-h { margin: 0; font-family: var(--sans); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 52px); line-height: .95; letter-spacing: -.02em; }
.pay-step-deposit { display: grid; gap: 18px; justify-items: start; }
.pay-step-btn { border-color: var(--gold); }
.pay-step-note { margin: 0; font-size: 13px; line-height: 1.6; opacity: .75; }

/* Home intro: camera aperture (iris) — six blades open from the centre to reveal the hero */
.intro.intro { background: transparent; clip-path: none; animation: intro-gone 0s linear 2.5s forwards; }
@keyframes intro-gone { to { visibility: hidden; } }
.iris { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.iris-rot { animation: iris-turn 1.35s cubic-bezier(.6, 0, .2, 1) 1.05s both; }
.iris-blade {
  fill: #050505; stroke: var(--gold, #a9874f); stroke-opacity: .55; stroke-width: 1px; vector-effect: non-scaling-stroke;
  transform-box: view-box; animation: iris-open 1.35s cubic-bezier(.6, 0, .2, 1) 1.05s both;
}
@keyframes iris-open { from { transform: translateY(0); } to { transform: translateY(140px); } }
@keyframes iris-turn { from { transform: rotate(0deg); } to { transform: rotate(-50deg); } }
.intro span { position: relative; z-index: 1; animation: intro-in .9s var(--ease) .15s forwards, intro-fade .35s ease 1.05s forwards; }
@keyframes intro-fade { to { opacity: 0; transform: scale(.92); } }
/* the gold viewfinder now follows the aperture instead of overlapping it */
.home .hero::before { animation-delay: 2.1s; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* Zoom/focus entrance removed at the user's request: the hero keeps only its original slow drift */
.home .hero-ph { animation: drift 30s ease-in-out infinite alternate; filter: none; }
/* Only the aperture intro stays: no viewfinder brackets and no slow zoom/drift on the home photo */
.home .hero::before { content: none; animation: none; }
.home .hero-ph { animation: none; transform: none; }

/* Privacy page */
.legal { max-width: 760px; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); margin: 0 auto 0 var(--gutter); display: grid; gap: clamp(28px, 3vw, 40px); }
.legal h2 { margin: 0 0 10px; font-family: var(--sans); font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: .06em; }
.legal p { margin: 0; line-height: 1.7; }
.legal-updated { margin-top: 12px; opacity: .6; }
.footer-legal a[href="privacy.html"] { margin-left: auto; margin-right: 28px; }
.hp { display: none !important; }
.enquiry.is-sent > *:not(.pay-step) { display: none; }

/* Milan photoshoot: the list of locations is now a visible gold-framed strip under the two packages */
.mi-locs { margin-top: clamp(28px, 3vw, 44px); padding: 18px 22px; border: 1px solid var(--gold); color: inherit; line-height: 1.9; }

/* Curated wall (27 photos: 26 portraits + the wide Binur triptych last).
   No gaps on tablet/desktop: a 6-column grid (12 on very wide screens); the two photos before
   the triptych become a larger pair, and the triptych closes the wall at full width. */
@media (min-width: 601px) {
  .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wall-item { grid-column: span 2; }
  .wall-item:nth-last-child(2):not(.wide), .wall-item:nth-last-child(3):not(.wide) { grid-column: span 3; }
  .wall-item:nth-last-child(2):not(.wide) .ph, .wall-item:nth-last-child(3):not(.wide) .ph { aspect-ratio: 4 / 5 !important; }
  .wall-item.wide { grid-column: 1 / -1; }
  .wall-item.wide .ph { aspect-ratio: 3 / 2 !important; height: auto; }
}
@media (min-width: 1600px) {
  .wall { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .wall-item { grid-column: span 3; }
  .wall-item:nth-last-child(2):not(.wide), .wall-item:nth-last-child(3):not(.wide) { grid-column: span 6; }
}

/* Wall now 28 photos (27 portraits + the triptych last): rows fill exactly, so no larger pair on tablet/desktop;
   very wide screens (4 per row) end with 3 wider photos; phones (2 per row) give the last portrait the full width. */
@media (min-width: 601px) {
  .wall-item:nth-last-child(2):not(.wide), .wall-item:nth-last-child(3):not(.wide) { grid-column: span 2; }
  .wall-item:nth-last-child(2):not(.wide) .ph, .wall-item:nth-last-child(3):not(.wide) .ph { aspect-ratio: 2 / 3 !important; }
}
@media (min-width: 1600px) {
  .wall-item:nth-last-child(2):not(.wide), .wall-item:nth-last-child(3):not(.wide), .wall-item:nth-last-child(4):not(.wide) { grid-column: span 4; }
}
@media (max-width: 600px) {
  .wall-item:nth-last-child(2):not(.wide) { grid-column: 1 / -1; }
}

/* Contact icons (gold line icons next to WhatsApp, email, Instagram, studio, availability) */
.ico { display: inline-block; width: 18px; height: 18px; flex: none; color: var(--gold); vertical-align: -4px; margin-right: 10px; }
.contact-details div { grid-template-columns: 170px 1fr; }
.contact-details dt { display: inline-flex; align-items: center; }
.contact-details dt .ico { margin-right: 12px; }
.footer-contact a { display: inline-flex; align-items: center; }
.footer-contact .ico { color: var(--gold-light); width: 16px; height: 16px; }
@media (max-width: 900px) { .contact-details div { grid-template-columns: 1fr; } }
