/* Smart Fence — shared styles for every page and every language.
   The design language is the studio's own system (the one used on v-home, sagidoron and sdp):
   a paper ground, every section a rounded frame with a small gutter around it, a full photo hero with a
   shade on the text side, a short accent dash before small labels, pill buttons, soft rounded cards and
   a header that turns to light glass once the page moves.
   Written with logical properties (inline-start/end), so the same rules serve English and Hebrew/Arabic. */

:root {
  color-scheme: light;
  --ink: #222d37;
  --ink-deep: #151c23;
  --paper: #f2f4f6;
  --white: #ffffff;
  --tint: #e1ecef;
  --tint-mid: #b7d0d6;
  --accent: #30c1d6;
  --accent-deep: #0c6675;
  --accent-light: #8fe0ec;
  --muted: #4c5965;
  --on-dark: #d6dee4;
  --on-dark-soft: #bcc7cf;
  --line: rgba(34, 45, 55, .14);
  --line-light: rgba(255, 255, 255, .2);
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Exo 2', 'Inter', system-ui, Arial, sans-serif;
  --dw: 600;                 /* display weight */
  --dlh: 1.02;               /* display line height */
  --dtrack: -.022em;
  --fs-hero: clamp(2.6rem, 6.3vw, 6.4rem);
  --fs-page: clamp(2.3rem, 4.9vw, 5rem);
  --fs-display: clamp(2.05rem, 4.3vw, 4.5rem);
  --fs-block: clamp(1.85rem, 3.3vw, 3.3rem);
  --fs-h3: clamp(1.22rem, 1.55vw, 1.5rem);
  --fs-fact: clamp(1.9rem, 2.9vw, 2.8rem);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --gutter: clamp(8px, 1.2vw, 18px);
  --section-x: clamp(20px, 7.2vw, 112px);
  --section-y: clamp(72px, 8.6vw, 132px);
  --max: 1440px;
  --header-h: 84px;
  --shade-dir: 90deg;        /* the dark side of a photo is the side the text is on */
  --ease: cubic-bezier(.2, .65, .3, 1);
}
:root[dir="rtl"] { --shade-dir: 270deg; }
/* Hebrew: Karantina headlines, light weight, tight leading (the studio's house style) with Heebo for text */
:root:lang(he) {
  --body: 'Heebo', Arial, sans-serif; --display: 'Karantina', 'Arial Narrow', sans-serif;
  --dw: 400; --dlh: .84; --dtrack: 0em;
  --fs-hero: clamp(4.9rem, 10.6vw, 11rem); --fs-page: clamp(4.2rem, 8vw, 8rem); --fs-display: clamp(3.9rem, 7.4vw, 8.4rem);
  --fs-block: clamp(3.2rem, 5.6vw, 6rem); --fs-h3: clamp(2.1rem, 2.5vw, 2.6rem); --fs-fact: clamp(2.8rem, 3.8vw, 3.8rem);
}
:root:lang(ar) {
  --body: 'Cairo', Tahoma, Arial, sans-serif; --display: 'Cairo', Tahoma, Arial, sans-serif;
  --dw: 700; --dlh: 1.2; --dtrack: 0em;
  --fs-hero: clamp(2.4rem, 5.7vw, 5.6rem); --fs-page: clamp(2.1rem, 4.4vw, 4.4rem); --fs-display: clamp(1.9rem, 3.9vw, 4rem);
  --fs-block: clamp(1.7rem, 3vw, 3rem); --fs-h3: clamp(1.18rem, 1.5vw, 1.45rem);
}
:root:lang(de) { --fs-hero: clamp(2.35rem, 5.7vw, 5.9rem); --fs-page: clamp(2.1rem, 4.4vw, 4.5rem); --fs-display: clamp(1.9rem, 3.9vw, 4.1rem); --fs-block: clamp(1.7rem, 3vw, 3rem); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, address, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
fieldset { border: 0; min-width: 0; }
table { width: 100%; border-collapse: collapse; }
th { text-align: start; font-weight: 600; }
em { font-style: normal; }
::selection { color: #fff; background: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3, .display-title, .hero-title, .block-title { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dtrack); line-height: var(--dlh); text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }

.skip-link { position: absolute; z-index: 2000; inset-block-start: 10px; inset-inline-start: 12px; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: 999px; font-weight: 600; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* One arrow everywhere. It points forward: right in English, left in Hebrew and Arabic. */
.icon-arrow { width: 1.05em; height: 1.05em; flex: 0 0 auto; transition: transform .3s ease; }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
a:hover > .icon-arrow, button:hover > .icon-arrow { transform: translateX(4px); }
[dir="rtl"] a:hover > .icon-arrow, [dir="rtl"] button:hover > .icon-arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Header: see-through over the dark hero, light glass once the page moves ---------- */
.site-header { position: fixed; z-index: 100; inset-block-start: 0; inset-inline: 0; border-block-end: 1px solid transparent; transition: background .35s ease, box-shadow .35s ease, border-color .35s ease; }
.site-header.is-scrolled, .header-solid .site-header { background: rgba(255, 255, 255, .84); border-block-end-color: rgba(34, 45, 55, .08); box-shadow: 0 8px 30px rgba(21, 28, 35, .08); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); }
.header-bar { max-width: 1360px; height: var(--header-h); margin-inline: auto; padding-inline: clamp(18px, 3.5vw, 48px); display: flex; align-items: center; gap: 18px; color: #fff; transition: height .3s ease, color .3s ease; }
.is-scrolled .header-bar, .header-solid .header-bar { height: 72px; color: var(--ink); }
.brand { position: relative; display: block; flex: 0 0 auto; width: 104px; }
.brand img { width: 100%; height: auto; transition: opacity .3s ease; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.is-scrolled .brand .logo-light, .header-solid .brand .logo-light { opacity: 0; }
.is-scrolled .brand .logo-dark, .header-solid .brand .logo-dark { opacity: 1; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; font-size: .92rem; font-weight: 500; }
.main-nav a { padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.main-nav a:hover, .main-nav a[aria-current] { background: rgba(255, 255, 255, .14); }
.is-scrolled .main-nav a:hover, .is-scrolled .main-nav a[aria-current], .header-solid .main-nav a:hover, .header-solid .main-nav a[aria-current] { background: var(--tint); color: var(--accent-deep); }
.header-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header-cta { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .9rem; font-weight: 600; white-space: nowrap; transition: background .25s ease, color .25s ease, height .3s ease; }
.header-cta:hover { background: var(--tint); }
.is-scrolled .header-cta, .header-solid .header-cta { height: 42px; background: var(--ink); color: #fff; }
.is-scrolled .header-cta:hover, .header-solid .header-cta:hover { background: var(--accent-deep); }

.lang-menu { position: relative; }
.lang-button { height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; font: 700 .78rem/1 var(--body); letter-spacing: .04em; transition: background .2s ease, border-color .2s ease; }
.is-scrolled .lang-button, .header-solid .lang-button { border-color: var(--line); }
.lang-button:hover, .lang-button[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.is-scrolled .lang-button:hover, .is-scrolled .lang-button[aria-expanded="true"], .header-solid .lang-button:hover, .header-solid .lang-button[aria-expanded="true"] { background: var(--tint); border-color: transparent; }
.lang-button svg { width: 17px; height: 17px; color: var(--accent-light); }
.is-scrolled .lang-button svg, .header-solid .lang-button svg { color: var(--accent-deep); }
.lang-list { position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0; min-width: 180px; padding: 6px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgba(21, 28, 35, .16); }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 10px; font: 500 .92rem/1.2 'Inter', 'Heebo', 'Cairo', Arial, sans-serif; }
.lang-list a:hover { background: var(--paper); }
.lang-list a[aria-current] { color: var(--accent-deep); font-weight: 700; }

/* Menu button (phones and tablets): two lines that turn into an X */
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; color: inherit; }
.menu-toggle span { position: absolute; inset-inline-start: 10px; inset-block-start: 21px; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.6, 0, .2, 1); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* Full-screen menu. It opens under the header, so the menu button stays in place as the close button. */
.drawer { position: fixed; z-index: 90; inset: 0; display: flex; flex-direction: column; padding: calc(var(--header-h) + 14px) clamp(22px, 7vw, 60px) 30px; overflow-y: auto; background: var(--ink-deep); color: #fff; }
.drawer-nav { display: flex; flex-direction: column; margin-block-end: 28px; }
.drawer-nav a { display: flex; align-items: baseline; gap: 16px; padding-block: 20px;   /* 13px until 2026-11-26: "too close to each other" */ border-block-end: 1px solid var(--line-light); font: var(--dw) calc(var(--fs-block) * .86) / 1.1 var(--display); letter-spacing: var(--dtrack); }
.drawer-nav a[aria-current], .drawer-nav a:hover { color: var(--accent-light); }
.drawer-nav small { min-width: 22px; color: var(--accent-light); font: 500 .74rem/1 var(--body); letter-spacing: .08em; }
.drawer .button { width: 100%; max-width: 420px; }
.menu-open .site-header { background: transparent; border-block-end-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .header-bar { color: #fff; }
.menu-open .brand .logo-light { opacity: 1; }
.menu-open .brand .logo-dark { opacity: 0; }
.menu-open .lang-menu, .menu-open .header-cta { visibility: hidden; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Buttons and links ---------- */
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font-size: .94rem; font-weight: 600; text-align: center; transition: background .3s ease, color .3s ease, box-shadow .3s ease, border-color .3s ease, transform .2s ease; }
.button:active { transform: scale(.98); }
.button-light { background: var(--white); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.button-light:hover { background: var(--tint); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--accent-deep); box-shadow: 0 10px 28px rgba(21, 28, 35, .16); }
.button-accent { background: var(--accent); color: var(--ink-deep); }
.button-accent:hover { background: #57d2e4; box-shadow: 0 10px 28px rgba(48, 193, 214, .28); }
.button-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.button-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.button-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.button-outline:hover { border-color: var(--ink); }
.button svg:not(.icon-arrow) { width: 20px; height: 20px; flex: 0 0 auto; }
.underlined-link { display: inline-flex; gap: 12px; align-items: center; padding-block-end: 7px; border-block-end: 1px solid var(--accent-deep); font-size: .94rem; font-weight: 600; }
.underlined-link .icon-arrow { color: var(--accent-deep); }
.on-dark .underlined-link { border-color: var(--accent-light); }
.on-dark .underlined-link .icon-arrow { color: var(--accent-light); }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Section frame ---------- */
/* "clip" rounds the corners like "hidden" but does not turn the frame into a scroll box, so parts inside it can stay
   in view while the page scrolls (an article's side panel, a section's title). Older browsers fall back to "hidden". */
main:focus { outline: none; }   /* "Skip to content" puts the keyboard here: the page itself needs no ring */
main > section { margin: 12px var(--gutter); border-radius: var(--radius-lg); overflow: hidden; overflow: clip; }
main > section:first-child { margin-block-start: 0; border-start-start-radius: 0; border-start-end-radius: 0; }
.pad { padding: var(--section-y) var(--section-x); }
.inner { max-width: calc(var(--max) - 2 * var(--section-x)); margin-inline: auto; }
.bg-white { background: var(--white); }
.bg-tint { background: var(--tint); }
.on-dark { background: var(--ink); color: #fff; }
.section-meta { display: flex; align-items: center; gap: 14px; margin-block-end: clamp(36px, 5vw, 68px); color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .03em; }
.on-dark .section-meta { color: var(--on-dark-soft); }
.meta-line { width: 52px; height: 1px; background: var(--accent); flex: 0 0 auto; }
.display-title { font-size: var(--fs-display); color: var(--ink); }
.display-title em, .block-title em { color: var(--accent-deep); }
.on-dark .display-title, .on-dark .block-title { color: #fff; }
.on-dark .display-title em, .on-dark .block-title em { color: var(--accent-light); }
.block-title { margin-block-end: 26px; font-size: var(--fs-block); color: var(--ink); }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: clamp(28px, 6vw, 96px); margin-block-end: clamp(36px, 4.6vw, 64px); }
.split-head > :last-child:not(:first-child) { max-width: 440px; margin-block-end: 6px; flex: 0 1 auto; }
.split-head .display-title { max-width: 16ch; }
.lead { font-size: 1.16rem; line-height: 1.65; font-weight: 500; }
.copy { color: var(--muted); font-size: 1.02rem; line-height: 1.85; }
.on-dark .copy { color: var(--on-dark); }
.note { color: var(--muted); font-size: .88rem; line-height: 1.7; max-width: 68ch; }
.on-dark .note { color: var(--on-dark-soft); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 660px; height: min(100svh, 1000px); display: flex; align-items: center; background: var(--ink-deep); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(var(--shade-dir), rgba(17, 24, 31, .9) 0%, rgba(17, 24, 31, .7) 34%, rgba(17, 24, 31, .26) 68%, rgba(17, 24, 31, .06) 100%), linear-gradient(0deg, rgba(17, 24, 31, .5), transparent 42%), linear-gradient(180deg, rgba(17, 24, 31, .58), transparent 24%); }
.hero-content { position: relative; z-index: 2; width: min(780px, calc(100% - 2 * var(--section-x))); margin-inline-start: var(--section-x); padding-block-start: 60px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .92); }
.eyebrow-dash { width: 30px; height: 1px; flex: 0 0 auto; background: var(--accent); }
.hero-title { margin-block-start: 28px; font-size: var(--fs-hero); color: #fff; }
.hero-title em { display: block; color: var(--accent-light); }
.hero-copy { max-width: 540px; margin-block: 30px 40px; color: rgba(255, 255, 255, .9); font-size: 1.12rem; line-height: 1.75; }
.scroll-cue { position: absolute; z-index: 2; inset-block-end: 28px; inset-inline-start: var(--section-x); display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .82); font-size: .8rem; }
.scroll-cue span { display: inline-block; width: 1px; height: 34px; background: var(--accent); }
.hero-pause { position: absolute; z-index: 3; inset-block-end: 28px; inset-inline-end: 96px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); color: #fff; background: rgba(17, 24, 31, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }

/* ---------- Inner page hero: a photograph under a shade, the title at the foot ---------- */
.page-hero { position: relative; min-height: min(660px, 84svh); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(150px, 16vw, 210px) var(--section-x) clamp(56px, 7vw, 100px); background: var(--ink); color: #fff; }
.page-hero > * { position: relative; z-index: 1; max-width: 900px; }
.page-hero-media { position: absolute !important; inset: 0; z-index: 0 !important; max-width: none !important; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--shade-dir), rgba(17, 24, 31, .93), rgba(17, 24, 31, .7) 50%, rgba(17, 24, 31, .28)), linear-gradient(0deg, rgba(17, 24, 31, .6), transparent 50%), linear-gradient(180deg, rgba(17, 24, 31, .6), transparent 24%); }
.page-hero h1 { margin-block: 22px 24px; font-size: var(--fs-page); color: #fff; }
.page-hero h1 em { color: var(--accent-light); }
.page-lead { max-width: 580px; color: var(--on-dark); font-size: 1.1rem; line-height: 1.8; }
.page-hero .hero-actions { margin-block-start: 34px; }
.page-hero.is-short { min-height: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--on-dark-soft); font-size: .86rem; font-weight: 500; }
.crumbs a { color: var(--accent-light); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-block-start: 22px; color: var(--on-dark-soft); font-size: .86rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-content > *, .page-hero > :not(.page-hero-media) { animation: rise-in .9s var(--ease) both; }
  .hero-content > :nth-child(2), .page-hero > :nth-child(3) { animation-delay: .08s; }
  .hero-content > :nth-child(3), .page-hero > :nth-child(4) { animation-delay: .16s; }
  .hero-content > :nth-child(n+4), .page-hero > :nth-child(n+5) { animation-delay: .24s; }
  .page-hero-media img { animation: settle 1.6s var(--ease) both; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } }
@keyframes settle { from { transform: scale(1.06); } }

/* Parts of a section rise into place once (site.js marks them). Nothing is hidden without the script. */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Facts: four numbers on a line ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-block-start: clamp(44px, 5.6vw, 76px); border-block-start: 1px solid var(--line); }
.facts li { padding-block-start: 22px; padding-inline-end: 20px; }
.facts li + li { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.facts strong { display: block; font: var(--dw) var(--fs-fact) / 1 var(--display); letter-spacing: var(--dtrack); color: var(--accent-deep); }
.facts span { display: block; margin-block-start: 8px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.on-dark .facts, .on-dark .facts li + li { border-color: var(--line-light); }
.on-dark .facts strong { color: var(--accent-light); }
.on-dark .facts span { color: var(--on-dark-soft); }

/* ---------- Home: one unit opens as the page scrolls ---------- */
/* The picture stays in place (sticky) while three short steps pass it, so this frame must not clip its content.
   While it is in place the page's own scrolling is its playhead (assets/site.js): the stretch it stays for is the
   height of the steps less the height of the picture, about two thirds of a screen. It is short on purpose. */
main > section.is-scrolly { overflow: visible; }
.scrolly { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(32px, 5.5vw, 88px); align-items: start; }
/* The picture rests in the middle of the screen: half its own height above the middle. Its height follows the screen's
   width (about 34vw with its caption) until the page stops growing, where it is 490px; without that limit it rested
   high on a large screen, with an empty half screen under it. */
.scrolly-media { position: sticky; inset-block-start: max(96px, calc(50vh - min(17vw, 245px))); }
.scrolly-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: #dcdcdc; box-shadow: 0 30px 80px rgba(21, 28, 35, .14); }
.scrolly-still, .scrolly-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrolly-canvas { opacity: 0; }
.scrolly-frame.is-live .scrolly-canvas { opacity: 1; }
.scrolly-count { position: absolute; z-index: 2; inset-block-start: 18px; inset-inline-start: 20px; display: flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(17, 24, 31, .55); color: #fff; font: 600 .86rem/1 'Exo 2', var(--display); direction: ltr; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.scrolly-count span { opacity: .7; font-weight: 500; }
.scrolly-progress { position: absolute; z-index: 2; inset-inline: 20px; inset-block-end: 18px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(21, 28, 35, .14); }
.scrolly-progress b { display: block; width: 100%; height: 100%; border-radius: 3px; background: var(--accent-deep); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .scrolly-progress b { transform-origin: 100% 50%; }
.scrolly-caption { margin-block-start: 12px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
/* How long the picture stays is the height of these three steps: together a little over two screens, which leaves the
   picture in place for about 1.6 screens of scrolling, and the words of the steps almost a screen apart, so one is
   read at a time. It was 0.6 of a screen at first; on 2026-11-26 the owner found the unit opened "really fast", then
   asked for it to go slower still and for "more space between the 1 2 3 of the steps so it will look more
   cinematic". Keep the three in proportion when changing them. */
/* Then (same day) "now its a bit too much ... too much space between each": about 1.3 screens of stay now. */
.scrolly-step { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; padding-block: 28px; }
.scrolly-step:first-child { min-height: 54vh; justify-content: flex-start; padding-block-start: 8px; }
.scrolly-step:last-child { min-height: 56vh; justify-content: flex-end; padding-block-end: 8px; }
/* Room under the last step before the section ends, so "Raised" is read on white like the steps before it, not at the
   section's very edge (asked for on 2026-11-26). A margin, so the time the picture stays is not changed. */
.scrolly { margin-block-end: clamp(80px, 18vh, 200px); }
/* The movement in the section (asked for on 2026-11-26: "there are no effects what so ever"): each step comes in as it
   is reached, its number, heading and sentence one after another, and the steps behind it sink back. The picture
   itself is not zoomed or blended: tried the same day, the owner saw it flicker and look blurry. The numbers stay
   small: a large outlined numeral was tried and he found it ugly. */
.js .scrolly-step { opacity: 1; transition: none; }
.js .scrolly-step > * { transition: opacity .7s ease, transform .9s var(--ease); }
.js .scrolly-step:not(.is-now) > * { opacity: .18; transform: translateY(16px); }
.js .scrolly-step.is-now > small { transition-delay: 0s; }
.js .scrolly-step.is-now > h3 { transition-delay: .08s; }
.js .scrolly-step.is-now > p { transition-delay: .18s; }
.scrolly-progress b { box-shadow: 0 0 12px rgba(14, 116, 128, .55); }
@media (prefers-reduced-motion: reduce) {
  .js .scrolly-step > * { transition: none; transform: none !important; }
}
.scrolly-step small { margin-block-end: 14px; color: var(--accent-deep); font: 600 .82rem/1 var(--body); letter-spacing: .06em; }
.scrolly-step h3 { margin-block-end: 14px; font-size: var(--fs-block); line-height: var(--dlh); }
.scrolly-step p { max-width: 34ch; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.js .scrolly-step { opacity: .22; transition: opacity .5s ease; }
.js .scrolly-step.is-now { opacity: 1; }

/* ---------- Feature cards: tall rounded photographs with a number ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 34px 18px; }
.feature-card { grid-column: span 2; min-width: 0; }
.feature-card.is-wide { grid-column: span 3; }
.feature-image { position: relative; height: clamp(230px, 22vw, 320px); overflow: hidden; border-radius: var(--radius-md); background: #33414e; }
.is-wide .feature-image { height: clamp(260px, 30vw, 430px); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-card:hover .feature-image img { transform: scale(1.05); }
.chip-number { position: absolute; inset-block-start: 16px; inset-inline-start: 18px; padding: 3px 10px; border-radius: 999px; background: rgba(17, 24, 31, .55); color: #fff; font-size: .72rem; font-weight: 600; direction: ltr; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.feature-card h2, .feature-card h3 { margin-block: 20px 8px; font-size: var(--fs-h3); line-height: 1.12; }
.feature-card p { max-width: 440px; color: var(--muted); font-size: .95rem; line-height: 1.75; }
.on-dark .feature-card p { color: var(--on-dark-soft); }
.section-foot { margin-block-start: clamp(36px, 4.6vw, 56px); padding-block-start: clamp(28px, 3.6vw, 40px); border-block-start: 1px solid var(--line); }
.on-dark .section-foot { border-color: var(--line-light); }

/* ---------- Film ---------- */
.film-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: #000; box-shadow: 0 30px 80px rgba(21, 28, 35, .18); }
.film-player video { position: relative; width: 100%; height: 100%; object-fit: cover; }
.film-player .film-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }   /* only without scripts: the still behind the player (with scripts the player gets it as its poster) */
.film-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: none; color: var(--ink-deep); cursor: pointer; }   /* no shade of its own: the still under it is a designed card (video.py covers) */
.film-play[hidden], .film-player.is-started .film-play { display: none; }
.film-play span { display: grid; place-items: center; width: clamp(56px, 7.4vw, 96px); aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 18px 50px rgba(17, 24, 31, .32); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.film-play svg { width: 40%; height: 40%; margin-left: 5%; }   /* the triangle points right in every language, and sits a little right of centre to look centred */
.film-play:hover span { transform: scale(1.07); }
.film-play:focus-visible { outline: none; }
.film-play:focus-visible span { outline: 3px solid var(--accent); outline-offset: 5px; }
.film-block { margin: 0 0 clamp(44px, 5.4vw, 80px); }
.film-full { position: absolute; z-index: 3; inset-block-start: 14px; inset-inline-end: 14px; width: 40px; height: 40px; display: none; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; color: #fff; background: rgba(17, 24, 31, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; }
.film-player.is-started .film-full { display: grid; }
.film-full:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.film-player:fullscreen { border-radius: 0; background: #000; }
.film-player:fullscreen video { object-fit: contain; }
.film-figure { margin: 0; }
.film-block:not(.has-switch) .film-figure + .film-figure { margin-block-start: clamp(32px, 4vw, 52px); }   /* without the script both films stand one under the other */
.film-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-block-end: 20px; }
.film-switch[hidden] { display: none; }
.film-switch-label { font-size: 1.02rem; font-weight: 600; }
.film-switch .seg button { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.film-caption { margin-block-start: 18px; }
.film-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-block-end: 6px; font-size: 1.02rem; }
.film-name b { font-weight: 600; }
.film-name span { color: var(--muted); font-size: .84rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.data-table th, .data-table td { padding: 18px 22px; vertical-align: top; text-align: start; }
.data-table thead th, .data-table thead td { background: var(--paper); color: var(--muted); font: 600 .82rem/1.35 var(--body); letter-spacing: .02em; }
.data-table tbody tr + tr > * { border-block-start: 1px solid var(--line); }
.data-table tbody th { width: 24%; color: var(--ink); }
.data-table td { color: var(--muted); }
.compare-table .is-ours { background: var(--ink); color: #fff; }
.compare-table thead .is-ours { color: var(--accent-light); font-size: .9rem; }
.compare-table tbody tr + tr > .is-ours { border-block-start-color: rgba(255, 255, 255, .14); }
.market-table td:nth-child(2) { width: 24%; color: var(--ink); font-weight: 600; }
.table-note { margin-block-start: 22px; }
/* A plain two-column list (specifications, places) */
.spec-list { border-block-start: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 24px; padding-block: 18px; border-block-end: 1px solid var(--line); }
.spec-list dt { font-weight: 600; color: var(--ink); }
.spec-list dd { color: var(--muted); }
.spec-list.is-three > div { grid-template-columns: minmax(0, .5fr) minmax(0, .5fr) minmax(0, 1fr); }
.on-dark .spec-list, .on-dark .spec-list > div { border-color: var(--line-light); }
.on-dark .spec-list dt { color: #fff; }
.on-dark .spec-list dd { color: var(--on-dark-soft); }

/* ---------- Project cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work-card { position: relative; display: block; grid-column: span 6; height: clamp(260px, 30vw, 440px); overflow: hidden; border-radius: var(--radius-md); background: var(--tint); color: #fff; }
.work-card:nth-child(4n+1), .work-card:nth-child(4n) { grid-column: span 7; }
.work-card:nth-child(4n+2), .work-card:nth-child(4n+3) { grid-column: span 5; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover img { transform: scale(1.05); }
.work-card figure { height: 100%; }
.work-card figcaption { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; flex-direction: column; gap: 4px; padding: 70px 24px 20px; background: linear-gradient(0deg, rgba(17, 24, 31, .8), transparent); }
.work-card strong { font: var(--dw) var(--fs-h3) / 1.12 var(--display); letter-spacing: var(--dtrack); }
.work-card span { font-size: .86rem; opacity: .92; }

/* ---------- Process: numbered steps on a line ---------- */
.process-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-steps::before { content: ''; position: absolute; inset-block-start: 36px; inset-inline: 0; height: 1px; background: var(--line); }
.process-steps.is-three { grid-template-columns: repeat(3, 1fr); }
.process-step { position: relative; min-width: 0; }
.step-icon { position: relative; z-index: 1; width: 72px; height: 72px; display: grid; place-items: center; margin-block-end: 22px; border: 1px solid rgba(12, 102, 117, .45); border-radius: 50%; background: var(--white); color: var(--accent-deep); font: 600 1.4rem/1 'Exo 2', var(--display); direction: ltr; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.bg-tint .step-icon { background: var(--tint); }
.process-step:hover .step-icon { background: var(--ink); border-color: var(--ink); color: #fff; }
.process-step h3 { margin-block-end: 10px; font-size: var(--fs-h3); line-height: 1.12; }
.process-step p { max-width: 300px; color: var(--muted); font-size: .94rem; line-height: 1.8; }
.on-dark .process-steps::before { background: var(--line-light); }
.on-dark .step-icon { background: var(--ink); border-color: rgba(143, 224, 236, .5); color: var(--accent-light); }
.on-dark .process-step:hover .step-icon { background: var(--accent); border-color: var(--accent); color: var(--ink-deep); }
.on-dark .process-step p { color: var(--on-dark-soft); }

/* ---------- Soft cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card-grid.is-two { grid-template-columns: repeat(2, 1fr); }
.card-grid.is-three { grid-template-columns: repeat(3, 1fr); }
.soft-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.soft-card h3 { font-size: var(--fs-h3); line-height: 1.12; color: var(--ink); }
.soft-card p { color: var(--muted); font-size: .95rem; line-height: 1.8; }
.soft-card small { color: var(--accent-deep); font: 600 .78rem/1 var(--body); letter-spacing: .05em; }
.soft-card .more { margin-block-start: auto; padding-block-start: 10px; display: inline-flex; align-items: center; gap: 10px; color: var(--accent-deep); font-size: .92rem; font-weight: 600; }
.soft-card.is-accent { background: var(--ink); border-color: var(--ink); }
.soft-card.is-accent h3 { color: #fff; }
.soft-card.is-accent p, .soft-card.is-accent li { color: var(--on-dark); }
.on-dark .soft-card { background: rgba(255, 255, 255, .05); border-color: var(--line-light); }
.on-dark .soft-card h3 { color: #fff; }
.on-dark .soft-card p { color: var(--on-dark-soft); }
.on-dark .soft-card small, .on-dark .soft-card .more { color: var(--accent-light); }
a.soft-card { transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
a.soft-card:hover { border-color: var(--accent-deep); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(21, 28, 35, .08); }

/* ---------- Photograph beside text ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: stretch; }
.duo-image { position: relative; min-height: 460px; overflow: hidden; border-radius: var(--radius-lg); background: var(--tint-mid); }
.duo-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo-image figcaption { position: absolute; z-index: 1; inset-block-end: 0; inset-inline: 0; padding: 60px 24px 20px; color: #fff; font-size: .84rem; font-weight: 500; background: linear-gradient(0deg, rgba(17, 24, 31, .7), transparent); }
.duo-content { display: flex; flex-direction: column; justify-content: center; }
.duo-content > * { max-width: 580px; }
.duo-content .copy { margin-block-end: 22px; }
.duo-content .button, .duo-content .underlined-link { align-self: flex-start; margin-block-start: 28px; }
.duo.is-flipped .duo-image { order: 2; }
.check-list li { position: relative; padding-block: 13px; padding-inline-start: 32px; border-block-end: 1px solid var(--line); font-size: .97rem; line-height: 1.6; }
.check-list li::before { content: ''; position: absolute; inset-inline-start: 3px; inset-block-start: 19px; width: 12px; height: 7px; border-left: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep); transform: rotate(-45deg); }
.on-dark .check-list li, .is-accent .check-list li { border-color: var(--line-light); }
.on-dark .check-list li::before, .is-accent .check-list li::before { border-color: var(--accent-light); }
.row-list { border-block-start: 1px solid var(--line); }
.row-list li { padding-block: 20px; border-block-end: 1px solid var(--line); }
.row-list h3 { margin-block-end: 6px; font-size: var(--fs-h3); line-height: 1.15; }
.row-list p { color: var(--muted); font-size: .96rem; line-height: 1.75; }
.on-dark .row-list, .on-dark .row-list li { border-color: var(--line-light); }
.on-dark .row-list p { color: var(--on-dark-soft); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: start; }
.text-col p { margin-block-end: 18px; color: var(--muted); font-size: 1.05rem; line-height: 1.9; }
.text-col p:last-child { margin-block-end: 0; }
.on-dark .text-col p { color: var(--on-dark); }
.photo-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.photo-row figure { height: clamp(220px, 26vw, 380px); overflow: hidden; border-radius: var(--radius-md); background: var(--tint); }
.photo-row img { width: 100%; height: 100%; object-fit: cover; }
.photo-band { height: clamp(300px, 40vw, 560px); overflow: hidden; border-radius: var(--radius-lg); background: var(--tint); margin-block-start: clamp(40px, 5vw, 72px); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li, .chips a, .chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; font-weight: 500; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.chips a:hover, button.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Questions ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: start; }
.faq-grid .display-title { margin-block-end: 26px; }
.faq-list { border-block-start: 1px solid var(--line); }
.faq-list details { border-block-end: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; width: 11px; height: 11px; flex: 0 0 auto; margin-inline-end: 6px; border-right: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep); transform: rotate(45deg) translateY(-3px); transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-answer { max-width: 700px; padding-block-end: 24px; color: var(--muted); line-height: 1.85; }
.faq-answer a, .copy a, .note a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.on-dark .faq-answer a, .on-dark .copy a, .on-dark .note a { color: var(--accent-light); }
.faq-index { position: sticky; inset-block-start: 110px; }
.faq-index a { display: block; padding-block: 12px; border-block-end: 1px solid var(--line); font-weight: 600; transition: color .2s ease; }
.faq-index a:hover { color: var(--accent-deep); }
.faq-group + .faq-group { margin-block-start: clamp(48px, 6vw, 80px); }
.faq-group h2 { margin-block-end: 18px; font-size: var(--fs-block); }

/* ---------- Contact: routes on one side, the form card on the other ---------- */
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .95fr; gap: 9%; align-items: start; }
.contact-copy .copy { max-width: 440px; margin-block: 24px 32px; }
.contact-routes { max-width: 460px; border-block-start: 1px solid var(--line-light); }
.contact-routes a, .contact-routes > li > div { display: grid; grid-template-columns: 1fr auto 20px; gap: 12px; align-items: center; padding-block: 15px; border-block-end: 1px solid var(--line-light); transition: color .2s ease; }
.contact-routes small { color: var(--on-dark-soft); font-size: .86rem; }
.contact-routes b { font-size: .96rem; font-weight: 500; text-align: end; }
.contact-routes .icon-arrow { color: var(--accent-light); }
.contact-routes a:hover b { color: var(--accent-light); }
.form-card { padding: clamp(24px, 3vw, 38px); background: #2b3743; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); box-shadow: 0 22px 60px rgba(0, 0, 0, .16); color: #fff; }
.form-card.is-light { background: var(--white); border-color: var(--line); color: var(--ink); box-shadow: 0 22px 60px rgba(21, 28, 35, .08); }
.form-card h2, .form-card h3 { margin-block-end: 22px; font: 600 1.08rem/1.3 var(--body); letter-spacing: 0; }
.sf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; font-size: .88rem; font-weight: 500; color: #e4ebf0; }
.is-light .field { color: var(--ink); }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 50px; padding: 11px 14px; color: #fff; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .26); border-radius: var(--radius-sm); font-size: 1rem; transition: border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.is-light .field input, .is-light .field select, .is-light .field textarea { color: var(--ink); background: var(--paper); border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(48, 193, 214, .24); }
.is-light .field input:focus, .is-light .field select:focus, .is-light .field textarea:focus { background: var(--white); border-color: var(--accent-deep); }
.field input::placeholder, .field textarea::placeholder { color: #a9b6bf; opacity: 1; }
.field select option { background: var(--ink); color: #fff; }
.is-light .field select option { background: var(--white); color: var(--ink); }
.field textarea { min-height: 104px; resize: vertical; line-height: 1.6; }
.field .is-invalid { border-color: #ff9a8f; }
.is-light .field .is-invalid { border-color: #c0392b; }
/* the field that opens beside "Partnership type" when "Other" is chosen: it arrives, so that it is noticed */
@media (prefers-reduced-motion: no-preference) { .field[data-other-field] { animation: field-in .28s var(--ease) both; } }
@keyframes field-in { from { opacity: 0; transform: translateY(6px); } }
.optional { color: var(--on-dark-soft); font-weight: 400; }
.is-light .optional { color: var(--muted); }
.consent { display: flex; align-items: flex-start; gap: 12px; color: var(--on-dark); font-size: .9rem; line-height: 1.6; cursor: pointer; }
.is-light .consent { color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--accent); cursor: pointer; }
.consent a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.is-light .consent a { color: var(--accent-deep); }
.form-foot { display: grid; gap: 12px; }
.form-foot .button { width: 100%; }
.form-foot .button[disabled] { opacity: .7; cursor: progress; }
.form-status { min-height: 1.5em; font-size: .92rem; line-height: 1.5; color: #fff; }
.is-light .form-status { color: var(--accent-deep); }
.form-status.is-error { color: #ffb1a8; }
.is-light .form-status.is-error { color: #b3261e; }
/* Honeypot: hidden from people without parking it off-screen (an RTL page would grow sideways). */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* ---------- Closing band: a photograph under a wash, one invitation ---------- */
.cta-band { position: relative; min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 90px 24px; background: var(--ink); color: #fff; text-align: center; }
.cta-photo { position: absolute; inset: 0; overflow: hidden; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 28, 35, .84), rgba(21, 28, 35, .68) 50%, rgba(21, 28, 35, .88)); }
.cta-band h2 { position: relative; z-index: 1; max-width: 18ch; font-size: var(--fs-display); color: #fff; }
.cta-band p { position: relative; z-index: 1; max-width: 560px; margin-block: 20px 34px; color: var(--on-dark); font-size: 1.08rem; line-height: 1.75; }
.cta-band .hero-actions { position: relative; z-index: 1; justify-content: center; }
/* The configurator invitation on the home page: the render fills the frame */
.teaser { position: relative; min-height: min(640px, 86svh); display: flex; align-items: center; background: var(--ink-deep); color: #fff; }
.teaser-media { position: absolute; inset: 0; }
.teaser-media img { width: 100%; height: 100%; object-fit: cover; }
.teaser-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--shade-dir), rgba(17, 24, 31, .92), rgba(17, 24, 31, .66) 42%, rgba(17, 24, 31, .08) 78%); }
.teaser-content { position: relative; z-index: 1; width: min(560px, calc(100% - 2 * var(--section-x))); margin-inline-start: var(--section-x); padding-block: 70px; }
.teaser-content h2 { margin-block: 22px 20px; font-size: var(--fs-display); color: #fff; }
.teaser-content p { margin-block-end: 32px; color: var(--on-dark); font-size: 1.08rem; line-height: 1.75; }
.teaser-content .eyebrow { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { margin: 12px var(--gutter) var(--gutter); padding: clamp(40px, 5vw, 64px) var(--section-x) 24px; background: var(--ink-deep); color: #fff; border-radius: var(--radius-lg); }
.footer-top { display: grid; grid-template-columns: 1fr 1.7fr; gap: 8%; padding-block-end: 36px; border-block-end: 1px solid var(--line-light); }
.footer-brand img { width: 132px; height: auto; }
.footer-tagline { max-width: 18ch; margin-block-start: 22px; font: var(--dw) calc(var(--fs-h3) * 1.08) / 1.18 var(--display); letter-spacing: var(--dtrack); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h2 { margin-block-end: 14px; color: var(--accent-light); font: 600 .8rem/1.3 var(--body); letter-spacing: .05em; }
.footer-cols li { margin-block-end: 9px; }
.footer-cols a, .footer-cols address { color: #d3dde3; font-size: .92rem; line-height: 1.55; transition: color .2s ease; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; column-gap: 48px; padding-block-start: 20px; color: #a9b6bf; font-size: .8rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a, .footer-legal button { color: inherit; text-align: start; transition: color .2s ease; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
/* Doron Media credit: bottom bar, opposite the copyright; own centred line on tablets and phones */
.dm-credit { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: 13px;
  text-decoration: none; opacity: .75; transition: opacity .2s; white-space: nowrap; }
.dm-credit:hover, .dm-credit:focus-visible { opacity: 1; }
.dm-credit img { display: block; height: 20px; width: auto; }
/* Optical centring: the logo is mostly lowercase, so the eye centres on its lowercase letters, which sit lower than the box middle. */
.dm-credit span { position: relative; top: 1px; }

.wa-float { position: fixed; z-index: 90; inset-block-end: 22px; inset-inline-end: 22px; width: 56px; height: 56px; display: grid; place-items: center; color: #fff; background: #1f8f54; border: 2px solid rgba(255, 255, 255, .9); border-radius: 50%; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); transition: transform .25s ease, background .25s ease, opacity .25s ease; }
.wa-float:hover { transform: translateY(-3px); background: #19784a; }

/* Cookie choice: a small card at the foot of the screen (consent.js builds it) */
.consent-banner { position: fixed; z-index: 120; inset-block-end: 18px; inset-inline: 0; width: min(580px, calc(100vw - 24px)); margin-inline: auto; display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 50px rgba(21, 28, 35, .2); font-size: .9rem; line-height: 1.55; }
.consent-text a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.consent-btn { min-height: 42px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.consent-btn-accept { background: var(--ink); color: #fff; }

/* ---------- Articles ---------- */
.post-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: clamp(28px, 4vw, 48px); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) 20px; }
.post-card a { display: grid; gap: 18px; height: 100%; align-content: start; }
.post-card figure { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-md); background: var(--tint); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card a:hover img { transform: scale(1.05); }
.post-body { display: grid; gap: 10px; align-content: start; }
.post-card h2, .post-card h3 { font-size: var(--fs-h3); line-height: 1.15; }
.post-body > p { color: var(--muted); font-size: .96rem; line-height: 1.7; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem !important; font-weight: 600; color: var(--accent-deep) !important; }
.post-meta span + span { color: var(--muted); font-weight: 500; }
.post-card.is-lead { grid-column: 1 / -1; }
.post-card.is-lead a { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 4vw, 64px); align-items: center; }
.post-card.is-lead figure { border-radius: var(--radius-lg); }
.post-card.is-lead h2 { font-size: calc(var(--fs-block) * .82); line-height: 1.1; }
.post-card.is-lead .post-body > p:not(.post-meta) { font-size: 1.08rem; }
.post-card[hidden] { display: none; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.article-aside .soft-card { background: var(--tint); border-color: transparent; }
.toc { margin-block-end: 16px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.toc h2 { margin-block-end: 12px; color: var(--muted); font: 600 .8rem/1.3 var(--body); letter-spacing: .05em; }
.toc ol { display: grid; border-inline-start: 1px solid var(--line); }
.toc a { display: block; margin-inline-start: -1px; padding: 6px 14px; border-inline-start: 2px solid transparent; color: var(--muted); font-size: .88rem; line-height: 1.4; transition: color .2s ease, border-color .2s ease; }
.toc a:hover { color: var(--ink); }
.toc a.is-now { color: var(--ink); font-weight: 600; border-inline-start-color: var(--accent-deep); }

/* Pictures and diagrams inside an article (templates/_visuals.html) */
.prose-figure, .info-card { margin-block: 2.4em; }
.prose-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-md); background: var(--tint); }
.prose-figure figcaption { margin-block-start: 10px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.info-card { padding: clamp(18px, 2.6vw, 30px); border-radius: var(--radius-md); background: var(--tint); font-size: .96rem; line-height: 1.6; }
.info-card ul, .info-card ol, .prose .info-card ul, .prose .info-card ol { display: block; padding: 0; list-style: none; }
.info-title { margin-block-end: 18px; color: var(--ink); font: var(--dw) var(--fs-h3) / 1.15 var(--display); letter-spacing: var(--dtrack); }
.info-note { margin-block-start: 16px; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.info-stats { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-block-start: 16px; }
.info-stats li { padding: 12px 14px; border-radius: 14px; background: var(--white); }
.info-stats strong { display: block; color: var(--accent-deep); font: var(--dw) 1.25rem/1.1 var(--display); letter-spacing: var(--dtrack); }
:lang(he) .info-stats strong { font-size: 1.9rem; }
.info-stats span { display: block; margin-block-start: 4px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.info-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-pair div { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; }
.info-pair img { width: 100%; height: 100%; object-fit: cover; }
.info-pair span { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(17, 24, 31, .6); color: #fff; font-size: .78rem; font-weight: 600; }
.info-unit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: center; }
.info-unit-pic { overflow: hidden; border-radius: 14px; background: #f7f7f7; aspect-ratio: 4 / 3; } /* the render's own backdrop, so no band shows beside it */
.info-unit-pic img { width: 100%; height: 100%; object-fit: contain; }
.info-parts li, .info-layers li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding-block: 9px; }
.info-parts li + li, .info-layers li + li { border-block-start: 1px solid var(--line); }
.info-parts span, .info-layers li span, .info-steps li span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .78rem/1 'Exo 2', 'Inter', sans-serif; }
.info-parts p, .info-layers p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.info-parts strong, .info-layers strong { color: var(--ink); }
.info-drawing { padding: 10px; border-radius: 14px; background: var(--white); }
.info-drawing svg { width: 100%; height: auto; border-radius: 8px; }
.info-steps { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.info-steps li { padding: 14px; border-radius: 14px; background: var(--white); }
.info-steps strong { display: block; margin-block: 12px 6px; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.info-steps p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.info-card .table-scroll { border-radius: 14px; }
.info-card table { background: var(--white); font-size: .9rem; }
.info-bars li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: center; padding-block: 7px; }
.bar-name { color: var(--ink); font-size: .9rem; font-weight: 500; line-height: 1.3; }
.bar-track { height: 12px; border-radius: 999px; background: var(--white); overflow: hidden; }
.bar-track i { display: block; width: var(--w); height: 100%; border-radius: 999px; background: var(--tint-mid); }
.info-bars b { min-width: 58px; text-align: end; color: var(--ink); font: 600 .9rem/1 'Exo 2', 'Inter', sans-serif; }
.info-bars .is-ours { margin-block-start: 6px; padding-block-start: 13px; border-block-start: 1px solid var(--line); }
.info-bars .is-ours .bar-track i { background: var(--accent-deep); }
.info-bars .is-ours .bar-name, .info-bars .is-ours b { color: var(--accent-deep); font-weight: 700; }
.info-layers { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(16px, 2.6vw, 30px); align-items: center; }
.info-layers svg { width: 100%; height: auto; max-width: 240px; margin-inline: auto; }
.article-aside .button { align-self: flex-start; margin-block-start: 8px; }
.prose { max-width: 70ch; font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-block-start: 1.15em; }
/* A heading belongs to the text under it, but it needs room to breathe: clear air above, a full line below. */
.prose h2 { margin-block-start: clamp(60px, 2.2em, 96px); font-size: calc(var(--fs-block) * .8); line-height: 1.14; }
.prose h3 { margin-block-start: clamp(36px, 2em, 52px); font-size: var(--fs-h3); line-height: 1.22; }
.prose h2 + * { margin-block-start: clamp(24px, 2.2vw, 30px); }
.prose h3 + * { margin-block-start: 18px; }
.prose > :first-child { margin-block-start: 0; }
.prose a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { display: grid; gap: .5em; padding-inline-start: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--accent-deep); font-weight: 600; }
.prose table { font-size: .98rem; background: var(--paper); border-radius: var(--radius-md); overflow: hidden; }
.prose th, .prose td { padding: 14px 18px; vertical-align: top; text-align: start; }
.prose thead th { background: var(--ink); color: #fff; font-weight: 600; }
.prose tbody tr + tr > * { border-block-start: 1px solid var(--line); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--paper); font-size: .92em; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-md); }

/* ---------- How it works: one unit, lowered to raised ---------- */
.unit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.unit-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.unit-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .25s ease; }
.unit-img.is-on { opacity: 1; }
.unit-slider { display: grid; gap: 10px; margin-block: 28px; font-weight: 600; font-size: .92rem; }
.unit-slider input { width: 100%; height: 36px; accent-color: var(--accent-deep); }
.unit-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: .84rem; font-weight: 500; }
.unit-parts li { padding-block: 12px; border-block-end: 1px solid var(--line); color: var(--muted); font-size: .96rem; line-height: 1.65; }
.unit-parts strong { color: var(--ink); }

/* ---------- Installation: the section through the channel ---------- */
.req-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.section-drawing { padding: clamp(14px, 2vw, 26px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.section-drawing svg { width: 100%; height: auto; border-radius: var(--radius-sm); }
.section-drawing figcaption { margin-block-start: 14px; color: var(--muted); font-size: .86rem; }
.d-ground { fill: #DCD6CC; }
.d-water { fill: #8FD3E0; }
.d-concrete { fill: #A9B0B8; }
.d-void { fill: #EEF2F6; }
.d-paving { fill: #F8F6F1; stroke: #BFB8AC; stroke-width: 1; }
.d-box { fill: #2B3742; }
.d-leg { stroke: #2B3742; stroke-width: 6; }
.d-mesh { fill: none; stroke: #7FD8E6; stroke-width: 2; }
.d-rail { fill: #111820; }
.d-pipe { fill: none; stroke: #5D6873; stroke-width: 9; stroke-linecap: round; }
.d-cable { fill: none; stroke: #0C6675; stroke-width: 3; stroke-dasharray: 7 6; stroke-linecap: round; }
.d-dim path { fill: none; stroke: #222D37; stroke-width: 2; }
.d-label text { font: 500 15px var(--body); fill: #222D37; }
.d-label .d-on-box { fill: #fff; }
.d-label .d-on-concrete { fill: #1B242C; font-size: 13px; }
.d-label .d-num { font-weight: 700; font-size: 16px; }

/* ---------- Projects page ---------- */
.project-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: end; margin-block-end: clamp(32px, 4vw, 52px); }
.project-place { margin-block: 14px 0; color: var(--accent-deep); font-weight: 600; font-size: .95rem; }
.on-dark .project-place { color: var(--accent-light); }
.project-photos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-photos figure { grid-column: span 4; height: clamp(200px, 22vw, 320px); overflow: hidden; border-radius: var(--radius-md); background: var(--tint); }
.project-photos .p-cover { grid-column: 1 / -1; height: clamp(300px, 44vw, 620px); border-radius: var(--radius-lg); }
.project-photos.count-2 figure:nth-last-child(-n+2) { grid-column: span 6; }
.project-photos.count-1 figure:last-child { grid-column: 1 / -1; }
.project-photos img { width: 100%; height: 100%; object-fit: cover; }
.project-facts { margin-block-start: 22px; }

/* ---------- Distributors ---------- */
.dist-list { border-block-start: 1px solid var(--line); }
.dist-row { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, .7fr) minmax(0, 1.2fr); gap: 28px; align-items: start; padding-block: 30px; border-block-end: 1px solid var(--line); }
.dist-region { color: var(--accent-deep); font-size: .86rem; font-weight: 600; letter-spacing: .02em; }
.dist-row h3 { font-size: var(--fs-h3); line-height: 1.15; }
.dist-row p { color: var(--muted); }
.dist-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-block-start: 16px; }
.dist-links a:not(.underlined-link) { font-weight: 600; color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { min-height: 78svh; }

/* ============================================================== Configurator: the studio */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 31vw, 470px); gap: 12px; height: calc(100svh - 72px - var(--gutter)); min-height: 620px; margin-block-start: 72px !important; overflow: visible !important; border-radius: 0 !important; }
.studio-stage { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-deep); color: #fff; }
.stage-view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.stage-view.is-on { opacity: 1; visibility: visible; }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.stage-img.is-on { opacity: 1; }
/* The fence seems to grow out of the floor: the incoming picture is uncovered from the ground up. */
.stage-img.is-rising { animation: stage-rise 1.1s var(--ease) both; }
.stage-img.is-sinking { animation: stage-sink 1.1s var(--ease) both; }
@keyframes stage-rise { from { clip-path: inset(100% 0 0 0); opacity: 1; } to { clip-path: inset(0); opacity: 1; } }
@keyframes stage-sink { from { clip-path: inset(0 0 100% 0); opacity: 1; } to { clip-path: inset(0); opacity: 1; } }
.studio-stage::before { content: ''; position: absolute; z-index: 1; inset-inline: 0; inset-block-start: 0; height: 26%; background: linear-gradient(180deg, rgba(17, 24, 31, .5), transparent); pointer-events: none; }
.studio-stage::after { content: ''; position: absolute; z-index: 1; inset-inline: 0; inset-block-end: 0; height: 34%; background: linear-gradient(0deg, rgba(17, 24, 31, .62), transparent); pointer-events: none; }
.studio-stage.is-plan::before, .studio-stage.is-plan::after { opacity: 0; }
.stage-top { position: absolute; z-index: 3; inset-block-start: 18px; inset-inline: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stage-bottom { position: absolute; z-index: 3; inset-block-end: 22px; inset-inline: 22px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.stage-note { max-width: 300px; color: rgba(255, 255, 255, .82); font-size: .78rem; line-height: 1.5; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(17, 24, 31, .5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .16); }
.seg button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 16px; border-radius: 999px; color: rgba(255, 255, 255, .86); font-size: .84rem; font-weight: 600; transition: background .25s ease, color .25s ease; }
.seg button svg { width: 16px; height: 16px; }
.seg button:hover { color: #fff; }
.seg button.is-on { background: #fff; color: var(--ink); }
.seg.is-light { background: var(--paper); border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.seg.is-light button { color: var(--muted); }
.seg.is-light button.is-on { background: var(--ink); color: #fff; }
.raise-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 26px 0 8px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .96rem; box-shadow: 0 14px 40px rgba(0, 0, 0, .28); transition: transform .2s ease, background .25s ease; }
[dir="rtl"] .raise-btn { padding: 0 8px 0 26px; }
.raise-btn:hover { background: var(--tint); }
.raise-btn:active { transform: scale(.97); }
.raise-btn i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink-deep); transition: transform .6s var(--ease); }
.raise-btn i svg { width: 20px; height: 20px; }
.raise-btn[aria-pressed="true"] i { transform: rotate(180deg); }
.stage-plan { background: #e7e3da; }
.plan-holder { position: absolute; inset: 0; }
.plan-holder svg { display: block; width: 100%; height: 100%; }
.plan-holder [role="button"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.stage-img.is-top { z-index: 1; }
.is-plan .stage-note { max-width: 380px; padding: 9px 14px; border-radius: 14px; background: rgba(255, 255, 255, .92); color: var(--ink); }
.stage-note:empty { display: none; }

.studio-panel { display: flex; flex-direction: column; min-height: 0; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.panel-head { padding: 24px 28px 18px; border-block-end: 1px solid var(--line); }
.panel-head h1 { font-size: clamp(1.45rem, 1.9vw, 1.9rem); line-height: 1.1; }
:lang(he) .panel-head h1 { font-size: clamp(2.6rem, 3.2vw, 3.2rem); }
.panel-kicker { display: flex; align-items: center; gap: 10px; margin-block-end: 10px; color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .03em; }
.panel-kicker span { width: 26px; height: 1px; background: var(--accent); }
.panel-steps { display: flex; gap: 6px; margin-block-start: 18px; }
.panel-steps li { flex: 1 1 0; }
.panel-steps button { width: 100%; height: 22px; display: flex; align-items: center; }
.panel-steps button::before { content: ''; width: 100%; height: 4px; border-radius: 4px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s ease, box-shadow .3s ease; }
.panel-steps button.is-done::before { background: var(--accent-deep); box-shadow: none; }
.panel-steps button.is-now::before { background: var(--accent); box-shadow: none; }
.panel-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 26px 28px 28px; scrollbar-width: thin; }
.step { display: none; }
.step.is-on { display: block; animation: step-in .45s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } }
.step-count { margin-block-end: 10px; color: var(--accent-deep); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.step h2 { font-size: clamp(1.5rem, 1.9vw, 1.95rem); line-height: 1.12; }
:lang(he) .step h2 { font-size: clamp(2.6rem, 3.2vw, 3.3rem); }
.step-hint { margin-block: 10px 24px; color: var(--muted); font-size: .96rem; line-height: 1.65; }
.step h3 { margin-block: 28px 12px; font: 600 .92rem/1.3 var(--body); letter-spacing: 0; color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tiles.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles.is-one { grid-template-columns: 1fr; }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 0; height: 0; }
.tile-box { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.tile:hover .tile-box { border-color: var(--ink); }
.tile input:checked + .tile-box { border-color: var(--accent-deep); box-shadow: 0 0 0 2px var(--accent-deep), 0 12px 30px rgba(12, 102, 117, .14); }
.tile input:focus-visible + .tile-box { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile-pic { aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.tile-pic img { width: 100%; height: 100%; object-fit: cover; }
.tile-icon { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--paper); color: var(--ink); }
.tile-icon svg { width: 62%; height: auto; max-height: 76%; }
.tile-text { display: grid; gap: 3px; padding: 12px 14px 14px; }
.tile-text strong { font-size: .94rem; font-weight: 600; line-height: 1.3; }
.tile-text span { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.tile-check { position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-end: 10px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-deep); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .25s var(--ease); }
.tile-check svg { width: 13px; height: 13px; }
.tile input:checked ~ .tile-check { opacity: 1; transform: none; }
.tile.is-row .tile-box { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
.tile.is-row .tile-icon { width: 46px; height: 46px; aspect-ratio: auto; flex: 0 0 auto; border-radius: 12px; }
.tile.is-row .tile-icon svg { width: 24px; height: 24px; }
.tile.is-row .tile-text { padding: 0; }
.tile.is-row .tile-check { inset-block-start: 50%; margin-block-start: -12px; inset-inline-end: 16px; }
.tile.is-locked { cursor: default; }
.tile-tag { justify-self: start; margin-block-start: 4px; padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--accent-deep); font-size: .72rem; font-weight: 600; }
.steppers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stepper { display: grid; gap: 8px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 16px; }
.stepper label { color: var(--muted); font-size: .84rem; font-weight: 500; }
.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.stepper-row button { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: 1.25rem; line-height: 1; transition: background .2s ease, border-color .2s ease; }
.stepper-row button:hover { border-color: var(--ink); background: var(--white); }
.stepper-value { display: flex; align-items: baseline; justify-content: center; gap: 4px; min-width: 0; }
.stepper-value input { width: 3.4ch; min-width: 0; padding: 0; border: 0; background: none; text-align: center; font: 600 1.7rem/1 'Exo 2', 'Inter', sans-serif; color: var(--ink); -moz-appearance: textfield; }
.stepper-value input::-webkit-outer-spin-button, .stepper-value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-value input:focus { outline: none; }
.stepper:focus-within { border-color: var(--accent-deep); box-shadow: 0 0 0 2px var(--accent-deep); }
.stepper-value span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 14px; }
.presets .chip { min-height: 38px; padding: 6px 14px; font-size: .86rem; }
.step-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 14px; }
.step-row p { color: var(--muted); font-size: .86rem; font-weight: 500; }
.more-opts { margin-block-start: 20px; border-block-start: 1px solid var(--line); }
.more-opts summary { display: flex; justify-content: space-between; align-items: center; padding-block: 16px; font-size: .9rem; font-weight: 600; cursor: pointer; list-style: none; }
.more-opts summary::-webkit-details-marker { display: none; }
.more-opts summary::after { content: '+'; font-size: 1.2rem; color: var(--accent-deep); }
.more-opts[open] summary::after { content: '–'; }
.more-opts .stepper { margin-block-end: 8px; }
.more-opts .field { color: var(--ink); margin-block-end: 12px; }
.more-opts .field input { color: var(--ink); background: var(--paper); border-color: var(--line); }
.runs { margin-block-start: 18px; border-block-start: 1px solid var(--line); }
.runs li { display: flex; justify-content: space-between; gap: 14px; padding-block: 11px; border-block-end: 1px solid var(--line); font-size: .9rem; }
.runs li span { color: var(--muted); text-align: end; }
.gate-pick { margin-block-start: 6px; }
.gate-pick select { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font-size: 1rem; }
.sum-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 18px 6px; }
.sum-hero div { padding: 18px 18px 16px; border-radius: 16px; background: var(--ink); color: #fff; }
.sum-hero div + div { background: var(--tint); color: var(--ink); }
.sum-hero strong { display: block; font: 600 clamp(1.7rem, 2.2vw, 2.2rem)/1 'Exo 2', 'Inter', sans-serif; }
.sum-hero span { display: block; margin-block-start: 8px; font-size: .82rem; opacity: .86; }
.sum-list > div { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 14px; padding-block: 12px; border-block-end: 1px solid var(--line); font-size: .92rem; line-height: 1.55; }
.sum-list dt { color: var(--muted); }
.sum-list dd { color: var(--ink); font-weight: 500; white-space: pre-line; }
.sum-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 18px 6px; }
.sum-actions .chip { min-height: 40px; font-size: .86rem; gap: 8px; }
.sum-actions .chip svg { width: 16px; height: 16px; }
.quote-box { margin-block-start: 26px; padding: 22px 20px; border-radius: 18px; background: var(--paper); }
.quote-box h3 { margin-block: 0 6px; font: 600 1.06rem/1.3 var(--body); }
.quote-box > p { margin-block-end: 18px; color: var(--muted); font-size: .9rem; }
.quote-box .sf-form { grid-template-columns: 1fr; gap: 12px; }
.quote-box .field { color: var(--ink); }
.quote-box .field input, .quote-box .field textarea, .quote-box .field select { color: var(--ink); background: var(--white); border-color: var(--line); min-height: 48px; }
.quote-box .field input:focus, .quote-box .field textarea:focus { background: var(--white); border-color: var(--accent-deep); }
.quote-box .optional, .quote-box .consent { color: var(--muted); }
.quote-box .consent a { color: var(--accent-deep); }
.quote-box .form-status { color: var(--accent-deep); }
.quote-box .form-status.is-error { color: #b3261e; }
.quote-box .field .is-invalid { border-color: #c0392b; }
.cfg-disclaimer { margin-block-start: 18px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.panel-foot { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-block-start: 1px solid var(--line); background: var(--white); }
.panel-sum { margin-inline-end: auto; min-width: 0; display: grid; }
.panel-sum strong { font: 600 1.12rem/1.2 'Exo 2', 'Inter', sans-serif; } /* may take two lines: a long fence beside a wide button */
.panel-sum span { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-foot .button { min-height: 50px; padding: 0 22px; white-space: nowrap; flex: 0 0 auto; }
.panel-foot [data-back] { padding: 0 18px; }
.cfg-error { margin-block-start: 12px; color: #b3261e; font-size: .88rem; font-weight: 500; }
.page-configurator .wa-float { display: none; }

/* ============================================================== Additions for single pages */
.pad-slim { padding-block: clamp(44px, 5vw, 76px); }
.spaced { margin-block-start: 22px; }
.split-head > div > .underlined-link { margin-block-start: 22px; }
.statement { font: var(--dw) calc(var(--fs-block) * .64) / 1.24 var(--display); letter-spacing: var(--dtrack); color: var(--ink); }
:lang(he) .statement { line-height: 1; }
.reach { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8%; align-items: center; }
.reach .chips { margin-block-end: 24px; }
.faq-side { position: sticky; inset-block-start: 110px; }
.faq-side .underlined-link { margin-block-end: 6px; }
.faq-photo { margin-block-start: 36px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: var(--tint); }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
main > section.photo-section { overflow: visible; border-radius: 0; }
.photo-row.is-two { grid-template-columns: .8fr 1.2fr; }
.photo-band.is-first { margin-block: 0 clamp(26px, 3.2vw, 40px); height: clamp(260px, 34vw, 500px); }
.card-photo { min-height: 280px; overflow: hidden; border-radius: var(--radius-md); background: var(--tint-mid); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.row-list.is-numbered { counter-reset: row; }
.row-list.is-numbered li { counter-increment: row; position: relative; padding-inline-start: 54px; }
.row-list.is-numbered li::before { content: counter(row); position: absolute; inset-inline-start: 0; inset-block-start: 20px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(12, 102, 117, .45); border-radius: 50%; color: var(--accent-deep); font: 600 1rem/1 'Exo 2', var(--display); }
.duo-content .row-list { margin-block-start: 6px; }
.soft-card .check-list { margin-block-start: 6px; }
.soft-card .check-list li:last-child { border-block-end: 0; }
.article-aside .soft-card h2 { font-size: var(--fs-h3); line-height: 1.15; }
.page-hero.is-article h1 { font-size: clamp(1.9rem, 3.5vw, 3.5rem); line-height: 1.08; }
:lang(he) .page-hero.is-article h1 { font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .9; }
:lang(ar) .page-hero.is-article h1 { line-height: 1.3; }
.notfound-block > * + * { margin-block-start: 22px; }
.notfound-block .hero-actions { margin-block-start: 34px; }

/* Contact: the first screen is the form, on a dark photograph */
.contact-top { position: relative; padding-block-start: clamp(128px, 13vw, 180px); }
.contact-wash { position: absolute; inset: 0; }
.contact-wash img { width: 100%; height: 100%; object-fit: cover; }
.contact-wash::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--shade-dir), rgba(21, 28, 35, .95), rgba(21, 28, 35, .86) 50%, rgba(21, 28, 35, .72)), linear-gradient(180deg, rgba(21, 28, 35, .5), transparent 30%); }
.contact-copy .eyebrow { margin-block-end: 22px; }
.contact-copy .display-title { font-size: var(--fs-page); }
.contact-routes li > div > span { width: 20px; }
.contact-routes address { display: inline; }

/* Full-screen menu: it folds down from the header */
@media (prefers-reduced-motion: no-preference) {
  .drawer:not([hidden]) { animation: drawer-in .45s var(--ease) both; }
  .drawer:not([hidden]) .drawer-nav a, .drawer:not([hidden]) > .button { animation: rise-in .6s var(--ease) both; animation-delay: calc(.08s + var(--n, 0) * .04s); }
}
@keyframes drawer-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.drawer-nav a:nth-child(2) { --n: 1; } .drawer-nav a:nth-child(3) { --n: 2; } .drawer-nav a:nth-child(4) { --n: 3; }
.drawer-nav a:nth-child(5) { --n: 4; } .drawer-nav a:nth-child(6) { --n: 5; } .drawer-nav a:nth-child(7) { --n: 6; }
.drawer > .button { --n: 7; }

/* Configurator: smaller pieces */
.icon-arrow.is-back { transform: none; }
[dir="rtl"] .icon-arrow.is-back { transform: scaleX(-1); }
button:hover > .icon-arrow.is-back { transform: translateX(-4px); }
[dir="rtl"] button:hover > .icon-arrow.is-back { transform: scaleX(-1) translateX(-4px); }
.panel-foot [data-back] { min-width: 50px; padding: 0 15px; }
.panel-foot .button[disabled] { opacity: .35; pointer-events: none; }
.step h2:focus { outline: none; }
.step h3 label { font: inherit; }
.step-note { margin-block-start: 14px; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.steppers.is-one { grid-template-columns: 1fr; }
.seg.is-wide { display: flex; }
.seg.is-wide button { flex: 1 1 0; justify-content: center; text-align: center; padding: 6px 12px; min-height: 44px; line-height: 1.2; }
.tile-pic.is-floor img { object-position: 50% 100%; }
.tile.is-locked .tile-box { background: var(--paper); }
.side-lens { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block-start: 16px; }
.side-len { display: grid; gap: 6px; color: var(--muted); font-size: .84rem; font-weight: 500; }
.side-len-box { display: flex; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.side-len-box input { width: 100%; min-width: 0; min-height: 44px; border: 0; background: none; font-size: 1rem; font-weight: 600; color: var(--ink); -moz-appearance: textfield; }
.side-len-box input::-webkit-outer-spin-button, .side-len-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.side-len-box input:focus { outline: none; }
.side-len-box:focus-within { border-color: var(--accent-deep); box-shadow: 0 0 0 2px var(--accent-deep); }
.side-len-box i { font-style: normal; color: var(--muted); font-size: .86rem; }
.quote-box > p span { display: block; margin-block-start: 6px; color: var(--ink); font-weight: 500; }

/* Configurator: the pool's sides (or the visitor's own lines), each with a switch and a length */
.stage-left { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.swatches { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px; padding-inline-start: 14px; border-radius: 999px; background: rgba(17, 24, 31, .5); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: .8rem; font-weight: 600; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); transition: box-shadow .2s ease, transform .2s ease; }
.swatch:hover { transform: scale(1.08); }
.swatch-stone { background: #d9d4c9; }
.swatch-dark { background: #4b5057; }
.swatch-wood { background: #a56f45; }
.swatch.is-on { border-color: #fff; box-shadow: 0 0 0 2px var(--accent); }
/* the four pool shapes sit in one row, so the measurements below them are in view without scrolling */
.tiles.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tiles.is-four .tile-icon { aspect-ratio: 4 / 3; }
.tiles.is-four .tile-text { padding: 8px 8px 10px; }
.tiles.is-four .tile-text strong { font-size: .8rem; line-height: 1.25; }
.tiles.is-four .tile-check { width: 20px; height: 20px; inset-block-start: 6px; inset-inline-end: 6px; }
.tiles.is-four .tile-check svg { width: 11px; height: 11px; }
.step-row.is-units { margin-block: 22px 12px; }
.steppers.is-second { margin-block-start: 12px; }
.side-list { display: grid; gap: 8px; }
.side-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 10px; padding-inline-start: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: background .2s ease, border-color .2s ease; }
.side-row.is-line { grid-template-columns: auto minmax(0, 1fr) auto; }
.side-row.is-off { background: var(--paper); }
.side-row.is-off .side-letter { background: var(--white); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.side-row.is-off .stepper-row { opacity: .35; }
.side-row:focus-within { border-color: var(--accent-deep); }
.side-letter { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .9rem/1 'Exo 2', 'Inter', sans-serif; }
.side-row .stepper-row { justify-content: flex-end; gap: 8px; }
.side-row .stepper-row button { width: 36px; height: 36px; font-size: 1.1rem; }
.side-row .stepper-row button[disabled] { cursor: default; }
.side-row .stepper-value input { width: 4.2ch; font-size: 1.3rem; }
.side-switch { position: relative; width: 46px; height: 28px; flex: 0 0 auto; border-radius: 999px; background: #c5cfd6; transition: background .2s ease; }
.side-switch span { position: absolute; inset-block-start: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .28); transition: transform .22s var(--ease); }
.side-switch[aria-checked="true"] { background: var(--accent-deep); }
.side-switch[aria-checked="true"] span { transform: translateX(18px); }
[dir="rtl"] .side-switch[aria-checked="true"] span { transform: translateX(-18px); }
.line-remove { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: background .2s ease, color .2s ease; }
.line-remove svg { width: 16px; height: 16px; }
.line-remove:hover { background: var(--paper); color: var(--ink); }
.line-remove[disabled] { opacity: .3; pointer-events: none; }
.add-line { margin-block-start: 10px; gap: 8px; }
.add-line svg { width: 16px; height: 16px; }
/* "draw your own": the plan becomes a canvas whose dots and lines are dragged, so a finger on it must not scroll the page */
.plan-holder.is-draw { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.plan-holder.is-dragging, .plan-holder.is-dragging * { cursor: grabbing !important; }
.line-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.line-tools .chip[disabled] { opacity: .4; pointer-events: none; }
.presets.is-starts .chip { gap: 10px; }
.presets.is-starts .chip svg { width: 27px; height: 18px; flex: none; }
.check-list.is-compact li { padding-block: 10px; font-size: .92rem; }
.check-list.is-compact li::before { inset-block-start: 16px; }

@media (max-width: 1000px) {
  .reach { grid-template-columns: 1fr; gap: 26px; }
  .toc { display: none; }
  .faq-side { position: static; }
  .faq-photo { display: none; }
  .card-photo { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .photo-row.is-two { grid-template-columns: 1fr; }
  .info-unit, .info-layers { grid-template-columns: 1fr; }
  .info-stats, .info-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-bars li { grid-template-columns: minmax(0, 1fr) auto; }
  .info-bars .bar-track { grid-column: 1 / -1; order: 3; }
  .info-layers svg { max-width: 190px; }
  .contact-top { padding-block-start: 112px; }
  /* a number and its two buttons need the full width of a phone: one per row, the name beside it */
  .steppers { grid-template-columns: 1fr; gap: 10px; }
  .stepper { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding-block: 10px; padding-inline: 16px 10px; }
  .stepper-row { gap: 8px; }
  .seg button[data-set-light] span { display: none; }
  .seg button[data-set-light] { padding: 0 11px; }
  .tiles.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles.is-four .tile-icon { aspect-ratio: 16 / 9; }
  .tiles.is-four .tile-text { padding: 10px 12px 12px; }
  .tiles.is-four .tile-text strong { font-size: .9rem; }
  .panel-sum strong { white-space: normal; font-size: 1rem; line-height: 1.2; }
  .panel-foot .button { padding: 0 18px; }
  .swatches-label { display: none; }
  .swatches { padding: 5px 7px; gap: 6px; }
  .swatch { width: 26px; height: 26px; }
  .panel-head h1 { font-size: 1.3rem; }
  :lang(he) .panel-head h1 { font-size: 2.3rem; }
  .panel-kicker { display: none; }
  .panel-steps { margin-block-start: 12px; }
  .tiles.is-three .tile-text { padding: 10px 10px 12px; }
  .tiles.is-three .tile-text strong { font-size: .86rem; }
}

/* ============================================================== Smaller screens */
@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 70ch) minmax(0, 1fr); column-gap: clamp(48px, 7vw, 112px); }
  .article-aside { position: sticky; inset-block-start: 96px; align-self: start; max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: none; }
  .article-aside::-webkit-scrollbar { display: none; }
  .split > :first-child { position: sticky; inset-block-start: 110px; }
}
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-tools { margin-inline-start: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card, .feature-card.is-wide { grid-column: span 1; }
  .feature-card:first-child { grid-column: 1 / -1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .process-steps::before { display: none; }
  .card-grid.is-three { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .split-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .split, .faq-grid, .contact-grid, .duo, .unit-grid, .req-grid, .project-head { grid-template-columns: 1fr; gap: 32px; }
  /* stacked: the picture stays under the header and the steps pass beneath it. A block, not a grid: a picture that
     stays in place can only travel inside its own box, and in a grid that box would be its own row. */
  .scrolly { display: block; }
  /* The picture is let go when the last step arrives under it, not when that step has passed behind it: the space
     kept free below the picture (and taken back by the steps) is the last step's own height. */
  .scrolly-media { z-index: 5; inset-block-start: 78px; padding-block: 10px 12px; background: var(--white); margin-block-end: 54vh; }
  .scrolly-steps { margin-block-start: -54vh; }
  .scrolly-caption { margin-block-start: 8px; font-size: .74rem; }
  /* here the picture stays for about 1.2 screens (0.6 at first, see the note at .scrolly-step above) */
  .scrolly-step, .scrolly-step:first-child, .scrolly-step:last-child { min-height: 50vh; justify-content: flex-start; padding-block: 24px 0; }
  .scrolly-step:last-child { min-height: 54vh; }  .scrolly-step p { max-width: none; }
  .duo-image { min-height: 0; aspect-ratio: 4 / 3; }
  .duo.is-flipped .duo-image { order: 0; }
  .faq-index { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-index a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .92rem; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .post-card.is-lead a { grid-template-columns: 1fr; }
  .dist-row { grid-template-columns: 1fr; gap: 10px; }
  .facts, .steps-strip { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(n+3), .steps-strip li:nth-child(n+3) { margin-block-start: 22px; border-block-start: 1px solid var(--line); }
  .on-dark .facts li:nth-child(n+3) { border-color: var(--line-light); }
  .facts li:nth-child(odd), .steps-strip li:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .work-card, .work-card:nth-child(n) { grid-column: 1 / -1; }
  /* The studio: picture on top (it stays in view), choices below, the buttons fixed at the foot */
  .studio { display: block; height: auto; min-height: 0; }
  .studio-stage { position: sticky; z-index: 20; inset-block-start: 72px; height: 46svh; min-height: 290px; }
  .is-summary .studio-stage { position: relative; inset-block-start: auto; }
  .studio-panel { margin-block-start: 12px; overflow: visible; }
  .panel-body { overflow: visible; padding-block-end: 110px; }
  .panel-foot { position: fixed; z-index: 60; inset-inline: var(--gutter); inset-block-end: var(--gutter); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 44px rgba(21, 28, 35, .2); }
  .page-configurator .site-footer { padding-block-end: 110px; }
}
@media (max-width: 900px) {
  .footer-bottom { flex-direction: column; align-items: stretch; row-gap: 0; }
  .dm-credit { align-self: center; margin-top: 32px; }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; --fs-page: clamp(1.9rem, 8.4vw, 2.4rem); }
  :root:lang(de) { --fs-page: clamp(1.7rem, 7.6vw, 2.2rem); }
  :root:lang(he) { --fs-page: clamp(3.6rem, 17vw, 4.6rem); }
  :root:lang(ar) { --fs-page: clamp(1.8rem, 8vw, 2.3rem); }
  /* on a phone the unit should be large: the picture is the middle of the wide one (site.js loads that set here) */
  .scrolly-frame { aspect-ratio: 4 / 3; }
  .scrolly-still { object-position: 45.3% 50%; }   /* the same middle the phone frames were cut from */
  .header-cta { display: none; }
  .hero { min-height: 600px; }
  .hero-shade { background: linear-gradient(0deg, rgba(17, 24, 31, .88) 0%, rgba(17, 24, 31, .6) 46%, rgba(17, 24, 31, .2) 78%), linear-gradient(180deg, rgba(17, 24, 31, .6), transparent 22%); }
  .hero { align-items: flex-end; }
  .hero-content { padding-block: 0 96px; }
  .hero-copy { margin-block: 20px 28px; font-size: 1.04rem; }
  .hero-pause { inset-block-end: 26px; inset-inline-end: 90px; }
  .scroll-cue { display: none; }
  .button { min-height: 52px; padding: 0 22px; }
  .page-hero { min-height: 0; padding-block-start: 130px; }
  .page-hero-media::after { background: linear-gradient(0deg, rgba(17, 24, 31, .92) 0%, rgba(17, 24, 31, .66) 55%, rgba(17, 24, 31, .4)); }
  .feature-grid, .card-grid.is-two, .card-grid.is-three, .post-grid, .photo-row, .process-steps, .process-steps.is-three, .sf-form, .footer-cols { grid-template-columns: 1fr; }
  .feature-image, .is-wide .feature-image { height: 240px; }
  .photo-row figure { height: 230px; }
  .footer-cols { gap: 26px; }
  .process-steps, .process-steps.is-three { gap: 26px; }
  .process-step { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .process-step .step-icon { grid-row: span 2; width: 54px; height: 54px; margin: 0; font-size: 1.15rem; }
  .process-step h3 { margin-block: 4px 6px; }
  .process-step p { max-width: none; }
  .project-photos figure, .project-photos.count-2 figure:nth-last-child(-n+2) { grid-column: 1 / -1; height: 230px; }
  .project-photos .p-cover { height: 260px; }
  .spec-list > div, .spec-list.is-three > div { grid-template-columns: 1fr; gap: 4px; }
  .teaser { align-items: flex-end; min-height: 560px; }
  .teaser-media::after { background: linear-gradient(0deg, rgba(17, 24, 31, .94), rgba(17, 24, 31, .6) 55%, rgba(17, 24, 31, .1)); }
  .teaser-content { padding-block: 0 44px; }
  .consent-banner { flex-direction: column; align-items: stretch; gap: 10px; inset-block-end: 10px; padding: 14px 16px; font-size: .84rem; line-height: 1.5; }
  .consent-btn { min-height: 40px; }
  .consent-actions .consent-btn { flex: 1 1 0; }
  .has-consent .wa-float { opacity: 0; pointer-events: none; }
  /* A wide table would scroll sideways on a phone and read as cut off. Each row becomes a block instead:
     the row's name, then every value under its column name (taken from data-label). */
  .table-wrap { border: 0; background: none; border-radius: 0; overflow: visible; }
  .table-scroll { overflow: visible; }
  .data-table, .prose table { display: block; background: none; }
  .data-table thead, .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .data-table tbody, .prose tbody { display: grid; gap: 12px; }
  .data-table tr, .prose tbody tr { display: grid; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
  .prose tbody tr { background: var(--paper); border-color: transparent; }
  .data-table tbody th, .prose tbody th { width: auto; padding: 0 0 10px; border: 0 !important; font: var(--dw) calc(var(--fs-h3) * .96) / 1.2 var(--display); overflow-wrap: anywhere; }
  .data-table td, .prose tbody td { display: grid; gap: 2px; width: auto !important; padding: 10px 0; border: 0 !important; border-block-start: 1px solid var(--line) !important; font-size: .98rem; overflow-wrap: anywhere; }
  .data-table td::before, .prose tbody td::before { content: attr(data-label); font-size: .8rem; font-weight: 600; color: var(--muted); }
  .compare-table .is-ours { background: none; color: var(--accent-deep); font-weight: 600; }
  .studio-stage { inset-block-start: 72px; height: 42svh; }
  .stage-top { inset-block-start: 12px; inset-inline: 12px; }
  .stage-bottom { inset-block-end: 14px; inset-inline: 14px; }
  .stage-note { display: none; }
  .seg button { min-height: 36px; padding: 0 12px; font-size: .8rem; }
  .raise-btn { min-height: 52px; font-size: .9rem; }
  .raise-btn i { width: 38px; height: 38px; }
  .panel-head { padding: 20px 20px 16px; }
  .panel-body { padding: 22px 20px 120px; }
  .panel-sum span { display: none; }
  /* the two-film switch takes the whole width, its two answers side by side */
  .film-switch .seg { display: flex; width: 100%; }
  .film-switch .seg button { flex: 1 1 0; justify-content: center; padding: 6px 10px; text-align: center; line-height: 1.2; }
}
@media (max-width: 420px) {
  /* the credit line is longer in French and German: it stays on one line by getting a little smaller */
  .dm-credit { font-size: 12px; gap: 6px; }
  .dm-credit img { height: 17px; }
  .hero-actions .button { width: 100%; }
  .facts, .steps-strip { grid-template-columns: 1fr; }
  .facts li, .steps-strip li { padding-inline: 0 !important; border-inline-start: 0 !important; }
  .facts li + li, .steps-strip li + li { margin-block-start: 20px; border-block-start: 1px solid var(--line); }
}
/* German: long compound words may break at syllables on narrow screens */
@media (max-width: 720px) { :root:lang(de) :is(p, li, td, dd) { hyphens: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .drawer, .wa-float, .consent-banner, .hero-pause, .scroll-cue, .panel-foot, .stage-top, .raise-btn { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  main > section, .site-footer { margin: 0 0 8px; border-radius: 0; }
  .studio { display: block; height: auto; margin-block-start: 0 !important; }
  .studio-stage { height: 320px; position: relative; inset: auto; }
  .step { display: none !important; }
  .step[data-step="summary"] { display: block !important; }
  .quote-box, .sum-actions { display: none; }
}
