/* =========================================================
   Divi 5 Child — Custom CSS
   Site-wide styles. Loads after Divi and the child style.css.
   Use the Divi builder's per-module "Custom CSS" field for
   one-off module tweaks; keep reusable/global rules here.

   CONTENTS
   1. Global / body colour themes
   2. Smart header
   3. Hero v2 (sph)
   4. Big section titles (bst)
   5. Featured Work accordion (fwx) + carousel + video lightbox
   6. Instagram stills masonry (ig) + photo lightbox
   7. About section (spa)
   8. Featured Projects / Project Archive (npx)
   ========================================================= */


/* =========================================================
   1. GLOBAL — body owns the page colour and morphs as
   sections pass the viewport centre (data-bgtheme).
   ========================================================= */
body {
  background-color: #0c0c0c;
  transition: background-color 1.2s ease;
}

/* Smooth scroll for anchor links (Showreel -> Featured Work) */
html {
  scroll-behavior: smooth;
}


/* =========================================================
   3. HERO V2 "TITLE REVEAL" (sph)
   Scroll-driven: 200vh spacer with a sticky 100vh stage.
   Intro: video shows through the SETH PARK title mask ->
   film jitter + pink flash -> mask blows open -> screen
   settles at 58% with the signature glow -> chrome fades in.
   ========================================================= */

.sph { position: relative; background: #000; }
.sph-spacer { height: 200vh; }
.sph-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* ----- Screen ----- */
.sph-screenwrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 103%;
  aspect-ratio: 16 / 9;
  transition: width 1.1s cubic-bezier(0.65, 0, 0.25, 1);
}
.sph-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-radius 0.8s ease, box-shadow 0.8s ease;
}
.sph-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.5s ease;
}
.sph-bgv, .sph-vslot { position: absolute; inset: 0; }
.sph-bgv { pointer-events: none; }
.sph-bgv iframe, .sph-vslot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.sph-bgv iframe { pointer-events: none; }
.sph-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0,0,0,0.45));
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.sph-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.6s ease, background 0.3s ease;
}
.sph-play:hover { background: rgba(255,255,255,0.08); }
.sph-play span {
  width: 0; height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 5px;
}

/* ----- Ambient glow (signature violet) ----- */
.sph-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.4s ease;
  background: radial-gradient(ellipse 62% 48% at 50% 50%,
    rgba(160,150,190,0.28), rgba(100,90,140,0.16) 45%, transparent 72%);
  pointer-events: none;
}

/* ----- Pink projector flash (intro) ----- */
.sph-pinkflash {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  background: radial-gradient(ellipse 72% 58% at 50% 50%,
    rgba(255,60,150,0.95), rgba(255,45,146,0.45) 55%,
    rgba(120,10,60,0.2) 75%, transparent 92%);
  pointer-events: none;
}

/* ----- Title mask overlay ----- */
.sph-ovwrap { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.sph-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  -webkit-mask-image: url('data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20960%20560%22%3E%3Crect%20width=%22960%22%20height=%22560%22%20fill=%22white%22/%3E%3Ctext%20x=%22480%22%20y=%22280%22%20text-anchor=%22middle%22%20dominant-baseline=%22central%22%20font-family=%22Helvetica%20Neue,Helvetica,Arial,sans-serif%22%20font-size=%2296%22%20font-weight=%22600%22%20letter-spacing=%228%22%20fill=%22black%22%3ESETH%20PARK%3C/text%3E%3C/svg%3E');
  mask-image: url('data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20960%20560%22%3E%3Crect%20width=%22960%22%20height=%22560%22%20fill=%22white%22/%3E%3Ctext%20x=%22480%22%20y=%22280%22%20text-anchor=%22middle%22%20dominant-baseline=%22central%22%20font-family=%22Helvetica%20Neue,Helvetica,Arial,sans-serif%22%20font-size=%2296%22%20font-weight=%22600%22%20letter-spacing=%228%22%20fill=%22black%22%3ESETH%20PARK%3C/text%3E%3C/svg%3E');
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
  -webkit-mask-size: cover;
  mask-size: cover;
  mask-position: center;
  -webkit-mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  transform: scale(1);
  transform-origin: 52.76% 52%;
  transition: transform 3.4s linear;
}

/* Intro keyframes: film jitter + projector flicker */
@keyframes sph-jx {
  0% { transform: translate(0,0); }
  25% { transform: translate(-2.5px,1.5px); }
  50% { transform: translate(3px,-1px); }
  75% { transform: translate(-1.5px,-2px); }
  100% { transform: translate(2px,1px); }
}
@keyframes sph-pflick {
  0%{opacity:0} 8%{opacity:.9} 12%{opacity:.15} 18%{opacity:.8}
  26%{opacity:.25} 34%{opacity:1} 45%{opacity:.35} 55%{opacity:.95}
  68%{opacity:.45} 80%{opacity:1} 92%{opacity:.7} 100%{opacity:.85}
}

/* ----- Chrome (logo / tagline / appeal / button) ----- */
.sph-chrome {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
}
.sph-logo {
  position: absolute;
  top: 34px; left: 0; right: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: #fff;
}
.sph-tagline {
  position: absolute;
  top: 70px; left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.sph-bottom {
  position: absolute;
  bottom: 26px; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}
.sph-appeal {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  text-align: center;
}
.sph-showreel {
  pointer-events: auto;
  padding: 11px 30px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 3px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s ease;
}
.sph-showreel:hover { background: rgba(255,255,255,0.08); }
.sph-scrollhint {
  position: absolute;
  bottom: 32px; left: 32px;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 980px) {
  .sph-logo { font-size: 17px; }
}
@media (max-width: 767px) {
  .sph-play { width: 58px; height: 58px; }
  .sph-appeal { font-size: 13px; padding: 0 20px; }
  .sph-scrollhint { display: none; }
}


/* =========================================================
   4. BIG SECTION TITLE (bst) — Tom Carder-style divider.
   Hidden state applies ONLY after JS arms it (.bst-armed),
   so titles always render even if a script fails.
   ========================================================= */
.bst {
  position: relative;
  padding: 96px 72px 56px;
  background: transparent;
}
.bst-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  transition: opacity 0.8s ease 0.05s, transform 0.8s ease 0.05s;
}
.bst-title {
  margin: 0;
  font-size: clamp(52px, 9vw, 128px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: uppercase;
}
.bst-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.bst-inner {
  display: block;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.bst-line:nth-child(2) .bst-inner { transition-delay: 0.1s; }
.bst-line:nth-child(3) .bst-inner { transition-delay: 0.2s; }

.bst.bst-armed .bst-eyebrow { opacity: 0; transform: translateY(16px); }
.bst.bst-armed .bst-inner   { transform: translateY(115%); }
.bst.bst-armed.is-in .bst-eyebrow { opacity: 1; transform: translateY(0); }
.bst.bst-armed.is-in .bst-inner   { transform: translateY(0); }

@media (max-width: 980px) { .bst { padding: 88px 40px 44px; } }
@media (max-width: 767px) { .bst { padding: 64px 24px 36px; } }
@media (prefers-reduced-motion: reduce) {
  .bst.bst-armed .bst-eyebrow, .bst.bst-armed .bst-inner {
    opacity: 1; transform: none; transition: none;
  }
}


/* =========================================================
   5. FEATURED WORK — ACCORDION (fwx)
   One category open at a time; state driven by .is-open from
   custom.js. Warm-black stage (#12100d) is set on the Divi
   SECTION background; these blocks stay transparent.
   ========================================================= */

.fwx-cat {
  --fwx-line: rgba(255, 255, 255, 0.12);
  --fwx-mut: rgba(255, 255, 255, 0.5);
  --fwx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  background: transparent;
  border-top: 1px solid var(--fwx-line);
  outline: none;
}
.fwx-cat--end { border-bottom: 1px solid var(--fwx-line); }

/* Header: [title | count | indicator] */
.fwx-head {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0;
  padding: 0 72px;
  cursor: pointer;
}
.fwx-title {
  margin: 0;
  padding: 30px 0;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
}
.fwx-count {
  padding: 30px 28px;
  border-left: 1px solid var(--fwx-line);
  color: var(--fwx-mut);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
/* Instagram handle in the Stills header (sits left of the count) */
.fwx-handle {
  padding: 30px 28px;
  border-left: 1px solid var(--fwx-line);
  color: var(--fwx-mut);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.25s ease;
}
.fwx-handle:hover { color: #fff; }
.fwx-ind {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: 28px;
  padding: 0;
  transition: transform 0.5s var(--fwx-ease);
}
.fwx-ind::before,
.fwx-ind::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
}
.fwx-ind::before {
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}
.fwx-ind::after {
  top: 0; bottom: 0; left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
}

/* ----- Accordion state (driven by .is-open) ----- */
.fwx-cat.is-open .fwx-ind { transform: rotate(45deg); }   /* plus -> x */
.fwx-cat.is-open .fwx-title { opacity: 1; }
.fwx-cat:not(.is-open) .fwx-title { opacity: 0.55; }      /* closed rows recede */
.fwx-cat:not(.is-open):hover .fwx-title { opacity: 0.8; }

.fwx-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.65s var(--fwx-ease);
}
.fwx-cat.is-open .fwx-panel { grid-template-rows: 1fr; }
.fwx-panel-in {
  overflow: hidden;
  min-height: 0;
}
.fwx-body {
  padding: 8px 72px 44px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s var(--fwx-ease) 0.15s;
}
.fwx-cat.is-open .fwx-body {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Carousel internals (classes match custom.js) ----- */
.fw-track-wrap { position: relative; }
.fw-track {
  --fw-gap: 16px;
  --fw-card-w: 380px;
  --fw-radius: 4px;
  display: flex;
  gap: var(--fw-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.fw-track::-webkit-scrollbar { display: none; }

.fw-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}
.fw-arrow:hover { opacity: 1; }
.fw-arrow.is-hidden { opacity: 0; pointer-events: none; }
.fw-arrow--prev { left: -52px; }
.fw-arrow--next { right: -52px; }
.fw-arrow::before { content: ""; width: 0; height: 0; border-style: solid; }
.fw-arrow--prev::before {
  border-width: 9px 13px 9px 0;
  border-color: transparent #fff transparent transparent;
}
.fw-arrow--next::before {
  border-width: 9px 0 9px 13px;
  border-color: transparent transparent transparent #fff;
}

.fw-card {
  position: relative;
  flex: 0 0 var(--fw-card-w);
  scroll-snap-align: start;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--fw-radius);
  overflow: hidden;
  cursor: pointer;
  background: #1a1712;
  display: block;
}
.fw-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
}
.fw-card:hover img { transform: scale(1); opacity: 0.9; }

.fw-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  transition: background 0.25s ease, transform 0.25s ease;
}
.fw-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.fw-card:hover .fw-play {
  background: rgba(0, 0, 0, 0.65);
  transform: translate(-50%, -50%) scale(1.08);
}

.fw-card-title {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fw-card:hover .fw-card-title { opacity: 1; transform: translateY(0); }

/* ----- Video lightbox ----- */
.fw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background:
    radial-gradient(ellipse 60% 50% at 50% 44%,
      rgba(42, 40, 50, 0.55) 0%,
      rgba(6, 6, 9, 0.97) 70%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.fw-lightbox.is-open { opacity: 1; visibility: visible; }
.fw-lightbox-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  box-shadow:
    0 0 70px rgba(130, 120, 165, 0.22),
    0 0 140px rgba(80, 70, 115, 0.14),
    0 24px 70px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
}
.fw-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
}
.fw-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.fw-lightbox-close:hover { opacity: 1; }

@media (max-width: 980px) {
  .fwx-head { padding: 0 40px; }
  .fwx-title { font-size: 13px; padding: 24px 0; }
  .fwx-count { padding: 24px 20px; font-size: 12px; }
  .fwx-body { padding: 8px 40px 36px; }
  .fw-track { --fw-card-w: 300px; }
  .fw-arrow--prev { left: -44px; }
  .fw-arrow--next { right: -44px; }
  .fwx-handle { padding: 24px 20px; font-size: 12px; }
}
@media (max-width: 767px) {
  /* Touch: tap a header to switch rows (accordion still applies) */
  .fwx-head { padding: 0 24px; cursor: pointer; }
  .fwx-title { font-size: 12px; padding: 20px 0; }
  .fwx-count { padding: 20px 0 20px 18px; font-size: 12px; }
  .fwx-body { padding: 4px 24px 32px; }
  .fw-track { --fw-card-w: 78vw; }
  .fw-card-title { opacity: 1; transform: none; }
  .fw-arrow { display: none; }
  .fw-lightbox-close { top: 12px; right: 16px; }
  .fwx-handle { padding: 20px 0 20px 18px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .fwx-panel, .fwx-body, .fwx-ind { transition: none; }
  .fw-track { scroll-behavior: auto; }
  .fw-card img, .fw-play, .fw-card-title, .fw-lightbox {
    transition: none; transform: none;
  }
}


/* =========================================================
   6. INSTAGRAM STILLS — masonry grid + photo lightbox.
   Photos keep their natural aspect ratio (Will Fielding style).
   ========================================================= */

.ig-grid {
  column-count: 4;
  column-gap: 14px;
}
.ig-cell {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #1a1712;
  cursor: pointer;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.ig-cell img {
  display: block;
  width: 100%;
  height: auto;                 /* natural aspect ratio preserved */
  transform: scale(1.04);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.ig-cell:hover img { transform: scale(1); opacity: 0.9; }

.ig-empty {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  letter-spacing: 0.06em;
  margin: 0;
}

.ig-follow {
  display: inline-block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease;
}
.ig-follow:hover { color: #fff; }

/* ----- Photo lightbox ----- */
.ig-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background:
    radial-gradient(ellipse 60% 50% at 50% 44%,
      rgba(42, 40, 50, 0.55) 0%,
      rgba(6, 6, 9, 0.97) 70%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.ig-lightbox.is-open { opacity: 1; visibility: visible; }
.ig-lightbox-frame {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow:
    0 0 70px rgba(130, 120, 165, 0.22),
    0 0 140px rgba(80, 70, 115, 0.14),
    0 24px 70px rgba(0, 0, 0, 0.6);
}
.ig-lightbox-frame img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 4px;
}
.ig-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.ig-lightbox-close:hover { opacity: 1; }

@media (max-width: 980px) {
  .ig-grid { column-count: 3; column-gap: 10px; }
  .ig-cell { margin-bottom: 10px; }
}
@media (max-width: 767px) {
  .ig-grid { column-count: 2; column-gap: 8px; }
  .ig-cell { margin-bottom: 8px; }
  .ig-lightbox-close { top: 12px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-cell img { transform: none; transition: none; }
  .ig-lightbox { transition: none; }
}


/* =========================================================
   7. ABOUT SECTION (spa)
   Flare artwork positioning lives inline in the HTML
   (verbatim from the confirmed design).
   ========================================================= */

.spa {
  position: relative;
  background: transparent;
  padding: 32px 72px 96px;
  overflow: hidden;
}

.spa-head {
  position: relative;
  z-index: 1;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
  margin-bottom: 48px;
}

.spa-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.spa-left {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.spa-photo {
  position: relative;
  z-index: 1;
  width: 62%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
}
.spa-statement {
  position: relative;
  z-index: 1;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-wrap: pretty;
}
.spa-bio {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
}

.spa-right {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 48px;
  transform: scale(1.08);
  transform-origin: top right;
}
.spa-img {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 4.4;
  overflow: hidden;
  border-radius: 4px;
}
.spa-img--first { margin-top: 64px; }

.spa [data-floatimg] {
  position: absolute;
  left: 0;
  right: 0;
  top: -14%;
  bottom: -14%;
}
.spa [data-floatimg] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .spa { padding: 72px 40px; }
  .spa-grid { grid-template-columns: 1fr; gap: 48px; }
  .spa-right { transform: none; padding-top: 0; }
  .spa-photo { width: 52%; }
}
@media (max-width: 767px) {
  .spa { padding: 56px 24px; }
  .spa-head { margin-bottom: 32px; }
  .spa-statement { font-size: 26px; }
  .spa-photo { width: 64%; }
  .spa-img--first { margin-top: 32px; }
  .spa-flare { display: none; }
}


/* =========================================================
   8. FEATURED PROJECTS / PROJECT ARCHIVE (npx)
   NEXOLA-style editorial grid — light section against the
   dark site. Hover: name rises, "Enter Archive" appears,
   arrow moves up, details fade in, image settles down.
   ========================================================= */

.npx {
  --npx-bg: #f2f2f0;
  --npx-ink: #111;
  --npx-mut: #6b6b6b;
  --npx-line: rgba(0, 0, 0, 0.14);
  --npx-pad: 48px;
  --npx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  background: var(--npx-bg);
  color: var(--npx-ink);
  font-family: inherit;
}

.npx-head {
  display: grid;
  grid-template-columns: 3fr 1fr;
  border-bottom: 1px solid var(--npx-line);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--npx-ease), transform 0.9s var(--npx-ease);
}
.npx-head.is-in { opacity: 1; transform: translateY(0); }
.npx-cell--gutter { display: none; }

.npx-title {
  margin: 0;
  padding: 96px 72px 56px;
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--npx-ink);
  border-right: 1px solid var(--npx-line);
  overflow: hidden;
}
.npx-title-inner { display: block; }

.npx-meta {
  padding: 40px var(--npx-pad) 56px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: flex-end;
  font-size: 13px;
}
.npx-meta-count { color: var(--npx-mut); }
.npx-meta-link {
  color: var(--npx-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.25s ease;
}
.npx-meta-link:hover { opacity: 0.6; color: var(--npx-ink); }

.npx-item {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: stretch;
  width: 100%;
  border-bottom: 1px solid var(--npx-line);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--npx-ease), transform 0.9s var(--npx-ease);
}
.npx-item.is-in { opacity: 1; transform: translateY(0); }

.npx-cellL {
  position: relative;
  border-right: 1px solid var(--npx-line);
}
.npx-info-txt {
  position: absolute;
  left: var(--npx-pad);
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: top 0.55s var(--npx-ease), transform 0.55s var(--npx-ease);
}
.npx-item:hover .npx-info-txt {
  top: 32px;
  transform: translateY(0);
}
.npx-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--npx-ink);
}
.npx-cat { font-size: 14px; color: var(--npx-mut); }

.npx-jump {
  position: absolute;
  left: var(--npx-pad);
  bottom: 30px;
  font-size: 13px;
  color: var(--npx-ink);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--npx-ease) 0.08s, transform 0.5s var(--npx-ease) 0.08s;
}
.npx-item:hover .npx-jump { opacity: 1; transform: translateY(0); }

.npx-media {
  display: block;
  overflow: hidden;
  border-right: 1px solid var(--npx-line);
  aspect-ratio: 16 / 9;
}
.npx-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.7s var(--npx-ease);
}
.npx-item:hover .npx-media img { transform: scale(1); }

.npx-cellR { position: relative; }
.npx-arrow {
  position: absolute;
  right: var(--npx-pad);
  top: 50%;
  transform: translateY(-50%);
  color: var(--npx-ink);
  transition: top 0.55s var(--npx-ease), transform 0.55s var(--npx-ease);
}
.npx-item:hover .npx-arrow {
  top: 32px;
  transform: translate(3px, 0);
}
.npx-detail {
  position: absolute;
  right: var(--npx-pad);
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--npx-ease) 0.08s, transform 0.5s var(--npx-ease) 0.08s;
}
.npx-item:hover .npx-detail { opacity: 1; transform: translateY(0); }
.npx-d { display: flex; flex-direction: column; gap: 1px; }
.npx-dl { font-size: 12px; color: var(--npx-mut); }
.npx-dv { font-size: 13px; font-weight: 600; color: var(--npx-ink); }

.npx-foot {
  display: flex;
  justify-content: center;
  padding: 56px 24px 72px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--npx-ease), transform 0.9s var(--npx-ease);
}
.npx-foot.is-in { opacity: 1; transform: translateY(0); }
.npx-more {
  padding: 14px 40px;
  border: 1px solid var(--npx-ink);
  border-radius: 2px;
  color: var(--npx-ink);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.npx-more:hover { background: var(--npx-ink); color: var(--npx-bg); }

@media (max-width: 980px) {
  .npx { --npx-pad: 32px; }
  .npx-head { grid-template-columns: 2.5fr 1fr; }
  .npx-item { grid-template-columns: 1fr 2.2fr 0.8fr; }
  .npx-title { padding: 72px 40px 44px; }
  .npx-meta { padding-bottom: 44px; }
}
@media (max-width: 767px) {
  .npx { --npx-pad: 24px; }
  .npx-head { grid-template-columns: 1fr; }
  .npx-title { padding: 56px 24px 28px; border-right: 0; }
  .npx-meta { padding: 0 24px 28px; justify-content: flex-start; }

  .npx-item {
    grid-template-columns: 1fr auto;
    grid-template-areas: "media media" "info arrow" "detail detail";
  }
  .npx-media { grid-area: media; border-right: 0; }
  .npx-cellL { grid-area: info; border-right: 0; min-height: 64px; }
  .npx-info-txt { top: 18px; transform: none; }
  .npx-jump { display: none; }
  .npx-cellR { grid-area: arrow; min-width: 64px; min-height: 64px; }
  .npx-arrow { top: 18px; transform: none; }
  .npx-detail {
    position: static;
    grid-area: detail;
    opacity: 1;
    transform: none;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    padding: 0 var(--npx-pad) 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .npx-head, .npx-item, .npx-foot,
  .npx-info-txt, .npx-jump, .npx-arrow, .npx-detail {
    opacity: 1; transform: none; transition: none;
  }
  .npx-info-txt, .npx-arrow { top: 32px; }
  .npx-media img { transform: none; }
}
/* =========================================================
   9. CONTACT (sc) + FOOTER (sf)
   Append to the bottom of assets/custom.css.
   Dark stage, hairline grid, warm accent on the second word
   of the title — matches the site's cinematic language.
   ========================================================= */

.sc {
  --sc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sc-line: rgba(255, 255, 255, 0.12);
  --sc-mut: rgba(255, 255, 255, 0.5);
  --sc-accent: #d98b6a;              /* warm ember, matches the film mood */
  position: relative;
  background: transparent;
  padding: 110px 72px 88px;
}

/* ----- Title: "Let's connect" ----- */
.sc-title {
  margin: 0 0 56px;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--sc-ease), transform 0.9s var(--sc-ease);
}
.sc-title.is-in { opacity: 1; transform: translateY(0); }
.sc-title-a { color: #fff; }
.sc-title-b { color: var(--sc-accent); }

/* ----- Two-column body ----- */
.sc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  border-top: 1px solid var(--sc-line);
  padding-top: 48px;
}

.sc-left, .sc-right {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--sc-ease), transform 0.9s var(--sc-ease);
}
.sc-left.is-in, .sc-right.is-in { opacity: 1; transform: translateY(0); }

.sc-lead {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  text-wrap: pretty;
}
.sc-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sc-mut);
  letter-spacing: 0.02em;
}

/* ----- Right column: label / value rows ----- */
.sc-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--sc-line);
}
.sc-row:first-child { padding-top: 0; }
.sc-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sc-mut);
}
.sc-value {
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.01em;
}
.sc-link {
  text-decoration: none;
  color: #fff;
  transition: color 0.25s ease;
}
.sc-link:hover { color: var(--sc-accent); }

.sc-cta {
  display: inline-block;
  margin-top: 34px;
  padding: 14px 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.sc-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* =========================================================
   FOOTER
   ========================================================= */
.sf {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 44px 24px 40px;
  text-align: center;
}
.sf-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}
.sf-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.sf-icon:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-2px);
}
.sf-credit {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}
.sf-legal {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.28);
}
.sf-sep { margin: 0 8px; }
.sf-legal-link {
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 0.25s ease;
}
.sf-legal-link:hover { color: rgba(255, 255, 255, 0.6); }
/* ----- Responsive ----- */
@media (max-width: 980px) {
  .sc { padding: 84px 40px 64px; }
  .sc-grid { grid-template-columns: 1fr; gap: 48px; }
  .sc-title { margin-bottom: 44px; }
}
@media (max-width: 767px) {
  .sc { padding: 64px 24px 48px; }
  .sc-title { margin-bottom: 32px; }
  .sc-grid { padding-top: 32px; gap: 36px; }
  .sc-lead { font-size: 15px; }
  .sc-row { grid-template-columns: 100px 1fr; gap: 12px; padding: 14px 0; }
  .sc-value { font-size: 14px; }
  .sf { padding: 36px 20px 32px; }
  .sf-icon { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-title, .sc-left, .sc-right {
    opacity: 1; transform: none; transition: none;
  }
  .sf-icon { transition: none; }
}
/* =========================================================
   10. GLOBAL HEADER (sh)
   Append to the bottom of assets/custom.css.

   Transparent over the hero; a soft blurred veil fades in
   after scrolling. Hides on scroll down, returns on scroll up.
   Type language matches the site (uppercase, wide tracking).
   ========================================================= */

/* ----- Lift the header out of Divi's flow so it floats over
   the hero. Divi wraps Theme Builder headers in a container
   that otherwise reserves space and paints a background. ----- */
#et-boc .et-l--header,
.et-l--header {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: transparent !important;
}
#et-boc .et-l--header .et_builder_inner_content,
.et-l--header .et_builder_inner_content,
.et-l--header .et_pb_section,
.et-l--header .et_pb_row,
.et-l--header .et_pb_module {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}
.sh {
  --sh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: transparent;
  transition: transform 0.45s var(--sh-ease),
              background-color 0.5s ease,
              backdrop-filter 0.5s ease;
}

/* Veil once scrolled past the hero */
.sh.is-solid {
  background: rgba(10, 9, 8, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Slide away on scroll down */
.sh.is-hidden { transform: translateY(-100%); }

.sh-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 72px;
  transition: padding 0.45s var(--sh-ease);
}
.sh.is-solid .sh-inner { padding: 18px 72px; }

/* ----- Logo: wide mark at the top, stacked mark once scrolled.
   Both images share one box and cross-fade, so nothing in the
   header shifts during the swap. ----- */
.sh-logo {
  position: relative;
  display: block;
  width: 168px;          /* wide-mark width at rest */
  height: 34px;
  text-decoration: none;
  transition: width 0.55s var(--sh-ease),
              height 0.55s var(--sh-ease),
              opacity 0.3s ease;
}
.sh-logo:hover { opacity: 0.75; }

.sh-logo img {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
  transition: opacity 0.5s var(--sh-ease),
              transform 0.55s var(--sh-ease);
  pointer-events: none;
}

/* Wide mark — visible at the top of the page */
.sh-logo-wide {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
/* Stacked mark — waiting, very slightly larger */
.sh-logo-stack {
  opacity: 0;
  transform: translateY(-50%) scale(1.06);
}

/* Scrolled: the box narrows and the two marks swap */
.sh.is-solid .sh-logo {
  width: 74px;
  height: 42px;
}
.sh.is-solid .sh-logo-wide {
  opacity: 0;
  transform: translateY(-50%) scale(0.94);
}
.sh.is-solid .sh-logo-stack {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* ----- Desktop nav ----- */
.sh-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
/* ----- Dropdown menus ----- */
.sh-item { position: relative; }

.sh-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 168px;
  padding: 10px 0;
  margin-top: 14px;
  background: rgba(12, 11, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s var(--sh-ease);
}
/* Invisible bridge so the menu doesn't close in the gap */
.sh-drop::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.sh-item:hover .sh-drop,
.sh-item:focus-within .sh-drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sh-drop-link {
  display: block;
  padding: 9px 20px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}
.sh-drop-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.sh-drop-link.is-current { color: #fff; }

/* ----- Mobile overlay groups ----- */
.sh-ogroup {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.sh-ogroup:first-child { margin-top: 0; }
.sh-olink--sub { font-size: 21px; }
.sh-link {
  position: relative;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}
.sh-link:hover { color: #fff; }

/* Underline grows from the left on hover / current page */
.sh-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--sh-ease);
}
.sh-link:hover::after { transform: scaleX(1); }
.sh-link.is-current {
  color: #fff;
}
.sh-link.is-current::after {
  transform: scaleX(1);
  background: rgba(255, 255, 255, 0.45);
}

/* ----- Burger (mobile only) ----- */
.sh-burger {
  display: none;
  position: relative;
  width: 30px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.sh-burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: #fff;
  transition: transform 0.4s var(--sh-ease), opacity 0.3s ease;
}
.sh-burger span:nth-child(1) { top: 4px; }
.sh-burger span:nth-child(2) { bottom: 4px; }
.sh.is-open .sh-burger span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.sh.is-open .sh-burger span:nth-child(2) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* ----- Mobile overlay ----- */
.sh-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: rgba(8, 7, 6, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.sh.is-open .sh-overlay {
  opacity: 1;
  visibility: visible;
}
.sh-overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.sh-olink {
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.sh-olink:hover, .sh-olink.is-current { opacity: 1; color: #fff; }
.sh-overlay-foot a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.3s ease;
}
.sh-overlay-foot a:hover { color: #fff; }

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .sh-inner { padding: 22px 40px; }
  .sh.is-solid .sh-inner { padding: 16px 40px; }
  .sh-nav { gap: 28px; }
}
@media (max-width: 767px) {
  .sh-inner { padding: 18px 24px; }
  .sh.is-solid .sh-inner { padding: 14px 24px; }
  .sh-nav { display: none; }
  .sh-burger { display: block; }
  .sh-logo { width: 132px; height: 28px; }
  .sh.is-solid .sh-logo { width: 62px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .sh, .sh-inner, .sh-link::after, .sh-burger span,
  .sh-overlay, .sh-logo, .sh-logo img {
    transition: none;
  }
}
/* =========================================================
   11. WORK PAGE (wk) — filterable YouTube archive.
   Append to the bottom of assets/custom.css.
   Uses the same tokens as the landing page: warm-black stage,
   hairline rules, uppercase tracking, settle-down image hover.
   The video lightbox styles are already defined in section 5.
   ========================================================= */

.wk {
  --wk-line: rgba(255, 255, 255, 0.12);
  --wk-mut: rgba(255, 255, 255, 0.5);
  --wk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  background: transparent;
  padding-bottom: 96px;
}

.wk-body { padding: 0 72px; }

/* ----- Filter bar ----- */
.wk-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 28px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--wk-line);
}
.wk-filter {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  background: transparent;
  color: var(--wk-mut);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.wk-filter:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.wk-filter.is-active {
  color: #12100d;
  background: #fff;
  border-color: #fff;
}
.wk-filter-n {
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.6;
}

/* ----- Grid ----- */
.wk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wk-card {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1712;
  cursor: pointer;
  display: block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--wk-ease), transform 0.7s var(--wk-ease);
}
.wk-card.is-in { opacity: 1; transform: translateY(0); }

/* Filtered out — removed from the flow so the grid reflows */
.wk-card.is-hidden { display: none; }

.wk-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.7s var(--wk-ease), opacity 0.3s ease;
}
.wk-card:hover img { transform: scale(1); opacity: 0.9; }

/* Caption block, fades up on hover */
.wk-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 34px 16px 14px;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s var(--wk-ease);
}
.wk-card:hover .wk-meta { opacity: 1; transform: translateY(0); }
.wk-title {
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.wk-cat {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wk-empty {
  padding: 0 72px 80px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .wk-body { padding: 0 40px; }
  .wk-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .wk-empty { padding: 0 40px 64px; }
}
@media (max-width: 767px) {
  .wk { padding-bottom: 64px; }
  .wk-body { padding: 0 24px; }
  .wk-grid { grid-template-columns: 1fr; gap: 16px; }
  .wk-filters { gap: 8px; padding-bottom: 20px; margin-bottom: 28px; }
  .wk-filter { padding: 8px 16px; font-size: 11px; }
  .wk-meta { opacity: 1; transform: none; }   /* always visible on touch */
  .wk-empty { padding: 0 24px 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-card, .wk-card img, .wk-meta { transition: none; transform: none; opacity: 1; }
}
/* =========================================================
   12. PROJECT ARCHIVE (pa)
   Append to the bottom of assets/custom.css.

   Grid of project cards; clicking one expands a structured
   record in place (period, role, deliverables) beside its
   media. Built to read as both a portfolio and a working
   record of duties. Uses the site's existing tokens.
   ========================================================= */

.pa {
  --pa-line: rgba(255, 255, 255, 0.12);
  --pa-mut: rgba(255, 255, 255, 0.5);
  --pa-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  background: transparent;
  padding-bottom: 96px;
}
.pa-body { padding: 0 72px; }

/* ----- Filter bar (matches the Work page) ----- */
.pa-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 28px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--pa-line);
}
.pa-filter {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  background: transparent;
  color: var(--pa-mut);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.pa-filter:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.pa-filter.is-active { color: #12100d; background: #fff; border-color: #fff; }
.pa-filter-n { font-size: 10px; letter-spacing: 0.06em; opacity: 0.6; }

/* ----- Grid ----- */
.pa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pa-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--pa-ease), transform 0.7s var(--pa-ease);
}
.pa-item.is-in { opacity: 1; transform: translateY(0); }
.pa-item.is-filtered { display: none; }

/* An open project spans the full row so its detail has room */
.pa-item.is-open { grid-column: 1 / -1; }

/* ----- Card face ----- */
.pa-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1712;
  cursor: pointer;
  transition: aspect-ratio 0.5s var(--pa-ease);
}
.pa-item.is-open .pa-card { aspect-ratio: 21 / 9; }

.pa-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.7s var(--pa-ease), opacity 0.3s ease;
}
.pa-card:hover .pa-thumb { transform: scale(1); opacity: 0.9; }
.pa-item.is-open .pa-thumb { transform: scale(1); opacity: 0.75; }

.pa-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 40px 18px 16px;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}
.pa-card-title {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.pa-card-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Plus indicator, rotates when open */
.pa-card-ind {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 15px;
  height: 15px;
  transition: transform 0.5s var(--pa-ease);
}
.pa-card-ind::before,
.pa-card-ind::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
}
.pa-card-ind::before {
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}
.pa-card-ind::after {
  top: 0; bottom: 0; left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
}
.pa-item.is-open .pa-card-ind { transform: rotate(45deg); }

/* ----- Expanding panel ----- */
.pa-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--pa-ease);
}
.pa-item.is-open .pa-panel { grid-template-rows: 1fr; }
.pa-panel-in { overflow: hidden; min-height: 0; }

.pa-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 28px 4px 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s var(--pa-ease) 0.15s;
}
.pa-item.is-open .pa-detail { opacity: 1; transform: translateY(0); }

/* ----- Structured record ----- */
.pa-facts { display: flex; flex-direction: column; }
.pa-row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pa-row:first-child { padding-top: 0; }
.pa-row--note { border-bottom: 0; }
.pa-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pa-mut);
}
.pa-value {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
}
.pa-row--note .pa-value {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.pa-dur {
  color: var(--pa-mut);
  font-size: 12px;
  margin-left: 6px;
}

/* Role tags */
.pa-tag {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ----- Media strip ----- */
.pa-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-content: start;
}
.pa-play, .pa-still {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #1a1712;
  cursor: pointer;
}
.pa-play img, .pa-still img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.6s var(--pa-ease), opacity 0.3s ease;
}
.pa-play:hover img, .pa-still:hover img { transform: scale(1); opacity: 0.9; }
/* .fw-play (the circular play button) is styled in section 5 */
.pa-play .fw-play { width: 44px; height: 44px; }
.pa-play .fw-play::after { border-width: 7px 0 7px 12px; }

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .pa-body { padding: 0 40px; }
  .pa-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pa-detail { grid-template-columns: 1fr; gap: 28px; }
  .pa-row { grid-template-columns: 100px 1fr; gap: 14px; }
}
@media (max-width: 767px) {
  .pa { padding-bottom: 64px; }
  .pa-body { padding: 0 24px; }
  .pa-grid { grid-template-columns: 1fr; gap: 16px; }
  .pa-filters { gap: 8px; padding-bottom: 20px; margin-bottom: 28px; }
  .pa-filter { padding: 8px 16px; font-size: 11px; }
  .pa-item.is-open .pa-card { aspect-ratio: 16 / 9; }
  .pa-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 11px 0;
  }
  .pa-media { grid-template-columns: 1fr; }
  .pa-detail { padding: 22px 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .pa-item, .pa-detail, .pa-panel, .pa-card, .pa-thumb,
  .pa-play img, .pa-still img, .pa-card-ind {
    transition: none;
  }
  .pa-item { opacity: 1; transform: none; }
}
/* =========================================================
   PROJECT ARCHIVE — CPT ADDITIONS
   Append these few rules to the existing section 12 block
   in assets/custom.css. Everything else stays as it is.
   ========================================================= */

/* Empty state, shown before any projects are published */
.pa-empty {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  letter-spacing: 0.06em;
  margin: 0;
}

/* Crew size reads as data, not prose — slightly muted */
.pa-row .pa-value time { color: rgba(255, 255, 255, 0.85); }
/* =========================================================
   13. PROFILE (pf) + 14. GEAR (gr)
   Append to the bottom of assets/custom.css.
   Same tokens as the rest of the site: hairline rules,
   uppercase tracking, restrained reveals.
   ========================================================= */


/* =========================================================
   13. PROFILE
   ========================================================= */

.pf {
  --pf-line: rgba(255, 255, 255, 0.12);
  --pf-mut: rgba(255, 255, 255, 0.5);
  --pf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  background: transparent;
}

/* ----- Hero video ----- */
.pf-hero {
  position: relative;
  height: 62vh;
  min-height: 380px;
  overflow: hidden;
  background: #000;
}
.pf-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pf-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(12, 12, 12, 0.95) 100%);
  pointer-events: none;
}
.pf-hero-text {
  position: absolute;
  left: 72px;
  bottom: 56px;
  z-index: 2;
}
.pf-hero-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.pf-hero-name {
  margin: 0;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}
.pf-hero-role {
  margin: 14px 0 0;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ----- Body ----- */
.pf-body { padding: 0 72px 96px; }

.pf-sec {
  padding: 56px 0;
  border-bottom: 1px solid var(--pf-line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--pf-ease), transform 0.8s var(--pf-ease);
}
.pf-sec.is-in { opacity: 1; transform: translateY(0); }
.pf-sec:last-of-type { border-bottom: 0; }

.pf-sec-title {
  margin: 0 0 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pf-mut);
}

/* ----- Introduction ----- */
.pf-intro { max-width: 760px; }
.pf-lead {
  margin: 0 0 22px;
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}
.pf-para {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.65);
}
.pf-para:last-child { margin-bottom: 0; }

/* ----- Skills ----- */
.pf-skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 64px;
}
.pf-skillhead {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* ----- Timeline (Experience / Education / Recognition) ----- */
.pf-timeline { display: flex; flex-direction: column; }
.pf-entry {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pf-entry:first-child { border-top: 0; padding-top: 0; }
.pf-when {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pf-mut);
  padding-top: 2px;
}
.pf-role {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}
.pf-org {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}
.pf-points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.pf-points li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}
.pf-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.pf-points li:last-child { margin-bottom: 0; }

/* ----- Filmography ----- */
.pf-credits { display: flex; flex-direction: column; }
.pf-credit {
  display: grid;
  grid-template-columns: 80px 1.4fr 1.6fr 140px;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: background 0.3s ease, padding 0.3s var(--pf-ease);
}
.pf-credit:first-child { border-top: 0; }
.pf-credit:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 10px;
}
.pf-credit-year {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--pf-mut);
}
.pf-credit-title {
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.01em;
}
.pf-credit-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.pf-credit-type {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
}

.pf-more {
  display: inline-block;
  margin-top: 26px;
  color: var(--pf-mut);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.pf-more:hover { color: #fff; border-color: #fff; }
/* =========================================================
   PROFILE — holding line for sections not yet populated.
   Add this to the Profile block (section 13) in custom.css,
   just after the .pf-more rule.
   ========================================================= */

.pf-pending {
  margin: 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
}

/* ----- CTA ----- */
.pf-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding-top: 56px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--pf-ease), transform 0.8s var(--pf-ease);
}
.pf-cta.is-in { opacity: 1; transform: translateY(0); }
.pf-cta-btn {
  padding: 14px 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.pf-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
.pf-cta-link {
  color: var(--pf-mut);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease;
}
.pf-cta-link:hover { color: #fff; }

/* ----- Profile responsive ----- */
@media (max-width: 980px) {
  .pf-hero { height: 52vh; }
  .pf-hero-text { left: 40px; bottom: 44px; }
  .pf-body { padding: 0 40px 72px; }
  .pf-sec { padding: 44px 0; }
  .pf-skills { gap: 30px 40px; }
  .pf-entry { grid-template-columns: 150px 1fr; gap: 24px; }
  .pf-credit { grid-template-columns: 70px 1fr 1fr; gap: 16px; }
  .pf-credit-type { display: none; }
}
@media (max-width: 767px) {
  .pf-hero { height: 46vh; min-height: 300px; }
  .pf-hero-text { left: 24px; bottom: 32px; }
  .pf-body { padding: 0 24px 56px; }
  .pf-sec { padding: 36px 0; }
  .pf-sec-title { margin-bottom: 24px; }
  .pf-skills { grid-template-columns: 1fr; gap: 26px; }
  .pf-entry {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }
  .pf-credit {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }
  .pf-credit:hover { padding-left: 0; }
  .pf-cta { padding-top: 40px; gap: 20px; }
}


/* =========================================================
   14. GEAR
   ========================================================= */

.gr {
  --gr-line: rgba(255, 255, 255, 0.12);
  --gr-mut: rgba(255, 255, 255, 0.5);
  --gr-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  background: transparent;
  padding-bottom: 96px;
  overflow: hidden;         /* floats can overspill safely */
}

.gr-body {
  position: relative;
  padding: 0 72px;
  max-width: 1500px;
}

.gr-intro {
  max-width: 640px;
  margin: 0 0 56px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--gr-ease), transform 0.8s var(--gr-ease);
}
.gr-intro.is-in { opacity: 1; transform: translateY(0); }

/* ----- Kit sections — deliberately narrow so the floating
   images have room to sit beside them ----- */
.gr-sec {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--gr-ease), transform 0.8s var(--gr-ease);
}
.gr-sec.is-in { opacity: 1; transform: translateY(0); }

/* Alternate sides so the page reads as a column that shifts */
.gr-sec:nth-of-type(even) { margin-left: auto; }

.gr-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--gr-line);
}
.gr-sec-title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
.gr-sec-n {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
}

.gr-list { margin: 0; padding: 0; list-style: none; }
.gr-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.gr-item:last-child { border-bottom: 0; }
.gr-name {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}
.gr-note {
  font-size: 12px;
  color: var(--gr-mut);
  text-align: right;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  max-width: 45%;
}

/* Inline variant for the "on request" list */
.gr-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
}
.gr-list--inline .gr-item {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
}
.gr-list--inline .gr-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.gr-sec--muted .gr-sec-title { color: rgba(255, 255, 255, 0.7); }
.gr-note-line {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 520px;
}

/* ----- Floating images ----- */
.gr-float {
  position: absolute;
  z-index: 1;
  width: 30%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  pointer-events: none;
}
.gr-float--a { right: 72px; top: 18%; }
.gr-float--b { left: 72px;  top: 46%; width: 26%; aspect-ratio: 4 / 5; }
.gr-float--c { right: 88px; top: 72%; width: 28%; }

.gr-float [data-gr-floatimg] {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  bottom: -12%;
}
.gr-float [data-gr-floatimg] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- CTA ----- */
.gr-cta {
  position: relative;
  z-index: 2;
  padding-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--gr-ease), transform 0.8s var(--gr-ease);
}
.gr-cta.is-in { opacity: 1; transform: translateY(0); }
.gr-cta-btn {
  display: inline-block;
  padding: 14px 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.gr-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* ----- Gear responsive ----- */
@media (max-width: 1200px) {
  .gr-float { width: 26%; }
  .gr-float--a { right: 40px; }
  .gr-float--b { left: 40px; }
  .gr-float--c { right: 52px; }
}
@media (max-width: 980px) {
  .gr-body { padding: 0 40px; }
  .gr-sec { max-width: 100%; margin-bottom: 48px; }
  .gr-sec:nth-of-type(even) { margin-left: 0; }
  /* Floating images become inline blocks between the lists */
  .gr-float {
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 48px;
    transform: none !important;
  }
  .gr-float [data-gr-floatimg] {
    top: 0; bottom: 0;
    transform: none !important;
  }
}
@media (max-width: 767px) {
  .gr { padding-bottom: 64px; }
  .gr-body { padding: 0 24px; }
  .gr-intro { margin-bottom: 40px; font-size: 15px; }
  .gr-sec { margin-bottom: 40px; }
  .gr-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 12px 0;
  }
  .gr-note { text-align: left; max-width: 100%; }
  .gr-list--inline .gr-item { flex-direction: row; padding: 6px 14px; }
  .gr-float { aspect-ratio: 4 / 3; margin-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-sec, .pf-cta, .gr-sec, .gr-intro, .gr-cta {
    opacity: 1; transform: none; transition: none;
  }
  .gr-float, .gr-float [data-gr-floatimg] { transform: none !important; }
  .pf-hero-video { display: none; }
}
/* =========================================================
   15. CONTACT PAGE (ct)
   Append to the bottom of assets/custom.css.

   Quiet and editorial: one large statement, direct lines that
   respond on hover, and a short grid of practical notes.
   ========================================================= */

.ct {
  --ct-line: rgba(255, 255, 255, 0.12);
  --ct-mut: rgba(255, 255, 255, 0.5);
  --ct-accent: #d98b6a;          /* same warm ember as the landing contact */
  --ct-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  background: transparent;
  padding: 0 72px 110px;
}

/* Shared reveal */
[data-ct-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ct-ease), transform 0.9s var(--ct-ease);
}
[data-ct-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ----- Statement ----- */
.ct-hero {
  padding: 150px 0 88px;
  max-width: 1100px;
}
.ct-eyebrow {
  margin: 0 0 26px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ct-mut);
}
.ct-statement {
  margin: 0;
  font-size: clamp(44px, 7.5vw, 108px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: #fff;
}
.ct-statement em {
  font-style: italic;
  color: var(--ct-accent);
}
.ct-lead {
  margin: 44px 0 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  text-wrap: pretty;
}

/* ----- Direct lines ----- */
.ct-lines {
  border-top: 1px solid var(--ct-line);
  margin-bottom: 88px;
}
.ct-line {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ct-line);
  text-decoration: none;
  transition: padding 0.45s var(--ct-ease), background 0.35s ease;
}
.ct-line:hover {
  background: rgba(255, 255, 255, 0.02);
  padding-left: 16px;
  padding-right: 16px;
}
.ct-line-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ct-mut);
  transition: color 0.3s ease;
}
.ct-line:hover .ct-line-label { color: rgba(255, 255, 255, 0.75); }
.ct-line-value {
  font-size: clamp(18px, 2vw, 26px);
  color: #fff;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}
.ct-line:hover .ct-line-value { color: var(--ct-accent); }
.ct-line-arrow {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease, transform 0.4s var(--ct-ease);
}
.ct-line:hover .ct-line-arrow {
  color: #fff;
  transform: translate(4px, -4px);
}

/* ----- Practical notes ----- */
.ct-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--ct-line);
}
.ct-note-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ct-mut);
}
.ct-note-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
}

/* ----- CTA ----- */
.ct-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
  padding-top: 64px;
}
.ct-cta-btn {
  padding: 16px 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.ct-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
.ct-cta-link {
  color: var(--ct-mut);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.ct-cta-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .ct { padding: 0 40px 84px; }
  .ct-hero { padding: 120px 0 64px; }
  .ct-lead { margin-top: 34px; }
  .ct-lines { margin-bottom: 64px; }
  .ct-line { grid-template-columns: 150px 1fr auto; gap: 22px; padding: 24px 0; }
  .ct-notes { grid-template-columns: repeat(2, 1fr); gap: 36px 40px; padding-bottom: 60px; }
  .ct-cta { padding-top: 48px; }
}
@media (max-width: 767px) {
  .ct { padding: 0 24px 64px; }
  .ct-hero { padding: 96px 0 48px; }
  .ct-eyebrow { margin-bottom: 18px; }
  .ct-lead { margin-top: 26px; font-size: 15px; }
  .ct-lines { margin-bottom: 48px; }
  .ct-line {
    grid-template-columns: 1fr auto;
    grid-template-areas: "label arrow" "value value";
    gap: 6px 16px;
    padding: 20px 0;
  }
  .ct-line-label { grid-area: label; }
  .ct-line-value { grid-area: value; font-size: 19px; }
  .ct-line-arrow { grid-area: arrow; }
  .ct-line:hover { padding-left: 0; padding-right: 0; }
  .ct-notes { grid-template-columns: 1fr; gap: 30px; padding-bottom: 44px; }
  .ct-cta { padding-top: 40px; gap: 24px; }
  .ct-cta-btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  [data-ct-reveal] { opacity: 1; transform: none; transition: none; }
  .ct-line, .ct-line-arrow { transition: none; }
}
/* =========================================================
   16. 404 PAGE (e4)
   Append to the bottom of assets/custom.css.
   Same language as the rest of the site: mask-revealed
   display type, hairline rows, restrained motion.
   ========================================================= */

.e4 {
  --e4-line: rgba(255, 255, 255, 0.12);
  --e4-mut: rgba(255, 255, 255, 0.5);
  --e4-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  background: transparent;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 72px 96px;
}
.e4-inner { width: 100%; max-width: 1100px; }

/* ----- 404 marker ----- */
.e4-code {
  margin: 0 0 26px;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--e4-mut);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s var(--e4-ease);
}
.e4.is-in .e4-code { opacity: 1; transform: translateY(0); }

/* ----- Display title, revealed line by line ----- */
.e4-title {
  margin: 0;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: uppercase;
}
.e4-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.e4-inner-line {
  display: block;
  transform: translateY(115%);
  transition: transform 1.05s var(--e4-ease);
}
.e4.is-in .e4-inner-line { transform: translateY(0); }
.e4-line:nth-child(2) .e4-inner-line { transition-delay: 0.09s; }
.e4-line:nth-child(3) .e4-inner-line { transition-delay: 0.18s; }

/* ----- Lead ----- */
.e4-lead {
  margin: 36px 0 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.35s, transform 0.8s var(--e4-ease) 0.35s;
}
.e4.is-in .e4-lead { opacity: 1; transform: translateY(0); }

/* ----- Links ----- */
.e4-links {
  margin-top: 56px;
  border-top: 1px solid var(--e4-line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s var(--e4-ease) 0.5s;
}
.e4.is-in .e4-links { opacity: 1; transform: translateY(0); }

.e4-link {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--e4-line);
  text-decoration: none;
  transition: padding 0.4s var(--e4-ease), background 0.3s ease;
}
.e4-link:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 14px;
}
.e4-link-name {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.e4-link-note {
  font-size: 13px;
  color: var(--e4-mut);
  transition: color 0.3s ease;
}
.e4-link:hover .e4-link-note { color: rgba(255, 255, 255, 0.8); }

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .e4 { padding: 120px 40px 72px; }
  .e4-lead { margin-top: 30px; }
  .e4-links { margin-top: 44px; }
  .e4-link { grid-template-columns: 170px 1fr; gap: 20px; }
}
@media (max-width: 767px) {
  .e4 { padding: 100px 24px 56px; min-height: 88vh; }
  .e4-lead { margin-top: 24px; font-size: 14px; }
  .e4-links { margin-top: 36px; }
  .e4-link {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }
  .e4-link:hover { padding-left: 0; }
  .e4-link-name { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .e4-code, .e4-lead, .e4-links {
    opacity: 1; transform: none; transition: none;
  }
  .e4-inner-line { transform: none; transition: none; }
}
/* =========================================================
   17. LEGAL PAGES (lg)
   Append to the bottom of assets/custom.css.
   Reusable for Privacy Policy, Terms, or anything else that
   is mostly text. Narrow measure, quiet type, no animation —
   these pages are for reading, not for effect.
   ========================================================= */

.lg {
  --lg-line: rgba(255, 255, 255, 0.12);
  --lg-mut: rgba(255, 255, 255, 0.5);
  position: relative;
  background: transparent;
  padding: 150px 72px 110px;
}

/* ----- Header ----- */
.lg-head {
  max-width: 760px;
  padding-bottom: 40px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--lg-line);
}
.lg-eyebrow {
  margin: 0 0 20px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lg-mut);
}
.lg-title {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #fff;
}
.lg-updated {
  margin: 20px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

/* ----- Body: a comfortable reading measure ----- */
.lg-body { max-width: 680px; }

.lg-sec { margin-bottom: 44px; }
.lg-sec:last-child { margin-bottom: 0; }

.lg-h {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lg-mut);
}

.lg-body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}
.lg-body p:last-child { margin-bottom: 0; }

.lg-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.lg-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}
.lg-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 7px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.lg-list li:last-child { margin-bottom: 0; }
.lg-list strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.lg-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.25s ease;
}
.lg-link:hover { border-bottom-color: #fff; color: #fff; }

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .lg { padding: 120px 40px 84px; }
  .lg-head { padding-bottom: 32px; margin-bottom: 44px; }
}
@media (max-width: 767px) {
  .lg { padding: 100px 24px 64px; }
  .lg-head { padding-bottom: 26px; margin-bottom: 36px; }
  .lg-eyebrow { margin-bottom: 14px; }
  .lg-updated { margin-top: 16px; }
  .lg-sec { margin-bottom: 36px; }
  .lg-body p, .lg-list li { font-size: 14px; }
}