/* hofoworks — shared site styles (direction D v3). One file for every page. */

/* ---------- fonts (self-hosted from Google Fonts, OFL; latin + latin-ext; no requests to Google) ---------- */
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/syne-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/syne-latin.woff2) format('woff2');
  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;
}

/* Pinyon Script: ring engraving (input + canvas); downloaded only where it is used */
/* latin-ext */
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pinyon-script-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pinyon-script-latin.woff2) format('woff2');
  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;
}

/* ---------- tokens ---------- */
:root {
  --bg: #FFFFFF;
  --bg-2: #F4F4F2;
  --ink: #111111;
  --ink-2: #5C5C5A;
  --ink-3: #9A9A97;
  --accent: #2F45FF;
  --accent-soft: #DCE0FF;
  --line: rgba(17,17,17,0.10);
  --line-2: rgba(17,17,17,0.22);
  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --brand: 'Syne', sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --max: 1240px;
  --pad: 40px;          /* side gutter */
  --sec: 120px;         /* section spacing */
  --radius: 4px;
  --hdr: 82px;
}
@media (max-width: 900px) { :root { --pad: 24px; --sec: 88px; --hdr: 68px; } }
@media (max-width: 560px) { :root { --pad: 16px; --sec: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:where(a:hover) { color: var(--accent); }
h1, h2, h3, p, figure, ul { margin: 0; }
button, input, select, textarea { font: inherit; }
input[type=range] { accent-color: var(--accent); width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- layout ---------- */
.wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sec { padding-top: var(--sec); padding-bottom: calc(var(--sec) - 8px); }
.sec-tail { padding-bottom: var(--sec); }
.sec.pb-short { padding-bottom: calc(var(--sec) - 24px); }
.band-soft { background: var(--bg-2); }
.band-accent { background: var(--accent); color: #fff; }
.band-accent a:hover { color: #fff; opacity: .8; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow .n, .accent { color: var(--accent); }
.band-accent .eyebrow { color: var(--accent-soft); }
.tag-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.wide { font-stretch: 125%; font-variation-settings: 'wdth' 125; }
.h1 { font-weight: 500; font-size: clamp(38px, 4.7vw, 58px); line-height: 1; letter-spacing: -0.045em; }
.h1 .accent { display: block; }
.h2 { font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -0.04em; max-width: 900px; }
.h2-sm { font-weight: 500; font-size: clamp(28px, 2.9vw, 36px); line-height: 1.1; letter-spacing: -0.04em; }
.lede { font-size: 18px; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head .h2 { margin-bottom: 48px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #000; }
.btn-line { border-color: var(--line-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* pill labels on images */
.pill { background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.pill-dark { background: var(--ink); color: #fff; }
.pill-accent { background: var(--accent); color: #fff; }
.pill-sm { padding: 7px 12px; letter-spacing: 0; }
.cap { position: absolute; left: 16px; bottom: 16px; }
.pills { position: absolute; left: 16px; top: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- header ---------- */
.hdr { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 22px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.hdr-brand { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.hdr-brand:hover { color: inherit; }
.hdr-mark { width: 24px; height: 24px; display: block; flex: none; }   /* logo: isometric cube (assets/brand/mark.svg), 2026-12-01 */
.wordmark { font-family: var(--brand); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.hdr-nav { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; font-size: 15.5px; color: var(--ink-2); }
.hdr-nav a { text-decoration: none; }
.hdr-nav a[aria-current] { color: var(--ink); }
.hdr-nav .hdr-cta { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.hdr-menu { display: none; background: none; border: 1px solid var(--line-2); border-radius: 999px; height: 40px; padding: 0 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .hdr { padding-top: 14px; padding-bottom: 14px; }
  .hdr-menu { display: inline-flex; align-items: center; }
  .hdr-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 0 var(--pad) 16px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(17,17,17,.06); font-size: 17px; }
  .hdr-nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  .hdr-nav .hdr-cta { border-bottom: 0; padding-bottom: 14px; color: var(--accent); }
  .hdr.is-open .hdr-nav { display: flex; }
}

/* ---------- industry tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; font: 500 14px var(--sans); cursor: pointer; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.tabs-dark .tab { border-color: rgba(255,255,255,0.5); background: transparent; color: #fff; }
.tabs-dark .tab[aria-selected="true"] { border-color: #fff; background: #fff; color: var(--accent); }
.tab .t-short { display: none; }
.tab .live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; transform: translateY(-1px); }
.tabs-dark .tab .live { background: currentColor; }
.hero-tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-tabs-row .legend { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.hero-tabs-row .legend::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; transform: translateY(-1px); }
.hero-demo .tabs { display: inline-flex; flex-wrap: nowrap; gap: 2px; padding: 4px; background: var(--bg-2); border-radius: 999px; border: 1px solid var(--line); }
.hero-demo .tab { min-height: 36px; padding: 0 16px; border: 0; background: transparent; color: var(--ink-2); font: 500 14px var(--sans); border-radius: 999px; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.hero-demo .tab:hover { color: var(--ink); }
.hero-demo .tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(17,17,17,.1), 0 3px 10px -2px rgba(17,17,17,.12); }
@media (max-width: 640px) {
  .hero-tabs-row .legend { display: none; }
  .hero-demo .tabs { display: flex; width: 100%; }
  .hero-demo .tab { flex: 1 1 auto; min-height: 34px; padding: 0 8px; font-size: 13px; }
  .hero-demo .tab .t-long { display: none; }
  .hero-demo .tab .t-short { display: inline; }
}

/* ---------- hero ---------- */
.hero { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 28px var(--pad) 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.hero-copy { flex: 1 1 400px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-top: 24px; }
.hero-copy > div { display: flex; flex-direction: column; gap: 28px; }
.hero-copy > div + div { gap: 24px; }
.hero-copy .lede { max-width: 460px; }
.hero-demo { flex: 1.4 1 560px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.grid-bg { background-color: var(--bg-2); background-image: linear-gradient(rgba(17,17,17,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,0.05) 1px, transparent 1px); background-size: 32px 32px; }
/* hero demo (2026-11-25): one card like the configurator frame — render left (product centred), spec panel right, a hairline between */
.demo { position: relative; flex: 1; min-height: 560px; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 272px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 16px 40px -20px rgba(17,17,17,.2); }
.demo-media { position: relative; min-height: 0; overflow: hidden; background-color: #fff; }
.demo-media > div { position: absolute; inset: 0; }
.demo-media .cover { object-position: 50% 50%; }
.demo-draw { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 16px; }
.demo-draw svg { max-width: 100%; height: auto; }
.demo-draw span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.demo-panel { position: relative; background: #fff; border-left: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.demo-panel .eyebrow { font-size: 11px; }
.demo-rows { display: flex; flex-direction: column; gap: 12px; }
.demo-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.demo-row span { color: var(--ink-2); }
.demo-row b { font-weight: 500; text-align: right; }
.demo-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
/* panel foot: what the seller receives (no price / button — the hero CTAs are the only buttons here) */
.demo-status { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.demo-check { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.demo-check svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.demo-status b { display: block; font-weight: 500; font-size: 14px; }
.demo-status div > span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 1024px) { .hero-demo { flex-basis: 100%; } }
@media (max-width: 640px) {
  .hero { gap: 36px; padding-bottom: 48px; }
  .hero-copy { padding-top: 8px; gap: 28px; }
  .lede { font-size: 17px; }
  .demo { min-height: 0; grid-template-columns: 1fr; }
  .demo-panel { border-left: 0; border-top: 1px solid var(--line); }
  .demo-media { aspect-ratio: 1 / 0.92; }
  .demo-draw svg { width: 100%; max-width: 300px; height: auto; }
  .tab { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
}

/* ---------- clients ---------- */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.clients-list { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; gap: 12px 40px; }
@media (max-width: 560px) { .clients-list { gap: 8px 24px; font-size: 16px; } }

/* ---------- showreel gallery ---------- */
.gallery { padding: 12px; }
.gal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 12px; }
.gal > figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.gal .s2 { grid-column: span 2; }
.gal .big { grid-column: span 3; grid-row: span 2; }
.gal-spin { background: var(--accent); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; }
.gal-spin b { font-size: 34px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
/* white studio stills (ring): hairline edge so the tile does not melt into the white page */
.gal-white::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
.gal-draw { background: var(--bg-2); display: flex; align-items: center; justify-content: center; }
.gal-draw svg { max-width: 80%; height: auto; }
@media (max-width: 1024px) {
  .gal { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .gal .big { grid-column: span 4; }
}
@media (max-width: 640px) {
  .gallery { padding: 8px; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 8px; }
  .gal .big { grid-column: span 2; }
  .gal-spin { padding: 16px; }
  .gal-spin b { font-size: 24px; }
  .gal .cap { left: 10px; bottom: 10px; }
  .gal .pill { padding: 6px 10px; font-size: 10px; }
}

/* ---------- column rows (pains, guarantees) ---------- */
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.rule { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.rule .num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.rule h3 { font-size: 20px; font-weight: 500; }
.rule p { font-size: 15px; color: var(--ink-2); }
.guarantees .rule { padding-top: 20px; gap: 8px; }
.guarantees .rule h3 { font-size: 18px; }
.guarantees { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 1024px) { .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }
@media (max-width: 560px) { .cols4 { grid-template-columns: 1fr; gap: 28px; } .guarantees { padding-top: 64px; padding-bottom: 64px; } }

/* ---------- before / after ---------- */
.ba { padding-top: 112px; padding-bottom: 112px; }
.ba-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.ba-head .eyebrow { margin-bottom: 16px; }
.ba-cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.ba-col { display: flex; flex-direction: column; gap: 12px; }
.ba-col:first-child { flex: 1 1 380px; }
.ba-col:last-child { flex: 1.2 1 440px; }
.ba-col > .eyebrow { color: var(--accent-soft); }
.ba-col:last-child > .eyebrow { color: #fff; }
.ba-before { flex: 1; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.ba-before .from { font-size: 14px; color: var(--accent-soft); }
.ba-before .text { font-size: 22px; line-height: 1.45; }
.ba-before .next { margin-top: auto; font-size: 15px; color: var(--accent-soft); padding-top: 16px; border-top: 1px dashed rgba(255,255,255,0.4); }
.ba-after { flex: 1; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(10,20,120,0.35); }
.ba-after-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.ba-after-top .tag-mono { color: var(--accent); }
.ba-list { border-top: 1px solid var(--line); }
.ba-item { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ba-item span:first-child { flex: 0 0 130px; color: var(--ink-2); }
.ba-after > p:last-child { font-size: 15px; color: var(--ink-2); }
@media (max-width: 640px) {
  .ba { padding-top: 80px; padding-bottom: 80px; }
  .ba-col:first-child, .ba-col:last-child { flex-basis: 100%; }
  .ba-before, .ba-after { padding: 22px; }
  .ba-before .text { font-size: 19px; }
  .ba-item { gap: 12px; font-size: 14px; }
  .ba-item span:first-child { flex-basis: 104px; }
}

/* ---------- products ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.prod { display: flex; flex-direction: column; gap: 20px; }
.prod-media { position: relative; height: 420px; border-radius: var(--radius); overflow: hidden; }
.prod-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.prod-head h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; }
.prod-head .from { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--ink-2); }
.prod > p { font-size: 17px; color: var(--ink-2); }
@media (max-width: 820px) { .grid2 { grid-template-columns: 1fr; gap: 48px; } .prod-media { height: 300px; } .prod-head h3 { font-size: 26px; } }

/* ---------- value calculator ---------- */
.calc { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.calc-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.calc-copy p:last-child { font-size: 17px; color: var(--ink-2); }
.calc-box { flex: 1.3 1 520px; background: var(--bg-2); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.calc-box label { display: flex; flex-direction: column; gap: 8px; }
.calc-box label > span { display: flex; justify-content: space-between; font-size: 15px; }
.calc-box b { font-weight: 500; }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 8px; }
.calc-out > div { background: #fff; border-radius: var(--radius); padding: 18px; }
.calc-out > div.hl { background: var(--accent); color: #fff; }
.calc-out p:first-child { margin-bottom: 6px; font-size: 13px; color: var(--ink-2); }
.calc-out .hl p:first-child { color: var(--accent-soft); }
.calc-out p:last-child { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.calc-note { font-size: 12px; color: var(--ink-2); }
.calc-pay { font-size: 15px; }
.calc-pay b { font-weight: 500; color: var(--accent); }

/* 10 FAQ (2026-11-30): native <details>, two columns on wide screens */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 32px 22px 0; font-size: 15px; color: var(--ink-2); max-width: 600px; }
.faq + .guarantees { padding-top: 0; }
@media (max-width: 820px) { .faq-list { grid-template-columns: 1fr; } .faq-list summary { font-size: 17px; } }

/* demo pages: "03 — What it costs" block before the contact (2026-11-30) */
.ci-cost { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; padding-top: var(--sec); padding-bottom: var(--sec); }
.ci-cost-head { display: flex; flex-direction: column; gap: 16px; grid-row: 1 / span 2; }
.ci-cost-head .ci-sub { margin: 0; }
.ci-eur { display: block; margin-top: 10px; font: 400 15px/1.4 var(--mono); letter-spacing: 0; color: var(--ink-2); }
.ci-cost-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.ci-cost-steps li { border-top: 1px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.ci-cost-steps b { font-weight: 500; font-size: 19px; letter-spacing: -.02em; }
.ci-cost-steps span { color: var(--ink-2); font-size: 15px; }
.ci-cost-trust { grid-column: 2; font-size: 14px; color: var(--ink-2); }
.ci-cost-trust a { color: var(--accent); }
@media (max-width: 900px) { .ci-cost { grid-template-columns: 1fr; } .ci-cost-head { grid-row: auto; } .ci-cost-trust { grid-column: auto; } }
@media (max-width: 600px) { .ci-cost-steps { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 640px) {
  .calc { gap: 32px; }
  .calc-copy, .calc-box { flex-basis: 100%; }
  .calc-box { padding: 22px; }
  .calc-out { grid-template-columns: 1fr; }
  .calc-out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; }
  .calc-out p:first-child { margin: 0; }
  .calc-out p:last-child { font-size: 20px; }
}

/* ---------- industries ---------- */
.ind { display: flex; flex-direction: column; gap: 12px; }
.ind-media { height: 340px; border-radius: var(--radius); overflow: hidden; }
.ind-draw { background: var(--bg-2); display: flex; align-items: center; justify-content: center; }
.ind-mtb { display: flex; align-items: center; justify-content: center; padding: 12px; }
.ind-mtb svg { width: 100%; height: 100%; }
.ind .tag-mono { color: var(--ink-2); }
.ind .tag-mono.live { color: var(--accent); }
.ind h3 { font-size: 21px; font-weight: 500; }
.ind p { font-size: 15px; color: var(--ink-2); }
.cols4.inds { gap: 16px; }
@media (max-width: 1024px) { .ind-media { height: 300px; } }
@media (max-width: 560px) { .cols4.inds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } .ind-media { height: 200px; } .ind-draw svg { width: 96px; height: auto; } .ind h3 { font-size: 18px; } .ind p { font-size: 14px; } }

/* ---------- included + process ---------- */
.inc { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 64px; }
.inc > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 28px; }
.inc > div:first-child { flex-basis: 460px; }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.checks li { padding: 16px 0; border-bottom: 1px solid var(--line-2); display: flex; gap: 16px; }
.checks li > span:first-child { color: var(--accent); }
.checks b { font-weight: 500; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 20px; padding: 16px 0; }
.step-n { flex: 0 0 44px; height: 44px; border-radius: 999px; background: #fff; border: 1px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 500; }
.step:first-child .step-n { background: var(--accent); color: #fff; }
.step h3 { margin-bottom: 4px; font-size: 18px; font-weight: 500; }
.step p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 640px) { .inc { padding-top: 80px; padding-bottom: 80px; gap: 56px; } .inc > div, .inc > div:first-child { flex-basis: 100%; } }

/* ---------- packages ---------- */
.pkgs { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.pkg { flex: 1 1 260px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.pkg h3 { font-size: 22px; font-weight: 500; }
.pkg > p { font-size: 15px; color: var(--ink-2); }
.pkg .price { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; color: inherit; }
.pkg .price span { font-size: 15px; font-weight: 400; color: var(--accent-soft); letter-spacing: 0; }
.pkg ul { padding-left: 18px; font-size: 15px; line-height: 1.9; }
.pkg-hl { background: var(--accent); color: #fff; border-color: var(--accent); }
.pkg-hl > p { color: var(--accent-soft); }
.pkg-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pkg-badge { background: #fff; color: var(--accent); border-radius: 999px; padding: 5px 12px; }
.pkg-ico { display: block; width: 56px; height: 56px; margin: -4px 0 -4px -4px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.pkg-ico .a { stroke: var(--accent); }
.pkg-ico .fa { fill: var(--accent); stroke: var(--accent); }
.pkg-hl .pkg-ico { stroke: #fff; }
.pkg-hl .pkg-ico .a { stroke: #fff; stroke-width: 2.4; }
.pkg-hl .pkg-ico .fa { fill: #fff; stroke: #fff; }
.pkg-demo { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font-weight: 500; font-size: 15px; color: var(--accent); text-decoration: none; }
.pkg-demo .tag-mono { color: var(--ink-2); font-weight: 400; }
.pkg-demo:hover span:last-child { text-decoration: underline; }
.pkg-hl .pkg-demo { color: #fff; border-top-color: rgba(255,255,255,.3); }
.pkg-hl .pkg-demo .tag-mono { color: var(--accent-soft); }
.addons { margin-top: 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; font-size: 15px; }
.addons .tag-mono { color: var(--ink-2); }
.pkg-cmp-wrap { margin-top: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); overflow-x: auto; }
.pkg-cmp { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.pkg-cmp th, .pkg-cmp td { padding: 13px 20px; border-bottom: 1px solid var(--line-2); text-align: center; }
.pkg-cmp tbody tr:last-child th, .pkg-cmp tbody tr:last-child td { border-bottom: none; }
.pkg-cmp thead th { font: 500 13px var(--mono); color: var(--ink-2); width: 18%; }
.pkg-cmp th[scope="row"] { text-align: left; font-weight: 400; }
.pkg-cmp td { color: var(--ink-3); }
.pkg-cmp td.y { color: var(--accent); font-weight: 500; }
.cmp-s { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pkg-tag { color: var(--ink-2); margin-bottom: -8px; }   /* "Set options" / "Made to measure" / "For developers" above the name */
.pkg-hl .pkg-tag { color: var(--accent-soft); }
.pkg-alt { background: var(--bg-2); border-color: transparent; }   /* the developer card: a separate track, not a third tier */
.pkg-alt .pkg-demo { border-top-color: var(--line-2); }
.pkg .price span { color: var(--ink-2); }   /* "per building" */
.pkg-hl .price span { color: var(--accent-soft); }
@media (max-width: 560px) { .pkg { padding: 24px; } .addons { padding: 18px; gap: 8px 20px; } .addons .tag-mono { flex-basis: 100%; } .pkg-cmp { min-width: 0; font-size: 14px; } .pkg-cmp th, .pkg-cmp td { padding: 10px 6px; } .pkg-cmp th[scope="row"] { padding-left: 14px; } .pkg-cmp thead th { width: 17%; font-size: 11px; } .cmp-l { display: none; } .cmp-s { display: inline; } }

/* ---------- 09 who builds it: about, platform scores, quotes, work ---------- */
.about { padding-top: 112px; padding-bottom: 112px; }
.about-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 56px; }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-lead { font-weight: 500; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.2; letter-spacing: -0.035em; }
.about-person { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.about-person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.about-person div { display: flex; flex-direction: column; gap: 4px; }
.about-person strong { font-weight: 500; font-size: 17px; }
.about-person .tag-mono { color: var(--ink-2); }
.about-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.score { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.score:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.score > svg { height: 24px; width: auto; align-self: flex-start; margin-bottom: 14px; }
.score-num { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -0.045em; }
.stars { font-size: 19px; letter-spacing: 1px; background: linear-gradient(90deg, var(--accent) var(--r), var(--line-2) var(--r)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score-meta { font-size: 14px; color: var(--ink-2); }
.score-go { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-weight: 500; color: var(--accent); }
.score-go .tag-mono { color: var(--ink-2); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 96px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; }
.quote blockquote::before { content: "\201C"; display: block; height: 36px; font: 500 64px/1 var(--sans); color: var(--accent); margin-bottom: 4px; }
.quote figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quote figcaption svg { height: 16px; width: auto; flex: none; }
.quote figcaption .tag-mono { color: var(--ink-2); text-align: right; }
.work-label { color: var(--ink-2); margin-bottom: 20px; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.work-grid figure.s2 { grid-column: span 2; }
.work-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
.work-grid .tall img { height: 360px; }
.work-grid figcaption { padding-top: 10px; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.work-grid figcaption .tag-mono { letter-spacing: 0; color: var(--ink-2); }
@media (max-width: 1024px) { .about-top { grid-template-columns: 1fr; gap: 40px; } .quotes { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid img, .work-grid .tall img { height: 220px; }
  .work-grid figure.s2 img { height: 260px; }
}
@media (max-width: 640px) { .about { padding-top: 80px; padding-bottom: 80px; } .quotes { margin-bottom: 64px; } .score { padding: 18px; } .score > svg { height: 20px; margin-bottom: 8px; } .score-num { font-size: 34px; flex-wrap: wrap; gap: 6px 10px; } .stars { font-size: 15px; } .quote { padding: 22px; } .work-grid img, .work-grid .tall img { height: 170px; } .work-grid figure.s2 img { height: 220px; } .work-grid figcaption { flex-direction: column; gap: 2px; } }

/* ---------- contact ---------- */
.contact { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 56px; }
.contact-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 22px; }
.contact-h { font-weight: 500; font-size: clamp(38px, 4.5vw, 56px); line-height: 1; letter-spacing: -0.045em; }
.contact-copy > p { font-size: 18px; color: var(--accent-soft); }
.contact-links { display: flex; flex-direction: column; gap: 10px; font-size: 17px; margin-top: 8px; }
.contact-links a:first-child { font-weight: 500; }
.form { flex: 1.2 1 480px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--accent-soft); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { min-height: 48px; border-radius: var(--radius); border: none; background: #fff; color: var(--ink); padding: 0 14px; font: 16px var(--sans); width: 100%; }
.form textarea { padding: 12px 14px; resize: vertical; }
.form button { grid-column: 1 / -1; justify-self: start; min-height: 50px; padding: 0 30px; border: none; border-radius: 999px; background: var(--ink); color: #fff; font: 500 16px var(--sans); cursor: pointer; }
.form button:hover { background: #000; }
.form button[disabled] { opacity: .6; cursor: default; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: 15px; line-height: 1.5; }
.form-status a { text-decoration: underline; }
.form.is-sent label, .form.is-sent button { display: none; }
.form.is-sent .form-status { font-size: 20px; }
@media (max-width: 640px) { .contact { padding-top: 80px; padding-bottom: 80px; gap: 40px; } .contact-copy, .form { flex-basis: 100%; } .form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 28px var(--pad) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.ftr-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr-links a { color: inherit; text-decoration: none; }
.ftr-links a:hover { color: var(--ink); text-decoration: underline; }
.ftr-lang [aria-current] { color: var(--ink); }   /* language switcher: current language */

/* ---------- legal pages (impressum, privacy) ---------- */
.legal { max-width: calc(760px + 2 * var(--pad)); padding-top: 64px; padding-bottom: 112px; }
.legal .eyebrow { margin-bottom: 16px; }
.legal h1 { margin-bottom: 16px; }
.legal-note { color: var(--ink-2); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 40px 0 12px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.legal p { font-size: 16px; line-height: 1.65; color: var(--ink); }
.legal p + p { margin-top: 12px; }
.legal-summary { background: var(--bg-2); border-radius: var(--radius); padding: 22px 24px; }
.legal-ids { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin-top: 14px; font-size: 16px; }
.legal-ids dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.legal-ids dd { margin: 0; }
.legal-foot { margin-top: 48px; font-weight: 500; }
@media (max-width: 640px) { .legal { padding-top: 40px; padding-bottom: 80px; } .legal-ids { grid-template-columns: 1fr; gap: 2px; } .legal-ids dd { margin-bottom: 10px; } }


/* ---------- links into the live demo (homepage) ---------- */
.tile-link { display: block; position: relative; overflow: hidden; color: inherit; }
.gal .tile-link { width: 100%; height: 100%; }
.tile-link img { transition: transform .8s var(--ease); }
.tile-link:hover img { transform: scale(1.02); }
.demo-open { position: absolute; inset: 0; display: block; }
.demo-open img { transition: transform .8s var(--ease); }
.demo-open:hover img { transform: scale(1.015); }
.demo-open-tag { position: absolute; left: 16px; bottom: 16px; }
.demo-open:hover .demo-open-tag { background: var(--ink); }

/* ---------- configurator page ---------- */
.cfg-wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad) var(--pad); }
.cfg-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
/* .cfg-frame.cfgx: must out-rank `.cfgx { height: 100% }` from configurator.css, which loads later */
.cfg-frame.cfgx { height: min(780px, calc(100svh - var(--hdr) - 60px - 24px)); min-height: 600px; }
/* poster under the loading spinner + still-image fallback — shared by every configurator page (assets/js/cfg-boot.js) */
.cfg-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; pointer-events: none; transition: opacity .6s var(--ease); }
.cfgx-stage.is-ready .cfg-poster { opacity: 0; }
.cfg-frame.is-fallback { grid-template-columns: minmax(0, 1fr); }
.cfg-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: #fff; }
.cfg-fallback img { max-width: 100%; max-height: calc(100% - 64px); width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.cfg-fallback p { margin: 0; max-width: 46ch; text-align: center; font-size: 14px; color: var(--ink-2); }
.cfg-slow { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 32px); padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.cfg-slow p { margin: 0; font-size: 13px; color: var(--ink-2); }
.cfg-slow-btn { flex: none; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; }
.cfg-slow-btn:hover { color: var(--accent); border-color: var(--accent); }
.ci { padding-top: var(--sec); }
.ci-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.ci-intro .h1 { margin-top: 14px; max-width: 15em; font-size: clamp(32px, 3.6vw, 52px); }
.ci-lede { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 640px; }
.ci-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; border-top: 1px solid var(--line); padding-top: 22px; margin: 0; }
.ci-facts dt { margin-bottom: 6px; }
.ci-facts dd { margin: 0; font-size: 14.5px; line-height: 1.45; }
.ci-block { margin-top: var(--sec); }
.ci-block .h2 { margin-bottom: 40px; }
.ci-block .h2:has(+ .ci-sub) { margin-bottom: 16px; }
.ci-sub { margin: 0 0 40px; font-size: 18px; color: var(--ink-2); max-width: 680px; }   /* one line under a block heading (e.g. "this demo is one example") */
.ci-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ci-grid li { padding: 22px 24px 26px 0; border-bottom: 1px solid var(--line); }
/* card icons (configurator pages, 01 grid): line drawings in the homepage sketch style, accent details */
.ci-ico { display: block; width: 48px; height: 48px; margin-bottom: 16px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.ci-ico .a { stroke: var(--accent); }
.ci-ico .fa { fill: var(--accent); stroke: none; }
/* "three configurations" strip: real renders from the configurator, click loads the configuration in the 3D view */
.ci-vars { margin-top: 72px; }
.ci-vars-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.ci-vars-head .hint { color: var(--ink-3); }
.ci-var-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ci-var { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s; }
.ci-var:hover { color: inherit; border-color: var(--ink); box-shadow: 0 12px 32px -18px rgba(17,17,17,.35); }
.ci-var-img { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.ci-var-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.ci-var:hover .ci-var-img img { transform: scale(1.03); }
.ci-var-cap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.ci-var-cap b { font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.ci-var-cap .mono { grid-column: 1; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.ci-var.is-still { margin: 0; }   /* feature stills (real-estate page): pictures, not links */
.ci-var.is-still:hover { border-color: var(--line); box-shadow: none; }
.ci-var.is-still:hover .ci-var-img img { transform: none; }
.ci-var.is-still .ci-var-cap { grid-template-columns: 1fr; }
.ci-var-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
@media (max-width: 900px) { .ci-var-grid { grid-template-columns: 1fr; } .ci-var { flex-direction: row; } .ci-var-img { width: 42%; flex: none; aspect-ratio: 4 / 3; } .ci-var-cap { border-top: 0; border-left: 1px solid var(--line); flex: 1; grid-template-columns: 1fr; align-content: center; } .ci-var-go { grid-column: 1; grid-row: auto; } .ci-vars-head { flex-direction: column; gap: 6px; } }
.ci-grid li > .tag-mono { display: block; color: var(--ink-2); margin-bottom: 10px; }
.ci-grid h3 { font-weight: 500; font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.ci-grid p { color: var(--ink-2); font-size: 15px; }
.ci { padding-bottom: var(--sec); }
/* 02 — "Why it works": soft band, heading left (sticky on desktop), numbered points right — deliberately unlike the 01 grid */
.ci-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; padding-top: var(--sec); padding-bottom: var(--sec); }
.ci-why-head { position: sticky; top: 32px; }
.ci-why-head .eyebrow { margin-bottom: 16px; }
.ci-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
.ci-points li { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ci-pt-tag { display: flex; gap: 12px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ci-pt-tag .n { color: var(--accent); }
.ci-points h3 { font-weight: 500; font-size: 21px; letter-spacing: -.02em; }
.ci-points p:not(.ci-pt-tag) { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .ci-why { grid-template-columns: 1fr; } .ci-why-head { position: static; } }
@media (max-width: 600px) { .ci-points { grid-template-columns: 1fr; gap: 32px; } }
.ci-credits { margin: 56px 0 var(--sec); color: var(--ink-2); font-size: 12px; line-height: 1.8; max-width: 980px; }
.ci-credits a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1000px) { .ci-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cfg-wrap { padding-left: 0; padding-right: 0; } .cfg-wrap .cfg-head { padding-left: var(--pad); padding-right: var(--pad); } .cfg-frame.cfgx { height: auto; min-height: 0; } .ci-intro { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ci-grid { grid-template-columns: 1fr; } .ci-grid li { padding-right: 0; } .ci-facts { grid-template-columns: 1fr; } }

/* ---------- configurator base ----------
   configurator.css (the locked pergola panel) was written against a reset that this site doesn't use globally.
   These zero-specificity rules restore that reset inside the configurator only; configurator.css loads after and wins. */
:where(.cfgx) { -webkit-font-smoothing: antialiased; }
:where(.cfgx) :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.cfgx) :where(h2, h3, p, dl, dd) { margin: 0; padding: 0; }
:where(.cfgx) :where(a) { text-decoration: none; }
:where(.cfgx) .mono { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; font-weight: 400; }
@media (max-width: 480px) { :where(.cfgx) .mono { font-size: 10px; } }
/* pergola demo: example price above the CTA (2026-11-30; configurator.css stays locked) */
.cfgx-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; padding: 12px 0 6px; border-top: 1px solid var(--line); }
.cfgx-price .mono { color: var(--ink-3); }
.cfgx-price b { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
:where(.cfgx) :where(small) { font-size: inherit; }

/* ---------- configurator controls (shared extensions of configurator.css; first used by the ring panel) ---------- */
.cfgx-canvas { touch-action: none; }
.cfgx-stage.cfgx-stage-studio { background: #fff; }          /* white studio products (ring): the scene is the white card */
.cfgx-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cfgx-panel :where(button):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* phones: a tap leaves the chip in :hover, whose dark text beat the selected chip's white text (black on black);
   no tap flash / text selection on panel buttons either */
/* (configurator.css loads AFTER main.css, so these need a higher specificity than its :hover:not(:disabled) rules) */
.cfgx-panel .cfgx-chips button.is-on, .cfgx-panel .cfgx-chips button.is-on:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.cfgx-panel .cfgx-seg button.is-on, .cfgx-panel .cfgx-seg button.is-on:hover { color: #fff; background: var(--ink); }
.cfgx-panel button { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
@media (hover: none) {
  .cfgx-panel .cfgx-chips button:hover:not(:disabled):not(.is-on) { color: var(--ink-2); border-color: var(--line-2); }
  .cfgx-panel .cfgx-seg button:hover:not(.is-on) { color: var(--ink-2); }
}
/* labelled swatches: round swatch + name underneath (metal, stone) */
.cfgx-swatches-labelled { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cfgx-panel .cfgx-swatches-labelled button { width: auto; height: auto; border-radius: 10px; background: none; box-shadow: none; display: grid; justify-items: center; gap: 8px; padding: 6px 2px 8px; font-size: 12px; line-height: 1.25; color: var(--ink-2); text-align: center; transition: color .2s; }
.cfgx-panel .cfgx-swatches-labelled button::after { display: none; }
.cfgx-panel .cfgx-swatches-labelled button:hover { transform: none; color: var(--ink); }
.cfgx-swatches-labelled i { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), inset 0 -6px 10px -6px rgba(0,0,0,.18); transition: transform .2s; }
.cfgx-swatches-labelled .is-gem i { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), inset 0 0 0 4px rgba(255,255,255,.18); }
.cfgx-swatches-labelled i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .2s; }
.cfgx-swatches-labelled button:hover i { transform: scale(1.06); }
.cfgx-swatches-labelled button.is-on { color: var(--ink); font-weight: 500; }
.cfgx-swatches-labelled button.is-on i::after { border-color: var(--ink); }
/* icon tiles: drawn line icon + label (shape, carat, band profile) */
.cfgx-tiles { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 8px; }
.cfgx-tiles button { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 12px 6px 11px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); transition: border-color .2s, color .2s, box-shadow .2s; }
.cfgx-tiles button:hover { color: var(--ink); border-color: var(--line-2); }
.cfgx-tiles button.is-on { color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 .5px var(--ink); font-weight: 500; }
.cfgx-tiles svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; margin-bottom: 4px; }
.cfgx-tiles .cfgx-tile-ic { display: block; width: 40px; height: 40px; margin-bottom: 4px; }
.cfgx-tiles .cfgx-tile-ic svg { margin: 0; }
.cfgx-tiles small { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
/* select + text field */
.cfgx-select { position: relative; display: block; }
.cfgx-select select, .cfgx-field input { width: 100%; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; padding: 0 14px; transition: border-color .2s; }
.cfgx-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.cfgx-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cfgx-select select:hover, .cfgx-field input:hover { border-color: var(--ink); }
.cfgx-select select:focus-visible, .cfgx-field input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,69,255,.14); }
.cfgx-field { display: block; }
.cfgx-field input::placeholder { color: var(--ink-3); }
.cfgx-field-engrave input { font-family: "Pinyon Script", "Snell Roundhand", cursive; font-size: 21px; }
.cfgx-field-engrave input::placeholder { font-family: var(--sans); font-size: 14px; }
.cfgx-help { font-size: 12.5px; color: var(--ink-3); margin-top: -4px; }
/* sticky footer: price + one-line spec + CTA (stays visible while the options scroll) */
@media (min-width: 901px) { .cfgx-panel:has(> .cfgx-foot) { overflow-x: hidden; } }   /* desktop only: on mobile the panel must not become a scroll container (it would trap touch scrolling) */
.cfgx-foot { position: sticky; bottom: -26px; z-index: 1; margin: 0 -22px -26px; padding: 14px 22px 18px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.cfgx-foot .cfgx-cta { margin-top: 0; }
@media (max-width: 900px) { .cfgx-foot { position: static; margin-bottom: 0; } }

/* ---------- real-estate 3D view: unit browser in the configurator panel (configurators-src/src/realestate) ---------- */
.cfgx-panel.re-panel { padding: 0; }
.re-panel { --ok: #3FA66A; --res: #E0A030; --sold: #D24B47; font-size: 14px; line-height: 1.45; }
.re-panel [hidden] { display: none !important; }
.re-panel .mono, .re-lb .mono { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.re-panel [data-status=available], .re-detail[data-status=available] { --st: var(--ok); }
.re-panel [data-status=reserved], .re-detail[data-status=reserved] { --st: var(--res); }
.re-panel [data-status=sold], .re-detail[data-status=sold] { --st: var(--sold); }
.re-head { padding: 22px 22px 14px; border-bottom: 1px solid var(--line); }
.re-head .eyebrow { font-size: 11px; color: var(--ink-3); }
.re-title { margin: 6px 0 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.re-sub { margin: 2px 0 0; color: var(--ink-2); }
.re-panel.is-detail .re-head { display: none; }
.re-filters { padding: 14px 22px 6px; display: grid; gap: 12px; }
.re-frow { display: grid; gap: 6px; }
.re-frow > .mono { color: var(--ink-3); display: flex; justify-content: space-between; }
.re-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.re-chip { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 13px; line-height: 1.2;
  display: inline-flex; align-items: center; gap: 6px; transition: background-color .15s, border-color .15s, color .15s; }
.re-chip:hover { border-color: var(--ink); }
.re-chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.re-chip i, .re-row i, .re-status i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--st); }
.re-chip small { color: var(--ink-3); font-size: 12px; }
.re-chip[aria-pressed=true] small { color: rgba(255,255,255,.6); }
.re-clear, .re-back { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.re-clear { color: var(--accent); }
.re-lhead, .re-row { display: grid; grid-template-columns: 14px 1.3fr .8fr .8fr 1fr; gap: 8px; align-items: center; }
.re-lhead { padding: 14px 22px 8px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.re-lhead button { text-align: left; color: var(--ink-3); font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.re-lhead button[data-dir] { color: var(--ink); }
.re-lhead button[data-dir]::after { content: " \2191"; }
.re-lhead button[data-dir="-1"]::after { content: " \2193"; }
.re-lhead button:last-child, .re-row span:last-child { text-align: right; }
.re-list { list-style: none; margin: 0; padding: 0 0 12px; }
.re-row { width: 100%; border-bottom: 1px solid var(--line); background: #fff; padding: 11px 22px; text-align: left; transition: background-color .12s; }
.re-row:hover, .re-row.hover { background: var(--bg-2); }
.re-row .rid { font-weight: 600; }
.re-row[data-status=sold] span { color: var(--ink-3); }
.re-empty { padding: 24px 22px; color: var(--ink-2); }
.re-more { display: block; width: calc(100% - 44px); margin: 4px 22px 18px; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.re-more:hover { border-color: var(--ink); }
.re-detail { padding: 16px 22px 22px; }
.re-back { padding: 6px 0; color: var(--ink-2); }
.re-back:hover { color: var(--ink); }
.re-top { display: flex; gap: 12px; align-items: center; color: var(--ink-2); margin-top: 14px; }
.re-status { display: inline-flex; align-items: center; gap: 6px; }
.re-status b { font-weight: 500; color: var(--ink); }
.re-dtitle { margin: 10px 0 2px; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.re-floor { margin: 0 0 16px; color: var(--ink-2); }
.re-plan { margin: 0 0 16px; position: relative; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.re-pl { padding: 10px; cursor: zoom-in; }
.re-pl svg { display: block; width: 100%; height: auto; max-height: 340px; }
.re-plan svg, .re-lb svg { user-select: none; -webkit-user-select: none; }
.re-enl { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; display: grid; place-items: center; color: var(--ink-2); }
.re-enl:hover { color: var(--ink); border-color: var(--ink); }
.re-enl svg { width: 16px; height: 16px; }
.re-plan figcaption { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-top: 1px solid var(--line); color: var(--ink-3); }
.re-key svg { display: block; width: 64px; height: auto; }
.re-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.re-facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.re-facts dt { color: var(--ink-3); margin-bottom: 6px; }
.re-facts dd { margin: 0; font-weight: 500; }
.re-facts dd span { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; }
.re-rooms { list-style: none; margin: 14px 0 0; padding: 0; font-size: 13px; }
.re-rooms li { display: flex; justify-content: space-between; padding: 5px 0; color: var(--ink-2); }
.re-rooms li b { font-weight: 400; font-family: var(--mono); font-size: 12px; }
.re-rooms li.tot { color: var(--ink); border-top: 1px solid var(--line); font-weight: 500; }
.re-rooms li.tot b { font-weight: 500; }
.re-rooms li.tot + li.tot { border-top: 0; }
.re-cta { margin-top: 18px; display: flex; justify-content: center; align-items: center; height: 48px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500; transition: background-color .25s; }
.re-cta:hover { background: var(--accent); color: #fff; }
.re-note { margin: 0; color: var(--ink-2); font-size: 13px; }
.re-panel :where(button):focus-visible, .re-tools button:focus-visible, .re-lb button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.re-tools { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 6px; z-index: 2; touch-action: manipulation; }   /* v106: a quick double tap must not zoom the page (iOS) */
.re-tools button { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(17,17,17,.08); transition: border-color .2s; }
.re-tools button:hover { border-color: var(--ink); }
.re-tools svg { width: 18px; height: 18px; }
.cfgx-stage:not(.is-ready) .re-tools { visibility: hidden; }
.re-lb { position: fixed; inset: 0; z-index: 200; background: rgba(17,17,17,.55); display: grid; place-items: center; padding: 24px; color: var(--ink); }
.re-lb[hidden] { display: none; }
.re-lb :where(button) { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }   /* outside .cfgx: own reset */
.re-lb-box { background: #fff; border-radius: 16px; width: min(980px, 100%); max-height: 100%; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(17,17,17,.3); overflow: hidden; }
.re-lb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.re-lb-head button { width: 36px; height: 36px; font-size: 24px; color: var(--ink-2); border-radius: 999px; }
.re-lb-head button:hover { background: var(--bg-2); color: var(--ink); }
.re-lb-plan { padding: 20px; min-height: 0; flex: 1; display: grid; place-items: center; }
.re-lb-plan svg { display: block; width: 100%; height: auto; max-height: calc(100vh - 140px); }
@media (max-width: 900px) {
  .re-head, .re-filters, .re-lhead, .re-row, .re-detail { padding-left: var(--pad); padding-right: var(--pad); }
  .re-lhead { position: static; }
  .re-facts { grid-template-columns: repeat(4, 1fr); }
  .re-facts div { padding-right: 4px; }
  .re-tools { left: auto; right: 12px; top: 12px; bottom: auto; flex-direction: column; }
  .re-lb { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
