:root {
  color-scheme: dark;
  --night: #17242c;
  --ink: #0d171d;
  --snow: #f4f1e9;
  --snow-soft: #e2e1db;
  --muted: #c5c8c5;
  --line: rgba(241, 239, 232, .23);
  --saffron: #e6b459;
  --vermilion: #d96043;
  --moss: #aeb99f;
  --body: "DM Sans", Arial, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --page-gutter: clamp(24px, 7vw, 112px);
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 94px; background: var(--night); }
body { min-width: 320px; margin: 0; background: var(--night); color: var(--snow); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
a { color: inherit; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 4px; }
::selection { background: var(--saffron); color: var(--ink); }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 16px; transform: translateY(-150%); background: var(--snow); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.scene-stage { position: fixed; z-index: 0; inset: 0; overflow: hidden; background: #a8b7c0; pointer-events: none; }
.scene-backdrop { position: absolute; inset: 0; background: linear-gradient(180deg, #314958 0%, #93a8b2 43%, #d3d0c3 69%, #495052 100%); }
.scene-backdrop::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,17,23,.18), transparent 28%, rgba(7,16,20,.42) 100%); content: ""; }
.scene-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,18,.48), rgba(5,13,18,.11) 65%, rgba(5,13,18,.13)), linear-gradient(0deg, rgba(5,13,18,.55), transparent 45%); }
.scene-grain { position: absolute; inset: 0; opacity: .075; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E"); mix-blend-mode: screen; }
#world-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.scene-loading { position: absolute; right: 26px; bottom: 22px; max-width: min(700px,calc(100vw - 52px)); margin: 0; padding: 8px 12px; border: 1px solid rgba(255,255,255,.27); border-radius: 30px; background: rgba(11,22,28,.82); color: white; font-size: 13px; letter-spacing: .03em; line-height: 1.45; overflow-wrap: anywhere; backdrop-filter: blur(12px); transition: opacity .4s ease; }
html.scene-ready .scene-loading { opacity: 0; }
html.scene-fallback #world-canvas { display: none; }
html.scene-fallback .scene-backdrop { background-image: linear-gradient(180deg, rgba(12,20,25,.15), rgba(12,20,25,.5)), url("assets/himalaya/himalaya-ridge-panorama.jpg"); background-size: cover; background-position: center; }

.site-header { position: fixed; z-index: 30; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 12px var(--page-gutter); border-bottom: 1px solid rgba(255,255,255,.17); background: rgba(9,19,24,.76); backdrop-filter: blur(18px); }
.wordmark { display: block; width: clamp(150px,18vw,220px); height: 58px; flex: 0 0 auto; overflow: hidden; text-decoration: none; }
.wordmark-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.footer-mark span { color: var(--saffron); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.site-nav a { color: var(--snow-soft); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="location"] { color: #fff; }
.site-nav .nav-contact { padding: 8px 13px; border: 1px solid rgba(255,255,255,.48); border-radius: 3px; }
.nav-contact span { margin-left: 5px; color: var(--saffron); }
.menu-toggle { display: none; }
main { position: relative; z-index: 1; }
.section { position: relative; display: flex; min-height: 100svh; flex-direction: column; justify-content: center; padding: 128px var(--page-gutter) 78px; border-bottom: 1px solid rgba(255,255,255,.12); isolation: isolate; }
.section::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(9,19,25,.35), rgba(9,19,25,.06) 85%); content: ""; pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 21px; color: #f1eee4; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.eyebrow-rule { display: inline-block; width: 30px; height: 2px; background: var(--saffron); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: pretty; }
.section h2 { margin: 0; font-family: var(--display); font-size: clamp(42px, 5.3vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: 1.02; }
.section h2 em { color: #f0c77c; font-weight: 500; }
.glass-panel { border: 1px solid rgba(255,255,255,.34); background: rgba(10,20,25,.79); box-shadow: 0 22px 70px rgba(4,9,12,.18); backdrop-filter: blur(16px); }

.section-hero { padding-top: 150px; padding-bottom: 100px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(290px,.72fr); align-items: center; gap: clamp(36px, 8vw, 120px); width: min(1260px, 100%); margin: 0 auto; }
.hero-copy { max-width: 770px; }
.hero-copy h1 { max-width: 780px; margin: 0 0 23px; font-family: var(--display); font-size: clamp(54px, 7vw, 100px); font-weight: 500; letter-spacing: -.068em; line-height: .98; }
.hero-copy h1 em { color: #f0c77c; font-weight: 500; }
.hero-deck { margin: 0 0 15px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.35; }
.hero-intro { max-width: 610px; margin: 0; color: #f0eee8; font-size: 18px; line-height: 1.7; }
.hero-note { max-width: 500px; margin: 17px 0 0; color: #f5dba8; font-size: 16px; }
.hero-portrait { position: relative; width: min(100%, 380px); justify-self: center; margin: 0; text-align: right; }
.hero-portrait img { position: relative; z-index: 1; display: block; width: 100%; max-height: 500px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 35px rgba(0,0,0,.38)); }
.portrait-halo { position: absolute; top: 20%; right: 7%; width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(231,180,89,.34), rgba(231,180,89,0) 68%); }

.section-about { gap: 30px; }
.section-heading { width: min(1240px,100%); margin: 0 auto; }
.about-layout { width: min(1000px,100%); margin: 0 auto; }
.about-copy { padding: clamp(22px,3vw,42px); color: #f0eee9; font-size: 17px; line-height: 1.7; }
.about-copy p { margin: 0 0 17px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: #fff; }
.about-signoff { color: #f0c77c; font-family: var(--display); font-size: 22px; line-height: 1.45; }
.section-work { gap: 34px; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; width: min(1240px,100%); margin: 0 auto; }
.project-card { min-height: 360px; overflow: hidden; border: 1px solid rgba(255,255,255,.4); background: rgba(13,24,28,.84); box-shadow: 0 22px 64px rgba(0,0,0,.2); backdrop-filter: blur(17px); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.project-card:hover, .project-card:focus-within, .project-card.is-highlighted { transform: translateY(-5px); border-color: rgba(255,255,255,.84); box-shadow: 0 30px 74px rgba(0,0,0,.3); }
.project-card-button { display: flex; width: 100%; min-height: 360px; flex-direction: column; align-items: stretch; padding: clamp(22px,3vw,38px); border: 0; background: transparent; text-align: left; cursor: pointer; }
.project-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.project-number, .project-category, .other-card-number { color: #f0d69f; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.project-symbol { display: grid; width: 65px; height: 65px; place-items: center; border: 1px solid rgba(233,177,76,.75); border-radius: 50%; color: #f2c469; font-family: var(--display); font-size: 33px; }
.withyou-symbol { border-color: rgba(183,197,166,.75); color: #d6dfc6; }
.project-parv { background-image: radial-gradient(ellipse at 0 0, rgba(177,77,41,.38), transparent 58%); }
.project-withyou { background-image: radial-gradient(ellipse at 100% 0, rgba(102,120,100,.4), transparent 58%); }
.project-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; margin-top: 25px; }
.project-card-copy strong { margin-top: 5px; color: #fff; font-family: var(--display); font-size: clamp(36px,4vw,54px); font-weight: 500; line-height: 1.05; }
.project-tagline { margin-top: 5px; color: #f0d29a; font-size: 19px; font-weight: 600; }
.project-withyou .project-tagline { color: #d7dfcb; }
.project-summary { max-width: 60ch; margin-top: 13px; color: #f3f2ee; font-size: 17px; line-height: 1.6; }
.project-card-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.28); color: white; font-size: 15px; font-weight: 700; }
.project-card-cta b { color: var(--saffron); font-size: 20px; }

.section-other-work { min-height: 118svh; gap: 32px; }
.other-work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 17px; width: min(1240px,100%); margin: 0 auto; }
.other-card { display: flex; min-height: 510px; flex-direction: column; align-items: flex-start; padding: clamp(20px,2.3vw,30px); border: 1px solid rgba(255,255,255,.36); background: rgba(10,20,25,.85); box-shadow: 0 22px 64px rgba(0,0,0,.2); backdrop-filter: blur(16px); transition: transform .25s ease, border-color .25s ease; }
.other-card:hover, .other-card:focus-within, .other-card.is-highlighted { transform: translateY(-4px); border-color: rgba(255,255,255,.84); }
.other-card-number { min-height: 2.8em; font-size: 11px; line-height: 1.4; }
.other-card-mark { display: grid; width: 59px; height: 59px; flex: 0 0 auto; place-items: center; margin: 20px 0 14px; border: 1px solid rgba(240,198,121,.7); border-radius: 50%; color: #f0c679; font-family: var(--display); font-size: 24px; }
.lic-mark { color: #dbe5ed; border-color: #a9bfce; }
.nift-mark { color: #dfd4b6; border-color: #c5af7e; }
.other-card h3 { min-height: 2.36em; margin: 0 0 10px; color: #fff; font-family: var(--display); font-size: clamp(24px,2.5vw,34px); font-weight: 500; line-height: 1.18; }
.other-card > p { margin: 0 0 17px; color: #f0eee9; font-size: 16px; line-height: 1.6; }
.film-direction { color: #fff !important; font-weight: 700; }
.film-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: auto; }
.film-actions .text-action { margin-top: 0; }
.text-action { display: inline-flex; align-items: center; gap: 7px; width: fit-content; min-height: 43px; margin-top: auto; padding: 7px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.58); background: transparent; color: white; font-size: 15px; font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer; }
.text-action:hover { color: #f2cf88; }
.text-action span { color: var(--saffron); }

.section-contact { min-height: 92svh; padding-bottom: 100px; }
.contact-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.72fr); gap: clamp(35px,8vw,110px); width: min(1200px,100%); margin: 0 auto; padding: clamp(24px,5vw,65px); }
.contact-copy h2 { margin-bottom: 19px; font-size: clamp(58px,7.2vw,96px); }
.contact-copy > p:not(.eyebrow) { max-width: 570px; color: #f1efea; font-size: 17px; line-height: 1.7; }
.contact-actions { display: flex; flex-direction: column; justify-content: center; gap: 13px; }
.contact-link { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; align-items: center; padding: 17px; border: 1px solid rgba(255,255,255,.34); background: rgba(6,15,20,.35); text-decoration: none; transition: background .2s ease; }
.contact-link:hover { background: rgba(255,255,255,.1); }
.contact-link span { color: var(--snow-soft); font-size: 14px; }
.contact-link strong { font-size: 16px; overflow-wrap: anywhere; }
.contact-link b { grid-column: 2; grid-row: 1 / span 2; color: var(--saffron); font-size: 23px; }
.site-footer { position: absolute; right: var(--page-gutter); bottom: 23px; left: var(--page-gutter); display: flex; align-items: center; gap: 20px; color: white; }
.site-footer p { margin: 0 auto 0 0; font-size: 14px; }
.site-footer > a, .site-footer > span { font-size: 14px; text-decoration: none; }
.footer-mark { font-weight: 700; letter-spacing: .13em; }

.project-dialog, .film-dialog { width: min(1040px,calc(100% - 40px)); max-width: none; max-height: min(90svh,920px); overflow: auto; padding: 0; border: 1px solid rgba(255,255,255,.4); background: #101a20; color: var(--snow); box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.project-dialog::backdrop, .film-dialog::backdrop { background: rgba(4,10,14,.76); backdrop-filter: blur(7px); }
.dialog-shell, .film-dialog-shell { min-height: 100%; }
.dialog-header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 24px; border-bottom: 1px solid var(--line); background: rgba(13,23,29,.95); backdrop-filter: blur(12px); }
.dialog-header .eyebrow { margin: 0 0 4px; font-size: 12px; }
.dialog-header h2 { margin: 0; font-family: var(--display); font-size: clamp(27px,4vw,42px); font-weight: 500; line-height: 1.15; }
.dialog-close { display: grid; width: 48px; height: 48px; min-width: 44px; min-height: 44px; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: transparent; color: white; font-size: 28px; line-height: 1; cursor: pointer; }
.dialog-content { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
.detail-cover { align-self: start; min-height: 0; overflow: hidden; padding: 0; }
.detail-cover > img { display: block; width: 100%; height: auto; }
.detail-cover-parv { background: radial-gradient(circle at center, rgba(229,148,48,.54), transparent 66%), linear-gradient(145deg,#752d24,#402520); }
.detail-cover-withyou { background: radial-gradient(circle at center, rgba(188,197,157,.35), transparent 66%), linear-gradient(145deg,#526256,#242d2a); }
.detail-cover-lic { background: radial-gradient(circle at center, rgba(129,169,191,.42), transparent 66%), linear-gradient(145deg,#34566a,#1b2b35); }
.detail-cover-nift { background: #faf7ed; }
.detail-body { padding: clamp(24px,4vw,44px); color: #f0eee8; font-size: 17px; line-height: 1.7; }
.detail-body p { margin: 0 0 18px; }
.detail-body .detail-lead { color: #fff; font-family: var(--display); font-size: 22px; line-height: 1.4; }
.detail-callout { margin: 22px 0; padding: 18px; border-left: 3px solid var(--saffron); background: rgba(255,255,255,.07); }
.detail-callout span { color: #f1d392; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.detail-callout p { margin: 6px 0 0; }
.detail-footnote { color: #f2d69d; }
.detail-links { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.detail-links a { display: inline-flex; min-height: 45px; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.5); font-size: 14px; font-weight: 700; text-decoration: none; }
.detail-links a:hover { background: rgba(255,255,255,.1); }
.detail-links span { color: var(--saffron); }
.film-dialog-intro { margin: 18px 25px 21px; color: #eeece5; font-size: 17px; }
.film-poster-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; padding: 0 25px 26px; }
.film-poster-grid figure { min-width: 0; margin: 0; }
.film-poster-grid img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #1b282e; }
.film-poster-grid figcaption { padding-top: 8px; color: #f5f2eb; font-size: 14px; line-height: 1.4; }
.film-shelf-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0 25px 26px; border-top: 1px solid var(--line); }
.film-shelf-links .text-action { margin-top: 14px; }

@media (max-width: 960px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(220px,.7fr); gap: 35px; }
  .hero-copy h1 { font-size: clamp(50px,7vw,76px); }
  .other-work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: auto; }
  .other-card { min-height: 450px; }
  .other-nift { grid-column: 1 / -1; width: calc((100% - 17px) / 2); justify-self: center; }
}
@media (max-width: 700px) {
  :root { --page-gutter: 23px; }
  html { scroll-padding-top: 74px; }
  body { font-size: 16px; }
  .site-header { min-height: 70px; padding: 10px var(--page-gutter); }
  .wordmark { width: 165px; height: 46px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(255,255,255,.53); border-radius: 50%; background: rgba(8,18,23,.5); }
  .menu-toggle span { width: 15px; height: 2px; background: white; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: 69px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--page-gutter) 18px; border-bottom: 1px solid var(--line); background: rgba(8,18,23,.97); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; }
  .site-nav .nav-contact { margin-top: 9px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.4); text-align: center; }
  .section { min-height: 100svh; padding: 104px var(--page-gutter) 74px; }
  .section-hero { min-height: 100svh; justify-content: center; padding-top: 110px; padding-bottom: 96px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-copy h1 { max-width: 580px; font-size: clamp(48px,12vw,77px); }
  .eyebrow { flex-wrap: wrap; gap: 8px; font-size: 11px; line-height: 1.45; }
  .hero-deck { font-size: 20px; }
  .hero-intro { font-size: 16px; line-height: 1.6; }
  .hero-note { font-size: 15px; }
  .hero-portrait { position: absolute; right: 3px; bottom: 11%; width: min(42%,205px); opacity: .72; pointer-events: none; }
  .hero-portrait img { max-height: 260px; }
  .hero-copy { position: relative; z-index: 1; max-width: 100%; }
  .hero-copy::before { position: absolute; z-index: -1; inset: -20px -12px; background: radial-gradient(ellipse at left center, rgba(7,17,23,.86), rgba(7,17,23,.38) 76%, transparent); content: ""; }
  .section h2 { font-size: clamp(40px,10vw,62px); }
  .about-copy { padding: 20px; font-size: 16px; }
  .project-grid { grid-template-columns: 1fr; gap: 13px; }
  .project-card, .project-card-button { min-height: 300px; }
  .project-card-button { padding: 22px; }
  .project-card-copy { margin-top: 15px; }
  .project-card-copy strong { font-size: 39px; }
  .project-tagline { font-size: 18px; }
  .project-summary { font-size: 16px; }
  .section-work { gap: 25px; }
  .section-other-work { min-height: auto; gap: 24px; }
  .other-work-grid { grid-template-columns: 1fr; gap: 12px; }
  .other-film { grid-row: auto; }
  .other-nift { grid-column: auto; width: auto; }
  .other-card { min-height: auto; padding: 21px; }
  .other-card-mark { width: 53px; height: 53px; margin: 16px 0 12px; }
  .other-card h3 { font-size: 29px; }
  .other-card-number, .other-card h3 { min-height: 0; }
  .other-card > p { font-size: 16px; }
  .contact-card { grid-template-columns: 1fr; gap: 21px; padding: 21px; }
  .contact-copy h2 { font-size: clamp(55px,14vw,83px); }
  .contact-copy > p:not(.eyebrow) { font-size: 16px; }
  .contact-actions { gap: 10px; }
  .contact-link { padding: 14px; }
  .contact-link strong { font-size: 15px; }
  .site-footer { position: static; flex-wrap: wrap; gap: 9px 15px; margin-top: 25px; }
  .site-footer p { order: 3; width: 100%; font-size: 13px; }
  .site-footer > a, .site-footer > span { font-size: 13px; }
  .project-dialog, .film-dialog { width: calc(100% - 14px); max-height: calc(100svh - 14px); }
  .dialog-header { padding: 15px; }
  .dialog-header .eyebrow { font-size: 11px; }
  .dialog-close { width: 44px; height: 44px; }
  .dialog-content { grid-template-columns: 1fr; }
  .detail-body { padding: 22px 18px; font-size: 16px; }
  .detail-body .detail-lead { font-size: 20px; }
  .detail-links { gap: 8px; }
  .detail-links a { min-height: 43px; padding: 7px 10px; font-size: 13px; }
  .film-dialog-intro { margin: 15px; font-size: 16px; }
  .film-shelf-links { gap: 6px 20px; padding: 0 15px 20px; }
  .film-poster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; padding: 0 15px 19px; }
  .film-poster-grid figcaption { font-size: 13px; }
}
@media (max-width: 375px) {
  :root { --page-gutter: 18px; }
  .project-card-button { padding: 18px; }
  .project-symbol { width: 53px; height: 53px; }
  .contact-card { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scene-grain { display: none; }
  .hero-portrait img { filter: none; }
}
