/* ==========================================================================
   Darien Chui · Photo & Film
   ========================================================================== */

:root {
  --bg: #0c0b0a;
  --surface: #161412;
  --surface-2: #1f1c19;
  --ink: #efe9e1;
  --ink-soft: #c9c1b6;
  --muted: #8f877d;
  --line: rgba(239, 233, 225, 0.12);
  --accent: #c9a46c;
  --accent-ink: #14100a;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
em { font-style: italic; color: var(--accent); }
h2 em, h1 em { font-family: var(--serif); }
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-variation-settings: "wdth" 112;
}
.lede { max-width: 54ch; color: var(--ink-soft); margin: 20px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  font-variation-settings: "wdth" 110;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1px solid rgba(239, 233, 225, .45); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(239, 233, 225, .08); }

.tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  font-variation-settings: "wdth" 112;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 11, 10, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 12px;
  border-bottom-color: var(--line);
}
.wordmark { text-decoration: none; display: flex; line-height: 1; }
.wordmark-sig { width: clamp(124px, 12vw, 156px); height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav-links a {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); transition: color .2s;
  font-variation-settings: "wdth" 108;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  color: var(--ink); border: 1px solid rgba(239, 233, 225, .4); padding: 9px 16px; border-radius: 999px;
}
.nav-links .nav-cta:hover { background: var(--ink); color: var(--bg); }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span:not(.sr-only) {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:nth-child(2) { top: 18px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px var(--gutter) clamp(72px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  z-index: -2;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,11,10,.55) 0%, rgba(12,11,10,.05) 30%, rgba(12,11,10,.25) 55%, rgba(12,11,10,.94) 100%),
    linear-gradient(90deg, rgba(12,11,10,.6) 0%, rgba(12,11,10,0) 60%);
}
.hero-inner { max-width: 980px; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8.4vw, 7.6rem);
  line-height: .96;
  letter-spacing: -0.02em;
}
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; margin: 26px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-credit {
  position: absolute; right: var(--gutter); bottom: 28px; margin: 0;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.hero-credit span { color: var(--ink-soft); }

/* reveal on load */
.hero-inner > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-inner > :nth-child(2) { animation-delay: .1s; }
.hero-inner > :nth-child(3) { animation-delay: .22s; }
.hero-inner > :nth-child(4) { animation-delay: .34s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Awards & press ---------- */
.creds { border-block: 1px solid var(--line); padding: clamp(28px, 4vw, 44px) 0; overflow: hidden; }
.creds-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px;
  padding: 0 var(--gutter) clamp(24px, 3vw, 34px); max-width: var(--max); margin: 0 auto;
}
.creds-stat { display: flex; align-items: center; gap: 16px; margin: 0; text-decoration: none; }
.creds-num { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: .9; color: var(--accent); }
.creds-text {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35;
  font-variation-settings: "wdth" 112; max-width: 26ch;
}
.creds-text small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .16em; }
.creds-line { margin: 0; max-width: 44ch; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.35; color: var(--ink-soft); }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; display: flex; align-items: center; }
.marquee-track img { width: auto; opacity: .78; transition: opacity .2s; }
.marquee-track img:hover { opacity: 1; }
.logo-badge { height: clamp(56px, 6vw, 72px); }
.logo-wide { height: clamp(40px, 4.4vw, 54px); }
.logo-word { height: clamp(20px, 2.2vw, 26px); }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(20px, 2.5vw, 36px))); } }

/* ---------- Sections ---------- */
section[id] { scroll-margin-top: 64px; }
.section { padding: clamp(80px, 12vw, 160px) var(--gutter) 0; max-width: var(--max); margin: 0 auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }

/* ---------- Disciplines ---------- */
.disciplines {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(220px, 24vw, 340px);
  gap: 12px;
}
.disc {
  position: relative; overflow: hidden; border-radius: var(--radius);
  text-decoration: none; background: var(--surface);
}
.disc img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
  filter: brightness(.82);
}
.disc:hover img, .disc:focus-visible img { transform: scale(1.045); filter: brightness(.95); }
.disc::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,11,10,0) 45%, rgba(12,11,10,.85) 100%);
}
.disc-label { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.disc-num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--accent); }
.disc-label h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.1; margin-top: 2px;
  font-variation-settings: "wdth" 118;
}
.disc-label p { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }
.disc-combat { grid-column: span 4; grid-row: span 2; }
.disc-wedding { grid-column: span 2; grid-row: span 2; }
.disc-portrait, .disc-landscape, .disc-content { grid-column: span 2; }
.disc-portrait img { object-position: 50% 30%; }
.disc-content img { object-position: 50% 18%; }

/* ---------- Films ---------- */
.reels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.reel {
  position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); text-align: left;
}
.reel video, .feature video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.reel:hover video, .feature:hover video { transform: scale(1.03); }
.reel::after, .feature::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,11,10,0) 55%, rgba(12,11,10,.88) 100%);
}
.reel-meta, .feature-meta { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.reel-meta strong { font-size: 17px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; font-variation-settings: "wdth" 110; }
.reel-meta small, .feature-meta small { color: var(--ink-soft); font-size: 13px; }
.reel:not(.reel-soon)::before {
  content: ""; position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(12,11,10,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23efe9e1'%3E%3Cpath d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center/16px no-repeat;
  border: 1px solid rgba(239,233,225,.3);
  backdrop-filter: blur(6px);
  transition: background-color .2s;
}
.reel:hover::before { background-color: var(--accent); }

.feature {
  position: relative; display: block; width: 100%; margin-top: 12px;
  aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius); background: var(--surface); text-align: left;
}
.feature-meta { left: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 36px); align-items: flex-start; }
.feature-meta strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1; }
.play-pill {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s;
}
.play-pill svg { width: 13px; height: 13px; fill: currentColor; }
.feature:hover .play-pill { background: var(--accent); }

/* ---------- Rails (swipeable rows with arrows) ---------- */
.rail { position: relative; }
.rail-nav { display: none; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }
.rail.is-scrollable .rail-nav { display: flex; }
.rail-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(239,233,225,.3); background: rgba(12,11,10,.6);
  transition: background .2s, border-color .2s, opacity .2s;
}
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:hover { background: var(--ink); }
.rail-btn:hover svg { stroke: var(--bg); }
.rail-btn:disabled { opacity: .25; pointer-events: none; }
.rail-count { min-width: 52px; text-align: center; font-size: 12px; letter-spacing: .2em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.rail-track { scroll-behavior: smooth; }

/* ---------- Stills ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.chip:hover { border-color: rgba(239,233,225,.4); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.stills { columns: 3; column-gap: 12px; }
.still {
  margin: 0 0 12px; break-inside: avoid; position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--surface);
  transition: opacity .4s var(--ease);
}
.still img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.still.is-hidden { display: none; }
/* JS masonry: items are dealt into balanced columns, keeping reading order across rows */
.stills.is-masonry { columns: auto; display: flex; align-items: flex-start; gap: 12px; }
.stills-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.stills.is-masonry .still { margin: 0; }

/* ---------- Content ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.content-reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--accent); }
.reel-soon {
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(239,233,225,.2);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201,164,108,.12), transparent 60%),
    var(--surface);
}
.soon-mark {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: rgba(239,233,225,.32);
  transform: translateY(-20%);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-copy p:not(.eyebrow) { color: var(--ink-soft); max-width: 52ch; }
.about-copy h2 { margin-bottom: 18px; }
.link-arrow {
  display: inline-flex; gap: 10px; margin-top: 14px; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid var(--accent); padding-bottom: 4px;
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

.about-lead { font-size: 1.12em; color: var(--ink) !important; }
.about-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0 6px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.about-stats dt { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--accent); }
.about-stats dd { margin: 8px 0 0; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.about-sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin-top: 26px; }
.about-sign img { width: 190px; height: auto; opacity: .92; }

/* ---------- Reviews ---------- */
.rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; }
.rating-num { font-family: var(--serif); font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; }
.rating-stars { color: var(--accent); letter-spacing: .18em; font-size: 16px; }
.rating-meta { flex-basis: 100%; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.review {
  scroll-snap-align: start; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.review-stars { color: var(--accent); letter-spacing: .18em; font-size: 13px; }
.review blockquote {
  margin: 0; flex: 1;
  font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.3; color: var(--ink);
}
.review figcaption { display: flex; flex-direction: column; gap: 3px; padding-top: 16px; border-top: 1px solid var(--line); }
.review figcaption strong { font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.review figcaption span:not(.tag) { font-size: 13px; color: var(--ink-soft); }
.review figcaption .tag { margin-top: 6px; }

/* ---------- Contact ---------- */
.section-contact { padding-bottom: clamp(80px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(239,233,225,.25);
  padding: 10px 0; border-radius: 0; color-scheme: dark;
  transition: border-color .2s;
}
.contact-form select option { background: var(--surface); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-content: center; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px;
  padding: 28px var(--gutter); border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.footer a { text-decoration: none; }
.footer-sig { width: 96px; height: auto; opacity: .7; flex-basis: 100%; max-width: 96px; }
.footer a:hover { color: var(--ink); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 7, 6, .96);
  display: flex; align-items: center; justify-content: center;
  padding: 64px clamp(16px, 6vw, 96px);
}
.lightbox[hidden] { display: none; }
.lb-stage { max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100svh - 140px); width: auto; height: auto; border-radius: 2px; }
.lb-caption {
  position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.lb-close {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  font-size: 30px; line-height: 1; color: var(--ink); display: grid; place-items: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(239,233,225,.1); }
.lb-close { top: 14px; right: 14px; }

/* ---------- Image protection (deterrent only) ---------- */
.protect, .stills img, .disc img, .about-photo img, .lb-stage video {
  -webkit-user-select: none; user-select: none;
  -webkit-user-drag: none; -webkit-touch-callout: none;
}
img.protect, video.protect { pointer-events: none; }
.still { -webkit-touch-callout: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
           margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .rail-track::-webkit-scrollbar { display: none; }
  .reels .reel { scroll-snap-align: start; }
  /* arrows sit over the left/right edges of the videos */
  .rail.is-scrollable .rail-btn { position: absolute; top: calc(50% - 32px); transform: translateY(-50%); z-index: 3; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .rail.is-scrollable .rail-btn[data-dir="-1"] { left: 4px; }
  .rail.is-scrollable .rail-btn[data-dir="1"] { right: 4px; }
  .content-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .reviews { grid-auto-columns: 46%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .about-photo { max-width: 560px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(12,11,10,.97);
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  }
  .nav-links a { font-size: 18px; }
  .nav-links.is-open { opacity: 1; pointer-events: auto; }
  .disciplines { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .disc-combat { grid-column: 1 / -1; grid-row: span 1; }
  .disc-wedding, .disc-portrait, .disc-landscape { grid-column: span 1; grid-row: span 1; }
  .disc-content { grid-column: 1 / -1; }
  .stills { columns: 2; }
  .feature { aspect-ratio: 16 / 10; }
  .hero-credit { top: 96px; bottom: auto; left: var(--gutter); right: auto; font-size: 10px; }
  .hero-shade { background: linear-gradient(180deg, rgba(12,11,10,.55) 0%, rgba(12,11,10,.1) 24%, rgba(12,11,10,.45) 46%, rgba(12,11,10,.9) 70%, rgba(12,11,10,.97) 100%); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .reels { grid-auto-columns: 80%; }
  .content-reels { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
                   margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .content-reels > * { scroll-snap-align: start; }
  .rail.is-scrollable .rail-btn { position: absolute; top: calc(50% - 32px); transform: translateY(-50%); z-index: 3; }
  .rail.is-scrollable .rail-btn[data-dir="-1"] { left: -6px; }
  .rail.is-scrollable .rail-btn[data-dir="1"] { right: -6px; }
  .creds-head { flex-direction: column; align-items: flex-start; }
  .reviews { grid-auto-columns: 86%; }
  .about-stats { gap: 10px; }
  .about-stats dd { font-size: 10px; letter-spacing: .1em; }
  .hero { padding-bottom: 56px; }
  .disciplines { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .disc-wedding, .disc-portrait, .disc-landscape { grid-column: 1 / -1; }
  .stills { columns: 1; }
  .contact-form { grid-template-columns: 1fr; }
  .feature { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-inner > * { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Review rail keeps its arrows under the cards so they never cover the quote */
.rail.rail-below.is-scrollable .rail-btn { position: static; transform: none; }

/* Contact form: honeypot + send status */
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }
.form-status.is-ok { color: var(--accent); }
.form-status.is-error { color: #e08a7a; }
.contact-form.is-sent label, .contact-form.is-sent button { display: none; }
.contact-form.is-sent .form-status { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; color: var(--ink); }

/* Hero reel caption */
.hero-credit { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.hero-credit-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-in-out infinite; }
.hero-credit-text { transition: opacity .22s ease, transform .22s ease; }
.hero-credit-text.is-swapping { opacity: 0; transform: translateY(4px); }
@keyframes pulse { 50% { opacity: .35; } }

/* Stat source line (e.g. award name) */
.about-stats dd small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .1em; color: var(--accent); opacity: .85; }
.about-stats dd small a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(201,164,108,.4); transition: border-color .2s; }
.about-stats dd small a:hover { border-bottom-color: var(--accent); }
.stat-short { display: none; }
@media (max-width: 560px) {
  .stat-long { display: none; }
  .stat-short { display: inline; }
}
