/* Archelo — marketing site. One stylesheet, one design system. */

@font-face { font-family: Inter; src: url('/assets/fonts/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --brown: #49372B;
  --ink: #2B211A;
  --ink-2: #5E5145;
  --ink-3: #8A7C6E;
  --paper: #F4F0E8;
  --paper-2: #EBE4D8;
  --sheet: #FBF8F2;
  --line: rgba(73, 55, 43, .14);
  --line-2: rgba(73, 55, 43, .28);
  --terra: #C65E35;
  --terra-2: #A54B27;
  --terra-soft: #E9A07D;
  --night: #1F1813;
  --night-brown: #3B2C22;
  --glass: rgba(59, 44, 34, .46);
  --glass-line: rgba(244, 240, 232, .32);
  --glass-blur: blur(18px) saturate(1.25);
  --night-2: #2A211A;
  --on-night: #F4F0E8;
  --on-night-2: rgba(244, 240, 232, .64);
  --night-line: rgba(244, 240, 232, .13);
  --ok: #4C7656;
  --warn: #9A6B22;
  --bad: #B0452A;
  --wrap: 1760px;
  --gut: clamp(16px, 1.8vw, 28px);
  --nav-h: 68px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 1px rgba(43, 33, 26, .04), 0 12px 32px -12px rgba(43, 33, 26, .16), 0 40px 80px -40px rgba(43, 33, 26, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 Inter, system-ui, -apple-system, sans-serif; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--terra); color: var(--paper); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 11.5px; line-height: 1.4; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.muted { opacity: .75; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.fine { font-size: 13px; line-height: 1.5; color: var(--ink-3); max-width: 80ch; }
.note { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--brown); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap; border: 1px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn .arrow { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn-solid { background: var(--brown); color: var(--paper); }
.btn-solid:hover { background: var(--ink); }
.btn-line { background: var(--paper-2); color: var(--ink); }
.btn-line:hover { background: var(--brown); color: var(--paper); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--brown); }
.btn-paper:hover { background: #fff; }
.btn-line-light { color: var(--on-night); background: rgba(244, 240, 232, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-line-light:hover { background: rgba(244, 240, 232, .18); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease); }
.link .arrow { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link:hover .arrow { transform: translateX(3px); }
.inline-link { color: var(--terra-2); text-decoration: underline; text-underline-offset: 3px; }

.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.chip-ok { background: rgba(76, 118, 86, .13); color: var(--ok); }
.chip-warn { background: rgba(154, 107, 34, .14); color: var(--warn); }
.chip-bad { background: rgba(176, 69, 42, .12); color: var(--bad); }
.chip-pend { background: rgba(138, 124, 110, .15); color: var(--ink-2); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244, 240, 232, .86); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav { transition: border-color .3s, background-color .35s var(--ease), color .35s; }
.nav.is-scrolled { border-bottom-color: transparent; }
.is-home .nav:not(.is-solid) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-home .nav:not(.is-solid) .brand, .is-home .nav:not(.is-solid) .nav-links > a, .is-home .nav:not(.is-solid) .nav-item > button, .is-home .nav:not(.is-solid) .nav-login, .is-home .nav:not(.is-solid) .lang a { color: var(--paper); }
.is-home .nav:not(.is-solid) .lang a:not([aria-current]) { opacity: .7; }
.is-home .nav:not(.is-solid) .nav-links > a:hover, .is-home .nav:not(.is-solid) .nav-item > button:hover, .is-home .nav:not(.is-solid) .nav-item > button[aria-expanded="true"] { background: rgba(244, 240, 232, .14); }
.is-home .nav:not(.is-solid) .btn-pill { background: var(--paper); color: var(--brown); }
.is-home .nav:not(.is-solid) .btn-pill i { background: var(--brown); color: var(--paper); }
.is-home .nav:not(.is-solid) .nav-toggle span { background: var(--paper); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; height: var(--nav-h); max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; letter-spacing: -.03em; font-weight: 400; color: var(--brown); }
.brand .symbol { width: 24px; height: 24px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: -12px; }
.nav-links > a, .nav-item > button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links > a:hover, .nav-item > button:hover, .nav-item > button[aria-expanded="true"] { color: var(--ink); background: rgba(73, 55, 43, .06); }
.caret { width: 7px; height: 7px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
[aria-expanded="true"] > .caret { transform: translateY(1px) rotate(-135deg); }
.nav-item { position: relative; }
.menu { position: absolute; top: calc(100% + 12px); left: -12px; width: 680px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; padding: 8px; background: rgba(59, 44, 34, .97); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); color: var(--on-night); border-radius: 16px; box-shadow: 0 30px 80px -24px rgba(20, 14, 10, .6); animation: menu-in .28s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.menu-links { display: grid; align-content: start; padding: 4px; }
.menu-links a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 14px 12px; border-radius: 10px; transition: background .2s; }
.menu-links a:hover { background: rgba(244, 240, 232, .1); }
.menu-num { font-family: var(--mono); font-size: 11px; color: #E09A7A; padding-top: 3px; }
.menu-links strong { display: block; font-weight: 500; font-size: 15px; color: var(--on-night); }
.menu-links small { display: block; font-size: 13.5px; color: rgba(244, 240, 232, .62); margin-top: 2px; }
.menu-feature { display: grid; align-content: start; gap: 6px; padding: 10px 10px 16px; border-radius: 10px; background: rgba(244, 240, 232, .08); color: var(--on-night); text-align: left; transition: background .2s; }
.menu-feature:hover { background: rgba(244, 240, 232, .14); }
.menu-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.menu-feature img.shot { object-position: left top; background: var(--paper); }
.menu-feature strong { font-weight: 500; font-size: 16px; }
.menu-feature small { color: rgba(244, 240, 232, .62); font-size: 13.5px; }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nav-login { font-size: 15px; color: var(--ink-2); padding: 8px 6px; }
.nav-login:hover { color: var(--ink); }
.lang { display: flex; align-items: center; gap: 2px; margin-right: 6px; font-family: var(--mono); font-size: 12px; }
.lang a { padding: 6px 7px; border-radius: 6px; color: var(--ink-3); }
.lang a[aria-current] { color: var(--ink); }
.lang a:hover { color: var(--ink); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 999px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: grid; padding: 8px var(--gut) 24px; border-top: 1px solid var(--line); }
.mobile-menu a, .mobile-menu button { display: block; text-align: left; padding: 14px 0; font-size: 20px; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(88px, 11vw, 168px) 0; }
.section.tight { padding: clamp(40px, 6vw, 80px) 0; }
.section + .section:not(.dark):not(.tight):not(.tinted):not(.white) { padding-top: clamp(24px, 4vw, 64px); }
.dark { background: var(--night); color: var(--on-night); }
.dark .mono, .dark .fine { color: var(--on-night-2); }
.dark .lead, .dark p { color: var(--on-night-2); }
.dark h2, .dark h3 { color: var(--on-night); }
.dark .index { border-color: var(--night-line); }
.dark .index span:first-child { color: var(--terra-soft); }
h2 { font-size: clamp(30px, 3vw, 46px); line-height: 1.1; letter-spacing: -.022em; color: var(--ink); }
.index { display: flex; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.index span:first-child { color: var(--terra); }
.section-head { margin-bottom: clamp(40px, 5.5vw, 80px); }
.section-head .index { margin-bottom: clamp(28px, 3.5vw, 48px); }
.head-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 32px; align-items: end; }
.head-grid h2 { grid-column: 1 / span 7; max-width: 16ch; }
.head-side { grid-column: 9 / span 4; display: grid; gap: 22px; justify-items: start; }
.section-head.stacked .head-grid { display: block; }
.section-head.stacked .head-side { margin-top: 24px; }

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- shared ui bits */
.announce { background: var(--brown); color: var(--paper); font-size: 13.5px; }
.announce a { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; padding: 9px var(--gut); }
.announce span { color: rgba(244, 240, 232, .68); transition: color .2s; }
.announce a:hover span { color: var(--paper); }
.btn-pill { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 5px 0 18px; border-radius: 999px; background: var(--brown); color: var(--paper); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background .25s var(--ease); }
.btn-pill i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--brown); }
.btn-pill .arrow { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.btn-pill:hover { background: var(--ink); }
.btn-pill:hover .arrow { transform: translateX(2px); }
.btn-pill.light { background: var(--paper); color: var(--brown); }
.btn-pill.light i { background: var(--brown); color: var(--paper); }
.btn-pill.light:hover { background: #fff; }
.hook { display: inline-flex; gap: 8px; align-items: baseline; font-size: 15px; color: var(--ink); transition: color .2s; }
.hook span { color: var(--terra); transition: transform .3s var(--ease); }
.hook:hover { color: var(--terra-2); }
.hook:hover span { transform: translateX(3px); }
.ui-brand { display: inline-flex; align-items: center; gap: 7px; color: var(--brown); font-size: 15px; letter-spacing: -.02em; }
.ui-brand .symbol { width: 16px; height: 16px; }
.ui-dots { display: inline-flex; gap: 6px; }
.ui-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--paper-2); }
.arch-frame { position: relative; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--paper-2); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame::after { content: ""; position: absolute; inset: 14px 14px 0; border: 1px solid rgba(244, 240, 232, .55); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }

/* ---------------------------------------------------------------- home: hero */
.hero-full { position: relative; margin-top: calc(var(--nav-h) * -1 - 1px); height: calc(100svh - 38px); min-height: 560px; max-height: 1040px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; color: var(--paper); background: var(--night); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 24, 19, .15) 0%, rgba(31, 24, 19, 0) 35%, rgba(31, 24, 19, .62) 100%); }
.hero-copy { position: relative; z-index: 1; text-align: center; padding: 0 var(--gut) clamp(48px, 9vh, 104px); }
.hero-copy h1 { font-size: clamp(42px, 5vw, 78px); line-height: 1.06; letter-spacing: -.028em; color: var(--paper); }
.hero-sub { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 34px; font-size: 17px; color: rgba(244, 240, 232, .88); }
.hero-sub .btn-pill { background: var(--paper); color: var(--brown); }
.hero-sub .btn-pill i { background: var(--brown); color: var(--paper); }

/* ---------------------------------------------------------------- home: project layers */
.intro { text-align: center; padding: clamp(96px, 12vw, 176px) var(--gut) clamp(64px, 7vw, 112px); }
.intro h2 { margin: 0 auto; max-width: 24ch; text-wrap: balance; }
.intro p { margin: 22px auto 0; color: var(--ink-2); font-size: 18px; max-width: 58ch; text-wrap: pretty; }
.layers { --stage: #ECE5DA; position: relative; height: calc((var(--n) + 1) * 72vh + 100vh); background: var(--stage); }
.layers-sticky { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden; display: grid; grid-template-columns: minmax(260px, 400px) 1fr; align-items: center; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.layer-list { position: relative; z-index: 2; display: grid; gap: 8px; justify-items: start; }
.layer-item button { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 6px 0 16px; border-radius: 999px; background: rgba(73, 55, 43, .88); color: var(--paper); font-size: 14.5px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .25s; }
.layer-item button:hover { background: var(--brown); }
.layer-item button .plus { width: 26px; height: 26px; padding: 7px; border-radius: 50%; background: rgba(244, 240, 232, .16); }
.layer-card { display: none; }
.layer-item.active button { display: none; }
.layer-item.active .layer-card { display: block; max-width: 380px; padding: 16px 20px 18px; border-radius: 16px; background: rgba(73, 55, 43, .92); color: var(--paper); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: panel-in .45s var(--ease); }
.layer-card-title { font-size: 13px; color: rgba(244, 240, 232, .62); margin-bottom: 6px; }
.layer-card p:last-child { font-size: 15.5px; line-height: 1.5; }
.stack { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; }
.layer-list, .layers-progress { z-index: 2; }
.stack.webgl .stack-3d { display: none; }
.stack-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stack-3d { position: relative; width: min(38vw, 500px); aspect-ratio: 1; margin-top: 10vh; transform: rotateX(57deg) rotateZ(-42deg); transform-style: preserve-3d; }
.plate { position: absolute; inset: 0; border-radius: 22px; transform-style: preserve-3d; opacity: 0; transform: translateZ(calc(var(--i) * 30px + 320px)); transition: transform 1.1s var(--ease), opacity .7s var(--ease), box-shadow .6s; background-color: #FBF8F2; box-shadow: inset 0 0 0 1px rgba(73, 55, 43, .14), inset 0 0 0 6px rgba(255, 255, 255, .5); }
.plate::before { content: ""; position: absolute; inset: 0; border-radius: inherit; transform: translateZ(-10px); background: #D9CDBD; box-shadow: -34px 46px 60px rgba(43, 33, 26, .2); }
.plate.on { opacity: 1; transform: translateZ(calc(var(--i) * 30px)); }
.plate.current { transform: translateZ(calc(var(--i) * 30px + 46px)); box-shadow: inset 0 0 0 1.5px var(--terra), inset 0 0 0 6px rgba(255, 255, 255, .5); }
.plate-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(0deg); display: inline-flex; align-items: center; gap: 10px; font-size: clamp(17px, 1.7vw, 24px); letter-spacing: -.02em; color: var(--ink-2); white-space: nowrap; }
.plate-norm { background-image: repeating-linear-gradient(0deg, transparent 0 26px, rgba(73, 55, 43, .08) 26px 28px); background-size: 70% 60%; background-position: 50% 50%; background-repeat: no-repeat; }
.plate-plan { background-image: linear-gradient(rgba(73, 55, 43, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(73, 55, 43, .07) 1px, transparent 1px); background-size: 32px 32px; }
.plate-data { background-image: radial-gradient(rgba(73, 55, 43, .2) 1.2px, transparent 1.6px); background-size: 22px 22px; }
.plate-check { background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(198, 94, 53, .07) 14px 15px); }
.plate-docs { background-image: repeating-linear-gradient(90deg, transparent 0 40px, rgba(73, 55, 43, .06) 40px 41px); }
.plate-top { background: var(--brown); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.plate-top::before { background: #2E231B; }
.plate-top .plate-label { color: var(--paper); font-size: clamp(24px, 2.6vw, 38px); }
.plate-top .symbol { width: 1em; height: 1em; color: var(--terra-soft); }
.plate-top.current { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transform: translateZ(calc(var(--i) * 30px + 20px)); }
.layers-progress { position: absolute; left: var(--gut); bottom: 28px; width: 88px; height: 4px; border-radius: 4px; background: rgba(73, 55, 43, .16); overflow: hidden; }
.layers-progress span { display: block; height: 100%; width: 0; background: var(--brown); }

/* ---------------------------------------------------------------- home: blocks */
.block { padding: clamp(96px, 11vw, 168px) 0; }
.block-head { display: grid; gap: 22px; max-width: 560px; margin-bottom: clamp(48px, 6vw, 88px); }
.block-head p, .center-head p { color: var(--ink-2); font-size: 17px; }
.center-head { display: grid; justify-items: center; gap: 18px; text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.center-head p { max-width: 50ch; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px clamp(16px, 2vw, 32px); }
.feature { display: grid; gap: 10px; align-content: start; justify-items: start; }
.feature-visual { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.08; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #EFE9DF, #E2D9CB); margin-bottom: 14px; }
.feature-visual img { position: absolute; left: 14%; top: 14%; width: 160%; max-width: none; height: auto; border-radius: 8px; box-shadow: 0 1px 2px rgba(43, 33, 26, .08), 0 24px 48px -18px rgba(43, 33, 26, .35); transition: transform 1s var(--ease); }
.feature:hover .feature-visual img { transform: translate(-2%, -2%); }
.feature h3 { font-size: 18px; letter-spacing: -.01em; }
.feature > p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.feature .hook { margin-top: 6px; }

/* ---------------------------------------------------------------- home: teams carousel */
.teams-block { overflow: hidden; }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 32px; }
.carousel-nav > button { width: 38px; height: 38px; border-radius: 50%; background: var(--paper-2); font-size: 15px; transition: background .2s, color .2s; }
.carousel-nav > button:hover { background: var(--brown); color: var(--paper); }
.dots { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--paper-2); }
.dots button { width: 6px; height: 6px; border-radius: 3px; background: var(--ink-3); opacity: .45; transition: width .35s var(--ease), opacity .3s; }
.dots button.on { width: 20px; opacity: 1; background: var(--brown); }
.team-track { display: flex; gap: 24px; align-items: flex-start; transition: transform .9s var(--ease); will-change: transform; touch-action: pan-y; }
.team { flex: 0 0 clamp(270px, 32vw, 500px); transform: scale(.78); transform-origin: 50% 0; opacity: .6; transition: transform .9s var(--ease), opacity .6s; }
.team.active { transform: none; opacity: 1; }
.team-media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; }
.team-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.team.active .team-media:hover img { transform: scale(1.04); }
.team-media::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(31, 24, 19, .55)); }
.team-media span { position: absolute; z-index: 1; left: 18px; bottom: 14px; color: var(--paper); font-size: 17px; letter-spacing: -.01em; }
.team-body { display: grid; gap: 8px; justify-items: start; padding-top: 20px; opacity: 0; transition: opacity .5s var(--ease); }
.team.active .team-body { opacity: 1; }
.team-body h3 { font-size: 22px; letter-spacing: -.02em; }
.team-body p { color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }

/* ---------------------------------------------------------------- home: banner, impact, vision */
.impact { padding-bottom: clamp(96px, 11vw, 168px); }
.film { position: relative; height: clamp(420px, 80vh, 860px); overflow: hidden; background: var(--night); }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 24, 19, 0) 40%, rgba(31, 24, 19, .6)); pointer-events: none; }
.film-copy { position: absolute; z-index: 1; left: var(--gut); right: var(--gut); bottom: clamp(56px, 8vh, 96px); }
.film-copy h2 { color: var(--paper); font-size: clamp(34px, 4vw, 62px); line-height: 1.08; }
.film-meta { z-index: 1; position: absolute; left: var(--gut); right: var(--gut); bottom: 18px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: rgba(244, 240, 232, .8); }
.film-meta a:hover, .film-toggle:hover { color: var(--paper); }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); padding-top: clamp(48px, 6vw, 96px); }
.impact-copy p { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.22; letter-spacing: -.025em; margin-bottom: 26px; }
.stats { margin-bottom: 20px; }
.stats li { display: grid; grid-template-columns: minmax(150px, 1fr) 1.2fr; gap: 24px; align-items: end; padding: 28px 0; border-bottom: 1px solid var(--line); }
.stats li:first-child { padding-top: 0; }
.stat-num { font-size: clamp(72px, 8vw, 128px); line-height: .88; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: clamp(28px, 3.2vw, 48px); line-height: 1; letter-spacing: -.035em; max-width: 12ch; }
.stats li div { display: grid; gap: 6px; padding-bottom: 8px; }
.stats li div p { color: var(--ink-2); font-size: 15.5px; }
.stats small { font-size: 12.5px; color: var(--terra-2); }
.vision { background: var(--paper-2); padding: clamp(96px, 11vw, 160px) 0; }
.vision-grid, .vision-media { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); }
.vision h2 { font-size: clamp(32px, 3.4vw, 50px); }
.vision-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vision-cols p { color: var(--ink-2); font-size: 16px; margin-bottom: 16px; }
.vision-media { align-items: end; margin-top: clamp(56px, 7vw, 104px); }
.founder img { width: min(100%, 300px); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 4px; }
.founder figcaption { display: grid; margin-top: 14px; font-size: 14.5px; }
.founder .signature { width: 170px; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; margin: 2px 0 8px -4px; opacity: .92; }
.founder figcaption span { color: var(--ink-3); }
.slash { display: block; margin-top: 28px; font-size: 48px; font-weight: 200; line-height: 1; color: var(--terra); }
.vision-photo { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 4px; }
.vision-photo img { width: 100%; height: 116% !important; margin-top: -8%; object-fit: cover; will-change: transform; }

/* ---------------------------------------------------------------- home: regulations, cta card */
.norms { background: var(--night); color: var(--on-night); padding: clamp(88px, 10vw, 152px) 0; }
.norms-head { display: grid; gap: 14px; justify-items: start; max-width: 760px; }
.norms-head h2 { color: var(--on-night); }
.norms .hook { color: var(--on-night); font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -.02em; }
.norms .hook span { color: var(--terra-soft); }
.norms-sub { color: var(--on-night-2); max-width: 58ch; margin: 28px 0 clamp(40px, 5vw, 64px); }
.norm-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--night-line); border-radius: 6px; overflow: hidden; margin-bottom: 24px; }
.norm { display: flex; flex-direction: column; gap: 12px; min-height: 310px; padding: 26px 24px 22px; background: var(--night); transition: background .3s var(--ease); }
.norm:hover { background: var(--night-2); }
.norm h3 { font-size: 17px; letter-spacing: -.01em; line-height: 1.3; color: var(--on-night); }
.norm p { font-size: 14px; line-height: 1.5; color: var(--on-night-2); }
.norm-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.norm-badge { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(244, 240, 232, .1); font-size: 12px; letter-spacing: .03em; color: var(--on-night); transition: border-color .3s, color .3s; }
.norm:hover .norm-badge { background: rgba(244, 240, 232, .18); color: var(--terra-soft); }
.norm-foot .mono { color: var(--on-night-2); font-size: 10.5px; }
.norm-foot .arrow { margin-left: auto; width: 14px; height: 14px; color: var(--on-night-2); }
.norms .fine { color: var(--on-night-2); }
.cta-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); max-width: 1120px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); border-radius: 18px; background: var(--brown); color: var(--paper); }
.cta-card-copy { display: grid; gap: 22px; align-content: center; justify-items: start; }
.cta-card h2 { color: var(--paper); font-size: clamp(30px, 3.2vw, 46px); }
.cta-card p { color: rgba(244, 240, 232, .76); }
.cta-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.cta-card .hook { color: var(--paper); }
.cta-card .hook span { color: var(--terra-soft); }
.cta-card-art { position: relative; display: block; min-height: 400px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #F4EFE6, #E4DACB); }
.cta-card-art img { position: absolute; left: 10%; top: 12%; width: 150%; max-width: none; height: auto; border-radius: 8px; box-shadow: 0 30px 60px -24px rgba(20, 14, 10, .5); transition: transform 1s var(--ease); }
.cta-card:hover .cta-card-art img { transform: translate(-2%, -2%); }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--paper); color: var(--ink); padding: clamp(72px, 8vw, 112px) 0 28px; border-top: 1px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols p { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.footer-cols a { display: block; padding: 4px 0; font-size: 15px; color: var(--brown); transition: color .2s; }
.footer-cols a:hover { color: var(--terra); }
.footer-mark { display: flex; justify-content: center; align-items: center; gap: .1em; margin: clamp(72px, 10vw, 150px) 0 clamp(48px, 6vw, 88px); color: var(--brown); font-size: clamp(64px, 14vw, 220px); letter-spacing: -.055em; line-height: 1; }
.footer-mark .symbol { width: .78em; height: .78em; flex: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom button:hover { color: var(--ink); }

/* ---------------------------------------------------------------- capabilities */
.cap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cap-list { display: grid; border-bottom: 1px solid var(--line); }
.cap-list [role="tab"] { position: relative; display: grid; gap: 8px; padding: 24px 0 24px 22px; text-align: left; border-top: 1px solid var(--line); color: var(--ink-3); transition: color .3s; }
.cap-list [role="tab"]::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 2px; background: var(--terra); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.cap-list [role="tab"][aria-selected="true"] { color: var(--ink); }
.cap-list [role="tab"][aria-selected="true"]::before { transform: none; }
.cap-list [role="tab"]:hover { color: var(--ink); }
.cap-list strong { font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.025em; line-height: 1.2; }
.cap-list [role="tab"] .mono { color: inherit; }
.cap-list [aria-selected="true"] .mono { color: var(--terra); }
.cap-desc { display: grid; grid-template-rows: 0fr; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); transition: grid-template-rows .5s var(--ease); }
.cap-desc > span { min-height: 0; overflow: hidden; }
[aria-selected="true"] > .cap-desc { grid-template-rows: 1fr; }
.cap-sheet { position: relative; background: var(--sheet); border-radius: 12px; box-shadow: var(--shadow); min-height: 560px; overflow: hidden; }
.sheet-head { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.sheet-head .mono:first-child { color: var(--ink); }
.cap-panel { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.ask { padding: 28px clamp(20px, 3vw, 36px) 32px; display: grid; gap: 20px; }
.bubble { justify-self: end; max-width: 78%; padding: 14px 18px; border-radius: 18px 18px 4px 18px; background: var(--brown); color: var(--paper); font-size: 15.5px; }
.answer { display: grid; gap: 14px; max-width: 92%; }
.answer-title { font-size: 21px; letter-spacing: -.02em; }
.answer p { color: var(--ink-2); font-size: 15.5px; }
.sources { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 4px; }
.sources th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 0 12px 8px 0; }
.sources td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.sources td.ok { color: var(--ok); }
.sources td.pend { color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 6px 12px; border: 1px dashed var(--line-2); border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.design, .comparer { display: grid; grid-template-columns: 1.1fr .9fr; }
.design-plan, .comparer-plan { padding: 24px; border-right: 1px solid var(--line); background: #FBF8F2; }
.design-plan .floorplan, .comparer-plan .floorplan { width: 100%; height: auto; }
.plan { animation: panel-in .45s var(--ease); }
.design-side, .comparer-side { display: grid; align-content: start; gap: 14px; padding: 28px clamp(20px, 2.6vw, 32px); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--paper-2); }
.seg button { display: grid; gap: 2px; padding: 8px 10px; border-radius: 9px; font-size: 12.5px; line-height: 1.25; color: var(--ink-2); text-align: left; transition: background .25s, color .25s, box-shadow .25s; }
.seg button b { font-weight: 500; font-size: 15px; color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(43, 33, 26, .12); }
.seg button[aria-pressed="true"] b { color: var(--terra); }
.design-title, .comparer-side h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin-top: 8px; }
.design-desc, .comparer-side p { color: var(--ink-2); font-size: 15px; }
.design-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.design-stats dt { font-size: 12.5px; color: var(--ink-3); }
.design-stats dd { font-size: 34px; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.check { padding: 26px clamp(20px, 3vw, 36px) 32px; display: grid; gap: 22px; }
.check-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 10px; }
.check-summary div { padding: 16px 18px; display: grid; gap: 2px; }
.check-summary div + div { border-left: 1px solid var(--line); }
.check-summary b { font-weight: 400; font-size: 36px; letter-spacing: -.04em; line-height: 1; }
.check-summary span { font-size: 13px; color: var(--ink-3); }
.review { display: grid; }
.review li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.review li:last-child { border-bottom: 1px solid var(--line); }
.review b { font-weight: 500; font-size: 13px; }
.review i { width: 12px; height: 12px; border-radius: 50%; }
.st-ok i { background: var(--ok); }
.st-ok b { color: var(--ok); }
.st-warn i { border: 2px solid var(--warn); }
.st-warn b { color: var(--warn); }
.st-bad i { background: var(--bad); box-shadow: 0 0 0 4px rgba(176, 69, 42, .14); }
.st-bad b { color: var(--bad); }
.st-pend i { border: 1.5px dashed var(--ink-3); }
.st-pend b { color: var(--ink-3); }
.doc { margin: 24px auto 32px; width: min(520px, calc(100% - 40px)); padding: 36px clamp(22px, 3vw, 40px) 40px; background: #FFFDF9; box-shadow: 0 18px 40px -24px rgba(43, 33, 26, .3); display: grid; gap: 10px; }
.doc-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); }
.doc h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.doc h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; margin-top: 10px; }
.doc p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.doc mark { background: rgba(198, 94, 53, .13); color: var(--terra-2); padding: 2px 6px; border-radius: 4px; margin-right: 4px; font-size: 13px; }
.cite { font-family: var(--mono); font-size: 11px; color: var(--terra); }

/* ---------------------------------------------------------------- page hero */
.page-hero { background: var(--night-brown); color: var(--on-night); padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 104px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-hero-copy { display: grid; gap: 28px; justify-items: start; padding-bottom: 8px; }
.crumb { display: flex; gap: 10px; color: var(--on-night-2); }
.crumb a:hover { color: var(--on-night); }
.page-hero h1 { font-size: clamp(40px, 4.4vw, 70px); line-height: 1.04; letter-spacing: -.032em; max-width: 15ch; color: var(--on-night); }
.page-hero .lead { color: var(--on-night-2); }
.page-hero-media .arch-frame { aspect-ratio: 4 / 5; max-height: 72vh; margin-left: auto; }
.page-hero-media .arch-frame img { transform: scale(1.02); }
/* photo scene with a capture of the app floating on brown glass */
.hero-scene { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; margin-left: auto; }
.hero-scene > img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }
/* light frosted glass, tinted with the paper colour */
.glass { background: rgba(244, 240, 232, .5); -webkit-backdrop-filter: blur(28px) saturate(1.4); backdrop-filter: blur(28px) saturate(1.4); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .55); }
.hero-scene .glass { position: absolute; left: -14%; bottom: 7%; width: 94%; border-radius: 18px; }
.gu { padding: 8px; color: var(--ink); font-size: 13px; line-height: 1.45; text-align: left; }
.gu-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 10px 10px; color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.gu-acts { display: flex; gap: 8px; align-items: center; }
.gu-ghost { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .45); color: var(--ink-2); font-size: 12px; }
.gu-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 8px; background: var(--brown); color: var(--paper); font-size: 12px; font-weight: 500; }
.gu-btn svg { width: 11px; height: 11px; }
.gu-step { padding: 10px 12px 11px; border-radius: 12px; background: rgba(255, 255, 255, .58); box-shadow: 0 1px 2px rgba(43, 33, 26, .05); }
.gu-step + .gu-step { margin-top: 6px; }
.gu-step small { display: block; font-size: 11px; color: var(--ink-2); margin-bottom: 5px; }
.gu-step p { margin: 0; color: var(--ink); }
.gu-chips + p { margin-top: 7px; }
.gu-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.gu-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 7px; border-radius: 7px; background: #fff; font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.gu-chip svg { width: 12px; height: 12px; flex: none; }
.gu mark { background: rgba(198, 94, 53, .14); color: var(--terra); padding: 1px 5px; border-radius: 5px; font-weight: 500; }

/* ---------------------------------------------------------------- product view */
.device { border-radius: 12px; overflow: hidden; background: var(--sheet); box-shadow: var(--shadow); }
.device-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.device-url { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); padding: 5px 14px; border-radius: 6px; background: var(--paper); }
.device-open { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.device-open .arrow { width: 13px; height: 13px; }
.device-open:hover { color: var(--terra); }
.device-screen { position: relative; aspect-ratio: 1500 / 960; overflow: hidden; background: var(--paper); }
.device-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.caption { margin-top: 16px; }

/* ---------------------------------------------------------------- facts / steps / splits */
.facts { border-top: 1px solid var(--line); padding-top: 18px; }
.facts-caption { margin-bottom: clamp(28px, 4vw, 48px); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fact-num { font-size: clamp(60px, 7.4vw, 116px); line-height: .95; letter-spacing: -.055em; color: var(--terra); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.facts-grid h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 6px; }
.facts-grid p:not(.fact-num) { color: var(--ink-2); font-size: 15.5px; max-width: 32ch; }
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.steps-head .section-head { margin-bottom: 0; }
.steps-list { border-bottom: 1px solid var(--line); }
.steps-list li { display: grid; grid-template-columns: minmax(120px, 180px) 1fr; gap: 6px 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps-list .mono { color: var(--terra); padding-top: 8px; }
.steps-list h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.028em; line-height: 1.15; }
.steps-list p { grid-column: 2; color: var(--ink-2); max-width: 52ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 104px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 5 / 5.6; }
.split-media figcaption { position: absolute; right: 12px; bottom: 10px; padding: 4px 8px; border-radius: 3px; background: rgba(244, 240, 232, .85); color: var(--ink-2); font-size: 10px; letter-spacing: .06em; text-transform: none; }
.split-media img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; will-change: transform; }
.split-copy { display: grid; gap: 22px; justify-items: start; }
.split-copy > p:not(.mono) { color: var(--ink-2); max-width: 46ch; }
.mini-list { width: 100%; border-bottom: 1px solid var(--line); }
.mini-list li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.mini-list strong { font-weight: 500; font-size: 16.5px; }
.mini-list span { color: var(--ink-2); font-size: 15px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rel { display: grid; grid-template-columns: 1fr auto; gap: 18px 16px; align-items: start; }
.rel-art { grid-column: 1 / -1; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 10; background: var(--sheet, #faf8f4); display: grid; place-items: center; transition: border-color .4s var(--ease); }
.rel:hover .rel-art { box-shadow: var(--shadow); }
.rel-art.photo img, .rel-art.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.rel-art.shot { align-items: start; padding: 24px 0 0 24px; background: var(--paper-2); }
.rel-art.shot img { object-position: top left; border-radius: 6px 0 0 0; box-shadow: 0 20px 50px -24px rgba(43, 33, 26, .5); }
.rel:hover .rel-art img { transform: scale(1.03); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; padding: 18px; }
.app-grid.compact { max-width: 340px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.app-tile { display: grid; gap: 5px; place-items: center; padding: 12px 6px 10px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(43, 33, 26, .06), 0 10px 24px -14px rgba(43, 33, 26, .25); color: var(--brown, #49372B); }
.app-tile b { font-family: var(--mono, ui-monospace, monospace); font-weight: 600; font-size: 15px; letter-spacing: .02em; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--paper, #F4F0E8); }
.app-tile small { font-size: 11.5px; color: var(--ink-3, #756a5e); }
.int-list ~ .fine { margin-top: 18px; }
.section .app-grid:not(.compact) { max-width: 920px; margin: 0 0 28px; padding: 0; grid-template-columns: repeat(8, minmax(0, 1fr)); }
@media (max-width: 640px) { .section .app-grid:not(.compact) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rel h3 { font-size: 22px; letter-spacing: -.025em; }
.rel p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.rel > .arrow { width: 18px; height: 18px; margin-top: 6px; transition: transform .3s var(--ease); }
.rel:hover > .arrow { transform: translateX(4px); color: var(--terra); }

/* ---------------------------------------------------------------- scale (architecture) */
.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: end; }
.scale li { display: grid; gap: 10px; align-content: end; }
.scale-bar { display: block; width: calc(25% * var(--s)); aspect-ratio: 1 / .82; margin-bottom: 14px; border-radius: 999px 999px 0 0; border: 1px solid var(--line-2); border-bottom: 0; background: linear-gradient(180deg, rgba(73, 55, 43, calc(.05 * var(--s))), rgba(73, 55, 43, calc(.12 * var(--s)))); position: relative; transform-origin: bottom; }
.scale li:last-child .scale-bar { background: var(--brown); border-color: var(--brown); }
.scale-bar::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 62%; border-radius: 999px 999px 0 0; border: 1px solid var(--line-2); border-bottom: 0; }
.scale li:last-child .scale-bar::after { border-color: rgba(244, 240, 232, .35); }
.scale .mono { color: var(--terra); padding-top: 14px; border-top: 1px solid var(--line); }
.scale h3 { font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -.02em; }
.scale p { color: var(--ink-2); font-size: 15px; }
.js .scale.is-in .scale-bar { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--s) * .12s); }
@keyframes rise { from { transform: scaleY(.2); opacity: 0; } }

/* ---------------------------------------------------------------- comparer / simulation / calc */
.comparer, .sim, .calc { background: var(--sheet); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.comparer-side h3 { margin-top: 0; }
.pending { padding: 16px 18px; border-radius: 10px; background: var(--paper); display: grid; gap: 6px; }
.pending p:not(.mono) { font-size: 14.5px; }
.comparer-side .btn { justify-self: start; }
.sim-head, .calc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.sim-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.sim-tabs [role="tab"] { display: grid; gap: 4px; padding: 18px 22px; text-align: left; font-size: 16px; color: var(--ink-3); box-shadow: inset 0 -2px 0 transparent; transition: color .25s, box-shadow .35s var(--ease), background .25s; }
.sim-tabs [role="tab"] + [role="tab"] { border-left: 1px solid var(--line); }
.sim-tabs [role="tab"] .mono { color: inherit; }
.sim-tabs [role="tab"]:hover { color: var(--ink); }
.sim-tabs [aria-selected="true"] { color: var(--ink); background: var(--paper); box-shadow: inset 0 -2px 0 var(--terra); }
.sim-body { padding: clamp(24px, 4vw, 48px); }
.stage-panel { display: grid; gap: 14px; max-width: 760px; animation: panel-in .45s var(--ease); }
.stage-panel h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.035em; line-height: 1.1; }
.stage-panel > p:not(.mono):not(.note) { color: var(--ink-2); }
.stage-panel .review { margin: 10px 0 4px; }
.sim-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 22px; border-top: 1px solid var(--line); }
.gov { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.gov div { padding-top: 18px; border-top: 1px solid var(--night-line); display: grid; gap: 12px; align-content: start; }
.gov p:not(.mono) { font-size: 17px; line-height: 1.5; color: rgba(244, 240, 232, .82); }
.calc-table { overflow-x: auto; }
.calc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 680px; }
.calc th { text-align: left; font-weight: 400; }
.calc thead th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.calc tbody th, .calc td { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.calc tbody th { font-weight: 500; }
.calc td:nth-child(2) { color: var(--ink-3); }
.calc .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc input { width: 112px; height: 38px; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; background: var(--paper-2); font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s; }
.calc input:hover { background: #fff; }
.calc input:focus { outline: none; border-color: var(--terra); background: #fff; box-shadow: 0 0 0 3px rgba(198, 94, 53, .16); }
.bar-cell { width: 18%; }
.bar-cell span { display: block; height: 6px; width: var(--w, 0%); border-radius: 3px; background: var(--terra); opacity: .85; transition: width .5s var(--ease); }
.calc-foot { display: grid; grid-template-columns: 1fr 1fr; }
.calc-controls { display: grid; gap: 12px; align-content: start; justify-items: start; padding: 24px 22px; border-right: 1px solid var(--line); }
.calc-controls label { font-size: 14px; color: var(--ink-2); }
.calc-totals { padding: 14px 22px 22px; }
.calc-totals div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc-totals dt { color: var(--ink-2); }
.calc-totals dd { font-variant-numeric: tabular-nums; }
.calc-totals .grand { border-bottom: 0; padding-top: 16px; }
.calc-totals .grand dd { font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.04em; color: var(--ink); }
.quote { max-width: 1100px; border-top: 1px solid var(--line); padding-top: 32px; display: grid; gap: 24px; }
.quote p { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -.04em; max-width: 24ch; }
.quote footer { color: var(--terra); }

/* ---------------------------------------------------------------- platform flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 3vw, 48px); padding: clamp(28px, 4vw, 56px); border-radius: 12px; background: var(--sheet); margin-bottom: 20px; }
.flow-in { display: grid; gap: 10px; justify-items: end; }
.flow-in li { position: relative; display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; background: var(--paper-2); border-radius: 999px; font-size: 15px; background: var(--paper); }
.flow-in li .mono { color: var(--terra); }
.flow-in li::after, .flow-out li::before { content: ""; position: absolute; top: 50%; width: clamp(20px, 3vw, 48px); height: 1px; background: linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0 / 6px 1px; }
.flow-in li::after { left: 100%; }
.flow-out li::before { right: 100%; }
.flow-core { display: grid; justify-items: center; gap: 16px; padding: 32px 28px; border-radius: 999px 999px 16px 16px; background: var(--brown); color: var(--on-night); min-width: 220px; }
.flow-arch { display: grid; justify-items: center; gap: 8px; font-size: 22px; letter-spacing: -.03em; }
.flow-arch .symbol { width: 64px; height: 64px; color: var(--terra-soft); }
.flow-core ul { display: grid; gap: 6px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 240, 232, .7); }
.flow-out { display: grid; gap: 12px; }
.flow-out li { position: relative; display: grid; gap: 2px; padding: 14px 18px; border-radius: 10px; background: var(--paper); }
.flow-out .mono { color: var(--terra); }
.flow-out strong { font-weight: 500; font-size: 16px; }
.flow-out small { color: var(--ink-3); font-size: 13.5px; }

/* ---------------------------------------------------------------- integrations page */
.int-list { border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.int-list li { display: grid; grid-template-columns: minmax(180px, 3fr) 4fr 4fr auto; gap: 24px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); }
.int-name h3 { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.04em; line-height: 1.05; margin-top: 8px; }
.int-list p { color: var(--ink-2); }
.int-scope { font-size: 14.5px; color: var(--ink-3) !important; }

/* ---------------------------------------------------------------- cta band */
.cta-band { background: var(--night-brown); color: var(--on-night); padding: clamp(80px, 10vw, 152px) 0; position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; position: relative; }
.cta-arch { position: absolute; right: var(--gut); bottom: -38%; width: clamp(280px, 34vw, 520px); color: rgba(244, 240, 232, .04); pointer-events: none; }
.cta-arch .symbol { width: 100%; height: auto; }
.cta-inner h2 { color: var(--on-night); margin-top: 22px; max-width: 14ch; }
.cta-inner .mono { color: var(--terra-soft); }
.cta-side { display: grid; gap: 28px; position: relative; }
.cta-side p { color: var(--on-night-2); max-width: 44ch; }

/* ---------------------------------------------------------------- dialogs */
.dialog { width: min(980px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 14px; background: var(--sheet); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(20, 14, 10, .5); overflow: auto; }
.dialog[open] { animation: dialog-in .4s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.dialog::backdrop { background: rgba(31, 24, 19, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--sheet); }
.dialog-close .plus { width: 16px; height: 16px; transform: rotate(45deg); }
.dialog-close:hover { background: var(--paper-2); }
.dialog-grid { display: grid; grid-template-columns: 1fr 1.15fr; }
.dialog-aside { display: grid; align-content: start; gap: 14px; padding: 22px 32px 36px 22px; background: var(--paper); }
.dialog-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.dialog-aside h2 { font-size: clamp(28px, 3vw, 40px); }
.dialog-aside p:not(.mono) { color: var(--ink-2); font-size: 15.5px; }
.brief { display: grid; gap: 16px; padding: 64px 36px 32px; align-content: start; }
.brief label { display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.brief input, .brief select, .brief textarea { width: 100%; padding: 12px 14px; border: 1px solid transparent; border-radius: 10px; background: var(--paper); font-size: 15.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.brief textarea { resize: vertical; min-height: 110px; }
.brief input:focus, .brief select:focus, .brief textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(198, 94, 53, .16); }
.brief .btn { justify-self: start; margin-top: 6px; }
.status { font-size: 14px; color: var(--ok); min-height: 1em; }
.dialog-sm { width: min(600px, calc(100% - 32px)); }
.info-body { display: grid; gap: 14px; padding: 44px 40px 40px; }
.info-body h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 6px; padding-right: 32px; }
.info-body p:not(.mono), .info-body li { color: var(--ink-2); font-size: 15.5px; }
.info-body ul { display: grid; gap: 8px; margin-top: 4px; }
.info-body li { padding-left: 18px; position: relative; }
.info-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--terra); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .norm-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .menu { width: 560px; }
}
@media (max-width: 1020px) {
  .nav-links, .hide-sm { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .head-grid { display: block; }
  .head-grid h2 { max-width: 18ch; }
  .head-side { margin-top: 24px; }
  .cap, .steps, .split, .page-hero-grid, .cta-inner, .impact-grid, .vision-grid, .vision-media, .cta-card { grid-template-columns: 1fr; }
  .steps-head { position: static; }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
  .cap-sheet { min-height: 0; }
  .page-hero-media .arch-frame { aspect-ratio: 4 / 3.4; max-height: none; margin-left: 0; }
  .hero-scene { aspect-ratio: 4 / 3.6; max-height: none; margin-left: 0; }
  .hero-scene .glass { left: 4%; width: 92%; bottom: 5%; }
  .gu { font-size: 12px; }
  .gu-step:nth-child(n+4) { display: none; }
  .flow { grid-template-columns: 1fr; justify-items: stretch; }
  .flow-in { justify-items: start; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .flow-in li::after, .flow-out li::before { display: none; }
  .flow-core { border-radius: 16px; }
  .int-list li { grid-template-columns: 1fr; gap: 10px; }
  .int-list .chip { justify-self: start; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .gov { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .cta-card-art { min-height: 300px; }
}
@media (max-width: 860px) {
  /* The layers story on a phone: the model stays in view at the top and each layer's card comes in below it as the
     page scrolls, as on a wide screen. svh keeps the pinned frame steady while the browser's bars come and go. */
  .layers { height: calc((var(--n) + 1) * 62vh + 100vh); height: calc((var(--n) + 1) * 62svh + 100svh); }
  .layers-sticky { height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); grid-template-columns: 1fr; align-items: end; padding-bottom: 54px; }
  .stack { inset: 0 0 auto 0; height: 66%; }
  .stack-3d { width: 58vw; margin-top: 0; }
  .plate-label { display: none; }
  .plate-top .plate-label { display: inline-flex; }
  .layer-list { width: 100%; min-height: 168px; align-content: end; justify-items: stretch; }
  .layer-item:not(.active) { display: none; }
  .layer-item.active .layer-card { max-width: none; padding: 16px 18px; border-radius: 14px; background: var(--brown); }
  .layers-progress { bottom: 24px; }
  .team { flex-basis: 78vw; }
}
@media (max-width: 860px) and (max-height: 520px) {
  .layers { height: auto; padding: 24px 0 72px; }
  .layers-sticky { position: static; height: auto; overflow: visible; gap: 24px; padding-bottom: 0; }
  .stack { position: relative; inset: auto; order: -1; height: 72vw; }
  .plate { opacity: 1; transform: translateZ(calc(var(--i) * 22px)); }
  .layer-list { min-height: 0; }
  .layer-item:not(.active) { display: block; }
  .layer-item button { display: none; }
  .layer-item .layer-card { display: block; max-width: none; padding: 16px 18px; border-radius: 14px; background: var(--brown); color: var(--paper); }
  .layers-progress { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .rel-grid, .facts-grid, .vision-cols, .features { grid-template-columns: 1fr; }
  .scale { grid-template-columns: 1fr 1fr; }
  .norm-grid { grid-template-columns: 1fr 1fr; }
  .norm { min-height: 260px; }
  .stats li { grid-template-columns: 1fr; gap: 8px; }
  .design, .comparer, .calc-foot, .dialog-grid { grid-template-columns: 1fr; }
  .design-plan, .comparer-plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .calc-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .sim-tabs { grid-template-columns: 1fr 1fr; }
  .sim-tabs [role="tab"]:nth-child(3) { border-left: 0; }
  .sim-tabs [role="tab"]:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps-list li { grid-template-columns: 1fr; }
  .steps-list p { grid-column: 1; }
  .check-summary b { font-size: 28px; }
  .dialog-aside { padding: 20px 24px 24px; }
  .dialog-aside img { display: none; }
  .brief { padding: 24px; }
  .film-meta { flex-direction: column; gap: 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .norm-grid { grid-template-columns: 1fr; }
  .lang { display: none; }
  .nav-actions .btn-pill { padding-left: 14px; font-size: 13.5px; }
  .page-hero-copy .actions { width: 100%; }
  .page-hero-copy .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- manifesto (architecture page) */
.manifesto { padding: clamp(96px, 12vw, 176px) 0 clamp(40px, 5vw, 72px); text-align: center; }
.manifesto .wrap { display: grid; justify-items: center; gap: 28px; }
.manifesto .symbol { width: 40px; height: 40px; color: var(--terra); }
.manifesto p { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); max-width: 18ch; text-wrap: balance; }

/* ---------------------------------------------------------------- tinted section, cost alternatives */
.tinted { background: var(--paper-2); }
.white { background: #fff; }
.section.tinted + .section, .section + .section.tinted, .section.white + .section, .section + .section.white { padding-top: clamp(88px, 11vw, 168px); }
.alt-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--night-line); border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.alt-list li { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); background: var(--night); }
.alt-name { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--on-night); }
.alt-letter { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(244, 240, 232, .1); font-size: 15px; }
.alt-bar { height: 6px; border-radius: 3px; background: rgba(244, 240, 232, .1); overflow: hidden; }
.alt-bar span { display: block; height: 100%; width: var(--w); background: var(--terra-soft); border-radius: inherit; }
.alts .alt-total { font-size: clamp(30px, 3vw, 46px); letter-spacing: -.035em; line-height: 1; color: var(--on-night); font-variant-numeric: tabular-nums; }
.alt-list dl { display: grid; gap: 0; border-top: 1px solid var(--night-line); }
.alt-list dl div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--night-line); font-size: 14px; }
.alt-list dt { color: var(--on-night-2); }
.alt-list dd { color: var(--on-night); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- company pages */
.co-head { padding: clamp(80px, 10vw, 152px) 0 clamp(40px, 5vw, 72px); }
.co-head .wrap { display: grid; gap: 22px; justify-items: start; }
.co-head h1 { font-size: clamp(44px, 5.4vw, 88px); line-height: 1.02; letter-spacing: -.035em; max-width: 16ch; }
.co-head .lead { max-width: 52ch; }
.co-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.co-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 4px; }
.co-portrait figcaption { display: grid; margin-top: 14px; font-size: 15px; }
.co-portrait figcaption span { color: var(--ink-3); font-size: 14px; }
.co-text { display: grid; gap: 20px; }
.co-text h2 { margin-bottom: 8px; }
.co-text p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.co-text p:first-of-type { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.co-principles { background: var(--paper-2); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.principles li { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-2); }
.principles .mono { color: var(--terra); }
.principles h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.15; }
.principles p { color: var(--ink-2); }
.co-blog .wrap { display: grid; gap: clamp(56px, 7vw, 104px); }
.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.post-feature h2 { margin: 14px 0 16px; }
.post-feature p:not(.post-meta) { color: var(--ink-2); font-size: 17px; margin-bottom: 20px; max-width: 46ch; }
.post-media { overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; background: var(--paper-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-feature:hover .post-media img, .post-card:hover .post-media img { transform: scale(1.04); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-3); }
.post-meta span:first-child, .post-meta a { color: var(--terra-2); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(16px, 2vw, 32px); }
.post-card { display: grid; gap: 12px; align-content: start; }
.post-card .post-media { margin-bottom: 8px; }
.post-card h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.post-card p:not(.post-meta) { color: var(--ink-2); font-size: 15px; }
.post { padding-top: clamp(64px, 8vw, 120px); }
.post-head { display: grid; gap: 22px; max-width: 900px; }
.post-head h1 { font-size: clamp(38px, 4.6vw, 70px); line-height: 1.04; letter-spacing: -.035em; }
.post-cover { margin-top: clamp(40px, 5vw, 72px); }
.post-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 4px; }
.post-body { max-width: calc(720px + var(--gut) * 2); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 80px); }
.post-body h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.022em; margin: 48px 0 16px; }
.post-body h2:first-child { margin-top: 0; }
.post-body p { font-size: 18px; line-height: 1.7; color: var(--ink-2); margin-bottom: 18px; }
.post-author { display: flex; align-items: center; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px !important; color: var(--ink) !important; }
.post-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brown); color: var(--paper); }
.post-avatar .symbol { width: 18px; height: 18px; }
.co-contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-cards { display: grid; border-bottom: 1px solid var(--line); }
.contact-cards li { display: grid; gap: 10px; justify-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.contact-cards h3 { font-size: 22px; letter-spacing: -.02em; }
.contact-cards p { color: var(--ink-2); font-size: 15.5px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 3.5vw, 48px); background: var(--sheet); border-radius: 12px; box-shadow: var(--shadow); }
.contact-form .wide, .cf-head { grid-column: 1 / -1; }
.cf-head { display: grid; gap: 10px; margin-bottom: 8px; }
.cf-head p { color: var(--ink-3); font-size: 14.5px; }
.contact-form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid transparent; border-radius: 10px; background: #fff; font-size: 15.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(198, 94, 53, .16); }
.cf-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (max-width: 1020px) {
  .co-split, .post-feature, .co-contact .wrap { grid-template-columns: 1fr; }
  .alt-list, .principles, .post-grid { grid-template-columns: 1fr; }
  .co-portrait { max-width: 420px; }
}
@media (max-width: 640px) { .contact-form { grid-template-columns: 1fr; } }
.film > .film-toggle { position: absolute; z-index: 1; right: var(--gut); bottom: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: rgba(244, 240, 232, .8); }
.co-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 4px; }
.co-blog .post-grid { grid-template-columns: repeat(2, 1fr); }

/* Integraciones hero: the arch with the applications around it */
.app-tile.has-logo img { width: 34px; height: 34px; display: block; }
.constellation { position: relative; container-type: inline-size; aspect-ratio: 5 / 6; width: min(100%, 440px); margin-left: auto; border-radius: 28px; overflow: hidden; isolation: isolate; background: #EFE9E0; box-shadow: 0 40px 80px -48px rgba(43, 33, 26, .5), inset 0 0 0 1px rgba(255, 255, 255, .6); }
/* a soft, out-of-focus ground in the brand's colours, like a photograph behind frosted glass */
.constellation::before { content: ''; position: absolute; inset: -14%; z-index: -1; filter: blur(38px);
  background: radial-gradient(46% 40% at 16% 86%, rgba(198, 94, 53, .82), transparent 72%), radial-gradient(54% 60% at 98% 60%, rgba(73, 55, 43, .74), transparent 72%), radial-gradient(40% 34% at 82% 8%, rgba(163, 147, 131, .55), transparent 72%), radial-gradient(60% 46% at 30% 14%, rgba(255, 255, 255, .95), transparent 72%), #EDE6DC; }
.constellation .hub { position: absolute; left: 50%; top: 48%; width: 36cqw; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 27%; color: #1D1814; background: linear-gradient(160deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42)); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(43, 33, 26, .2), inset 0 0 0 1.5px rgba(255, 255, 255, .85), inset 0 2px 0 rgba(255, 255, 255, .9), 0 34px 60px -26px rgba(43, 33, 26, .55); }
.constellation .hub svg { width: 46%; height: 46%; }
.constellation .float { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); object-fit: contain; filter: blur(var(--b)) drop-shadow(0 1.6cqw 2.2cqw rgba(43, 33, 26, .28)); animation: float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
.constellation .ghost { display: grid; place-items: center; border-radius: 26%; background: rgba(255, 255, 255, .62); color: rgba(73, 55, 43, .75); font-family: var(--mono); font-weight: 600; font-size: calc(var(--s) * .3); letter-spacing: .02em; opacity: .8; }
@keyframes float { 50% { transform: translateY(-1.4cqw); } }
@media (prefers-reduced-motion: reduce) { .constellation .float { animation: none; } }
@media (max-width: 760px) { .constellation { width: min(100%, 340px); margin: 8px auto 0; } }

/* Light page hero (Integraciones): white ground, frosted tiles over a warm glow so the product marks read as drawn */
.page-hero.light { background: #fff; color: var(--ink); }
.page-hero.light h1 { color: var(--ink); }
.page-hero.light .lead { color: var(--ink-2); }
.page-hero.light .crumb { color: var(--ink-3); }
.page-hero.light .crumb a:hover { color: var(--ink); }
/* Wide hero: quiet copy in a column set in from the left, the photograph across the page below */
.page-hero.wide { padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.page-hero.wide .page-hero-copy { margin-left: 33.6%; gap: 20px; padding-bottom: 0; }
.page-hero.wide h1 { font-size: clamp(38px, 4.2vw, 64px); max-width: 17ch; }
.page-hero.wide .lead { max-width: 48ch; font-size: 17px; }
.page-hero.wide .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.page-hero.wide .btn { height: 38px; padding: 0 16px; font-size: 14px; gap: 8px; }
.page-hero.wide .btn + .btn { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.page-hero.wide .btn + .btn:hover { background: var(--brown); box-shadow: none; }
.page-hero-wide { margin-top: clamp(40px, 5vw, 72px); overflow: hidden; border-radius: 4px; }
.page-hero-wide img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 900px) { .page-hero.wide .page-hero-copy { margin-left: 0; } .page-hero-wide img { aspect-ratio: 4 / 3; } }

/* Bespoke hero cards: rows, tags, meters */
.gu-rows > div, .gu-bars > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 5px 0; border-top: 1px solid rgba(43, 33, 26, .07); }
.gu-rows > small + div, .gu-bars > div:first-child { border-top: 0; }
.gu-bars > div { grid-template-columns: 96px minmax(0, 1fr) auto; }
.gu-num { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.gu-tag { font-style: normal; font-size: 11.5px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--ink-2); white-space: nowrap; }
.gu-tag.ok { color: #3F6B4A; }
.gu-tag.bad { color: #B0452A; background: rgba(176, 69, 42, .1); }
.gu-tag.warn { color: #8A5A1C; background: rgba(201, 154, 75, .16); }
.gu-verdict { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; }
.gu-v { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 9px; border-radius: 7px; white-space: nowrap; }
.gu-v.bad { background: #B0452A; color: #fff; }
.gu-v.warn { background: rgba(201, 154, 75, .22); color: #7A4E14; }
.gu-meter { height: 6px; border-radius: 3px; background: rgba(43, 33, 26, .08); overflow: hidden; }
.gu-meter i { display: block; height: 100%; border-radius: 3px; background: var(--terra); }
.gu-total { font-weight: 600; }
.gu-total .gu-num { color: var(--ink); }
.gu-src { margin-top: 8px; }
.gu-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink-2); font-size: 12px; }
.gu-foot .gu-num { color: var(--ink); font-weight: 600; font-size: 13px; }
.design-plan, .comparer-plan { display: grid; align-content: center; }

/* Hero scene: the card hangs from the lower-left corner so the photograph stays visible */
.hero-scene .glass { left: -22%; bottom: -9%; width: 70%; }
.hero-scene .gu { font-size: 12.5px; }
.page-hero:has(.hero-scene) { padding-bottom: clamp(88px, 10vw, 150px); }
@media (max-width: 1180px) { .hero-scene .glass { left: -14%; width: 76%; } }
@media (max-width: 1020px) {
  /* stacked layout: the card sits under the photograph, overlapping only its lower edge */
  .hero-scene { aspect-ratio: auto; }
  .hero-scene > img { aspect-ratio: 4 / 3; height: auto; }
  .hero-scene .glass { position: relative; left: auto; bottom: auto; width: auto; margin: -14% 4% 0; }
  .gu-step:nth-child(n+4) { display: block; }
  .page-hero:has(.hero-scene) { padding-bottom: clamp(56px, 7vw, 104px); }
}
