/* ============================================================
   POINT CLOUD VISUALS · shared site styles
   Used by Work / About / Approach / Contact.
   Home.html keeps its own (older) inline styles so it isn't
   touched here.
   ============================================================ */

:root{
  --bg:           #09090B;
  --bg-2:         #111114;
  --brass:        #B89968;
  --brass-soft:   #C9AC7E;
  --brass-deep:   #8E7449;
  --text:         #F5F1EA;
  --text-2:       #E8E0D5;
  --steel:        #8B9BA8;
  --hair:         rgba(255,255,255,0.08);
  --hair-strong:  rgba(255,255,255,0.14);

  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans:  "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SF Mono", "Menlo", monospace;

  --maxw: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }
/* Anchor target for the persistent bottom CTA, keep it clear of the sticky nav */
#cta{ scroll-margin-top: 80px; }
html, body{ margin:0; padding:0; background: var(--bg); color: var(--text); }
body{
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }
img, svg{ display: block; max-width: 100%; }

::selection{ background: rgba(184,153,104,0.35); color: var(--text); }

/* ─────────────────────── NAV ─────────────────────── */
.nav-wrap{
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,14,16,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hair);
  transition: background .35s ease, border-color .35s ease;
}
.nav-wrap.is-scrolled{
  background: rgba(14,14,16,0.92);
  border-bottom-color: var(--hair-strong);
}
.nav{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand{
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.nav-brand .mark{
  width: 32px; height: 32px;
  display: block;
  object-fit: contain;
  /* Subtle brass tint on hover, otherwise stays pure white for legibility */
  transition: filter .25s ease, transform .25s ease;
  flex: none;
}
.nav-brand:hover .mark{
  filter:
    drop-shadow(0 0 12px rgba(184,153,104,0.45))
    drop-shadow(0 0 2px rgba(184,153,104,0.6));
}
.nav-brand .wordmark{
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}
.nav-links{
  display: flex; gap: 36px;
  font-size: 13.5px;
  color: var(--text-2);
}
.nav-links a{
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a:hover{ color: var(--text); }
.nav-links a.is-active{ color: var(--text); }
.nav-links a.is-active::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px;
  height:1px; background: var(--brass);
}
.nav-cta{
  background: var(--brass);
  color: #1a1408;
  border: 0;
  padding: 11px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover{ background: var(--brass-soft); }
.nav-hamburger{
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--hair-strong);
  border-radius: 4px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  position: relative; z-index: 95;
}
.nav-hamburger span{
  display:block; width: 18px; height: 1.5px; background: var(--text-2);
  border-radius: 2px;
  transition: transform .32s cubic-bezier(.2,.7,.2,1), opacity .2s ease, background .2s ease;
}
/* Animate to an X while the drawer is open */
.nav-hamburger.is-open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); background: var(--brass); }
.nav-hamburger.is-open span:nth-child(2){ opacity: 0; }
.nav-hamburger.is-open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); background: var(--brass); }
@media (max-width: 810px){
  .nav-links, .nav-cta{ display: none; }
  .nav-hamburger{ display: flex; }
}

/* ─────────────────────── SLIDE-IN MOBILE MENU ───────────────────────
   Built once by enhance.js (cloning the nav links + CTA), appended to
   <body> on every page. Visible only ≤810px (the breakpoint where the
   inline nav links collapse). Right-side drawer + dim backdrop, brass
   accents, generous tap targets. Fully keyboard + Esc closable. */
.mnav{
  position: fixed; inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
}
.mnav__backdrop{
  position: absolute; inset: 0;
  background: rgba(6,6,10,0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .4s ease;
}
.mnav__panel{
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  background: rgba(13,13,16,0.98);
  border-left: 1px solid var(--hair-strong);
  box-shadow: -30px 0 80px -30px rgba(0,0,0,0.7);
  transform: translateX(101%);
  transition: transform .44s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
  padding: clamp(22px, 5vw, 32px);
  padding-top: max(clamp(22px, 5vw, 32px), env(safe-area-inset-top));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* subtle on-brand dot field at the panel's foot */
.mnav__panel::after{
  content:""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(184,153,104,0.10) 1px, transparent 1.5px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, transparent, #000);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
  pointer-events: none;
}
.mnav.is-open{ visibility: visible; pointer-events: auto; }
.mnav.is-open .mnav__backdrop{ opacity: 1; }
.mnav.is-open .mnav__panel{ transform: translateX(0); }

.mnav__top{
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(26px, 5vh, 40px);
}
.mnav__eyebrow{
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 12px;
}
.mnav__eyebrow .bar{
  display: inline-block; width: 22px; height: 1px;
  background: var(--brass); opacity: 0.6;
}
.mnav__close{
  width: 44px; height: 44px;
  flex: none;
  background: transparent;
  border: 1px solid var(--hair-strong);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: border-color .2s ease;
}
.mnav__close:hover{ border-color: var(--brass); }
.mnav__close span{
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1.5px; background: var(--text-2);
  border-radius: 2px;
}
.mnav__close span:nth-child(1){ transform: translate(-50%,-50%) rotate(45deg); }
.mnav__close span:nth-child(2){ transform: translate(-50%,-50%) rotate(-45deg); }
.mnav__close:hover span{ background: var(--brass); }

.mnav__links{
  display: flex; flex-direction: column;
  position: relative;
  z-index: 1;
}
.mnav__links a{
  display: flex; align-items: center; gap: 14px;
  min-height: 56px;
  padding: 6px 2px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 7vw, 32px);
  letter-spacing: -0.01em;
  color: var(--text);
  border-bottom: 1px solid var(--hair);
  transition: color .2s ease, padding-left .25s ease;
}
.mnav__links a .idx{
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--steel);
  width: 2.2ch;
  flex: none;
}
.mnav__links a:hover,
.mnav__links a:focus-visible{ color: var(--brass); padding-left: 8px; }
.mnav__links a.is-active{ color: var(--brass); }
.mnav__links a.is-active .idx{ color: var(--brass); }

.mnav__foot{
  margin-top: auto;
  padding-top: clamp(26px, 5vh, 38px);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  z-index: 1;
}
.mnav__cta{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 4px;
  background: var(--brass);
  color: #1a1408;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background .2s ease;
}
.mnav__cta:hover{ background: var(--brass-soft); }
.mnav__meta{
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}
.mnav__meta a{ color: var(--text-2); transition: color .2s ease; }
.mnav__meta a:hover{ color: var(--brass); }

/* Lock background scroll while the drawer is open */
body.mnav-lock{ overflow: hidden; }

/* Safety: never show the drawer on desktop even if a stale class lingers */
@media (min-width: 811px){
  .mnav{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .mnav__panel{ transition: none; }
  .mnav__backdrop{ transition: none; }
  .nav-hamburger span{ transition: none; }
}

/* ─────────────────────── PAGE HEADER ─────────────────────── */
/* Reusable page intro, title block at top of inner pages. */
.page-hero{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) var(--pad-x) clamp(32px, 4.5vh, 52px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  border-bottom: 1px solid var(--hair);
  position: relative;
}
.page-hero::after{
  content:""; position: absolute; left: var(--pad-x); right: var(--pad-x);
  bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,153,104,0.7) 25%, rgba(184,153,104,0.85) 50%, rgba(184,153,104,0.6) 75%, transparent);
  opacity: 0.6;
}
.ph-eyebrow{
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.ph-eyebrow .num{ color: var(--steel); opacity: 0.8; }
.ph-eyebrow .bar{
  display: inline-block; width: 22px; height: 1px;
  background: var(--brass); opacity: 0.6;
}
.page-hero h1{
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero h1 em{ font-style: italic; font-weight: 300; color: var(--text); }
.page-hero h1 .brass{ color: var(--brass); font-style: italic; }
.page-hero .lede{
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 52ch;
  margin: 0 0 4px;
}
.page-hero .lede + .lede{ margin-top: 14px; opacity: 0.85; }
.page-hero .meta-row{
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}
.page-hero .meta-row b{
  color: var(--text-2);
  font-weight: 500;
  margin-left: 8px;
}
@media (max-width: 900px){
  .page-hero{ grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .page-hero h1{ max-width: none; }
}

/* ─────────────────────── SECTION SHELL ─────────────────────── */
.section{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(38px, 5.5vh, 64px) var(--pad-x);
  position: relative;
}
.section + .section{ border-top: 1px solid var(--hair); }

.section-head{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(26px, 3.8vh, 50px);
}
.section-eyebrow{
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 12px;
}
.section-eyebrow .num{ color: var(--steel); opacity: 0.8; }
.section-eyebrow .bar{
  display: inline-block; width: 22px; height: 1px;
  background: var(--brass); opacity: 0.6;
}
h2.section-title{
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 14px 0 0;
  color: var(--text);
  max-width: 20ch;
  text-wrap: balance;
}
h2.section-title em{ font-style: italic; font-weight: 300; color: var(--brass); }
.section-lede{
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 0 0 auto;
}
@media (max-width: 900px){
  .section-head{ grid-template-columns: 1fr; align-items: start; gap: 18px; }
  h2.section-title{ max-width: none; }
}

/* ─────────────────────── BUTTONS ─────────────────────── */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  font-family: var(--sans);
  white-space: nowrap;
}
.btn .arrow{ transition: transform .25s ease; display: inline-block; }
.btn:hover .arrow{ transform: translateX(3px); }
.btn-primary{
  background: var(--brass);
  color: #1a1408;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary:hover{ background: var(--brass-soft); }
.btn-primary::before{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 35%,
    rgba(255,255,255,0.35) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: 1;
}
.btn-primary:hover::before{ transform: translateX(120%); }
.btn-primary > *{ position: relative; z-index: 2; }
.btn-secondary{
  background: transparent;
  color: var(--text);
  border-color: var(--steel);
}
.btn-secondary:hover{
  border-color: var(--text);
  background: rgba(139,155,168,0.06);
}
.btn-ghost{
  background: transparent;
  color: var(--text-2);
  border-color: var(--hair-strong);
}
.btn-ghost:hover{ border-color: var(--brass); color: var(--text); }
.text-link{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--brass);
  width: max-content;
}
.text-link .arr{ transition: transform .25s ease; }
.text-link:hover .arr{ transform: translateX(3px); }

/* ─────────────────────── FINAL CTA ─────────────────────── */
.final-section{
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: radial-gradient(60% 80% at 50% 0%, rgba(184,153,104,0.06), transparent 70%);
  position: relative;
}
.final-section .section{
  padding-top: clamp(40px, 5.5vh, 68px);
  padding-bottom: clamp(40px, 5.5vh, 68px);
  text-align: center;
}
.final-eyebrow{
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
}
.final-eyebrow .sep{ display: inline-block; width: 28px; height: 1px; background: var(--brass); opacity: 0.55; }
h2.final-title{
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 22ch;
  color: var(--text);
  text-wrap: balance;
}
h2.final-title em{ font-style: italic; color: var(--brass); font-weight: 300; }
.final-body{
  margin: clamp(28px, 4vh, 40px) auto 0;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
}
.final-buttons{
  margin-top: clamp(32px, 5vh, 48px);
  display: inline-flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}
.final-foot{
  margin-top: 32px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}
.final-foot a{
  color: var(--text-2);
  border-bottom: 1px solid var(--hair-strong);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.final-foot a:hover{ color: var(--brass); border-color: var(--brass); }

/* Phone: stack the final-CTA buttons full-width so the primary action is
   an easy, edge-to-edge tap target. */
@media (max-width: 520px){
  .final-buttons{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
  }
  .final-buttons .btn{
    width: 100%;
    justify-content: center;
    min-height: 50px;
  }
}

/* ─────────────────────── FOOTER ─────────────────────── */
.footer{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px var(--pad-x);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}
.footer .legal{ color: rgba(232,224,213,0.45); }
.footer .nav-mini{ display: flex; gap: 24px; }
.footer .nav-mini a{ transition: color .2s ease; }
.footer .nav-mini a:hover{ color: var(--text-2); }

/* ─────────────────────── POINT-FIELD (utility) ─────────────────────── */
/* Reusable subtle point-cloud-ish dot field for placeholder posters. */
.pf-bg{
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(245,241,234,0.10) 1px, transparent 1.5px),
    radial-gradient(circle at 1px 1px, rgba(184,153,104,0.14) 1px, transparent 1.5px);
  background-size: 22px 22px, 64px 64px;
  background-position: 0 0, 11px 11px;
  mask-image: radial-gradient(120% 80% at 50% 45%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 45%, #000 30%, transparent 80%);
}
.vig-bg{
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 100%, rgba(0,0,0,0.55), transparent 60%);
  pointer-events: none;
}

/* ─────────────────────── SHARED ANIMATIONS ─────────────────────── */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in{ opacity: 1; transform: translateY(0); }
.reveal.delay-1{ transition-delay: .08s; }
.reveal.delay-2{ transition-delay: .16s; }
.reveal.delay-3{ transition-delay: .24s; }
.reveal.delay-4{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* tiny stagger for inner-section grids */
.stagger > *{ opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.stagger.is-in > *{ opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(1){ transition-delay: .05s; }
.stagger.is-in > *:nth-child(2){ transition-delay: .12s; }
.stagger.is-in > *:nth-child(3){ transition-delay: .19s; }
.stagger.is-in > *:nth-child(4){ transition-delay: .26s; }
.stagger.is-in > *:nth-child(5){ transition-delay: .33s; }
.stagger.is-in > *:nth-child(6){ transition-delay: .40s; }

/* ─────────────────────── REVEAL VARIANTS ─────────────────────── */
/* Slide-in variants, direction-aware */
.reveal-left{
  opacity: 0;
  transform: translateX(-26px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal-left.is-in{ opacity: 1; transform: translateX(0); }
.reveal-right{
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal-right.is-in{ opacity: 1; transform: translateX(0); }

/* Slight scale-in, for large hero-ish cards */
.reveal-zoom{
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
  transform-origin: center;
}
.reveal-zoom.is-in{ opacity: 1; transform: scale(1); }

/* Blur-in for serif titles */
.reveal-blur{
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), filter 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.reveal-blur.is-in{ opacity: 1; filter: blur(0); transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal-left, .reveal-right, .reveal-zoom, .reveal-blur{
    opacity: 1; transform: none; filter: none; transition: none;
  }
}

/* ─────────────────────── HOVER ZOOM (posters, imagery) ─────────────────────── */
/* Apply .zoom-host to a wrapper with overflow:hidden, and .zoom-target
   to the layer to scale. Subtle, brand-credible (engineering, not Instagram). */
.zoom-host{ overflow: hidden; isolation: isolate; }
.zoom-target{
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease;
  will-change: transform;
}
.zoom-host:hover .zoom-target,
.zoom-host:focus-within .zoom-target{
  transform: scale(1.05);
}

/* ─────────────────────── LIFT ON HOVER ─────────────────────── */
/* Generic card lift. Combine with shadows/borders defined per-component. */
.lift{
  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    border-color .35s ease,
    background .35s ease,
    box-shadow .35s ease;
  will-change: transform;
}
.lift:hover{
  transform: translateY(-4px);
}
.lift-strong{
  transition:
    transform .4s cubic-bezier(.2,.7,.2,1),
    border-color .35s ease,
    background .35s ease,
    box-shadow .4s ease;
  will-change: transform;
}
.lift-strong:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}

/* ─────────────────────── SUBTLE FLOAT (icons, marks) ─────────────────────── */
.float-soft{
  animation: floatSoft 6s ease-in-out infinite;
}
@keyframes floatSoft{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce){
  .float-soft{ animation: none; }
}

/* ─────────────────────── BRASS UNDERLINE ON LINK HOVER ─────────────────────── */
.brass-underline{
  position: relative;
  display: inline-block;
}
.brass-underline::after{
  content:""; position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.brass-underline:hover::after{ transform: scaleX(1); }

/* ─────────────────────── SECTION INTRO HAIRLINE ─────────────────────── */
/* A thin brass line that scales from left to right across the top of a section
   the moment it enters viewport. Adds a "page reading" feel. */
.has-intro{ position: relative; }
.has-intro::before{
  content:"";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(184,153,104,0.55) 35%,
    rgba(184,153,104,0.85) 50%,
    rgba(184,153,104,0.55) 65%,
    transparent 100%);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: 1;
}
.has-intro.is-in::before{ transform: scaleX(1); }
@media (prefers-reduced-motion: reduce){
  .has-intro::before{ transform: scaleX(1); transition: none; }
}

/* ─────────────────────── WORD-BY-WORD TITLE REVEAL ─────────────────────── */
/* Wrap word spans with JS; each word fades+rises with a stagger */
.word-reveal .w{
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.word-reveal.is-in .w{ opacity: 1; transform: translateY(0); }
.word-reveal .w{ transition-delay: calc(var(--i, 0) * 60ms + 200ms); }
@media (prefers-reduced-motion: reduce){
  .word-reveal .w{ opacity: 1; transform: none; transition: none; }
}

/* ─────────────────────── DEEP-HOVER GLOW (featured / pricing cards) ─────────────────────── */
.glow-host{
  position: relative;
  isolation: isolate;
}
.glow-host::before{
  content:"";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(120% 80% at var(--mx, 50%) var(--my, 0%), rgba(184,153,104,0.16), transparent 50%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: -1;
}
.glow-host:hover::before{ opacity: 1; }

/* ─────────────────────── COUNTER (text reset for animated count) ─────────────────────── */
.counter{
  display: inline-block;
  font-variant-numeric: tabular-nums;
}


/* ============================================================
   2026 CINEMATIC REFRESH
   - Film grain overlay (cinematic studio signature, 2026)
   - Scroll-progress hairline at top of viewport
   - Tightened architectural radii (away from soft-SaaS pill cards)
   - Cross-page view-transition crossfade (modern browsers)
   - Optional dataset readout marquee module
   ============================================================ */

/* Film grain, subtle, fixed, never blocks pointer events */
body::before{
  content:"";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}
@media (prefers-reduced-motion: reduce){
  body::before{ opacity: 0.035; }
}

/* Scroll-progress hairline, created in enhance.js if absent */
.scroll-progress{
  position: fixed; top: 0; left: 0;
  height: 1.5px;
  width: 0;
  background: linear-gradient(90deg,
    transparent,
    rgba(184,153,104,0.6) 30%,
    var(--brass) 60%,
    var(--brass-soft));
  z-index: 100;
  pointer-events: none;
  transition: width .08s linear;
}

/* Architectural radii, pull cards/posters toward sharp 3px,
   keep avatars + pills + play buttons as circles */
.case-card, .case-poster, .hero-right, .about-photo,
.compare-grid, .stat, .pricing-card, .case-thumb,
.tier-card, .index-card, .work-card, .case-pull{
  border-radius: 3px;
}
.case-avatar, .play, .rec-dot{ border-radius: 50%; }

/* Cross-page view transition, soft crossfade.
   `navigation: auto` is disabled: programmatic / interrupted navigations
   leave the UA transition "skipped", which surfaces as an uncatchable
   unhandled promise rejection. The crossfade isn't worth that noise. */
/* @view-transition{ navigation: auto; } */
::view-transition-old(root),
::view-transition-new(root){
  animation-duration: 280ms;
  animation-timing-function: cubic-bezier(.2,.7,.2,1);
}

/* Optional: dataset format marquee strip */
.format-strip{
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
  background: rgba(255,255,255,0.012);
  padding: 16px 0;
  position: relative;
}
.format-strip::before, .format-strip::after{
  content:""; position: absolute; top: 0; bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2; pointer-events: none;
}
.format-strip::before{ left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.format-strip::after{ right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.format-track{
  display: inline-flex;
  white-space: nowrap;
  animation: pcvMarquee 60s linear infinite;
  gap: 48px;
  padding-right: 48px;
}
.format-track > span{
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  flex: none;
}
.format-track > span::after{
  content:""; width: 3px; height: 3px; border-radius: 50%;
  background: var(--brass); opacity: 0.7; flex: none;
}
@keyframes pcvMarquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .format-track{ animation: none; }
}

/* ============================================================
   CUSTOM DOT CURSOR (site-wide, desktop only)
   Brass dot + soft ring. Ring lags; both grow on hover.
   Hidden on touch (handled in JS, no `has-dot-cursor` class added).
   To disable: remove the cursor block from enhance.js.
   ============================================================ */
.has-dot-cursor,
.has-dot-cursor *,
.has-dot-cursor a,
.has-dot-cursor button{
  cursor: none !important;
}
/* Re-enable native cursor inside form fields so typing is comfortable */
.has-dot-cursor input,
.has-dot-cursor textarea,
.has-dot-cursor select,
.has-dot-cursor [contenteditable="true"]{
  cursor: text !important;
}

.dot-cursor-ring,
.dot-cursor-dot{
  position: fixed;
  left: 0; top: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  mix-blend-mode: normal;
}
.dot-cursor-ring{
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(184,153,104,0.55);
  background: rgba(184,153,104,0.04);
  transition: width .25s cubic-bezier(.2,.7,.2,1),
              height .25s cubic-bezier(.2,.7,.2,1),
              background .25s ease,
              border-color .25s ease,
              opacity .2s ease;
}
.dot-cursor-dot{
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 8px rgba(184,153,104,0.55);
  transition: width .2s ease, height .2s ease, opacity .2s ease;
}
.dot-cursor-ring.is-hover{
  width: 48px; height: 48px;
  border-color: var(--brass);
  background: rgba(184,153,104,0.08);
}
.dot-cursor-dot.is-hover{
  width: 6px; height: 6px;
}
@media (prefers-reduced-motion: reduce){
  .has-dot-cursor, .has-dot-cursor *{ cursor: auto !important; }
  .dot-cursor-ring, .dot-cursor-dot{ display: none; }
}

/* ============================================================
   NOW [VERB] HUD CHIP (site-wide, bottom-left)
   Studio-state readout + Melbourne time. Click-through.
   To disable: remove the HUD block from enhance.js.
   ============================================================ */
.pcv-hud{
  position: fixed;
  left: clamp(12px, 2.4vw, 28px);
  bottom: clamp(12px, 2.4vw, 24px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 11px;
  border-radius: 999px;
  background: rgba(14,14,16,0.66);
  border: 1px solid var(--hair-strong);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  /* Translated upward by JS once footer enters viewport, so the chip
     never overlaps the legal/nav-mini line in the footer. */
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.55);
}
.pcv-hud-dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 0 rgba(184,153,104,0.45);
  animation: pcvHudPulse 2.4s ease-in-out infinite;
  flex: none;
}
@keyframes pcvHudPulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(184,153,104,0.45); opacity: 1; }
  50%{ box-shadow: 0 0 0 6px rgba(184,153,104,0); opacity: 0.7; }
}
.pcv-hud-verb{
  color: var(--brass);
  font-weight: 600;
  transition: opacity .22s ease, transform .22s ease;
  display: inline-block;
  min-width: 10ch;
}
.pcv-hud-verb.is-fade{
  opacity: 0;
  transform: translateY(-2px);
}
/* Overnight sleep state (00:00-07:00 Melbourne): cool the accent to
   steel, dim and steady the dot, reads as "studio is offline". */
.pcv-hud.is-asleep .pcv-hud-dot{
  background: var(--steel);
  box-shadow: none;
  animation: none;
  opacity: 0.55;
}
.pcv-hud.is-asleep .pcv-hud-verb{ color: var(--steel); }
.pcv-hud-sep{
  color: var(--steel);
  opacity: 0.55;
}
.pcv-hud-loc{ color: var(--text-2); }
.pcv-hud-time{
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.pcv-hud-tz{
  color: var(--steel);
  opacity: 0.7;
  font-size: 9.5px;
  letter-spacing: 0.26em;
}
@media (max-width: 640px){
  .pcv-hud{
    font-size: 9.5px;
    padding: 6px 10px;
    gap: 6px;
    letter-spacing: 0.18em;
  }
  .pcv-hud-verb{ min-width: 8ch; }
  /* Hide the "MELBOURNE" word on small screens to save space */
  .pcv-hud-loc, .pcv-hud-loc + .pcv-hud-sep{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .pcv-hud-dot{ animation: none; }
  .pcv-hud-verb{ transition: none; }
}

/* ============================================================
   FIRST-VISIT LOADER
   Full-bleed dark overlay with the animated PCV mark + a hairline
   progress bar. Once per session.
   ============================================================ */
.pcv-loader{
  position: fixed; inset: 0;
  z-index: 10000;
  background: #06060a;
  display: grid; place-items: center;
  pointer-events: all;
  transition: opacity .45s cubic-bezier(.2,.7,.2,1);
  /* Faint dot-field to feel on-brand even at first paint */
}
.pcv-loader::before{
  content:"";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(245,241,234,0.06) 1px, transparent 1.5px),
    radial-gradient(circle at 1px 1px, rgba(184,153,104,0.09) 1px, transparent 1.5px);
  background-size: 22px 22px, 64px 64px;
  background-position: 0 0, 11px 11px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.pcv-loader-inner{
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 22px;
}
.pcv-loader-inner img{
  width: 120px; height: 120px;
  display: block;
  filter: drop-shadow(0 0 18px rgba(184,153,104,0.25));
  /* If the GIF is mostly-white, brass it up slightly via a tint blend */
}
.pcv-loader-tag{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--brass);
  opacity: 0.85;
  text-transform: uppercase;
}
.pcv-loader-bar{
  display: block;
  width: 140px; height: 1px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}
.pcv-loader-bar > span{
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  transform: translateX(-100%);
  animation: pcvLoaderSweep 1.4s cubic-bezier(.2,.7,.2,1) infinite;
}
@keyframes pcvLoaderSweep{
  from{ transform: translateX(-100%); }
  to  { transform: translateX(100%); }
}
.pcv-loader.is-out{
  opacity: 0;
}
@media (prefers-reduced-motion: reduce){
  .pcv-loader{ display: none; }
}
