@font-face { font-family: "Calvino Grande"; src: url("../fonts/CalvinoGrande-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Joane"; src: url("../fonts/Joane-Light.woff2") format("woff2"); font-weight: 200; font-display: swap; }

:root {
  --black: #000;
  --cream: #F8F4E4; /* Limestone */
  --slate: #343D42; /* Gunmetal */
  --gold: #D1A35A;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --white: #fff;
  --line: rgba(0, 0, 0, .14);
  --display: "Calvino Grande", Georgia, serif;
  --serif: "Joane", Georgia, serif;
  --sans: "Work Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 96px);
  --pad: clamp(64px, 9vw, 140px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.bg-light { background: var(--cream); }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }

.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; display: block; }
.eyebrow.gold { color: var(--gold); }
.display { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; margin: 0 0 24px; }
.display.big { font-size: clamp(40px, 5vw, 64px); }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7vw, 88px); line-height: 1; margin: 0 0 20px; }
.small-head { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 28px 0 12px; }
.text-link { position: relative; display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; margin-right: 28px; transition: color .3s; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.text-link:hover { color: var(--gold); }
.text-link:hover::after { animation: line-sweep .8s var(--ease); }
@keyframes line-sweep { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.btn { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; background: var(--black); color: var(--white); border: 0; padding: 17px 30px; cursor: pointer; margin-right: 24px; transition: background-color .35s, color .35s, transform .35s var(--ease); }
.btn:hover { background: var(--gold); color: var(--black); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.light { background: var(--cream); color: var(--black); padding: var(--pad) var(--gutter); }
.dark { background: var(--black); color: var(--white); padding: var(--pad) var(--gutter); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: transform .6s var(--ease), background-color .4s, padding .4s, color .4s; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px var(--gutter); }
.header-light { background: var(--cream); color: var(--black); }
.site-header.scrolled { padding-top: 18px; padding-bottom: 18px; }
.header-overlay.scrolled { background: rgba(0, 0, 0, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-light.scrolled { background: rgba(248, 244, 228, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header.hide { transform: translateY(-100%); }
.logo-dark { display: none; }
.header-light .logo-light { display: none; }
.header-light .logo-dark { display: block; }
.region { margin-right: auto; margin-left: 28px; padding-left: 28px; border-left: 1px solid currentColor; border-left-color: rgba(127,127,127,.45); font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); line-height: 1.6; }
body.bg-light main { padding-top: 88px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: clamp(150px, 14vw, 192px); height: auto; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.nav a:hover, .nav a.active { color: var(--gold); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 5px; height: 5px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); margin: 0 0 3px 8px; }
.dropdown { position: absolute; top: 100%; left: -18px; padding: 14px 18px; min-width: 160px; display: none; flex-direction: column; gap: 10px; background: var(--black); color: var(--white); }
.header-light .dropdown { background: var(--cream); color: var(--black); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.has-sub:hover .dropdown, .has-sub:focus-within .dropdown { display: flex; }
.menu-toggle { display: none; background: none; border: 0; width: 32px; height: 24px; position: relative; cursor: pointer; color: inherit; }
.menu-toggle span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: currentColor; transition: transform .2s; }
.menu-toggle span:first-child { top: 8px; }
.menu-toggle span:last-child { top: 15px; }
.nav-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Video backgrounds */
.video-bg { position: absolute; inset: 0; overflow: hidden; background-size: cover; background-position: center; }
.video-bg iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.6) 100%); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: var(--white); }
.hero-short { min-height: 78vh; align-items: center; }
.hero-inner { position: relative; width: 100%; padding: 0 var(--gutter) 72px; }
.hero-inner.center { text-align: center; padding-bottom: 0; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 9vw, 128px); line-height: 1; margin: 0 0 28px; }
.hero-copy { max-width: 340px; }

/* Home: product teaser */
.products-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.product-list { list-style: none; padding: 0; margin: clamp(48px, 10vw, 160px) 0 0; }
.product-list a { font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); line-height: 1.25; text-decoration: none; transition: color .2s; }
.product-list a:hover, .product-list a.on { color: var(--gold); }
.pt-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.pt-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.1s var(--ease), transform 1.6s var(--ease); }
.pt-media img.on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.product-list em { font-style: italic; color: var(--gold); margin-right: .2em; }

/* Section head */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .display { margin: 0; }

/* Home: featured */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); }
.feature { text-decoration: none; display: block; }
.feature img { width: 100%; object-fit: cover; margin-bottom: 18px; }
.feature.tall img { aspect-ratio: 3 / 4; }
.feature.offset { margin-top: 22%; }
.feature.wide { grid-column: 1 / -1; width: 80%; margin: 0 auto; }
.feature.wide img { aspect-ratio: 16 / 9; }
.card-title { display: block; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; margin-bottom: 10px; }

/* Values */
.values { display: grid; grid-template-columns: minmax(220px, 1fr) 2.4fr; gap: 56px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.value-grid h3 { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.value-grid p { font-size: 14px; opacity: .85; margin: 0; }

/* Showroom */
.showroom { position: relative; min-height: 80vh; display: flex; align-items: flex-end; color: var(--white); background: var(--black); }
.showroom-inner { position: relative; padding: 0 var(--gutter) 72px; }
.showroom .display { margin-bottom: 24px; }
.play { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--white); z-index: 2; }
.play::after { content: ""; position: absolute; left: 30px; top: 25px; border-left: 16px solid var(--black); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.play:hover { background: var(--gold); }

/* Page heads */
.page-head { text-align: center; padding-bottom: clamp(40px, 6vw, 80px); }
.sub { font-size: 13px; letter-spacing: .04em; margin: 0; }
.bg-dark .page-head { padding-top: calc(var(--pad) + 60px); }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 16px; }
.project-card { text-decoration: none; display: block; }
.project-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; margin-bottom: 14px; }
.project-card .eyebrow { font-size: 10px; margin-bottom: 8px; min-height: 1em; }
.project-index { padding-top: 0; }

/* Project detail */
.project-top { padding-top: 24px; }
.project-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 56px; }
.project-intro .display { font-size: clamp(30px, 3.4vw, 44px); }
.specs { display: grid; gap: 22px; align-content: start; }
.specs h4 { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 4px; }
.specs p { margin: 0; font-size: 14px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); padding-top: 0; }
.gallery figure { margin: 0; }
.gallery .wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.more-projects { border-top: 1px solid var(--line); }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse .split-media { order: -1; }
.lede { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.stack { position: relative; padding-bottom: 18%; }
.stack img:first-child { width: 78%; aspect-ratio: 4 / 3; object-fit: cover; }
.stack img:last-child { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 7 / 8; object-fit: cover; border: 8px solid var(--cream); }
.split-media .feature img { aspect-ratio: 2 / 3; }
.film { padding-top: 0; padding-bottom: 0; background: var(--cream); }
.film-frame { position: relative; aspect-ratio: 16 / 9; background: var(--black); }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.steps .num { font-family: var(--serif); font-size: 40px; color: var(--gold); display: block; margin-bottom: 12px; }
.steps p { opacity: .85; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 40px 24px; margin-top: 40px; }
.member { margin: 0; }
.member img, .member .initials { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 12px; filter: grayscale(.15); }
.member .initials { display: grid; place-items: center; background: #e4ddd2; font-family: var(--serif); font-size: 44px; color: #8a7b66; }
.member strong { display: block; font-weight: 500; }
.member span { font-size: 13px; opacity: .7; }

/* Products */
.products { padding-top: 0; display: grid; gap: clamp(72px, 10vw, 140px); }
.product-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px clamp(32px, 5vw, 72px); align-items: start; }
.product-row .display { grid-column: 1 / -1; margin: 0; }
.product-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.link-list { display: flex; flex-wrap: wrap; gap: 12px 0; }
.product-hero { position: relative; height: clamp(320px, 60vw, 820px); background: var(--black); }
.product-intro { text-align: center; }
.product-intro .display { max-width: 720px; margin: 0 auto 28px; }
.intro-body { max-width: 760px; margin: 0 auto; }
.features { display: grid; grid-template-columns: minmax(220px, 1fr) 2.6fr; gap: 48px; padding-top: 0; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.feature-list h3 { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.feature-list p { font-size: 14px; margin: 0; }
.collections { display: grid; gap: clamp(56px, 8vw, 120px); padding-top: 0; }
.collection { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.collection:nth-child(even) img { order: 2; }
.collection img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.center-cta { text-align: center; padding-top: 0; }

/* Resources */
.resources { padding-top: 0; max-width: 1200px; margin: 0 auto; }
.res-tools { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
#res-search { font: inherit; padding: 10px 14px; border: 1px solid var(--line); background: var(--white); min-width: 240px; flex: 0 1 320px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 500 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: inherit; }
.chip.active, .chip:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.table-wrap { overflow-x: auto; }
.res-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.res-table th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 12px; border-bottom: 1px solid var(--black); }
.res-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.res-table a { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.res-count { margin-top: 16px; font-size: 13px; opacity: .7; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 120px); padding-top: 0; }
.contact .label { font-weight: 600; }
.contact-form { display: grid; gap: 18px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; }
.contact-form legend, .contact-form label { font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.contact-form label { display: grid; gap: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 6px; }
.contact-form input, .contact-form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); width: 100%; }
.contact-form button { justify-self: start; }
.form-note { font-size: 13px; margin: 0; }

/* Legal */
.legal { padding-top: 0; }
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2, .legal-body h3 { font-family: var(--serif); font-weight: 400; }
.legal-body a { overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--black); color: var(--white); padding: 72px var(--gutter) 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-region { margin: 22px 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.footer-tag { font-family: var(--display); font-size: 22px; margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(120px, auto)); gap: 56px; }
.footer-cols h4 { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; opacity: .6; }
.footer-cols a, .footer-cols p { display: block; font-size: 12px; letter-spacing: .06em; text-decoration: none; margin: 0 0 8px; overflow-wrap: anywhere; }
.footer-cols div:not(:last-child) a { text-transform: uppercase; }
.footer-cols a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 64px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.footer-bottom p { margin: 0; }
.verse { max-width: 520px; }

/* Responsive */
@media (max-width: 1000px) {
  .values, .features { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; background: var(--black); color: var(--white); flex-direction: column; justify-content: center; gap: 22px; display: none; }
  .nav a { font-size: 15px; }
  .nav-open .nav { display: flex; }
  .nav-open .menu-toggle { color: var(--white); position: fixed; right: var(--gutter); top: 32px; }
  .dropdown { position: static; display: flex; background: none; padding: 10px 0 0; align-items: center; box-shadow: none; }
  .header-light .dropdown { background: none; color: var(--white); }
  .products-teaser, .feature-grid, .split, .project-intro, .product-row, .collection, .contact, .gallery { grid-template-columns: 1fr; }
  .feature.offset { margin-top: 0; }
  .feature.wide { width: 100%; }
  .split.reverse .split-media, .collection:nth-child(even) img { order: 0; }
  .value-grid, .feature-list, .steps, .card-grid, .footer-cols, .row2 { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: auto; }
  .pt-media { display: none; }
}

/* Hide background video until it plays so the poster shows instead of a black box */
.video-bg iframe { opacity: 0; transition: opacity .8s; }
.video-bg iframe.playing { opacity: 1; }


/* ===================================================================== motion */
/* Preloader + page curtain (only when JS motion is active) */
.preloader, .curtain { display: none; }
.motion .preloader { position: fixed; inset: 0; z-index: 200; background: var(--black); display: grid; place-content: center; justify-items: center; gap: 28px; }
.preloader img { width: 64px; height: 64px; opacity: 0; transform: translateY(12px); }
.preloader-bar { width: 140px; height: 1px; background: rgba(255,255,255,.15); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.motion .curtain { display: none; position: fixed; inset: 0; z-index: 190; background: var(--black); transform: translateY(100%); pointer-events: none; }
.motion.skip-preloader .preloader { display: none; }

/* Hide motion targets until GSAP takes over, to avoid a flash of final state */
.motion .hero .hero-inner > *, .motion .page-head > * { opacity: 0; }
.ready .hero .hero-inner > *, .ready .page-head > * { opacity: 1; }

/* Split headings */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* Image reveal wrapper */
.img-wrap { position: relative; overflow: hidden; }
.img-wrap > img { will-change: transform; }
.project-card .img-wrap, .feature .img-wrap { margin-bottom: 16px; }
.project-card .img-wrap img, .feature .img-wrap img { margin-bottom: 0; }
.project-card img, .feature img, .gallery img, .member img, .product-img img, .collection img { transition: scale 1.2s var(--ease), filter .6s; }
.project-card:hover img, .feature:hover img, .product-img:hover img, .gallery figure:hover img { scale: 1.05; }
.gallery .img-wrap { height: 100%; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.member:hover img { filter: grayscale(0); }
.member img { filter: grayscale(.6); }

/* Cursor */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--white); mix-blend-mode: difference; pointer-events: none; opacity: 0; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, opacity .3s; }
.cursor span { font: 600 10px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity .2s; }
.cursor.on { opacity: 1; }
.cursor.view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold); mix-blend-mode: normal; }
.cursor.view span { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* Marquee */
.marquee { background: var(--black); color: var(--cream); overflow: hidden; padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(48px, 8vw, 120px); line-height: 1; white-space: nowrap; }
.marquee i { width: 14px; height: 14px; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Horizontal selected work */
.work { padding: 0; overflow: hidden; }
.work-pin { display: flex; align-items: center; gap: clamp(32px, 5vw, 80px); min-height: 100vh; padding: var(--pad) 0 var(--pad) var(--gutter); }
.work-head { flex: none; width: clamp(240px, 24vw, 340px); }
.work-track { display: flex; gap: 28px; padding-right: var(--gutter); will-change: transform; }
.work-track .project-card { flex: none; width: clamp(260px, 26vw, 380px); }
.work-track .project-card img { aspect-ratio: 3 / 4; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 180; background: rgba(0,0,0,.94); display: none; place-items: center; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font: 300 34px var(--sans); cursor: pointer; padding: 16px 20px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.7); }
.gallery figure { cursor: zoom-in; }

/* Projects index: editorial stagger */
@media (min-width: 1001px) {
  .project-index .card-grid .project-card:nth-child(3n+2) { margin-top: 96px; }
}

/* Play button pulse */
.play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

@media (max-width: 760px) {
  .region { margin-left: 16px; padding-left: 16px; font-size: 10px; letter-spacing: .24em; }
  body.bg-light main { padding-top: 76px; }
  .work-pin { flex-direction: column; align-items: stretch; min-height: 0; padding-right: 0; }
  .work-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .work-track .project-card { width: 78vw; scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pt-media img { clip-path: none; transform: none; opacity: 0; }
  .pt-media img.on { opacity: 1; }
}

/* Keep scaled/parallax media inside its section */
.hero, .showroom, .product-hero { overflow: hidden; }
html { overflow-x: clip; }
/* Work strip: cards slide behind the heading panel */
.work-head { position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--black); padding-right: clamp(16px, 2vw, 32px); box-shadow: 40px 0 40px -10px var(--black); }
@media (max-width: 760px) { .work-head { box-shadow: none; padding-right: var(--gutter); } }
@media (min-width: 761px) {
  .work-pin { padding-left: 0; }
  .work-head { padding-left: var(--gutter); width: calc(clamp(240px, 24vw, 340px) + var(--gutter)); }
}
