/* Hallmark · custom spatial Feature Stack · audience: business owners ·
   goal: view real capabilities and write a brief · restrained, kinetic studio.
   Nav: edge aligned · Footer: typographic statement.
   pre-emit critique: P4 H4 E4 S4 R4 V5 */
:root {
  --paper: #ecebe7;
  --warm-white: #f4f3ef;
  --wash: #e3e1db;
  --sand: #d9d5cd;
  --ink: #282824;
  --muted: #62605a;
  --earth: #6b6153;
  --line: #ccc9c1;
  --line-strong: #a29b90;
  --dark: #292a27;
  --route: #e5e4de;
  --warm-ink: #2b2c28;
  --light-ink: #dbd8cf;
  --shadow: #28261f24;
  --shadow-deep: #24241f38;
  --sheet-edge: #ada89e;
  --glass: #f2f0e9d9;
  --photo-shade: #101812;
  --clear: #00000000;
  --white-soft: #f4f3edaa;
  --soft-shadow: #26272312;
  --ease-out: cubic-bezier(.16,1,.3,1);
}
html, body { overflow-x: clip; }
h1, h2, h3 { min-width: 0; overflow-wrap: anywhere; font-style: normal; }
button, .button, .text-link { white-space: nowrap; }
.mast { position: absolute; z-index: 10; top: 0; left: 0; right: 0; min-height: 96px; }
.mast::after { display: none; }
.mast-contact { border-bottom: 1px solid var(--line-strong); }
.mast .wordmark { font-size: 43px; }
.hero { display: block; padding: 0; min-height: 0; height: 100svh; }
.hero-sticky { position: relative; height: 100svh; min-height: 740px; isolation: isolate; }
.hero-copy { position: absolute; z-index: 3; left: var(--gutter); top: 25%; width: 56%; }
.hero-kicker { margin-bottom: 25px; font-size: 12px; color: var(--muted); }
.hero h1 { font-size: clamp(98px,11.6vw,188px); line-height: .88; letter-spacing: -.075em; }
.hero h1 > span { width: auto; padding: 0 !important; overflow: visible !important; }
.hero h1 > span:last-child { font-size: .60em; letter-spacing: -.065em; margin-top: .15em; }
.hero h1 > span > span { animation: none !important; }
.hero-lead { margin-top: 28px; max-width: 36ch; font-size: clamp(16px,1.35vw,21px); }
.hero-actions { margin-top: 30px; gap: 25px; }
.button { min-height: 52px; padding-inline: 20px; border-radius: 1px; }
.hero .button-dark { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.hero .button-dark:hover { background: var(--dark); color: var(--white); }
.hero-actions .text-link { border: 0; }
.hero-space { position: absolute; inset: 0; perspective: 1600px; perspective-origin: 65% 45%; pointer-events: none; }
.hero-world { position: absolute; width: 100%; height: 100%; transform-style: preserve-3d; }
.hero-sheet { position: absolute; left: 74%; top: 54%; width: min(39vw,640px); transform-style: preserve-3d; pointer-events: auto; transform: translate(-50%,-50%); }
.hero-sheet::before { position: absolute; inset: 0; content: ''; background: var(--sheet-edge); transform: translateZ(-5px); box-shadow: 12px 32px 60px var(--shadow-deep), 1px 2px 1px var(--shadow-deep); }
.sheet-surface { position: relative; overflow: hidden; background: var(--dark); }
.sheet-surface img { height: 100%; object-fit: cover; filter: saturate(.5); }
.sheet-surface > span { position: absolute; inset: auto 18px 20px; color: var(--white); font: 500 30px/1 var(--display); letter-spacing: -.04em; text-shadow: 0 1px 15px var(--photo-shade); }
.sheet-surface small { display: block; margin-top: 8px; font: 400 11px/1.3 var(--body); letter-spacing: 0; }
.sheet-entro { width: min(24vw,390px); transform: translate(-82%,-63%) translateZ(-200px) rotateY(-24deg) rotateX(7deg) rotateZ(-14deg); }
.sheet-entro .sheet-surface { aspect-ratio: .75; }
.sheet-shok { width: min(25vw,400px); transform: translate(-5%,-67%) translateZ(-165px) rotateY(-27deg) rotateX(4deg) rotateZ(12deg); }
.sheet-shok .sheet-surface { aspect-ratio: .84; }
.sheet-main { margin: 0; transform: translate(-47%,-25%) rotateY(-22deg) rotateX(9deg) rotateZ(-6deg); }
.sheet-main .reel-image { aspect-ratio: 1.6; background: var(--reel); }
.sheet-main .reel-image img, .sheet-main .reel-image video { filter: saturate(.65); }
.sheet-main .reel-caption { margin: 0; padding: 12px 16px; background: var(--warm-white); color: var(--ink); font-size: 12px; }
.sheet-main .reel-toggle { min-height: 36px; background: var(--glass); border: 0; font-size: 11px; }
.sheet-main:hover { --sheet-hover: 1; }
.hero-bottom { position: absolute; inset: auto var(--gutter) 31px; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; color: var(--muted); }
.scroll-cue { display: flex; align-items: center; gap: 18px; }
.scroll-cue span { font-size: 25px; }
.motion-toggle { position: absolute; z-index: 5; right: var(--gutter); top: 112px; display: flex; align-items: center; gap: 12px; min-height: 44px; border: 0; padding: 5px 0; font-size: 11px; background: transparent; color: var(--muted); }
.spatial-ready .hero { height: 176svh; }
.spatial-ready .hero-sticky { position: sticky; top: 0; }
.spatial-ready .hero-copy { will-change: transform,opacity; }
.spatial-ready .hero-world { will-change: transform; }
.spatial-ready .hero-sheet { will-change: transform; }

.work { max-width: none; padding: 0; }
.work-heading { margin: 0; padding: 82px var(--gutter) 25px; border: 0; }
.work h2 { font-size: clamp(58px,8.3vw,138px); line-height: 1; letter-spacing: -.065em; }
.work-heading .eyebrow { margin-bottom: 15px; }
.work h2 span { color: var(--ink); }
.gallery { display: block; padding: 30px var(--gutter) 90px; }
.gallery-camera { display: grid; grid-template-columns: minmax(0,1fr); gap: 60px; }
.gallery .case { margin: 0; }
.case-frame, .case[data-chapter='entro'] .case-frame, .case[data-chapter='shok'] .case-frame { aspect-ratio: 1.95; }
.case[data-chapter='shok'] .case-frame img { object-position: 65% 40%; }
.project-sign { position: absolute; inset: 12% auto auto 8%; color: var(--white); font: 500 clamp(32px,6vw,94px)/1 var(--display); letter-spacing: -.07em; }
.project-sign small { display: block; margin-top: 14px; font: 400 clamp(12px,1.1vw,16px)/1.4 var(--body); letter-spacing: 0; }
.sign-tish { font-size: clamp(25px,3.5vw,54px); letter-spacing: .15em; top: 17%; }
.sign-entro { top: 20%; font-weight: 600; }
.sign-shok { top: 15%; font-size: clamp(60px,12vw,168px); }
.sign-shok small { font: 400 .48em/.9 var(--display); letter-spacing: -.065em; }
.case[data-chapter='shok'] .case-frame::after { position: absolute; inset: 0; z-index: -1; content: ''; background: var(--ink); }
.case[data-chapter='shok'] .case-frame img { width: 65%; margin-left: auto; }
.case[data-chapter='shok'] .case-frame { background: var(--ink); }
.case-open { inset: auto 24px 24px auto; background: var(--glass); padding: 12px 16px; }
.case-motion { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: saturate(.65); transition: opacity 400ms var(--ease-out); pointer-events: none; }
.case-motion.is-playing { opacity: 1; }
.case-frame .project-sign, .case-frame .case-open { z-index: 2; }
.case:has(.case-motion.is-playing) .sign-tish { display: none; }
#gallery-motion { margin-left: auto; font-size: 11px; }
.gallery-count { margin-left: 0 !important; }
.case-copy, .case[data-chapter='tish'] .case-copy { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.6fr); align-items: center; }
.case-copy h3 { font-size: clamp(32px,4.3vw,68px); margin: 4px 0 0; }
.case-type { color: var(--muted); font-size: 12px; }
.case-copy > p { font-size: clamp(15px,1.1vw,18px); max-width: 42ch; }
.gallery-floor { display: none; }
.spatial-ready .gallery[data-view='gallery'] { height: 320svh; padding: 0; }
.spatial-ready .gallery[data-view='gallery'] .gallery-camera { display: block; position: sticky; top: 0; height: 100svh; min-height: 700px; perspective: 1900px; overflow: clip; }
.spatial-ready .gallery[data-view='gallery'] .case { position: absolute; inset: 0; margin: 0; pointer-events: none; transform-style: preserve-3d; }
.spatial-ready .gallery[data-view='gallery'] .case-picture { position: absolute; left: 12%; top: 7%; width: 76%; height: 64%; transform-style: preserve-3d; background: var(--sheet-edge); will-change: transform; box-shadow: 0 30px 65px var(--shadow-deep), 0 2px 2px var(--sheet-edge); }
.spatial-ready .gallery[data-view='gallery'] .case-picture::before { content: ''; position: absolute; inset: 0; transform: translateZ(-7px); background: var(--sheet-edge); }
.spatial-ready .gallery[data-view='gallery'] .case-frame { height: 100%; aspect-ratio: auto; }
.spatial-ready .gallery[data-view='gallery'] .case-frame img { animation: none; }
.spatial-ready .gallery[data-view='gallery'] .case[data-active] { pointer-events: auto; }
.spatial-ready .gallery[data-view='gallery'] .case-copy { position: absolute; inset: 75% 12% auto; padding: 0; pointer-events: none; }
.spatial-ready .gallery[data-view='gallery'] .gallery-floor { display: block; position: absolute; top: 72%; left: 18%; width: 64%; height: 2%; border-radius: 50%; box-shadow: 0 0 65px 25px var(--shadow); background: var(--soft-shadow); }
.gallery-nav { position: absolute; z-index: 50; bottom: 26px; left: 12%; right: 12%; display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 12px; }
.gallery-nav button { min-height: 44px; padding: 5px 0; border: 0; background: transparent; color: var(--muted); font-size: 13px; }
.gallery-nav button[aria-current='true'] { color: var(--ink); border-bottom: 1px solid var(--ink); }
.gallery-count { margin-left: auto; font: 12px/1 var(--note); color: var(--muted); }
.gallery[data-view='index'] { padding-inline: var(--gutter); }
.gallery[data-view='index'] .gallery-camera { display: block; }
.gallery[data-view='index'] .gallery-nav, .gallery[data-view='index'] .gallery-floor { display: none; }
.gallery[data-view='index'] .case-picture { box-shadow: none; }
.gallery[data-view='index'] .case { pointer-events: auto; }
.gallery[data-view='index'] .project-sign { display: none; }
.gallery[data-view='index'] .case-copy { opacity: 1 !important; }
.gallery[data-view='index'] .case[data-chapter='shok'] .case-frame img { width: 100%; }

.services { overflow: clip; background: var(--wash); }
.services-layout { padding-block: clamp(60px,7vw,108px); }
.services h2 { font-size: clamp(66px,9.3vw,152px); }
.services h2 span { color: var(--muted); }
.services-heading { grid-template-columns: minmax(0,1fr) minmax(0,.55fr); align-items: center; }
.service-composition { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); align-items: center; gap: 7vw; margin-top: 25px; }
.service-orbit { position: relative; height: 540px; perspective: 900px; }
.orbit-core { position: absolute; z-index: 2; left: 50%; top: 44%; width: 134px; height: 134px; display: grid; place-content: center; background: var(--ink); color: var(--warm-white); font: 600 100px/.8 var(--display); letter-spacing: -.095em; transform: translate(-50%,-50%) rotateY(-24deg) rotateX(18deg) rotateZ(-5deg); box-shadow: 8px 13px 0 var(--sheet-edge), 25px 38px 40px var(--shadow); }
.orbit-core span { position: absolute; left: 81px; top: 42px; font-size: 70px; color: var(--sand); }
.orbit-path { position: absolute; left: 6%; top: 10%; width: 88%; height: 73%; border: 1px solid var(--line-strong); border-radius: 50%; transform: rotateX(34deg) rotateZ(-20deg); }
.orbit-path::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px; background: var(--ink); border-radius: 50%; offset-path: ellipse(48% 48%); animation: orbit-data 8s linear infinite; animation-play-state: paused; }
.service-orbit.is-visible .orbit-path::after { animation-play-state: running; }
@keyframes orbit-data { to { offset-distance: 100%; } }
.orbit-label { position: absolute; z-index: 3; min-width: 142px; padding: 19px 22px; background: var(--warm-white); font: 500 29px/1 var(--display); letter-spacing: -.04em; box-shadow: 4px 8px 0 var(--sand), 8px 18px 30px var(--shadow); }
.orbit-label span { display: block; margin-top: 11px; font: 400 11px/1.3 var(--body); letter-spacing: 0; color: var(--muted); }
.orbit-web { top: 5%; left: 5%; transform: rotate(-7deg); }
.orbit-bot { top: 16%; right: 0; transform: rotate(6deg); }
.orbit-auto { top: 65%; right: 3%; transform: rotate(-5deg); }
.orbit-content { top: 61%; left: 0; transform: rotate(6deg); }
.orbit-caption { position: absolute; bottom: 5px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
.services-flow { margin: 0; display: block; border: 0; }
.services-flow::after, .services-flow li::before { display: none !important; }
.services-flow li { display: grid; grid-template-columns: minmax(0,1fr); padding: 23px 0; border-top: 1px solid var(--line-strong); }
.services-flow h3 { font-size: clamp(28px,3.5vw,56px); margin: 3px 0 10px; }
.service-context { font-size: 11px; color: var(--muted); }
.services-flow p { font-size: 14px; max-width: 38ch; }
.services-demo { margin-left: 58%; margin-top: 14px; }
.system { background: var(--paper); padding-top: 110px; }
.system-inner { perspective: 1400px; }
.system h2 { font-size: clamp(52px,8.1vw,129px); }
.system-heading { align-items: center; margin-bottom: 50px; }
.demo { transform-origin: 50% 100%; }
.demo-output { background: var(--warm-white); border: 0; box-shadow: 0 15px 30px var(--soft-shadow); }
.demo-tabs button[aria-pressed='true'] { border-color: var(--ink); }
.demo-top { border-color: var(--line); }
.demo-main { padding-block: 15px; }
.demo-steps button span { background: var(--paper); }
.demo-steps button[aria-current='step'] span { background: var(--dark); }
.demo-steps button[aria-current='step'] strong { color: var(--ink); }
.demo-output h3 { font-size: clamp(31px,4.3vw,68px); }
.proof { perspective: 1700px; padding-top: 60px; }
.proof-media { transform-style: preserve-3d; }
.proof-media > img { box-shadow: 20px 30px 55px var(--shadow); }
.proof-palette { margin-top: 25px; }
.proof h2 { font-size: clamp(45px,6vw,96px); }
.contact { position: relative; z-index: 1; }
.contact h2 { font-size: clamp(58px,7.8vw,126px); letter-spacing: -.065em; }
.footer { overflow: clip; }
.footer-word { display: flex; justify-content: center; align-items: baseline; padding: 0 3vw 3vw 1vw; font: 600 27vw/.78 var(--display); letter-spacing: -.09em; perspective: 1200px; }
.footer-word span { display: inline-block; transform-origin: bottom; }
.footer-word span:last-child { color: var(--line-strong); }
.footer-in { border-color: var(--dark-rule); }
.motion-static *, .motion-static *::before, .motion-static *::after { animation: none !important; transition: none !important; }
.motion-static { scroll-behavior: auto; }

@media (min-width: 1700px) {
  .hero-copy { top: 27%; }
  .hero-sheet { left: 72%; }
}
@media (max-width: 1050px) and (min-width: 721px) {
  .hero-copy { top: 25%; width: 57%; }
  .hero h1 { font-size: 13vw; }
  .hero h1 > span:last-child { font-size: .58em; }
  .hero-lead { max-width: 31ch; font-size: 15px; }
  .hero-actions { display: grid; gap: 5px; }
  .hero-sheet { top: 55%; left: 78%; }
  .service-composition { gap: 5vw; }
  .service-orbit { height: 490px; }
  .orbit-label { min-width: 110px; padding: 18px 14px; font-size: 24px; }
  .orbit-core { width: 100px; height: 100px; font-size: 75px; }
  .orbit-core span { left: 60px; top: 31px; font-size: 55px; }
}
@media (max-width: 720px) {
  .mast { min-height: 90px; padding-top: 15px; align-content: start; }
  .mast .wordmark { font-size: 33px; }
  .mast nav { gap: 25px; }
  .mast-contact { font-size: 12px; }
  .hero { height: auto; }
  .hero-sticky { min-height: 880px; height: 100svh; max-height: 1050px; }
  .hero-copy { top: 148px; left: var(--gutter); width: calc(100% - var(--gutter)*2); }
  .hero-kicker { font-size: 10px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(82px,20vw,142px); }
  .hero h1 > span:last-child { font-size: .52em; margin-top: .2em; }
  .hero-lead { font-size: 14px; margin-top: 23px; }
  .hero-lead br { display: none; }
  .hero-actions { gap: 16px; margin-top: 18px; }
  .hero-actions .button, .hero-actions .text-link { font-size: 12px; min-height: 46px; }
  .hero-actions .button { padding-inline: 11px; }
  .hero-space { perspective: 1000px; perspective-origin: 50% 70%; }
  .hero-sheet { left: 50%; top: 71%; }
  .sheet-main { width: 66%; transform: translate(-45%,-20%) rotateY(-17deg) rotateX(9deg) rotateZ(-6deg); }
  .sheet-main .reel-caption { padding: 10px; font-size: 10px; }
  .sheet-main .reel-caption span:last-child { display: none; }
  .sheet-main .reel-toggle { min-height: 32px; font-size: 9px; }
  .sheet-main .reel-toggle .reel-icon { width: 7px; height: 8px; }
  .sheet-entro { width: 42%; transform: translate(-99%,-77%) translateZ(-80px) rotateY(-20deg) rotateZ(-14deg); }
  .sheet-shok { width: 42%; transform: translate(10%,-72%) translateZ(-80px) rotateY(-12deg) rotateZ(12deg); }
  .sheet-surface > span { font-size: 17px; inset: auto 10px 12px; }
  .sheet-surface small { font-size: 8px; margin-top: 4px; }
  .hero-bottom { bottom: 20px; font-size: 11px; }
  .hero-bottom > span { display: none; }
  .scroll-cue { margin-inline: auto; }
  .motion-toggle { top: 105px; font-size: 10px; min-height: 30px; }
  .work-heading { padding-top: 46px; gap: 20px; }
  .work h2 { font-size: clamp(46px,10.5vw,80px); }
  .work-heading .eyebrow { font-size: 11px; }
  .work-views { display: none !important; }
  .gallery { padding-top: 15px; padding-bottom: 70px; }
  .gallery-camera { gap: 45px; }
  .case-copy, .case[data-chapter='tish'] .case-copy { grid-template-columns: minmax(0,1fr); }
  .case-copy h3 { font-size: 37px; }
  .case-frame, .case[data-chapter='entro'] .case-frame, .case[data-chapter='shok'] .case-frame { aspect-ratio: 1.25; }
  .project-sign { font-size: 45px; }
  .project-sign small { font-size: 10px; max-width: 22ch; }
  .sign-tish { font-size: 26px; }
  .sign-shok { font-size: 70px; }
  .sign-shok small { font-size: .45em; }
  .case-open { inset: auto 10px 10px auto; padding: 10px 11px; font-size: 11px; }
  .services h2 { font-size: clamp(58px,12vw,84px); }
  .services-heading { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .services-heading br { display: block; }
  .service-composition { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .service-orbit { width: min(100%,470px); height: 400px; margin: 10px auto 0; }
  .orbit-label { min-width: 110px; padding: 14px; font-size: 24px; }
  .orbit-label span { font-size: 9px; }
  .orbit-core { width: 90px; height: 90px; font-size: 70px; }
  .orbit-core span { left: 54px; top: 28px; font-size: 50px; }
  .services-flow { display: block; }
  .services-flow li { padding-block: 19px; }
  .services-flow h3 { font-size: 35px; }
  .services-flow p { font-size: 15px; max-width: none; }
  .services-demo { margin-left: 0; }
  .system { padding-top: 65px; }
  .system h2 { font-size: 11vw; }
  .system-heading { margin-bottom: 25px; }
  .demo-tabs { gap: 0 18px; }
  .demo-tabs button { font-size: 12px; }
  .demo-main { padding: 0; }
  .proof { padding-top: 0; }
  .proof-media { margin-top: 15px; }
  .contact h2 { font-size: clamp(52px,12vw,82px); }
  .footer-word { padding-block: 0 35px; }
}
@media (max-width: 360px) {
  .hero-actions { gap: 10px; }
  .hero-actions .text-link { gap: 5px; }
  .hero-sticky { min-height: 860px; }
  .hero-sheet { top: 74%; }
  .sheet-surface > span { font-size: 15px; }
  .orbit-label { min-width: 104px; padding: 12px; }
  .service-orbit { height: 365px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero, .spatial-ready .hero { height: auto; }
  .hero-sticky { position: relative !important; }
}
