/*
 * Prumada Construções — demonstração fictícia criada pela Zenite Web.
 * Estilos próprios e isolados (não partilham CSS com o site). Sem dependências externas.
 * Tipos de letra locais: Big Shoulders Display e Archivo (SIL OFL 1.1, ver ../fonts/OFL-1.1.txt).
 * Ícones: Tabler Icons (MIT), ver img/sprite.svg.
 */

@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* Fallbacks with adjusted metrics, so the swap does not move the layout. */
@font-face { font-family: "Archivo Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 88%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Shoulders Fallback"; src: local("Arial Narrow"), local("Arial"); size-adjust: 88%; ascent-override: 100%; descent-override: 24%; line-gap-override: 0%; }

@property --w { syntax: "<length-percentage>"; inherits: false; initial-value: 20.5%; }

:root {
  --steel: #171b1f;
  --steel-2: #232a30;
  --concrete: #e9e9e4;
  --paper: #f6f6f2;
  --grey: #d3d3cb;
  --line: #bcbcb2;
  --edge: #6b6b63;
  --muted: #484d53;
  --orange: #ff6a13;
  --orange-t: #8f3200;
  --plan: #a9c6e0;
  --err: #a6261b;
  --err-bg: #fbece9;

  --f-display: "Big Shoulders Display", "Shoulders Fallback", "Arial Narrow", Impact, sans-serif;
  --f-body: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gut: clamp(1.25rem, 4vw, 3rem);
  --wrap: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --head-h: 72px;
  --strip-h: 56px;
  --hazard: repeating-linear-gradient(-45deg, var(--orange) 0 10px, var(--steel) 10px 20px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); scroll-padding-bottom: calc(var(--strip-h) + 24px); }
body { margin: 0; padding-bottom: var(--strip-h); background: var(--concrete); color: var(--steel); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.95; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 1.2rem + 8.5vw, 8rem); line-height: 0.86; }
h2 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); }
h3 { font-size: 1.7rem; line-height: 1; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--steel); }
h1, h2, h3, .btn, .chip, .fchip, .tag, .pill-link, .stat p, .card-meta { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; }
.on-steel :focus-visible, .hero :focus-visible, .head :focus-visible, .strip :focus-visible, .foot :focus-visible, .cta :focus-visible, .phero :focus-visible { outline-color: var(--orange); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section--paper { background: var(--paper); }
.section--grey { background: var(--grey); }
.on-steel { background: var(--steel); color: var(--paper); }
.hazard { height: 14px; background: var(--hazard); }
.kicker { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-t); }
.on-steel .kicker, .hero .kicker, .cta .kicker, .phero .kicker { color: var(--orange); }
.kicker::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 54ch; }
.on-steel .lead, .hero .lead, .cta p, .phero .lead { color: #d3d8dd; }
.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.sec-head--split { grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; } }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--orange); color: var(--steel); padding: 0.8rem 1.2rem; text-decoration: none; font-weight: 800; transition: top 0.2s var(--ease); }
.skip:focus { top: 1rem; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons: block, condensed caps, hazard hover */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 54px; padding: 0.7rem 1.7rem; border: 2px solid transparent; border-radius: 0; font: 800 1.15rem/1 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer; text-align: center; transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hazard); background-size: 28px 28px; transform: translateY(101%); transition: transform 0.45s var(--ease); }
.btn .i { transition: transform 0.35s var(--ease); }
.btn:hover .i-go { transform: translateX(5px); }
.btn:hover::before { transform: none; }
.btn:active { transform: translateY(2px); }
.btn--orange { background: var(--orange); color: var(--steel); }
.btn--orange:hover { color: var(--steel); box-shadow: 6px 6px 0 var(--steel); transform: translate(-2px, -2px); }
.btn--steel { background: var(--steel); color: var(--paper); }
.btn--steel:hover { color: var(--paper); box-shadow: 6px 6px 0 var(--orange); transform: translate(-2px, -2px); }
.btn--line { border-color: currentColor; color: var(--steel); }
.btn--line:hover { background: var(--steel); color: var(--paper); border-color: var(--steel); }
.btn--line::before { display: none; }
.hero .btn--line, .cta .btn--line, .on-steel .btn--line { color: var(--paper); }
.hero .btn--line:hover, .cta .btn--line:hover, .on-steel .btn--line:hover { background: var(--paper); color: var(--steel); border-color: var(--paper); }
.btn--small { min-height: 46px; padding: 0.45rem 1.2rem; font-size: 1rem; }
.btn[disabled] { cursor: progress; opacity: 0.85; transform: none; box-shadow: none; }
.pill-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: background-size 0.4s var(--ease); }
.pill-link:hover { background-size: 0 2px; background-position: 100% 100%; }
.pill-link .i { transition: transform 0.35s var(--ease); }
.pill-link:hover .i { transform: translate(3px, -3px); }

/* Demo strip (fixed, discreet; steel with a hazard edge) */
.strip { position: fixed; inset: auto 0 0 0; z-index: 90; min-height: var(--strip-h); background: var(--steel); color: #e8ebee; font-size: 0.8125rem; line-height: 1.3; padding-bottom: env(safe-area-inset-bottom); }
.strip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--hazard); background-size: 28px 28px; }
.strip-in { display: flex; align-items: center; gap: 0.75rem; min-height: calc(var(--strip-h) - 4px); margin-top: 4px; padding: 0.4rem var(--gut); max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; }
.strip-back { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / 0.3); flex: none; text-decoration: none; color: #fff; transition: background-color 0.2s; }
.strip-back:hover { background: rgb(255 255 255 / 0.15); }
.strip-back .i { transform: scaleX(-1); }
.strip-text { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.6rem; }
.strip-text > a { flex: none; display: inline-flex; }
.strip-text img { width: 28px; height: 28px; flex: none; background: var(--paper); padding: 3px; }
.strip-text strong { color: #fff; font-weight: 700; }
.strip-by { display: none; }
.strip a { color: #fff; }
.strip-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 1rem; background: var(--orange); color: var(--steel) !important; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background-color 0.25s; }
.strip-cta:hover { background: #fff; }
.strip-repo { display: none; }
@media (max-width: 359px) { .strip-in { gap: 0.5rem; } .strip-cta { padding-inline: 0.75rem; font-size: 0.8rem; } .strip-text > a { display: none; } }
@media (min-width: 760px) {
  :root { --strip-h: 52px; }
  .strip-by { display: inline; }
  .strip-by::before { content: "·"; margin-inline: 0.6rem; opacity: 0.6; }
  .strip-by a { text-underline-offset: 3px; }
  .strip-repo { display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 1rem; border: 1px solid rgb(255 255 255 / 0.4); text-decoration: none; font-weight: 600; transition: background-color 0.2s; }
  .strip-repo:hover { background: rgb(255 255 255 / 0.15); }
  .strip-back { display: none; }
}

/* Header: light concrete, hazard underline */
.head { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 4px solid var(--steel); }
.head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--hazard); background-size: 28px 28px; transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) { @media (prefers-reduced-motion: no-preference) { .head::after { animation: grow linear both; animation-timeline: scroll(root); } } }
@keyframes grow { to { transform: scaleX(1); } }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.brand .mark { width: 40px; height: 40px; flex: none; transition: transform 0.5s var(--ease); }
.brand:hover .mark { transform: rotate(-6deg); }
.brand-name { display: grid; line-height: 1; }
.brand-name b { font: 900 1.9rem/0.9 var(--f-display); letter-spacing: 0.04em; text-transform: uppercase; }
.brand-name small { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-t); margin-top: 4px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--steel); background: transparent; cursor: pointer; place-items: center; }
.nav ul { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.85rem; text-decoration: none; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.nav a::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 6px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-cta { margin-left: 0.6rem; background: var(--orange); }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--steel); color: var(--paper); }
@media (max-width: 1039px) {
  .js .nav-toggle { display: grid; }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: var(--paper); border-bottom: 4px solid var(--steel); padding: 0.75rem var(--gut) 1.5rem; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity 0.25s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s; }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { min-height: 52px; font-size: 0.95rem; }
  .nav a::after { bottom: 10px; }
  .nav .nav-cta { margin: 0.75rem 0 0; justify-content: center; }
  .head-in { flex-wrap: wrap; }
  html:not(.js) .nav { width: 100%; padding-bottom: 0.75rem; }
  html:not(.js) .nav ul { flex-direction: row; }
}
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* Scaffold reveal: images appear plank by plank (registered property --w) */
.scaf { -webkit-mask: repeating-linear-gradient(90deg, #000 0, #000 var(--w), transparent var(--w), transparent 20%); mask: repeating-linear-gradient(90deg, #000 0, #000 var(--w), transparent var(--w), transparent 20%); }
@media (prefers-reduced-motion: no-preference) {
  .rv .scaf:not(.is-in) { --w: 0%; }
  .rv .scaf { transition: --w 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
  .rv [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
  .rv [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Hero: blueprint lines draw themselves, the photo comes up in planks */
.hero { position: relative; background: var(--steel); color: var(--paper); overflow: clip; }
.blueprint { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--plan); pointer-events: none; opacity: 0.3; }
.blueprint .grid { stroke: currentColor; stroke-width: 1; opacity: 0.18; }
.blueprint .ln { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 0; }
.blueprint text { fill: currentColor; font: 600 12px var(--f-body); letter-spacing: 0.1em; }
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: end; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); } }
.hero-copy { display: grid; gap: 1.75rem; justify-items: start; }
.hero-copy h1 { color: #fff; }
.hero-copy h1 .ln1 { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-copy h1 .ln1 > span { display: inline-block; }
.hero-copy h1 em { font-style: normal; color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; font-size: 0.9rem; color: #d3d8dd; border-top: 1px solid rgb(255 255 255 / 0.25); padding-top: 1.25rem; width: 100%; }
.hero-meta li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta .i { color: var(--orange); }
.hero-visual { position: relative; --px: 0; --py: 0; max-width: 680px; width: 100%; justify-self: end; }
.hero-photo { position: relative; margin: 0; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--steel-2); -webkit-mask: repeating-linear-gradient(90deg, #000 0, #000 var(--w), transparent var(--w), transparent 20%); mask: repeating-linear-gradient(90deg, #000 0, #000 var(--w), transparent var(--w), transparent 20%); }
@media (min-width: 1000px) { .hero-photo { aspect-ratio: 4 / 5; } }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 40%; transform: scale(1.05) translate3d(calc(var(--px) * -10px), calc(var(--py) * -8px), 0); transition: transform 0.6s var(--ease); }
.hero-tag { position: absolute; z-index: 2; left: -1.25rem; bottom: 1.75rem; background: var(--orange); color: var(--steel); padding: 0.9rem 1.3rem; transform: translate3d(calc(var(--px) * 12px), calc(var(--py) * 8px), 0); transition: transform 0.6s var(--ease); }
.hero-tag small { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; }
.hero-tag b { display: block; font: 900 2.4rem/1 var(--f-display); }
.hero-tag span { font-size: 0.85rem; font-weight: 600; }
@media (max-width: 599px) { .hero-tag { left: 0.75rem; bottom: 0.75rem; padding: 0.7rem 1rem; } }
.hero-dim { position: absolute; right: 0; top: -1.6rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plan); display: flex; align-items: center; gap: 0.6rem; }
.hero-dim::before { content: ""; width: 56px; height: 1px; background: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms + 100ms); }
  .hero h1 .ln1 > span { animation: ln-up 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
  .hero-photo { animation: planks 1.4s var(--ease) 0.2s both; }
  .hero-tag { animation: rise 1s var(--ease) 1.2s both; }
  .blueprint .ln { stroke-dashoffset: 1; animation: draw 2.4s var(--ease) both; animation-delay: calc(var(--i, 0) * 180ms + 200ms); }
  .blueprint text { animation: fade 1s ease 2s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes ln-up { from { transform: translateY(110%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes planks { from { --w: 0%; } }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 4px solid var(--steel); }
@media (min-width: 860px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 1.75rem 1.25rem 1.75rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .stat { border-bottom: 0; } .stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); } }
.stat .n { font: 900 clamp(3.4rem, 1.8rem + 5vw, 6rem)/0.9 var(--f-display); font-variant-numeric: tabular-nums lining-nums; display: inline-block; min-width: 2ch; }
.stat .u { font: 800 1.6rem/1 var(--f-display); color: var(--orange-t); margin-left: 0.15rem; }
.stat p { margin-top: 0.6rem; color: var(--muted); font-weight: 600; }
.stats-note { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--muted); }

/* Services and cards (no side accents: a bar grows along the bottom edge) */
.grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc { position: relative; background: var(--paper); padding: 2rem 1.75rem 2.25rem; display: grid; gap: 0.9rem; align-content: start; overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.svc::after, .ocard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease); }
.svc:hover, .ocard:hover { transform: translateY(-6px); box-shadow: 10px 10px 0 var(--steel); }
.svc:hover::after, .ocard:hover::after, .ocard:focus-within::after { transform: scaleX(1); }
.svc .ico { display: grid; place-items: center; width: 60px; height: 60px; background: var(--steel); color: var(--orange); }
.svc .ico .i { width: 30px; height: 30px; }
.svc .no { position: absolute; right: 1.25rem; top: 0.75rem; font: 900 3.4rem/1 var(--f-display); color: var(--grey); }
.svc p { color: var(--muted); max-width: 36ch; }
.ocard { position: relative; display: flex; flex-direction: column; background: var(--paper); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); overflow: hidden; }
.ocard-media { position: relative; aspect-ratio: 3 / 2; background: var(--steel-2); overflow: hidden; }
.ocard-media .scaf { position: absolute; inset: 0; }
.ocard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ocard:hover .ocard-media img { transform: scale(1.06); }
.chip { position: absolute; z-index: 2; left: 0; top: 1rem; background: var(--orange); color: var(--steel); font: 800 1rem/1 var(--f-display); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0.8rem; }
.ocard-body { display: grid; gap: 0.6rem; padding: 1.4rem 1.4rem 1.7rem; align-content: start; flex: 1; }
.ocard-title { font-size: 1.9rem; }
.ocard-title a { text-decoration: none; }
.ocard-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.card-meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.card-meta .i { width: 1.1em; height: 1.1em; color: var(--orange-t); }
.ocard[hidden] { display: none; }
.ocard.is-shown { animation: pop-in 0.6s var(--ease) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px); } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem 0.75rem; align-items: center; margin-bottom: 1.5rem; }
.fchip { min-height: 46px; padding: 0.4rem 1.2rem; border: 2px solid var(--steel); background: transparent; cursor: pointer; font: 800 1.1rem/1 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease); }
.fchip:hover { transform: translateY(-2px); }
.fchip[aria-pressed="true"] { background: var(--steel); color: var(--paper); }
.searchbox { position: relative; flex: 1 1 16rem; max-width: 24rem; margin-left: auto; }
.searchbox .i { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.searchbox .in { padding-left: 2.8rem; }
.live { color: var(--muted); font-weight: 600; margin-bottom: 1.5rem; min-height: 1.5em; }
.empty { display: none; padding: clamp(2rem, 6vw, 4rem); background: var(--paper); border: 2px dashed var(--edge); text-align: center; justify-items: center; gap: 1rem; }
.empty.is-on { display: grid; animation: rise 0.6s var(--ease) both; }
.empty h2 { font-size: 2.4rem; }
.empty p { color: var(--muted); max-width: 40ch; }

/* Process timeline */
.tl { position: relative; display: grid; gap: 2rem; counter-reset: s; padding-left: 0; }
.tl-line { position: absolute; left: 31px; top: 12px; bottom: 12px; width: 4px; background: repeating-linear-gradient(180deg, var(--orange) 0 14px, transparent 14px 24px); transform-origin: 50% 0; }
@media (min-width: 900px) { .tl-line { left: 50%; margin-left: -2px; } }
@media (prefers-reduced-motion: no-preference) { .rv .tl:not(.is-in) .tl-line { transform: scaleY(0); } .rv .tl .tl-line { transition: transform 2.4s var(--ease); } }
.tl-step { position: relative; display: grid; gap: 0.6rem; padding-left: 5.25rem; min-height: 64px; }
.tl-step .num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 64px; height: 64px; background: var(--steel); color: var(--orange); font: 900 2.4rem/1 var(--f-display); z-index: 1; transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s; }
.tl-step:hover .num { background: var(--orange); color: var(--steel); transform: scale(1.08); }
.tl-step h3 { font-size: 2.2rem; margin-top: 0.25rem; }
.tl-step p { color: var(--muted); max-width: 46ch; }
.tl-step .dur { display: inline-flex; width: fit-content; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.875rem; background: var(--grey); padding: 0.25rem 0.75rem; }
.tl-step .dur .i { width: 1.1em; height: 1.1em; color: var(--orange-t); }
.tl-step img { margin-top: 0.75rem; max-width: 100%; }
@media (min-width: 900px) {
  .tl { gap: 3.5rem; }
  .tl-step { width: calc(50% - 4rem); padding: 0; text-align: right; justify-items: end; }
  .tl-step:nth-of-type(even) { margin-left: auto; text-align: left; justify-items: start; }
  .tl-step:nth-of-type(odd) .num { left: auto; right: -6rem; }
  .tl-step:nth-of-type(even) .num { left: -6rem; right: auto; }
}

/* Before / after comparator (a native range input: keyboard, touch and mouse for free) */
.ba { margin: 0; display: grid; gap: 1rem; --pos: 50%; }
.ba-stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--steel-2); touch-action: pan-y; user-select: none; }
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-stage .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before.fx-plan { filter: grayscale(1) contrast(1.25) brightness(0.55) sepia(1) hue-rotate(175deg) saturate(2.4); }
.ba-before.fx-old { filter: grayscale(0.85) contrast(0.85) brightness(0.72) sepia(0.35); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--orange); pointer-events: none; z-index: 2; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; background: var(--orange); color: var(--steel); border: 4px solid var(--steel); z-index: 3; pointer-events: none; }
.ba-tag { position: absolute; z-index: 3; top: 1rem; background: var(--steel); color: var(--paper); font: 800 1.1rem/1 var(--f-display); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.45rem 0.9rem; }
.ba-tag--b { left: 0; }
.ba-tag--a { right: 0; background: var(--orange); color: var(--steel); }
.ba-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; appearance: none; -webkit-appearance: none; background: transparent; touch-action: pan-y; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; }
.ba-range::-moz-range-thumb { width: 56px; height: 100vh; border: 0; }
.ba-stage:has(.ba-range:focus-visible) { outline: 4px solid var(--orange); outline-offset: 4px; }
.ba-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ba figcaption { color: var(--muted); font-size: 0.9375rem; max-width: 70ch; }
.ba:not(.is-live) .ba-range, .ba:not(.is-live) .ba-line, .ba:not(.is-live) .ba-handle, .ba:not(.is-live) .ba-actions { display: none; }
.ba:not(.is-live) .ba-stage { aspect-ratio: auto; display: grid; gap: 0.75rem; background: none; }
.ba:not(.is-live) .ba-stage img { position: static; height: auto; aspect-ratio: 3 / 2; }
.ba:not(.is-live) .ba-stage .ba-before { clip-path: none; }
.ba:not(.is-live) .ba-tag { position: static; width: fit-content; }
@media (min-width: 900px) { .ba-stage { aspect-ratio: 16 / 9; } }
.keys { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.keys li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--muted); }
kbd { font: 700 0.85rem/1 var(--f-body); background: var(--paper); border: 2px solid var(--steel); padding: 0.2rem 0.5rem; box-shadow: 0 2px 0 var(--steel); }

/* Estimator */
.est { background: var(--steel); color: var(--paper); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; }
.est .est-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: #d3d8dd; }
.est .est-big { font: 900 clamp(2.8rem, 1.6rem + 4vw, 4.6rem)/0.95 var(--f-display); color: var(--orange); font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
.est dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 1rem; margin: 0; font-size: 0.9375rem; border-top: 1px solid rgb(255 255 255 / 0.25); padding-top: 1rem; }
.est dt { color: #d3d8dd; }
.est dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.est .sim-note { color: #d3d8dd; }
.est .sim-note .i { color: var(--orange); }

/* Forms */
.field { display: grid; gap: 0.45rem; align-content: start; min-width: 0; }
.field > label, .lab { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.field .opt { font-weight: 500; color: var(--muted); letter-spacing: 0; text-transform: none; }
.field .hint { font-size: 0.875rem; color: var(--muted); }
.in { width: 100%; min-height: 54px; padding: 0.7rem 1rem; background: #fff; border: 2px solid var(--edge); border-radius: 0; transition: border-color 0.2s, box-shadow 0.2s; }
textarea.in { min-height: 130px; resize: vertical; line-height: 1.5; }
select.in { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171b1f' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 20px; padding-right: 2.75rem; }
.in:hover { border-color: var(--steel); }
.in:focus-visible { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--steel); }
.in[aria-invalid="true"] { border-color: var(--err); background: var(--err-bg); }
.err { display: none; align-items: flex-start; gap: 0.45rem; color: var(--err); font-size: 0.9375rem; font-weight: 700; }
.err .i { margin-top: 0.15em; }
.field.has-err .err { display: flex; animation: shake 0.45s var(--ease); }
@keyframes shake { 20% { transform: translateX(-5px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-2px); } }
.count { font-size: 0.8125rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.fgrid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fgrid .full { grid-column: 1 / -1; } }
.choice { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 4rem; padding: 0.4rem 1.1rem; border: 2px solid var(--edge); background: #fff; font: 800 1.1rem/1 var(--f-display); letter-spacing: 0.05em; text-transform: uppercase; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.choice label:hover span { border-color: var(--steel); }
.choice input:checked + span { background: var(--steel); border-color: var(--steel); color: var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.choice.has-err span { border-color: var(--err); }
.check { display: flex; gap: 0.8rem; align-items: flex-start; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--steel); flex: none; }
.check label { font-size: 0.975rem; }
.summary-err { display: none; margin-bottom: 1.5rem; padding: 1rem 1.25rem; background: var(--err-bg); border: 2px solid var(--err); color: #5a1109; }
.summary-err.is-on { display: block; animation: rise 0.5s var(--ease) both; }
.summary-err h3 { font: 800 1.5rem/1 var(--f-display); color: var(--err); }
.summary-err ul { margin-top: 0.5rem; display: grid; gap: 0.25rem; }
.summary-err a { color: #5a1109; text-underline-offset: 3px; }
.spin { display: none; width: 1.1em; height: 1.1em; border-radius: 50%; border: 3px solid rgb(255 255 255 / 0.4); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.is-sending .spin { display: inline-block; }
.is-sending .btn .i-go { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.panel { background: var(--paper); padding: clamp(1.5rem, 4vw, 2.5rem); }
.success { display: none; text-align: center; justify-items: center; gap: 1rem; padding-block: 1rem; }
.is-done .success { display: grid; animation: rise 0.7s var(--ease) both; }
.is-done form { display: none; }
.success .big-check { width: 84px; height: 84px; background: var(--steel); display: grid; place-items: center; color: var(--orange); }
.success .big-check svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: square; }
.success .big-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.7s var(--ease) 0.25s forwards; }
.success h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.success dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem 1.25rem; text-align: left; background: var(--grey); padding: 1.25rem 1.5rem; margin: 0.5rem 0; width: 100%; max-width: 34rem; }
.success dt { color: var(--muted); font-size: 0.9375rem; }
.success dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.sim-note { font-size: 0.875rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: flex-start; text-align: left; }
.sim-note .i { margin-top: 0.15em; color: var(--orange-t); }
.formwrap { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 960px) { .formwrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .formwrap--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-sec { font: 800 1.9rem/1 var(--f-display); text-transform: uppercase; margin: 0 0 1.1rem; display: flex; align-items: center; gap: 0.75rem; }
.form-sec .n { display: grid; place-items: center; width: 40px; height: 40px; background: var(--steel); color: var(--orange); font-size: 1.4rem; }
.side-info { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.side-info li { display: flex; gap: 1rem; align-items: flex-start; }
.side-info .ico { display: grid; place-items: center; width: 48px; height: 48px; background: var(--steel); color: var(--orange); flex: none; }
.side-info b { display: block; font-weight: 800; }
.side-info span { color: var(--muted); font-size: 0.975rem; }

/* Project page */
.fx-head { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 900px) { .fx-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.fx-head h1 { font-size: clamp(3rem, 1.4rem + 6vw, 6.4rem); }
.fx-ref { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.gallery { display: grid; gap: 0.75rem; }
.stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--steel-2); }
@media (min-width: 900px) { .stage { aspect-ratio: 16 / 9; } }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-img.is-in { animation: planks 0.9s var(--ease) both; -webkit-mask: repeating-linear-gradient(90deg, #000 0, #000 var(--w), transparent var(--w), transparent 20%); mask: repeating-linear-gradient(90deg, #000 0, #000 var(--w), transparent var(--w), transparent 20%); }
.stage-btn { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 56px; height: 56px; display: grid; place-items: center; border: 0; background: var(--paper); color: var(--steel); cursor: pointer; transition: background-color 0.2s; }
.stage-btn:hover { background: var(--orange); }
.stage-btn--prev { left: 0.75rem; }
.stage-btn--next { right: 0.75rem; }
.stage-count { position: absolute; z-index: 3; right: 0; bottom: 0; background: var(--steel); color: var(--paper); font: 800 1.2rem/1 var(--f-display); padding: 0.5rem 0.9rem; font-variant-numeric: tabular-nums; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.thumbs button { position: relative; padding: 0; border: 0; background: var(--steel); cursor: pointer; aspect-ratio: 3 / 2; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.3s, transform 0.8s var(--ease); }
.thumbs button:hover img { opacity: 0.95; transform: scale(1.05); }
.thumbs button[aria-current="true"] img { opacity: 1; }
.thumbs button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; border: 4px solid var(--orange); pointer-events: none; }
.fx-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .fx-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 4px solid var(--steel); margin: 0; }
@media (min-width: 640px) { .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.specs div { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.specs dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.specs dd { margin: 0.2rem 0 0; font: 800 1.9rem/1 var(--f-display); text-transform: uppercase; overflow-wrap: anywhere; font-variant-numeric: lining-nums; }
.fx-text { margin-top: 2.25rem; }
.fx-text h2, .fx-block h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 1rem; }
.fx-text p { color: var(--muted); max-width: 62ch; }
.fx-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.phases { display: grid; gap: 0.6rem; counter-reset: p; }
.phases li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; background: var(--paper); padding: 0.9rem 1rem; }
.phases .pn { display: grid; place-items: center; width: 40px; height: 40px; background: var(--steel); color: var(--orange); font: 900 1.4rem/1 var(--f-display); }
.phases b { font-weight: 800; }
.phases .bar { grid-column: 1 / -1; height: 6px; background: var(--grey); position: relative; overflow: hidden; }
.phases .bar i { position: absolute; inset: 0 auto 0 0; background: var(--orange); width: var(--bw, 0%); transform-origin: 0 50%; }
.phases .m { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) { .rv .phases:not(.is-in) .bar i { transform: scaleX(0); } .rv .phases .bar i { transition: transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); } }
.aside-stack { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .aside-stack { position: sticky; top: calc(var(--head-h) + 16px); } }
.notfound { display: none; padding-block: 3rem; }
.notfound.is-on { display: grid; gap: 1rem; justify-items: start; }

/* Team and contact */
.people { display: grid; gap: 2rem 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--grey); }
.person-img .scaf { position: absolute; inset: 0; }
.person-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(0.2); transition: transform 1s var(--ease), filter 0.5s; }
.person:hover .person-img img { transform: scale(1.05); filter: none; }
.flag { position: absolute; z-index: 2; left: 0; bottom: 0; background: var(--steel); color: var(--paper); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.7rem; }
.person-body { padding-top: 1rem; display: grid; gap: 0.25rem; }
.person-body .role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-t); }
.person-body h3 { font-size: 2rem; }
.person-body p { color: var(--muted); font-size: 0.975rem; }
.info-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.info-card { background: var(--paper); padding: 1.5rem; display: grid; gap: 0.5rem; position: relative; overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.info-card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--steel); }
.info-card .ico { display: grid; place-items: center; width: 48px; height: 48px; background: var(--steel); color: var(--orange); }
.info-card b { font-weight: 800; }
.info-card p { color: var(--muted); overflow-wrap: anywhere; }
.fake { display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 0.1rem 0.55rem; background: var(--orange); color: var(--steel); vertical-align: middle; margin-left: 0.35rem; letter-spacing: 0.04em; }
.map { margin: 0; position: relative; background: #d9dcd8; aspect-ratio: 16 / 10; overflow: hidden; }
.map svg { width: 100%; height: 100%; }
.map .road { fill: none; stroke: #fff; stroke-linecap: square; }
.map .pin-pulse { transform-box: fill-box; transform-origin: center; animation: ping 1.6s ease-out 0.4s 3; }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
.map figcaption { position: absolute; left: 0; bottom: 0; background: var(--paper); font-size: 0.8125rem; font-weight: 700; padding: 0.55rem 0.9rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours th { color: var(--muted); }
.hours td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* CTA and inner hero */
.cta { background: var(--steel); color: var(--paper); padding: clamp(2.5rem, 6vw, 5rem); display: grid; gap: 1.5rem; justify-items: start; position: relative; overflow: clip; isolation: isolate; }
.cta::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: min(40%, 420px); background: var(--hazard); background-size: 40px 40px; opacity: 0.16; z-index: -1; -webkit-mask: linear-gradient(90deg, transparent, #000); mask: linear-gradient(90deg, transparent, #000); }
.cta h2 { color: #fff; max-width: 14ch; }
.cta p { max-width: 50ch; }
.cta .btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.phero { background: var(--steel); color: var(--paper); padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); position: relative; overflow: clip; }
.phero .blueprint { opacity: 0.28; }
.phero .wrap { position: relative; }
.phero h1 { font-size: clamp(3rem, 1.4rem + 7vw, 7rem); margin-top: 1.1rem; color: #fff; max-width: 14ch; }
.phero .lead { margin-top: 1.25rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: #d3d8dd; }
.crumbs a { text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }

/* Footer */
.foot { background: var(--steel); color: #d3d8dd; padding-block: clamp(3rem, 6vw, 5rem) 2rem; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--hazard); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { display: grid; gap: 2.5rem; padding-top: 1.5rem; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.foot .brand { color: #fff; }
.foot .brand-name small { color: var(--orange); }
.foot h2 { font: 800 1.3rem/1.2 var(--f-display); letter-spacing: 0.08em; color: var(--orange); margin-bottom: 1rem; }
.foot li + li { margin-top: 0.55rem; }
.foot p { font-size: 0.975rem; }
.foot-disc { margin-top: 1rem; max-width: 36ch; color: #b9c0c7; font-size: 0.875rem; }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.18); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; font-size: 0.875rem; color: #b9c0c7; }
.made { display: inline-flex; align-items: center; gap: 0.75rem; color: #fff; }
.made a { display: inline-flex; background: var(--paper); padding: 6px 12px; }
.made img { height: 26px; width: auto; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .blueprint .ln { stroke-dashoffset: 0; }
  .success .big-check path { stroke-dashoffset: 0; }
  .head::after { display: none; }
  @view-transition { navigation: none; }
}
@media print { .strip, .nav-toggle, .head { display: none; } body { padding: 0; } }
