/* ==========================================================================
   Gremat Kozijnen: blue hour to daylight.
   Night = deep navy ink. Day = cool paper white. One chromatic voice: the
   logo's azure. Structure = the window frame (mullion hairlines, tight corners).
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --cut {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 100%;
}

:root {
  /* night */
  --ink-975: oklch(0.13 0.035 258);
  --ink-950: oklch(0.16 0.045 258);
  --ink-900: oklch(0.2 0.055 257);
  --ink-850: oklch(0.235 0.06 256);
  --ink-800: oklch(0.275 0.065 256);
  --line-night: oklch(0.46 0.06 255 / 0.42);
  --line-night-strong: oklch(0.6 0.07 252 / 0.55);

  /* brand azure (from the logo) */
  --azure-300: oklch(0.83 0.1 235);
  --azure-400: oklch(0.73 0.14 240);
  --azure-500: oklch(0.64 0.16 245);
  --azure-700: oklch(0.47 0.16 255);
  --btn: oklch(0.52 0.17 252);
  --btn-hover: oklch(0.57 0.17 250);

  /* silver text on night */
  --silver-50: oklch(0.975 0.012 245);
  --silver-100: oklch(0.94 0.02 245);
  --silver-300: oklch(0.82 0.018 250);
  --silver-500: oklch(0.66 0.022 252);

  /* day */
  --day-0: oklch(0.99 0.004 245);
  --day-1: oklch(0.962 0.01 245);
  --day-2: oklch(0.925 0.016 245);
  --day-line: oklch(0.85 0.022 250);
  --day-ink: oklch(0.2 0.05 257);
  --day-muted: oklch(0.42 0.04 255);

  --danger: oklch(0.74 0.15 25);
  --map-bg: oklch(0.24 0.05 257);
  --map-road: oklch(0.34 0.05 256);
  --map-road-2: oklch(0.3 0.045 256);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mech: cubic-bezier(0.32, 0.72, 0.28, 1);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --maxw: 76.5rem;
  --radius: 3px;
  --bar-h: 4.75rem;
  --announce-h: 0rem;
  --section-y: clamp(4rem, 2.5rem + 5.5vw, 8rem);

  --fs-hero: clamp(2.9rem, 0.9rem + 8vw, 6rem);
  --fs-page: clamp(2.75rem, 1.4rem + 5.2vw, 5.25rem);
  --fs-h2: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
  scrollbar-color: oklch(0.42 0.06 255) var(--ink-975);
  accent-color: var(--azure-500);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  --header-h: calc(var(--bar-h) + var(--announce-h));
  margin: 0;
  background: var(--ink-975);
  color: var(--silver-100);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--azure-400);
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--azure-500); color: #fff; }

:focus-visible { outline: 2px solid var(--azure-300); outline-offset: 3px; border-radius: 2px; }
[data-tone='day'] :focus-visible { outline-color: var(--azure-700); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 0.75rem; z-index: 100; padding: 0.75rem 1rem;
  background: var(--silver-50); color: var(--ink-950); font-weight: 650; border-radius: var(--radius);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* display type: condensed heavy caps, answers the stencil wordmark */
h1, h2, .pcard h3, .system h3 {
  margin: 0;
  font-stretch: 70%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.004em;
  line-height: 0.98;
  text-wrap: balance;
}
h3 { margin: 0; font-weight: 650; line-height: 1.25; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  min-height: 3rem; padding: 0.8rem 1.4rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform 0.25s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn); color: #fff; box-shadow: 0 1px 0 oklch(1 0 0 / 0.18) inset, 0 10px 20px -12px oklch(0.03 0 0 / 0.75); }
.btn--primary:hover { background: var(--btn-hover); }
.btn--ghost { border-color: oklch(0.8 0.02 250 / 0.5); color: var(--silver-50); background: transparent; }
.btn--ghost:hover { border-color: var(--silver-50); background: oklch(1 0 0 / 0.06); }
[data-tone='day'] .btn--ghost { border-color: var(--day-ink); color: var(--day-ink); }
[data-tone='day'] .btn--ghost:hover { background: oklch(0.2 0.05 257 / 0.06); }
.btn--sm { min-height: 2.5rem; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.textlink { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--azure-300); font-weight: 600; text-decoration: none; }
.textlink .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease-out); }
.textlink:hover .icon { transform: translateX(3px); }
.textlink:hover { text-decoration: underline; }

/* -------------------------------------------------------------- header */
.site-header {
  /* the announcement bar scrolls away with the page, the bar below it stays: --announce-scroll is set by main.js */
  position: fixed; inset: calc(-1 * var(--announce-scroll, 0px)) 0 auto 0; z-index: 50;
  background: oklch(0.16 0.045 258 / 0.9);
  border-bottom: 1px solid var(--line-night);
  transition: background-color 0.3s, border-color 0.3s;
}
/* the blur lives on a pseudo-element: backdrop-filter on the header itself would turn it into the containing block of the fixed mobile menu */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
html.js .site-header.is-top { background: transparent; border-bottom-color: transparent; }
html.js .site-header.is-top::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
html.js .site-header.is-top.menu-open { background: var(--ink-950); border-bottom-color: var(--line-night); }
.site-header__bar { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); min-height: var(--bar-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; text-decoration: none; margin-right: auto; flex: none; }
.brand__mark { height: 2.9rem; width: auto; }
.brand__word { height: 2.15rem; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.nav__list { display: flex; gap: clamp(0.9rem, 1.6vw, 2rem); }
.nav__link {
  position: relative; display: block; padding: 0.5rem 0; font-size: 0.9375rem; font-weight: 550; white-space: nowrap;
  color: var(--silver-100); text-decoration: none;
}
.nav__cta { white-space: nowrap; }
.nav__link::after {
  content: ''; position: absolute; inset: auto 0 0.1rem 0; height: 2px; background: var(--azure-400);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link[aria-current='page'] { color: var(--azure-300); }

.lang { display: flex; align-items: center; border: 1px solid var(--line-night); border-radius: var(--radius); }
.lang__item {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.4rem 0.75rem; min-height: 2.75rem;
  font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.04em; color: var(--silver-300); text-decoration: none;
}
.lang__item + .lang__item { border-left: 1px solid var(--line-night); }
.lang__item[aria-current='true'] { color: var(--silver-50); background: oklch(1 0 0 / 0.08); }
.lang__item:hover { color: var(--silver-50); }
.flag { width: 1.25rem; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px oklch(1 0 0 / 0.18); }

.nav-toggle {
  display: none; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-night); border-radius: var(--radius); cursor: pointer; color: var(--silver-50);
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__close { display: block; }

@media (max-width: 1279px) {
  :root { --bar-h: 4rem; }
  .brand__mark { height: 2.4rem; }
  .brand__word { height: 1.75rem; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) - var(--announce-scroll, 0px)) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 1.5rem; padding: 1.5rem var(--gutter) 2rem; background: var(--ink-950); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-0.5rem);
    transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s 0.35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 0.9rem 0; font-size: 1.5rem; font-stretch: 70%; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid var(--line-night); }
  .nav__link::after { display: none; }
  .nav__cta { min-height: 3rem; font-size: 1rem; }
  /* without JS the menu simply stays open under the bar */
  html:not(.js) .site-header { position: absolute; }
  html:not(.js) .nav { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; flex-wrap: wrap; padding: 0; background: none; }
  html:not(.js) .nav__list { flex-direction: row; flex-wrap: wrap; gap: 0.25rem 1rem; }
  html:not(.js) .nav__link { font-size: 0.9375rem; padding: 0.4rem 0; border: 0; font-stretch: 100%; text-transform: none; font-weight: 550; }
  html:not(.js) .site-header__bar { flex-wrap: wrap; padding-block: 0.75rem; }
}
@media (max-width: 420px) { .lang__item span { display: none; } }
/* very narrow phones (320px): the logo, language switch and menu button must still fit in one row */
@media (max-width: 374px) {
  .site-header__bar { gap: 0.5rem; }
  .brand { gap: 0.5rem; }
  .brand__mark { height: 2rem; }
  .brand__word { height: 1.4rem; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: min(calc(100svh - 6rem), 56rem); padding: calc(var(--header-h) + 3rem) 0 5.5rem; background: var(--ink-950);
}
.hero__media { position: absolute; inset: 0 0 0 auto; z-index: -1; width: min(74%, 64rem); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; transform-origin: 70% 60%; animation: settle 2.4s var(--ease-out) both; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink-950) 0%, oklch(0.16 0.045 258 / 0.82) 14%, oklch(0.16 0.045 258 / 0.2) 48%, transparent 70%),
    linear-gradient(0deg, var(--ink-950) 0%, transparent 26%),
    linear-gradient(180deg, oklch(0.16 0.045 258 / 0.75) 0%, transparent 24%);
}
.hero__copy { max-width: 44rem; }
.hero__title { font-size: var(--fs-hero); line-height: 0.94; color: var(--silver-50); }
.hero__line { display: block; overflow: hidden; padding-block: 0.05em; margin-block: -0.05em; }
.hero__line-in { display: block; animation: rise 1s var(--ease-out) both; }
.hero__line:nth-child(2) .hero__line-in { animation-delay: 0.09s; }
.hero__line:nth-child(3) .hero__line-in { animation-delay: 0.18s; }
.hero__line.is-accent { color: var(--azure-400); }
.hero__lead { max-width: 32rem; margin: 1.75rem 0 2.25rem; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--silver-300); animation: fade 0.9s 0.35s var(--ease-out) both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; animation: fade 0.9s 0.45s var(--ease-out) both; }
@media (max-width: 559px) { .hero__actions .btn, .page-hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; } }
.hero__profile {
  position: absolute; z-index: 2; right: clamp(1rem, 5.5vw, 6rem); bottom: 2.25rem; width: clamp(9rem, 19vw, 17rem); height: auto;
  filter: drop-shadow(0 22px 22px oklch(0.04 0 0 / 0.6)); pointer-events: none; animation: fade 1.2s 0.5s var(--ease-out) both;
}
.promo-badge {
  position: absolute; z-index: 3; right: clamp(8rem, 26vw, 25rem); top: 24%; display: grid; place-content: center; text-align: center;
  width: 8.5rem; height: 8.5rem; padding: 1rem; border-radius: 50%; background: var(--btn); color: #fff;
  font-size: 0.8125rem; line-height: 1.25; transform: rotate(-9deg); box-shadow: 0 14px 28px -12px oklch(0.04 0 0 / 0.8);
}
.promo-badge[hidden] { display: none; }
.promo-badge strong { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1; margin-bottom: 0.3rem; }

@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
@keyframes settle { from { transform: scale(1.07); } }

@media (max-width: 899px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 2rem); padding-bottom: 0; align-items: start; }
  .hero__media { position: relative; inset: auto; width: 100%; height: 22rem; order: 2; margin-top: 2.5rem; -webkit-mask-image: none; mask-image: none; }
  .hero__media::after {
    background: linear-gradient(180deg, var(--ink-950) 0%, transparent 28%), linear-gradient(0deg, var(--ink-900) 0%, transparent 18%);
  }
  .hero { display: flex; flex-direction: column; }
  .hero__grid { order: 1; }
  .hero__profile { right: 1rem; bottom: 1.25rem; width: 7.5rem; }
  .promo-badge { right: 1rem; top: auto; bottom: 8.5rem; width: 6.75rem; height: 6.75rem; font-size: 0.7rem; }
}

/* phone held sideways: the screen is only ~375px tall, so the headings shrink to keep the buttons in reach */
@media (max-height: 480px) and (orientation: landscape) {
  :root { --fs-hero: clamp(2.2rem, 12vh, 3.2rem); --fs-page: clamp(2.2rem, 12vh, 3.2rem); --section-y: 3rem; }
  .hero { padding-top: calc(var(--header-h) + 1.25rem); }
  .hero__lead { margin: 1rem 0 1.25rem; }
  .hero__media { height: 14rem; margin-top: 1.5rem; }
  .page-hero { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 2rem; }
}

/* ---------------------------------------------------------------- rail */
.rail { background: var(--ink-900); border-block: 1px solid var(--line-night); }
.rail__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }
.rail__item {
  display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.25rem; color: var(--silver-300); font-size: 0.9375rem; line-height: 1.35;
}
.rail__item + .rail__item { border-left: 1px solid var(--line-night); }
.rail__item[hidden] { display: none; }
.rail__item .icon { width: 1.9rem; height: 1.9rem; color: var(--azure-400); }
.rail__item b { display: block; color: var(--silver-50); font-weight: 650; font-size: 1.0625rem; }
@media (max-width: 719px) {
  .rail__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail__item { min-width: 0; padding: 1.1rem 0.9rem; gap: 0.75rem; }
  .rail__item:nth-child(odd) { border-left: 0; }
  .rail__item:nth-child(n + 3) { border-top: 1px solid var(--line-night); }
  .rail__item b { font-size: 1rem; }
}
@media (max-width: 479px) {
  .rail__list { grid-template-columns: minmax(0, 1fr); }
  .rail__item { padding-inline: 0; }
  .rail__item + .rail__item { border-left: 0; border-top: 1px solid var(--line-night); }
}

/* -------------------------------------------------------------- brands */
.brands { background: var(--ink-975); padding: 2.5rem 0; }
.brands__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.brands__title { font-size: 0.875rem; font-stretch: 100%; font-weight: 500; text-transform: none; letter-spacing: 0.01em; line-height: 1.4; color: var(--silver-500); max-width: 13rem; }
.brands__list { display: flex; flex: 1 1 32rem; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; }
@media (max-width: 719px) { .brands { padding: 2rem 0; } .brands__list { justify-content: flex-start; gap: 1.1rem 2.25rem; } }
.brand-mark { color: var(--silver-300); line-height: 1; white-space: nowrap; user-select: none; }
body.has-announce { --announce-h: 2.75rem; } /* main.js replaces this with the measured height */
.brand-mark--aluplast { text-transform: lowercase; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; }
.brand-mark--salamander { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 300; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; }
.brand-mark--gerda { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 900; font-stretch: 125%; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-mark--velux { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3em 0.6em; border: 2px solid currentColor; border-radius: 2px; }
.brand-mark--fakro { font-size: clamp(1.4rem, 2.6vw, 1.95rem); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; transform: skewX(-9deg); }

/* ------------------------------------------------------------- sections */
.section { padding-block: var(--section-y); }
[data-tone='day'] { background: var(--day-1); color: var(--day-ink); }
[data-tone='night'] { background: var(--ink-900); color: var(--silver-100); }
[data-tone='day'] + [data-tone='day'], [data-tone='night'] + [data-tone='night'] { padding-top: 0; }
.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section__head h2, .section h2 { font-size: var(--fs-h2); }
[data-tone='day'] h2, [data-tone='day'] h3 { color: var(--day-ink); }
[data-tone='night'] h2, [data-tone='night'] h3 { color: var(--silver-50); }
.section__lead { margin: 1.1rem 0 0; font-size: 1.1875rem; color: var(--silver-300); max-width: 38rem; }
[data-tone='day'] .section__lead { color: var(--day-muted); }

/* ------------------------------------------------------- product cards */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); align-items: start; }
.pcard:nth-child(2) { margin-top: clamp(0rem, 4vw, 3.5rem); }
.pcard__link {
  position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; background: var(--ink-900); color: var(--silver-50); text-decoration: none;
  box-shadow: 0 1px 2px oklch(0.2 0.05 257 / 0.25), 0 28px 44px -26px oklch(0.2 0.06 257 / 0.6);
}
.pcard__media, .stage { position: absolute; inset: 0; }
.pcard__img, .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.pcard__link:hover .pcard__img, .pcard__link:hover .stage img { transform: scale(1.035); }
.pcard__body {
  position: absolute; inset: auto 0 0 0; padding: 4.5rem 1.5rem 1.6rem;
  background: linear-gradient(0deg, oklch(0.14 0.045 258 / 0.96) 0%, oklch(0.14 0.045 258 / 0.78) 55%, transparent 100%);
}
.pcard h3 { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.6rem); color: var(--silver-50); }
.pcard p { margin: 0.5rem 0 1rem; color: var(--silver-300); font-size: 1rem; max-width: 22rem; }
.pcard__more { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--azure-300); font-weight: 650; }
.pcard__more .icon { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease-out); }
.pcard__link:hover .pcard__more .icon { transform: translateX(5px); }

/* shutter stage: the closed facade is revealed top-down over the open one */
.stage { --cut: 100%; transition: --cut 2.4s var(--ease-mech); }
.stage__closed { clip-path: inset(0 0 var(--cut) 0); }
.stage.is-closed { --cut: 0%; }
.pcard__link:hover .stage, .pcard__link:focus-visible .stage { --cut: 100%; transition-duration: 1.4s; }
.stage--hero { position: absolute; inset: 0; }
.stage-wrap { position: relative; justify-self: center; width: 100%; max-width: 27rem; }
.stage-frame { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; box-shadow: 0 28px 44px -26px oklch(0.03 0 0 / 0.9); }
.shutter-toggle {
  display: inline-flex; align-items: center; margin-top: 1.75rem; min-height: 3rem; padding: 0.7rem 1.3rem; background: transparent;
  color: var(--silver-50); border: 1px solid var(--azure-400); border-radius: var(--radius); font-weight: 650; cursor: pointer;
  transition: background-color 0.2s;
}
.shutter-toggle:hover { background: oklch(0.64 0.16 245 / 0.14); }
.shutter-hint { margin: 0.6rem 0 0; font-size: 0.875rem; color: var(--silver-500); }

@media (max-width: 899px) {
  .pcards { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .pcard:nth-child(2) { margin-top: 0; }
  .pcard__link { aspect-ratio: 4 / 5; }
}
@media (min-width: 900px) and (max-width: 1100px) { .pcard p { font-size: 0.9375rem; } }

/* ------------------------------------------------------------ why/spec */
.why { background: var(--ink-900); }
.why__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.why__fig { position: relative; margin: 0; width: 100%; max-width: 35rem; aspect-ratio: 1; }
.why__img { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 30px 36px oklch(0.04 0 0 / 0.55)); }
.callouts { position: absolute; inset: 0; }
.callouts__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--azure-300); stroke: var(--azure-300); stroke-width: 1; }
.callouts__lines path { vector-effect: non-scaling-stroke; fill: none; stroke-opacity: 0.85; }
.callouts__lines circle { stroke: none; }
.callout { position: absolute; transform: translateY(-50%); font-size: 0.8125rem; font-weight: 600; line-height: 1.25; color: var(--silver-100); }
.callout--l { text-align: right; padding-right: 0.6rem; }
.callout--r { text-align: left; padding-left: 0.6rem; }
.callouts__legend { display: none; }
.spec { margin-top: 0.5rem; }
.spec__row { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.75rem; padding: 1.15rem 0; border-top: 1px solid var(--line-night); }
.spec__row:last-child { border-bottom: 1px solid var(--line-night); }
.spec__row .icon { grid-row: span 2; color: var(--azure-400); margin-top: 0.15rem; }
.spec dt { font-weight: 650; color: var(--silver-50); font-size: 1.125rem; line-height: 1.3; }
.spec dd { color: var(--silver-300); font-size: 0.9875rem; }

@media (max-width: 899px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__fig { aspect-ratio: auto; max-width: 22rem; margin-inline: auto; }
  .why__img { position: static; width: 100%; height: auto; }
  .callouts { display: none; }
  .callouts__legend { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; justify-content: center; margin-top: 1rem; font-size: 0.8125rem; color: var(--silver-300); }
  .callouts__legend li::before { content: ''; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.45rem; border-radius: 50%; background: var(--azure-400); }
}

/* ------------------------------------------- process: steps as window panes */
.frame {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 10px;
  background: oklch(0.31 0.035 252); border-radius: 4px;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.1) inset, 0 40px 60px -40px oklch(0.2 0.06 257 / 0.6);
}
.pane {
  position: relative; overflow: hidden; padding: 1.9rem 1.75rem 2.2rem; min-height: 14.5rem;
  background: linear-gradient(160deg, oklch(0.96 0.03 232) 0%, oklch(0.9 0.055 238) 100%);
}
.pane::before {
  content: ''; position: absolute; inset: -20% auto -20% 56%; width: 22%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.42), transparent); pointer-events: none;
}
.pane__n { display: block; margin-bottom: 1.25rem; font-size: 4.25rem; font-stretch: 70%; font-weight: 800; line-height: 0.85; color: var(--azure-700); }
.pane h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.pane p { margin: 0; color: var(--day-muted); font-size: 0.975rem; max-width: 21rem; }
@supports (animation-timeline: view()) {
  .frame .pane { animation: pane-in linear both; animation-timeline: view(); animation-range: entry 0% entry calc(55% + var(--i, 0) * 4%); }
  .frame .pane:nth-child(2) { --i: 1; } .frame .pane:nth-child(3) { --i: 2; }
  .frame .pane:nth-child(4) { --i: 3; } .frame .pane:nth-child(5) { --i: 4; } .frame .pane:nth-child(6) { --i: 5; }
}
@keyframes pane-in { from { opacity: 0.001; transform: translateY(18px); } }
@media (max-width: 899px) { .frame { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pane { min-height: 0; } }
@media (max-width: 559px) { .frame { grid-template-columns: 1fr; padding: 8px; } .pane { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: 1rem; padding: 1.4rem 1.25rem; } .pane__n { grid-row: span 2; font-size: 3.2rem; margin: 0; } }

/* -------------------------------------------------- quote + showroom */
.section--quote { background: var(--ink-950); }
.quote__grid, .contact__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; }
.quote__form { padding: 1.5rem; background: var(--ink-900); border: 1px solid var(--line-night); border-radius: 4px; }
@media (min-width: 720px) { .quote__form { padding: 2.5rem; } }
@media (max-width: 380px) { .quote__form { padding: 1.1rem; } }
.quote__form h2 { font-size: clamp(2.1rem, 1.5rem + 2vw, 3rem); }
.quote__alt { margin: 1.25rem 0 0; font-size: 0.9375rem; color: var(--silver-300); }
.quote__alt a { color: var(--silver-50); font-weight: 600; }

.qform { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.qform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--silver-300); }
.field__opt { font-weight: 400; color: var(--silver-500); }
.field input[type='text'], .field input[type='email'], .field input[type='tel'], .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.75rem 0.95rem; background: var(--ink-850); color: var(--silver-50);
  border: 1px solid var(--line-night-strong); border-radius: var(--radius); font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select {
  appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b9c6d8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--azure-400); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--azure-300); outline-offset: 1px; border-color: var(--azure-300); }
.field__hint { margin: 0; font-size: 0.8125rem; color: var(--silver-500); }
.field__error { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--danger); }
.field__error[hidden] { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field--check .check { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.9375rem; font-weight: 400; color: var(--silver-300); cursor: pointer; }
.check input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; }
.check a { color: var(--silver-50); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform__status { padding: 1rem 1.15rem; border: 1px solid var(--azure-400); border-radius: var(--radius); background: oklch(0.64 0.16 245 / 0.12); }
.qform__status[hidden] { display: none; }
.qform__status.is-error { border-color: var(--danger); background: oklch(0.74 0.15 25 / 0.1); }
.qform__status strong { display: block; color: var(--silver-50); }
.qform__status p { margin: 0.2rem 0 0; font-size: 0.9375rem; color: var(--silver-300); }
.qform.is-sending .btn { opacity: 0.7; pointer-events: none; }

.showroom { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 34rem; overflow: hidden; border-radius: 4px; border: 1px solid var(--line-night); }
.showroom__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.showroom::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, oklch(0.13 0.04 258 / 0.97) 0%, oklch(0.13 0.04 258 / 0.7) 48%, oklch(0.13 0.04 258 / 0.1) 100%); }
.showroom__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.showroom h2 { font-size: clamp(2.1rem, 1.5rem + 2vw, 3rem); }
.showroom p { color: var(--silver-300); max-width: 26rem; }
.showroom__addr { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--silver-50) !important; font-weight: 600; }
.showroom__addr .icon { color: var(--azure-400); margin-top: 0.1rem; }
.hours { display: grid; gap: 0.35rem; font-variant-numeric: tabular-nums; color: var(--silver-300); font-size: 0.9375rem; }
.hours li { display: flex; justify-content: space-between; gap: 1.5rem; max-width: 17rem; }
.hours--compact { margin: 0 0 1.4rem; }
.visual-tag--hero { top: auto; bottom: 1rem; right: var(--gutter); }
.visual-tag {
  position: absolute; z-index: 2; top: 0.75rem; right: 0.75rem; padding: 0.25rem 0.55rem; border-radius: 2px;
  background: oklch(0.13 0.04 258 / 0.78); color: var(--silver-300); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 899px) {
  .quote__grid, .contact__grid { grid-template-columns: 1fr; }
  .showroom { min-height: 26rem; }
}
@media (max-width: 559px) { .qform__row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- page heroes */
.page-hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(3rem, 6vw, 6rem)) 0 clamp(3.5rem, 6vw, 5.5rem); background: var(--ink-950); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.2s var(--ease-out) both; }
.page-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-950) 6%, oklch(0.16 0.045 258 / 0.82) 40%, oklch(0.16 0.045 258 / 0.2) 100%), linear-gradient(0deg, var(--ink-950) 0%, transparent 30%); }
.page-hero h1 { font-size: var(--fs-page); color: var(--silver-50); max-width: 16ch; animation: fade 0.9s var(--ease-out) both; }
.page-hero__lead { max-width: 36rem; margin: 1.5rem 0 0; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--silver-300); animation: fade 0.9s 0.1s var(--ease-out) both; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; animation: fade 0.9s 0.2s var(--ease-out) both; }
.page-hero--plain::before {
  content: ''; position: absolute; z-index: -1; right: clamp(1.5rem, 8vw, 9rem); top: calc(var(--header-h) + 1.5rem); bottom: 1.75rem; aspect-ratio: 4 / 5;
  transform: skewX(-7deg); border: 4px solid var(--line-night-strong); border-radius: 3px;
  background:
    linear-gradient(var(--line-night-strong), var(--line-night-strong)) center / 3px 100% no-repeat,
    linear-gradient(var(--line-night-strong), var(--line-night-strong)) center / 100% 3px no-repeat,
    linear-gradient(160deg, oklch(0.64 0.16 245 / 0.16), transparent 62%);
}
@media (max-width: 719px) { .page-hero--plain::before { opacity: 0.45; right: -2rem; } }
.page-hero--split .page-hero__split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 899px) {
  .page-hero--split .page-hero__split { grid-template-columns: 1fr; }
  .page-hero__media::after { background: linear-gradient(180deg, oklch(0.16 0.045 258 / 0.7) 0%, oklch(0.16 0.045 258 / 0.88) 100%); }
}

/* ------------------------------------------------------- page sections */
.intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro__p { max-width: 40rem; margin-top: 1.1rem; font-size: 1.125rem; }
.intro .section__head { margin-bottom: 0; }
.checks { display: grid; }
.checks li { display: flex; gap: 0.85rem; align-items: center; padding: 1rem 0; border-top: 1px solid var(--day-line); font-weight: 600; }
.checks li:last-child { border-bottom: 1px solid var(--day-line); }
.checks .icon { color: var(--azure-700); }
[data-tone='night'] .checks li { border-color: var(--line-night); }
[data-tone='night'] .checks .icon { color: var(--azure-400); }

.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); }
.benefit { display: flex; gap: 1.1rem; padding: 1.6rem 0; border-top: 1px solid var(--day-line); }
.benefit h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.benefit p { margin: 0; color: var(--day-muted); }
.benefit .icon { width: 1.9rem; height: 1.9rem; margin-top: 0.1rem; color: var(--azure-700); }
[data-tone='night'] .benefit { border-color: var(--line-night); }
[data-tone='night'] .benefit p { color: var(--silver-300); }
[data-tone='night'] .benefit .icon { color: var(--azure-400); }

.systems { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); }
.system { padding: 1.6rem 0; border-top: 1px solid var(--day-line); }
.system h3 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); color: var(--day-ink); }
.system p { margin: 0.7rem 0 0; max-width: 28rem; color: var(--day-muted); }
[data-tone='night'] .system { border-color: var(--line-night); }
[data-tone='night'] .system p { color: var(--silver-300); }
[data-tone='night'] .system h3 { color: var(--silver-50); }

.options { border-bottom: 1px solid var(--day-line); }
.options__row { display: grid; grid-template-columns: minmax(10rem, 0.35fr) 1fr; gap: 1rem 2rem; padding: 1.35rem 0; border-top: 1px solid var(--day-line); }
.options dt { font-weight: 650; }
.options dd ul { display: flex; flex-wrap: wrap; gap: 0.35rem 0; }
.options dd li { color: var(--day-muted); }
.options dd li + li::before { content: '/'; margin: 0 0.75rem; color: var(--azure-700); font-weight: 600; }
[data-tone='night'] .options, [data-tone='night'] .options__row { border-color: var(--line-night); }
[data-tone='night'] .options dd li { color: var(--silver-300); }
[data-tone='night'] .options dd li + li::before { color: var(--azure-400); }

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.extra img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.extra h3 { margin: 1.1rem 0 0.3rem; font-size: 1.375rem; }
.extra p { margin: 0; color: var(--silver-300); }
[data-tone='day'] .extra p { color: var(--day-muted); }

.faq { max-width: 52rem; border-bottom: 1px solid var(--day-line); }
.faq__item { border-top: 1px solid var(--day-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; font-weight: 650; font-size: 1.125rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--azure-700); transition: transform 0.3s var(--ease-out); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__a { padding: 0 3rem 1.4rem 0; max-width: 42rem; }
.faq__a p { margin: 0; color: var(--day-muted); }
[data-tone='night'] .faq, [data-tone='night'] .faq__item { border-color: var(--line-night); }
[data-tone='night'] .faq summary .icon { color: var(--azure-400); }
[data-tone='night'] .faq__a p { color: var(--silver-300); }

.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); }
.story .section__head { margin-bottom: 0; }
.story__text p { font-size: 1.1875rem; max-width: 40rem; }

.cta-band { background: var(--ink-950); border-top: 1px solid var(--line-night); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 3rem; }
.cta-band h2 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); color: var(--silver-50); }
.cta-band p { margin: 0.7rem 0 0; color: var(--silver-300); font-size: 1.125rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

@media (max-width: 899px) {
  .intro, .story { grid-template-columns: 1fr; }
  .benefits, .extras { grid-template-columns: 1fr; }
  .options__row { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ------------------------------------------------------------ projects */
.note { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 2rem; padding: 1rem 1.25rem; background: var(--day-2); border-radius: var(--radius); color: var(--day-muted); font-size: 0.9375rem; }
.note .icon { color: var(--azure-700); margin-top: 0.1rem; }
.note p { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter { min-height: 2.75rem; padding: 0.5rem 1.1rem; background: transparent; border: 1px solid var(--day-ink); border-radius: var(--radius); color: var(--day-ink); font-weight: 600; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.filter:hover { background: oklch(0.2 0.05 257 / 0.07); }
.filter[aria-pressed='true'] { background: var(--day-ink); color: var(--day-0); }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.proj[hidden] { display: none; }
.proj figure { position: relative; margin: 0; }
.proj img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; transition: transform 0.9s var(--ease-out); }
.proj figure { overflow: hidden; border-radius: 4px; }
.proj figure:hover img { transform: scale(1.03); }
.proj figcaption { padding: 0.9rem 0 0; font-weight: 600; color: var(--day-ink); }
.proj .visual-tag { right: auto; left: 0.75rem; }
@media (max-width: 899px) { .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .proj-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- contact */
.contact__info { align-self: start; padding: clamp(0.5rem, 1vw, 1rem) 0; }
.contact__info h2 { font-size: clamp(2.1rem, 1.5rem + 2vw, 3rem); }
.contact__info > p { margin: 1rem 0 1.75rem; color: var(--silver-300); max-width: 28rem; }
.contact__list { display: grid; margin-bottom: 1.75rem; }
.contact__list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line-night); color: var(--silver-300); }
.contact__list li:last-child { border-bottom: 1px solid var(--line-night); }
.contact__list .icon { color: var(--azure-400); margin-top: 0.15rem; }
.contact__list b { display: block; color: var(--silver-50); font-weight: 650; }
.contact__list a { color: var(--silver-50); }

/* --------------------------------------------------------------- legal */
.legal { max-width: 46rem; }
.legal h2 { margin: 2.5rem 0 0.75rem; font-size: 1.5rem; font-stretch: 100%; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.25; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--day-muted); }
.legal a { color: var(--azure-700); }

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--ink-975); border-top: 1px solid var(--line-night); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1.1fr 1fr 1.1fr; gap: 2rem clamp(1.25rem, 3vw, 3rem); align-items: start; }
.brand--footer { margin: 0 0 1.25rem; }
.footer__brand p { color: var(--silver-500); max-width: 17rem; font-size: 0.9375rem; }
.footer__h { margin-bottom: 1rem; font-size: 0.8125rem; font-stretch: 100%; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver-500); line-height: 1.2; }
.footer__line { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0 0 0.75rem; color: var(--silver-100); font-size: 0.9875rem; }
.footer__line .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; color: var(--azure-400); }
.footer__line a { text-decoration: none; }
.footer__line a:hover { text-decoration: underline; }
.footer__col .textlink { margin-top: 0.25rem; font-size: 0.9375rem; }
.footer__map { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; border: 1px solid var(--line-night); border-radius: 4px; text-decoration: none; }
.footer__map .map-art { width: 100%; height: 100%; }
.footer__map span { position: absolute; left: 0.6rem; bottom: 0.6rem; padding: 0.25rem 0.55rem; background: oklch(0.13 0.04 258 / 0.85); border-radius: 2px; font-size: 0.8125rem; color: var(--silver-100); }
.footer__map:hover { border-color: var(--azure-400); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: clamp(2.5rem, 4vw, 4rem); padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--line-night); font-size: 0.875rem; color: var(--silver-500); }
.footer__legal p { margin: 0; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--silver-50); text-decoration: underline; }
@media (max-width: 1080px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .footer__grid { grid-template-columns: 1fr; } }

/* touch devices (phones, tablets): every control gets a target of at least 44px */
@media (max-width: 1279px), (pointer: coarse) {
  .btn--sm { min-height: 2.75rem; }
  .textlink { min-height: 2.75rem; }
  .footer__line a { padding-block: 0.6rem; margin-block: -0.6rem; }
  .footer__legal a { display: inline-flex; align-items: center; min-height: 2.75rem; }
}

/* ------------------------------------------------- mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 719px) {
  .mobile-bar {
    position: fixed; inset: auto 0 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.6rem;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: oklch(0.13 0.035 258 / 0.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-night);
  }
  .mobile-bar .btn { min-height: 3rem; padding-inline: 0.75rem; }
  html.js .mobile-bar { transform: translateY(110%); transition: transform 0.4s var(--ease-out); }
  html.js .mobile-bar.is-visible { transform: none; }
  body { padding-bottom: 4.75rem; }
}
/* phone held sideways: the action bar would eat a fifth of the screen */
@media (max-width: 719px) and (max-height: 430px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* -------------------------------------------------------------- splash */
.splash { display: grid; min-height: 100svh; place-items: center; text-align: center; background: var(--ink-950); }
.splash__main { display: grid; gap: 1.25rem; justify-items: center; padding: 2rem var(--gutter); }
.splash__logo { height: 6.5rem; width: auto; }
.splash__word { height: 4.5rem; width: auto; }
.splash__lead { margin: 0.5rem 0 0; color: var(--silver-300); }
.splash__h { font-size: 6rem; color: var(--silver-50); }
.splash__choices { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .frame .pane { animation: none; }
}
@media print {
  .site-header, .mobile-bar, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------- announcement banner */
.announce { background: var(--btn); color: #fff; }
.announce__in { display: flex; align-items: center; justify-content: center; gap: 0 1.25rem; flex-wrap: wrap; min-height: 2.75rem; padding-block: 0.35rem; font-size: 0.9375rem; line-height: 1.3; text-align: center; }
.announce p { margin: 0; font-weight: 600; }
.announce a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; color: #fff; font-weight: 650; white-space: nowrap; }
.announce a .icon { width: 1em; height: 1em; }
@media (max-width: 560px) { body.has-announce { --announce-h: 3.6rem; } .announce__in { font-size: 0.875rem; } }

/* ------------------------------------------------ partner logos (uploaded) */
.brand-logo { display: grid; place-items: center; }
.brand-logo img { width: auto; height: 2.4rem; max-width: 9rem; object-fit: contain; filter: grayscale(1) brightness(1.7); opacity: 0.85; }
.brand-mark--custom { font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------------------------------------------------- customer reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.review { padding: 1.6rem 0; border-top: 1px solid var(--line-night); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0 0 1rem; font-size: 1.1875rem; line-height: 1.5; color: var(--silver-50); text-wrap: pretty; }
.review__by { margin: 0; font-size: 0.9375rem; color: var(--silver-300); }
.review__by b { color: var(--silver-50); font-weight: 650; }

/* ----------------------------------------------------- downloads page */
.dl-empty { max-width: 40rem; margin: 0; padding: 1.5rem 0; border-top: 1px solid var(--day-line); border-bottom: 1px solid var(--day-line); font-size: 1.125rem; color: var(--day-muted); }
.dl-group + .dl-group { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.dl-group h2 { margin-bottom: 1.25rem; }
.dl-list { display: grid; }
.dl { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto auto; gap: 0.5rem 1.25rem; align-items: center; padding: 1.25rem 0; border-top: 1px solid var(--day-line); }
.dl:last-child { border-bottom: 1px solid var(--day-line); }
.dl__ico { display: grid; place-items: center; width: 3rem; height: 3rem; background: var(--ink-950); color: var(--azure-300); border-radius: var(--radius); }
.dl__ico .icon { width: 1.5rem; height: 1.5rem; }
.dl__body h3 { margin: 0 0 0.15rem; font-size: 1.1875rem; color: var(--day-ink); }
.dl__body p { max-width: 38rem; margin: 0; color: var(--day-muted); font-size: 0.975rem; }
.dl__meta { color: var(--day-muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 719px) {
  .dl { grid-template-columns: 3rem minmax(0, 1fr); }
  .dl__meta { grid-column: 2; }
  .dl .btn { grid-column: 1 / -1; justify-content: center; }
}
