/* Self-hosted fonts (SIL OFL, via Fontsource) */
@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #f8f1e7; --surface: #efe2cf; --ink: #3a2618; --muted: #6a5444; --line: color-mix(in srgb, #3a2618 13%, transparent);
  --accent: #e0a32e; --accent-ink: #a3431c; --on-accent: #ffffff;
  --dark: #3a2618; --on-dark: #f8f1e7; --card: #fffaf3;
  --f-display: "Young Serif", Georgia, serif;
  --f-body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-label: "Karla", system-ui, sans-serif;
  --f-em: "Young Serif", Georgia, serif;
  --wrap: 1320px; --gutter: clamp(1.25rem, 4vw, 3rem); --header-h: 84px;
  --ease: cubic-bezier(.22,.8,.24,1); --ease2: cubic-bezier(.65,0,.25,1);
  --display-weight: 400; --display-track: -.02em; --display-lh: 1.02; --h1-giant: clamp(3rem, 8.4vw, 8.4rem); --em-style: normal; --radius-img: 24px; --radius-btn: 999px; --logo-h: 70px; --tick-sep: '●'; --f-ticker: 'Young Serif'; --ticker-size: 1.5rem; --ticker-weight: 400; --ticker-track: 0; --label-track: .2em;
}

/* ===== Engine base: everything is driven by the tokens in :root (theme.css) ===== */
@property --open { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--body-weight, 400) var(--body-size, 1.0625rem)/1.7 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--f-display); font-weight: var(--display-weight, 500); line-height: var(--display-lh, 1.02); letter-spacing: var(--display-track, -.015em); text-transform: var(--display-case, none); margin: 0 0 .45em; }
h1 { font-size: var(--h1, clamp(3rem, 7.5vw, 7rem)); }
h2 { font-size: var(--h2, clamp(2.2rem, 4.6vw, 4.2rem)); }
h3 { font-size: var(--h3, clamp(1.4rem, 2.1vw, 1.85rem)); line-height: 1.12; }
h1 em, h2 em, h3 em { font-family: var(--f-em, var(--f-display)); font-style: var(--em-style, italic); color: var(--accent-ink); font-weight: var(--em-weight, inherit); }
::selection { background: var(--accent-ink); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gutter), 1560px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--ink); color: var(--bg); padding: .7rem 1rem; transition: top .2s; }
.skip:focus { top: 1rem; }
.label { font: var(--label-weight, 600) var(--label-size, .78rem)/1.2 var(--f-label); letter-spacing: var(--label-track, .26em); text-transform: uppercase; color: var(--accent-ink); display: inline-flex; align-items: center; gap: .8em; margin: 0 0 1.3rem; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 38rem; }
.muted { color: var(--muted); }

/* Buttons */
.btn { --b-bg: var(--ink); --b-fg: var(--bg); --b-hover: var(--accent-ink); --b-hover-fg: var(--on-accent);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: 1.05rem 1.6rem;
  border: 1px solid var(--b-bg); border-radius: var(--radius-btn, 0); background: var(--b-bg); color: var(--b-fg);
  font: 600 .8rem/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-hover); transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { border-color: var(--b-hover); color: var(--b-hover-fg); }
.btn .arr { width: 16px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.btn .arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arr { width: 24px; }
.btn-accent { --b-bg: var(--accent-ink); --b-fg: var(--on-accent); --b-hover: var(--ink); --b-hover-fg: var(--bg); }
.btn-ghost { --b-bg: transparent; --b-fg: currentColor; border-color: currentColor; }
.btn-light { --b-bg: var(--bg); --b-fg: var(--ink); --b-hover: var(--accent-ink); }
.tlink { font: 600 .8rem/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: .45rem 0; background: linear-gradient(currentColor, currentColor) 0 100%/100% 1px no-repeat; transition: background-size .5s var(--ease); display: inline-block; }
.tlink:hover { background-size: 30% 1px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); color: var(--hdr-ink, var(--ink)); border-bottom: 1px solid transparent; transition: border-color .3s, height .3s var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hdr-bg, color-mix(in srgb, var(--bg) 86%, transparent)); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); }
.site-header.scrolled { border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { height: var(--logo-h, 52px); width: auto; max-width: 240px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav a:not(.btn) { font: 600 .8rem/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; position: relative; padding: .5rem 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: .85rem 1.2rem; }
.menu-btn { display: none; }

/* Reveals */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.media { position: relative; overflow: hidden; background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }
/* signature: slat (blind) */
.sig-slat .js .media img, .js.sig-slat .media img { -webkit-mask-image: linear-gradient(to bottom, #000 var(--open), transparent var(--open)); mask-image: linear-gradient(to bottom, #000 var(--open), transparent var(--open)); -webkit-mask-size: 100% 34px; mask-size: 100% 34px; transform: scale(1.06); transition: --open 1.3s var(--ease2), transform 2.2s var(--ease); }
.js.sig-slat .media.in img { --open: 100%; transform: none; }
/* signature: wipe (curtain from left) — clip the img, observe the wrapper */
.js.sig-wipe .media img { clip-path: inset(0 100% 0 0); transform: scale(1.12); transition: clip-path 1.25s var(--ease2), transform 1.8s var(--ease); }
.js.sig-wipe .media.in img { clip-path: inset(0 0 0 0); transform: none; }
/* signature: rise (frame grows from bottom) */
.js.sig-rise .media img { clip-path: inset(100% 0 0 0); transform: scale(1.15) translateY(4%); transition: clip-path 1.2s var(--ease2), transform 1.8s var(--ease); }
.js.sig-rise .media.in img { clip-path: inset(0 0 0 0); transform: none; }
/* signature: iris (circle opens) */
.js.sig-iris .media img { clip-path: circle(0% at 50% 50%); transition: clip-path 1.4s var(--ease2); }
.js.sig-iris .media.in img { clip-path: circle(75% at 50% 50%); }
/* signature: pixel (stepped reveal, for tech) */
.js.sig-pixel .media img { -webkit-mask-image: linear-gradient(90deg, #000 var(--open), transparent var(--open)); mask-image: linear-gradient(90deg, #000 var(--open), transparent var(--open)); -webkit-mask-size: 48px 100%; mask-size: 48px 100%; transition: --open 1s steps(8), filter 1.2s; filter: saturate(0); }
.js.sig-pixel .media.in img { --open: 100%; filter: none; }
/* split headline lines */
.js .lines .ln { display: block; overflow: hidden; }
.js .lines .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * .09s + .1s); }
.js .lines.in .ln > span { transform: none; }

/* ===== HERO variants ===== */
.hero { position: relative; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2.2rem; }
/* split */
.hero-split { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-split .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.hero-split .media { aspect-ratio: 4/4.7; border-radius: var(--radius-img, 0); }
/* full-bleed */
.hero-full { min-height: min(100svh - var(--header-h), 920px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.hero-full > .media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay, linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.78) 100%)); }
.hero-full .inner { padding: clamp(3rem, 8vw, 6rem) 0; }
.hero-full h1 { max-width: 15ch; }
.hero-full .lede { color: rgba(255,255,255,.86); }
.hero-full .label { color: var(--accent); }
.hero-full .btn-ghost { color: #fff; }
/* giant type */
.hero-type { padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.hero-type h1 { font-size: var(--h1-giant, clamp(3.4rem, 11vw, 11rem)); line-height: .92; max-width: none; }
.hero-type .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin: 1.5rem 0 clamp(2.5rem, 5vw, 4rem); }
.hero-type .strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(.6rem, 1.2vw, 1rem); }
.hero-type .strip .media { aspect-ratio: 4/3.3; border-radius: var(--radius-img, 0); }
.hero-type .strip .media:first-child { aspect-ratio: auto; }
/* arch / framed */
.hero-arch { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem); text-align: center; }
.hero-arch h1 { max-width: 16ch; margin-inline: auto; }
.hero-arch .lede { margin-inline: auto; }
.hero-arch .cta-row { justify-content: center; }
.hero-arch .frames { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(.8rem, 2vw, 1.6rem); align-items: end; margin-top: clamp(3rem, 6vw, 4.5rem); }
.hero-arch .frames .media { aspect-ratio: 3/4; border-radius: 999px 999px var(--radius-img, 0) var(--radius-img, 0); }
.hero-arch .frames .media:nth-child(2) { aspect-ratio: 3/3.6; }
.hero-badge { position: absolute; z-index: 3; background: var(--ink); color: var(--bg); padding: 1.2rem 1.4rem; max-width: 15rem; left: clamp(-2.5rem, -3vw, -1rem); bottom: 2.4rem; border-radius: var(--radius-img, 0); }
.hero-badge strong { display: block; font: var(--display-weight, 500) 2.2rem/1 var(--f-display); color: var(--accent); }
.hero-badge span { font: 600 .72rem/1.5 var(--f-label); letter-spacing: .2em; text-transform: uppercase; }
.spin-badge { position: absolute; width: 132px; height: 132px; right: 6%; top: -40px; z-index: 3; animation: spin 22s linear infinite; color: var(--accent-ink); }
.spin-badge text { font: 600 10.5px var(--f-label); letter-spacing: .34em; text-transform: uppercase; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; background: var(--ticker-bg, transparent); color: var(--ticker-ink, inherit); }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker-track span { font: var(--ticker-weight, 500) var(--ticker-size, 1.05rem)/1 var(--f-ticker, var(--f-label)); letter-spacing: var(--ticker-track, .3em); text-transform: uppercase; white-space: nowrap; padding-right: 2.4rem; display: inline-flex; align-items: center; gap: 2.4rem; }
.ticker-track span::after { content: var(--tick-sep, "✦"); color: var(--accent); font-size: .8em; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* Sections */
.section { padding: clamp(4.5rem, 10vw, 9rem) 0; }
.section-tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.bg-surface { background: var(--surface); }
.bg-dark { background: var(--dark); color: var(--on-dark); }
.bg-dark .label { color: var(--accent); }
.bg-dark .muted, .bg-dark .lede { color: color-mix(in srgb, var(--on-dark) 72%, transparent); }
.bg-dark h2 em, .bg-dark h3 em { color: var(--accent); }
.bg-dark .line { border-color: color-mix(in srgb, var(--on-dark) 18%, transparent); }
.head { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.head p { margin: 0; }
.statement { display: grid; grid-template-columns: 5fr 4fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.statement blockquote { margin: 0; font: var(--quote-weight, 400) clamp(1.9rem, 3.7vw, 3.3rem)/1.14 var(--f-quote, var(--f-display)); letter-spacing: -.01em; }
.statement blockquote em { color: var(--accent-ink); font-style: var(--em-style, italic); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 2.4rem; }
.stat { padding: 1.4rem 1rem 0 0; }
.stat strong { display: block; font: var(--display-weight, 500) clamp(2.2rem, 3.8vw, 3.3rem)/1 var(--f-display); }
.stat span { font: 600 .72rem/1.4 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Services: cards */
.svc-cards { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: clamp(1rem, 1.8vw, 1.6rem); }
.svc-card { text-decoration: none; display: flex; flex-direction: column; }
.svc-card .media { aspect-ratio: var(--card-ratio, 3/4); margin-bottom: 1.2rem; border-radius: var(--radius-img, 0); }
.svc-card .media img { transition: transform 1.2s var(--ease); }
.svc-card:hover .media img { transform: scale(1.05); }
.svc-card .num { font: 600 .76rem/1 var(--f-label); letter-spacing: .26em; color: var(--accent-ink); margin-bottom: .6rem; }
.svc-card h3 { margin-bottom: .35rem; transition: color .3s; }
.svc-card:hover h3 { color: var(--accent-ink); }
.svc-card p { color: var(--muted); font-size: .97rem; margin: 0; }
/* Services: rows with hover reveal */
.svc-rows { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 5rem 1.2fr 1fr auto; gap: 2rem; align-items: center; padding: clamp(1.4rem, 2.6vw, 2.2rem) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.svc-row .num { font: 600 .8rem/1 var(--f-label); letter-spacing: .2em; color: var(--accent-ink); }
.svc-row h3 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 3rem); transition: transform .5s var(--ease), color .3s; }
.svc-row p { margin: 0; color: var(--muted); }
.svc-row .go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.svc-row .go::before { content: "→"; }
.svc-row:hover h3 { transform: translateX(12px); color: var(--accent-ink); }
.svc-row:hover .go { background: var(--accent-ink); color: var(--on-accent); border-color: var(--accent-ink); }
.svc-row .peek { position: absolute; right: 12%; top: 50%; width: 220px; aspect-ratio: 4/5; transform: translateY(-50%) scale(.85) rotate(-4deg); opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s var(--ease); z-index: 2; border-radius: var(--radius-img, 0); overflow: hidden; }
.svc-row:hover .peek { opacity: 1; transform: translateY(-50%) scale(1) rotate(-2deg); }
.svc-row .peek img { width: 100%; height: 100%; object-fit: cover; }
/* Services: bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: clamp(.8rem, 1.4vw, 1.2rem); }
.bento a { position: relative; text-decoration: none; color: #fff; overflow: hidden; border-radius: var(--radius-img, 0); grid-column: span 2; min-height: 300px; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem; }
.bento a:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.bento a:nth-child(4) { grid-column: span 3; } .bento a:nth-child(5) { grid-column: span 3; }
.bento .media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.bento a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.78)); }
.bento h3 { margin: 0 0 .3rem; }
.bento p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.82); max-width: 34ch; }
.bento .num { font: 600 .74rem/1 var(--f-label); letter-spacing: .24em; color: var(--accent); margin-bottom: .6rem; }
.bento a .media img { transition: transform 1.2s var(--ease); }
.bento a:hover .media img { transform: scale(1.05); }

/* Process */
.process { display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); list-style: none; padding: 0; margin: 0; counter-reset: s; }
.step { padding: 2rem clamp(1rem, 2vw, 2rem) 0 0; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); counter-increment: s; }
.step::before { content: "0" counter(s); display: block; font: var(--display-weight, 500) 3.4rem/1 var(--f-display); color: var(--accent); margin-bottom: 1.1rem; }
.step h3 { font-size: 1.45rem; }
.step p { margin: 0; font-size: .97rem; opacity: .75; }

/* Work teaser + gallery */
.teaser { display: grid; grid-template-columns: 1.25fr .9fr .9fr; gap: clamp(1rem, 1.8vw, 1.6rem); align-items: end; }
.teaser figure { margin: 0; }
.teaser .media { aspect-ratio: 4/5; border-radius: var(--radius-img, 0); }
.teaser figure:first-child .media { aspect-ratio: 4/4.3; }
.teaser figure:nth-child(2) { transform: translateY(-3rem); }
figcaption { font: 600 .72rem/1.4 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: .85rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.filters button { font: 600 .76rem/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; background: transparent; color: var(--ink); border: 1px solid var(--line); padding: .85rem 1.2rem; border-radius: var(--radius-btn, 0); transition: all .3s var(--ease); }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery { columns: 3; column-gap: clamp(1rem, 1.8vw, 1.6rem); }
.tile { break-inside: avoid; margin: 0 0 clamp(1rem, 1.8vw, 1.6rem); }
.tile button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.tile button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
.tile .media { border-radius: var(--radius-img, 0); }
.tile[hidden] { display: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1200px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(15, 15, 15, .92); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; font: 600 .76rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; margin: 1.1rem 0 0; }
.lightbox .close { position: fixed; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 1.6rem; cursor: pointer; }
/* product / menu list */
.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 5rem); }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1.3rem 0; border-bottom: 1px dashed var(--line); }
.menu-item h3 { margin: 0; font-size: 1.4rem; }
.menu-item .price { font: 600 1rem/1.4 var(--f-label); color: var(--accent-ink); }
.menu-item p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.cta-band > .media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cta-overlay, linear-gradient(100deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.7) 45%, rgba(10,10,10,.25) 100%)); }
.cta-band .inner { padding: clamp(5rem, 11vw, 9rem) 0; max-width: 42rem; }
.cta-band .label, .cta-band h2 em { color: var(--accent); }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.cta-plain { background: var(--accent-ink); color: var(--on-accent); text-align: center; }
.cta-plain .inner { margin: 0 auto; }

/* Inner pages */
.page-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: var(--h1-page, clamp(2.8rem, 6.4vw, 5.8rem)); max-width: 15ch; }
.crumb { font: 600 .72rem/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.crumb a { text-decoration: none; } .crumb a:hover { color: var(--accent-ink); }
.wide-media .media { aspect-ratio: 21/8; border-radius: var(--radius-img, 0); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6.5rem); align-items: start; }
.dropcap::first-letter { font: var(--display-weight, 500) 4.6rem/.8 var(--f-display); float: left; padding: .3rem .6rem 0 0; color: var(--accent-ink); }
.founder { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; background: var(--bg); padding: clamp(1.6rem, 3vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius-img, 0); }
.founder .mono { width: 112px; height: 112px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.founder .mono img { width: 72%; height: 72%; object-fit: contain; }
.founder .mono.photo img { width: 100%; height: 100%; object-fit: cover; }
.founder h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .2rem; }
.founder .role { font: 600 .72rem/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink); }
.values { display: grid; grid-template-columns: repeat(var(--vcols, 3), 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--bg); padding: clamp(1.8rem, 3vw, 2.6rem); }
.value .n { font: 600 .74rem/1 var(--f-label); letter-spacing: .24em; color: var(--accent-ink); display: block; margin-bottom: 1.2rem; }
.value h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.value p { color: var(--muted); margin: 0; }
.pull { font: var(--quote-weight, 400) clamp(1.7rem, 3.2vw, 2.8rem)/1.2 var(--f-quote, var(--f-display)); font-style: var(--pull-style, italic); max-width: 32ch; margin: 0 auto; text-align: center; }
.cite { text-align: center; margin-top: 1.5rem; font: 600 .72rem/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6.5rem); align-items: center; padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc:nth-of-type(even) .svc-media { order: 2; }
.svc-media .media { aspect-ratio: 4/4.3; border-radius: var(--radius-img, 0); }
.svc .num { font: 600 .9rem/1 var(--f-label); letter-spacing: .26em; color: var(--accent-ink); display: block; margin-bottom: 1rem; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1.6rem; }
.checks li { padding: .7rem 0 .7rem 1.5rem; border-bottom: 1px solid var(--line); position: relative; font-size: .97rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 8px; height: 8px; border-radius: var(--dot-radius, 50%); background: var(--accent); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.jump a { font: 600 .74rem/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: .8rem 1.05rem; border: 1px solid var(--line); border-radius: var(--radius-btn, 0); transition: border-color .3s, color .3s; }
.jump a:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.faq { max-width: 880px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); } .faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative; font: var(--display-weight, 500) clamp(1.25rem, 1.9vw, 1.55rem)/1.3 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 16px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary::before { transform: rotate(90deg); } .faq details[open] summary::before { transform: rotate(0); }
.faq details p { color: var(--muted); padding-right: 3rem; margin: -.3rem 0 1.5rem; }
.clients { display: flex; flex-wrap: wrap; gap: .6rem; }
.clients span { padding: .7rem 1.1rem; border: 1px solid var(--line); font: 600 .78rem/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; border-radius: var(--radius-btn, 0); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.channel { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.channel:last-child { border-bottom: 1px solid var(--line); }
.channel dt { font: 600 .72rem/1.6 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.channel dd { margin: 0; font: var(--display-weight, 500) 1.3rem/1.35 var(--f-display); }
.channel dd a { text-decoration: none; } .channel dd a:hover { color: var(--accent-ink); }
.channel dd small { display: block; font: 400 .93rem/1.5 var(--f-body); color: var(--muted); }
.form-card { background: var(--card, #fff); padding: clamp(1.6rem, 4vw, 3.1rem); box-shadow: 0 30px 80px -40px rgba(0,0,0,.35); border-radius: var(--radius-img, 0); }
.form-card h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font: 600 .72rem/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; margin-bottom: .6rem; }
.field input, .field select, .field textarea { width: 100%; font: 400 1.02rem var(--f-body); color: var(--ink); background: var(--bg); border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); padding: .9rem .2rem; border-radius: 0; appearance: none; -webkit-appearance: none; transition: border-color .3s, background .3s; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); background-color: var(--surface); }
.field textarea { resize: vertical; min-height: 7rem; }
.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: .4rem 0 1.5rem; }
.consent input { accent-color: var(--accent-ink); width: 18px; height: 18px; margin-top: .2rem; flex: none; }
.form-error { color: #b3261e; font-weight: 600; font-size: .95rem; }
.map { margin-top: 2rem; aspect-ratio: 16/10; background: var(--surface); border-radius: var(--radius-img, 0); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.02); }

/* Footer */
.site-footer { background: var(--dark); color: color-mix(in srgb, var(--on-dark) 78%, transparent); padding: clamp(4rem, 8vw, 6rem) 0 calc(1.6rem + var(--bar-h, 0px)); }
.footer-big { font: var(--display-weight, 500) clamp(2.6rem, 7vw, 6.5rem)/1 var(--f-display); color: var(--on-dark); letter-spacing: -.02em; margin: 0 0 3rem; text-transform: var(--display-case, none); }
.footer-big em { color: var(--accent); font-style: var(--em-style, italic); font-family: var(--f-em, var(--f-display)); }
.footer-big a { text-decoration: none; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3rem 0 3.5rem; border-top: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent); }
.footer-top img { height: 64px; width: auto; max-width: 240px; object-fit: contain; margin-bottom: 1.3rem; }
.footer-top h2 { font: 600 .72rem/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; }
.footer-top p, .footer-top li { font-size: .95rem; margin: 0 0 .5rem; }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top a { text-decoration: none; } .footer-top a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: .84rem; opacity: .7; }
.wa-float { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1f9d55; color: #fff; box-shadow: 0 14px 34px -10px rgba(0,0,0,.45); transition: transform .35s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 28px; height: 28px; }
.action-bar { display: none; }
.legal { max-width: 760px; } .legal h2 { font-size: 1.8rem; margin-top: 2.2rem; } .legal p { color: var(--muted); }
.swipe-hint { display: none; align-items: center; gap: .8rem; font: 600 .7rem/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; }
.swipe-hint::after { content: ""; width: 40px; height: 1px; background: currentColor; }

@media (max-width: 1080px) {
  .svc-cards { grid-template-columns: repeat(2, 1fr) !important; row-gap: 2.4rem; } .process { grid-template-columns: repeat(2, 1fr) !important; row-gap: 2.4rem; }
  .values { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-top { grid-template-columns: 1fr 1fr; } .gallery { columns: 2; }
  .bento { grid-template-columns: repeat(2, 1fr); } .bento a, .bento a:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .bento a:nth-child(1) { grid-column: span 2; }
  .svc-row { grid-template-columns: 3.5rem 1fr auto; } .svc-row p, .svc-row .peek { display: none; }
}
@media (max-width: 820px) {
  :root { --header-h: 68px; --bar-h: 64px; }
  body { font-size: 1rem; }
  .brand img { height: calc(var(--logo-h, 52px) * .82); }
  .menu-btn { display: inline-flex; align-items: center; gap: .6rem; background: none; border: 0; padding: .6rem 0; cursor: pointer; color: inherit; font: 600 .76rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; }
  .menu-btn .bars { width: 22px; height: 10px; position: relative; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
  .menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 8px; }
  .menu-open .menu-btn .bars::before { top: 4px; transform: rotate(45deg); } .menu-open .menu-btn .bars::after { top: 4px; transform: rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--bg); color: var(--ink); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 1.5rem var(--gutter) 2rem; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease2); visibility: hidden; }
  .menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; }
  .menu-open .site-header::before { background: var(--bg); }
  .menu-open .site-header { color: var(--ink); }
  .nav a:not(.btn) { font: var(--display-weight, 500) 2.4rem/1 var(--f-display); letter-spacing: -.01em; text-transform: var(--display-case, none); padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 2rem; padding: 1.2rem; }
  .menu-open { overflow: hidden; }
  .hero-split .grid, .head, .statement, .story, .contact-grid, .svc, .hero-type .sub { grid-template-columns: 1fr; }
  .hero-split { padding-top: .5rem; }
  .hero-split .hero-media { order: -1; margin-inline: calc(-1 * var(--gutter)); }
  .hero-split .media { aspect-ratio: 4/3.4; border-radius: 0; }
  .hero-split .hero-copy { padding-top: 2.4rem; }
  .hero-badge { left: auto; right: var(--gutter); bottom: -1.6rem; padding: 1rem 1.15rem; max-width: 12rem; }
  .hero-badge strong { font-size: 1.8rem; }
  .spin-badge { display: none; }
  h1 { font-size: var(--h1-m, clamp(2.7rem, 12.5vw, 3.9rem)); }
  .hero-type h1 { font-size: var(--h1-giant-m, clamp(3rem, 15vw, 5rem)); }
  .hero-type .strip { grid-template-columns: 1fr 1fr; margin-inline: calc(-1 * var(--gutter)); }
  .hero-type .strip .media:first-child { grid-column: 1 / -1; aspect-ratio: 4/3; }
  .hero-arch .frames { grid-template-columns: 1fr 1fr; } .hero-arch .frames .media:nth-child(3) { display: none; }
  .hero-full { min-height: calc(100svh - var(--header-h) - 40px); }
  .cta-row .btn { flex: 1 1 100%; }
  .svc:nth-of-type(even) .svc-media { order: 0; }
  .svc-media { margin-inline: calc(-1 * var(--gutter)); } .svc-media .media { aspect-ratio: 4/3.2; border-radius: 0; }
  .checks { grid-template-columns: 1fr; }
  .svc-cards { display: grid; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 76%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding: 0 var(--gutter) 1rem; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
  .svc-cards::-webkit-scrollbar { display: none; }
  .svc-card { scroll-snap-align: start; }
  .swipe-hint { display: flex; }
  .process { grid-template-columns: 1fr !important; row-gap: 0; }
  .step { display: grid; grid-template-columns: 4rem 1fr; column-gap: 1rem; padding: 1.5rem 0; }
  .step::before { font-size: 2.4rem; margin: 0; grid-row: span 2; }
  .teaser { grid-template-columns: 1fr 1fr; } .teaser figure:first-child { grid-column: 1 / -1; } .teaser figure:nth-child(2) { transform: none; }
  .values { grid-template-columns: 1fr !important; } .founder { grid-template-columns: 1fr; }
  .wide-media .media { aspect-ratio: 4/3; }
  .gallery { columns: 2; column-gap: .7rem; } .tile { margin-bottom: .7rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; } .filters button { flex: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .channel { grid-template-columns: 1fr; gap: .25rem; }
  .menu-list { grid-template-columns: 1fr; }
  .cta-band::before { background: var(--cta-overlay-m, linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.9) 60%)); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .bento { grid-template-columns: 1fr; } .bento a, .bento a:nth-child(n) { grid-column: span 1; min-height: 260px; }
  .wa-float { display: none; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--dark); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.35); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-decoration: none; color: var(--on-dark); font: 600 .68rem/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; border-right: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent); }
  .action-bar a:last-child { background: var(--accent-ink); color: var(--on-accent); border: 0; }
  .action-bar svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; } .js .lines .ln > span { transform: none; }
  .js .media, .js .media img { clip-path: none !important; -webkit-mask-image: none !important; mask-image: none !important; transform: none !important; filter: none !important; }
}


/* ===== Site-specific ===== */

h1 em, h2 em, .footer-big em, .statement blockquote em { font-family: var(--f-display); font-style: normal; color: var(--accent-ink); }
.bg-dark h2 em, .cta-band h2 em, .footer-big em { color: var(--accent); }
.ticker-track span { text-transform: none; }
.ticker-track span:nth-child(3n+1)::after { color: #a3431c; } .ticker-track span:nth-child(3n+2)::after { color: #6b7d3a; } .ticker-track span:nth-child(3n)::after { color: #e0a32e; }
.label::before { content: "●●●"; width: auto; height: auto; background: none; letter-spacing: .1em; background: linear-gradient(90deg, #a3431c 33%, #6b7d3a 33% 66%, #e0a32e 66%); -webkit-background-clip: text; color: transparent; }
.hero-type .strip .media { border-radius: 24px; }
.svc-row h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.step::before { color: var(--accent); }
