/* ───────────────────────── Fonts (self-hosted, nothing loads from third-party servers) ───────────────────────── */
@font-face {
  font-family: 'Playfair Display'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/playfair-display-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/playfair-display-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ───────────────────────── Tokens ───────────────────────── */
:root {
  --bg: #F4EFE7;
  --bg-2: #ECE5DA;
  --ink: #1E1915;
  --ink-2: #4E453E;
  --ink-3: #6E645B;
  --line: rgba(30, 25, 21, .16);

  --dark: #171310;
  --on-dark: #F4EFE7;
  --on-dark-2: rgba(244, 239, 231, .78);
  --line-dark: rgba(244, 239, 231, .2);
  --glow: 226, 205, 172;
  --rose: 236, 168, 178;

  --accent: #A2412F;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(20px, 4.5vw, 72px);
  --max: 1480px;
  --section: clamp(56px, 6vw, 96px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ───────────────────────── Base ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.6 var(--sans);
  font-variant-numeric: lining-nums;
  word-spacing: .06em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
/* text for search engines and screen readers only */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

h2 {
  font: 500 clamp(50px, 6.6vw, 108px)/1.02 var(--serif);
  letter-spacing: -.015em;
}
h2 em, h1 em { font-style: italic; }
h3 { font: 500 clamp(25px, 2.2vw, 32px)/1.2 var(--serif); letter-spacing: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.label {
  font: 600 13px/1.4 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ───────────────────────── Buttons & links ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 34px;
  background: var(--ink); color: var(--bg);
  font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--accent); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--on-dark); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 0;
}
.link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .6s var(--ease);
}
.link:hover::after { transform: scaleX(0); }

/* ───────────────────────── Nav ───────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 84px; padding-inline: var(--gutter);
  color: var(--on-dark);
  transition: background .5s var(--ease), color .5s var(--ease), height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  height: 70px;
  background: rgba(244, 239, 231, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--ink);
  border-color: var(--line);
}
.nav__brand { font: italic 500 30px/1 var(--serif); letter-spacing: 0; justify-self: start; }
.nav__links { display: flex; gap: clamp(22px, 2.8vw, 44px); }
.nav__links a, .nav__cta, .nav__toggle {
  font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  position: relative; padding: 7px 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
/* the inquiry button is a solid rose pill so it stands out on the hero photo and on the solid bar alike */
.nav__cta {
  justify-self: end; display: inline-flex; align-items: center;
  height: 42px; padding: 0 22px; border-radius: 999px;
  background: rgb(var(--rose)); color: #2B181C; font-size: 13px;
  transition: background-color .4s var(--ease);
}
.nav__cta:hover { background: #F2B9C2; }
.nav__toggle { display: none; justify-self: end; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: var(--bg); color: var(--ink);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font: 500 clamp(40px, 10.5vw, 60px)/1.2 var(--serif); }
.menu nav a:nth-child(even) { font-style: italic; }
.menu__mail { font: 500 15px/1 var(--sans); letter-spacing: 0; color: var(--ink-2); }
body.menu-open .nav { color: var(--ink); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--on-dark);
  overflow: hidden;
  background: #8F8984;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 62% 30%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 19, 16, .38) 0%, rgba(23, 19, 16, 0) 18%),
    linear-gradient(90deg, rgba(23, 19, 16, .56) 0%, rgba(23, 19, 16, .2) 44%, rgba(23, 19, 16, 0) 62%),
    linear-gradient(0deg, rgba(23, 19, 16, .45) 0%, rgba(23, 19, 16, 0) 42%);
}
.hero__inner {
  position: relative; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding: 140px var(--gutter) clamp(40px, 7vh, 80px);
}
.hero__text { max-width: 640px; }
.hero__name { margin-bottom: 16px; font: 400 clamp(24px, 2.2vw, 34px)/1.2 var(--serif); color: rgba(244, 239, 231, .94); }
.hero__title {
  display: flex;
  font: 500 clamp(56px, 6.6vw, 112px)/.95 var(--serif);
  letter-spacing: -.02em;
  margin-left: -.04em;
}
/* one line, masked so the words rise through it on load */
.hero__title > span { overflow: hidden; white-space: nowrap; padding: 0 .12em .05em 0; }
.hero__title > span > * { display: inline-block; }
.hero__niche { margin-top: 22px; color: rgba(244, 239, 231, .9); }
.hero__lede {
  max-width: 500px; margin-top: 26px;
  font-size: 20px; line-height: 1.55; color: rgba(244, 239, 231, .94);
}
.hero__cta { display: flex; align-items: center; gap: 30px; margin-top: 36px; }

.hero__reel { flex: none; width: clamp(180px, 15vw, 250px); }
.hero__screen {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px;
  background: #2a2420;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(var(--rose), .5), 0 0 22px rgba(var(--rose), .22);
}
.hero__screen video { width: 100%; height: 100%; object-fit: cover; }
.hero__reel figcaption {
  display: flex; align-items: center; gap: 10px; margin-top: 18px;
  font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: rgba(244, 239, 231, .88);
}
.hero__reel figcaption i {
  width: 7px; height: 7px; border-radius: 50%; background: #E06A50; flex: none;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; } }

/* load-in */
.js .hero__bg img { transform: scale(1.06); animation: settle 2.4s var(--ease) .05s forwards; }
.js .hero__title > span > * { transform: translateY(105%); animation: rise 1.3s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .12s); }
.js .hero__name, .js .hero__niche, .js .hero__lede, .js .hero__cta { opacity: 0; transform: translateY(14px); animation: fade 1.1s var(--ease) forwards; }
.js .hero__name { animation-delay: .2s; }
.js .hero__niche { animation-delay: .6s; }
.js .hero__lede { animation-delay: .75s; }
.js .hero__cta { animation-delay: .9s; }
.js .hero__reel { opacity: 0; transform: translateY(30px); animation: fade 1.3s var(--ease) .65s forwards; }
@keyframes settle { to { transform: scale(1); } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; transform: none; } }

/* sound toggle (hero + reel) */
.sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(23, 19, 16, .5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .3s;
}
.sound:hover { background: rgba(23, 19, 16, .75); }
.sound span {
  width: 16px; height: 16px; background: var(--on-dark);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M17 9l4 6M21 9l-4 6'/%3E%3C/svg%3E");
}
.sound[aria-pressed='true'] span {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M16.5 8.5a5 5 0 0 1 0 7M19 6a8.5 8.5 0 0 1 0 12'/%3E%3C/svg%3E");
}

/* ───────────────────────── Brands ───────────────────────── */
.brands {
  padding: clamp(28px, 3vw, 44px) var(--gutter) clamp(40px, 4vw, 60px);
  text-align: center;
}
.logos {
  display: grid; grid-template-columns: repeat(6, 1fr);
  max-width: 1240px; margin: 22px auto 0;
  border-top: 1px solid var(--line);
}
.logos li {
  display: grid; place-items: center;
  height: clamp(96px, 8.5vw, 124px);
  border-bottom: 1px solid var(--line);
}
.logos li:not(:nth-child(6n)) { border-right: 1px solid var(--line); }
.logos img {
  height: calc(var(--h) * var(--k, 1)); width: auto; max-width: 78%;
  opacity: .82; transition: opacity .4s;
}
.logos li:hover img { opacity: 1; }

/* ───────────────────────── Reel ───────────────────────── */
.reel {
  position: relative; isolation: isolate;
  padding: clamp(32px, 3.5vw, 52px) 0 clamp(26px, 2.8vw, 40px);
  background: var(--dark); color: var(--on-dark);
  overflow: hidden;
}
/* silk texture under a warm dark veil; a fine grain on top keeps the dark gradients from banding */
.reel::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: url("assets/photo/reel-silk.jpg") center / cover no-repeat;
  opacity: .7;
}
.reel::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    url("assets/photo/grain.png"),
    linear-gradient(180deg, rgba(23, 19, 16, .5) 0%, rgba(23, 19, 16, .3) 45%, rgba(23, 19, 16, .6) 100%);
}
.reel__head { display: flex; justify-content: center; margin-bottom: clamp(4px, .8vw, 10px); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.filter {
  height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid rgba(var(--rose), .55);
  background: rgba(23, 19, 16, .3);
  font: 600 15px/1 var(--sans); letter-spacing: .02em;
  color: var(--on-dark);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, box-shadow .35s;
}
.filter:hover { border-color: rgb(var(--rose)); color: rgb(var(--rose)); }
.filter.is-active, .filter.is-active:hover {
  background: rgb(var(--rose)); color: #2B181C; border-color: rgb(var(--rose));
  box-shadow: 0 0 16px rgba(var(--rose), .45);
}

.reel__viewport {
  padding-block: 24px 4px;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.reel__viewport.is-dragging { cursor: grabbing; }
.reel__viewport.is-static { cursor: default; -webkit-mask-image: none; mask-image: none; }
.reel__rail {
  display: flex; gap: clamp(18px, 2vw, 32px); width: max-content;
  padding-left: clamp(18px, 2vw, 32px);
  will-change: transform;
}
/* a short set that fits the screen sits still, centred, without loop copies */
.reel__rail.is-static { margin-inline: auto; padding-left: 0; }

.clip { flex: 0 0 clamp(250px, 24vw, 360px); }
.clip__media {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 26px;
  background: #241e1a;
  box-shadow: 0 0 0 1px rgba(var(--rose), .5), 0 0 22px rgba(var(--rose), .2);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.reel__viewport.is-static .clip__media { cursor: pointer; }
.clip:hover .clip__media {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(var(--rose), .8), 0 0 28px rgba(var(--rose), .32);
}
.clip__media video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* play badge: clicking a card opens it full screen */
.clip__media::after, .hero__screen::after {
  content: ''; position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(23, 19, 16, .5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23F4EFE7'/%3E%3C/svg%3E") center / 22px no-repeat;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .4s var(--ease), background-color .4s;
}
.clip:hover .clip__media::after, .hero__screen:hover::after { transform: scale(1.1); background-color: rgba(var(--rose), .85); }
.hero__screen { cursor: pointer; }
.clip__title { margin-top: 18px; font-size: clamp(24px, 2vw, 30px); }
.clip__meta { margin-top: 6px; font: 500 14px/1.4 var(--sans); letter-spacing: .02em; color: var(--on-dark-2); }

/* ───────────────────────── Full-screen viewer ───────────────────────── */
.viewer {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 48px);
  background: rgba(14, 11, 9, .94);
  color: var(--on-dark);
  opacity: 0; transition: opacity .35s var(--ease);
}
.viewer[hidden] { display: none; }
.viewer.is-open { opacity: 1; }
.viewer__stage {
  position: relative; height: min(92vh, 960px); height: min(92svh, 960px); aspect-ratio: 9 / 16;
  border-radius: 24px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(var(--rose), .5), 0 0 40px rgba(var(--rose), .22);
  touch-action: pan-y;
}
.viewer__stage video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.viewer__stage .sound { top: 16px; right: 16px; bottom: auto; width: 44px; height: 44px; }
.viewer__stage figcaption {
  position: absolute; inset: auto 0 0; padding: 60px 22px 22px;
  background: linear-gradient(0deg, rgba(14, 11, 9, .75), transparent);
  pointer-events: none;
}
.viewer__stage strong { display: block; font: 500 26px/1.15 var(--serif); }
.viewer__stage figcaption span { display: block; margin-top: 4px; font-size: 15px; color: var(--on-dark-2); }
.viewer__progress {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: rgb(var(--rose)); transform-origin: left; transform: scaleX(0);
}
.viewer__close, .viewer__nav {
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(var(--rose), .55); background: rgba(23, 19, 16, .5);
  font: 400 26px/1 var(--sans); color: var(--on-dark);
  transition: background .3s, color .3s, border-color .3s;
}
.viewer__close:hover, .viewer__nav:hover { background: rgb(var(--rose)); color: #2B181C; border-color: rgb(var(--rose)); }
.viewer__close { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; font-size: 32px; z-index: 2; }
.viewer__nav { flex: none; width: 58px; height: 58px; }

/* ───────────────────────── Stills ───────────────────────── */
/* a full-bleed bento of photo tiles; the letters are grid areas set inline on each tile.
   Cells stay square because the grid's aspect ratio matches its column and row count. */
.stills { --tile-gap: clamp(8px, .8vw, 12px); padding: clamp(28px, 3vw, 48px) var(--tile-gap); }
.bento {
  display: grid; gap: var(--tile-gap);
  grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); aspect-ratio: 7 / 4;
  grid-template-areas:
    "b d d c e k k"
    "b d d c e k k"
    "f h g g i m m"
    "f j g g i l n";
}
.still {
  position: relative; overflow: hidden; border-radius: clamp(10px, 1vw, 16px); background: var(--bg-2);
  cursor: zoom-in;
}
.still img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% var(--py, 50%);
  transition: transform 1.4s var(--ease);
}
.still:hover img { transform: scale(1.05); }
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(7, minmax(0, 1fr)); aspect-ratio: 4 / 7;
    grid-template-areas:
      "d d b c"
      "d d b c"
      "k k e f"
      "k k e f"
      "h i g g"
      "j i g g"
      "l n m m";
  }
}
@media (max-width: 640px) {
  .stills { --tile-gap: 6px; padding-block: 24px; }
  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, 1fr)); aspect-ratio: 3 / 8;
    grid-template-areas:
      "d d b"
      "d d c"
      "e k k"
      "f k k"
      "g g h"
      "g g i"
      "j l i"
      "n m m";
  }
}

/* photos open in the same frame as the videos; --ar is the photo's aspect ratio, set from JS */
.lightbox__img {
  width: min(100vw - 280px, 92vh * var(--ar, 1));
  width: min(100vw - 280px, 92svh * var(--ar, 1));
  height: auto; aspect-ratio: var(--ar, 1);
  border-radius: 18px; background: #000;
  touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
/* arrows stay at the screen edges, whatever the photo's shape */
.lightbox .viewer__nav { position: absolute; top: 50%; margin-top: -29px; z-index: 2; }
.lightbox .viewer__nav--prev { left: clamp(16px, 2vw, 32px); }
.lightbox .viewer__nav--next { right: clamp(16px, 2vw, 32px); }

/* ───────────────────────── About ───────────────────────── */
.about { padding: var(--section) 0; background: var(--bg-2); }
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.about__img { grid-column: 1 / span 5; aspect-ratio: 2 / 3; overflow: hidden; border-radius: clamp(16px, 1.6vw, 24px); }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.about__text { grid-column: 7 / span 6; }
.about__lead { margin-top: 20px; text-wrap: balance; font: italic 400 clamp(24px, 2.2vw, 32px)/1.35 var(--serif); color: var(--ink-2); }
.about__body { margin-top: 28px; max-width: 540px; color: var(--ink-2); }
.about__body p + p { margin-top: 16px; }
/* stats as raised 3D blocks: a solid edge underneath and a soft drop shadow; four in a row while the column is wide enough */
.about__text { container-type: inline-size; }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin-top: 44px;
}
@container (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
}
.stat {
  --edge: #D6CABA;
  padding: 20px 10px 18px; border-radius: 16px; text-align: center;
  background: linear-gradient(160deg, #FDFBF8 0%, #EFE7DB 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 5px 0 var(--edge),
    0 16px 26px -10px rgba(30, 25, 21, .28);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.stat:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 8px 0 var(--edge),
    0 22px 30px -12px rgba(30, 25, 21, .32);
}
/* the font shorthand resets numeral style, so restore lining figures where Playfair shows digits */
.stat dt { font: 500 clamp(30px, 2.6vw, 44px)/1 var(--serif); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.stat dd { margin-top: 8px; font: 500 14px/1.3 var(--sans); color: var(--ink-3); }
.stat--dark {
  --edge: #0A0807;
  background: linear-gradient(160deg, #33291F 0%, #171310 100%);
  color: var(--on-dark);
}
.stat--dark dd { color: var(--on-dark-2); }


/* Instagram: a rose plaque under the stats, on the right */
.btn-ig {
  display: flex; width: fit-content; margin: 28px 0 0 auto; align-items: center; gap: 10px;
  height: 50px; padding: 0 24px 0 18px; border-radius: 999px;
  background: rgb(var(--rose)); color: #2B181C;
  font: 600 15px/1 var(--sans); letter-spacing: .02em;
  box-shadow: 0 10px 24px -12px rgba(var(--rose), .95);
  transition: transform .4s var(--ease), background-color .4s, box-shadow .4s var(--ease);
}
.btn-ig:hover { transform: translateY(-2px); background-color: #F2B9C2; box-shadow: 0 0 24px rgba(var(--rose), .7); }
.btn-ig svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-ig .dot { fill: currentColor; stroke: none; }

/* ───────────────────────── Process ───────────────────────── */
/* the steps are paper cards lying on a vanity table; on wide screens the table is a fixed photo and every card has its own spot on it */
.process { padding: var(--section) 0; background: #EEE7DD url("assets/photo/desk.jpg") center / cover no-repeat; }
.desk { position: relative; }
.desk__head { margin-bottom: clamp(28px, 3.2vw, 48px); text-align: center; }
.desk__path, .desk__prop { display: none; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px clamp(20px, 2.4vw, 36px); }
/* paper card; light falls from the upper left, so the shadow drops to the lower right */
.step {
  position: relative;
  padding: 8px 8px 16px; border-radius: 5px;
  background: linear-gradient(160deg, #FFFDF9, #F7F2EA);
  box-shadow:
    0 1px 1px rgba(60, 40, 30, .14),
    4px 10px 14px -6px rgba(60, 40, 30, .28),
    10px 26px 34px -18px rgba(60, 40, 30, .3);
  rotate: var(--r, 0deg);
}
/* picked up off the table on hover: straightens, lifts, casts a deeper shadow.
   Listed with .js so it outranks the scroll-reveal transition; the reveal keeps its stagger delay, the hover has none. */
.steps .step, .js .steps .step {
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), rotate .5s var(--ease), translate .5s var(--ease), scale .5s var(--ease), box-shadow .5s var(--ease);
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s, 0s;
}
.step:hover {
  z-index: 2;
  rotate: 0deg; translate: 0 -8px; scale: 1.04;
  box-shadow:
    0 2px 3px rgba(60, 40, 30, .12),
    8px 22px 28px -8px rgba(60, 40, 30, .32),
    18px 46px 58px -20px rgba(60, 40, 30, .34);
}
.step__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--bg-2); }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__num {
  position: absolute; top: 10px; left: 10px;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(252, 250, 246, .94); color: var(--ink);
  font: 500 18px/1 var(--serif); font-variant-numeric: lining-nums;
}
.step__text { padding: 0 4px; }
.step__text h3 { margin-top: 12px; font-size: 22px; }
.step__text p { margin-top: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }

@media (min-width: 1280px) {
  .process { padding: 0; background: #EEE7DD; }
  .desk.wrap {
    max-width: 2200px; padding: 0;
    aspect-ratio: 2400 / 1357;
    background: url("assets/photo/desk.jpg") center / 112% 112% no-repeat;
    container-type: inline-size;
  }
  /* everything below is sized in cqw, so the scene scales like one photo */
  .desk__head { position: absolute; left: 50%; top: 5.5%; translate: -50% 0; margin: 0; text-align: center; }
  .desk__head h2 { font-size: 5.6cqw; }
  .desk__path {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    fill: none; stroke: rgba(162, 65, 47, .7); stroke-width: 3; stroke-dasharray: 1 11; stroke-linecap: round;
  }
  .steps { position: absolute; inset: 0; display: block; }
  .step {
    position: absolute; left: var(--x); top: var(--y); width: 16.4%;
    padding: .45cqw .45cqw .8cqw; border-radius: .3cqw;
  }
  .step__num { top: .55cqw; left: .55cqw; width: 2.1cqw; height: 2.1cqw; font-size: 1.05cqw; }
  .step__text { padding: 0 .25cqw; }
  .step__text h3 { margin-top: .7cqw; font-size: 1.5cqw; }
  .step__text p { margin-top: .25cqw; font-size: 1cqw; }
  .desk__prop { display: block; position: absolute; pointer-events: none; filter: drop-shadow(.3cqw .55cqw .45cqw rgba(60, 40, 30, .28)); }
  .desk__brush { width: 15cqw; left: 17%; top: 72%; rotate: -12deg; }
  .desk__petal { width: 2.6cqw; }
  .desk__petal--a { left: 27%; top: 16.5%; rotate: 35deg; }
  .desk__petal--b { left: 60%; top: 77%; rotate: -50deg; }
}

/* ───────────────────────── Packages ───────────────────────── */
.packages {
  padding: var(--section) 0;
  background: var(--bg) url("assets/photo/silk-ivory.jpg") center / cover no-repeat;
}
.packages__head { max-width: 640px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.packages__head p { margin-top: 18px; color: var(--ink-2); text-wrap: balance; }

.packs {
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch;
  gap: clamp(16px, 2vw, 28px); max-width: 1180px; margin-inline: auto;
}
.pack {
  position: relative; display: flex; flex-direction: column;
  container-type: inline-size;
  padding: clamp(28px, 2.6vw, 40px);
  border-radius: 24px;
  background: rgba(253, 251, 248, .9);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 1px 2px rgba(60, 40, 30, .06), 0 26px 50px -30px rgba(60, 40, 30, .4);
}
.pack__name { font: 500 clamp(26px, 2.1vw, 32px)/1.1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.pack__sub { margin: 10px 0 24px; font: italic 400 clamp(17px, 1.3vw, 19px)/1.35 var(--serif); color: var(--ink-2); }
.pack__note { margin-bottom: 24px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.pack ul:has(+ .pack__note) { margin-bottom: 20px; }
.pack ul { flex: 1; display: grid; align-content: start; gap: 12px; margin-bottom: 32px; }
.pack li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.pack li::before {
  content: ''; position: absolute; left: 2px; top: .58em;
  width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--rose));
}
.pack__cta {
  display: flex; align-items: center; justify-content: center;
  height: 52px; border-radius: 999px; border: 1px solid var(--ink);
  font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.pack__cta:hover { background: var(--ink); color: var(--bg); }

/* the most booked package: dark, standing out above and below the others, rose accents */
.pack--featured {
  margin-block: -20px; padding-block: calc(clamp(28px, 2.6vw, 40px) + 20px);
  background: linear-gradient(160deg, #2F2620, #171310);
  border-color: rgba(255, 255, 255, .06);
  color: var(--on-dark);
  box-shadow: 0 2px 4px rgba(30, 20, 15, .15), 0 36px 64px -30px rgba(30, 20, 15, .6);
}
.pack--featured .pack__name { color: var(--on-dark); }
.pack--featured .pack__sub, .pack--featured .pack__note, .pack--featured li { color: var(--on-dark-2); }
.pack--featured .pack__cta { background: rgb(var(--rose)); border-color: rgb(var(--rose)); color: #2B181C; }
.pack--featured .pack__cta:hover { background: #F2B9C2; border-color: #F2B9C2; color: #2B181C; }
.pack__badge {
  position: absolute; top: -15px; left: 50%; translate: -50% 0;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  background: rgb(var(--rose)); color: #2B181C;
  font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 8px 18px -8px rgba(var(--rose), .9);
}

.addons { margin-top: clamp(40px, 4.4vw, 64px); text-align: center; }
.addons .label { color: var(--ink); }
.addons ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.addons li {
  padding: 11px 18px; border-radius: 999px;
  background: rgba(253, 251, 248, .8); border: 1px solid rgba(30, 25, 21, .1);
  font: 500 15px/1.2 var(--sans); color: var(--ink-2);
}
.addons li::before { content: '+'; margin-right: 8px; color: var(--accent); font-weight: 600; }

/* ───────────────────────── Contact ───────────────────────── */
.contact { padding: var(--section) 0; }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.contact__intro { grid-column: 1 / span 5; }
.contact__intro > p { margin-top: 18px; max-width: 420px; color: var(--ink-2); }
.contact__mail {
  display: inline-block; margin: 26px 0 12px;
  font: italic 500 clamp(24px, 2.4vw, 34px)/1.25 var(--serif);
  border-bottom: 1px solid var(--line); padding-bottom: 6px;
  transition: border-color .4s;
}
.contact__mail:hover { border-color: var(--ink); }
.form { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 22px; padding-top: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font: 600 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0 12px;
  background: transparent; border: 0; border-bottom: 1px solid rgba(30, 25, 21, .28); border-radius: 0;
  font: 400 19px/1.4 var(--sans); color: var(--ink);
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234E453E' stroke-width='1.4'/%3E%3C/svg%3E") right 2px center no-repeat;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(78, 69, 62, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.is-invalid input { border-color: var(--accent); }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form__note { font-size: 16px; color: var(--ink-3); }

/* ───────────────────────── Footer ───────────────────────── */
.footer { border-top: 1px solid var(--line); }
.footer__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px;
  padding-block: 22px;
  font: 600 12px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.footer__row nav { display: flex; gap: 24px; }
.footer__row a { transition: color .3s; }
.footer__row a:hover { color: var(--ink); }

/* ───────────────────────── Legal pages ───────────────────────── */
.legal { padding: calc(70px + var(--section)) 0 var(--section); }
.legal article { max-width: 720px; }
.legal h1 { font: 500 clamp(40px, 4.6vw, 64px)/1.05 var(--serif); letter-spacing: -.015em; }
.legal__meta { margin-top: 14px; font-size: 15px; color: var(--ink-3); }
.legal h2 { margin-top: clamp(36px, 3.6vw, 52px); font: 500 clamp(24px, 2vw, 30px)/1.2 var(--serif); letter-spacing: 0; }
.legal h2 + p, .legal p + p, .legal ul + p, .legal p + ul { margin-top: 14px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }
/* details still to be filled in are highlighted so they are impossible to miss */
.legal mark { background: rgba(var(--rose), .35); color: inherit; padding: 0 .25em; border-radius: 4px; }

/* ───────────────────────── Reveal ───────────────────────── */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 1100px) {
  .logos { grid-template-columns: repeat(4, 1fr); }
  .logos li:not(:nth-child(6n)) { border-right: 0; }
  .logos li:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto auto; column-gap: 18px; }
  .nav__links { display: none; }
  .nav__cta { height: 36px; padding: 0 16px; font-size: 12px; }
  .nav__toggle { display: block; }

  /* phones: backdrop blurs re-render every frame over scrolling content and playing video, and the
     gradient mask forces the whole moving rail through an extra compositing pass; both go */
  .nav.is-solid, .sound, .clip__media::after, .hero__screen::after { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-solid { background: rgba(244, 239, 231, .97); }
  .sound, .clip__media::after, .hero__screen::after { background-color: rgba(23, 19, 16, .72); }
  .reel__viewport { -webkit-mask-image: none; mask-image: none; }


  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__img, .about__text { grid-column: 1; }
  .about__img { max-width: 520px; }


  .packs { grid-template-columns: 1fr; max-width: 520px; row-gap: 28px; }
  .pack--featured { margin-block: 0; padding-block: clamp(28px, 2.6vw, 40px); }

  /* two rows of cards: show only the clear middle of the table */
  .process { background-size: 260% auto; background-position: 50% 45%; }
  .steps { grid-template-columns: 1fr 1fr; }

  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__intro, .form { grid-column: 1; }
}

@media (max-aspect-ratio: 4/5) {
  .hero__bg img { object-position: 50% 20%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(23, 19, 16, .35) 0%, rgba(23, 19, 16, 0) 16%),
      linear-gradient(0deg, rgba(23, 19, 16, .86) 0%, rgba(23, 19, 16, .62) 30%, rgba(23, 19, 16, .22) 50%, rgba(23, 19, 16, 0) 64%);
  }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav { height: 68px; }
  .nav__brand { font-size: 27px; }
  .nav__toggle { font-size: 14px; }

  .hero__inner { gap: 16px; padding-bottom: 28px; }
  .hero__title { font-size: clamp(40px, 15vw, 72px); }
  .hero__name { font-size: 22px; margin-bottom: 10px; }
  .hero__niche { margin-top: 14px; }
  .hero__lede { font-size: 17px; margin-top: 16px; }
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; }
  .hero__cta .btn { height: 52px; padding: 0 24px; }
  /* the one-line title takes the full width, so the video card sits in the corner beside the buttons */
  .hero__reel { position: absolute; right: var(--gutter); bottom: 28px; width: 100px; }
  .hero__lede { max-width: calc(100% - 116px); }
  .hero__screen { border-radius: 12px; }
  .hero__screen::after { width: 30px; height: 30px; right: 6px; bottom: 6px; background-size: 16px; }
  .hero__reel figcaption { display: none; }

  .logos { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
  .logos li { height: 84px; }
  .logos li:not(:nth-child(4n)) { border-right: 0; }
  .logos li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
  .logos img { --k: .68; }

  .filters { gap: 8px; }
  .filter { height: 40px; padding: 0 16px; font-size: 14px; }
  .clip { flex-basis: 68vw; }
  .clip__media { border-radius: 22px; }
  .clip__media::after { width: 38px; height: 38px; background-size: 18px; }

  .viewer { gap: 0; background: #000; }
  .viewer__stage { height: 100%; width: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .viewer__stage .sound { top: 18px; left: 18px; right: auto; }
  .viewer__close { top: 14px; right: 14px; }
  .viewer__nav { position: absolute; bottom: 110px; z-index: 2; width: 48px; height: 48px; }
  .viewer__nav--prev { left: 16px; }
  .viewer__nav--next { right: 16px; }
  .lightbox .viewer__nav { top: auto; margin-top: 0; }
  .lightbox__img { width: min(100vw, 100vh * var(--ar, 1)); width: min(100vw, 100svh * var(--ar, 1)); border-radius: 0; }

  /* cards zig-zag down the tall table */
  .process { background-image: url("assets/photo/desk-tall.jpg"); background-size: cover; background-position: center; }
  .steps { grid-template-columns: 1fr; row-gap: 24px; }
  .step { width: 84%; }
  .step:nth-child(even) { margin-left: auto; }
  .step__text p { font-size: 16px; }

  .form__row { grid-template-columns: 1fr; }
  .footer__row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
