/* Ercura: site styles. Light background; Ercura red marks the one action. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(fonts/archivo-100-900-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(fonts/archivo-100-900-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-500-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f1f2f0; --paper-2: #e7e9e6; --card: #fafbf9;
  --ink: #111518; --ink-2: #394147; --muted: #646d72; --line: #d4d8d5;
  --graphite: #15191c; --graphite-2: #262c30; --on-dark: #eceeec; --on-dark-muted: #a3abaf;
  --accent: #e53212; --accent-ink: #c32a0e;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --band: clamp(64px, 8vw, 120px);
  --radius: 3px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 620; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.06; font-stretch: 112%; }
h3 { font-size: 1.15rem; line-height: 1.3; font-stretch: 106%; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
main { flex: 1 0 auto; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band); }
.band--tint { background: var(--paper-2); }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 12px/1.4 var(--mono); letter-spacing: .01em; color: var(--muted); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.caption { margin-top: 10px; font: 400 13px/1.45 var(--body); color: var(--muted); }
.note { font-size: 15px; color: var(--muted); }
.link { display: inline-flex; gap: 8px; font-weight: 560; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link::after { content: "\2192"; }
.link:hover { color: var(--accent); border-color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; font: 600 15px/1 var(--body); font-stretch: 108%; letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1px solid transparent; border-radius: var(--radius); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.btn--light:hover { background: var(--on-dark); color: var(--graphite); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* draft bar */
.draftbar { background: #f6d34a; color: #111; font: 500 12.5px/1.4 var(--body); padding: 6px var(--gutter); text-align: center; }
.draftbar a { color: #111; font-weight: 650; }
.draftbar .sent { display: block; font-weight: 650; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(241, 242, 240, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 36px); min-height: 64px; }
.brand { display: block; line-height: 0; margin-right: auto; }
.brand svg { width: 100px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav__link { position: relative; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); padding-block: 6px; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.pm { display: inline-block; height: 1.02em; width: auto; aspect-ratio: 43.557 / 10.027; vertical-align: -0.2em; overflow: visible; }
.langs { display: flex; gap: 2px; font: 500 12px/1 var(--mono); letter-spacing: .02em; }
.langs a { padding: 7px 6px; color: var(--muted); text-decoration: none; border-radius: 2px; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 0 auto; box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor; }

/* film: a clip, still until tapped */
.film { background: var(--graphite); }
.film__box { position: relative; }
.film video { width: 100%; aspect-ratio: 21 / 9; max-height: 78vh; object-fit: cover; background: var(--graphite); }
.clip { position: relative; margin: 0; }
.clip__box { position: relative; background: var(--graphite); border-radius: var(--radius); overflow: hidden; }
.clip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.play span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(17, 21, 24, .62); border: 1.5px solid rgba(255, 255, 255, .85); }
.play span::before { content: ""; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.play:hover span, .play:focus-visible span { background: var(--accent); border-color: var(--accent); }
.film .play span { width: 88px; height: 88px; }
.film__cap { height: 46px; display: flex; align-items: center; color: var(--on-dark-muted); font: 400 13px/1.4 var(--body); }
.playing .play { display: none; }


/* hero */
.hero { padding-block: clamp(40px, 6vw, 84px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__text { display: grid; gap: 22px; align-content: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: .96; font-stretch: 118%; font-weight: 640; letter-spacing: -0.028em; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.price { font: 640 clamp(1.9rem, 3.2vw, 2.5rem)/1 var(--display); font-stretch: 112%; letter-spacing: -0.02em; white-space: nowrap; }
.price .vat { font-size: .52em; font-weight: 520; color: var(--ink-2); letter-spacing: 0; margin-left: .2em; }
.open { font: 500 15px/1.4 var(--body); color: var(--ink-2); }
.hero__facts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero__facts li { padding: 14px 14px 0 0; display: grid; gap: 4px; align-content: start; font-size: 15px; }
.hero__facts li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.k { font: 400 13px/1.4 var(--body); color: var(--muted); }

.product-card { margin: 0; background: transparent; border-radius: var(--radius); overflow: hidden; }
.product-card img { width: 100%; }
.hero__media { margin: 0; }
.hero__media .product-card { max-width: 420px; margin-left: auto; }
.hero__media .caption { text-align: right; max-width: 420px; margin-left: auto; }
.hero .buy .btn--line { min-height: 48px; }

.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.product__facts { display: grid; gap: 16px; align-content: start; }
.product__facts .facts { margin-top: 8px; }
.facts.facts--one { grid-template-columns: minmax(0, 1fr); }
/* how it works: real detail photographs */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.how__text { display: grid; gap: 16px; align-content: start; }
.how__item { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--ink); margin-top: 8px; }
.how__item p { color: var(--ink-2); font-size: 16px; }
.how__pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); }
.how__pics figure { margin: 0; }
.how__pics img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.card { display: grid; gap: 12px; align-content: start; min-width: 0; }
.card figure { margin: 0; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.card h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-stretch: 112%; padding-top: 14px; border-top: 1px solid var(--ink); margin-top: 4px; }
.card p { color: var(--ink-2); font-size: 16px; max-width: 34em; }

/* measured support */
.measured { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.measured__text { display: grid; gap: 16px; }
.measured__text p { color: var(--ink-2); }
.chart { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(12px, 2vw, 24px); }
.chart svg { width: 100%; height: auto; }
.chart svg text { font-family: var(--mono); font-size: 12.5px; fill: var(--muted); }
.chart .grid { stroke: #dfe2df; stroke-width: 1; }
.chart .grid.base { stroke: #9aa2a6; }
.chart .up { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.chart .down { fill: none; stroke: #8b9397; stroke-width: 2; stroke-dasharray: 7 5; stroke-linejoin: round; }
.chart .dot-up { fill: var(--ink); }
.chart .dot-down { fill: var(--card); stroke: #8b9397; stroke-width: 1.4; }
.chart .pin { fill: var(--card); stroke: var(--accent); stroke-width: 2.6; }
.chart .lab { fill: var(--ink); font-family: var(--body); font-size: 14px; font-weight: 600; paint-order: stroke; stroke: var(--card); stroke-width: 5px; stroke-linejoin: round; }
.chart .lab-fig { fill: var(--accent-ink); font-size: 17px; font-weight: 700; }
.chart figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); margin: 0; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.facts dt { font: 400 14px/1.5 var(--body); color: var(--muted); }
.facts dd { margin: 0; font-size: 16px; }

/* kinds of work */
.kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); }
.kinds li { display: grid; gap: 4px; align-content: start; padding-block: 14px 18px; border-top: 1px solid var(--line); }
.kinds strong { font-weight: 620; font-stretch: 108%; }
.kinds span { color: var(--ink-2); font-size: 15px; }
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(32px, 4vw, 48px); }
.after-clips { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-top: 22px; }

/* why ercura */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.why li { display: grid; gap: 10px; align-content: start; padding-top: 16px; border-top: 1px solid var(--ink); }
.why p { color: var(--ink-2); font-size: 16px; }
.why-more { margin-top: clamp(28px, 3.5vw, 44px); }

/* order band and demonstration band */
.cta { background: var(--graphite); color: var(--on-dark); padding-block: clamp(56px, 8vw, 104px); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px 64px; align-items: end; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.cta p { color: var(--on-dark-muted); margin-top: 14px; max-width: 34em; }
.cta .price { color: #fff; }
.cta .price .vat { color: var(--on-dark-muted); }
.cta__buy { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.demo { padding-block: clamp(40px, 5vw, 64px); background: var(--paper-2); }
.demo__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.demo p { max-width: 44em; color: var(--ink-2); }
.demo strong { color: var(--ink); }

/* footer */
.site-footer { background: #000; color: var(--on-dark-muted); padding-block: 52px 36px; border-top: 1px solid var(--graphite-2); font-size: 15px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; }
.site-footer__brand { display: grid; gap: 14px; }
.site-footer__brand svg { width: 104px; height: auto; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.footer-links img { width: 140px; height: 58px; }

/* page heads (inner pages) */
.page-head { padding-block: clamp(44px, 6vw, 84px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1; font-stretch: 116%; font-weight: 640; letter-spacing: -0.025em; margin-top: 14px; }
.page-head .lead { margin-top: 18px; }

/* applications */
.app-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.app-logic { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 36em; }
.app-real { margin-top: 10px; font-size: 15px; color: var(--muted); }
.app-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); columns: 2; column-gap: 24px; }
.app-index li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.app-index a { display: block; padding: 9px 0; text-decoration: none; font-size: 15px; }
.app-index a:hover { color: var(--accent); }
.kind { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(24px, 4vw, 64px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.kind:first-of-type { border-top: 0; }
.kind__text { display: grid; gap: 10px; align-content: start; position: sticky; top: 92px; align-self: start; }
.kind__text h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.kind__text p { color: var(--ink-2); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); align-content: start; }
.shots--one { grid-template-columns: minmax(0, 1fr); }
.shots .wide { grid-column: 1 / -1; }
.shot { margin: 0; min-width: 0; }
.shot__box { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gen-mark { position: absolute; top: 6px; right: 3px; writing-mode: vertical-rl; font: 500 8px/1 var(--body); font-stretch: 75%; letter-spacing: .03em; color: rgba(255, 255, 255, .85); text-shadow: 0 0 2px rgba(0, 0, 0, .5); pointer-events: none; user-select: none; }
.shot figcaption { margin-top: 9px; font-size: 14.5px; color: var(--ink-2); }
.clip.shot video { aspect-ratio: 3 / 2; }
.shot .caption { font: 400 14.5px/1.45 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink-2); margin-top: 9px; }

/* text pages */
.text { max-width: 720px; }
.about .split { grid-template-columns: minmax(0, 1fr); max-width: 760px; gap: 26px; }
.about .text { padding-top: 10px; font-size: 17.5px; }
.about { padding-bottom: var(--band); }
.text p { margin-top: 1em; color: var(--ink-2); }
.text p:first-child { margin-top: 0; }
.text a { text-underline-offset: 3px; }
.form-band .legal h2 { font-size: 1.2rem; font-stretch: 106%; margin: 1.8em 0 0; }
.legal h2 + p { margin-top: .5em; }

/* order and contact */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.split h2 { font-size: 1.25rem; font-stretch: 108%; margin-top: 1.6em; }
.split h2:first-child { margin-top: 0; }
.plain { margin: .6em 0 0; padding-left: 1.2em; color: var(--ink-2); }
.steps { margin: .6em 0 0; padding-left: 1.4em; color: var(--ink-2); }
.steps li, .plain li { margin-top: .35em; }
.contact-lines { display: grid; gap: 18px; margin-top: 24px; }
.contact-lines a { font-size: 1.15rem; text-underline-offset: 3px; }
.form-band { padding-block: clamp(40px, 5vw, 72px) var(--band); }
.form-band h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 22px; }
form { max-width: 640px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 560; margin-bottom: 6px; font-size: 15.5px; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="number"], textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #b9bfbc; border-radius: var(--radius); padding: 11px 12px; }
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 0; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }

/* responsive */
@media (max-width: 1060px) {
  .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero__grid, .measured, .cta__inner, .split, .app-head, .kind, .how, .product { grid-template-columns: minmax(0, 1fr); }
  .product-card { max-width: 460px; width: 100%; margin-inline: auto; }
  .kind__text { position: static; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle { display: block; }
  .site-header__inner { flex-wrap: wrap; }
  .nav { display: none; order: 5; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 14px; }
  .nav.is-open { display: flex; }
  .nav__link { font-size: 17px; padding-block: 9px; }
  .langs { margin-top: 6px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .film video { aspect-ratio: 4 / 3; max-height: none; }
  .film .play span { width: 72px; height: 72px; }
  .hero__facts { grid-template-columns: minmax(0, 1fr); }
  .hero__facts li, .hero__facts li + li { padding: 10px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .cards, .clips, .why, .kinds, .shots { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .app-index { columns: 1; }
  .chart svg { overflow: visible; }
  .chart svg text { font-size: 21px; }
  .chart svg .ylab { font-size: 17px; }
  .chart .lab { font-size: 23px; }
  .chart .lab-fig { font-size: 26px; }
  .chart { padding: 10px 6px 10px 22px; }
  .site-footer__grid { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* notes page */
.notes table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; }
.notes th, .notes td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.notes th { font: 600 13px/1.4 var(--body); color: var(--muted); border-bottom-color: var(--ink); }
.notes h2 { font-size: 1.5rem; margin-top: 2.2em; }
.notes h3 { margin-top: 1.4em; }
.notes p, .notes li { color: var(--ink-2); }
.notes ul { padding-left: 1.2em; }
.notes .wrap-table { overflow-x: auto; }

/* applications, condensed: one row per kind of work, small tiles */
.app-top { padding-block: clamp(32px, 4vw, 52px) clamp(18px, 2vw, 26px); }
.app-top h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 10px; }
.app-top .app-logic { margin-top: 12px; max-width: 46em; font-size: 1.05rem; }
.apps { padding-bottom: clamp(28px, 3vw, 44px); }
.app-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 10px 36px; align-items: center; padding-block: 14px; border-top: 1px solid var(--line); }
.app-row__text { display: grid; gap: 4px; }
.app-row__text h2 { font-size: 1.3rem; font-stretch: 108%; }
.app-row__text p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.tile { position: relative; flex: none; width: min(288px, 100%); aspect-ratio: 3 / 2; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile--clip, .tile--wide { width: min(341px, 100%); aspect-ratio: 16 / 9; }
.tile .clip__box { height: 100%; border-radius: 0; }
.tile .play span { width: 46px; height: 46px; }
.tile .play span::before { margin-left: 4px; border-width: 8px 0 8px 13px; }
.cta--compact { padding-block: clamp(36px, 4vw, 52px); }
.cta--compact h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
/* about us */
.about__text h2 { font-size: 1.15rem; font-stretch: 108%; margin-top: 1.5em; color: var(--ink); }
.about__text h2:first-child { margin-top: 0; }
.about__text h2 + p { margin-top: .35em; }
.about__company { padding-top: 1em; border-top: 1px solid var(--line); margin-top: 1.6em !important; }
@media (max-width: 900px) {
  .app-row { grid-template-columns: minmax(0, 1fr); }
  .hero__media .product-card, .hero__media .caption { margin-inline: auto; text-align: left; }
}
@media (max-width: 640px) {
  .tiles { gap: 6px; }
  .tile { width: calc((100% - 6px) / 2); }
  .tile--clip, .tile--wide { width: 100%; }
  .buy { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .buy .price { grid-column: 1 / -1; }
}

/* how it works: Anton's four parts, his cut-outs of our photographs */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.path__step { display: grid; gap: 10px; align-content: start; min-width: 0; }
.path__step h3 { display: flex; gap: 10px; align-items: baseline; margin-top: 6px; font-size: 1.12rem; }
.path__n { font: 500 13px/1 var(--mono); color: var(--accent); }
.path__step p { font-size: 15px; color: var(--ink-2); }
.path + .link { margin-top: 36px; }
.cutout { position: relative; margin: 0; width: 100%; aspect-ratio: 1 / 1; }
.cutout img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; filter: drop-shadow(0 18px 22px rgba(17, 21, 24, .12)); }
/* Pisae in detail: Anton's specification */
.specsplit { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 32px clamp(32px, 6vw, 96px); }
.cutout--front { aspect-ratio: 4 / 5; max-width: 520px; width: 100%; justify-self: center; }
.specsplit h2, .split.specsplit h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-stretch: 112%; margin: 0 0 20px; }
.specsplit h2 .pm { height: .92em; vertical-align: -0.16em; margin-right: .08em; }
.spec-sub { margin: -8px 0 18px; color: var(--ink-2); font-size: 1.05rem; }
.specs { margin: 0 0 22px; border-top: 1px solid var(--ink); }
.spec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.spec dt { font: 400 14px/1.5 var(--body); color: var(--muted); }
.spec dd { margin: 0; font-size: 15.5px; }
@media (max-width: 1100px) { .path { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .specsplit { grid-template-columns: minmax(0, 1fr); } .cutout--front { max-width: 360px; } }
@media (max-width: 640px) { .spec { grid-template-columns: minmax(0, 1fr); gap: 2px; } .path { gap: 18px 12px; } .path__step h3 { font-size: 1rem; } }
/* live forms */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 14px; font-weight: 500; color: var(--ink); }
