/* ==========================================================================
   Vliet Project Services, LLC — Homepage concept R2
   Concept: "the website as a set of construction drawings" — sheet numbers,
   dimension lines and annotations, with a plan → built reveal running through it.

   01 Tokens      07 Marquee        13 CTA (site notice) 
   02 Base        08 Intro / about  14 Contact & form
   03 Type        09 Services       15 Footer
   04 Buttons     10 Work           16 Cursor, to-top, lightbox, grain
   05 Header/nav  11 Process        17 Preloader & motion
   06 Hero        12 Approach wall  18 Responsive / 19 Reduced motion
   ========================================================================== */

/* 01 — Tokens ------------------------------------------------------------ */
:root {
  --ink: #131312;
  --ink-2: #1b1b19;
  --ink-3: #252522;
  --paper: #f2eee6;
  --paper-2: #faf8f3;
  --sand: #e4dccc;
  --mortar: #cdc2ad;
  --muted: #5f5a52;
  --concrete: #8c867b;
  --brick: #d4532a;
  --brick-deep: #b3421e;
  --brick-light: #f07c4c;
  --glow: #ffc983;
  --danger: #c23b22;
  --success: #3d7a50;

  --line: rgba(19, 19, 18, .14);
  --line-light: rgba(242, 238, 230, .16);

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --container: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --section-y: clamp(96px, 11vw, 176px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* 02 — Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.is-locked { overflow: hidden; }
.js body.is-loading { overflow: hidden; }
@media (pointer: coarse) { .has-cursor .cursor { display: none; } .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: auto; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
::selection { background: var(--brick); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10001; padding: 10px 16px; background: var(--paper); transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.break { overflow-wrap: anywhere; }

/* 03 — Type -------------------------------------------------------------- */
.mono { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.sheet { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.sheet b { font-weight: 500; color: #fff; background: var(--brick); padding: 3px 7px; letter-spacing: .06em; }
.sheet--right { justify-content: flex-end; text-align: right; }
.sheet-head {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 80px); position: relative;
}
.sheet-head::before, .sheet-head::after { content: ""; position: absolute; bottom: -5px; width: 1px; height: 9px; background: currentColor; opacity: .35; }
.sheet-head::before { left: 0; } .sheet-head::after { right: 0; }

.h2 {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: .92; letter-spacing: -.035em; text-wrap: balance;
}
.h2 em, .hero__title em, .statement em, .cta__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; font-stretch: normal;
}
.h2 em { color: var(--brick); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; }
.placeholder-note { font-size: .84em; color: var(--brick-deep); background: rgba(212, 83, 42, .09); padding: 1px 6px; }

/* 04 — Buttons ----------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --fill: var(--brick); --fg-h: #fff;
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 28px; border: 1px solid transparent; border-radius: 100px;
  font-family: var(--f-display); font-stretch: 112%; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--bg); color: var(--fg); transition: color .45s var(--ease), border-color .45s;
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%;
  background: var(--fill); transform: translate(-50%, 0) scale(0); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -62%) scale(1); }
.btn:hover, .btn:focus-visible { color: var(--fg-h); }
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: rotate(45deg); }
.btn:hover svg[aria-hidden] use[href="#i-phone"] { transform: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 11.5px; }
.btn--block { width: 100%; }
.btn--brick { --bg: var(--brick); --fg: #fff; --fill: var(--paper); --fg-h: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--paper); --fill: var(--paper); --fg-h: var(--ink); border-color: rgba(242, 238, 230, .45); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); --fill: var(--paper); --fg-h: var(--ink); }
.btn--ink-line { --bg: transparent; --fg: var(--ink); --fill: var(--ink); --fg-h: var(--paper); border-color: var(--ink); }
.btn--ink-line:hover svg { transform: none; }
.magnetic { will-change: transform; transition: transform .5s var(--ease), color .45s var(--ease), border-color .45s; }

.ulink { background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease), color .3s; }
.ulink:hover { color: var(--brick); background-size: 30% 1px; }

/* 05 — Header & nav ------------------------------------------------------ */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); position: relative; z-index: 3; }
.brand__mark { width: 40px; height: 40px; color: var(--brick); fill: var(--paper); transition: transform .7s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 21px; letter-spacing: .2em; text-transform: uppercase; }
.brand__sub { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brick-light); margin-top: 6px; }

.header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--paper); padding: 16px 0; transition: background-color .5s var(--ease), padding .5s var(--ease), transform .6s var(--ease); }
.header.is-scrolled { background: rgba(19, 19, 18, .82); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); padding: 8px 0; box-shadow: 0 1px 0 var(--line-light); }
.header.is-hidden { transform: translateY(-110%); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 60px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line-light); border-radius: 100px; background: rgba(19,19,18,.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 100px;
  font-family: var(--f-display); font-stretch: 110%; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(242, 238, 230, .78); transition: color .3s, background-color .4s var(--ease);
}
.nav__link i { font-style: normal; font-family: var(--f-mono); font-size: 9.5px; font-weight: 400; color: var(--brick-light); letter-spacing: 0; }
.nav__link:hover { color: var(--paper); background: rgba(242, 238, 230, .08); }
.nav__link.is-active { color: var(--ink); background: var(--paper); }
.nav__link.is-active i { color: var(--brick); }
.nav__mobile-foot { display: none; }
.burger { display: none; width: 48px; height: 48px; position: relative; z-index: 3; border-radius: 50%; border: 1px solid var(--line-light); }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* 06 — Hero (plan → built) ----------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero__stage { position: absolute; inset: 0; --x: 50%; --y: 48%; --r: 0px; touch-action: pan-y; }
.hero__layer { position: absolute; inset: 0; overflow: hidden; }
.hero__frame {
  position: absolute; left: 50%; top: 44%; aspect-ratio: 2000 / 1056;
  width: max(112%, calc(max(100vh, 640px) * 2.12)); width: max(112%, calc(max(100svh, 640px) * 2.12));
  transform: translate(-50%, -50%) scale(1.08); transition: transform 2.4s var(--ease);
}
.is-ready .hero__frame { transform: translate(-50%, -50%) scale(1); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__layer--plan img { filter: grayscale(1) brightness(.46) contrast(1.35); }
.hero__layer--plan::after { content: ""; position: absolute; inset: 0; background: rgba(19, 19, 18, .28); pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(242,238,230,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(242,238,230,.06) 1px, transparent 1px),
    linear-gradient(rgba(242,238,230,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(242,238,230,.11) 1px, transparent 1px);
  background-size: 1.6% 3.03%, 1.6% 3.03%, 8% 15.15%, 8% 15.15%;
}
.hero__layer--built { clip-path: circle(var(--r) at var(--x) var(--y)); -webkit-clip-path: circle(var(--r) at var(--x) var(--y)); will-change: clip-path; }
.hero__layer--built img { filter: saturate(1.08) contrast(1.04); }

.hero__lens {
  position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(242, 238, 230, .9); box-shadow: 0 0 0 1px rgba(19,19,18,.25), 0 30px 80px -20px rgba(0,0,0,.5);
  opacity: var(--lens-o, 1); transition: opacity .3s;
}
.hero__lens::before, .hero__lens::after { content: ""; position: absolute; background: var(--paper); }
.hero__lens::before { left: 50%; top: -14px; width: 1px; height: calc(100% + 28px); transform: translateX(-50%); -webkit-mask: linear-gradient(#000 0 14px, transparent 14px calc(100% - 14px), #000 calc(100% - 14px)); mask: linear-gradient(#000 0 14px, transparent 14px calc(100% - 14px), #000 calc(100% - 14px)); }
.hero__lens::after { top: 50%; left: -14px; height: 1px; width: calc(100% + 28px); transform: translateY(-50%); -webkit-mask: linear-gradient(90deg, #000 0 14px, transparent 14px calc(100% - 14px), #000 calc(100% - 14px)); mask: linear-gradient(90deg, #000 0 14px, transparent 14px calc(100% - 14px), #000 calc(100% - 14px)); }
.hero__lens-tag {
  position: absolute; right: 6%; top: 6%; transform: translate(50%, -50%);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--brick); color: #fff; padding: 4px 9px; border-radius: 100px; white-space: nowrap;
}

/* touch screens: before/after split instead of the cursor lens */
.hero__split { display: none; }
.hero.is-touch { touch-action: pan-y; }
.hero.is-touch .hero__lens { display: none; }
.hero.is-touch .hero__layer--built { clip-path: inset(0 0 0 var(--split, 100%)); -webkit-clip-path: inset(0 0 0 var(--split, 100%)); }
.hero.is-touch .hero__split { display: block; position: absolute; top: 0; bottom: 0; left: var(--split, 100%); width: 0; z-index: 2; pointer-events: none; opacity: var(--lens-o, 1); }
.hero__split::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--paper); box-shadow: 0 0 0 1px rgba(19,19,18,.25), 0 0 24px rgba(0,0,0,.45); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 calc(var(--fb, 70%) - 80px), transparent var(--fb, 70%)); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 calc(var(--fb, 70%) - 80px), transparent var(--fb, 70%)); }
.hero__split-handle { position: absolute; left: 0; top: var(--hy, 30%); width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--brick); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(242,238,230,.2), 0 12px 26px rgba(0,0,0,.45); }
.hero__split-handle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.hero.is-dragging .hero__split-handle { transform: translate(-50%, -50%) scale(1.12); }
.hero__split-lbl { position: absolute; top: calc(var(--hy, 30%) + 44px); font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 100px; white-space: nowrap; }
.hero__split-lbl--plan { right: 10px; background: rgba(19,19,18,.75); color: var(--paper); border: 1px solid rgba(242,238,230,.35); }
.hero__split-lbl--built { left: 10px; background: var(--brick); color: #fff; }

/* annotations, positioned in image space */
.anno { position: absolute; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(242,238,230,.85); pointer-events: none; opacity: 0; transition: opacity 1s .9s; }
.is-ready .anno { opacity: 1; }
.anno i { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 1.5px solid var(--brick-light); border-radius: 50%; }
.anno i::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 56px; background: rgba(242,238,230,.55); transform: translateX(-50%); }
.anno span { position: absolute; left: -7px; bottom: 62px; white-space: nowrap; padding: 4px 8px; border: 1px solid rgba(242,238,230,.35); background: rgba(19,19,18,.55); }
.anno--a { left: 22.5%; top: 42%; }
.anno--b { left: 56%; top: 31%; }
.anno--c { left: 52%; top: 56%; }
.anno--c i::after { height: 30px; } .anno--c span { bottom: 36px; }
.anno--dim { left: 18%; width: 70%; top: 23%; height: 1px; background: rgba(242,238,230,.45); }
.anno--dim::before, .anno--dim::after { content: ""; position: absolute; top: -7px; width: 1px; height: 15px; background: rgba(242,238,230,.7); }
.anno--dim::before { left: 0; } .anno--dim::after { right: 0; }
.anno--dim span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); background: rgba(19,19,18,.8); padding: 3px 10px; border: 0; bottom: auto; }

.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(19,19,18,.55) 0%, rgba(19,19,18,0) 22%, rgba(19,19,18,0) 52%, rgba(19,19,18,.86) 88%, var(--ink) 100%); }
.hero__content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--header-h) + 28px); padding-bottom: clamp(28px, 5vh, 56px); pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__top { display: flex; justify-content: space-between; gap: 16px; color: rgba(242,238,230,.72); }
.hero__hint { display: inline-flex; align-items: center; gap: 10px; }
.hero__hint-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brick-light); box-shadow: 0 0 0 0 rgba(240,124,76,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(240,124,76,0); } 100% { box-shadow: 0 0 0 0 rgba(240,124,76,0); } }
.hint-touch { display: none; }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px 64px; align-items: end; }
.hero__title { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 7.2vw, 8.2rem); line-height: .84; letter-spacing: -.045em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__title .line > span { display: inline-block; }
.hero__title .dot { color: var(--brick); }
.hero__title .line--serif { font-size: .66em; line-height: 1; margin-top: .08em; }
.hero__title em { color: var(--brick-light); letter-spacing: -.02em; }
.hero__side { padding-bottom: 6px; }
.hero__ticker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: rgba(242,238,230,.7); }
.ticker b { display: block; height: 1.3em; line-height: 1.3em; white-space: nowrap; }
.ticker { display: inline-block; vertical-align: middle; height: 1.3em; overflow: hidden; font-family: var(--f-display); font-stretch: 112%; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--paper); line-height: 1.3; }
.ticker__track { display: flex; flex-direction: column; animation: ticker 7.5s var(--ease-io) infinite; }
@keyframes ticker { 0%, 26% { transform: translateY(0); } 33%, 59% { transform: translateY(-25%); } 66%, 92% { transform: translateY(-50%); } 100% { transform: translateY(-75%); } }
.hero__lead { color: rgba(242,238,230,.84); font-size: clamp(1rem, 1.15vw, 1.1rem); margin-bottom: 26px; max-width: 440px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__scroll { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(242,238,230,.7); }
.hero__scroll .mono { writing-mode: vertical-rl; letter-spacing: .3em; }
.hero__scroll i { position: relative; width: 1px; height: 64px; background: rgba(242,238,230,.25); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--brick-light); animation: drop 2.2s var(--ease-io) infinite; }
@keyframes drop { to { top: 100%; } }

/* 07 — Marquee ----------------------------------------------------------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: clamp(22px, 3vw, 40px) 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.marquee__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--f-display); font-stretch: 122%; font-weight: 800; font-size: clamp(2.4rem, 6.4vw, 6.6rem); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.marquee__track span.o { color: transparent; -webkit-text-stroke: 1.5px rgba(242,238,230,.75); }
.marquee__track svg { width: clamp(34px, 4vw, 60px); height: clamp(34px, 4vw, 60px); color: var(--brick); fill: var(--brick); }

/* 08 — Intro / about ----------------------------------------------------- */
.intro { background: var(--paper); }
.statement { font-family: var(--f-display); font-stretch: 104%; font-weight: 600; font-size: clamp(1.8rem, 4.2vw, 4rem); line-height: 1.08; letter-spacing: -.025em; max-width: 1180px; }
.statement em { color: var(--brick); }
.statement .w { opacity: .14; transition: opacity .35s linear; }
.statement .w.on { opacity: 1; }
.no-js .statement .w, .statement.is-static .w { opacity: 1; }
.intro__grid { display: grid; grid-template-columns: 1fr 1.05fr .78fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(64px, 9vw, 130px); align-items: start; }
.intro__img { position: relative; margin: 0; }
.intro__img img { display: block; width: 100%; height: auto; object-fit: cover; filter: saturate(1.12) contrast(1.06); }
.intro__img figcaption { display: flex; align-items: center; gap: 10px; padding-top: 14px; color: var(--ink); font-size: 10.5px; }
.intro__img figcaption b { font-weight: 500; color: #fff; background: var(--brick); padding: 3px 7px; }

/* Fig. 01 — layered plate with dimension lines */
.plate { position: relative; margin: 0 0 0 26px; }
.plate__back { position: absolute; inset: 0; transform: translate(18px, 18px); background: var(--brick); }
.plate__back::after { content: ""; position: absolute; inset: 0; transform: translate(14px, 14px); border: 1.5px solid var(--ink); }
.plate__img { position: relative; z-index: 1; overflow: hidden; transition: translate .6s var(--ease); }
.plate__img img { aspect-ratio: 5 / 6; transition: transform 1.8s var(--ease), filter .6s; }
.plate__img::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(200deg, rgba(240,124,76,.0) 45%, rgba(212,83,42,.28)), linear-gradient(0deg, rgba(19,19,18,.35), transparent 40%); mix-blend-mode: multiply; }
.plate__tag { position: absolute; z-index: 3; left: 14px; top: 14px; padding: 5px 9px; background: var(--paper); color: var(--ink); font-size: 10px; }
@media (hover: hover) {
  .plate:hover .plate__img { translate: -8px -8px; }
  .plate:hover .plate__img img { filter: saturate(1.25) contrast(1.1); }
}
.plate__dim { position: absolute; color: var(--ink); pointer-events: none; }
.plate__dim i { position: absolute; font-style: normal; font-size: 9.5px; background: var(--paper); padding: 2px 6px; white-space: nowrap; }
.plate__dim--v { left: -26px; top: 0; bottom: 0; width: 12px; border-left: 1px solid var(--ink); }
.plate__dim--v::before, .plate__dim--v::after { content: ""; position: absolute; left: -6px; width: 12px; border-top: 1px solid var(--ink); }
.plate__dim--v::before { top: 0; } .plate__dim--v::after { bottom: 0; }
.plate__dim--v i { left: -1px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.plate__dim--h { left: 0; right: 0; bottom: -58px; height: 12px; border-top: 1px solid var(--ink); }
.plate__dim--h::before, .plate__dim--h::after { content: ""; position: absolute; top: -6px; height: 12px; border-left: 1px solid var(--ink); }
.plate__dim--h::before { left: 0; } .plate__dim--h::after { right: 0; }
.plate__dim--h i { left: 50%; top: -1px; transform: translate(-50%, -50%); }
.intro__img--a figcaption { padding-top: 76px; margin-left: 26px; }

/* Fig. 02 — detail drawing + taped site photo */
.intro__side { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }
.intro__detail { padding: 14px; border: 1px solid var(--line); background: linear-gradient(rgba(19,19,18,.035) 1px, transparent 1px) 0 0 / 12px 12px, linear-gradient(90deg, rgba(19,19,18,.035) 1px, transparent 1px) 0 0 / 12px 12px; }
.detail-svg { display: block; width: 100%; height: auto; overflow: visible; }
.detail-svg rect, .detail-svg path { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.detail-svg rect:nth-child(3n) { transition-delay: .15s; } .detail-svg rect:nth-child(3n+1) { transition-delay: .3s; }
.detail-svg rect.hatch { fill: url(#dHatch); }
.detail-svg pattern line { stroke: var(--brick); stroke-width: 1.4; }
.detail-svg .detail-dims path { stroke: var(--brick); stroke-width: 1; transition-delay: .5s; }
.detail-svg .detail-dims .ground { stroke: var(--ink); stroke-width: 2; }
.detail-svg text { font-family: var(--f-mono); font-size: 8px; letter-spacing: .1em; fill: var(--muted); }
.detail-svg .lbl { fill: var(--ink); font-size: 8.5px; }
.detail-svg .tag { fill: var(--ink); stroke: none; }
.detail-svg .tag-t { fill: var(--paper); font-size: 9px; }
.intro__detail.is-in rect, .intro__detail.is-in path, .no-js .detail-svg rect, .no-js .detail-svg path { stroke-dashoffset: 0; }

.snap { position: relative; margin: 0; padding: 12px 12px 14px; background: #fbf8f2; box-shadow: 0 30px 50px -28px rgba(19,19,18,.55), 0 2px 6px rgba(19,19,18,.08); transform: rotate(2.4deg); transition: transform .7s var(--ease); }
.snap__img { position: relative; overflow: hidden; }
.snap__img img { aspect-ratio: 4 / 3; }
.snap figcaption { padding-top: 12px; }
.snap__tape { position: absolute; z-index: 3; top: -12px; width: 86px; height: 24px; background: repeating-linear-gradient(-45deg, rgba(19,19,18,.85) 0 7px, rgba(255,201,131,.95) 7px 14px); box-shadow: 0 2px 4px rgba(0,0,0,.15); opacity: .95; }
.snap__tape--l { left: -18px; transform: rotate(-32deg); }
.snap__tape--r { right: -18px; transform: rotate(28deg); }
@media (hover: hover) { .snap:hover { transform: rotate(0deg) scale(1.02); } }
.intro__copy { padding-top: 8%; }
.intro__copy > p + p { margin-top: 20px; color: var(--muted); }
.contact-chip { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 12px 12px 12px 12px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper-2); }
.contact-chip small { display: block; color: var(--concrete); font-size: 10px; }
.contact-chip strong { font-family: var(--f-display); font-stretch: 112%; font-size: 22px; line-height: 1.1; }
.contact-chip__badge { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.contact-chip__badge svg { width: 30px; height: 30px; color: var(--brick); fill: var(--paper); }
.contact-chip__call { margin-left: auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--brick); color: #fff; transition: background-color .3s, transform .5s var(--ease); }
.contact-chip__call:hover { background: var(--ink); }
.contact-chip__call svg { width: 22px; height: 22px; }

/* 09 — Services (horizontal pin on desktop) ------------------------------ */
.services { position: relative; background: var(--ink); color: var(--paper); }
.services .sheet { color: rgba(242,238,230,.6); }
.services__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); padding-top: calc(var(--header-h) - 10px); }
.services__head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.services__progress { height: 1px; background: var(--line-light); position: relative; }
.services__progress span { position: absolute; inset: 0; background: var(--brick); transform: scaleX(0); transform-origin: left; }
.services__track { display: flex; gap: clamp(20px, 2.4vw, 36px); padding: 0 var(--gutter); height: min(68vh, 680px); width: max-content; will-change: transform; }
.svc-intro { flex: 0 0 min(30vw, 440px); display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding-bottom: 8px; }
.svc-intro .h2 em { color: var(--brick-light); }
.svc-intro p { color: rgba(242,238,230,.72); max-width: 360px; }
.svc-intro__hint { display: inline-flex; align-items: center; gap: 10px; color: var(--brick-light) !important; }
.svc-intro__hint svg { width: 18px; height: 18px; animation: nudge 1.6s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.svc { flex: 0 0 min(66vw, 1000px); position: relative; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--ink-2); border: 1px solid var(--line-light); overflow: hidden; }
.svc__media { position: relative; overflow: hidden; }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.85); }
.svc:hover .svc__media img { transform: scale(1.1); filter: saturate(1.05); }
.svc__body { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 3.4vw, 52px); }
.svc__num {
  position: absolute; top: clamp(12px, 2vw, 24px); right: clamp(20px, 2.6vw, 40px); font-family: var(--f-display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(5rem, 11vw, 11rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--brick); transition: color .6s var(--ease);
}
.svc:hover .svc__num { color: var(--brick); }
.svc__title { font-family: var(--f-display); font-stretch: 114%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 3.4rem); line-height: .95; letter-spacing: -.03em; margin-bottom: 18px; }
.svc--more .svc__title { font-size: clamp(1.6rem, 2.6vw, 2.6rem); }
.svc__text { color: rgba(242,238,230,.75); max-width: 380px; }
.svc__text .placeholder-note { color: var(--brick-light); background: rgba(240,124,76,.14); }
.svc__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-light); font-family: var(--f-display); font-stretch: 110%; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.svc__link::after { content: ""; position: absolute; inset: 0; }
.svc__link svg { width: 20px; height: 20px; color: var(--brick-light); transition: transform .5s var(--ease); }
.svc:hover .svc__link svg { transform: rotate(45deg); }
.svc--more { border-style: dashed; border-color: rgba(240,124,76,.6); }
.svc--more .svc__media img { filter: grayscale(1); }

/* 10 — Work -------------------------------------------------------------- */
.work { background: var(--paper); }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.work__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 11px 18px; border: 1px solid var(--line); border-radius: 100px; font-family: var(--f-display); font-stretch: 110%; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background-color .35s, color .35s, border-color .35s; }
.chip sup { font-family: var(--f-mono); font-weight: 400; font-size: 9px; margin-left: 3px; color: var(--brick); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.is-active sup { color: var(--brick-light); }
.work__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 5vw, 72px) clamp(16px, 2vw, 28px); align-items: start; }
.proj { position: relative; }
.proj__btn { display: block; width: 100%; overflow: hidden; position: relative; background: var(--sand); cursor: pointer; }
.proj__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s var(--ease); filter: grayscale(.25); }
.proj:hover .proj__btn img { transform: scale(1.06); filter: grayscale(0); }
.proj__btn::after { content: ""; position: absolute; inset: 0; border: 0 solid var(--brick); transition: border-width .4s var(--ease); pointer-events: none; }
.proj:hover .proj__btn::after { border-width: 6px; }
.proj figcaption { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 14px; }
.proj__no { font-family: var(--f-mono); font-size: 11px; color: var(--brick); }
.proj__title { font-family: var(--f-display); font-stretch: 110%; font-weight: 700; font-size: 18px; line-height: 1.2; }
.proj__cat { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.proj--a { grid-column: 1 / 8; } .proj--a .proj__btn { aspect-ratio: 14 / 9; }
.proj--b { grid-column: 9 / 13; margin-top: 14%; } .proj--b .proj__btn { aspect-ratio: 9 / 11; }
.proj--c { grid-column: 2 / 6; } .proj--c .proj__btn { aspect-ratio: 1; }
.proj--d { grid-column: 7 / 13; margin-top: -10%; } .proj--d .proj__btn { aspect-ratio: 3 / 2; }
.proj--e { grid-column: 1 / 5; } .proj--e .proj__btn { aspect-ratio: 1; }
.proj--f { grid-column: 6 / 9; margin-top: 12%; } .proj--f .proj__btn { aspect-ratio: 9 / 11; }
.proj--g { grid-column: 9 / 13; } .proj--g .proj__btn { aspect-ratio: 4 / 3; }
.work__grid.is-filtered .proj { grid-column: span 6; margin-top: 0; }
.work__grid.is-filtered .proj__btn { aspect-ratio: 3 / 2; }
.proj.is-hidden { display: none; }
.work__note { display: flex; align-items: center; gap: 10px; margin-top: clamp(48px, 6vw, 80px); color: var(--muted); }
.work__note svg { width: 16px; height: 16px; color: var(--brick); }

/* 11 — Process (scroll-built house) -------------------------------------- */
.process { background: var(--ink); color: var(--paper); padding: var(--section-y) 0 calc(var(--section-y) * .5); }
.process .sheet { color: rgba(242,238,230,.6); }
.process__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.process__visual { position: sticky; top: calc(var(--header-h) + 16px); height: calc(100vh - var(--header-h) - 40px); display: flex; align-items: center; }
.build { width: 100%; border: 1px solid var(--line-light); background: var(--ink-2); padding: 16px; position: relative; }
.build__top { display: flex; justify-content: space-between; gap: 12px; color: rgba(242,238,230,.6); padding-bottom: 12px; border-bottom: 1px solid var(--line-light); }
.build__top #buildStage { color: var(--brick-light); }
.build__svg { display: block; width: 100%; height: auto; margin: 12px 0; }
.build__bar { height: 2px; background: var(--line-light); position: relative; }
.build__bar span { position: absolute; inset: 0; background: var(--brick); transform: scaleX(0); transform-origin: left; }
.build .draw { fill: none; stroke: rgba(242,238,230,.8); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: square; }
.build .st3 .draw { stroke: var(--brick-light); }
.build .fill-in { fill: rgba(242,238,230,.12); opacity: 0; transition: opacity .5s; }
.build .st2 > .fill-in { fill: rgba(242,238,230,.35); }
.build .roof { fill: #2e2d2a; stroke: var(--brick-light); stroke-width: 1.5; }
.build .chimney { fill: #6b3a28; }
.build .wing { fill: #3b3a36; }
.build .win { fill: url(#glow); }
.build .brick-r { fill: var(--brick); opacity: 0; transform-box: fill-box; transform-origin: center bottom; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease); }
.build .brick-r.alt { fill: #b9481f; }
.build .brick-r.on { opacity: 1; transform: none; }
.svg-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; fill: rgba(242,238,230,.6); }
.build text.svg-label--done { fill: var(--glow); font-size: 15px; }
.process__intro { padding-bottom: 8vh; }
.process__intro .h2 { margin-top: 20px; }
.process__intro .h2 em { color: var(--brick-light); }
.pstep { display: grid; grid-template-columns: auto 1fr; gap: 24px; min-height: 52vh; padding: 28px 0; border-top: 1px solid var(--line-light); opacity: .28; transition: opacity .6s var(--ease); }
.pstep:last-child { min-height: 40vh; }
.pstep.is-active { opacity: 1; }
.pstep__num { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 5vw, 5rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--paper); transition: color .5s, -webkit-text-stroke-color .5s; }
.pstep.is-active .pstep__num { color: var(--brick); -webkit-text-stroke-color: var(--brick); }
.pstep h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 12px; }
.pstep p { color: rgba(242,238,230,.72); max-width: 420px; }

/* 12 — Approach: wall of bricks ------------------------------------------ */
.why { background: var(--sand); }
.why__title { max-width: 980px; margin-bottom: clamp(40px, 6vw, 80px); }
.wall {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 12px; background: var(--mortar);
  grid-template-areas: "a a b b" "h1 c c h2" "d d e e";
}
.brick { position: relative; min-height: 250px; padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--paper-2); box-shadow: inset 0 -3px 0 rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.6); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.brick:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(19,19,18,.45); z-index: 1; }
.brick--a { grid-area: a; } .brick--b { grid-area: b; background: var(--brick); color: #fff; }
.brick--c { grid-area: c; background: var(--ink); color: var(--paper); }
.brick--d { grid-area: d; } .brick--e, .brick--cta { grid-area: e; }
.brick--h1 { grid-area: h1; } .brick--h2 { grid-area: h2; }
.brick--half { min-height: 0; padding: 0; background: repeating-linear-gradient(-45deg, transparent 0 9px, rgba(19,19,18,.22) 9px 10px), var(--paper-2); }
.brick__no { position: absolute; top: 22px; left: clamp(24px, 2.6vw, 40px); font-size: 11px; opacity: .65; }
.brick h3 { font-family: var(--f-display); font-stretch: 114%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 12px; }
.brick p { max-width: 440px; font-size: 15.5px; opacity: .8; }
.brick--cta { background: var(--ink); color: var(--paper); overflow: hidden; }
.brick--cta h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 0; }
.brick--cta h3 br + * { color: var(--brick-light); }
.brick__go { position: absolute; right: clamp(24px, 2.6vw, 40px); top: 50%; width: 76px; height: 76px; margin-top: -38px; border-radius: 50%; background: var(--brick); display: grid; place-items: center; color: #fff; transition: transform .6s var(--ease), background-color .3s; }
.brick__go svg { width: 28px; height: 28px; }
.brick--cta:hover .brick__go { transform: rotate(45deg) scale(1.08); background: var(--brick-light); }
.js .wall .brick { opacity: 0; transform: translateY(-40px); }
.js .wall.is-in .brick { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease), box-shadow .5s; transition-delay: var(--d, 0s); }
.js .wall.is-in .brick:hover { transform: translateY(-6px); transition-delay: 0s; }

/* 13 — CTA: site notice ------------------------------------------------- */
.cta { position: relative; background: var(--brick); color: var(--ink); overflow: hidden; padding: clamp(90px, 11vw, 160px) 0 0; isolation: isolate; }
.cta__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(19,19,18,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,19,18,.1) 1px, transparent 1px),
    linear-gradient(rgba(19,19,18,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,19,18,.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 30% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 75% at 30% 40%, #000 30%, transparent 85%);
}
.cta__layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 110px); align-items: end; }
.sheet--ink { color: rgba(19,19,18,.72); }
.sheet--ink b { background: var(--ink); color: var(--paper); }
.cta__title { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(3.2rem, 8.2vw, 9.4rem); line-height: .86; letter-spacing: -.045em; margin: clamp(22px, 3vw, 36px) 0 clamp(26px, 3vw, 40px); }
.cta__line { display: block; overflow: hidden; padding: 0 .12em .12em 0; margin-bottom: -.12em; }
.cta__line > * { display: inline-block; }
.cta__title em { color: var(--paper); font-size: 1.08em; letter-spacing: -.02em; padding-right: .08em; }
.js .cta__line > * { transform: translateY(108%) rotate(4deg); transform-origin: left bottom; transition: transform 1.15s var(--ease); }
.js .cta__line:nth-child(2) > * { transition-delay: .1s; }
.js .cta__line:nth-child(3) > * { transition-delay: .2s; }
.js .cta__title.is-in .cta__line > * { transform: none; }
.cta__text { font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 500; line-height: 1.5; max-width: 500px; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* the site sign */
.sign { position: relative; perspective: 1400px; max-width: 540px; width: 100%; justify-self: end; }
.sign__body { position: relative; z-index: 2; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease); }
.sign__board {
  --pad: clamp(22px, 2.4vw, 34px);
  position: relative; padding: var(--pad); padding-bottom: 0; color: var(--paper); border-radius: 4px; overflow: hidden;
  background:
    radial-gradient(circle at 12px 12px, #5c5852 2.5px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 12px) 12px, #5c5852 2.5px, transparent 3.2px),
    var(--ink);
  box-shadow: 0 40px 70px -30px rgba(70, 22, 4, .7), inset 0 0 0 1px rgba(242,238,230,.08);
}
.sign__top { display: flex; justify-content: space-between; gap: 12px; padding: 4px 76px 12px 8px; border-bottom: 1px solid var(--line-light); color: rgba(242,238,230,.55); font-size: 10.5px; }
.sign__kicker { color: var(--brick-light); margin: 22px 0 8px; font-size: 11px; }
.sign__title { font-family: var(--f-display); font-stretch: 116%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.1vw, 3.2rem); line-height: .92; letter-spacing: -.03em; }
.sign__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: normal; text-transform: none; letter-spacing: -.01em; color: var(--brick-light); font-size: 1.12em; }
.sign__list { margin: 22px 0 0; }
.sign__list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px dashed rgba(242,238,230,.2); }
.sign__list dt { color: rgba(242,238,230,.5); font-size: 10px; }
.sign__list dd { margin: 0; font-size: 15px; font-weight: 500; overflow-wrap: break-word; min-width: 0; }
.sign__list a { background: linear-gradient(var(--brick-light), var(--brick-light)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.sign__list a:hover, .sign__list a:focus-visible { color: var(--brick-light); background-size: 100% 1px; }
.sign__hazard { height: 16px; margin: 18px calc(var(--pad) * -1) 0; background: repeating-linear-gradient(-45deg, var(--glow) 0 12px, var(--ink) 12px 24px); }
.sign__posts { display: flex; justify-content: space-between; padding: 0 16%; height: clamp(70px, 8vw, 120px); }
.sign__posts i { width: 18px; background: linear-gradient(90deg, #3a3835, var(--ink) 55%); box-shadow: 6px 0 14px -6px rgba(70,22,4,.6); }
.sign__ground { height: 12px; border-top: 2px solid var(--ink); background: repeating-linear-gradient(135deg, rgba(19,19,18,.55) 0 1.5px, transparent 1.5px 9px); margin: 0 -8%; }

.cta__badge { position: absolute; top: -52px; right: -40px; z-index: 3; width: 124px; height: 124px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: 0 18px 36px -16px rgba(70,22,4,.6); transition: transform .5s var(--ease), background-color .3s; }
.cta__badge > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.cta__badge text { font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; fill: currentColor; }
.cta__badge-mark { width: 38px; height: 38px; color: var(--brick); transition: transform .5s var(--ease); }
.cta__badge:hover, .cta__badge:focus-visible { transform: scale(1.07); background: var(--glow); }
.cta__badge:hover .cta__badge-mark { transform: rotate(45deg); }

/* caution tapes */
.tapes { position: relative; height: clamp(150px, 15vw, 220px); margin-top: -10px; pointer-events: none; }
.tape { position: absolute; left: -10%; width: 120%; top: 50%; padding: 15px 0; overflow: hidden; box-shadow: 0 16px 34px -18px rgba(40,12,2,.7); }
.tape--a { transform: translateY(-75%) rotate(-3.6deg); z-index: 2; color: var(--ink);
  background:
    repeating-linear-gradient(-45deg, var(--ink) 0 9px, transparent 9px 18px) top / 100% 5px no-repeat,
    repeating-linear-gradient(-45deg, var(--ink) 0 9px, transparent 9px 18px) bottom / 100% 5px no-repeat,
    var(--glow); }
.tape--b { transform: translateY(6%) rotate(2.6deg); background: var(--ink); color: var(--paper); }
.tape__track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.tape__track span { display: inline-flex; align-items: center; gap: 1.1em; padding-right: 1.1em; font-family: var(--f-display); font-stretch: 120%; font-weight: 800; text-transform: uppercase; font-size: clamp(.95rem, 1.5vw, 1.35rem); letter-spacing: .08em; line-height: 1; }
.tape__track span::after { content: ""; width: .5em; height: .5em; background: var(--brick); transform: rotate(45deg); }
.tape--b .tape__track span { color: rgba(242,238,230,.92); }

@keyframes spin { to { transform: rotate(360deg); } }

/* tape-measure scroll progress */
.ruler, .ruler-fill { position: fixed; left: 0; right: 0; top: 0; z-index: 101; pointer-events: none; }
.ruler { height: 9px; mix-blend-mode: difference;
  background:
    repeating-linear-gradient(90deg, rgba(242,238,230,.9) 0 1px, transparent 1px 100px) 0 0 / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgba(242,238,230,.6) 0 1px, transparent 1px 20px) 0 0 / 100% 5px no-repeat; }
.ruler-fill { height: 3px; background: var(--brick); transform-origin: left; transform: scaleX(0); }

/* 3D type ---------------------------------------------------------------- */
.t3d { --t3d: var(--brick);
  text-shadow: .008em .008em 0 var(--t3d), .016em .016em 0 var(--t3d), .024em .024em 0 var(--t3d), .032em .032em 0 var(--t3d), .04em .04em 0 var(--t3d), .048em .048em 0 var(--t3d), .056em .056em 0 var(--t3d), .07em .09em .1em rgba(19,19,18,.25); }
.t3d--brick { --t3d: #8f3216; }
.brand__name { text-shadow: 1px 1px 0 var(--brick-deep), 2px 2px 0 var(--brick-deep), 3px 3px 0 #8f3216; }

.nav__link { perspective: 500px; }
.roll { display: inline-block; position: relative; line-height: 1.25; transform-style: preserve-3d; transform-origin: 50% 50% -.625em; transition: transform .6s var(--ease); }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; transform-origin: 50% 0; transform: rotateX(-90deg); color: var(--brick-light); }
.nav__link.is-active .roll::after { color: var(--brick); }
@media (hover: hover) { .nav__link:hover .roll, .nav__link:focus-visible .roll { transform: rotateX(90deg); } }

/* 14 — Contact & form ---------------------------------------------------- */
.contact { background: var(--paper); position: relative; isolation: isolate; overflow: hidden; }
.contact__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(19,19,18,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(19,19,18,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 85% 20%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 85% 20%, #000 10%, transparent 75%);
}
.contact__title { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 9.4vw, 10rem); line-height: .86; letter-spacing: -.045em; margin-bottom: clamp(44px, 6vw, 84px); }
.contact__title .t3d { display: block; }
.contact__title em { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: normal; text-transform: none; letter-spacing: -.02em; color: var(--brick); font-size: .78em; line-height: 1; margin-top: .06em; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__lead { color: var(--muted); max-width: 440px; font-size: 17.5px; }

.ccards { display: grid; gap: 14px; margin-top: 32px; }
.ccard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 20px 22px; border: 1.5px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); transition: translate .45s var(--ease), box-shadow .45s var(--ease), background-color .3s, color .3s; }
.ccard:hover, .ccard:focus-visible { translate: -3px -3px; box-shadow: 10px 10px 0 var(--brick); background: var(--ink); color: var(--paper); }
.ccard__label { grid-column: 1; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10.5px; transition: color .3s; }
.ccard__label svg { width: 15px; height: 15px; }
.ccard:hover .ccard__label { color: var(--brick-light); }
.ccard__value { grid-column: 1; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.35rem, 2.1vw, 1.95rem); line-height: 1.08; letter-spacing: -.01em; overflow-wrap: break-word; min-width: 0; }
.ccard__value--sm { font-size: clamp(1rem, 1.45vw, 1.3rem); }
.ccard__go { grid-column: 2; grid-row: 1 / span 2; width: 50px; height: 50px; border-radius: 50%; background: var(--brick); color: #fff; display: grid; place-items: center; transition: transform .45s var(--ease); }
.ccard__go svg { width: 20px; height: 20px; }
.ccard:hover .ccard__go { transform: rotate(45deg); }
.ccard--static { border-style: dashed; box-shadow: none; background: transparent; }
.ccard--static:hover { translate: none; box-shadow: none; background: transparent; color: inherit; }
.ccard__meta { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }

.next { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ink); }
.next__title { color: var(--muted); font-size: 10.5px; margin-bottom: 8px; }
.next ol { list-style: none; margin: 0; padding: 0; }
.next li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px dashed var(--mortar); font-size: 15.5px; }
.next li b { color: var(--brick); font-size: 11px; padding-top: 4px; }

.lay { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: -8px 0 28px; color: var(--muted); }
.lay .mono { font-size: 10px; }
.lay b { color: var(--ink); font-weight: 600; }
.lay__bricks { display: grid; grid-template-columns: repeat(4, 28px); gap: 3px; }
.lay__bricks i { height: 13px; border: 1px dashed var(--mortar); opacity: .8; transform: translateY(-7px); transition: background-color .4s, border-color .4s, opacity .4s, transform .55s var(--ease); }
.lay__bricks i.is-on { background: var(--brick); border: 1px solid var(--brick-deep); opacity: 1; transform: none; box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); }
.form { position: relative; background: var(--paper-2); border: 1px solid var(--line); padding: clamp(24px, 3.6vw, 52px); box-shadow: 0 50px 90px -60px rgba(19,19,18,.45); }
.form::before, .form::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--brick); }
.form::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.form::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.form__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); color: var(--muted); }
.form__badge { border: 1px dashed var(--brick); color: var(--brick-deep); padding: 4px 9px; font-size: 10px; white-space: nowrap; flex: none; }
.types { margin-bottom: 26px; }
.types legend { color: var(--muted); margin-bottom: 12px; font-size: 10.5px; }
.types__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.type { position: relative; cursor: pointer; }
.type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type span { display: inline-block; padding: 11px 18px; border: 1px solid var(--line); border-radius: 100px; font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: 14px; transition: background-color .3s, color .3s, border-color .3s; }
.type:hover span { border-color: var(--ink); }
.type input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.type input:checked + span::before { content: "✓ "; color: var(--brick-light); }
.type input:focus-visible + span { outline: 2px solid var(--brick); outline-offset: 2px; }
.types.is-invalid .type span { border-color: rgba(194,59,34,.6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { position: relative; margin-bottom: 24px; }
.field label { display: block; color: var(--muted); font-size: 10.5px; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16.5px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--mortar); border-radius: 0; padding: 8px 0 12px; outline: none; transition: border-color .3s; scroll-margin-top: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #b0a898; }
.field textarea { resize: vertical; min-height: 110px; }
.field::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--brick); box-shadow: 0 1px 0 var(--brick); }
.field__error { display: block; font-size: 13px; color: var(--danger); margin-top: 6px; }
.field__error:empty { display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--danger); }
.field.is-valid input, .field.is-valid textarea { border-bottom-color: var(--success); }
.form__submit { margin-top: 6px; }
.form__note { margin-top: 16px; font-size: 13.5px; color: var(--concrete); }
.form__status { margin-top: 16px; outline: none; scroll-margin-top: 140px; }
.form__status:empty { display: none; }
.msg { padding: 16px 18px; border-left: 3px solid; font-size: 15px; animation: msgIn .6s var(--ease); }
.msg strong { display: block; font-family: var(--f-display); font-stretch: 110%; margin-bottom: 4px; }
.msg a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.msg--error { border-color: var(--danger); background: rgba(194,59,34,.07); }
.msg--success { border-color: var(--success); background: rgba(61,122,80,.08); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }

/* 15 — Footer ------------------------------------------------------------ */
.footer { background: var(--ink); color: rgba(242,238,230,.72); padding: clamp(72px, 9vw, 120px) 0 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.footer__about { max-width: 340px; margin-top: 22px; font-size: 15.5px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 32px; }
.footer h4 { color: var(--brick-light); margin-bottom: 18px; font-size: 11px; }
.footer li { margin-bottom: 10px; font-size: 15.5px; }
.footer li a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.footer li a:hover { color: var(--paper); background-size: 100% 1px; }
.footer__word-wrap { perspective: 1000px; margin: clamp(48px, 7vw, 96px) 0 clamp(44px, 5vw, 64px); }
.footer__word {
  --d: #8f3216;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900; white-space: nowrap; text-align: center; line-height: .78; letter-spacing: .01em;
  font-size: min(calc((100vw - 2 * var(--gutter)) / 4.5), 280px); user-select: none; color: var(--paper);
  transform: rotateX(var(--wx, 16deg)) rotateY(var(--wy, 0deg)); transform-origin: 50% 80%; transition: transform .9s var(--ease);
  text-shadow: 0 1px 0 #e86a3c, 0 2px 0 var(--brick), 0 3px 0 var(--brick), 0 4px 0 #c24b24, 0 5px 0 #c24b24, 0 6px 0 var(--brick-deep), 0 7px 0 var(--brick-deep), 0 8px 0 #a33b1b, 0 9px 0 #a33b1b, 0 10px 0 var(--d), 0 11px 0 var(--d), 0 12px 0 var(--d), 0 22px 30px rgba(0,0,0,.55);
}
.titleblock { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-light); }
.titleblock div { padding: 12px 14px; border-right: 1px solid var(--line-light); font-size: 11px; color: rgba(242,238,230,.85); }
.titleblock div:last-child { border-right: 0; }
.titleblock small { display: block; font-size: 9px; color: rgba(242,238,230,.45); margin-bottom: 4px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding-top: 22px; font-size: 13px; color: rgba(242,238,230,.48); }
.credit { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; border: 1px solid var(--line-light); border-radius: 100px; background: rgba(242,238,230,.03); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.credit:hover { border-color: rgba(240,124,76,.55); background: rgba(212,83,42,.08); }
.credit__label { font-size: 10px; letter-spacing: .16em; color: rgba(242,238,230,.5); }
.credit__brand { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 100px; background: var(--paper); color: var(--ink); font-family: var(--f-display); font-stretch: 122%; font-weight: 800; font-size: 12.5px; letter-spacing: .14em; line-height: 1; text-shadow: 1px 1px 0 rgba(212,83,42,.35); overflow: hidden; }
.credit__brand i { width: 7px; height: 7px; background: var(--brick); transform: rotate(45deg); flex: none; transition: transform .6s var(--ease); }
.credit__brand::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg); transition: left .9s var(--ease); }
.credit:hover .credit__brand::after { left: 130%; }
.credit:hover .credit__brand i { transform: rotate(225deg); }
@media (max-width: 760px) { .footer__bottom { flex-direction: column; align-items: flex-start; } }
.brand--footer .brand__mark { width: 52px; height: 52px; }
.brand--footer .brand__name { font-size: 26px; }

/* 16 — Cursor, to-top, lightbox, grain ----------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9990; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--brick); }
.cursor__ring { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.9); mix-blend-mode: difference; display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), background-color .3s, border-color .3s, opacity .3s; }
.cursor__ring b { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-link .cursor__ring { width: 58px; height: 58px; }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; background: var(--brick); border-color: var(--brick); mix-blend-mode: normal; }
.cursor.is-label .cursor__ring b { opacity: 1; }
.cursor.is-label .cursor__dot, .cursor.is-lens .cursor__dot { opacity: 0; }
.cursor.is-lens .cursor__ring { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
  .has-cursor input, .has-cursor textarea { cursor: text; }
}

.to-top { position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 90; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background-color .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brick); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2; stroke: rgba(242,238,230,.14); }
.to-top__ring circle + circle { stroke: var(--brick-light); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
.to-top__arrow { width: 20px; height: 20px; transform: rotate(-90deg); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(12,12,11,.96); display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; justify-items: center; opacity: 0; transition: opacity .4s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 0; }
.lightbox__figure img { max-height: 80vh; max-height: 80svh; width: auto; max-width: 100%; object-fit: contain; transition: opacity .3s; }
.lightbox__figure img.is-swapping { opacity: 0; }
.lightbox figcaption { color: rgba(242,238,230,.75); font-size: 14px; text-align: center; padding: 0 16px; }
.lightbox figcaption b { font-family: var(--f-mono); font-weight: 500; color: var(--brick-light); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-right: 10px; }
.lightbox__close, .lightbox__nav { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); border: 1px solid var(--line-light); transition: background-color .3s, color .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--brick); border-color: var(--brick); }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__close svg { width: 22px; height: 22px; transform: rotate(45deg); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev svg { transform: rotate(180deg); }

body::after {
  content: ""; position: fixed; inset: 0; z-index: 9500; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 17 — Preloader & motion ------------------------------------------------ */
.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; color: var(--paper); animation: plFailsafe .01s 5s forwards; }
.preloader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transition: transform 1.05s var(--ease-io); }
.preloader__half--top { top: 0; } .preloader__half--bottom { bottom: 0; }
.preloader__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; width: min(300px, 74vw); transition: opacity .4s, transform .6s var(--ease); }
.preloader.is-done { visibility: hidden; transition: visibility 0s 1.1s; }
.preloader.is-quick .preloader__half { transition-duration: .8s; }
.preloader.is-done .preloader__half--top { transform: translateY(-100%); }
.preloader.is-done .preloader__half--bottom { transform: translateY(100%); }
.preloader.is-done .preloader__inner { opacity: 0; transform: scale(.94); }
.no-js .preloader { display: none; }
@keyframes plFailsafe { to { visibility: hidden; opacity: 0; } }
.preloader__mark { width: 96px; height: 96px; overflow: visible; }
.pl-roof { stroke: var(--brick); stroke-dasharray: 64; stroke-dashoffset: 64; animation: plDraw .8s .7s var(--ease) forwards; }
.pl-courses rect { fill: var(--paper); opacity: 0; transform: translateY(-14px); animation: plCourse .45s var(--ease) forwards; }
.pl-courses rect:nth-child(1) { animation-delay: .05s; }
.pl-courses rect:nth-child(2) { animation-delay: .15s; } .pl-courses rect:nth-child(3) { animation-delay: .2s; }
.pl-courses rect:nth-child(4) { animation-delay: .3s; } .pl-courses rect:nth-child(5) { animation-delay: .35s; } .pl-courses rect:nth-child(6) { animation-delay: .4s; }
.pl-courses rect:nth-child(7) { animation-delay: .5s; } .pl-courses rect:nth-child(8) { animation-delay: .55s; }
@keyframes plCourse { to { opacity: 1; transform: none; } }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
.preloader__word { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 30px; letter-spacing: .3em; text-transform: uppercase; margin-right: -.3em; }
.preloader__meta { width: 100%; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,238,230,.55); }
.preloader__meta b { font-weight: 500; color: var(--paper); font-variant-numeric: tabular-nums; }
.preloader__bar { width: 100%; height: 2px; background: rgba(242,238,230,.12); position: relative; overflow: hidden; }
.preloader__bar span { position: absolute; inset: 0; background: var(--brick); transform: scaleX(0); transform-origin: left; }

/* hero entrance */
.js [data-hero] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .hero__title [data-hero] { opacity: 1; transform: translateY(108%); transition: transform 1.3s var(--ease); }
.is-ready [data-hero] { opacity: 1 !important; transform: none !important; }
.is-ready .hero__title .line:nth-child(2) [data-hero] { transition-delay: .08s; }
.is-ready .hero__title .line:nth-child(3) [data-hero] { transition-delay: .16s; }
.is-ready .hero__side { transition-delay: .4s; }
.is-ready .hero__top { transition-delay: .55s; }

/* reveals */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.intro__img { overflow: visible; }
.reveal-img > img { position: relative; }
.js .reveal-img { --cover: 1; }
.js .reveal-img::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--brick); transform: scaleY(var(--cover)); transform-origin: top; transition: transform 1.2s var(--ease-io); }
.js .reveal-img img { transform: scale(1.15); transition: transform 1.8s var(--ease); }
.js .reveal-img.is-in { --cover: 0; }
.js .reveal-img.is-in img { transform: none; }
.js .proj { opacity: 0; transform: translateY(50px); }
.js .proj.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }

/* 18 — Responsive -------------------------------------------------------- */
@media (max-width: 1240px) { .header__cta { display: none; } }

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .burger { display: block; margin-left: auto; }
  .nav { position: fixed; inset: 0; z-index: 2; background: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 40px; clip-path: circle(0 at calc(100% - 44px) 44px); visibility: hidden; transition: clip-path .9s var(--ease-io), visibility 0s .9s; }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
  .nav__list { flex-direction: column; gap: 0; border: 0; background: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__link { font-size: clamp(2.2rem, 9vw, 3.8rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.03em; color: var(--paper); padding: 6px 0; border-radius: 0; align-items: baseline; gap: 14px; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .7s var(--ease), color .3s; }
  .nav__link i { font-size: 12px; }
  .nav__link:hover { background: none; color: var(--brick-light); }
  .nav__link.is-active { background: none; color: var(--brick-light); }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(1) .nav__link { transition-delay: .25s; } .nav.is-open li:nth-child(2) .nav__link { transition-delay: .3s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: .35s; } .nav.is-open li:nth-child(4) .nav__link { transition-delay: .4s; }
  .nav.is-open li:nth-child(5) .nav__link { transition-delay: .45s; }
  .nav__mobile-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-light); color: rgba(242,238,230,.7); overflow-wrap: anywhere; opacity: 0; transition: opacity .6s .5s; }
  .nav.is-open .nav__mobile-foot { opacity: 1; }
  .header.menu-open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .hero__bottom { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .anno--a, .anno--b, .anno--c { display: none; }

  .intro__grid { grid-template-columns: 1fr 1fr; }
  .intro__copy { grid-column: 1 / -1; grid-row: 1; padding-top: 0; }
  .intro__side { padding-top: 12%; }

  /* services: vertical stack */
  .services { padding: var(--section-y) 0; }
  .services__pin { position: static; height: auto; overflow: visible; padding-top: 0; }
  .services__track { flex-direction: column; width: auto; height: auto; transform: none !important; }
  .svc-intro { flex: none; margin-bottom: 16px; }
  .svc-intro__hint { display: none !important; }
  .svc { flex: none; grid-template-columns: 1fr 1fr; min-height: 420px; }
  .services__head .services__progress, .services__head .sheet--right { visibility: hidden; }

  .process__grid { grid-template-columns: 1fr; }
  .process__visual { top: calc(var(--header-h) - 8px); height: auto; z-index: 2; background: var(--ink); padding: 8px 0; }
  .build__svg { max-height: 34vh; }
  .process__intro { order: -1; }
  .process__steps { display: contents; }
  .process__intro { grid-row: 1; }
  .process__visual { grid-row: 2; }
  .psteps { grid-row: 3; }
  .pstep { min-height: 46vh; }

  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .cta__layout { grid-template-columns: 1fr; }
  .sign { justify-self: start; max-width: 560px; margin-top: 40px; }
  .cta__title { font-size: clamp(3.2rem, 13vw, 8rem); }
}

/* portrait screens: show more of the building above the copy */
@media (max-aspect-ratio: 1/1) {
  .hero__frame { top: 34%; width: max(112%, calc(max(100svh, 640px) * 1.4)); }
}

@media (hover: none) { .hint-desktop { display: none; } .hint-touch { display: inline; } }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 7.5px; }
  .sheet { font-size: 10.5px; }
  .hero__top .mono:first-child { display: none; }
  .hero__top { justify-content: flex-end; }
  .hero__title { font-size: clamp(2.6rem, 13vw, 4.6rem); }
  .hero__lead { font-size: 15.5px; margin-bottom: 20px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .anno--dim { display: none; }

  .statement { font-size: clamp(1.6rem, 7.4vw, 2.4rem); }
  .build__top span:first-child { display: none; }
  .build { padding: 12px; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__side { padding-top: 24px; }
  .intro__detail { display: none; }
  .intro__img--b { width: 84%; margin-left: auto; }
  .plate { margin-left: 22px; margin-right: 30px; }
  .contact-chip strong { font-size: 19px; }

  .svc { grid-template-columns: 1fr; min-height: 0; }
  .svc__media { aspect-ratio: 4 / 3; }
  .svc__num { font-size: 5rem; top: auto; bottom: calc(100% - 60px); }
  .svc__body { padding: 26px 22px 28px; }
  .svc__num { position: absolute; top: -70px; right: 18px; bottom: auto; -webkit-text-stroke-color: #fff; text-shadow: none; }

  .work__grid { grid-template-columns: 1fr 1fr; gap: 36px 14px; grid-auto-flow: row dense; }
  .proj { grid-column: span 2 !important; margin-top: 0 !important; }
  .proj--c, .proj--e { grid-column: span 1 !important; }
  .proj--c .proj__btn, .proj--e .proj__btn { aspect-ratio: 4 / 5; }
  .proj--c figcaption, .proj--e figcaption { grid-template-columns: 1fr; gap: 2px; }
  .proj--c .proj__cat, .proj--e .proj__cat { display: none; }
  .work__grid.is-filtered .proj { grid-column: span 2 !important; }
  .proj__title { font-size: 16px; }

  .wall { grid-template-columns: 1fr; grid-template-areas: "a" "b" "h1" "c" "d" "e"; padding: 8px; gap: 8px; }
  .brick { min-height: 210px; padding-top: 60px; }
  .brick--half { min-height: 22px; }
  .brick--h2 { display: none; }
  .brick__go { width: 60px; height: 60px; margin-top: -30px; }

  .cta__title { font-size: 15.5vw; }
  .cta__badge { top: -40px; right: -6px; width: 92px; height: 92px; }
  .cta__badge-mark { width: 28px; height: 28px; }
  .sign__list div { grid-template-columns: 78px 1fr; }
  .sign__list dd { font-size: 14px; }
  .sign__ground { margin: 0 calc(var(--gutter) * -1); }
  .tapes { height: 130px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1 1 100%; }

  .form__row { grid-template-columns: 1fr; }
  .contact__title { font-size: 14.5vw; }
  .ccard { padding: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .ccard--static { box-shadow: none; }
  .ccard__go { width: 42px; height: 42px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock div:nth-child(2) { border-right: 0; }
  .titleblock div:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }

  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 16px; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__nav--prev { grid-row: 2; grid-column: 1; justify-self: end; margin-right: 8px; }
  .lightbox__nav--next { grid-row: 2; grid-column: 2; justify-self: start; margin-left: 8px; }
  .lightbox__close { top: 12px; right: 12px; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2.45rem; }
  .brand__sub { display: none; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* 19 — Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js [data-hero], .js .proj, .js .wall .brick { opacity: 1; transform: none; }
  .js .hero__title [data-hero] { transform: none; }
  .js .reveal-img::before { display: none; }
  .js .reveal-img img, .hero__frame { transform: translate(-50%, -50%); }
  .js .reveal-img img { transform: none; }
  .statement .w { opacity: 1; }
  .js .cta__line > * { transform: none; }
  .sign__body { transform: none !important; }
  .roll { transform: none !important; }
  .detail-svg rect, .detail-svg path { stroke-dashoffset: 0 !important; }
  .footer__word { transform: rotateX(16deg) !important; }
  .preloader { animation: plFailsafe .001ms 1s forwards !important; }
  .ticker__track { animation: none !important; }
}

/* ===== Phones + tablets: stacked hero — framed drawing on top, copy below ===== */
.hero__level, .hero__sheet, .hero__toggle { display: none; }
@media (max-width: 1024px) {
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; }
  .hero__stage { position: relative; inset: auto; flex: none; container-type: size; height: clamp(280px, 42svh, 420px); margin: calc(var(--header-h) + 10px) var(--gutter) 0; overflow: hidden; border: 1px solid rgba(242,238,230,.22); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
  .hero__stage::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: 2; pointer-events: none; background: linear-gradient(transparent, rgba(19,19,18,.7)); }
  .hero__frame, .is-ready .hero__frame { width: max(100cqw, 100cqh * 1.894); height: auto; top: 50%; left: 50%; }
  .hero__shade, .hero__lens, .hero__split, .hero__top, .anno--dim { display: none !important; }
  .hero.hero .hero__layer--built { clip-path: inset(var(--wipe, 100%) 0 0 0); -webkit-clip-path: inset(var(--wipe, 100%) 0 0 0); }
  .anno span { font-size: 9px; padding: 3px 6px; }
  .anno i::after { height: 40px; } .anno span { bottom: 46px; }

  .hero__level { display: block; position: absolute; left: 0; right: 0; top: var(--wipe, 100%); z-index: 3; height: 2px; background: var(--brick-light); box-shadow: 0 0 14px rgba(240,124,76,.9); pointer-events: none; opacity: var(--level-o, 0); transition: opacity .4s; }
  .hero__level span { position: absolute; right: 10px; bottom: 6px; padding: 3px 7px; background: var(--brick); color: #fff; font-size: 9.5px; }
  .hero__level b { font-weight: 500; }
  .hero__sheet { display: block; position: absolute; left: 10px; top: 10px; z-index: 3; margin: 0; padding: 4px 8px; font-size: 9.5px; color: var(--paper); background: rgba(19,19,18,.6); border: 1px solid rgba(242,238,230,.25); }

  .hero__toggle { display: grid; grid-template-columns: 1fr 1fr; position: absolute; z-index: 4; left: 50%; bottom: 14px; transform: translateX(-50%); width: 196px; padding: 4px; border-radius: 100px; background: rgba(19,19,18,.72); border: 1px solid rgba(242,238,230,.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .hero__toggle button { position: relative; z-index: 1; height: 38px; border-radius: 100px; font-family: var(--f-display); font-stretch: 112%; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(242,238,230,.7); transition: color .35s; }
  .hero__toggle button[aria-pressed="true"] { color: #fff; }
  .hero__toggle-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 100px; background: var(--brick); transition: transform .5s var(--ease); }
  .hero__toggle.is-built .hero__toggle-thumb { transform: translateX(100%); }

  .hero__content { height: auto; flex: 1; justify-content: flex-start; padding-top: 26px; padding-bottom: 32px; }
  .hero__bottom { gap: 22px; }
}

/* tablets: bigger drawing panel and type */
@media (min-width: 761px) and (max-width: 1024px) {
  .hero__stage { height: clamp(360px, 46svh, 560px); margin-top: calc(var(--header-h) + 12px); }
  .hero__content { padding-top: 30px; padding-bottom: 36px; }
  .hero__bottom { gap: 26px; }
  .hero__title { font-size: clamp(3.6rem, 9.4vw, 6rem); }
  .hero__lead { max-width: 560px; font-size: 1.1rem; }
  .hero__actions .btn { flex: 0 1 auto; }
  .hero__sheet { left: 16px; top: 16px; font-size: 10.5px; }
  .hero__toggle { bottom: 20px; width: 230px; }
  .hero__toggle button { height: 44px; font-size: 13px; }
  .hero__level span { right: 16px; font-size: 10.5px; }
}
/* landscape tablets: keep the copy beside a shorter panel visible */
@media (min-width: 761px) and (max-width: 1024px) and (orientation: landscape) {
  .hero__stage { height: clamp(280px, 43svh, 400px); }
  .hero__content { padding-top: 22px; padding-bottom: 26px; }
  .hero__bottom { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 32px; }
  .hero__title { font-size: clamp(3rem, 6.4vw, 4.6rem); }
}

/* short desktop windows: keep hero callouts clear of the header */
@media (min-width: 1025px) and (max-height: 820px) {
  .anno--dim { display: none; }
  .anno i::after { height: 30px; }
  .anno span { bottom: 36px; }
}
@media (max-width: 760px) { .snap__tape--r { right: -4px; } .snap__tape--l { left: -6px; } }
@media (max-width: 420px) { .form__head .mono:first-child { font-size: 10px; letter-spacing: .06em; } }
