/* =========================================================
   TAO Digital Marketing
   Black field, white all-caps grotesk, serif TAO wordmark.
   ========================================================= */
:root {
  --bg: #000000;
  --white: #f2f2f0;
  --dim: rgba(242, 242, 240, .72);
  --line: rgba(242, 242, 240, .18);
  --serif: "EB Garamond", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --glow: 0 0 14px rgba(255, 255, 255, .18);
  --shine: 0 0 18px rgba(255, 255, 255, .28);
  --lift: 0 1px 2px rgba(0, 0, 0, .35), 0 0 16px rgba(0, 0, 0, .25);
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 500; }

/* ---------- Header: white words only ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--pad);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.logo { display: block; width: 74px; color: var(--white); line-height: 0; filter: drop-shadow(0 0 10px rgba(0,0,0,.3)); }
.logo svg { display: block; width: 100%; height: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav-right { justify-content: flex-end; }
.nav a, .menu-toggle {
  position: relative;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 12px rgba(0, 0, 0, .35);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; justify-self: end; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 19;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 16px; font-weight: 500; text-shadow: var(--glow); }
@media (max-width: 820px) {
  .nav { display: none; }
  .logo { grid-column: 2; }
  .menu-toggle { display: block; grid-column: 3; }
}

/* ---------- Shared type ---------- */
.label { font-size: 12px; font-weight: 500; text-shadow: var(--glow); }
.title {
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.005em;
  text-shadow: var(--shine);
}
.lede { font-size: clamp(15px, 1.35vw, 18px); font-weight: 300; line-height: 1.45; }
.small { font-size: 12px; font-weight: 300; }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  text-shadow: var(--glow);
}
.link span { transition: transform .5s var(--ease); }
.link:hover span { transform: translateX(6px); }
.on-image { text-shadow: var(--lift); }

.captions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--pad);
  font-size: 11px;
  font-weight: 500;
  text-shadow: var(--glow);
}
.captions p:nth-child(2) { text-align: center; }
.captions p:nth-child(3) { text-align: right; }

/* ---------- Image layers + parallax ---------- */
.bg {
  position: absolute;
  inset: -8% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}
.scrim { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .45); }
.scrim--soft { background: rgba(0, 0, 0, .3); }
.scrim--fade { background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.55) 70%, #000); }
.layer { position: relative; z-index: 2; }

/* ---------- Home hero: image only ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #8d8c89; }
.hero img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroIn 2.8s var(--ease) both;
}
.hero::after {   /* slow light sweep across the steel */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.16) 48%, transparent 60%);
  transform: translateX(-100%);
  animation: sheen 9s ease-in-out 1.6s infinite;
  pointer-events: none;
}
@keyframes heroIn { from { transform: scale(1.04); } to { transform: scale(1); } }
@keyframes sheen { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }

/* ---------- Water section: what we do + services ---------- */
.water {
  position: relative;
  overflow: hidden;
  min-height: 1040px;
  padding: 28px var(--pad) clamp(96px, 10vw, 150px);
  display: flex; flex-direction: column;
}
.water .bg { background-image: url("/img/caustic-light.webp"); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.05) translate3d(-1%, 0, 0); } to { transform: scale(1.14) translate3d(1.5%, -1%, 0); } }
.statement { max-width: 44em; margin: clamp(90px, 10vw, 150px) auto clamp(72px, 9vw, 130px); text-align: center; }
.statement .title { margin-bottom: 26px; }
.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--pad);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.services h3 { font-size: 15px; margin-bottom: 10px; text-shadow: var(--glow); }
.services p { font-size: 12px; line-height: 1.5; color: var(--white); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; } }
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .captions { grid-template-columns: 1fr; gap: 6px; }
  .captions p:nth-child(n) { text-align: left; }
  .water { min-height: 0; }
}

/* ---------- Channels: scattered words around a bracketed centre ---------- */
.channels {
  position: relative;
  height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden;
  display: grid; place-items: center;
}
.channels .bg { background-image: url("/img/fluted-glass.webp"); }
.channels .centre { text-align: center; max-width: 30em; padding: 0 var(--pad); }
.channels .centre .title { font-size: clamp(22px, 2.6vw, 38px); margin-bottom: 18px; }
.word {
  position: absolute; z-index: 2;
  font-size: 12px; font-weight: 500;
  text-shadow: var(--lift);
  transform: translate3d(calc(var(--px, 0) * var(--k, 1) * 1px), calc(var(--py, 0) * var(--k, 1) * 1px), 0);
  transition: transform 1.2s var(--ease);
}
.word i { display: inline-block; font-style: normal; animation: float var(--t, 7s) ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@media (max-width: 700px) { .word { font-size: 11px; } }

/* ---------- Split: two images edge to edge, hairline with labels ---------- */
.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
}
.split .pane { position: relative; overflow: hidden; }
.split .pane .bg { inset: -6% 0; }
.split .hairline {
  position: absolute; z-index: 3;
  left: 0; right: 0; top: 46%;
  border-top: 1px solid rgba(242,242,240,.5);
  padding: 10px var(--pad) 0;
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 500;
  text-shadow: var(--lift);
  
}
.split .hairline.is-in { animation: draw 1.6s var(--ease) both; }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.split .split-title {
  position: absolute; z-index: 3;
  left: var(--pad); top: calc(46% - 18px); transform: translateY(-100%);
  max-width: 11em;
}
.split .split-note {
  position: absolute; z-index: 3;
  right: var(--pad); bottom: clamp(40px, 6vw, 72px);
  max-width: 24em; text-align: right;
}
.split .split-note .link { margin-top: 18px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; height: auto; min-height: 0; }
  .split .pane { min-height: 56svh; }
  .split .hairline { top: 50%; flex-wrap: wrap; gap: 6px 16px; }
  .split .split-title { top: calc(50% - 16px); }
}

/* ---------- Three tall cards ---------- */
.cards-section { padding: clamp(40px, 4vw, 64px) var(--pad) clamp(80px, 9vw, 130px); }
.cards-section .captions { margin-bottom: clamp(48px, 6vw, 80px); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  max-width: 1180px;
  margin: 0 auto;
}
.card {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 78vh;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}
.card .bg {
  inset: -4%;
  filter: blur(10px) brightness(.7);
  transform: scale(1.08);
  transition: filter 1.2s var(--ease), transform 1.6s var(--ease);
}
.card:hover .bg, .card:focus-within .bg { filter: blur(0) brightness(.8); transform: scale(1); }
.card::after {     /* spotlight that follows the cursor */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 60%);
  opacity: 0; transition: opacity .6s ease;
}
.card:hover::after { opacity: 1; }
.card .card-text {
  position: absolute; z-index: 2;
  left: 22px; right: 22px; top: 45%;
  text-align: center;
}
.card .card-text p { margin: 0 auto; }
.card h3 { font-size: clamp(20px, 2vw, 28px); margin-bottom: 12px; text-shadow: var(--shine); }
.card p { font-size: 12px; line-height: 1.5; text-shadow: var(--lift); max-width: 22em; }
.cards-more { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.cards--large .card { aspect-ratio: 3 / 5; }
.cards--large .card p { font-size: 13px; }
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; max-width: 440px; }
  .card { aspect-ratio: 4 / 5; }
  .card .bg { filter: blur(3px) brightness(.7); }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) clamp(48px, 7vw, 90px);
}
.page-hero .layer { max-width: 40em; }
.page-hero .title { font-size: clamp(38px, 6vw, 92px); margin-bottom: 20px; }
.page-hero--centre { justify-content: center; align-items: center; text-align: center; }

/* ---------- Principles engraved in a polished silver plate ---------- */
.plaque {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(24px, 3vw, 40px);
  padding: 110px var(--pad) 80px;
}
.plate {
  position: relative;
  width: min(880px, 100%);
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.75), 0 0 140px rgba(214,200,178,.07);
}
.plaque .slides { position: absolute; inset: 0; }
.plaque .slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s ease;
}
.plaque .slide.is-on { opacity: 1; }
.plaque .caps { position: relative; width: min(34em, 100%); min-height: 3.2em; text-align: center; }
.plaque .cap {
  position: absolute; inset: 0 0 auto 0;
  opacity: 0; filter: blur(6px); transform: translateY(6px);
  transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease);
}
.plaque .cap.is-on { opacity: 1; filter: none; transform: none; }
.plaque .dots { display: flex; justify-content: center; gap: 10px; }
.plaque .dots button { width: 22px; height: 1px; border: 0; background: rgba(242,242,240,.35); cursor: pointer; transition: background .4s, width .4s; padding: 8px 0; background-clip: content-box; box-sizing: content-box; }
.plaque .dots button.is-on { background-color: var(--white); width: 38px; }
@media (max-width: 700px) { .plaque .caps { min-height: 5em; } }

/* ---------- Service rows (services page) ---------- */
.rows { padding: clamp(60px, 8vw, 120px) var(--pad); max-width: 1320px; margin: 0 auto; }
.row-item {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr;
  gap: var(--pad);
  padding: clamp(28px, 3.4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.row-item:last-child { border-bottom: 1px solid var(--line); }
.row-item h2 { font-size: clamp(22px, 2.6vw, 38px); line-height: 1.05; text-shadow: var(--shine); transition: transform .6s var(--ease); }
.row-item:hover h2 { transform: translateX(10px); }
.row-item .lede { font-size: 14px; }
.row-item .gets { font-size: 12px; color: var(--dim); }
.row-item .gets b { display: block; font-weight: 500; color: var(--white); margin-bottom: 8px; }
@media (max-width: 820px) { .row-item { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.about-split .pane { position: relative; overflow: hidden; min-height: 60svh; }
.about-split .pane .bg { background-image: url("/img/steel-curve.webp"); inset: -6% 0; }
.about-split .pane .layer { position: absolute; left: var(--pad); bottom: clamp(40px, 6vw, 80px); right: var(--pad); }
.about-text { padding: clamp(110px, 12vw, 160px) var(--pad) clamp(60px, 8vw, 100px); display: flex; flex-direction: column; justify-content: center; gap: 42px; }
.about-text .title { font-size: clamp(28px, 3.2vw, 48px); }
.founder { border-top: 1px solid var(--line); padding-top: 18px; }
.founder h3 { font-size: 16px; margin-bottom: 8px; text-shadow: var(--glow); }
.founder p { font-size: 13px; color: var(--dim); max-width: 30em; }
@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } }

/* ---------- Viewfinder call to action ---------- */
.viewfinder {
  position: relative;
  height: 80vh; min-height: 520px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  overflow: hidden;
  background:
    linear-gradient(var(--line), var(--line)) 33.33% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 66.66% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 0 33.33% / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 66.66% / 100% 1px no-repeat,
    #000;
}
/* project boxes: one fades in at a time */
.viewfinder .cell { position: relative; overflow: hidden; opacity: 0; transition: opacity 1.4s ease; }
.viewfinder .cell.is-on { opacity: 1; }
.viewfinder .cell-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.78);
  transform: scale(1.08);
  transition: transform 5s ease-out;
}
.viewfinder .cell.is-on .cell-img { transform: scale(1); }
.viewfinder .cell span {
  position: absolute; left: 18px; bottom: 14px; z-index: 1;
  font-size: 11px; font-weight: 500; text-shadow: var(--lift);
}
.viewfinder .frame { grid-column: 2; grid-row: 2; place-self: center; }
.viewfinder .frame {
  position: relative;
  display: grid; place-items: center; gap: 10px;
  padding: 48px 64px;
  text-align: center;
}
.viewfinder .frame .title { font-size: clamp(20px, 2.2vw, 30px); }
.viewfinder .corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--white); transition: transform .6s var(--ease); }
.viewfinder .tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.viewfinder .tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.viewfinder .bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.viewfinder .br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.viewfinder .frame:hover .tl { transform: translate(-10px, -10px); }
.viewfinder .frame:hover .tr { transform: translate(10px, -10px); }
.viewfinder .frame:hover .bl { transform: translate(-10px, 10px); }
.viewfinder .frame:hover .br { transform: translate(10px, 10px); }
.viewfinder .tag { position: absolute; z-index: 2; text-shadow: var(--lift); font-size: 11px; font-weight: 500; color: var(--dim); }
.viewfinder .tag.a { left: var(--pad); top: 28px; }
.viewfinder .tag.b { right: var(--pad); bottom: 28px; }

/* ---------- Contact: silver panel + glass form ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr;
  background: url("/img/contact-wide.webp") left center / cover no-repeat, #8d8d8b;
}
.contact-mark {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 420px;
}
.contact-mark .layer { display: flex; flex-direction: column; align-items: center; }
.contact-tao {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 3.6vw, 56px); letter-spacing: .08em; line-height: 1;
  text-shadow: 0 0 18px rgba(255,255,255,.35), 0 1px 3px rgba(0,0,0,.25);
}
.contact-sub { margin-top: 14px; font-size: clamp(12px, 1vw, 14px); text-shadow: 0 0 12px rgba(255,255,255,.3), 0 1px 2px rgba(0,0,0,.25); }
.contact-side { position: relative; display: grid; place-items: center; padding: 64px var(--pad); }
.glass-form {
  position: relative;
  width: min(100%, 560px);
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 30px 60px rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  backdrop-filter: blur(22px) saturate(1.1);
  display: grid; gap: 16px;
  overflow: hidden;
}
.glass-form::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.12), transparent 60%);
}
.glass-form > * { position: relative; z-index: 1; }
.glass-form fieldset { border: 0; }
.glass-form legend, .glass-form .field > span { display: block; font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.form-intro { font-size: 13px; font-weight: 500; text-shadow: var(--glow); }
.pills {
  display: grid; grid-template-columns: repeat(4, auto); gap: 4px; padding: 5px;
  border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
}
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: block; text-align: center; padding: 9px 12px; border-radius: 999px;
  font-size: 11px; color: rgba(242,242,240,.85); white-space: nowrap;
  transition: background .4s ease, box-shadow .4s ease, color .4s ease;
}
.pills input:checked + span {
  color: var(--white); font-weight: 500;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(210,210,208,.25));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.8), inset 0 -1px 2px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.2);
}
.pills input:focus-visible + span { outline: 1px solid var(--white); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: block; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  padding: 2px 2px 8px;
  font: inherit; font-size: 15px; font-weight: 300; text-transform: none; letter-spacing: 0;
  color: var(--white); outline: none; resize: vertical;
  transition: border-color .4s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(242,242,240,.55); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--white); }
.send {
  margin-top: 4px; width: 100%; padding: 14px; border: 0; border-radius: 999px;
  background: #f5f5f3; color: #111;
  font: inherit; font-size: 13px; font-weight: 500; text-transform: uppercase;
  cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .3s ease, box-shadow .3s ease;
}
.send:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,0,0,.3); }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; background-position: 70% bottom; }
  .contact-mark { min-height: 60svh; background: url("/img/contact-wide.webp") 17% center / cover no-repeat; }
  .contact-side { padding: 64px var(--pad); }
  .pills { grid-template-columns: 1fr 1fr; border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 28px var(--pad);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

/* ---------- Motion: reveal (blur resolving into focus) ---------- */
.js [data-reveal] {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 18px, 0);
  transition: opacity 1.2s var(--ease), filter 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; filter: blur(0); transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0s));
}
.js [data-split].is-in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; filter: none; transform: none; }
  .js [data-split] .w > span { transform: none; }
  .split .hairline { clip-path: none; }
  .card .bg { filter: brightness(.75); transform: none; }
}
.js .split .hairline { clip-path: inset(0 100% 0 0); }
.js .split .hairline.is-in { animation: draw 1.6s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .js .split .hairline { clip-path: none; animation: none; } }
.split .pane:last-of-type .scrim { background: linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,.65)); }

/* Header hides on scroll down, returns on scroll up */
.site-header { transition: transform .5s var(--ease), opacity .5s ease; }
.site-header.is-hidden { transform: translateY(-110%); opacity: 0; }
.captions p:nth-child(2):last-child { text-align: right; }
/* Contact page: image fills the screen, form centred with equal space above and below */
.contact--page { min-height: 100vh; min-height: 100svh; }
.contact--page .contact-side { padding: 96px var(--pad); }
@media (max-width: 900px) { .contact--page { min-height: 0; } .contact--page .contact-side { padding: 64px var(--pad); } }

/* ---------- Paper statement on black ---------- */
.paper-band { background: var(--bg); padding: clamp(40px, 5vw, 72px) var(--pad); }
.paper {
  max-width: 1280px;
  margin: 0 auto;
  min-height: clamp(220px, 24vw, 340px);
  display: grid; place-items: center;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 8vw, 140px);
  background: #e9e8e5;
  color: #111;
  text-align: center;
}
.paper p {
  max-width: 30em;
  font-size: clamp(14px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: .01em;
  color: #111;
  text-shadow: none;
}
.water {
  min-height: clamp(560px, 52vw, 760px);
  padding: clamp(56px, 6vw, 88px) var(--pad);
  justify-content: center;
}
.water .statement { margin: 0 auto clamp(48px, 5vw, 80px); }

/* ---------- Brand heritage ticker on the metal corner ---------- */
.ticker-band {
  position: relative;
  aspect-ratio: 3 / 1;
  min-height: 300px;
  overflow: hidden;
  background: url("/img/metal-corner.webp") center / cover no-repeat, #6f6f6c;
}
.ticker {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: flex; flex-shrink: 0;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  padding-right: 40px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: none;
}
/* moves left to right, like the reference */
@keyframes ticker { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (max-width: 700px) { .ticker-band { aspect-ratio: 4 / 3; } }

/* ---------- Split section at half height ---------- */
.split { height: 50vh; height: 50svh; min-height: 440px; }
.split .hairline { top: 50%; }
.split .split-title { top: calc(50% - 16px); font-size: clamp(26px, 3.2vw, 46px); }
.split .split-note { bottom: clamp(24px, 3vw, 40px); max-width: 32em; }
.split .split-note .lede { font-size: clamp(13px, 1.05vw, 15px); }
.split .split-note .link { margin-top: 12px; }
@media (max-width: 820px) {
  .split { height: auto; min-height: 0; }
  .split .pane { min-height: 34svh; }
}

/* ---------- Selected work: slim paper spreads ---------- */
.work { background: var(--bg); padding: clamp(40px, 5vw, 72px) var(--pad) clamp(56px, 6vw, 96px); display: grid; gap: clamp(20px, 2.4vw, 32px); }
.spread {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: clamp(10px, 1.2vw, 18px);
  row-gap: clamp(12px, 1.4vw, 20px);
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: clamp(16px, 1.8vw, 24px) clamp(18px, 2.2vw, 32px) clamp(18px, 2vw, 28px);
  background: #e9e8e5;
  color: #111;
  text-shadow: none;
}
.spread .sp-label { font-size: 10px; font-weight: 600; color: #111; grid-row: 1; }
.sp-tl { grid-column: 1 / 4; }
.sp-tr { grid-column: 4 / 7; }
.sp-br { grid-column: 10 / 13; justify-self: end; }
.sp-imgs { grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: hidden; align-self: start; }
.sp-imgs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 1.4s var(--ease); }
.spread:hover .sp-imgs img { transform: scale(1.03); }
.sp-text { grid-row: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; font-size: 11px; font-weight: 500; line-height: 1.5; color: #111; }
.sp-text span:last-child { color: #555; font-size: 10px; }

/* A: images left, text right */
.spread--a .sp-imgs { grid-column: 1 / 9; }
.spread--a .sp-text { grid-column: 9 / 13; }
/* B: text left, small portrait pair right */
.spread--b .sp-text { grid-column: 1 / 7; }
.spread--b .sp-imgs { grid-column: 9 / 13; }
.spread--b .sp-imgs img { aspect-ratio: 4 / 5; }
/* C: text left, images right */
.spread--c .sp-text { grid-column: 1 / 5; }
.spread--c .sp-imgs { grid-column: 5 / 13; }
/* D: images left, text right, label swapped */
.spread--d .sp-imgs { grid-column: 1 / 9; }
.spread--d .sp-text { grid-column: 9 / 13; }

.work-more { text-align: center; }
.work-more .link { font-size: 13px; }

@media (max-width: 820px) {
  .spread { grid-template-columns: 1fr; }
  .spread > * { grid-column: 1 / -1 !important; grid-row: auto !important; justify-self: stretch !important; }
  .spread .sp-tr { margin-top: -8px; }
  .sp-br { display: none; }
}

/* ---------- Butterfly: scroll-driven film ---------- */
.scrub { position: relative; height: 240vh; background: #000; }
.scrub-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.scrub-video {
  width: 112%; height: 100%;
  object-fit: cover;
  transform: translate3d(var(--sx, 5%), 0, 0) scale(1.02);
  will-change: transform;
}
@media (max-width: 700px) { .scrub { height: 180vh; } .scrub-stick { height: 70svh; top: 15svh; } }
@media (prefers-reduced-motion: reduce) { .scrub { height: auto; } .scrub-stick { position: relative; height: 70vh; } .scrub-video { transform: none; width: 100%; } }
.scrub-stick { isolation: isolate; }
.scrub-text {
  position: absolute; z-index: 2; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--pad);
  background: rgba(0,0,0,.28);
}
.scrub-text .title { font-size: clamp(32px, 4.4vw, 64px); margin-bottom: 22px; }
.scrub-text .lede { max-width: 30em; text-shadow: var(--lift); }
.scrub--hero .scrub-stick { height: 100vh; height: 100svh; top: 0; }

/* ---------- Services: horizontal scroll panels ---------- */
.hscroll { position: relative; height: 400vh; background: #000; }
.hs-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hs-track { display: flex; height: 100%; width: 400%; will-change: transform; transform: translate3d(calc(var(--hx, 0) * -75%), 0, 0); }
.hpanel { position: relative; flex: 0 0 25%; height: 100%; overflow: hidden; display: flex; align-items: flex-end; }
.hp-bg { position: absolute; inset: -6%; background-size: cover; background-position: center; transform: scale(calc(1.12 - var(--pz, 0) * .12)); transition: transform .2s linear; filter: saturate(.85); }
.hp-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.25) 55%, rgba(0,0,0,.35)); }
.hp-body { position: relative; z-index: 1; width: 100%; padding: 0 var(--pad) clamp(110px, 13vh, 150px); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--pad); align-items: end; }
.hp-title { font-size: clamp(40px, 6.5vw, 104px); line-height: .95; text-shadow: var(--shine); }
.hp-desc { font-size: clamp(14px, 1.2vw, 17px); line-height: 1.45; text-shadow: var(--lift); max-width: 26em; }
.hp-gets { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hp-gets li {
  font-size: 11px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .4s ease, transform .4s var(--ease);
}
.hp-gets li:hover { background: rgba(255,255,255,.28); transform: translateY(-2px); }
.hpanel .hp-body > * { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s var(--ease); }
.hpanel.is-active .hp-body > * { opacity: 1; transform: none; }
.hpanel.is-active .hp-body > *:nth-child(2) { transition-delay: .1s; }
.hpanel.is-active .hp-body > *:nth-child(3) { transition-delay: .2s; }
.hs-tabs { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 44px; display: flex; gap: clamp(14px, 2.4vw, 36px); }
.hs-tab { background: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 500; text-transform: uppercase; color: rgba(242,242,240,.5); padding: 4px 0; transition: color .4s ease; }
.hs-tab.is-on, .hs-tab:hover { color: var(--white); }
.hs-bar { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 30px; height: 1px; background: rgba(242,242,240,.2); }
.hs-bar span { display: block; height: 100%; width: calc(var(--hp, 0) * 100%); background: var(--white); }
@media (max-width: 820px) {
  .hscroll { height: auto; }
  .hs-stick { position: relative; height: auto; }
  .hs-track { flex-direction: column; width: 100%; transform: none; }
  .hpanel { flex: none; min-height: 90svh; }
  .hp-body { grid-template-columns: 1fr; gap: 18px; padding-bottom: 56px; }
  .hpanel .hp-body > * { opacity: 1; transform: none; }
  .hs-tabs, .hs-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hscroll { height: auto; } .hs-stick { position: relative; height: auto; }
  .hs-track { flex-direction: column; width: 100%; transform: none; } .hpanel { flex: none; min-height: 90vh; }
  .hpanel .hp-body > * { opacity: 1; transform: none; } .hs-tabs, .hs-bar { display: none; }
}

/* ---------- Services hero: still photograph ---------- */
.liquid-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.lh-media { position: absolute; inset: -6% 0; will-change: transform; }
.lh-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; animation: lhIn 2.4s cubic-bezier(.2,.7,.1,1) both; }
@keyframes lhIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
.liquid-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 38%, rgba(0,0,0,0) 62%), linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 40%); }
@media (prefers-reduced-motion: reduce) { .lh-media img { animation: none; } }
.liquid-text { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(56px, 10vh, 110px); max-width: 44em; pointer-events: none; }
.liquid-text .title { font-size: clamp(56px, 11vw, 180px); line-height: .9; margin-bottom: 22px; color: #fff; }
.liquid-text .lede { max-width: 30em; text-shadow: var(--lift); }
.scroll-cue { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(56px, 10vh, 110px); width: 1px; height: 72px; background: rgba(242,242,240,.25); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Services: one scroll-scrubbed film, chapter per service ---------- */
.scrub--svc { height: calc(var(--chapters, 5) * 62vh); }
.scrub--svc .scrub-stick { height: 100vh; height: 100svh; top: 0; display: block; }
.scrub--svc .scrub-video { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 72% 50%;
  transform: translate3d(10%, calc(var(--sp, 0) * -2%), 0) scale(calc(1.04 + var(--sp, 0) * 0.08)); }
.svc-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,0) 58%), linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0) 34%); }
.svc-ch { position: absolute; z-index: 2; left: var(--pad); top: 50%; width: min(520px, 42vw);
  transform: translateY(-46%); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.1,1), visibility 0s linear .7s; }
.svc-ch.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%);
  transition: opacity .9s ease .15s, transform 1.1s cubic-bezier(.2,.7,.1,1) .15s, visibility 0s; }
.svc-ch--intro { top: auto; bottom: clamp(56px, 10vh, 110px); width: auto; max-width: 44em; right: var(--pad); transform: none; }
.svc-ch--intro.is-active { transform: none; }
.svc-ch--intro .title { font-size: clamp(56px, 11vw, 180px); line-height: .9; margin-bottom: 22px; }
.svc-ch--intro .lede { max-width: 34em; text-shadow: var(--lift); }
.svc-title { font-size: clamp(34px, 4.6vw, 68px); line-height: .95; margin-bottom: 18px; }
.svc-desc { max-width: 30em; margin-bottom: 30px; text-shadow: var(--lift); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.28); }
.svc-li { border-bottom: 1px solid rgba(255,255,255,.28); }
.svc-item { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; font: inherit; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(13px, 1.05vw, 15px); color: #fff; }
.svc-item span { transition: transform .5s cubic-bezier(.2,.7,.1,1); }
.svc-item:hover span, .svc-item:focus-visible span { transform: translateX(8px); }
.svc-item:focus-visible { outline: 1px solid rgba(255,255,255,.6); outline-offset: 4px; }
.svc-item i { position: relative; width: 12px; height: 12px; flex: none; }
.svc-item i::before, .svc-item i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #fff; transition: transform .5s cubic-bezier(.2,.7,.1,1); }
.svc-item i::after { transform: rotate(90deg); }
.svc-item[aria-expanded="true"] i::after { transform: rotate(0deg); }
.svc-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2,.7,.1,1); }
.svc-more > div { overflow: hidden; }
.svc-more p { margin: 0; padding: 0 0 18px; max-width: 34em; color: rgba(255,255,255,.82); font-size: clamp(14px, 1.1vw, 16px); line-height: 1.55; text-transform: none;
  opacity: 0; transform: translateY(-6px); transition: opacity .4s ease, transform .6s cubic-bezier(.2,.7,.1,1); }
.svc-li.is-open .svc-more { grid-template-rows: 1fr; }
.svc-li.is-open .svc-more p { opacity: 1; transform: none; transition-delay: .12s; }
.svc-index { position: absolute; z-index: 2; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  opacity: 0; transition: opacity .6s ease; }
.scrub--svc.is-past-intro .svc-index { opacity: 1; }
.svc-index button { all: unset; cursor: pointer; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; color: rgba(255,255,255,.42); transition: color .4s ease; }
.svc-index button:hover, .svc-index button.is-current { color: #fff; }
.scrub--svc .scroll-cue { z-index: 2; }
@media (max-width: 820px) {
  .svc-shade { background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.05) 72%); }
  .scrub--svc .scrub-video { object-position: 80% 50%; transform-origin: 50% 30%; transform: translate3d(0, -14%, 0) scale(calc(1.0 + var(--sp, 0) * 0.08)); }
  .svc-ch { top: auto; bottom: 48px; width: auto; right: var(--pad); transform: translateY(16px); }
  .svc-ch.is-active { transform: none; }
  .svc-index { display: none; }
  .svc-desc { margin-bottom: 18px; }
  .svc-item { padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scrub--svc { height: auto; }
  .scrub--svc .scrub-stick { position: relative; height: auto; padding: 120px 0 60px; }
  .scrub--svc .scrub-video { position: fixed; z-index: -1; transform: translate3d(10%, 0, 0); }
  .svc-ch, .svc-ch--intro { position: relative; inset: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; width: auto; max-width: 560px; margin: 0 var(--pad) 80px; }
  .svc-index { display: none; }
}
.scrub--svc .scroll-cue { transition: opacity .5s ease; }
.scrub--svc.is-past-intro .scroll-cue { opacity: 0; }
.svc-index button { text-shadow: 0 0 14px rgba(0,0,0,.9); }
.svc-index { right: auto; left: var(--pad); top: auto; bottom: 44px; transform: none; flex-direction: row; align-items: center; gap: 28px; }
.svc-fluid { position: absolute; inset: 0; z-index: 0; }
.ferrofluid-container { position: relative; width: 100%; height: 100%; overflow: hidden; }
.ferrofluid-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.svc-ch, .svc-index { pointer-events: none; }
.svc-ch.is-active .svc-item, .svc-index button { pointer-events: auto; }
.svc-shade { background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 36%, rgba(0,0,0,0) 56%); }
@media (max-width: 820px) { .svc-shade { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,0) 72%); } }

/* ---------- Services: drawn bouquet on black ---------- */
.scrub--svc { background: #000; }
.svc-bouquet { position: absolute; inset: 0; z-index: 0; }
.bq-paper, .bq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrub--svc .svc-shade { background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 36%, rgba(0,0,0,0) 52%); }
@media (max-width: 820px) {
  .scrub--svc .svc-shade { background: linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.85) 42%, rgba(0,0,0,0) 58%); }
}

/* ---------- Portfolio: one feature, then alternating left / right ---------- */
.pf-sec { max-width: 1680px; margin: 0 auto; padding: clamp(130px, 13vw, 190px) clamp(8px, 1vw, 12px) clamp(90px, 10vw, 150px); background: #000; }
.pf-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 980px; margin: 0 auto clamp(44px, 6vw, 80px); padding: 0 20px; }
.pf-caps, .pf-ind { margin: 0; font-size: 12px; line-height: 1.3; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: rgba(242,242,240,.6); }
.pf-h2 { margin: 0; font-weight: 500; text-transform: uppercase; font-size: clamp(40px, 5.6vw, 84px); line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
.pf-note { margin: 0; max-width: 560px; color: rgba(242,242,240,.7); font-size: 15px; line-height: 1.55; }
.pf-list { padding: 0 clamp(12px, 3vw, 44px); display: flex; flex-direction: column; gap: clamp(70px, 10vw, 140px); }
.pf-card-link { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.pf-card-r .pf-card-link { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
.pf-card-r .pf-frame { order: 2; }
.pf-frame { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); transform: translateZ(0); transition: transform .8s cubic-bezier(.2,.7,.1,1), box-shadow .8s; }
.pf-card-link.is-active .pf-frame { transform: translateY(-6px); box-shadow: 0 50px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.14); }
.pf-live { position: absolute; inset: 0; overflow: hidden; }
.pf-shot { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; transform: translateY(0); transition: transform 3.2s cubic-bezier(.45,0,.2,1); }
[data-pf].is-active .pf-shot { transform: translateY(var(--pf-travel, -600px)); }
.pf-ind { margin-bottom: 10px; }
.pf-name { margin: 0 0 14px; font-weight: 500; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 52px); line-height: .98; letter-spacing: -.02em; }
.pf-blurb { margin: 0 0 22px; font-size: 14px; line-height: 1.55; color: rgba(242,242,240,.78); max-width: 420px; }
.pf-meta { padding: 0; }
.pf-card-btns { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.pf-open { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 4px; border-bottom: 1px solid #fff; color: #fff; }
.pf-open span, .pf-fopen span { transition: transform .4s; }
[data-pf].is-active .pf-open span, [data-pf].is-active .pf-fopen span { transform: translateX(6px); }
.pf-feature { padding: 0 clamp(8px, 1vw, 12px); }
.pf-feature-link { display: block; background: #0e0e0e; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 10px; transition: border-color .5s; }
.pf-feature-link.is-active { border-color: rgba(255,255,255,.28); }
.pf-feature .pf-frame { aspect-ratio: 16 / 8; border-radius: 16px; box-shadow: none; }
.pf-feature-link.is-active .pf-frame { transform: none; box-shadow: none; }
.pf-fmeta { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "top top" "name blurb" "name open"; column-gap: 48px; row-gap: 14px; padding: 26px 18px 16px; }
.pf-fmeta-top { grid-area: top; }
.pf-fname { grid-area: name; margin: 0; font-weight: 500; text-transform: uppercase; font-size: clamp(40px, 5vw, 84px); line-height: .95; letter-spacing: -.02em; }
.pf-fmeta .pf-blurb { grid-area: blurb; margin: 0; }
.pf-fmeta .pf-card-btns { grid-area: open; align-self: end; }
.pf-fopen { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: #fff; transition: background .25s, color .25s, border-color .25s; }
.pf-feature-link.is-active .pf-fopen { background: #fff; border-color: #fff; color: #000; }
.pf-end { text-align: center; margin-top: clamp(70px, 10vw, 140px); }
@media (max-width: 820px) {
  .pf-card-link, .pf-card-r .pf-card-link { grid-template-columns: 1fr; gap: 22px; }
  .pf-card-r .pf-frame { order: 0; }
  .pf-fmeta { grid-template-columns: 1fr; grid-template-areas: "top" "name" "blurb" "open"; }
}
@media (prefers-reduced-motion: reduce) { .pf-shot, .pf-frame { transition: none; } [data-pf].is-active .pf-shot { transform: none; } }

/* True Chew: interactive 3D pack in the portfolio */
.pf-tc { overflow: hidden; }
.pf-tc .pf-tc-still { position: absolute; left: 50%; top: 50%; width: 52%; transform: translate(-50%, -50%); border-radius: 6px; transition: opacity .8s; }
.pf-tc.tb-on .pf-tc-still { opacity: 0; }
.tb-stage { position: absolute; inset: 0; z-index: 1; }
.tb-stage canvas { display: block; width: 100%; height: 100%; }
.tb-ui { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; opacity: 0; transition: opacity .8s; }
.tb-on .tb-ui { opacity: 1; }
.tb-ui > * { pointer-events: auto; }
.tb-hint { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0; }
.tb-open { border: 0; background: none; font: 400 11px/1 inherit; letter-spacing: .28em; text-transform: uppercase; color: #fff; border-bottom: 1px solid currentColor; padding: 4px 0; cursor: pointer; }
.tb-dots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tb-dot { position: absolute; left: 0; top: 0; margin: -14px 0 0 -14px; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; transition: opacity .35s; pointer-events: none; }
.tb-dot.on { opacity: 1; pointer-events: auto; }
.tb-dot i { position: absolute; inset: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 4px 14px rgba(0,0,0,.4); }
.tb-dot i:after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #0b0b0b; }
.tb-dot:before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); animation: tbp 2.2s ease-out infinite; }
@keyframes tbp { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.tb-dot span { position: absolute; left: 32px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; background: rgba(11,11,11,.85); color: #fff; padding: 5px 9px; border-radius: 999px; opacity: 0; transition: opacity .25s; }
.tb-dot:hover span, .tb-dot.act span { opacity: 1; }
.tb-card { position: absolute; z-index: 4; right: 16px; top: 50%; width: min(300px, 80%); max-height: calc(100% - 32px); overflow: auto; transform: translate(16px, -50%); opacity: 0; pointer-events: none; transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.2,1); background: rgba(14,14,14,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 22px 22px 18px; color: #fff; }
.tb-card.on { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.tb-card .tb-k { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0; }
.tb-card h3 { font-size: 18px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; margin: 10px 0 10px; }
.tb-card p { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.8); margin: 0 0 8px; text-transform: none; }
.tb-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: rgba(255,255,255,.6); }
@media (max-width: 760px) {
  .tb-card { top: auto; bottom: 10px; right: 50%; transform: translate(50%, 16px); width: calc(100% - 20px); max-height: 55%; }
  .tb-card.on { transform: translate(50%, 0); }
  .tb-dot span { display: none; }
}

/* Portfolio: composed covers (L.LAB, True Chew, Nouvé) */
.pf-llab { background: #0b0b0b; }
.pf-llab-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.1,1); }
[data-pf].is-active .pf-llab-photo { transform: scale(1.04); }
.pf-llab-logo { position: absolute; left: 50%; top: 9%; width: 34%; transform: translateX(-50%); filter: drop-shadow(0 2px 18px rgba(0,0,0,.35)); }
.pf-llab-rings { position: absolute; left: 0; right: 0; bottom: 0; height: 27%; background: #fff; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; padding: 0 3%; }
.pf-llab-rings img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.1,1); }
[data-pf].is-active .pf-llab-rings img { transform: translateY(-4px); }
.pf-covers { background: #0b0b0b; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; gap: clamp(6px, 1.2vw, 14px); padding: 0 clamp(10px, 2.4vw, 32px); }
.pf-covers img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 745; object-fit: cover; border-radius: 8px; transition: transform .8s cubic-bezier(.2,.7,.1,1); }
[data-pf].is-active .pf-covers img { transform: scale(1.03); }
.pf-nv { background: #f1f0ec; container-type: size; }
.pf-nv > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-nv-m { position: absolute; inset: 0; -webkit-mask: url(/img/nouve/cover-mask.svg) center/cover no-repeat; mask: url(/img/nouve/cover-mask.svg) center/cover no-repeat; pointer-events: none; }
.pf-nv-w { position: absolute; left: 0; top: 13%; display: flex; white-space: nowrap; font: 300 46cqh/1 "Newsreader", "Times New Roman", serif; letter-spacing: -.02em; color: #171715; text-transform: none; animation: pfnvflow 70s linear infinite; will-change: transform; }
.pf-nv-w span { padding-right: .3em; }
@keyframes pfnvflow { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pf-nv-w { animation: none; } }

/* Contact form: black, sleek, white type in the brand fonts */
.glass-form, .glass-form input, .glass-form textarea, .glass-form button, .glass-form legend { font-family: var(--sans); }
.glass-form {
  background: rgba(0,0,0,.92); border: 1px solid rgba(255,255,255,.14); border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5); -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: clamp(28px, 3vw, 40px); gap: 22px; color: #fff;
}
.glass-form::after { display: none; }
.form-intro { font-size: 14px; font-weight: 500; text-transform: uppercase; text-shadow: none; color: #fff; }
.glass-form legend, .glass-form .field > span { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.pills { background: transparent; border: 1px solid rgba(255,255,255,.18); padding: 4px; }
.pills span { font-size: 11px; font-weight: 300; text-transform: uppercase; color: rgba(255,255,255,.6); transition: background .35s ease, color .35s ease; }
.pills label:hover span { color: #fff; }
.pills input:checked + span { background: #fff; color: #000; font-weight: 500; box-shadow: none; }
.field input, .field textarea { font-size: 14px; font-weight: 300; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); padding: 2px 0 10px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); text-transform: uppercase; }
.field input:focus, .field textarea:focus { border-bottom-color: #fff; }
.field textarea { resize: none; }
.send { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); box-shadow: none; font-size: 12px; letter-spacing: .06em; padding: 15px; transition: background .35s ease, color .35s ease, border-color .35s ease; }
.send:hover { background: #fff; color: #000; border-color: #fff; transform: none; box-shadow: none; }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #000 inset; caret-color: #fff; }


/* Process: See melts into liquid and stays liquid; Shape draws it in and builds a sculpture (js/shape-card.js) */
.cards { position: relative; }
.cards-fluid { position: absolute; z-index: 2; pointer-events: none; }
.has-fluid { position: relative; z-index: 5; }
.cards.has-fluid > .card { isolation: auto; filter: none !important; }
.cards.has-fluid > .card .card-text { z-index: 3; }
.card--see .bg, .card--shape .bg { transition: filter 1.2s var(--ease), transform 1.6s var(--ease), opacity .6s ease; }
.card--see.is-fluid { background: transparent; overflow: visible; }
.card--see.is-fluid .bg, .card--see.is-fluid::after { opacity: 0; }
.card--shape.is-sculpted { background: rgba(17,17,17,var(--fade, 1)); }
.card--shape.is-sculpted .bg { opacity: var(--fade, 1); transition: filter 1.2s var(--ease), transform 1.6s var(--ease); }
.card--shape.is-sculpted::after { opacity: 0; }
.card--shape .card-text { transition: top 2.4s cubic-bezier(.45,0,.2,1); }
.card--shape.is-sculpted .card-text { top: 9%; }
.card--carry .bg { transition: filter 1.2s var(--ease), transform 1.6s var(--ease), opacity .6s ease; }
.card--carry.is-sculpted { background: rgba(17,17,17,var(--fade, 1)); }
.card--carry.is-sculpted .bg { opacity: var(--fade, 1); transition: filter 1.2s var(--ease), transform 1.6s var(--ease); }
.card--carry.is-sculpted::after { opacity: 0; }
.card--carry .card-text { transition: top 2.4s cubic-bezier(.45,0,.2,1); }
.card--carry.is-sculpted .card-text { top: 79%; }
.cards-section.has-fluid .cards-more { position: relative; z-index: 6; }
.cards-more .link { transition: color 1.6s ease, border-color 1.6s ease; }
.card--shape .bg, .card--carry .bg { transition: filter 1.2s var(--ease), transform 1.6s var(--ease), opacity 2.2s ease; }
.card--shape, .card--carry { transition: background-color 2.2s ease; }
