/* ============================================================
   BRAND PALETTE  —  60% ink · 30% cream · 10% red
   The 3D scene reads these values too, so edit here only.
   ============================================================ */
:root {
  --ink: #1C1C1C;      /* 60% — main background */
  --ink-2: #242424;    /* raised surfaces on ink */
  --ink-3: #2E2E2E;
  --cream: #EDE6D8;    /* 30% — text + light sections */
  --cream-2: #DDD4C2;
  --red: #B3261E;      /* 10% — accent */
  --red-hi: #D23A30;
  --muted: rgba(237, 230, 216, 0.58);
  --line: rgba(237, 230, 216, 0.12);
  --f-display: "Anton", "Impact", sans-serif;
  --f-body: "Inter Tight", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gx: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Lock the page horizontally: nothing (rotated marquee, 3D objects, big type) may let it slide sideways on touch */
html, body { overflow-x: hidden; max-width: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html { overscroll-behavior-x: none; touch-action: pan-y pinch-zoom; }
body { background: var(--ink); color: var(--cream); font-family: var(--f-body); font-weight: 400; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: var(--cream); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: .92; letter-spacing: .005em; text-transform: uppercase; }
h2 { font-size: clamp(2.8rem, 7.5vw, 7rem); }
em { font-style: normal; color: var(--red); }

/* ---------- Canvas & grain ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-2%)} 100%{transform:translate(3%,3%)} }
main, .footer { position: relative; z-index: 2; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-content: center; justify-items: center; gap: 1.2rem; animation: loaderFailsafe .6s ease 5s forwards; }
/* Failsafe: if scripts can't run, never leave the visitor stuck on the loader */
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader-tc { font-family: var(--f-mono); font-size: clamp(1.4rem, 5vw, 3rem); color: var(--red); letter-spacing: .08em; }
.loader-name { font-family: var(--f-display); font-size: clamp(3rem, 12vw, 9rem); line-height: 1; color: var(--cream); }
.loader-bar { width: min(320px, 70vw); height: 2px; background: var(--line); }
.loader-bar i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(237,230,216,.5); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor-ring span { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; color: var(--cream); opacity: 0; transition: opacity .2s; }
.cursor-ring.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--red); }
.cursor-ring.view { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--red); border-color: var(--red); }
.cursor-ring.view span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: var(--gx); right: var(--gx); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 10px 10px 10px 22px; border: 1px solid var(--line); border-radius: 999px; background: rgba(28,28,28,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-left { display: flex; align-items: center; gap: 1.2rem; }
.logo { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .04em; }
.logo b { color: var(--red); font-weight: 400; }
.timecode { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.nav-links { display: flex; gap: 2rem; font-size: .92rem; }
.nav-links a { position: relative; color: var(--muted); transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); transition: transform .35s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
/* Mobile menu: numbered rows, staggered reveal, contact block at the bottom */
.mobile-menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; padding: 110px var(--gx) 28px; overflow-y: auto;
  background: radial-gradient(120% 60% at 100% 0%, rgba(179,38,30,.22), transparent 60%), var(--ink);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.mobile-menu.open { clip-path: inset(0 0 0 0); }
.mm-label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.mm-label span { color: var(--red); margin-right: .3rem; }
.mm-links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mm-links a { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(2.2rem, 11vw, 3.2rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em;
  opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s; }
.mm-links a i { font-style: normal; font-family: var(--f-mono); font-size: .75rem; color: var(--red); width: 26px; }
.mm-links a b { margin-left: auto; font-family: var(--f-body); font-weight: 400; font-size: 1.3rem; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.mm-links a:active, .mm-links a:hover { color: var(--red-hi); }
.mm-links a:active b, .mm-links a:hover b { transform: rotate(45deg); color: var(--red-hi); }
.mobile-menu.open .mm-links a { opacity: 1; transform: none; }
.mobile-menu.open .mm-links a:nth-child(1) { transition-delay: .18s; }
.mobile-menu.open .mm-links a:nth-child(2) { transition-delay: .24s; }
.mobile-menu.open .mm-links a:nth-child(3) { transition-delay: .30s; }
.mobile-menu.open .mm-links a:nth-child(4) { transition-delay: .36s; }
.mobile-menu.open .mm-links a:nth-child(5) { transition-delay: .42s; }
.mm-foot { margin-top: auto; padding-top: 2rem; opacity: 0; transition: opacity .6s var(--ease) .5s; }
.mobile-menu.open .mm-foot { opacity: 1; }
.mm-foot a { display: block; }
.mm-mail { font-size: 1.05rem; font-weight: 500; margin-bottom: .25rem; overflow-wrap: anywhere; }
.mm-wa { font-size: .92rem; color: var(--muted); margin-bottom: 1.1rem; }
.mm-social { display: flex; gap: .5rem; }
.mm-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; font-family: var(--f-mono); font-size: .72rem; }
.mm-social a:active { background: var(--red); border-color: var(--red); }
@media (max-width: 900px) {
  .nav-links, .nav > .btn { display: none; }
  .menu-btn { display: block; }
  .timecode { display: none; }
}

/* ---------- Buttons ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .5rem; padding: 1rem 1.7rem; border-radius: 999px; font-weight: 500; font-size: .95rem; border: 1px solid var(--line); transition: color .4s var(--ease), border-color .4s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn-red { background: var(--red); border-color: var(--red); color: var(--cream); }
.btn-sm { padding: .62rem 1.15rem; font-size: .86rem; }
.btn-big { font-size: clamp(.95rem, 2.4vw, 1.4rem); padding: 1.2rem 2.2rem; }
.arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: rotate(45deg); }

/* ---------- Section label ---------- */
section { padding: clamp(90px, 13vw, 170px) var(--gx); position: relative; }
.sec-label { display: flex; align-items: center; gap: .8rem; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .2em; color: var(--muted); margin-bottom: 2rem; }
.sec-label span { color: var(--red); }
.sec-label::after { content: ""; flex: 0 0 60px; height: 1px; background: var(--line); }
.sec-label.center { justify-content: center; }

/* ---------- HERO ---------- */
.hero { height: 100svh; min-height: 640px; padding: 0 var(--gx); display: flex; align-items: flex-end; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); border-radius: 28px; pointer-events: none; }
.hero-word { position: absolute; left: 0; right: 0; top: 13%; text-align: center; font-family: var(--f-display); font-size: clamp(4rem, 16vw, 18rem); line-height: .8; color: var(--red); letter-spacing: -.005em; white-space: nowrap; z-index: 0; pointer-events: none; overflow: hidden; }
.hw-in { display: inline-block; }
.hero-word .m-br { display: none; }
.hero-portrait { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(46vw, 640px); z-index: 1; }
.hero-portrait img { width: 100%; height: auto; filter: grayscale(1) contrast(.88) brightness(1.17); -webkit-mask: radial-gradient(ellipse 60% 64% at 50% 50%, #000 50%, transparent 98%); mask: radial-gradient(ellipse 60% 64% at 50% 50%, #000 50%, transparent 98%); }
.hero-left { position: relative; z-index: 3; padding-bottom: clamp(48px, 9vh, 110px); max-width: 30rem; }
.hero-title { font-size: clamp(2rem, 3.6vw, 3.4rem); margin-bottom: 1.6rem; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title b { color: var(--red); font-weight: 400; }
.hero-title .ch { display: inline-block; }
.hero-list { list-style: none; display: grid; gap: .55rem; border-left: 1px solid var(--line); padding-left: 1.1rem; margin-bottom: 1.4rem; }
.hero-list li { font-size: .92rem; display: flex; gap: .8rem; align-items: center; padding: .5rem .9rem; border-radius: 10px; background: rgba(28,28,28,.66); border: 1px solid var(--line); backdrop-filter: blur(8px); width: fit-content; position: relative; }
.hero-list li::before { content: ""; position: absolute; left: calc(-1.1rem - 4px); width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero-list span { font-family: var(--f-mono); color: var(--red); font-size: .75rem; }
.hint { display: flex; align-items: center; gap: .6rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hint i { width: 14px; height: 20px; border: 1px solid var(--muted); border-radius: 8px; position: relative; }
.hint i::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 4px; margin-left: -1px; background: var(--red); border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(6px); opacity: 0; } }
.hero-social { position: absolute; right: calc(var(--gx) + 14px); top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.hero-social .vert { writing-mode: vertical-rl; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .25em; color: var(--muted); margin-bottom: .6rem; }
.hero-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(28,28,28,.6); transition: background .3s, border-color .3s; }
.hero-social a:hover { background: var(--red); border-color: var(--red); }
.hero-social svg { width: 17px; height: 17px; fill: var(--cream); }
.scroll-badge { position: absolute; right: calc(var(--gx) + 6px); bottom: 34px; width: 104px; height: 104px; z-index: 3; display: grid; place-items: center; }
.scroll-badge svg { position: absolute; inset: 0; animation: spin 12s linear infinite; }
.scroll-badge text { font-family: var(--f-mono); font-size: 8.4px; letter-spacing: .14em; fill: var(--cream); }
.scroll-badge span { width: 42px; height: 42px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 1.1rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .hero { flex-direction: column; justify-content: flex-end; }
  .hero { align-items: flex-end; }
  .hero-word { top: 15%; font-size: 17vw; }
  .hero-portrait { width: min(92vw, 470px); bottom: 32%; }
  /* Mirror the text block to the right edge on phones */
  .hero-left { padding-bottom: 36px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
  .hero-list { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 1.1rem; justify-items: end; }
  .hero-list li::before { left: auto; right: calc(-1.1rem - 4px); }
  .hint { flex-direction: row-reverse; }
  .hero-social, .scroll-badge { display: none; }
  .hero-list li { font-size: .85rem; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; contain: paint; background: var(--red); color: var(--cream); padding: 1.1rem 0; overflow: hidden; transform: rotate(-1.5deg) scale(1.03); margin: 1.5rem 0; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: marquee 30s linear infinite; font-family: var(--f-display); font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1; white-space: nowrap; }
.marquee-track b { font-weight: 400; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Showreel ---------- */
.reel-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(60px, 8vw, 110px); }
.reel-copy h2 { margin-bottom: 1.5rem; }
.reel-copy p { color: var(--muted); max-width: 30rem; margin-bottom: 2rem; font-size: 1.05rem; }
.reel-frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; transform-style: preserve-3d; box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 0 0 0 rgba(179,38,30,.6); animation: pulse 2s infinite; transition: transform .4s var(--ease); }
.play-btn:hover { transform: scale(1.1); }
.play-btn span { margin-left: 5px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(179,38,30,0); } 100% { box-shadow: 0 0 0 0 rgba(179,38,30,0); } }
.frame-ui { position: absolute; left: 16px; right: 16px; top: 14px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .7rem; color: var(--cream); text-shadow: 0 1px 4px #000; }
.frame-ui span:first-child { color: var(--red-hi); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 2rem 1.5rem 0 0; position: relative; }
.stat strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(3.2rem, 7vw, 6rem); line-height: 1; }
.stat strong::after { content: attr(data-suffix); }
.stat span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat::before { content: ""; position: absolute; left: 0; top: -1px; width: 40%; height: 2px; background: var(--red); }
@media (max-width: 900px) {
  .reel-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
}

/* ---------- Work grid ---------- */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button { padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; color: var(--muted); transition: all .3s var(--ease); }
.filters button:hover { color: var(--cream); border-color: var(--cream); }
.filters button.active { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 14px; perspective: 1400px; }
.item { position: relative; overflow: hidden; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); cursor: pointer; grid-row: span 1; transform-style: preserve-3d; }
.item.tall { grid-row: span 2; }
.item.wide { grid-column: span 2; }
.item:not(.tall):not(.wide) { grid-row: span 1; }
.item img, .item video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; filter: saturate(.9); }
.item:hover img, .item:hover video { transform: scale(1.07); filter: saturate(1.05); }
.item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem 1rem; background: linear-gradient(to top, rgba(20,20,20,.92), transparent); display: flex; flex-direction: column; transform: translateY(30%); opacity: 0; transition: all .5s var(--ease); }
.item:hover figcaption, .item:focus-visible figcaption { transform: none; opacity: 1; }
.item figcaption b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }
.item figcaption span { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); letter-spacing: .06em; }
.badge { position: absolute; top: 12px; left: 12px; font-style: normal; font-family: var(--f-mono); font-size: .7rem; padding: .3rem .6rem; border-radius: 6px; background: var(--red); }
.item.hide, .grid-label.hide { display: none; }

/* Category headers inside the grid */
.grid-label { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; padding: 2.2rem 0 .4rem; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; line-height: 1; align-self: end; }
.grid-label:first-child { padding-top: 0; }
.grid-label span { font-family: var(--f-mono); font-size: .8rem; color: var(--red); }
.grid-label i { font-style: normal; font-family: var(--f-body); font-size: .9rem; text-transform: none; color: var(--muted); }
/* Half-height row units: normal tile = 2 units (260px), tall = 4, label = 1. No dense packing so categories stay grouped. */
.grid { grid-auto-rows: 123px; grid-auto-flow: row; }
.grid > .item, .grid > .item:not(.tall):not(.wide) { grid-row: span 2; }
.grid > .item.tall { grid-row: span 4; }
.grid-label { grid-row: span 1; }

/* Website cards */
.site img { object-position: top center; }
.site .visit { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: .78rem; font-weight: 500; padding: .35rem .7rem; border-radius: 999px; background: var(--cream); color: var(--ink); transform: translateY(-6px); opacity: 0; transition: all .4s var(--ease); }
.site:hover .visit { transform: none; opacity: 1; }
.site .badge { background: #1f7a3d; }
.upcoming { background: repeating-linear-gradient(135deg, var(--ink-2) 0 14px, var(--ink-3) 14px 28px); }
.upcoming .soon { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: .3rem; }
.upcoming img + .soon { display: none; }
.upcoming .soon b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; color: var(--cream); }
.upcoming .soon span { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.upcoming .soon-badge { background: var(--red); }
@media (max-width: 760px) {
  .grid { grid-auto-rows: 95px; }
  .site .visit { opacity: 1; transform: none; }
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 10px; }
  .item.wide { grid-column: span 2; }
  .item figcaption { opacity: 1; transform: none; padding: 2rem .7rem .7rem; }
  .item figcaption b { font-size: 1rem; }
}

/* ---------- Light (cream) sections ---------- */
.light { background: var(--cream); color: var(--ink); border-radius: 36px; margin: 0 clamp(6px, 1vw, 14px); }
.light .sec-label { color: rgba(28,28,28,.6); }
.light .sec-label::after { background: rgba(28,28,28,.2); }

/* ---------- Services ---------- */
.services-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.services-head p { color: rgba(28,28,28,.7); font-size: 1.08rem; max-width: 30rem; }
.svc-list { border-top: 1px solid rgba(28,28,28,.18); }
.svc { position: relative; display: grid; grid-template-columns: 70px 1fr 1.2fr 60px; align-items: center; gap: 1.5rem; padding: 1.8rem .5rem; border-bottom: 1px solid rgba(28,28,28,.18); overflow: hidden; isolation: isolate; transition: color .45s var(--ease), padding .45s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc:hover { color: var(--cream); padding-left: 1.5rem; }
.svc:hover::before { transform: scaleY(1); }
.svc-n { font-family: var(--f-mono); color: var(--red); font-size: .85rem; }
.svc h3 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }
.svc p { font-size: .98rem; opacity: .75; }
.svc-arrow { font-size: 1.8rem; justify-self: end; transition: transform .45s var(--ease), color .3s; }
.svc:hover .svc-arrow { transform: rotate(45deg); color: var(--red-hi); }
.svc-img { position: fixed; left: 0; top: 0; width: 240px; height: 300px; border-radius: 16px; background: var(--img) center / cover; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .3s, transform .45s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.svc:hover .svc-img { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
@media (hover: none), (max-width: 760px) { .svc-img { display: none; } }
@media (max-width: 760px) {
  .services-head { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 44px 1fr 30px; row-gap: .4rem; }
  .svc p { grid-column: 2 / 4; grid-row: 2; }
}

/* ---------- Problem / solution ---------- */
.ps h2 { margin-bottom: clamp(40px, 6vw, 72px); max-width: 16ch; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ps-col { padding: clamp(24px, 3.5vw, 44px); border-radius: 24px; border: 1px solid var(--line); background: var(--ink-2); }
.ps-col h4 { font-family: var(--f-mono); font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.4rem; }
.ps-col ul { list-style: none; display: grid; gap: .9rem; }
.ps-col li { display: flex; gap: .9rem; align-items: flex-start; font-size: 1.04rem; }
.ps-col li::before { flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; margin-top: 1px; }
.bad h4 { color: var(--muted); }
.bad li { color: var(--muted); }
.bad li::before { content: "✕"; border: 1px solid var(--line); }
.good { background: var(--red); border-color: var(--red); }
.good li::before { content: "✓"; background: var(--cream); color: var(--red); font-weight: 700; }
@media (max-width: 760px) { .ps-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; transform-style: preserve-3d; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.08); transition: filter .8s; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(179,38,30,.55), transparent 55%); mix-blend-mode: multiply; pointer-events: none; }
.about-photo:hover img { filter: grayscale(.2) contrast(1.05); }
.about-tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-family: var(--f-mono); font-size: .72rem; padding: .5rem .8rem; border-radius: 8px; background: rgba(28,28,28,.75); backdrop-filter: blur(6px); }
.about-copy h2 { margin-bottom: 1.6rem; }
.about-copy .lead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.45; margin-bottom: 1.2rem; }
.about-copy p { color: var(--muted); margin-bottom: 2.2rem; }
.tools-title { font-family: var(--f-mono); font-weight: 500; font-size: .78rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-bottom: 1rem; }
.tools { display: flex; flex-wrap: wrap; gap: .55rem; }
.tools span { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .8rem .45rem .45rem; border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; transition: border-color .3s, transform .3s var(--ease); }
.tools span:hover { border-color: var(--red); transform: translateY(-3px); }
.tools b { min-width: 30px; height: 30px; padding: 0 4px; border-radius: 7px; display: grid; place-items: center; background: var(--ink-3); color: var(--red-hi); font-family: var(--f-mono); font-size: .75rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 460px; } }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: clamp(36px, 5vw, 64px); }
.faq-list { max-width: 980px; }
.faq details { border-bottom: 1px solid rgba(28,28,28,.18); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 50px 1fr 30px; align-items: center; gap: 1rem; padding: 1.5rem 0; font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-family: var(--f-mono); font-size: .8rem; color: var(--red); }
.faq summary i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(28,28,28,.3); position: relative; transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { background: var(--red); color: var(--cream); border-color: var(--red); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 40px 1.6rem 66px; color: rgba(28,28,28,.72); max-width: 60ch; }
@media (max-width: 600px) { .faq details p { padding-left: 0; padding-right: 0; } .faq summary { grid-template-columns: 34px 1fr 30px; } }

/* ---------- Contact ---------- */
.contact { text-align: center; min-height: 90svh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-title { font-size: clamp(5rem, 20vw, 18rem); line-height: .85; margin-bottom: 1.2rem; }
.contact-sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 2.4rem; }
.contact-actions { margin-bottom: 2rem; max-width: 100%; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.contact-actions .btn:not(.btn-red) { background: var(--ink); }
.contact-actions .btn { max-width: 100%; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; max-width: 720px; }
.chips a { padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--ink); font-size: .88rem; color: var(--muted); transition: all .3s var(--ease); }
.chips a:hover { color: var(--ink); background: var(--cream); border-color: var(--cream); }

/* ---------- Footer ---------- */
.footer { padding: 0 var(--gx) 28px; overflow: hidden; }
.footer-big { font-family: var(--f-display); font-size: clamp(6rem, 30vw, 30rem); line-height: .78; text-align: center; color: var(--ink-2); -webkit-text-stroke: 1px var(--line); user-select: none; }
.footer-big b { color: var(--red); font-weight: 400; -webkit-text-stroke: 0; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(10,10,10,.9); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; place-items: center; }
.lb-body { max-width: min(92vw, 1200px); max-height: 86vh; display: grid; place-items: center; }
.lb-body img, .lb-body video { max-width: 100%; max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.lb-close { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: var(--cream); font-size: 1.1rem; z-index: 2; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   WORK — even tiles per category. Each row shares one shape (--ar)
   so everything lines up; artwork is shown whole (contain) on a
   blurred copy of itself (--fill) when its shape differs.
   ============================================================ */
.work-cats { display: grid; gap: clamp(48px, 6vw, 80px); }
.cat.hide { display: none; }
.cat .grid-label { padding: 0 0 .9rem; margin-bottom: 18px; }
.tiles { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 14px; perspective: 1400px; }
.tiles + .tiles { margin-top: 14px; }
.tiles .item { aspect-ratio: var(--ar, 4/3); height: auto; grid-row: auto; grid-column: auto; isolation: isolate; }
.tiles .item::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--fill) center / cover no-repeat; filter: blur(24px) brightness(.5) saturate(1.2); }
.tiles .item img, .tiles .item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tiles .item:hover img, .tiles .item:hover video { transform: scale(1.03); }
.tiles .site img { object-fit: cover; object-position: top center; }
.tiles .upcoming::before { display: none; }
.tiles .upcoming img { object-fit: cover; }
.tiles .item figcaption { z-index: 2; }
.tiles .item .badge, .tiles .item .visit { z-index: 3; }
@media (max-width: 1100px) {
  .tiles[style*="--cols:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tiles, .tiles[style*="--cols:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles[style*="--cols:2"] { grid-template-columns: 1fr; }
  .tiles + .tiles { margin-top: 10px; }
  /* Odd item left alone in the last row: stretch it full width so the row has no gap */
  .tiles:not([style*="--cols:2"]) > .item:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .tiles .item figcaption { padding: 1.6rem .6rem .55rem; }
  .tiles .item figcaption b { font-size: .92rem; }
  .tiles .item figcaption span { font-size: .62rem; }
}
