/* Shahar Bar — site styles (v3: minimal type, Lenis scroll) */
@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* Archivo at its widest setting (wdth 125), subset to the letters of "ABOUT" only (~3 KB) */
@font-face {
  font-family: "Archivo Expanded";
  src: url("../assets/fonts/archivo-expanded-about.woff2") format("woff2");
  font-weight: 500 700; font-style: normal; font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --ink-2: #131313;
  --paper: #ecebe7;
  --dim: #a3a29d;
  --muted: #6d6c68;
  --line: rgba(236, 235, 231, 0.10);
  --line-2: rgba(236, 235, 231, 0.22);
  --accent: #d9623b;

  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: max(20px, 5vw);
  --section: clamp(110px, 14vw, 220px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
/* v17: native scrolling only (no smooth-scroll library, no scroll-snap). Anchor jumps are animated in JS. */
html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 350;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 1px solid var(--paper); outline-offset: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; font-size: 13px; }
.skip:focus { top: 12px; }

.container { width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section); }

/* ---------- type ---------- */
.label {
  font-size: 11px; line-height: 1.4; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--dim);
}
.section-title {
  font-size: clamp(32px, 4.2vw, 64px);
  font-weight: 300; line-height: 1.02; letter-spacing: -0.025em;
  text-wrap: balance;
}
.statement {
  font-size: clamp(24px, 2.55vw, 38px);
  font-weight: 300; line-height: 1.22; letter-spacing: -0.015em;
  text-wrap: balance;
}
p { color: var(--dim); max-width: 46ch; }
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(44px, 5.5vw, 84px); }
.section-head .label { grid-column: 1 / 4; padding-bottom: 0.6em; }
.section-head .section-title { grid-column: 4 / -1; }
.br-d { display: inline; }

/* link with drawn underline */
.link-cta {
  position: relative; display: inline-block;
  font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--paper); padding: 6px 0;
}
.link-cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform 0.7s var(--ease);
}
.link-cta:hover::after { transform: scaleX(0); }
.link-cta::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease) 0.15s;
}
.link-cta:hover::before { transform: scaleX(1); }

/* buttons (form) */
.btn {
  font: inherit; font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 18px 28px; border: 1px solid var(--line-2); background: transparent; color: var(--paper);
  cursor: pointer; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  white-space: nowrap;
}
.btn-solid { background: var(--ink-2); }
.btn-solid:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-text { border: 0; padding: 18px 0; color: var(--dim); }
.btn-text:hover { color: var(--paper); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 24px;
  padding: 28px var(--gutter);
  transition: transform 0.7s var(--ease), background 0.5s, padding 0.5s var(--ease);
}
.site-header.is-solid {
  background: rgba(11, 11, 11, 0.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding-top: 18px; padding-bottom: 18px;
}
.site-header.is-hidden { transform: translateY(-100%); }
.logo { grid-column: 2; justify-self: center; line-height: 0; position: relative; z-index: 2; }
.logo-img { width: clamp(130px, 10.5vw, 168px); height: auto; }
.nav { grid-column: 1; }
.header-right { grid-column: 3; justify-self: end; display: flex; align-items: center; }
.nav-list { display: flex; gap: clamp(22px, 2.6vw, 44px); align-items: center; }
.nav-list a {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500;
  color: var(--dim); transition: color 0.3s;
}
.nav-list a:hover, .nav-list a.is-active { color: var(--paper); }
.nav-mobile-only, .nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1300px;
  overflow: hidden; isolation: isolate; display: flex; align-items: flex-end;
}
.hero-backdrop {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(40% 55% at 50% 44%, rgba(118, 92, 74, 0.5) 0%, rgba(64, 48, 39, 0.28) 40%, rgba(11, 11, 11, 0) 74%),
    linear-gradient(180deg, #15120f 0%, var(--ink) 100%);
}
.hero-portrait {
  position: absolute; z-index: -2; left: 50%; bottom: 0;
  height: min(88vh, 1080px); height: min(88svh, 1080px); aspect-ratio: 1106 / 1800;
  transform: translate3d(-50%, 0, 0);
  transform-origin: 50% 100%;
  animation: portraitIn 2s var(--ease) both 0.1s;
  will-change: transform;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; } /* contrast/saturation baked into the file */
.hero-portrait::after {
  content: ""; position: absolute; left: -20%; right: -20%; bottom: 0; height: 36%;
  background: linear-gradient(180deg, rgba(11,11,11,0) 0%, rgba(11,11,11,0.86) 62%, var(--ink) 100%);
}
@keyframes portraitIn { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }
.hero-grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: 0.07;
  background-image: url("../assets/img/grain.png"); background-size: 160px 160px;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.hero-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; column-gap: 24px;
  padding-bottom: clamp(28px, 4.5vh, 52px);
  animation: fadeUp 1.4s var(--ease) backwards 0.6s; /* backwards: lets JS fade it on scroll afterwards */
}
.hero-title {
  font-size: clamp(12px, 0.95vw, 14px); font-weight: 500; line-height: 1.2; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--paper); white-space: nowrap;
}
.hero-right { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.hero-meta { font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dim); max-width: none; }
.hero-meta span { color: var(--muted); padding: 0 0.3em; }
.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--dim); padding-left: 0.34em; }
.hero-scroll-line { width: 1px; height: 52px; background: var(--line-2); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(-100%); animation: scrollLine 2.4s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- reveals ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1.2s var(--ease) var(--d, 0s), transform 1.4s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-media img { transition: scale 1.8s var(--ease) var(--d, 0s), opacity 1.2s var(--ease) var(--d, 0s); scale: 1.14; opacity: 0.4; }
.js .reveal-media.is-in img { scale: 1; opacity: 1; }

/* parallax images: taller than their frame, moved by JS */
.media { position: relative; overflow: hidden; background: var(--ink-2); }
.media img[data-parallax] {
  position: absolute; left: 0; width: 100%; top: -9%; height: 118%; object-fit: cover;
  transform: translate3d(0, 0, 0); will-change: transform;
}

/* ---------- about: pinned paparazzi photo that fades as the bio scrolls over it ---------- */
.about { position: relative; isolation: isolate; padding-bottom: 18vh; padding-bottom: 18svh; }
.about-photo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.about-photo-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.about-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%;
  transform-origin: 50% 40%; /* file is already black-and-white: no CSS filter */
  will-change: opacity, transform;
}
.about-photo-shade { /* dark overlay: fixed edge fades + a veil that thickens as you read */
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 26% at 50% 56%, rgba(11,11,11,0.42) 0%, rgba(11,11,11,0) 100%),
    linear-gradient(180deg, var(--ink) 0%, rgba(11,11,11,0) 16%, rgba(11,11,11,0) 62%, var(--ink) 100%);
}
/* reading veil: a separate composited layer whose opacity is driven by JS (no gradient repaints while scrolling) */
.about-photo-veil {
  position: absolute; inset: 0; opacity: 0; will-change: opacity;
  background: linear-gradient(90deg, rgba(11,11,11,0.9) 0%, rgba(11,11,11,0.55) 70%, rgba(11,11,11,0.4) 100%);
}
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-top: 100vh; padding-top: 100svh; }
.about-text { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 32px; text-shadow: 0 1px 18px rgba(11,11,11,0.6); }
.bio { display: flex; flex-direction: column; gap: 1.1em; }
.bio p { font-size: 15px; line-height: 1.7; max-width: 52ch; color: #b9b8b3; }
.signature { width: clamp(240px, 20vw, 320px); color: rgba(236, 235, 231, 0.86); margin-top: 4px; margin-left: -6px; }
.signature-svg { display: block; width: 100%; height: auto; }
.js .signature { opacity: 1; transform: none; }
.js .signature .signature-svg { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(0.55, 0.1, 0.25, 1) 0.35s; }
.js .signature.is-in .signature-svg { clip-path: inset(0 -5% 0 0); }
.about-word {
  position: absolute; left: 0; right: 0; top: 56%; margin: 0; max-width: none; text-align: center;
  font-family: "Archivo Expanded", var(--sans); font-size: clamp(26px, 6.5vw, 104px); font-weight: 600; line-height: 1; letter-spacing: 0.75em; text-indent: 0.75em;
  text-transform: uppercase; color: rgba(237, 230, 218, 0.8);
  text-shadow: 0 0 34px rgba(11, 11, 11, 0.5), 0 0 2px rgba(11, 11, 11, 0.25);
  transform: translate3d(0, -50%, 0); will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .about-photo img { opacity: 0.14 !important; transform: none !important; }
  .about-word { opacity: 0.5 !important; }
}

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.feature-text { grid-column: 1 / 6; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.feature-media { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 16px; }
.fm-main { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 5; }
.intl .feature-text { grid-column: 8 / -1; }
.intl .feature-media { grid-column: 1 / 7; }
.destinations { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.destinations li { font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }

/* ---------- gallery (justified rows, equal heights) ---------- */
.gallery-grid { display: flex; flex-direction: column; gap: 10px; }
.g-row { display: flex; gap: 10px; }
.g { flex: var(--ar) 1 0; aspect-ratio: var(--ar); overflow: hidden; background: var(--ink-2); min-width: 0; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.8s var(--ease), opacity 1.2s var(--ease), filter 0.6s; }
@media (hover: hover) { .gallery-grid:hover .g img { filter: brightness(0.55); } .gallery-grid .g:hover img { filter: none; } }
.gallery-more { margin-top: 36px; max-width: none; text-align: right; }
/* reel tiles inside the gallery (Rome, Agadir) */
.g--vid { position: relative; }
@media (min-width: 761px) { .g--end { order: 9; } }
.g picture { display: contents; }
.g--vid video { position: absolute; inset: -1px; width: calc(100% + 2px); max-width: none; height: calc(100% + 2px); object-fit: cover; display: block; transition: filter 0.6s, opacity .5s var(--ease); }
@media (hover: hover) { .gallery-grid:hover .g video { filter: brightness(0.55); } .gallery-grid .g:hover video { filter: none; } }
.g-cap { position: absolute; left: 14px; bottom: 13px; font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(236,235,231,0.85); text-shadow: 0 1px 8px rgba(0,0,0,.5); pointer-events: none; }

/* ---------- moments ---------- */
.moment-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.moment:nth-child(2) { margin-top: 64px; }
.moment figure { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-2); }
.moment video { position: absolute; inset: -1px; width: calc(100% + 2px); max-width: none; height: calc(100% + 2px); object-fit: cover; transition: opacity .5s var(--ease); }
.moment figure, .g--vid { background-size: cover; background-position: center; }
[data-moment].is-wait { opacity: 0; }
.moment figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(236,235,231,0.8); }

/* ---------- on location (reels) ---------- */
.onloc-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.onloc-list { grid-column: 4 / 9; display: flex; flex-direction: column; align-items: flex-start; }
.onloc-tab {
  display: flex; align-items: baseline; gap: 18px; padding: 0.2em 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 300 clamp(28px, 3.2vw, 52px)/1.08 var(--sans); letter-spacing: -0.02em; text-transform: uppercase; color: var(--muted);
  transition: color .5s var(--ease);
}
.onloc-tab span { font-size: 10px; font-weight: 500; letter-spacing: 0.28em; line-height: 1; color: var(--muted); opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); white-space: nowrap; }
.onloc-tab:hover { color: var(--dim); }
.onloc-tab[aria-selected="true"] { color: var(--paper); }
.onloc-tab[aria-selected="true"] span { opacity: 1; transform: none; color: var(--dim); }
.onloc-player {
  grid-column: 9 / -1; justify-self: end; position: relative; width: min(100%, calc(80vh * 0.5625)); aspect-ratio: 9 / 16;
  overflow: hidden; background: var(--ink-2); touch-action: pan-y;
}
.onloc-player video, .onloc-player .onloc-poster { position: absolute; inset: -1px; width: calc(100% + 2px); max-width: none; height: calc(100% + 2px); object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.onloc-player .is-active { opacity: 1; }
.onloc-player { background-size: cover; background-position: center; }
.onloc-player video.is-active:not(.is-live) { opacity: 0; }
.onloc-sound {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid rgba(236,235,231,0.32); border-radius: 50%; background: rgba(11,11,11,0.5); color: var(--paper); cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: border-color .3s, background-color .3s;
}
.onloc-sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.onloc-sound .spk { fill: currentColor; stroke: none; }
.onloc-sound .ic-on, .onloc-sound[aria-pressed="true"] .ic-off { display: none; }
.onloc-sound[aria-pressed="true"] .ic-on { display: block; }
.onloc-sound[aria-pressed="true"] { border-color: rgba(236,235,231,0.7); background: rgba(11,11,11,0.62); }
.onloc-sound:focus-visible { outline: 1px solid rgba(236,235,231,.7); outline-offset: 2px; }
.onloc-cap { position: absolute; left: 14px; bottom: 16px; z-index: 2; font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(236,235,231,0.85); pointer-events: none; }
@media (max-width: 760px) {
  .onloc-grid { display: block; }
  .onloc-list {
    flex-direction: row; gap: 22px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--gutter)) 18px; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .onloc-list::-webkit-scrollbar { display: none; }
  .onloc-list li { flex: none; }
  .onloc-tab { font-size: 17px; letter-spacing: 0.02em; padding: 8px 0; white-space: nowrap; gap: 0; border-bottom: 1px solid transparent; }
  .onloc-tab[aria-selected="true"] { border-bottom-color: var(--paper); }
  .onloc-tab span { display: none; }
  .onloc-player { width: 100%; max-width: calc(68svh * 0.5625); margin: 0 auto; justify-self: auto; }
  .onloc-cap { left: 12px; bottom: 14px; font-size: 9px; letter-spacing: .22em; }
}

/* ---------- listen ---------- */
.listen-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.media-card--lead { grid-column: 1 / 9; }
.listen-side { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 32px; }
.media-card h3 { margin-top: 16px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--paper); }
.media-card p { margin-top: 2px; font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity .5s, scale 1.4s var(--ease); }
.yt:hover img { opacity: 1; scale: 1.03; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%; border: 1px solid rgba(236,235,231,0.7); background: rgba(11,11,11,0.25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--paper); cursor: pointer; transition: background .4s, color .4s, transform .6s var(--ease);
  font: 500 10px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; padding-left: 0.24em;
}
.yt-link { display: block; }
.yt-link .yt-play { display: grid; place-items: center; }
.yt-link:hover .yt-play, .yt-play:hover { background: var(--paper); color: var(--ink); transform: translate(-50%, -50%) scale(1.06); }
.media-card:not(.media-card--lead) .yt-play { width: 58px; height: 58px; font-size: 9px; }
.sc { position: relative; aspect-ratio: 16 / 9; background: var(--ink-2); overflow: hidden; }
.sc iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sc-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); }
.listen-links { margin-top: 48px; display: flex; gap: 36px; justify-content: flex-end; }
.listen-links a { font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dim); transition: color .3s; }
.listen-links a:hover { color: var(--paper); }

/* ---------- contact ---------- */
.contact { padding-bottom: var(--section); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; border-top: 1px solid var(--line); padding-top: clamp(56px, 6vw, 96px); width: calc(100% - 2 * var(--gutter)); padding-left: 0; padding-right: 0; }
.contact-intro { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 26px; }
.contact-title { font-size: clamp(44px, 5.6vw, 92px); font-weight: 300; line-height: 0.95; letter-spacing: -0.035em; }
.contact-title .dot { color: var(--accent); }
.contact-direct { margin-top: 10px; border-top: 1px solid var(--line); }
.contact-direct > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-direct dt { font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.contact-direct dd { font-size: 14px; color: var(--paper); }
.contact-direct a { transition: color .3s; }
.contact-direct a:hover { color: var(--accent); }


/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-meta { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-links a, .footer-top { font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.footer-links a:hover, .footer-top:hover { color: var(--paper); }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .onloc-list { grid-column: 1 / 8; }
  .onloc-player { grid-column: 8 / -1; }
  .about-text { grid-column: 1 / 9; }
  .feature-text { grid-column: 1 / 7; }
  .feature-media { grid-column: 7 / -1; }
  .intl .feature-text { grid-column: 7 / -1; }
  .intl .feature-media { grid-column: 1 / 7; }
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .br-d { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; padding: 20px var(--gutter); }
  .site-header.is-solid { padding-top: 14px; padding-bottom: 14px; }
  .logo { grid-column: 2; }
  .logo-img { width: 128px; }
  .nav-list--right { display: none; }
  .nav-toggle {
    display: block; grid-column: 3; position: relative; z-index: 3;
    background: none; border: 0; color: var(--paper); padding: 8px 0; cursor: pointer;
    font: 500 10px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase;
  }
  .header-right { grid-column: 3; }
  .nav-toggle-close { display: none; }
  .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: inline; }
  .nav { grid-column: 1; }
  .nav-mobile-only { display: list-item; }
  .nav-list--left {
    position: fixed; inset: 0; z-index: 1; background: var(--ink);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 90px var(--gutter) 60px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav-open .nav-list--left { opacity: 1; visibility: visible; }
  .nav-list--left a { font-size: 36px; font-weight: 300; letter-spacing: -0.02em; text-transform: none; color: var(--paper); line-height: 1.3; }
  .nav-open .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

  .hero-portrait { height: 80svh; height: 80vh; bottom: 12vh; }
  .hero-inner { grid-template-columns: 1fr auto; row-gap: 20px; }
  .hero-left { grid-column: 1; grid-row: 1; }
  .hero-title { font-size: 13px; letter-spacing: 0.32em; }
  .hero-scroll { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
  .hero-right { grid-column: 1; grid-row: 2; justify-self: start; align-items: flex-start; text-align: left; }
  .hero-scroll-line { height: 40px; }

  .section-head, .about-grid, .feature-grid, .listen-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head > *, .about-grid > *, .feature-grid > *, .listen-grid > *, .contact-grid > * { grid-column: 1 / -1 !important; }
  .section-head { row-gap: 14px; }
  .section-head .label { padding-bottom: 0; }
  .about-grid { padding-top: 100svh; padding-top: 100vh; }
  .about-photo img { object-position: 50% 35%; }
  .about-word { font-size: 30px; letter-spacing: 0.95em; text-indent: 0.95em; }
  .feature-grid { row-gap: 56px; }
  .intl .feature-media { order: -1; }
  .fm-main { grid-column: 1 / -1; }




  .gallery-grid, .g-row { gap: 4px; }
  .gallery-more { text-align: left; }
  .moment-list { gap: 6px; }
  .moment:nth-child(2) { margin-top: 32px; }
  .moment figcaption { left: 10px; bottom: 10px; font-size: 8px; letter-spacing: .2em; }
  .listen-side { gap: 32px; }
  .listen-links { justify-content: flex-start; gap: 26px; }

  .contact-direct > div { grid-template-columns: 92px 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .signature .signature-svg { clip-path: none !important; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .reveal-media, .js .reveal-media img { opacity: 1 !important; transform: none !important; clip-path: none !important; scale: 1 !important; }
}

/* ---------- sound toggle (header, top-right, just left of Menu) ---------- */
.sound-toggle {
  /* Same spot as the old hero-sound control: under Menu, top-right of the hero */
  position: absolute;
  z-index: 51;
  right: var(--gutter);
  top: calc(84px + env(safe-area-inset-top, 0px));
  width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: none;
  color: #F2EEE6; cursor: pointer; display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent; appearance: none; -webkit-appearance: none;
}
.sound-toggle-face {
  position: relative;
  width: 44px; height: 44px;
  border: 1.5px solid #F2EEE6; border-radius: 50%; background: transparent;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.28);
  transition: transform .2s var(--ease);
}
.sound-toggle-face svg {
  position: absolute; top: 50%; left: 50%; width: 22px; height: 22px;
  margin-top: -11px; margin-left: -11px;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  overflow: visible; transition: opacity .2s ease;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7));
}
.sound-icon-body { fill: currentColor; stroke: none; }
.sound-icon-off { opacity: 1; }
.sound-icon-on { opacity: 0; }
.sound-toggle[aria-pressed="true"] .sound-icon-off { opacity: 0; }
.sound-toggle[aria-pressed="true"] .sound-icon-on { opacity: 1; }
.sound-toggle:hover { color: #fff; }
.sound-toggle:active .sound-toggle-face { transform: scale(0.96); }
.sound-toggle:focus-visible { outline: none; }
.sound-toggle:focus-visible .sound-toggle-face { outline: 1px solid #F2EEE6; outline-offset: 3px; }
.hero-inner { padding-bottom: calc(clamp(28px, 4.5vh, 52px) + 52px); }
@media (prefers-reduced-motion: reduce) {
  .sound-toggle-face, .sound-toggle-face svg { transition: none; }
}
@media (max-width: 760px) {
  .sound-toggle { top: calc(70px + env(safe-area-inset-top, 0px)); right: 14px; }
  .sound-toggle-face { width: 42px; height: 42px; }
  .sound-toggle-face svg { width: 20px; height: 20px; margin-top: -10px; margin-left: -10px; }
}
.nav-open .sound-toggle { opacity: 0; pointer-events: none; }

/* ---------- Fixed social bar (bottom-right, mirrors the sound toggle) ---------- */
.social-bar {
  position: fixed; z-index: 45; right: var(--gutter); bottom: calc(22px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none;
  animation: fadeUp 1.2s var(--ease) both 1.3s; transition: opacity .4s;
}
.social-bar a {
  display: grid; place-items: center; width: 34px; height: 34px;
  color: rgba(236, 235, 231, 0.7); transition: color .3s, transform .3s var(--ease);
}
.social-bar a:hover, .social-bar a:focus-visible { color: var(--paper); transform: translateY(-2px); }
.social-bar a:focus-visible { outline: 1px solid rgba(236,235,231,.5); outline-offset: 2px; }
.social-bar svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social-bar svg path { filter: drop-shadow(0 1px 6px rgba(0,0,0,.45)); }
.nav-open .social-bar { opacity: 0; pointer-events: none; }
@media (max-width: 380px) { .social-bar { gap: 0; } .social-bar a { width: 32px; } }

/* ---------- Gallery rhythm on phones: one column, stage full-width, solo shots narrower and alternating sides ---------- */
@media (max-width: 760px) {
  .gallery-grid { gap: 8px; }
  .g-row { display: contents; }
  .g { flex: none; width: 100%; }
  .g--stage { aspect-ratio: var(--arm, 1.5); }
  .g--him { width: 68%; }
  .g--l { align-self: flex-start; }
  .g--r { align-self: flex-end; }
  .g--vid { aspect-ratio: 0.5625; }
  .g-cap { left: 10px; bottom: 10px; font-size: 8px; letter-spacing: .2em; }
}

/* ---------- v3 statement images ---------- */
.fm-main > img:not([data-parallax]) { width: 100%; height: 100%; object-fit: cover; }
.intl .fm-main { aspect-ratio: 2 / 3; }
.intl .fm-main img { object-position: 50% 72%; }

/* ---------- v4: hero face centred, logo truly centred ---------- */
/* Portrait is a transparent cut-out; face sits ~17.7% from the top of the image.
   bottom = 52svh - 0.823*H puts the face at ~48% of the screen height. */
.hero-portrait { bottom: calc(63vh - 0.823 * min(88vh, 1080px)); bottom: calc(63svh - 0.823 * min(88svh, 1080px)); }
.hero-backdrop {
  background:
    radial-gradient(42% 50% at 50% 42%, rgba(118, 92, 74, 0.5) 0%, rgba(64, 48, 39, 0.28) 40%, rgba(11, 11, 11, 0) 74%),
    linear-gradient(180deg, #15120f 0%, var(--ink) 100%);
}
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,11,0) 0%, rgba(11,11,11,0.55) 45%, rgba(11,11,11,0.9) 100%);
}
.site-header { position: fixed; }
.logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); grid-column: auto; justify-self: auto; }
@media (max-width: 760px) {
  .hero-portrait { bottom: calc(63vh - 0.823 * 80vh); bottom: calc(63svh - 0.823 * 80svh); }
}

/* ---------- v5 performance: phones/touch get no backdrop blur (very costly on fixed layers while scrolling) and a static grain ---------- */
@media (hover: none), (max-width: 760px) {
  .site-header.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(11, 11, 11, 0.88); }
  .hero-grain { animation: none; inset: 0; }
  .yt-play { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(11, 11, 11, 0.5); }
}

/* ---------- v6: close the empty stretches around the pinned About photo on phones ---------- */
@media (max-width: 760px) {
  .about-grid { padding-top: 90vh; padding-top: 90svh; }   /* bio starts over the photo's faded bottom instead of after it */
  .about { padding-bottom: 4vh; padding-bottom: 4svh; }
}

/* ---------- v6 iOS / touch: no JS on the scroll path ----------
   On touch devices (html.touch) Lenis is off and JS never moves anything while you scroll.
   Where the browser supports scroll-driven animations (html.sda: Safari 26+, Chrome 115+),
   the hero drift, the About photo fade and the image parallax run on the compositor,
   locked to the native scroll. Otherwise those layers simply stay still. */
@keyframes sdaHeroDrift { to { transform: translate3d(-50%, 22svh, 0) scale(1.05); } }
@keyframes sdaHeroFade { to { opacity: 0; } }
@keyframes sdaAboutImg { from { opacity: 1; transform: scale(1); } to { opacity: 0.42; transform: scale(1.04); } }
@keyframes sdaAboutVeil { from { opacity: 0; } to { opacity: 1; } }
@keyframes sdaAboutWord { from { opacity: 1; transform: translate3d(0, -50%, 0); } to { opacity: 0; transform: translate3d(0, calc(-50% - 8svh), 0); } }
@keyframes sdaPar { from { transform: translate3d(0, -6.4%, 0); } to { transform: translate3d(0, 6.4%, 0); } }

html.touch .hero-portrait { will-change: auto; }
html.touch .media img[data-parallax] { will-change: auto; }

html.touch.sda .hero-portrait {
  animation: portraitIn 2s var(--ease) both 0.1s, sdaHeroDrift linear both;
  animation-timeline: auto, scroll(root block);
  animation-range: normal, 0 100svh;
}
html.touch.sda .hero-inner {
  animation: sdaHeroFade linear both, fadeUp 1.4s var(--ease) backwards 0.6s; /* entrance listed last so it wins while it runs */
  animation-timeline: scroll(root block), auto;
  animation-range: 0 56svh, normal;
}
html.touch.sda .about { view-timeline: --about block; }
/* JS timing kept: fade runs from the section top at 10% of the screen to 55% above it */
html.touch.sda .about-photo img { animation: sdaAboutImg ease-in-out both; animation-timeline: --about; animation-range: cover 90svh cover 155svh; will-change: opacity, transform; }
html.touch.sda .about-photo-veil { animation: sdaAboutVeil ease-in-out both; animation-timeline: --about; animation-range: cover 90svh cover 155svh; }
html.touch.sda .about-word { animation: sdaAboutWord linear both; animation-timeline: --about; animation-range: cover 90svh cover 135svh; }
html.touch.sda .media { view-timeline: --par block; }
html.touch.sda .media img[data-parallax] { animation: sdaPar linear both; animation-timeline: --par; animation-range: cover 0% cover 100%; }
/* no support: About keeps a gentle static reading veil so the bio stays readable */
html.touch:not(.sda) .about-photo-veil { opacity: 0.55; }
@media (prefers-reduced-motion: reduce) {
  html.touch.sda .hero-portrait, html.touch.sda .hero-inner, html.touch.sda .about-photo img, html.touch.sda .about-photo-veil,
  html.touch.sda .about-word, html.touch.sda .media img[data-parallax] { animation: none !important; }
}

/* ---------- v17: hero reel is the opening screen ---------- */
.hero-reel {
  position: absolute; inset: -1px; width: calc(100% + 2px); max-width: none; height: calc(100% + 2px); object-fit: cover; z-index: -2;
  background: #0b0b0b url("../assets/video/hero-r2-poster.jpg") center / cover no-repeat;
}
@media (max-width: 760px) { .hero-reel { background-image: url("../assets/video/hero-r2-poster-m.jpg"); } }
.hero::before {
  content: ""; position: absolute; inset: 0; height: auto; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,11,.5) 0%, rgba(11,11,11,0) 22%, rgba(11,11,11,0) 58%, rgba(11,11,11,.78) 100%);
}
.hero-backdrop { display: none; }
.hero-grain { opacity: 0.05; }
.hero-sound { position: absolute; right: var(--gutter); top: calc(84px + env(safe-area-inset-top)); bottom: auto; z-index: 3; }
@media (max-width: 760px) { .hero-sound { top: calc(70px + env(safe-area-inset-top)); right: 14px; } }

/* ---------- v18: Contact is direct only (no form) ---------- */
.contact-intro { grid-column: 1 / 6; }
.contact-based { font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dim); max-width: none; }
.contact-actions { grid-column: 7 / -1; display: flex; flex-direction: column; gap: 14px; align-self: end; }
.cbtn {
  display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 18px;
  min-height: 76px; padding: 0 26px; border: 1px solid var(--line-2); color: var(--paper);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.cbtn-k { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; }
.cbtn-v { font-size: clamp(15px, 1.25vw, 19px); font-weight: 300; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.cbtn-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .4s var(--ease); }
.cbtn:hover { border-color: var(--paper); }
.cbtn:hover .cbtn-ic { transform: translateX(4px); }
.cbtn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); min-height: 88px; }
.cbtn--primary .cbtn-v { font-weight: 400; }
.cbtn--primary:hover { background: transparent; color: var(--paper); }
.cbtn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.contact-social { display: flex; gap: 22px; list-style: none; margin: 18px 0 0; padding: 0; }
.contact-social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--dim); transition: color .3s; }
.contact-social a:hover { color: var(--paper); }
.contact-social svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 760px) {
  .contact-grid { row-gap: 36px; }
  .contact-actions { gap: 12px; }
  .cbtn { grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 6px; min-height: 0; padding: 20px 20px; }
  .cbtn-k { grid-column: 1; grid-row: 1; }
  .cbtn-v { grid-column: 1; grid-row: 2; font-size: 17px; }
  .cbtn-ic { grid-column: 2; grid-row: 1 / span 2; }
  .cbtn--primary { padding: 24px 20px; }
  .contact-social { justify-content: flex-start; margin-left: -11px; }
}

/* ---------- v18: About bio sits on the photo (no "About" word). The photo stays, a little dimmer;
   each paragraph fades in and sharpens as it rises. Desktop: JS in the scroll frame; touch: scroll-driven CSS. ---------- */
.about-grid { padding-top: 92vh; padding-top: 92svh; }
.bio { gap: 1.25em; }
.bio p, .about-line { font-size: clamp(16px, 1.22vw, 19px); line-height: 1.65; max-width: 46ch; color: #ecebe7; font-weight: 300; }
.about-text { text-shadow: 0 1px 2px rgba(11,11,11,0.55), 0 2px 24px rgba(11,11,11,0.75); }
.about-photo-veil { background: linear-gradient(90deg, rgba(11,11,11,0.78) 0%, rgba(11,11,11,0.45) 60%, rgba(11,11,11,0.25) 100%); }
.js .about-line { opacity: 0; filter: blur(8px); will-change: opacity, filter; }
html.touch:not(.sda) .about-line { opacity: 1; filter: none; }
@keyframes aboutLine { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: blur(0); } }
html.touch.sda .about-line { view-timeline: --aline block; animation: aboutLine ease-out both; animation-timeline: --aline; animation-range: cover 0% cover 38%; }
@media (max-width: 760px) {
  .about-grid { padding-top: 82vh; padding-top: 82svh; }
  .about { padding-bottom: 10vh; padding-bottom: 10svh; }
  .bio p, .about-line { font-size: 16.5px; line-height: 1.6; }
  .about-photo-veil { background: linear-gradient(180deg, rgba(11,11,11,0.2) 0%, rgba(11,11,11,0.5) 45%, rgba(11,11,11,0.62) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .js .about-line, html.touch.sda .about-line { opacity: 1 !important; filter: none !important; animation: none !important; }
  .about-photo img { opacity: 0.45 !important; }
}

/* ---------- v20 gallery: uniform tiles (same size, same 4:5 shape, cover-cropped) ----------
   desktop: 5 columns x 2 rows; tablet/phone: 2 columns. Reels slide in from the side once. */
.gallery-grid { overflow: hidden; } /* clips the slide-ins: no sideways page scroll */
.gallery-grid > .g-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gallery-grid .g, .gallery-grid .g--stage, .gallery-grid .g--him, .gallery-grid .g--vid {
  flex: none; width: 100%; height: auto; aspect-ratio: auto; align-self: start; justify-self: stretch; order: 0; position: relative; display: block; }
/* v20d: the 4:5 box comes from padding (works in every Safari); aspect-ratio on these grid items made WebKit size them 0x0 */
.gallery-grid .g::before { content: ""; display: block; padding-top: 125%; }
.gallery-grid .g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .gallery-grid > .g-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 760px) { .gallery-grid > .g-row { gap: 6px; } .gallery-grid { gap: 0; } }
/* v20i: 10 tiles, 5 full mobile rows. Reels in row 2 (Agadir, HIM, right) and
   row 4 (Rome, STAGE, left). Desktop 5-col HSHSH / SHSHS checkerboard. */
@media (min-width: 1101px) {
  .gallery-grid .g-row > .g:nth-child(1) { order: 0; }
  .gallery-grid .g-row > .g:nth-child(2) { order: 1; }
  .gallery-grid .g-row > .g:nth-child(3) { order: 3; }
  .gallery-grid .g-row > .g:nth-child(4) { order: 6; }
  .gallery-grid .g-row > .g:nth-child(5) { order: 2; }
  .gallery-grid .g-row > .g:nth-child(6) { order: 5; }
  .gallery-grid .g-row > .g:nth-child(7) { order: 9; }
  .gallery-grid .g-row > .g:nth-child(8) { order: 8; }
  .gallery-grid .g-row > .g:nth-child(9) { order: 4; }
  .gallery-grid .g-row > .g:nth-child(10) { order: 7; }
}
.js .g-slide { transition: transform 1.1s cubic-bezier(.16,.84,.24,1), opacity .9s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.js .g-slide--r:not(.is-slid) { transform: translate3d(65%, 0, 0); opacity: 0; }
.js .g-slide--l:not(.is-slid) { transform: translate3d(-65%, 0, 0); opacity: 0; }
.js .g-slide.is-slid { will-change: auto; }
@media (prefers-reduced-motion: reduce) { .js .g-slide { transform: none !important; opacity: 1 !important; transition: none; } }

/* ---------- v20: On Location player expands on tap ---------- */
.onloc-player { cursor: zoom-in; transition: transform .5s cubic-bezier(.22,.61,.36,1); transform-origin: 50% 50%; }
.onloc-player.is-lifted { z-index: 1001; }
.onloc-player.is-expanded { cursor: zoom-out; box-shadow: 0 30px 120px rgba(0,0,0,.6); }
.onloc-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(5,5,5,.9); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; cursor: zoom-out; }
.onloc-backdrop.is-on { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .onloc-player { transition: none; } }

/* v20d failsafe: if main.js never finished (set by the inline head script after 5s), show every photo and reel as-is */
html.sb-failsafe .g-slide, html.sb-failsafe .reveal, html.sb-failsafe .reveal-media, html.sb-failsafe .reveal-media img { transform: none !important; opacity: 1 !important; scale: 1 !important; clip-path: none !important; }
