@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-normal.woff2) format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-var.woff2) format("woff2"); font-weight: 300 600; font-display: swap; }

:root {
  --cream: #f3eee6;
  --ivory: #faf7f1;
  --sand: #e8e0d3;
  --ink: #16130e;
  --ink-2: #3a342b;
  --muted: #6f675b;
  --line: rgba(22,19,14,.14);
  --dark: #0f0e0c;
  --dark-2: #191714;
  --on-dark: #f3eee6;
  --on-dark-muted: #b3aa9b;
  --blue: #2160C4;      /* TMB royal blue, from the logo: buttons (white text 5.9:1) */
  --blue-2: #1F5BB5;    /* labels on cream (5.6:1) */
  --blue-hi: #2A6AD6;   /* button hover */
  --blue-lt: #6E9CF0;   /* blue text on dark (7:1) */
  --logo-blue: #1D5AB3;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: .98; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; position: relative; }
.kicker { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.kicker--blue { color: var(--blue-lt); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 500; letter-spacing: .01em; transition: background .3s, transform .3s, box-shadow .3s; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hi); transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(33,96,196,.85); }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: clamp(15px, 1.6vw, 18px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--ink); transition: color .35s, background .35s, backdrop-filter .35s; }
.nav-inner { height: var(--nav-h); width: min(1320px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.nav--solid { background: rgba(243,238,230,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav--dark { color: var(--on-dark); }
.nav--dark.nav--solid { background: rgba(15,14,12,.45); }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.wordmark { position: relative; }
.tmb-logo { display: block; height: 34px; width: auto; transition: opacity .35s, transform .4s cubic-bezier(.2,.7,.2,1); }
/* logo is always the original white + royal-blue mark; over cream a soft dark halo keeps it legible */
.nav .tmb-logo { filter: drop-shadow(0 1px 1.5px rgba(8,18,45,.55)) drop-shadow(0 2px 10px rgba(8,18,45,.28)); transition: opacity .35s, transform .4s cubic-bezier(.2,.7,.2,1), filter .35s; }
.nav--dark .tmb-logo { filter: none; }
.wordmark:hover .tmb-logo { transform: skewX(-4deg); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a, .nav-cta { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; opacity: .82; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { opacity: 1; padding: 9px 16px; border: 1px solid currentColor; border-radius: 999px; }
.nav-cta:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Scene plumbing ---------- */
.sticky { position: relative; }
.js .scene { position: relative; }
.js .scene > .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.js .hero { height: 250vh; }
.js .sky { height: 300vh; }
.js .about { height: 220vh; }

/* ---------- 1. Hero ---------- */
.hero { --e: 0; --o: 0; background: var(--cream); }
.hero .sticky { min-height: 100svh; }
.hero-eyebrow { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 4svh); text-align: center; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); opacity: calc(1 - var(--e) * 3); z-index: 3; }
.hero-title { position: absolute; inset: 0; z-index: 3; pointer-events: none; font-size: clamp(54px, 7vw, 132px); }
.hw { position: absolute; top: 50%; white-space: nowrap; opacity: calc(1 - var(--e) * 1.6); }
.hw--l { right: 67vw; transform: translate(calc(var(--e) * -22vw), -50%); }
.hw--r { left: 67vw; transform: translate(calc(var(--e) * 22vw), -50%); font-style: italic; }
.hero-card { position: absolute; inset: 0; z-index: 2; overflow: hidden;
  clip-path: inset(calc((1 - var(--e)) * 21svh) calc((1 - var(--e)) * 35vw) round calc((1 - var(--e)) * 22px));
  -webkit-clip-path: inset(calc((1 - var(--e)) * 21svh) calc((1 - var(--e)) * 35vw) round calc((1 - var(--e)) * 22px)); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.32 - var(--e) * .32)); transform-origin: 50% 55%; }
.hero-card-shade { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(15,14,12,.55), rgba(15,14,12,.25) 75%), linear-gradient(180deg, rgba(15,14,12,.35), rgba(15,14,12,.1) 40%, rgba(15,14,12,.5)); opacity: var(--o); }
.hero-over { position: absolute; left: 50%; top: 50%; z-index: 4; width: min(900px, 100% - 48px); text-align: center; color: var(--on-dark); transform: translate(-50%, calc(-50% + (1 - var(--o)) * 40px)); opacity: var(--o); pointer-events: none; }
.hero-over a { pointer-events: auto; }
.hero-over-k { font-family: var(--serif); font-size: clamp(40px, 5.6vw, 88px); line-height: 1; letter-spacing: -0.01em; text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.hero-over-t { margin: 22px auto 30px; max-width: 520px; font-size: clamp(15px, 1.4vw, 17px); color: rgba(243,238,230,.9); }
.scroll-hint { position: absolute; left: 50%; bottom: 4svh; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); opacity: calc(1 - var(--e) * 4); }
.scroll-hint span { width: 1px; height: 38px; background: linear-gradient(var(--muted), transparent); animation: hint 2s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
html:not(.js) .hero .sticky { height: 100svh; overflow: hidden; position: relative; }

/* ---------- 2. Sky ---------- */
.sky { --z: 0; --o: 0; background: var(--dark); color: var(--on-dark); }
.sky .sticky { height: 100svh; overflow: hidden; }
.sky-img { position: absolute; inset: 0; }
.sky-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--z) * .25)); }
.window { position: absolute; left: 50%; top: 56%; width: min(22vw, 330px); aspect-ratio: 2 / 3; border-radius: 50% / 36%;
  transform: translate(-50%, -50%) scale(calc(1 + var(--z) * var(--zmax, 11)));
  box-shadow: 0 0 0 14px #e9e2d6, 0 0 0 15px rgba(0,0,0,.25), 0 0 0 max(200vw, 200vh) var(--dark); will-change: transform; }
.window-glass { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 6px rgba(255,255,255,.25), inset 0 30px 60px rgba(0,0,0,.35); background: linear-gradient(125deg, rgba(255,255,255,.18) 0 22%, transparent 38%); opacity: calc(1 - var(--z) * 3); }
.sky-head { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 3svh); text-align: center; opacity: calc(1 - var(--z) * 2.5); transform: translateY(calc(var(--z) * -60px)); }
.sky-head .kicker { color: var(--blue-lt); margin-bottom: 14px; }
.sky-head h2 { font-size: clamp(46px, 6.6vw, 112px); }
.sky-over { position: absolute; left: 50%; top: 50%; width: min(760px, 100% - 48px); text-align: center; color: var(--ink); opacity: var(--o); transform: translate(-50%, calc(-50% + (1 - var(--o)) * 50px)); }
.sky-logo { display: block; width: min(460px, 70%); height: auto; margin: 0 auto clamp(18px, 3vh, 34px); filter: drop-shadow(0 18px 40px rgba(10,30,80,.35)); transform: scale(calc(.82 + var(--o) * .18)); transform-origin: 50% 80%; }
.sky-over-t { font-family: var(--serif); font-size: clamp(44px, 6.4vw, 104px); line-height: 1; }
.sky-over-s { margin: 22px auto 0; max-width: 520px; font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-2); }

/* ---------- 3. Projects ---------- */
.projects { position: relative; padding: clamp(110px, 14vw, 180px) 0 clamp(90px, 10vw, 140px); overflow: hidden; }
.watermark { position: absolute; left: 50%; top: 40px; transform: translate(-50%, var(--wy, 0px)); font-family: var(--serif); font-size: clamp(220px, 42vw, 640px); line-height: .8; letter-spacing: .04em; color: rgba(22,19,14,.045); white-space: nowrap; pointer-events: none; user-select: none; }
.sec-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2, .web h2, .reel h2, .contact h2 { font-size: clamp(44px, 5.8vw, 92px); }
.sec-sub { margin-top: 22px; color: var(--muted); max-width: 520px; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pcard { --accent: var(--blue-2); position: relative; background: var(--ivory); border: 1px solid var(--line); border-radius: 22px; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s, border-color .4s, opacity .9s, translate .9s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; min-height: 300px; }
.pcard-main { flex: 1; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 38px); text-decoration: none; border-radius: 22px; }
.pcard-top { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pcard-label { display: inline-flex; align-items: center; gap: 9px; }
.pcard-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pcard-name { margin-top: auto; padding-top: 56px; font-family: var(--serif); font-size: clamp(38px, 3.8vw, 56px); line-height: 1; letter-spacing: -0.01em; }
.pcard-tag { margin-top: 14px; color: var(--ink-2); max-width: 40ch; }
.pcard-foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcard-url { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; overflow-wrap: anywhere; }
.pcard-go { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .35s, border-color .35s, transform .35s; }
.pcard-go svg { width: 16px; height: 16px; }
.pcard:not(.pcard--soon):hover { transform: translateY(-6px); border-color: rgba(33,96,196,.5); box-shadow: 0 30px 60px -34px rgba(20,40,90,.45); }
.pcard:hover .pcard-go { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-45deg); }
.pcard-links { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 clamp(24px, 3vw, 38px) clamp(22px, 2.6vw, 32px); margin-top: -8px; }
.pcard-links a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; transition: background .25s, border-color .25s; }
.pcard-links a:hover { background: var(--sand); border-color: transparent; }
.pcard--soon { background: transparent; border: 1px dashed rgba(22,19,14,.25); min-height: 220px; }
.pcard--soon .pcard-name { color: var(--muted); font-size: clamp(32px, 3vw, 44px); padding-top: 40px; }
.pcard--soon .pcard-tag { color: var(--muted); }

/* ---------- 4. TMB Web ---------- */
.web { background: var(--sand); padding: clamp(90px, 11vw, 160px) 0; }
.web-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.web-fig { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.web-fig-in { position: absolute; inset: -12% 0; transform: translateY(var(--py, 0px)); }
.web-fig-in img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.web-lede { margin-top: 24px; color: var(--ink-2); max-width: 52ch; }
.spec { margin: 36px 0 36px; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-2); padding-top: 3px; }
.spec dd { margin: 0; color: var(--ink-2); }
.spec strong { color: var(--ink); font-weight: 600; }

/* ---------- 5. Reel / marquee ---------- */
.reel { position: relative; background: var(--dark); color: var(--on-dark); padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; isolation: isolate; }
.reel-bg { position: absolute; inset: 0; z-index: -1; opacity: .38; }
.reel-bg img { width: 100%; height: 100%; object-fit: cover; }
.reel-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--dark), rgba(15,14,12,.4) 30%, rgba(15,14,12,.4) 70%, var(--dark)); }
.reel-head { text-align: center; margin-bottom: clamp(50px, 6vw, 80px); }
.marquee { display: grid; gap: 18px; }
.mrow { display: flex; width: max-content; gap: 18px; animation: marquee var(--dur, 46s) linear infinite; }
.mrow--rev { animation-direction: reverse; }
.marquee:hover .mrow { animation-play-state: paused; }
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(-50% - 9px),0,0); } }
.mcard { width: clamp(270px, 28vw, 380px); flex: none; padding: 26px 28px; border-radius: 20px; background: rgba(255,255,255,.045); border: 1px solid rgba(243,238,230,.12); text-decoration: none; color: inherit; transition: border-color .3s, background .3s; }
a.mcard:hover { border-color: rgba(110,156,240,.6); background: rgba(255,255,255,.07); }
.mcard-k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-lt); }
.mcard-n { margin-top: 18px; font-family: var(--serif); font-size: 32px; line-height: 1.05; }
.mcard-t { margin-top: 10px; font-size: 14.5px; color: var(--on-dark-muted); }

/* ---------- 6. About ---------- */
.about { background: var(--cream); }
.about-sticky { display: flex; align-items: center; }
html:not(.js) .about { padding: 120px 0; }
.about-big { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -0.01em; max-width: 1100px; }
.about-big .w { opacity: .16; transition: opacity .25s linear; }
html:not(.js) .about-big .w, .reduced .about-big .w { opacity: 1; }
.about-small { margin-top: 36px; max-width: 520px; color: var(--muted); font-size: clamp(15px, 1.4vw, 17.5px); }

/* ---------- 7. Contact ---------- */
.contact { position: relative; background: var(--dark); color: var(--on-dark); padding: clamp(80px, 9vw, 130px) 0; text-align: center; overflow: hidden; isolation: isolate; }
.contact-win { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1180px, 100% - 32px); height: calc(100% - clamp(80px, 9vw, 130px)); transform: translate(-50%, -50%); border-radius: 30px; overflow: hidden; }
.contact-win img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 2.2s cubic-bezier(.2,.7,.2,1); }
.contact-win.in img { transform: scale(1); }
.contact-win::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15,14,12,.25), rgba(15,14,12,.6)); }
.contact-in { padding: clamp(70px, 9vw, 130px) 0; }
.contact .kicker { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(10,14,24,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #9DBEF8; text-shadow: none; }
.contact h2 { text-shadow: 0 4px 50px rgba(0,0,0,.35); }
.contact-sub { margin: 20px auto 36px; max-width: 460px; color: rgba(243,238,230,.88); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-muted); border-top: 1px solid rgba(243,238,230,.1); padding: 34px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 13.5px; }
.footer-in { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.wordmark--foot img { display: block; height: 30px; width: auto; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--on-dark); }
.footer-copy { margin-left: auto; }

/* ---------- Reveal ---------- */
.js .reveal, .js .pcard { opacity: 0; translate: 0 34px; transition: opacity 1s ease, translate 1s cubic-bezier(.2,.7,.2,1); }
.js .pcard { transition: opacity 1s ease, translate 1s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s, border-color .4s; }
.js .reveal.in, .js .pcard.in { opacity: 1; translate: 0 0; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .web-grid { grid-template-columns: 1fr; }
  .web-fig { aspect-ratio: 4 / 3; }
  .plist { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .nav-inner { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .tmb-logo { height: 28px; }
  .sky-logo { width: min(300px, 74%); }
  .js .hero { height: 220vh; }
  .js .sky { height: 260vh; }
  .js .about { height: 200vh; }
  .hero-title { font-size: clamp(46px, 13.5vw, 72px); }
  .hw { left: 0; right: 0; text-align: center; }
  .hw--l { top: calc(25svh - .55em); transform: translateY(calc(var(--e) * -30svh)); }
  .hw--r { top: calc(75svh - .45em); transform: translateY(calc(var(--e) * 30svh)); left: 0; }
  .hero-card { clip-path: inset(calc((1 - var(--e)) * 31svh) calc((1 - var(--e)) * 9vw) round calc((1 - var(--e)) * 20px)); -webkit-clip-path: inset(calc((1 - var(--e)) * 31svh) calc((1 - var(--e)) * 9vw) round calc((1 - var(--e)) * 20px)); }
  .hero-eyebrow { top: calc(var(--nav-h) + 2svh); letter-spacing: .2em; font-size: 10.5px; }
  .scroll-hint { display: none; }
  .hero-card-shade { background: rgba(15,14,12,.55); }
  .hero-over-t { color: #fff; }
  .window { width: 50vw; top: 58%; box-shadow: 0 0 0 10px #e9e2d6, 0 0 0 11px rgba(0,0,0,.25), 0 0 0 max(200vw, 200vh) var(--dark); }
  .sky-head h2 { font-size: clamp(44px, 13vw, 64px); }
  .sky-over-t { font-size: clamp(42px, 12vw, 60px); }
  .projects { padding-top: 100px; }
  .watermark { top: 30px; font-size: 62vw; }
  .pcard { min-height: 0; }
  .pcard-name { padding-top: 40px; }
  .pcard--soon { min-height: 0; }
  .pcard--soon .pcard-name { padding-top: 26px; }
  .spec > div { grid-template-columns: 1fr; gap: 4px; }
  .mcard { width: 270px; padding: 22px; }
  .mcard-n { font-size: 28px; }
  .about-big { font-size: clamp(30px, 8.6vw, 42px); }
  .footer-in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-copy { margin-left: 0; }
}

/* ---------- Smooth scrolling layer (html.fx is set by script.js when motion is on) ----------
   Scroll scenes are driven from script.js with transform/opacity only; these rules give each moving
   piece its own GPU layer and replace the paint-heavy clip-path and the giant window shadow. */
.fx .hero-card { clip-path: none; -webkit-clip-path: none; --fr: 22px; }
.hc-bar { position: absolute; inset: 0; background: var(--cream); will-change: transform; pointer-events: none; }
.hc-fil { position: absolute; left: 0; top: 0; width: 23px; height: 23px; will-change: transform; pointer-events: none; }
.hc-fil--tl { background: radial-gradient(circle at 100% 100%, transparent calc(var(--fr) - .75px), var(--cream) var(--fr)); transform-origin: 1px 1px; }
.hc-fil--tr { background: radial-gradient(circle at 0 100%, transparent calc(var(--fr) - .75px), var(--cream) var(--fr)); transform-origin: calc(100% - 1px) 1px; }
.hc-fil--bl { background: radial-gradient(circle at 100% 0, transparent calc(var(--fr) - .75px), var(--cream) var(--fr)); transform-origin: 1px calc(100% - 1px); }
.hc-fil--br { background: radial-gradient(circle at 0 0, transparent calc(var(--fr) - .75px), var(--cream) var(--fr)); transform-origin: calc(100% - 1px) calc(100% - 1px); }
.fx .hero-card img, .fx .sky-img img { will-change: transform; backface-visibility: hidden; }
.fx .hero-card-shade, .fx .hero-eyebrow, .fx .window-glass { will-change: opacity; }
.fx .hw, .fx .hero-over, .fx .sky-head, .fx .sky-over, .fx .watermark, .fx .web-fig-in { will-change: transform, opacity; }
.window-mask { position: absolute; left: 0; top: 0; display: block; will-change: transform; pointer-events: none; }
.window-mask path { fill: var(--dark); }
.fx .window { box-shadow: 0 0 0 14px #e9e2d6, 0 0 0 15px rgba(0,0,0,.25); }
.fx .about-big .w { transition: none; }
.mrow { will-change: transform; }
.reel--off .mrow { animation-play-state: paused; }
@media (max-width: 760px) {
  .fx .hero-card { --fr: 20px; }
  .fx .window { box-shadow: 0 0 0 10px #e9e2d6, 0 0 0 11px rgba(0,0,0,.25); }
}

/* ---------- Reduced motion: show final states, no pinning ---------- */
.reduced .hero, .reduced .sky, .reduced .about { height: auto !important; }
.reduced .scene > .sticky { position: relative !important; }
.reduced .hero { --e: 1 !important; --o: 1 !important; }
.reduced .sky { --z: 1 !important; --o: 1 !important; }
.reduced .mrow, .reduced .scroll-hint span { animation: none; }
.reduced .reveal, .reduced .pcard { opacity: 1 !important; translate: none !important; }
