/* ==========================================================================
   byljb — Visual identity & storytelling portfolio
   Light creamy editorial. Single accent: signal blue.
   ========================================================================== */

:root {
  --paper:   #F1ECE1;
  --paper-2: #ECE6D9;
  --panel:   #E1DACA;
  --panel-2: #D4CBB7;
  --ink:     #1A1814;
  --ink-2:   #4D483F;
  --ink-3:   #8A8273;
  --line:    rgba(26, 24, 20, 0.14);
  --line-2:  rgba(26, 24, 20, 0.08);
  --accent:  #2C61F2;
  --accent-ink: #ffffff;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Archivo", "Helvetica Neue", Arial, sans-serif;
  --script:"Allura", cursive;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 76px);
  --section-y: clamp(72px, 11vw, 168px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --paper-grain: 0.05;
  --media-grain: 0.16;
  --grain-theme-scale: 0.6;
}

[data-theme="dark"] {
  --paper:   #15140F;
  --paper-2: #1C1A14;
  --panel:   #25221A;
  --panel-2: #322E23;
  --ink:     #F2EEE2;
  --ink-2:   #B8B2A1;
  --ink-3:   #7C7565;
  --line:    rgba(242, 238, 226, 0.16);
  --line-2:  rgba(242, 238, 226, 0.08);
  --paper-grain: 0.06;
  --grain-theme-scale: 1;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--accent); color: #fff; }

/* Film grain overlay — sits above page content but below real media */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: calc(var(--paper-grain) * var(--grain-theme-scale));
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::before { mix-blend-mode: screen; }

/* ----- Layout helpers ----- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.divider { border-top: 1px solid var(--line); }

/* ----- Eyebrow / labels ----- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow .idx { color: var(--accent); font-variant-numeric: tabular-nums; }
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ----- Section title ----- */
.s-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.98;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  text-wrap: balance;
}
.s-title em { font-style: italic; font-weight: 300; }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--ink-2);
  max-width: 46ch;
  line-height: 1.62;
  text-wrap: pretty;
}

/* ===========================================================================
   HEADER
   =========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
  user-select: none;
  color: var(--ink);
}
.brand-wm { display: inline-flex; align-items: baseline; }
.brand .by { font-weight: 300; color: var(--ink-3); }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}
.nav a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding-block: 6px;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.current { color: var(--ink); }
.nav a.current::after { transform: scaleX(1); }
.nav-cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--ink);
  padding: 10px 18px;
  border-radius: 100px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-links { display: contents; }

.theme-toggle {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-2);
  transition: border-color 0.3s, color 0.3s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

/* ===========================================================================
   HERO
   =========================================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(74px + clamp(40px, 6vh, 72px));
  padding-bottom: clamp(40px, 6vh, 72px);
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: clamp(24px, 5vh, 60px);
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.hero-eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 15px 8px 13px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #1F8A5B;
  box-shadow: 0 0 0 0 rgba(31,138,91,0.5);
  animation: statusPulse 2.4s var(--ease) infinite;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,138,91,0.45); }
  50% { box-shadow: 0 0 0 5px rgba(31,138,91,0); }
}
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

.hero-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(3rem, 8.5vw, 7.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 17ch;
}
.hero h1 em { font-style: italic; font-weight: 300; }
.hero h1 .thin { font-weight: 200; color: var(--ink-3); }

.hero-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: clamp(28px, 5vh, 56px);
}
.hero-aside { max-width: 42ch; }
.hero-aside p {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.58;
  text-wrap: pretty;
}
.hero-aside .meta {
  margin-top: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 24px;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-hero svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.btn-hero:hover { transform: translateY(-2px); background: var(--accent); }
.btn-hero:hover svg { transform: translateX(3px); }
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 15px 22px;
  border-radius: 100px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-hero-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* Marquees */
.marquee {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding-block: 13px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 56px;
  white-space: nowrap;
}
.marquee-track span::after { content: "✳"; color: var(--accent); font-size: 0.7em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

.marquee-clients { margin-top: 0; }
.marquee-clients .marquee-track { animation-direction: reverse; }

@media (max-width: 720px) {
  .hero {
    padding: 92px var(--gutter) 44px !important;
    min-height: auto;
    justify-content: flex-start;
    gap: clamp(20px, 5vw, 30px);
  }
  .hero-main { flex: 0 0 auto; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.4rem); }
  .hero-top-row { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 0; }
  .hero-bottom-row { flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 0; }
  .marquee-clients { margin-bottom: 4px !important; }
  .hero-cta { width: 100%; }
  .btn-hero { flex: 1; justify-content: center; }
  .hero-status { font-size: 0.64rem; }
  .process-visual { display: none; }
}

/* ===========================================================================
   MEDIA PLACEHOLDER
   =========================================================================== */
.media {
  position: relative;
  background: radial-gradient(120% 100% at 30% 10%, var(--panel-2), var(--panel) 60%);
  overflow: hidden;
  isolation: isolate;
}
.media::before {
  content: "";
  position: absolute; inset: -8%;
  background:
    radial-gradient(40% 60% at 70% 30%, rgba(255,255,255,0.25), transparent 70%),
    radial-gradient(50% 50% at 20% 80%, rgba(0,0,0,0.18), transparent 70%);
  animation: drift 18s var(--ease) infinite alternate;
}
@keyframes drift {
  0%   { transform: scale(1.04) translate(0,0); }
  100% { transform: scale(1.12) translate(-2%, -1.5%); }
}
.media::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 40%;
  left: -50%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.22), transparent);
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%,60%{left:-50%} 100%{left:130%} }
[data-theme="dark"] .media::after { opacity: 0.4; }
@media (prefers-reduced-motion: reduce) {
  .media::before, .media::after { animation: none; }
}

.media .grain {
  position: absolute; inset: 0; z-index: 1; opacity: var(--media-grain); pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Real media sits above the page grain layer */
.media.has-video,
.media.has-photo,
.portrait { z-index: 4; }
.media.has-video .grain,
.media.has-photo .grain { display: none; }

.media .fmt {
  position: absolute; z-index: 4;
  top: 14px; right: 16px;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; mix-blend-mode: difference;
}

/* Vimeo embed — crops to fill the slot */
.vimeo-cover {
  position: absolute; inset: 0; z-index: 2;
  overflow: hidden;
  background: transparent;
  transition: background 0.9s ease;
}
.vimeo-cover.is-loaded { background: #000; }
.vimeo-cover iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%;
  transform: translate(-50%, -50%) scale(var(--crop, 1));
  transform-origin: center;
  border: 0;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 1s ease;
}
.vimeo-cover.is-loaded iframe { opacity: 1; }

/* ===========================================================================
   SELECTED WORK
   =========================================================================== */
.section-head {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 76px);
}
.section-head .lead { padding-bottom: 0.4rem; }
@media (max-width: 940px) {
  .section-head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
}

.film-stack { display: flex; flex-direction: column; gap: clamp(18px, 2.6vw, 34px); }
.film-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.film-num {
  position: absolute; z-index: 4;
  top: clamp(14px, 2vw, 26px); left: clamp(18px, 2.4vw, 30px);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  color: #fff;
  mix-blend-mode: difference;
}
.film-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  flex-wrap: wrap;
}
.film-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.film-title em { font-style: italic; font-weight: 300; }
.film-meta {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ===========================================================================
   REELS
   =========================================================================== */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.reel { display: flex; flex-direction: column; }
.reel-media {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.reel-title {
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.reel-sub { font-size: 0.82rem; color: var(--ink-3); line-height: 1.45; text-wrap: pretty; }
.reel-stat {
  margin-top: 10px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}

/* ===========================================================================
   PROCESS
   =========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.steps { border-top: 1px solid var(--line); }
.step {
  border-bottom: 1px solid var(--line);
  padding: clamp(20px, 2.4vw, 30px) 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  transition: opacity 0.5s var(--ease);
}
.step .step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-3);
  transition: color 0.35s var(--ease);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  transition: color 0.35s var(--ease);
}
.step h4 .tag-in {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.step p {
  color: var(--ink-2);
  max-width: 50ch;
  line-height: 1.6;
  margin-top: 14px;
  display: block;
  text-wrap: pretty;
}
.step.active { opacity: 1; }
.steps:hover .step:not(.active),
.steps:focus-within .step:not(.active) { opacity: 0.4; }
.step.active .step-num { color: var(--accent); }

.process-visual {
  position: sticky;
  top: 110px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}
.pv-panel {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
}
.pv-panel.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.pv-photo {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pv-panel.has-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.12) 28%, transparent 52%);
  pointer-events: none;
}
.pv-panel.has-photo .pv-caption { z-index: 4; }
.pv-panel.has-photo .pv-caption .c-step,
.pv-panel.has-photo .pv-caption .c-label { color: #fff; mix-blend-mode: normal; }

.pv-diagram {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  padding: 8%;
  color: var(--ink);
}
.pv-ink [stroke], .pv-ink line, .pv-ink circle, .pv-ink rect, .pv-ink path {
  stroke: currentColor;
  stroke-width: 1.3;
}
.pv-ink text { stroke: none; fill: currentColor; }
.pv-fill { fill: color-mix(in srgb, var(--ink) 12%, transparent); stroke: currentColor; }
.pv-clip { fill: color-mix(in srgb, var(--ink) 22%, transparent); stroke: none; }
.pv-dot { fill: currentColor; stroke: none; }
.pv-fill-a { fill: var(--accent); stroke: none; }
.pv-wave { fill: none; stroke: color-mix(in srgb, var(--ink) 60%, transparent); stroke-width: 1.2; }
.pv-curve { fill: none; stroke: var(--accent); stroke-width: 2; }
.pv-playhead { stroke: var(--accent); stroke-width: 1.4; }
.pv-t-mid { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-anchor: middle; text-transform: uppercase; }
.pv-t-sub { font-family: var(--serif); font-style: italic; font-size: 11px; text-anchor: middle; fill: color-mix(in srgb, var(--ink) 60%, transparent) !important; }
.pv-t-lbl { font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-anchor: middle; }
.pv-t-sm { font-family: var(--sans); font-size: 8.5px; font-weight: 600; letter-spacing: 0.14em; text-anchor: middle; fill: color-mix(in srgb, var(--ink) 68%, transparent) !important; }
.pv-t-lbl.pv-l, .pv-t-sm.pv-l { text-anchor: start; }

.pv-tag {
  position: absolute; z-index: 5;
  top: 16px; right: 16px;
  font-family: var(--sans);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  padding: 4px 9px; border-radius: 100px;
  backdrop-filter: blur(3px);
}
.pv-caption {
  position: absolute; z-index: 5;
  left: 20px; bottom: 18px; right: 20px;
  color: #fff; mix-blend-mode: difference;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.pv-caption .c-step { font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.pv-caption .c-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }

/* ===========================================================================
   ABOUT
   =========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
}
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: sticky;
  top: 110px;
  overflow: hidden;
  background: #0c0b09;
}
.portrait-photo {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.portrait .sig {
  position: absolute; z-index: 5;
  bottom: 18px; left: 20px;
  font-family: var(--script);
  font-size: 2.4rem; line-height: 1;
  color: #fff; mix-blend-mode: difference;
  transition: opacity 0.4s var(--ease);
}
.portrait { cursor: pointer; }
.portrait:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.portrait-hint {
  position: absolute; z-index: 6;
  top: 18px; left: 20px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
  background: color-mix(in srgb, #000 38%, transparent);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 7px 12px; border-radius: 100px;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.portrait:hover .portrait-hint,
.portrait:focus .portrait-hint,
.portrait.revealed .portrait-hint { opacity: 0; transform: translateY(-6px); }

.portrait-reveal {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: flex-end;
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(to top, rgba(10,9,7,0.94) 0%, rgba(10,9,7,0.82) 38%, rgba(10,9,7,0.35) 70%, rgba(10,9,7,0.1) 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.portrait:hover .portrait-reveal,
.portrait:focus .portrait-reveal,
.portrait.revealed .portrait-reveal { opacity: 1; }
.portrait:hover .sig,
.portrait:focus .sig,
.portrait.revealed .sig { opacity: 0; }

.pr-inner > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.portrait:hover .pr-inner > *,
.portrait:focus .pr-inner > *,
.portrait.revealed .pr-inner > * { opacity: 1; transform: none; }
.portrait:hover .pr-top,
.portrait.revealed .pr-top { transition-delay: 0.08s; }
.portrait:hover .pr-quote,
.portrait.revealed .pr-quote { transition-delay: 0.16s; }
.portrait:hover .pr-grid,
.portrait.revealed .pr-grid { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .portrait-reveal, .pr-inner > *, .portrait-hint, .portrait .sig { transition: none; }
}

.pr-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pr-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 6vw, 4.6rem);
  line-height: 0.8;
  color: #fff;
}
.pr-num-unit {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  line-height: 1.3;
}
.pr-quote {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.34;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  text-wrap: pretty;
}
.pr-quote em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.92); }
.pr-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 18px;
}
.pr-item { display: flex; flex-direction: column; gap: 5px; }
.pr-k { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.pr-v { font-family: var(--serif); font-size: 0.98rem; color: #fff; line-height: 1.2; }

.about-body .s-title { margin-bottom: 32px; }
.about-body p { color: var(--ink-2); font-size: 1.06rem; line-height: 1.66; max-width: 60ch; text-wrap: pretty; }
.about-body p + p { margin-top: 20px; }
.about-body .pull {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.22;
  color: var(--ink);
  margin: 36px 0;
  max-width: 24ch;
  letter-spacing: -0.01em;
}
.about-meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.about-meta .m-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.about-meta .m-val { font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; }
.about-name {
  margin-top: 38px;
  display: flex; align-items: baseline; gap: 14px;
}
.about-name .nm { font-family: var(--script); font-size: 2.6rem; line-height: 1; }
.about-name .role { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }

/* ===========================================================================
   REVIEWS
   =========================================================================== */
.reviews-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.reviews-track {
  display: flex;
  gap: clamp(14px, 1.6vw, 20px);
  width: max-content;
  align-items: stretch;
  animation: scroll-x 46s linear infinite;
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .reviews-track { animation: none; } }
.review {
  flex: 0 0 clamp(250px, 30vw, 340px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.2vw, 30px);
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
}
.review .quote-mark { font-family: var(--serif); font-size: 2.8rem; line-height: 0.6; color: var(--accent); height: 0.5em; }
.review blockquote {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.4;
  font-weight: 360;
  letter-spacing: -0.01em;
  margin: 22px 0 30px;
  text-wrap: pretty;
}
.review blockquote em { font-style: italic; font-weight: 300; }
.review-foot { margin-top: auto; display: flex; align-items: center; gap: 16px; }
.review-foot .who { min-width: 0; }
.review-foot .vid {
  width: 58px; height: 58px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.review-foot .vid .vlabel {
  position: absolute; bottom: -1px; left: 0; right: 0;
  text-align: center;
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; mix-blend-mode: difference;
}
.review-foot .who .name { font-weight: 600; font-size: 0.98rem; white-space: nowrap; }
.review-foot .who .where { font-size: 0.78rem; color: var(--ink-3); letter-spacing: 0.04em; white-space: nowrap; }
.review-foot .stars { margin-left: auto; padding-left: 10px; color: var(--accent); letter-spacing: 0.12em; font-size: 0.9rem; flex-shrink: 0; }

/* ===========================================================================
   LET'S CHAT
   =========================================================================== */
.lets-chat-row { display: flex; justify-content: center; margin-top: clamp(44px, 6vw, 80px); }
.lets-chat {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  padding: 13px 22px;
  border-radius: 100px 100px 100px 4px;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 60%, transparent);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.lets-chat:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--accent) 65%, transparent); }
.lets-chat svg { width: 16px; height: 16px; }
.lets-chat .ping { position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; }
.lets-chat .ping::before { content:""; position:absolute; inset:0; border-radius:50%; background:#ff5436; }
.lets-chat .ping::after { content:""; position:absolute; inset:0; border-radius:50%; background:#ff5436; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(2.4);opacity:0} }

/* ===========================================================================
   CONTACT
   =========================================================================== */
.contact { background: var(--ink); color: var(--paper); }
.contact { --line: rgba(242,238,226,0.16); --ink-3: rgba(242,238,226,0.45); }
.contact .s-title { color: var(--paper); }
.contact .eyebrow { color: rgba(242,238,226,0.55); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(34px, 5vw, 60px);
}
.contact-left p { color: rgba(242,238,226,0.7); max-width: 40ch; line-height: 1.62; margin-top: 24px; font-size: 1.05rem; text-wrap: pretty; }
.book-card {
  margin-top: 40px;
  border: 1px solid rgba(242,238,226,0.18);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
}
.book-card .bc-eyebrow { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(242,238,226,0.55); margin-bottom: 14px; }
.book-card h4 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; margin-bottom: 10px; }
.book-card p { font-size: 0.92rem; color: rgba(242,238,226,0.62); margin-bottom: 22px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--paper); color: var(--ink);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 26px; border-radius: 100px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }
.btn-primary svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.btn-primary:hover svg { transform: translate(3px,-3px); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(242,238,226,0.55);
  display: flex; gap: 8px;
}
.field label .opt { color: rgba(242,238,226,0.32); font-weight: 500; letter-spacing: 0.1em; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(242,238,226,0.24);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.02rem;
  padding: 10px 0;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(242,238,226,0.3); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 17px 28px; border-radius: 100px;
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
  margin-top: 6px;
}
.form-submit:hover { transform: translateY(-2px); filter: brightness(1.08); }
.form-submit svg { width: 15px; height: 15px; flex-shrink: 0; }
.form-note { font-size: 0.78rem; color: rgba(242,238,226,0.45); text-align: center; }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(242,238,226,0.6);
  padding: clamp(40px, 6vw, 70px) 0;
  border-top: 1px solid rgba(242,238,226,0.1);
}
.footer-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.footer-grid .brand { color: var(--paper); }
.footer-grid .brand .by { color: rgba(242,238,226,0.55); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,238,226,0.6); transition: color 0.25s; }
.footer-links a:hover { color: var(--paper); }
.footer-fine { width: 100%; display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(242,238,226,0.1); font-size: 0.74rem; color: rgba(242,238,226,0.4); flex-wrap: wrap; }

/* ===========================================================================
   REVEAL ON SCROLL (resting state — JS drives opacity/transform from 0)
   =========================================================================== */
.reveal { opacity: 1; transform: none; }

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */
@media (max-width: 1080px) {
  .process-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-visual, .portrait { position: relative; top: 0; max-width: 520px; }
  .reels-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .review { flex-basis: 78vw; }
  .about-meta { grid-template-columns: 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .site-header { padding-inline: clamp(16px, 5vw, 24px); }
  .brand { font-size: 1.3rem; }
  .nav { gap: clamp(10px, 3vw, 18px); }
  .nav-links { gap: clamp(12px, 3.4vw, 20px); }
  .nav-links a { font-size: 0.66rem; letter-spacing: 0.1em; }
  .nav-cta { display: none; }
  .theme-toggle { width: 32px; height: 32px; }
}

@media (max-width: 460px) {
  .reels-grid { grid-template-columns: 1fr; gap: 30px; }
  .reel { align-items: center; text-align: center; }
  .reel-media { max-width: 300px; width: 100%; }
  .brand { font-size: 1.2rem; }
  .nav-links { gap: 11px; }
  .nav-links a { font-size: 0.6rem; letter-spacing: 0.06em; }
}
