@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: block;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: block;
}

:root {
  --mode: mob;

  /* Site imagery: real Artxenith pieces (hero mosaic, About, closing panel). */
  --img-sculpt: url(assets/portfolio/warhammer/wh-01-sm.jpg);
  --img-man: url(assets/portfolio/dnd/dn-05-sm.jpg);
  --img-visit: url(assets/portfolio/warhammer/wh-08-sm.jpg);
  --img-sil: url(assets/portfolio/other/ow-03-sm.jpg);
  --grain: url(https://d2ol7oe51mr4n9.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/40b7fef3-410d-4ef3-bd67-0a2fc7ee5a1d.svg);

  --display: "Archivo", "Arial Black", Impact, system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --paper: #f5f4ef;
  --ink: #0f0f0e;
  --card-dark: #151515;
  --card-cream: #f9f6f1;
  --red: #ef5d44;
  --yellow: #fcdd71;
  --blue: #9fd5f7;

  --nav-bg: #ffffff;
  --nav-bar: #ffffff;
  --nav-fg: var(--ink);
  --nav-muted: #62615d;
  --nav-line: rgba(15, 15, 14, .08);
  --nav-rule: rgba(15, 15, 14, .16);
  --nav-search: #e8e7e2;
  --nav-cta: var(--ink);
  --nav-cta-fg: #fff;

  --col: 205.33px;
  --gap: 13px;
  --pitch: 282.5px;
  --r: 22px;

  --tm: 40px;
  --hh: 142px;
  --h1: 80px;
  --fp: 18px;
  --btn: 63px;

  --EXPO: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 560px) and (min-aspect-ratio: 1/1) { :root { --mode: mob-l; } }
@media (min-width: 600px) and (min-height: 820px) and (max-aspect-ratio: 21/20) { :root { --mode: tab-p; } }
@media (min-width: 900px) and (min-height: 540px) and (min-aspect-ratio: 21/20) { :root { --mode: tab-l; } }
@media (min-width: 1097px) and (min-aspect-ratio: 27/25) { :root { --mode: desk; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
svg { display: block; flex: none; }
:focus-visible { outline: 2px solid #3b82f6; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fold { position: relative; height: 100svh; overflow: hidden; }
.stage { position: relative; width: 100%; height: 100svh; overflow: hidden; }

/* ───────── Header ───────── */
.hdr {
  position: absolute; z-index: 5; top: 0; left: var(--tm); right: var(--tm);
  background: var(--nav-bg); color: var(--nav-fg);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 0 0 1px var(--nav-line), 0 16px 36px -24px rgba(15, 15, 14, .30);
}
.util {
  display: flex; align-items: center; height: 40px; padding-left: 24px;
  background: var(--nav-bar); border-bottom: 1px solid var(--nav-line);
  border-radius: 0;
}
.uc { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 14px; font-weight: 500; }
.uc svg { width: 16px; height: 16px; }
.uc b { font-weight: 600; }
.uc1 { min-width: 265px; }
.vrule { width: 1px; height: 22px; background: var(--nav-rule); margin-right: 24px; }
.unav { margin-left: auto; display: flex; align-items: center; gap: 28px; padding-right: 26px; font-size: 14px; font-weight: 500; line-height: 15px; }
.unav a:hover, .mnav a:hover, .uc:hover { color: var(--nav-muted); }
.search { width: 39px; height: 39px; background: var(--nav-search); border-radius: 5px 0 0 5px; display: grid; place-items: center; align-self: flex-start; }
.search svg { width: 13px; height: 13px; }

.main { position: relative; height: 102px; display: flex; align-items: center; padding: 0 20px 0 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-tx { display: flex; flex-direction: column; gap: 6px; }
.logo-m { flex: none; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.logo-w {
  font-family: var(--display); font-weight: 900; font-size: 31px; font-stretch: 85%;
  line-height: .9; letter-spacing: -.01em; -webkit-text-stroke: .35px currentColor;
}
.logo-t { font-size: 8.6px; font-weight: 600; letter-spacing: .08em; color: var(--nav-muted); text-transform: uppercase; }

.mnav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 16px; font-weight: 600; }
.mnav .first { display: flex; align-items: center; gap: 10px; }
.dot24 { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.dot24 svg { width: 13px; height: 13px; }
.sep { width: 1px; height: 28px; background: var(--nav-rule); }

.menu-btn { display: flex; align-items: center; gap: 10px; margin: 0 36px 0 26px; font-size: 16px; font-weight: 600; padding: 8px 0; }
.bg { position: relative; width: 20px; height: 12px; }
.bg i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--EXPO), opacity .2s; }
.bg i:nth-child(1) { top: 0; } .bg i:nth-child(2) { top: 5px; } .bg i:nth-child(3) { top: 10px; }
.hdr[data-open] .bg i:nth-child(1), .dock[data-open] .bg i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hdr[data-open] .bg i:nth-child(2), .dock[data-open] .bg i:nth-child(2) { opacity: 0; }
.hdr[data-open] .bg i:nth-child(3), .dock[data-open] .bg i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.cta, .acts-btns { display: flex; align-items: center; gap: 4px; }
.pill {
  height: var(--btn); min-width: 116px; padding: 0 26px; border-radius: 22px;
  background: var(--nav-cta); color: var(--nav-cta-fg);
  display: grid; place-items: center; font-size: 16px; font-weight: 600; letter-spacing: -.005em;
  transition: transform .3s var(--EXPO);
}
.circ {
  width: calc(var(--btn) + 1px); height: calc(var(--btn) + 1px); border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  transition: transform .5s var(--EXPO);
}
.circ svg { width: 26px; height: 26px; }
.pill, .glink { white-space: nowrap; }
.pill, .circ { flex: none; }
.acts { flex-wrap: wrap; row-gap: 14px; }
.pill:hover { transform: translateY(-2px); }
.circ:hover { transform: rotate(72deg); }

/* Menu panel */
.panel {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--nav-bg); border-top: 1px solid var(--nav-line);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 0 0 1px var(--nav-line), 0 24px 40px -24px rgba(15, 15, 14, .35);
  padding: 22px 24px 26px;
  max-height: calc(100svh - var(--hh) - 16px); overflow: auto; overscroll-behavior: contain;
}
.hdr[data-open] { border-radius: 0; }
.hdr[data-open] .panel { display: block; }
.pgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px 32px; }
.pg-h { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nav-muted); margin-bottom: 8px; }
.pg a { display: block; padding: 6px 0; font-size: 16px; font-weight: 600; }
.g-main a { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: .95; text-transform: uppercase; letter-spacing: -.04em; padding: 5px 0; }
.g-cta { display: none; }
.g-cta .acts-btns { margin-bottom: 18px; }
/* .pg a sets links to plain blocks; give the buttons and contact rows their own layout back */
.pg .pill { display: grid; padding: 0 26px; }
.pg .circ { display: grid; padding: 0; }
.g-cta .uc { display: flex; padding: 6px 0; }
.hdr[data-open] .panel li, .hdr[data-open] .g-cta > * { animation: navIn .55s var(--EXPO) both; animation-delay: calc(var(--i, 0) * 35ms + 40ms); }
@keyframes navIn { from { opacity: 0; transform: translateY(10px); } }

/* ───────── Hero ───────── */
.hero { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: var(--h1); line-height: .94125; letter-spacing: -.06em;
  -webkit-text-stroke: calc(var(--h1) * .01375) currentColor;
}
.lw { display: block; }
h1.masking .lw { clip-path: inset(-.3em -.3em 0 -.1em); }
.ln { display: inline-block; font-size: .95em; letter-spacing: -.05em; }
.hero p { font-size: var(--fp); line-height: 1.478; max-width: 460px; }
.hero p b { font-weight: 700; white-space: nowrap; }
.acts { display: flex; align-items: center; }
.glink { display: flex; align-items: center; gap: 12px; margin-left: 26px; font-size: 16px; font-weight: 700; }
.a32 { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .4s var(--EXPO); }
.a32 svg { width: 15px; height: 15px; }
.glink:hover .a32 { transform: translateX(4px); }

/* ───────── Mosaic ───────── */
.grid { position: absolute; z-index: 1; pointer-events: none; }
.col {
  position: absolute; top: 0; left: 0; width: var(--col);
  animation: colDown 14.6s linear infinite; will-change: transform;
}
.c2, .x1, .x3 { animation-name: colUp; }
html.intro .col { animation-play-state: paused; opacity: 0; }
@keyframes colDown { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@keyframes colUp { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }

.c1 { left: 0; }
.c2 { left: calc(var(--col) + var(--gap)); }
.c3 { left: calc(2 * (var(--col) + var(--gap))); }
.x1 { left: calc(-1 * (var(--col) + var(--gap))); }
.x2 { left: calc(-2 * (var(--col) + var(--gap))); }
.x3 { left: calc(-3 * (var(--col) + var(--gap))); }
.x1, .x2, .x3 { display: none; }

.cell { position: relative; height: calc(var(--pitch) - var(--gap)); margin-bottom: var(--gap); border-radius: var(--r); overflow: hidden; }
.red { background: var(--red); }
.yellow { background: var(--yellow); }
.blue { background: var(--blue); }
.cream { background: var(--card-cream); box-shadow: inset 0 0 0 1px #e9e6df; }
.dark { background: var(--card-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: var(--paper); }
.red::after, .yellow::after, .blue::after, .cream::after, .dark::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background-image: var(--grain); background-size: 200px;
  opacity: .13; mix-blend-mode: multiply;
}
.dark::after { mix-blend-mode: screen; opacity: .035; }
.cell[data-l]::before {
  content: attr(data-l); position: absolute; z-index: 1; left: 8%; right: 8%; bottom: 7%;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: calc(var(--col) * .105); line-height: .92; letter-spacing: -.035em;
}

.ph { background: #d9d7d1; }
.ph::before { content: ""; position: absolute; inset: 0; background: var(--pic) center / cover no-repeat; }
.i-sculpt { --pic: var(--img-sculpt); }
.i-man { --pic: var(--img-man); }
.i-visit { --pic: var(--img-visit); }
.i-sil { --pic: var(--img-sil); }


@media (prefers-reduced-motion: reduce) { .col { animation: none; } }

/* ═════════ DESKTOP (1280×800 reference canvas, scaled) ═════════ */
html.desk .stage {
  position: absolute; left: 0; top: 0;
  width: calc(var(--W, 1280) * 1px); height: calc(var(--H, 800) * 1px);
  transform: scale(var(--s, 1)); transform-origin: 0 0;
}
html.desk .hdr { left: 40px; right: 40px; height: 142px; }
html.desk .panel { left: auto; right: 0; top: calc(100% + 10px); width: 380px; border-radius: 22px; border-top: 0; }
html.desk .hdr[data-open] { border-radius: 0 0 22px 22px; }
html.desk .g-main, html.desk .g-util { display: none; }

html.desk .hero { position: absolute; left: 86px; top: calc(200px + (var(--H, 800) - 800) * .5px); width: 480px; }
html.desk .hero h1 { position: absolute; left: 0; top: 0; --h1: 80px; }
html.desk .hero p { position: absolute; left: 0; top: 344px; width: 460px; font-size: 18px; line-height: 26.6px; }
html.desk .acts { position: absolute; left: 0; top: 460px; }

html.desk .grid { right: 62px; top: 0; bottom: 0; width: calc(3 * var(--col) + 2 * var(--gap)); }
html.desk .c1 { top: 86px; }
html.desk .c2 { top: -11.5px; }
html.desk .c3 { top: 86.5px; }
html.desk .x1 { top: -11.5px; }
html.desk .x2 { top: 86px; }
html.desk .x3 { top: -11.5px; }
html.desk.ex1 .x1, html.desk.ex2 .x2, html.desk.ex3 .x3 { display: block; }

/* ═════════ MOBILE ═════════ */
html.mob {
  --tm: 12px;
  --hh: 64px;
  --h1: clamp(34px, min(12.4vw, 6.6svh), 64px);
  --fp: 15px;
  --btn: 52px;
  --gap: 8px;
  --gw: calc(100vw - 2 * var(--tm));
  --col: calc((var(--gw) - 2 * var(--gap)) / 3);
  --pitch: calc(var(--col) * 1.3125 + var(--gap));
  --r: 14px;
  --m-ph: 18px; --m-pu: 15px; --m-pp: 16px; --m-fu: 13px; --m-fp: 26px;
}
html.mob .stage {
  display: flex; flex-direction: column;
  padding: calc(var(--hh) + env(safe-area-inset-top) + 22px) 0 0;
}
html.mob .hdr { padding-top: env(safe-area-inset-top); left: var(--tm); right: var(--tm); border-radius: 0 0 18px 18px; }
html.mob .hdr[data-open] { border-radius: 0; }
html.mob .util, html.mob .mnav, html.mob .main > .cta { display: none; }
html.mob .main { height: var(--hh); padding: 0 6px 0 18px; }
html.mob .logo { gap: 10px; }
html.mob .logo-tx { gap: 4px; }
html.mob .logo-m { width: 42px; height: 42px; border-radius: 11px; }
html.mob .logo-w { font-size: 25px; }
html.mob .logo-t { font-size: 7.4px; }
html.mob .menu-btn { margin: 0 0 0 auto; padding: 12px 14px; font-size: 15px; }
html.mob .panel {
  padding: var(--m-ph) 22px calc(var(--m-ph) + env(safe-area-inset-bottom));
  border-radius: 0 0 18px 18px;
  max-height: calc(100svh - var(--hh) - env(safe-area-inset-top) - 12px);
}
html.mob .pgs { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
html.mob .g-main, html.mob .g-cta { grid-column: 1 / -1; }
html.mob .g-main a { font-size: var(--m-fp); }
html.mob .pg a { font-size: var(--m-pp); padding: 5px 0; }
html.mob .pg-h { font-size: 10px; }
html.mob .g-cta { display: block; padding-top: 6px; border-top: 1px solid var(--nav-line); padding-top: var(--m-pu); }
html.mob .g-cta .uc { font-size: var(--m-fu); }

html.mob .hero { order: 1; padding: 0 calc(var(--tm) + 6px) 20px; }
html.mob .hero p { margin-top: 14px; max-width: 34em; }
html.mob .acts { margin-top: 18px; }
html.mob .pill { border-radius: 18px; padding: 0 22px; font-size: 15px; }
html.mob .circ svg { width: 22px; height: 22px; }
html.mob .glink { margin-left: 18px; font-size: 15px; }
html.mob .acts .circ { display: none; }
html.mob .acts { flex-wrap: wrap; gap: 14px 18px; }
html.mob .acts .glink { margin-left: 0; }

html.mob .grid, html.tab-p .grid {
  position: relative; order: 2; flex: 1; min-height: 0;
  overflow: hidden; border-radius: var(--r) var(--r) 0 0;
  -webkit-mask-image: linear-gradient(transparent, #000 28px);
  mask-image: linear-gradient(transparent, #000 28px);
}
html.mob .grid { width: var(--gw); margin: 0 var(--tm) env(safe-area-inset-bottom); }
html.mob .c1 { top: calc(var(--pitch) * -.35); }
html.mob .c2 { top: calc(var(--pitch) * -.78); }
html.mob .c3 { top: calc(var(--pitch) * -.18); }


/* Landscape phone */
html.mob-l {
  --hh: 56px;
  --lgw: min(46vw, 470px);
  --h1: clamp(28px, min(6.4vw, 10.5svh), 60px);
  --fp: 14px;
  --btn: 46px;
  --col: calc((var(--lgw) - 2 * var(--gap)) / 3);
}
html.mob-l .stage {
  display: grid; grid-template-columns: 1fr var(--lgw); column-gap: 20px;
  padding: 0 calc(var(--tm) + env(safe-area-inset-right)) 0 calc(var(--tm) + env(safe-area-inset-left));
}
html.mob-l .hdr { left: calc(var(--tm) + env(safe-area-inset-left)); right: calc(var(--tm) + env(safe-area-inset-right)); }
html.mob-l .hero { grid-column: 1; grid-row: 1; align-self: center; padding: calc(var(--hh) + 18px) 0 16px 8px; }
html.mob-l .hero p { margin-top: 10px; font-size: 13.5px; line-height: 1.45; }
html.mob-l .hero { padding-top: calc(var(--hh) + 10px); }
html.mob-l .hero h1 { --h1: clamp(26px, min(6vw, 9svh), 56px); }
html.mob-l .acts .glink { display: none; }
@media (max-height: 360px) { html.mob-l .hero p { display: none; } }
html.mob-l .acts { margin-top: 14px; }
html.mob-l .grid {
  grid-column: 2; grid-row: 1; width: var(--lgw); height: 100svh; margin: 0;
  border-radius: 0; -webkit-mask-image: none; mask-image: none;
}
html.mob-l .c1, html.mob-l .c3 { top: calc(var(--hh) + 10px); }
html.mob-l .c2 { top: calc(var(--hh) + 10px - var(--pitch) * .5); }

/* ═════════ TABLET ═════════ */
html.tab {
  --tm: clamp(20px, 3.4vw, 40px);
  --hh: 142px;
  --fp: 17px;
  --btn: 63px;
}
html.tab .hdr { height: 142px; }
html.tab .mnav { display: none; }
html.tab .menu-btn { margin-left: auto; }
html.tab .uc1 { min-width: 0; margin-right: 22px; }
html.tab .g-util, html.tab .g-cta { display: none; }
@media (max-width: 1040px) {
  html.tab .unav { display: none; }
  html.tab .search { margin-left: auto; }
  html.tab .g-util { display: block; }
}

/* Tablet landscape: side-by-side like desktop, native px */
html.tab-l {
  --h1: clamp(46px, 5.8vw, 80px);
  --fp: 16px;
  --col: clamp(120px, 15.6vw, 205.33px);
  --pitch: calc(var(--col) * 1.3125 + var(--gap));
  --gw: calc(3 * var(--col) + 2 * var(--gap));
}
html.tab-l .grid { right: calc(var(--tm) + 22px); top: 0; bottom: 0; width: var(--gw); }
html.tab-l .c1 { top: 86px; }
html.tab-l .c2 { top: -11.5px; }
html.tab-l .c3 { top: 86.5px; }
html.tab-l .hero {
  position: absolute; left: calc(var(--tm) + 40px);
  top: calc(var(--hh) + (100svh - var(--hh)) * .5); transform: translateY(-46%);
  width: min(480px, calc(100vw - var(--gw) - 2 * var(--tm) - 110px));
}
html.tab-l .hero p { margin-top: 26px; }
html.tab-l .acts { margin-top: 26px; }

/* Tablet portrait: header / hero block / grid band */
html.tab-p {
  --h1: clamp(56px, 10vw, 80px);
  --gap: 12px;
  --col: calc((100vw - 2 * var(--tm) - 2 * var(--gap)) / 3);
  --pitch: calc(var(--col) * 1.3125 + var(--gap));
  --r: 20px;
}
html.tab-p .stage { display: flex; flex-direction: column; padding-top: calc(var(--hh) + 52px); }
html.tab-p .hero { order: 1; padding: 0 calc(var(--tm) + 28px) 40px; }
html.tab-p .hero p { margin-top: 24px; max-width: 520px; }
html.tab-p .acts { margin-top: 28px; }
html.tab-p .grid { width: calc(3 * var(--col) + 2 * var(--gap)); margin: 0 var(--tm); }
html.tab-p .c1 { top: calc(var(--pitch) * -.3); }
html.tab-p .c2 { top: calc(var(--pitch) * -.72); }
html.tab-p .c3 { top: calc(var(--pitch) * -.12); }

/* ═════════ Below the fold ═════════ */
html { scroll-behavior: smooth; }
:root { --sx: clamp(18px, 6.72vw, 120px); --bx: clamp(12px, 3.125vw, 40px); --rr: 22px; }
html.mob { --rr: 18px; }

.sec { position: relative; padding: clamp(84px, 10vw, 150px) var(--sx) 0; scroll-margin-top: 64px; }
.wrap { max-width: 1400px; margin: 0 auto; }
.kick { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nav-muted); }
.kick::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.kick.k-y::before { background: var(--yellow); }
.kick.k-b::before { background: var(--blue); }
.h2 {
  margin-top: 18px; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(46px, 7.4vw, 116px); line-height: .92; letter-spacing: -.06em;
  -webkit-text-stroke: .0125em currentColor;
}
.shead { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 56px; margin-bottom: clamp(32px, 4vw, 56px); }
.shead > p { max-width: 380px; font-size: 17px; line-height: 1.5; padding-bottom: 6px; }
.lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.36; font-weight: 500; letter-spacing: -.015em; }
.body { font-size: 17px; line-height: 1.6; color: #34332f; }
.lead b, .body b { font-weight: 700; color: var(--ink); }
.tile { position: relative; border-radius: var(--rr); overflow: hidden; isolation: isolate; }
.h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -.045em; }
.pic { position: relative; overflow: hidden; }
.pic:not(.red):not(.yellow):not(.blue):not(.cream):not(.dark) { background: #d9d7d1; }
.pic::before { content: ""; position: absolute; inset: 0; background: var(--pic) var(--pos, center) / cover no-repeat; transition: transform 1s var(--EXPO); }
.ib { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.pill.inv { background: var(--paper); color: var(--ink); }
.circ.inv { background: var(--red); color: var(--ink); }
.a32.inv { background: var(--paper); color: var(--ink); }

/* Ticker */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: clamp(16px, 2vw, 24px) 0; }
.tk-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.tk-item {
  display: flex; align-items: center; gap: .45em; padding-right: .45em;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(32px, 4.6vw, 66px); line-height: 1; letter-spacing: -.05em;
}
.tk-dot { width: .36em; height: .36em; border-radius: 50%; background: var(--red); }
.tk-item:nth-child(3n+2) .tk-dot { background: var(--yellow); }
.tk-item:nth-child(3n) .tk-dot { background: var(--blue); }
@keyframes tick { to { transform: translate3d(-50%, 0, 0); } }

/* Portfolio */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  height: 44px; padding: 0 20px; border-radius: 22px; font-size: 15px; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--nav-rule); transition: background .25s, color .25s;
}
.chip:hover { background: #ebeae4; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.pf { display: flex; align-items: flex-start; gap: 13px; }
.pf-col { flex: 1; min-width: 0; }
/* Plain list of pieces for search engines / no-JS (see render-list.mjs) */
.pf-list { columns: 2 220px; gap: 24px; padding-left: 1.2em; font-size: 15px; line-height: 1.7; }
.pf-list a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html.js .pf-list { display: none; }
.card { display: block; margin-bottom: 30px; }
.card[hidden] { display: none; }
.card .pic { border-radius: var(--rr); aspect-ratio: var(--ar, 4 / 5); }
.card:hover .pic::before { transform: scale(1.045); }
.card .tag { position: absolute; z-index: 2; left: 14px; top: 14px; }
.card .pic .a32 { position: absolute; z-index: 2; right: 14px; bottom: 14px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .5s var(--EXPO); }
.card:hover .pic .a32, .card:focus-visible .pic .a32 { opacity: 1; transform: none; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 13px; font-size: 12px; font-weight: 600; background: #fff; }
.t-char { background: var(--red); } .t-anime { background: var(--blue); } .t-port { background: var(--yellow); } .t-wh { background: var(--card-dark); color: #fff; } .t-com { background: #fff; }
.cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 13px; }
.cap b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.cap span { font-size: 13px; color: var(--nav-muted); white-space: nowrap; }
.card.solid .pic { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; aspect-ratio: 4 / 4.4; }
.card.solid .pic::before { display: none; }
.card.solid .pic { container-type: inline-size; }
.card.solid .pic > * { position: relative; z-index: 1; }
.card.solid .h3 { font-size: min(46px, calc((100cqi - 44px) / 5.9)); }
.card.solid .a32 { position: relative; opacity: 1; transform: none; right: auto; bottom: auto; width: 44px; height: 44px; }
.card.solid:hover .a32 { transform: translateX(4px); }
.pf-more { display: flex; justify-content: center; margin-top: 18px; }
.pf-more .glink { margin-left: 0; }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.ab-media { position: relative; }
.ab-media .pic { border-radius: var(--rr); aspect-ratio: 4 / 5; }
.ab-badge {
  position: absolute; z-index: 2; right: -18px; bottom: 34px; width: 46%; aspect-ratio: 1;
  padding: 18px; display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-5deg); box-shadow: 0 24px 40px -24px rgba(15, 15, 14, .45);
}
.ab-badge svg { width: 38px; height: 38px; position: relative; z-index: 1; }
.ab-badge { container-type: inline-size; }
.ab-badge .h3 { position: relative; z-index: 1; white-space: nowrap; font-size: calc((100cqi - 36px) / 7.6); letter-spacing: -.05em; }
.ab-copy .lead { margin-top: 30px; }
.ab-copy .body { margin-top: 18px; max-width: 60ch; }
.ab-copy .ib { margin-top: 30px; }
.ab-copy .glink { margin-left: 22px; }
.paints { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: clamp(56px, 7vw, 100px); }
.paint { min-height: 270px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.paint > * { position: relative; z-index: 1; }
.paint .num { font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.paint .h3 { font-size: clamp(26px, 2.4vw, 34px); }
.paint p { margin-top: 10px; font-size: 15px; line-height: 1.5; }

/* Portfolio images + viewer */
.card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--EXPO); }
.card .pic img:not(.ok) { opacity: 0; }
.card .pic img.ok { animation: imgIn .5s ease both; }
@keyframes imgIn { from { opacity: 0; } }
.card:hover .pic img { transform: scale(1.045); }
.card .pic { cursor: zoom-in; }
.card.solid .pic { cursor: pointer; }
.card.pf-cut { display: none; }
.pf-more { flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.chip .n { margin-left: 8px; font-size: 12px; font-variant-numeric: tabular-nums; opacity: .5; }
.pf-empty { padding: 56px 0 24px; text-align: center; font-size: 17px; color: var(--nav-muted); }
.pf-empty[hidden] { display: none; }
.pf-empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pf-all { flex: none; }
/* Full gallery page */
.page-head { padding-top: clamp(120px, 14vw, 190px); }
.page-head .h1x { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.05em; line-height: .88; font-size: clamp(56px, 11vw, 168px); }
.page-head .crumb { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; margin-bottom: 26px; }
.page-head .crumb .a32 { transform: scaleX(-1); }
.pf-count { font-size: 15px; font-weight: 600; color: var(--nav-muted); font-variant-numeric: tabular-nums; }
.chips-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 30px; }
.chips-row .chips { margin-bottom: 0; }
.lb {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 72px 96px 28px;
  background: rgba(15, 15, 14, .95); color: var(--paper);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: lbIn .4s var(--EXPO) both; touch-action: pan-y;
}
.lb[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lb-fig { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; }
.lb-img {
  display: block; max-width: min(100%, 1500px); max-height: calc(100svh - 180px); width: auto; height: auto;
  border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  animation: lbImg .55s var(--EXPO) both;
}
@keyframes lbImg { from { opacity: 0; transform: scale(.965); } }
.lb-cap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.lb-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.04em; }
.lb-n { font-size: 13px; color: rgba(245, 244, 239, .6); font-variant-numeric: tabular-nums; }
.lb .tag { background: var(--paper); color: var(--ink); }
.lb .nb { position: absolute; background: var(--paper); color: var(--ink); }
.lb .nb:disabled { background: transparent; color: rgba(245, 244, 239, .35); box-shadow: inset 0 0 0 1px rgba(245, 244, 239, .25); }
.lb-x { top: 18px; right: 18px; }
.lb-prev { left: 24px; top: 50%; margin-top: -29px; }
.lb-next { right: 24px; top: 50%; margin-top: -29px; }
@media (max-width: 899px) {
  .lb { padding: 64px 14px 96px; }
  .lb-img { max-height: calc(100svh - 230px); border-radius: 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; margin-top: 0; }
  .lb-prev { left: calc(50% - 66px); }
  .lb-next { right: calc(50% - 66px); }
}

/* Services */
.svcs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.svc { position: relative; grid-column: span 2; min-height: 400px; padding: 22px; display: flex; flex-direction: column; }
.svc.wide { grid-column: span 3; }
.svc > * { position: relative; z-index: 1; }
.svc .num { font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.svc-go { position: absolute !important; top: 18px; right: 18px; width: 44px; height: 44px; }
.svc-go:hover { transform: translateX(4px); }
.svc { container-type: inline-size; }
.svc .h3 { margin-top: auto; padding-top: 48px; font-size: min(clamp(28px, 2.7vw, 42px), calc((100cqi - 44px) / 8.4)); }
.svc p { margin-top: 12px; font-size: 15.5px; line-height: 1.5; max-width: 44ch; }
.svc.dark p { color: rgba(245, 244, 239, .74); }
.svc ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; list-style: none; }
.svc li { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .55); }
.svc.dark li { background: rgba(245, 244, 239, .1); }
.svc.cream li { background: #fff; box-shadow: inset 0 0 0 1px #e9e6df; }

/* Pricing */
.price { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 13px; }
.pr { min-height: 430px; padding: 26px; display: flex; flex-direction: column; container-type: inline-size; }
.pr > * { position: relative; z-index: 1; }
.pr-big { margin-top: auto; font-family: var(--display); font-weight: 900; font-size: min(148px, calc((100cqi - 52px) / 3.3)); line-height: .82; letter-spacing: -.07em; white-space: nowrap; }
.pr-big small { margin-left: .14em; font-size: .2em; letter-spacing: .02em; vertical-align: top; position: relative; top: .5em; }
.pr-big + p { margin-top: 18px; font-size: 15.5px; line-height: 1.5; max-width: 34ch; }
.pr.dark .pr-big + p { color: rgba(245, 244, 239, .74); }
.pr .ib { margin-top: 24px; }
.pr .h3 { font-size: clamp(26px, 2.4vw, 36px); }
.factors { list-style: none; margin-top: auto; padding-top: 28px; }
.factors li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(15, 15, 14, .12); font-size: 16px; font-weight: 600; }
.factors i { font-style: normal; font-size: 12px; color: var(--nav-muted); letter-spacing: .08em; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 100px; }
.faq-head .h2 { font-size: clamp(46px, 5.4vw, 88px); }
.faq-head .body { margin-top: 24px; max-width: 36ch; }
.faq-head .glink { margin: 24px 0 0; }
.qas { border-bottom: 1px solid var(--nav-rule); }
.qa { border-top: 1px solid var(--nav-rule); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
  list-style: none; cursor: pointer; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -.012em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #3a3935; }
.pm { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); transition: background .25s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: #fff; border-radius: 2px; transition: background .25s, transform .45s var(--EXPO); }
.pm::after { transform: rotate(90deg); }
.qa[open] .pm { background: var(--red); }
.qa[open] .pm::before { transform: rotate(45deg); }
.qa[open] .pm::after { transform: rotate(135deg); }
.qa[open] .pm::before, .qa[open] .pm::after { background: var(--ink); }
.qa p { padding: 0 60px 26px 0; font-size: 16.5px; line-height: 1.6; color: #34332f; max-width: 64ch; }
.qa[open] p { animation: navIn .5s var(--EXPO) both; }

/* Testimonials carousel */
.tm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.tm-ctl { display: flex; align-items: center; gap: 14px; padding-bottom: 6px; }
.tm-count { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -.04em; min-width: 4.4em; text-align: center; font-variant-numeric: tabular-nums; }
.tm-count i { font-style: normal; color: var(--nav-muted); }
.nb { width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .4s var(--EXPO), background .25s, color .25s, box-shadow .25s; }
.nb svg { width: 20px; height: 20px; }
.nb.prev svg { transform: scaleX(-1); }
.nb:not(:disabled):hover { transform: scale(1.07); }
.nb:disabled { background: transparent; color: var(--nav-muted); box-shadow: inset 0 0 0 1px var(--nav-rule); cursor: default; }
.tm-track {
  display: flex; align-items: flex-start; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--rr);
}
.tm-track::-webkit-scrollbar { display: none; }
.tm-track:focus-visible { outline-offset: 6px; }
.tm-track > .tm { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; transition: opacity .5s; }
.tm-track > .tm[inert] { opacity: .35; }
.tm-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; margin-top: clamp(32px, 4vw, 48px); }
.tm-bars { display: flex; gap: 6px; flex: 1 1 240px; max-width: 420px; }
.tm-bars button { flex: 1; height: 24px; padding: 10px 0; background: var(--nav-rule); background-clip: content-box; border-radius: 4px; transition: background-color .3s; }
.tm-bars button:hover { background-color: #b9b8b2; }
.tm-bars button[aria-current="true"] { background-color: var(--ink); }
.tm-foot .glink { margin-left: 22px; }
.vid-cap { position: absolute; z-index: 2; left: 18px; top: 18px; }
.vid-cap .tag { background: var(--paper); }

.tm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.tm.landscape { grid-template-columns: 1fr; }
.tm.landscape .tm-copy { max-width: 920px; }
.vid {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rr);
  aspect-ratio: var(--vr, 4 / 5); background: var(--card-dark); color: var(--paper);
  width: min(100%, calc(min(74svh, 720px) * var(--vrn, .8))); justify-self: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.vid::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: var(--grain); background-size: 200px; mix-blend-mode: screen; opacity: .035; }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--card-dark); }
.vid.playing video { object-fit: contain; background: #000; }
.vid.playing::after { display: none; }
.vid-ov {
  position: absolute; inset: 0; z-index: 2; width: 100%; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left;
  background: linear-gradient(rgba(15, 15, 14, 0) 45%, rgba(15, 15, 14, .62));
  transition: opacity .35s, visibility 0s;
}
.vid.playing .vid-ov { opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.vid-top { display: flex; gap: 6px; flex-wrap: wrap; }
.vid-top .tag { background: var(--paper); color: var(--ink); }
.vid-top .tag.dur { background: rgba(245, 244, 239, .16); color: var(--paper); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vid-play { display: flex; align-items: center; gap: 16px; }
.vid-play .pb {
  width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: var(--ink);
  display: grid; place-items: center; transition: transform .5s var(--EXPO);
}
.vid-play .pb svg { width: 26px; height: 26px; margin-left: 3px; }
.vid-play .h3 { font-size: clamp(18px, 1.8vw, 24px); }
.vid-ov:hover .pb { transform: scale(1.07); }
.vid-empty { display: none; position: absolute; inset: 0; z-index: 2; place-items: center; align-content: center; gap: 16px; padding: 24px; text-align: center; }
.vid-empty svg { width: 64px; height: 64px; opacity: .5; margin: 0 auto; }
.vid-empty .h3 { font-size: clamp(20px, 2vw, 28px); }
.vid-empty p { font-size: 13px; opacity: .6; }
.vid.novid video, .vid.novid .vid-ov { display: none; }
.vid.novid .vid-empty { display: grid; }

.qmark { display: block; height: .5em; margin-bottom: 18px; font-family: var(--display); font-weight: 900; font-size: clamp(110px, 11vw, 160px); line-height: .82; color: var(--red); }
.tm-q p { font-size: clamp(23px, 2.5vw, 36px); line-height: 1.24; font-weight: 500; letter-spacing: -.022em; max-width: 30ch; }
.who { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.who b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -.04em; }
.av svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: -.03em; }
.tm-copy .ib { margin-top: 34px; }
.tm-copy .glink { margin-left: 22px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; list-style: none; }
.step { min-height: 380px; padding: 22px; display: flex; flex-direction: column; }
.step > * { position: relative; z-index: 1; }
.step .n { font-family: var(--display); font-weight: 900; font-size: clamp(76px, 8vw, 124px); line-height: .78; letter-spacing: -.07em; }
.step .h3 { margin-top: auto; padding-top: 28px; font-size: clamp(26px, 2.3vw, 34px); }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.step.dark p { color: rgba(245, 244, 239, .74); }
.pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 24px 48px; margin-top: 13px; padding: clamp(22px, 3vw, 36px); }
.pay > * { position: relative; z-index: 1; }
.pay .h3 { margin-top: 12px; font-size: clamp(30px, 3.4vw, 52px); }
.pay-t p:last-child { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.pay-m { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; justify-content: flex-end; }
.pay-m li { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 23px; background: rgba(255, 255, 255, .6); font-size: 15px; font-weight: 600; }
@media (min-width: 900px) { .pay-m { display: grid; grid-template-columns: repeat(3, auto); } .pay-m li { justify-content: center; } }
@media (max-width: 899px) { .pay { grid-template-columns: 1fr; } .pay-m { justify-content: flex-start; } }
@media (max-width: 599px) { .pay-m li { height: 38px; padding: 0 14px; font-size: 14px; } }
.proc-end { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; margin-top: clamp(28px, 3.4vw, 44px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--nav-rule); }
.proc-end .h3 { font-size: clamp(26px, 3vw, 44px); }
.proc-end .h3 + p { margin-top: 8px; font-size: 17px; color: var(--nav-muted); }
.note { margin-top: 26px; font-size: 15px; color: var(--nav-muted); }
.note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Closing CTA */
.cta-band {
  margin: clamp(84px, 10vw, 150px) var(--bx) 0; padding: clamp(32px, 6vw, 86px);
  border-radius: 28px; background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; overflow: hidden;
}
.cta-band .kick { color: rgba(245, 244, 239, .6); }
.cta-band .h2 { font-size: clamp(48px, 8vw, 128px); }
.cta-band .body { color: rgba(245, 244, 239, .74); margin-top: 22px; max-width: 46ch; }
.cta-band .ib { margin-top: 32px; }
.cta-band .glink { margin-left: 22px; }
.cb-tiles { position: relative; height: 100%; min-height: 360px; }
.cb-tiles .tile { position: absolute; width: 46%; aspect-ratio: 205 / 270; }
.cb-tiles .t1 { right: 42%; top: 6%; transform: rotate(-8deg); }
.cb-tiles .t2 { right: 4%; top: 0; transform: rotate(6deg); }
.cb-tiles .t3 { right: 22%; bottom: -14%; transform: rotate(-2deg); }
.cb-tiles .t2 .h3, .cb-tiles .t3 .h3 { position: absolute; z-index: 1; left: 9%; right: 9%; bottom: 8%; font-size: clamp(16px, 1.7vw, 24px); }
.foot-slot { height: clamp(48px, 6vw, 80px); }

/* Scrolled dock */
.dock {
  position: fixed; z-index: 30; top: 0; left: var(--bx); right: var(--bx); height: 66px;
  display: flex; align-items: center; gap: 24px; padding: 0 9px 0 24px;
  background: var(--nav-bg); color: var(--nav-fg); border-radius: 0 0 18px 18px;
  box-shadow: 0 0 0 1px var(--nav-line), 0 16px 36px -24px rgba(15, 15, 14, .30);
  transform: translateY(calc(-100% - 24px)); visibility: hidden;
  transition: transform .6s var(--EXPO), visibility 0s .6s;
}
html.scrolled .dock { transform: none; visibility: visible; transition: transform .6s var(--EXPO); }
.dlogo { display: flex; align-items: center; gap: 10px; }
.dlogo img { flex: none; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.dlogo span { font-family: var(--display); font-weight: 900; font-size: 23px; font-stretch: 85%; letter-spacing: -.01em; -webkit-text-stroke: .3px currentColor; }
.dock nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.dock nav a:hover { color: var(--nav-muted); }
.dock .pill { --btn: 48px; min-width: 0; padding: 0 22px; border-radius: 16px; font-size: 15px; }
.dock .circ { --btn: 47px; }
.dock .circ svg { width: 20px; height: 20px; }
/* Dock menu: phones and tablets, where the section links are hidden */
.dock-menu { display: none; align-items: center; gap: 10px; margin-left: auto; padding: 12px 14px; font-size: 15px; font-weight: 600; }
.dock[data-open] { border-radius: 0; }
.dock-panel {
  display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 24px 24px;
  background: var(--nav-bg); border-top: 1px solid var(--nav-line); border-radius: 0 0 18px 18px;
  box-shadow: 0 0 0 1px var(--nav-line), 0 24px 40px -24px rgba(15, 15, 14, .35);
  max-height: calc(100svh - 76px); overflow: auto; overscroll-behavior: contain;
}
.dock[data-open] .dock-panel { display: block; }
.dock-panel a:not(.pill) { display: block; padding: 5px 0; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 8vw, 34px); line-height: .95; text-transform: uppercase; letter-spacing: -.04em; }
.dock-panel .pill { margin-top: 18px; }
.dock[data-open] .dock-panel li { animation: navIn .55s var(--EXPO) both; animation-delay: calc(var(--i, 0) * 35ms + 40ms); }

/* Reveal on scroll */
html.rv-on .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--EXPO), transform 1.15s var(--EXPO); transition-delay: calc(var(--d, 0) * 80ms); }
html.rv-on .rv.in { opacity: 1; transform: none; }

@media (max-width: 1099px) {
  .steps, .paints { grid-template-columns: 1fr 1fr; }
  .svcs { grid-template-columns: 1fr 1fr; }
  .svc, .svc.wide { grid-column: auto; }
  .svc:last-child { grid-column: 1 / -1; }
  .price { grid-template-columns: 1fr 1fr; }
  .price .pr:first-child { grid-column: 1 / -1; min-height: 360px; }
  .step { min-height: 340px; }
  .dock nav { gap: 20px; }
}
@media (max-width: 899px) {
  .pf { gap: 10px; }
  .shead { grid-template-columns: 1fr; }
  .about, .tm, .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .tm:not(.landscape) .vid { max-width: 480px; }
  .ab-media { max-width: 520px; }
  .cta-band { grid-template-columns: 1fr; }
  .cb-tiles { display: none; }
  .dock nav { display: none; }
  .dock .ib { margin-left: auto; }
  .dock-menu { display: flex; margin-left: 6px; }
}
@media (max-width: 599px) {
  .card { margin-bottom: 22px; }
  .card .tag { left: 10px; top: 10px; }
  .cap { flex-direction: column; gap: 2px; margin-top: 10px; }
  .cap b { font-size: 14.5px; }
  .card.solid .pic { padding: 16px; }
  .steps, .svcs, .price, .paints { grid-template-columns: 1fr; }
  .h2, .faq-head .h2 { font-size: clamp(34px, 12.2vw, 56px); }
  .cta-band .h2 { font-size: clamp(38px, 13.5vw, 60px); }
  .paint { min-height: 0; gap: 34px; }
  .ab-badge { right: 10px; }
  .tm-head { flex-direction: column; align-items: flex-start; }
  .tm-ctl { padding-bottom: 0; }
  .qa summary { gap: 14px; }
  .pm { width: 34px; height: 34px; }
  .cta-band { padding: 28px 22px; }
  .svc, .pr, .price .pr:first-child { min-height: 0; }
  .pr-big { padding-top: 40px; }
  .qa p { padding-right: 0; }
  .step { min-height: 0; }
  .step .h3 { padding-top: 44px; }
  .paints { gap: 10px; }
  .paint { padding: 18px; }
  .paint p { font-size: 13.5px; }
  .ab-copy .glink, .tm-copy .glink { margin-left: 16px; }
  .nb { width: 48px; height: 48px; }
  .tm-ctl { gap: 8px; }
  .tm-count { font-size: 17px; min-width: 3.8em; }
  .tm-foot .glink { margin-left: 16px; }
  .tm-bars { max-width: none; flex-basis: 100%; }
  .vid-play .pb { width: 62px; height: 62px; }
  .cta-band .glink { margin: 18px 0 0; flex-basis: 100%; }
  .dock { height: 60px; padding-left: 18px; }
  .dock .ib { display: none; }
  .dock-menu { margin-left: auto; padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tk-track { animation: none; }
}

/* ═════════ Load entrance initial state ═════════ */
html.intro .hdr { transform: translateY(calc(-100% - 48px)); }
html.intro .util > *, html.intro .logo, html.intro .mnav > *, html.intro .menu-btn, html.intro .main > .cta,
html.intro .hero p, html.intro .acts > * { opacity: 0; }
html.intro .ln { transform: translateY(110%); }

@media (max-width: 599px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--sx) * -1); margin-right: calc(var(--sx) * -1); padding: 0 var(--sx); scrollbar-width: none; scroll-padding: 0 var(--sx); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .chips-row { flex-direction: column; align-items: flex-start; }
  .chips-row .chips { width: calc(100% + 2 * var(--sx)); }
}
