/* Felix Bygg AS — "tett tak": the page is a roof read from ridge to eave.
   Sections lap over the next like roof courses; headings and photos are laid course by course from the bottom up;
   the roof scene and the service stage lay every next photo over the previous one; rain runs over the hero and is
   caught in the amber gutter at the end. v3 (2026-10-03): hairlines instead of boxed cards, mono labels,
   buttons that never move with the pointer. v4: no font axis animates in the intro (width and weight belong to other sites);
   «Rad over rad» — a roof section built as a clip; the bath wall is tiled row by row. Tokens: see DESIGN.md. */

/* static cuts of Hubot Sans and Rethink Sans, one file per weight/width range (tools/static_fonts.py; WebKit drew the
   variable files in their thinnest instance) */
@font-face {
  font-family: "Hubot Sans";
  src: url("fonts/hubot-650-106.woff2?v=28") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 107%;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("fonts/hubot-705-109.woff2?v=28") format("woff2");
  font-weight: 200 735;
  font-stretch: 107.01% 111%;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("fonts/hubot-770-110.woff2?v=28") format("woff2");
  font-weight: 736 900;
  font-stretch: 107.01% 111%;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("fonts/hubot-750-112.woff2?v=28") format("woff2");
  font-weight: 200 775;
  font-stretch: 111.01% 116%;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("fonts/hubot-805-114.woff2?v=28") format("woff2");
  font-weight: 776 900;
  font-stretch: 111.01% 116%;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("fonts/hubot-810-118.woff2?v=28") format("woff2");
  font-weight: 200 900;
  font-stretch: 116.01% 119%;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("fonts/hubot-825-122.woff2?v=28") format("woff2");
  font-weight: 200 850;
  font-stretch: 119.01% 123%;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("fonts/hubot-860-122.woff2?v=28") format("woff2");
  font-weight: 851 900;
  font-stretch: 119.01% 123%;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("fonts/hubot-880-125.woff2?v=28") format("woff2");
  font-weight: 200 900;
  font-stretch: 123.01% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("fonts/rethink-400.woff2?v=28") format("woff2");
  font-weight: 100 500;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("fonts/rethink-600.woff2?v=28") format("woff2");
  font-weight: 501 625;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("fonts/rethink-650.woff2?v=28") format("woff2");
  font-weight: 626 675;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("fonts/rethink-700.woff2?v=28") format("woff2");
  font-weight: 676 750;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("fonts/rethink-800.woff2?v=28") format("woff2");
  font-weight: 751 900;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("fonts/fragmentmono.woff2?v=28") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@property --lay { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --fill { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --night: #101417;
  --slate: #182025;
  --slate-2: #232c32;
  --steam: #241f1b;
  --fog: #e4e8e6;
  --paper: #f3f1ea;
  --paper-2: #fbfaf6;
  --ink: #14181a;
  --ink-2: #4a5257;
  --ink-3: #8a9296;
  --mist: #a9b4b9;
  --mist-2: #d6dde0;
  --amber: #fbb728;
  --amber-hi: #ffd166;
  --amber-ink: #7d5300;
  --brown: #4d3300;
  --line-d: rgba(255, 255, 255, .16);
  --line-l: rgba(20, 24, 26, .16);
  --lap: 28px;
  --gut: clamp(16px, 4.2vw, 64px);
  --maxw: 1440px;
  --head: 84px;
  --head-s: 66px;
  --pad: clamp(64px, 7vw, 116px);
  /* motion tokens (PREMIUM_MOTION §2): one set for the whole site */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-out-soft: cubic-bezier(.25, 1, .5, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease: var(--ease-out-soft);
  --ease-lay: cubic-bezier(.5, .05, .25, 1);
  --f-d: "Hubot Sans", "Arial Black", system-ui, sans-serif;
  --f-t: "Rethink Sans", "Segoe UI", system-ui, sans-serif;
  --f-m: "Fragment Mono", ui-monospace, "Cascadia Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* no blue tap flash on phones: a press shows the control's own :active state, focus rings only for the keyboard
   (user rule for all sites, 2026-10-05) */
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--head) + 12px); }
html.smooth { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-t);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-s { width: .9em; height: .9em; vertical-align: -.05em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.mono, .num { font-family: var(--f-t); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus-visible { top: 12px; }

/* ------------------------------------------------------------ header */
/* From 1440 px: logo, six service links, NO | EN, the number and a «Kontakt» slate; under that the links fold into «Meny»
   and the rest stays; on a phone: logo, NO | EN, the number as an icon, «Meny» (user rule 2026-10-27/28, replaces the
   2026-10-25 «logo + Meny only»). The logo is medium (52 px tall, 44 px once the bar sticks); the stuck bar has a soft
   shade 28 px deep, never a line (2026-10-22/28). Ground and shade are the bar's own, so nothing shows through it. */
.top {
  --logo-w: 123px;
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-now);
  display: flex; align-items: center;
  padding-inline: var(--gut);
  background: rgba(16, 20, 23, .8);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  color: #fff;
  transition: height .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
:root { --head-now: var(--head); }
:root:has(.top.is-scrolled) { --head-now: var(--head-s); }
.top.is-scrolled { background: var(--night); --logo-w: 104px; box-shadow: 0 14px 28px -4px rgba(8, 11, 13, .55); }
.top-in { flex: 1; min-width: 0; display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.brand { display: block; flex: none; line-height: 0; }
.brand svg { width: 104px; height: auto; display: block; }
.top .brand { display: block; line-height: 0; margin-right: auto; }
.top .brand svg { width: var(--logo-w); transition: width .4s var(--ease); }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(22px, 2.2vw, 40px); }
.nav a {
  display: block; padding: 12px 0; text-decoration: none; white-space: nowrap;
  font: 700 1.04rem/1 var(--f-d); font-stretch: 108%; letter-spacing: -.005em; color: var(--mist-2);
  position: relative;
}
/* the current link is underlined by one amber course that lays itself from the left */
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 3px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a[aria-current], .nav a:active { color: #fff; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
/* NO | EN: two cut slates, the current one filled amber */
.lang { display: inline-flex; align-items: center; flex: none; gap: 6px; font: 800 .86rem/1 var(--f-d); font-stretch: 110%; letter-spacing: .06em; }
.lang a { position: relative; display: inline-block; min-width: 42px; padding: 11px 10px 10px; text-align: center; text-decoration: none; color: var(--mist-2); background: rgba(255, 255, 255, .09); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); transition: color .25s var(--ease-out-soft), background-color .25s var(--ease-out-soft); }
.lang a:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.lang a:not([aria-current]):active { color: #fff; background: rgba(255, 255, 255, .26); }
.lang a[aria-current] { color: var(--ink); background: var(--amber); }
.lang > span { display: none; }
.lang-menu { font-size: .95rem; }
.lang-menu a { min-width: 52px; padding: 14px 12px 13px; }
/* the number: amber handset on a cut slate outline, white digits, no box; the contact slate beside it is the one filled button */
.call { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: #fff; }
.call-ico { display: grid; place-items: center; width: 40px; height: 40px; color: var(--amber); background: rgba(251, 183, 40, .16); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: background-color .3s var(--ease), color .3s var(--ease); }
.call-ico .ico { width: 18px; height: 18px; }
.call-num { font: 800 1.05rem/1 var(--f-d); font-stretch: 112%; letter-spacing: -.01em; white-space: nowrap; }
.call:hover .call-ico, .call:active .call-ico { background: var(--amber); color: var(--ink); }
/* «Kontakt»: an amber slate with two cut corners; a white course laps over it from below on hover */
.top-cta {
  position: relative; isolation: isolate; overflow: hidden; flex: none; display: none; align-items: center;
  min-height: 46px; padding: 0 24px; text-decoration: none; background: var(--amber); color: var(--ink);
  font: 800 1rem/1 var(--f-d); font-stretch: 114%; letter-spacing: -.01em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: color .35s var(--ease);
}
.top-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(102%); transition: transform .45s var(--ease-lay); }
.top-cta:hover::before, .top-cta:focus-visible::before, .top-cta:active::before { transform: none; }
/* «Meny»: the word and two slate courses; at rest the upper one is shifted over the lower, on hover they align; open, they cross */
.menu-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 2px 0 6px;
  border: 0; background: transparent; color: #fff; cursor: pointer;
  font: 800 1.04rem/1 var(--f-d); font-stretch: 114%; letter-spacing: -.01em;
}
.menu-btn .ico { width: 30px; height: 30px; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: butt; }
.ic-menu path { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease-in-out); }
.ic-menu .mb-a { transform: translateX(-3px) scaleX(.8); }
.ic-menu .mb-b { transform: translateX(3px) scaleX(.8); }
.menu-btn:hover .mb-a, .menu-btn:hover .mb-b { transform: none; }
.menu-btn:active { color: var(--amber); }
.menu-btn[aria-expanded="true"] .mb-a { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .mb-b { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 820px) { .top-cta { display: inline-flex; } }
@media (min-width: 1440px) { .nav { display: block; } .menu-btn { display: none; } }
@media (max-width: 819px) { :root { --head: 76px; --head-s: 62px; } .top { --logo-w: 112px; } .top.is-scrolled { --logo-w: 98px; } }
@media (max-width: 600px) {
  :root { --head: 68px; --head-s: 58px; }
  .top { --logo-w: 98px; }
  .top.is-scrolled { --logo-w: 88px; }
  .top-in { gap: 10px; }
  .call { position: relative; }
  .call-num { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lang a { min-width: 36px; padding: 11px 6px 10px; font-size: .8rem; }
  .menu-btn { gap: 0; min-width: 44px; justify-content: center; padding: 0; }
  .menu-btn .mb-t { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.menu {
  position: fixed; inset: var(--head-now) 0 0; z-index: 49; background: var(--night); color: #fff;
  padding: clamp(8px, 2.2svh, 24px) var(--gut) clamp(16px, 3svh, 32px); display: flex; flex-direction: column; overflow-y: auto;
}
.menu ul { display: flex; flex-direction: column; border-bottom: 1px solid var(--line-d); }
.menu li { position: relative; }
.menu li a {
  display: block; padding: clamp(6px, 1.35svh, 18px) 0 clamp(5px, 1.15svh, 16px); text-decoration: none;
  font: 800 clamp(1.1rem, min(7vw, 3.9svh), 2.4rem)/1 var(--f-d); font-stretch: 118%; letter-spacing: -.03em;
  border-top: 1px solid var(--line-d);
}
.menu.is-open li { animation: menu-course .5s var(--ease) calc(var(--i) * 45ms) backwards; }
@keyframes menu-course { from { transform: translateY(-14px); opacity: 0; clip-path: inset(0 0 100% 0); } }
/* under the items one left column: NO | EN, then the call button, 24 px apart (user rule for all sites, 2026-10-18) */
.menu-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 24px; }
.menu-call {
  display: inline-flex; gap: 10px; align-items: center;
  background: var(--amber); color: var(--ink); padding: 15px 24px; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  font: 800 1.15rem/1 var(--f-d); font-stretch: 112%; white-space: nowrap;
}
.menu-row { display: flex; align-items: center; gap: 28px; }
.menu-fb, .foot-fb { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1rem/1 var(--f-d); font-stretch: 108%; }
.menu-fb { color: #fff; padding: 6px 0; }
.foot-fb { color: var(--mist-2); }
.menu-fb:hover, .foot-fb:hover, .menu-fb:active, .foot-fb:active { color: var(--amber); }
.ico-fb { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: currentColor; stroke: none; }
.ico-fb .fill { fill: var(--night); }
.menu li a { transition: color .3s var(--ease-out-soft), padding-left .45s var(--ease-lay); }
.menu li a[aria-current] { color: var(--amber); }
.menu li a:hover { color: var(--amber); padding-left: 12px; }
.menu li a:active { color: var(--amber); }
.menu-call:active { background: #fff; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------ sections: courses lapping from ridge to eave */
.sec {
  position: relative; z-index: var(--z, 1);
  padding-block: var(--pad);
  background: var(--bg, var(--paper));
}
.sec + .sec { margin-top: calc(-1 * var(--lap)); padding-top: calc(var(--pad) + var(--lap)); }
[data-surface="night"] { --bg: var(--night); color: #fff; }
[data-surface="slate"] { --bg: var(--slate); color: #fff; }
[data-surface="steam"] { --bg: var(--steam); color: #fff; }
[data-surface="fog"] { --bg: var(--fog); }
[data-surface="paper"] { --bg: var(--paper); }
[data-surface="amber"] { --bg: var(--amber); }

/* ------------------------------------------------------------ headings: courses laid from the bottom line up */
.course-h {
  font-family: var(--f-d); font-weight: 820; font-stretch: 122%;
  line-height: 1.07; letter-spacing: -.03em;
  font-size: clamp(2rem, 1rem + 3.6vw, 4.4rem);
  margin-bottom: .55em;
}
.course-h .ln { display: block; }
.course-h .ln > span { display: inline-block; padding-block: .08em; margin-block: -.08em; }
.course-h em { font-style: normal; }
.js .course-h:not(.in) .ln > span { clip-path: inset(-.3em -.3em 100% -.3em); transform: translateY(-.32em); animation: failsafe-h 0s 2.6s forwards; }
.js.app .course-h:not(.in) .ln > span { animation: none; }
.course-h.in .ln { animation: lap-shadow 1.1s var(--ease-out) calc(var(--i) * 110ms + var(--d0, 0ms)) backwards; }
.course-h.in .ln > span { animation: course .95s var(--ease-lay) calc(var(--i) * 110ms + var(--d0, 0ms)) backwards; }
@keyframes course {
  from { clip-path: inset(-.3em -.3em 100% -.3em); transform: translateY(-.32em); }
  to { clip-path: inset(-.3em -.3em -.3em -.3em); transform: none; }
}
@keyframes course-clip { from { clip-path: inset(-.3em -.3em 100% -.3em); } to { clip-path: inset(-.3em -.3em -.3em -.3em); } }
@keyframes lap-shadow { from { filter: drop-shadow(0 .16em .1em rgba(0, 0, 0, .38)); } to { filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0)); } }
@keyframes failsafe-h { to { clip-path: none; transform: none; } }

[data-rise] { --d: 0ms; }
.js [data-rise]:not(.in) { opacity: 0; transform: translateY(-.55em); clip-path: inset(0 0 100% 0); animation: failsafe-r 0s 2.6s forwards; }
.js.app [data-rise]:not(.in) { animation: none; }
[data-rise].in { animation: rise .95s var(--ease-out) var(--d) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(-.55em); clip-path: inset(0 0 100% 0); } 45% { opacity: 1; } to { clip-path: inset(-.4em -.4em -.4em -.4em); } }
@keyframes failsafe-r { to { opacity: 1; transform: none; clip-path: none; } }

/* mono labels: indices, terms, form labels */
.svc-n, .rs-n, .wrow-n, .facts dt, .roof-meter, .score-of, .lbl {
  font-family: var(--f-m); font-weight: 400; font-stretch: 100%; letter-spacing: .01em; text-transform: none;
}

/* ------------------------------------------------------------ photos: laid in courses, wet to dry */
.course { position: relative; overflow: hidden; margin: 0; background: rgba(127, 140, 146, .14); }
.course > img { width: 100%; height: 100%; object-fit: cover; }
.js .course:not(.laid):not(.laying) > img { opacity: 0; animation: failsafe-o 0s 2.6s forwards; }
.js.app .course:not(.laid):not(.laying) > img { animation: none; }
@keyframes failsafe-o { to { opacity: 1; } }
.course.laying, .rl.is-laying {
  --k: round(down, calc(var(--lay) * var(--n, 7)), 1);
  --f: calc(var(--lay) * var(--n, 7) - var(--k));
}
.course.laying { animation: lay var(--dur, 1.25s) var(--ease-lay) var(--delay, 0s) both; }
.course.laying > img, .rl.is-laying > img {
  -webkit-mask-image:
    linear-gradient(to top, #000 calc(var(--k) / var(--n, 7) * 100%), transparent 0),
    linear-gradient(to top, transparent calc((var(--k) + 1 - var(--f)) / var(--n, 7) * 100%), #000 0, #000 calc((var(--k) + 1) / var(--n, 7) * 100%), transparent 0);
  mask-image:
    linear-gradient(to top, #000 calc(var(--k) / var(--n, 7) * 100%), transparent 0),
    linear-gradient(to top, transparent calc((var(--k) + 1 - var(--f)) / var(--n, 7) * 100%), #000 0, #000 calc((var(--k) + 1) / var(--n, 7) * 100%), transparent 0);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.course.laying > img { animation: dry 2.4s ease-out var(--delay, 0s) both; }
.course.laying::after, .rl.is-laying::after {
  content: ""; position: absolute; left: 0; right: 0; height: clamp(10px, 4%, 30px); pointer-events: none; z-index: 2;
  top: calc(100% - (var(--k) + 1 - var(--f)) / var(--n, 7) * 100%);
  background: linear-gradient(rgba(6, 9, 11, .55), rgba(6, 9, 11, 0));
  opacity: calc(1 - var(--lay) * var(--lay));
}
@keyframes lay { from { --lay: 0; } to { --lay: 1; } }
@keyframes dry { from { filter: brightness(.74) saturate(1.35) contrast(1.08); } to { filter: none; } }

/* physical hover: a photo sheet tilts, a wet sheen runs across the whole surface (photos only, never buttons) */
.tilt { --rx: 0deg; --ry: 0deg; --sx: 50%; --sh: 0; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease); }
.tilt::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent 0 calc(var(--sx) - 22%), rgba(255, 255, 255, .26) var(--sx), transparent calc(var(--sx) + 22%) 100%);
  opacity: var(--sh); transition: opacity .5s var(--ease); mix-blend-mode: soft-light;
}
.tilt.is-tilting { transition: transform .12s linear; }

/* ------------------------------------------------------------ buttons: slates; two corners are cut like a roof slate, a course of colour laps over the face on hover
   (not pills: the 26.10 rule forbids oval «pebbles»). Outlined variants keep a one-piece face and a 3 px lower course instead of a ring,
   because a ring cannot follow the cut corners. */
.btn {
  --cut: 14px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 15px 30px; border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  font: 800 1rem/1.1 var(--f-d); font-stretch: 114%; letter-spacing: -.01em; text-decoration: none;
  transition: color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill);
  transform: translateY(102%); transition: transform .45s var(--ease-lay);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { filter: brightness(.92); }
.btn-amber { background: var(--amber); color: var(--ink); --btn-fill: #fff; }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 -3px 0 var(--amber); --btn-fill: #fff; }
.btn-ghost:hover { color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; --btn-fill: #2a3236; }
.btn-line { color: var(--ink); background: rgba(20, 24, 26, .06); box-shadow: inset 0 -3px 0 var(--ink); --btn-fill: var(--ink); min-height: 52px; padding: 13px 24px; font-size: .95rem; }
.btn-line:hover { color: #fff; }
.btn-line-light { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .7); --btn-fill: var(--amber); }
.btn-line-light:hover { color: var(--ink); }

/* ------------------------------------------------------------ hero */
.hero { min-height: min(100svh, 1080px); display: flex; align-items: flex-end; padding: calc(var(--head) + 40px) 0 clamp(48px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero-sub { min-height: min(88svh, 900px); }
.hero-photo { position: absolute; inset: 0; z-index: -3; background: var(--night); }
.hero-photo > img { object-position: var(--fp, 38% 42%); }
.hero-rain { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
/* the headline, lead and buttons stand on a solid slate card with two cut corners, so the photo stays bright and no gradient lies over it
   (user rule 2026-10-18..28: no haze over photos) */
.hero-card { container-type: inline-size; width: min(100%, 780px); padding: clamp(26px, 3.2vw, 52px); background: var(--night);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
/* narrow screens: the photo gets its own top 40 % of the screen and the card lies under it, edge to edge */
@media (max-width: 1000px) { .hero { padding-top: calc(var(--head) + 40svh); } .hero-card { width: auto; margin-inline: calc(-1 * var(--gut)); padding: 26px var(--gut) 30px; clip-path: none; } }
.h-hero { font-size: clamp(2.6rem, 12.4cqi, 10.5rem); font-weight: 860; line-height: .9; margin-bottom: .32em; letter-spacing: -.04em; }
.h-sub { font-size: clamp(2.4rem, 10.2cqi, 8.6rem); line-height: 1.02; }
.h-hero .ln:last-child { color: var(--amber); }
.app .h-hero .ln > span { white-space: nowrap; }
/* the hero headline is laid like the other headings, a little slower; no font axis moves (the width axis belongs to
   printed, the weight axis to navigrupe — docs/EFFECTS_REGISTRY.md) */
.h-hero.in .ln > span { animation-duration: .75s; }
/* the lap shadow under each hero line ends with the line (it ran 1.1 s and held the intro past 2 s on the live address) */
.h-hero.in .ln { animation-duration: .75s; }
.hero [data-rise].in { animation-duration: .6s; }
.hero-wx { margin: 0 0 18px; font: 400 .84rem/1.4 var(--f-m); color: var(--mist); letter-spacing: .01em; }
.hero-wx b { font-weight: 400; color: #fff; }
.hero-wx.in { animation: rise .95s var(--ease-out) backwards; }
.hero-lead { max-width: 36em; font-size: clamp(1.06rem, .95rem + .45vw, 1.35rem); color: var(--mist-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.proofs { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-d); padding-top: 18px; }
.proofs li + li { border-left: 1px solid var(--line-d); }
.proofs a { display: flex; flex-direction: column; padding: 2px clamp(14px, 2.2vw, 30px); text-decoration: none; color: var(--mist); font-size: .92rem; line-height: 1.3; }
.proofs li:first-child a { padding-left: 0; }
.proofs strong { font: 800 1.05rem/1.25 var(--f-d); font-stretch: 112%; color: #fff; letter-spacing: -.01em; }
.proofs a:hover strong { color: var(--amber); }
@media (max-width: 560px) {
  .proofs { flex-direction: column; }
  .proofs li + li { border-left: 0; }
  .proofs a { padding: 0; flex-direction: row; gap: 8px; align-items: baseline; }
}

/* ------------------------------------------------------------ roof scene: every next photo is laid over the last, raft to ridge */
.sec-roof { padding: 0; }
.sec.sec-roof { padding: 0; }
.roof-scene { position: relative; }
.roof-sticky { position: relative; }
.roof-layers { display: none; }
.roof-ui { position: relative; z-index: 2; padding-top: calc(var(--pad) + var(--lap)); }
.roof-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; container-type: inline-size; }
.h-roof { font-size: min(clamp(2.2rem, 1rem + 4vw, 5.2rem), 11cqi); margin-bottom: .35em; }
.roof-intro { font-size: 1.08rem; color: var(--mist-2); max-width: 32em; }
.roof-bottom, .roof-tett { display: none; }
.rs-n { margin: 0 0 8px; font-size: .82rem; color: var(--amber); }
.roof-mobile { display: grid; gap: 40px; padding-top: 28px; padding-bottom: var(--pad); color: #fff; }
.rm-ph { aspect-ratio: 4 / 3; margin-bottom: 16px; }
.rm h3 { font: 820 clamp(1.4rem, 1rem + 2vw, 2rem)/1.1 var(--f-d); font-stretch: 118%; letter-spacing: -.03em; margin-bottom: 8px; }
.rm .rs-d { color: var(--mist-2); margin: 0; }
@media (min-width: 900px) {
  .roof-scene { height: calc((var(--steps) - 1) * 85svh + 140svh); }
  .roof-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
  .roof-layers {
    display: block; position: absolute; z-index: 0; background: var(--slate);
    top: calc(var(--head) + 14px); bottom: 14px; left: max(var(--gut), calc((100vw - 1640px) / 2)); right: max(var(--gut), calc((100vw - 1640px) / 2));
  }
  .rl { position: absolute; inset: 0; margin: 0; visibility: hidden; overflow: hidden; }
  .rl.is-full, .rl.is-laying { visibility: visible; }
  .rl > img { width: 100%; height: 100%; object-fit: cover; }
  .roof-shade {
    position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background:
      linear-gradient(to bottom, rgba(16, 20, 23, .82) 0%, rgba(16, 20, 23, .35) 26%, rgba(16, 20, 23, 0) 42%),
      linear-gradient(to top, rgba(16, 20, 23, .9) 0%, rgba(16, 20, 23, .55) 26%, rgba(16, 20, 23, 0) 52%);
  }
  .roof-ui {
    height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--head) + clamp(30px, 5vh, 60px));
    padding-bottom: clamp(34px, 6vh, 64px);
    padding-inline: calc(max(var(--gut), (100vw - 1640px) / 2) + clamp(22px, 3vw, 56px));
    max-width: none;
  }
  .roof-bottom { display: flex; grid-row: 3; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .roof-texts { position: relative; flex: 1; max-width: 46rem; min-height: 11.5em; }
  .rs { position: absolute; left: 0; right: 0; bottom: 0; visibility: hidden; opacity: 0; }
  .rs.is-on { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
  .rs.is-on h3 { animation: course-clip .7s var(--ease-lay) backwards; }
  .rs.is-on .rs-d { animation: rise .6s var(--ease) .12s backwards; }
  .rs h3 { font: 840 clamp(2.4rem, 1rem + 3.4vw, 4.6rem)/1 var(--f-d); font-stretch: 122%; letter-spacing: -.04em; margin-bottom: 14px; color: #fff; }
  .rs .rs-d { color: var(--mist-2); font-size: 1.08rem; max-width: 34em; margin: 0; }
  .roof-meter { display: flex; align-items: center; gap: 14px; font-size: .8rem; color: var(--mist); flex: none; }
  .rm-ticks { display: flex; gap: 5px; }
  .rm-ticks i { display: block; width: clamp(26px, 3vw, 44px); height: 3px; background: rgba(255, 255, 255, .22); position: relative; overflow: hidden; }
  .rm-ticks i::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(clamp(0, calc(var(--fill) * var(--steps) - var(--t)), 1)); transform-origin: left; }
  .roof-tett {
    display: block; position: absolute; right: calc(max(var(--gut), (100vw - 1640px) / 2) + clamp(22px, 3vw, 56px)); top: calc(var(--head) + clamp(30px, 5vh, 60px));
    margin: 0; font: 880 clamp(4rem, 9vw, 9.5rem)/.85 var(--f-d); font-stretch: 125%; letter-spacing: -.05em; color: var(--amber);
    opacity: 0; transform: translateY(-.3em); clip-path: inset(0 0 100% 0); transition: opacity .4s var(--ease), transform .7s var(--ease-lay), clip-path .7s var(--ease-lay);
  }
  .roof-scene.is-tight .roof-tett { opacity: 1; transform: none; clip-path: inset(-.2em -.2em -.2em -.2em); }
  .roof-scene.is-tight .roof-intro { opacity: 0; }
  .roof-intro { transition: opacity .4s var(--ease); }
  .roof-mobile { display: none; }
}

/* ------------------------------------------------------------ services: upright boards that open (standing cladding) */
.svc-head { container-type: inline-size; margin-bottom: clamp(28px, 4vw, 56px); }
.svc-head p { color: var(--mist-2); max-width: 36em; margin-top: 18px; }
.boards { display: flex; gap: 6px; height: clamp(500px, 72svh, 700px); padding-inline: var(--gut); }
.board { position: relative; flex: 1 1 0; min-width: 0; transition: flex-grow .75s var(--ease-lay); }
.board.is-on { flex-grow: 7; }
.board-a { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; color: #fff; text-decoration: none; overflow: hidden; background: var(--night-2, #1a2023); }
.board-ph { position: relative; display: block; overflow: hidden; }
.board-ph img { position: absolute; top: 0; left: 50%; height: 100%; width: auto; min-width: 100%; max-width: none; object-fit: cover; transform: translateX(-50%) scale(1.06); transition: transform 1s var(--ease-lay), filter .6s var(--ease); filter: saturate(.55) brightness(.72); }
.board.is-on .board-ph img { transform: translateX(-50%) scale(1); filter: none; }
.board-foot { position: relative; display: block; height: 220px; padding: 18px 16px; background: var(--night); }
.board.is-on .board-foot { background: var(--amber); color: var(--ink); }
.board-n { position: absolute; top: 18px; left: 16px; font-size: .8rem; color: var(--amber); }
.board.is-on .board-n { color: var(--ink); }
.board-vt { position: absolute; left: 50%; bottom: 18px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap; font: 800 1.05rem/1 var(--f-d); font-stretch: 118%; letter-spacing: -.01em; transition: opacity .3s var(--ease); }
.board.is-on .board-vt { opacity: 0; }
.board-ht { position: absolute; left: 16px; width: clamp(300px, 36vw, 560px); bottom: 18px; display: block; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s .4s; pointer-events: none; }
.board.is-on .board-ht { opacity: 1; visibility: visible; transform: none; transition-delay: .3s, .3s, 0s; pointer-events: auto; }
.board-t { display: block; font: 830 clamp(1.6rem, 1rem + 1.7vw, 2.8rem)/1.02 var(--f-d); font-stretch: 120%; letter-spacing: -.035em; }
.board-d { display: block; margin-top: 8px; font-size: .98rem; max-width: 30em; text-wrap: balance; }
.board-go { position: absolute; right: 16px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); color: var(--amber); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); opacity: 0; transition: opacity .3s var(--ease); }
.board.is-on .board-go { opacity: 1; transition-delay: .35s; }
.board-a:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
@media (max-width: 899px) {
  .boards { flex-direction: column; height: auto; gap: 4px; }
  .board { flex: none; transition: none; }
  .board-a { position: static; display: block; }
  .board-ph { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-lay); }
  .board-ph img, .board.is-on .board-ph img { position: static; height: auto; width: 100%; min-width: 0; transform: none; filter: none; min-height: 0; aspect-ratio: 16 / 10; }
  .board.is-on .board-ph { grid-template-rows: 1fr; }
  .board-foot { height: auto; min-height: 72px; padding: 18px 70px 18px 52px; }
  .board-n { top: 22px; left: 16px; }
  .board-vt { display: none; }
  .board-ht { position: static; width: auto; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .board-t { font-size: 1.4rem; }
  .board-d { max-height: 0; overflow: hidden; margin-top: 0; opacity: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .4s var(--ease); }
  .board.is-on .board-d { max-height: 8em; margin-top: 8px; opacity: 1; }
  .board-go { opacity: 1; right: 16px; top: 14px; bottom: auto; }
}

/* ------------------------------------------------------------ «Rad over rad»: a roof section built as a staged clip */
.ov-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; container-type: inline-size; }
.h-ov { font-size: min(clamp(2.2rem, 1rem + 4vw, 5.2rem), 11cqi); margin-bottom: .35em; }
.ov-lead { color: var(--ink-2); max-width: 32em; }
.ov-stage { position: relative; aspect-ratio: 16 / 9; margin-top: clamp(4px, 1.5vw, 20px); }
.ov-svg, .ov-rain { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ov-rain { pointer-events: none; transition: opacity .45s var(--ease-out-soft); }
.ov-stage:is([data-focus="sperr"], [data-focus="undertak"], [data-focus="lekter"], [data-focus="mone"]) .ov-rain { opacity: .25; }
.ov-svg { overflow: visible; transform-origin: 46% 58%; }
.ov-call { transition: opacity .45s var(--ease-out-soft); }
[data-grow] { transform-box: fill-box; transform-origin: 0 50%; }
.wd { fill: url(#ov-wood); }
.wd-shade-t { fill: #fff6e6; opacity: .05; }
.wd-shade-f { fill: #2e1c06; opacity: .26; }
.rf-e, .cb-e, .bt-e { fill: url(#ov-end) #8d683b; }
.ao { opacity: 1; }
.ud-t { fill: url(#ov-under); } .ud-f { fill: #1b2225; } .ud-laps line { stroke: rgba(214, 221, 224, .22); stroke-width: 1.2; vector-effect: non-scaling-stroke; } .ud-e { fill: #1b2225; }
.wd-bevel { fill: rgba(255, 240, 214, .55); }
.wd-ring { fill: url(#ov-ring); opacity: .55; }
.sl-t { fill: url(#ov-slate); }
.sl-w { fill: url(#ov-slate-wet); opacity: var(--wet, 0); }
.sl-cs { fill: #05080a; opacity: 0; }
.sl-sh { opacity: .75; }
.sl-f { fill: #161c1f; }
.sl-e { fill: #59646a; }
.sl-edge { stroke: rgba(255, 255, 255, .45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rg-b { fill: url(#ov-cap); } .rg-f { fill: #14191b; }
.gt-o { fill: url(#ov-gut-o); } .gt-in { fill: url(#ov-gut-i); } .gt-r { fill: var(--amber); }
.gt-lip { stroke: #ffe3a3; stroke-width: 1.4; vector-effect: non-scaling-stroke; } .gt-lip-b { stroke: #fff0c9; stroke-opacity: .7; }
.gt-w { fill: #dcebf2; opacity: var(--gw, 0); }
.ov-call polyline { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 1; vector-effect: non-scaling-stroke; }
.ov-call circle { fill: var(--ink); }
.ov-call text { font: 400 23px var(--f-m); fill: var(--ink); letter-spacing: .01em; }
.ov-call.is-focus polyline { stroke: var(--ink); }
.ov-call.is-focus text { font-size: 26px; }
.ov-call.is-focus circle { fill: var(--amber); }
.ov-replay {
  position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0;
  background: rgba(20, 24, 26, .08); color: var(--ink); cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background-color .3s var(--ease-out-soft), color .3s var(--ease-out-soft), box-shadow .3s var(--ease-out-soft);
}
.ov-replay:hover, .ov-replay:focus-visible, .ov-replay:active { background: var(--ink); color: #fff; box-shadow: none; }
.ov-replay .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ov-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 clamp(14px, 1.8vw, 30px); margin-top: clamp(14px, 2vw, 28px); border-top: 1px solid var(--line-l); }
.ov-steps li { display: grid; align-content: start; gap: 6px; padding-top: 16px; transition: opacity .5s var(--ease-out-soft); outline-offset: 4px; }
.ov-n { font: 400 .78rem/1 var(--f-m); color: var(--amber-ink); }
.ov-steps strong { font: 780 1.06rem/1.15 var(--f-d); font-stretch: 110%; letter-spacing: -.015em; }
.ov-d { font-size: .93rem; line-height: 1.45; color: var(--ink-2); }
.ov-stage.is-armed + .ov-steps li:not(.is-on) { opacity: .3; }
.ov-steps.has-focus li:not(.is-focus) { opacity: .55; }
.ov-steps li.is-focus { box-shadow: inset 0 2px 0 var(--amber); }
.ov-steps li.is-focus .ov-n { color: var(--ink); }
/* a step opens its layer like an exploded drawing: what lies above it lifts off along the normal, a step further per
   layer, and stays as an outline; the chosen layer and what lies under it stay solid */
.ov-layer { transition: opacity .55s var(--ease-out-soft), transform .85s var(--ease-out); }
.ov-layer.is-lifted { opacity: .2; transform: translate(var(--lx, 0px), var(--ly, 0px)); }
.ov-layer.is-ghost { opacity: .2; }
.ov-stage.no-tr :is(.ov-a, .ov-call, .ov-svg, .ov-layer) { transition: none !important; }
.ov-svg.has-focus .ov-call:not(.is-focus) { opacity: .35; }
.js.app .ov-stage:not(.is-built) .ov-a, .js.app .ov-stage:not(.is-built) .ov-call { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .ov-stage.is-built + .ov-steps li { cursor: default; } }
@media (max-width: 1099px) {
  /* the names move to the steps below; the drawing is framed tighter (viewBox 0–1310 × 140–880) */
  .ov-calls { display: none; }
  .ov-stage { aspect-ratio: 1310 / 740; overflow: hidden; }
  .ov-svg, .ov-rain { inset: auto; left: 0; top: -18.9%; width: 122.14%; height: auto; aspect-ratio: 16 / 9; }
  .ov-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-steps li { padding-bottom: 18px; }
}
@media (max-width: 699px) {
  .ov-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-replay { width: 40px; height: 40px; }
}

/* ------------------------------------------------------------ bathroom */
.bath-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.bath-text { container-type: inline-size; }
.bath-ph { aspect-ratio: 4 / 3; }
.bath-text p { color: var(--mist-2); max-width: 32em; }
.seal {
  display: grid; gap: 4px; margin: 26px 0 30px; padding: 16px 0; text-decoration: none;
  border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d);
}
.seal-k { font: 820 1.3rem/1.2 var(--f-d); font-stretch: 115%; letter-spacing: -.02em; color: var(--amber); }
.seal-v { color: var(--mist-2); font-size: .95rem; }
.seal:hover .seal-v { color: #fff; }

/* ------------------------------------------------------------ cladding: photo beside text, same height */
/* home «Liggende kledning»: the gable photo runs edge to edge, the text stands on a paper card with two cut corners lying over its lower right */
.sec-fscene { padding: 0; }
.fscene-ph { position: relative; height: clamp(520px, 86svh, 860px); margin: 0; overflow: hidden; }
.fscene-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.fscene-wrap { position: absolute; inset: auto 0 clamp(20px, 4vw, 56px) 0; display: flex; justify-content: flex-end; pointer-events: none; }
.fscene-card { pointer-events: auto; container-type: inline-size; width: min(100%, 520px); padding: clamp(24px, 3vw, 44px); background: var(--paper); color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px)); }
.fscene-card > p { color: var(--ink-2); }
.fscene-card .pair { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 899px) {
  .fscene-ph { height: auto; aspect-ratio: 4 / 3; }
  .fscene-wrap { position: static; display: block; background: var(--paper); padding-block: 0; }
  .fscene-card { width: auto; margin-inline: calc(-1 * var(--gut)); padding: 28px var(--gut) 34px; clip-path: none; }
}
.clad-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: stretch; }
.clad-big { min-height: 360px; }
.clad-big > img { position: absolute; inset: 0; }
.clad-text { align-self: center; padding-block: 12px; container-type: inline-size; }
.clad-text > p { color: var(--ink-2); max-width: 34em; }
.h-clad { font-size: min(clamp(1.9rem, 1rem + 2.7vw, 3.6rem), 12cqi); }
.pull { margin: 6px 0 26px; }
.pull p { font: 650 clamp(1.15rem, .95rem + .8vw, 1.6rem)/1.35 var(--f-d); font-stretch: 100%; letter-spacing: -.015em; color: var(--ink); max-width: 30em; }
.pull p::first-letter { color: var(--amber-ink); }
.pair { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ------------------------------------------------------------ work rows: photos laid like courses, staggered joints, drifting */
.sec-strip { padding-bottom: var(--pad); overflow: hidden; }
.strip-head .course-h { margin-bottom: .45em; }
.strip { --rowh: clamp(140px, 15.5vw, 250px); --gap: clamp(4px, .45vw, 8px); position: relative; overflow: hidden; cursor: grab; touch-action: pan-y; outline-offset: -3px; user-select: none; -webkit-user-select: none; }
.strip.is-drag { cursor: grabbing; }
.g-row { position: relative; z-index: var(--z); }
/* rows stand apart with the same gap as the photos (user, 2026-10-05: no overlapping rows); joints stay staggered */
.g-row + .g-row { margin-top: var(--gap); }
.g-track { display: flex; gap: var(--gap); width: max-content; will-change: transform; }
.g-item { flex: none; height: var(--rowh); width: calc(var(--rowh) * var(--r)); }
/* a row that stands still (narrower than the screen even at its largest) shows no copy */
.g-track.is-still > [aria-hidden="true"] { visibility: hidden; }
.g-item figure { position: relative; margin: 0; height: 100%; overflow: hidden; background: var(--slate-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; transform: scale(1.02); transition: filter .5s var(--ease), transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.055); }
@media (max-width: 700px) { .strip { --rowh: clamp(120px, 34vw, 170px); } }

/* ------------------------------------------------------------ reviews */
.rev-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.rev-grid > div:last-child { container-type: inline-size; }
.rev-score { padding-top: 6px; }
.score { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.score-n { font: 800 clamp(5rem, 3rem + 7vw, 10rem)/.85 var(--f-t); letter-spacing: -.045em; }
.score-of { font-size: .95rem; color: var(--ink-2); }
/* faceted stars, no outline (user 2026-10-05); after the score block rises they settle one by one, each turning one
   point (72°) into place like a slate turned onto its nail */
.stars { position: relative; display: flex; gap: 9px; margin: 18px 0 16px; }
.star { width: 34px; height: 34px; overflow: visible; }
/* WebGL stars (app.js) draw over the SVG ones, which keep the place and stay as the fallback */
.stars-3d { position: absolute; pointer-events: none; }
.stars.is-3d .star { visibility: hidden; }
.js.app .rev-score:not(.in) .star { opacity: 0; }
.rev-score.in .star { animation: star-set .9s var(--ease-lay) calc(.28s + var(--i) * 85ms) backwards; }
@keyframes star-set { from { opacity: 0; transform: translateY(-.5em) rotate(-72deg) scale(.55); } 45% { opacity: 1; } }
.score-src { color: var(--ink-2); max-width: 20em; }
.score-src a { color: var(--ink); font-weight: 600; }
.revs { display: grid; gap: 0; border-bottom: 1px solid var(--line-l); }
.rev { position: relative; padding: 26px 0 24px; border-top: 1px solid var(--line-l); }
.rev blockquote { margin: 0; }
.rev blockquote p { font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); line-height: 1.55; color: var(--ink); margin-bottom: 12px; }
.rev-by { color: var(--ink-2); font-size: .92rem; margin: 0; }
.rev-by strong { color: var(--ink); font-family: var(--f-d); font-stretch: 112%; }

/* ------------------------------------------------------------ about and facts */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.about-grid > div { container-type: inline-size; }
.about-grid p { color: var(--ink-2); max-width: 34em; }
.about-grid p a { color: var(--ink); }
/* one shared column for all terms (subgrid): every value starts on the same line, whatever the length of its term */
.facts { margin: 0; display: grid; grid-template-columns: minmax(7.5em, max-content) minmax(0, 1fr); column-gap: 24px; border-bottom: 1px solid var(--line-l); }
.facts > div { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; row-gap: 4px; padding: 16px 0; border-top: 1px solid var(--line-l); }
.facts dt { font-size: .82rem; color: var(--amber-ink); padding-top: .25em; }
.facts dd { margin: 0; color: var(--ink); }
.facts dd a { color: inherit; text-underline-offset: 3px; }
.areas { line-height: 1.7; }
.sign { margin-top: 20px; color: var(--ink); }

/* ------------------------------------------------------------ text spread: the heading across the page, prose in two columns, a staggered pair of photos */
.spread { display: grid; gap: clamp(36px, 5vw, 76px); }
.spread-text { container-type: inline-size; display: grid; gap: clamp(20px, 2.6vw, 36px); }
.spread-prose { color: var(--ink-2); }
.spread-prose p { max-width: 38em; margin-bottom: 1em; }
.spread-prose p:first-child { max-width: none; column-span: all; margin-bottom: 1.1em; color: var(--ink); font: 560 clamp(1.15rem, .9rem + .7vw, 1.5rem)/1.35 var(--f-d); font-stretch: 106%; letter-spacing: -.01em; }
.spread-prose p strong { color: var(--ink); font-family: var(--f-d); font-stretch: 110%; }
.spread-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 44px); align-items: start; }
.spread-ph { position: relative; aspect-ratio: 3 / 2; margin: 0; overflow: hidden; }
.spread-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .spread-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: clamp(28px, 5vw, 90px); align-items: start; }
  .spread-head { grid-column: 1; container-type: inline-size; }
  .spread-head .h-text { margin: 0; }
  .spread-prose { grid-column: 2; columns: 2; column-gap: clamp(24px, 3vw, 48px); }
  .spread-pair .spread-ph:nth-child(2) { margin-top: clamp(40px, 6vw, 88px); }
  .spread-1 { grid-template-columns: minmax(0, 1fr); width: min(100%, 560px); }
}
@media (max-width: 899px) { .spread-pair .spread-ph:nth-child(2) { margin-top: 32px; } .spread-ph { aspect-ratio: 4 / 5; } }

/* ------------------------------------------------------------ work list: a wall of slates, every other course half a slate in */
.list-head { container-type: inline-size; }
.h-list { font-size: min(clamp(2rem, 1rem + 3.6vw, 4.4rem), 13cqi); }
.h-about, .h-text, .h-svc, .h-bath, .h-slab { font-size: min(clamp(2rem, 1rem + 3.6vw, 4.4rem), 12cqi); }
.h-list, .h-text, .h-svc, .h-clad, .h-bath, .h-about, .h-slab, .h-final, .h-roof { max-width: 100%; }
.fscene-card .h-clad { font-size: min(clamp(2rem, 1rem + 2.6vw, 3.4rem), 9.4cqi); }
/* glued short words (qa-kit/glue.py) make the shortest breakable chunk longer: a little less size in narrow text columns */
.h-text { font-size: min(clamp(2rem, 1rem + 3.6vw, 4.4rem), 10.5cqi); }
.h-about-long { font-size: min(clamp(2rem, 1rem + 3.6vw, 4.4rem), 8.4cqi); }
.list-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
.list-head { max-width: 64rem; }
.wl-note { color: var(--mist-2); margin-top: 14px; }
.wrows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.wrow { position: relative; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); align-items: baseline; gap: 4px; padding: 22px 22px 20px; background: rgba(255, 255, 255, .075); color: #fff;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease-lay); }
.wrow:nth-child(even) { margin-left: clamp(14px, 6vw, 40px); }
.wrow-n { font-size: .8rem; color: var(--amber); transition: color .35s var(--ease); }
.wrow-t { font: 740 clamp(1.05rem, .95rem + .45vw, 1.3rem)/1.25 var(--f-d); font-stretch: 110%; letter-spacing: -.015em; text-wrap: balance; }
.wrow:hover { background: var(--amber); color: var(--ink); transform: translateY(-4px); }
.wrow:hover .wrow-n { color: var(--ink); }
@media (min-width: 900px) {
  .wrows { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
  .wrow { grid-column: span 2; margin-left: 0 !important; min-height: 118px; }
  .wrow:nth-child(6n+4) { grid-column: 2 / span 2; }
  .wrow { grid-template-columns: 1fr; align-content: space-between; }
}

/* ------------------------------------------------------------ columns (tømrer) */
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.card { position: relative; display: flex; flex-direction: column; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.card h3 { font: 820 1.5rem/1.15 var(--f-d); font-stretch: 118%; letter-spacing: -.03em; margin-bottom: 12px; }
.card p { color: var(--ink-2); }
.more { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; font: 750 .98rem/1 var(--f-d); font-stretch: 110%; color: var(--ink); text-decoration: none; padding-top: 6px; }
.more:hover, .more:active { color: var(--amber-ink); }

/* ------------------------------------------------------------ DuraStone slab */
.slab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.slab-pick { container-type: inline-size; }
.slab-view { position: sticky; top: calc(var(--head) + 30px); }
.slab {
  position: relative; aspect-ratio: 5 / 4; overflow: hidden;
  background-color: var(--avg); background-position: center; background-size: 62% auto; background-repeat: repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.slab.is-laying { animation: lay 1s var(--ease-lay) both; }
.slab.is-laying { -webkit-mask-image: linear-gradient(to top, #000 calc(var(--lay) * 100%), transparent calc(var(--lay) * 100% + 6%)); mask-image: linear-gradient(to top, #000 calc(var(--lay) * 100%), transparent calc(var(--lay) * 100% + 6%)); }
.slab-sheen { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .28)); pointer-events: none; }
.slab-code { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 0; }
.slab-code span { font: 400 .95rem/1 var(--f-m); color: var(--mist); }
.slab-code strong { font: 800 clamp(2.4rem, 1.6rem + 3vw, 4.6rem)/.9 var(--f-t); letter-spacing: -.04em; color: var(--amber); }
.slab-pick > p { color: var(--mist-2); max-width: 34em; }
.sw-group { border: 0; margin: 26px 0 0; padding: 0; min-width: 0; }
.sw-group legend { font: 760 .95rem/1 var(--f-d); font-stretch: 110%; margin-bottom: 12px; padding: 0; color: #fff; }
.sw-group legend span { font: 400 .8rem/1 var(--f-m); color: var(--mist); margin-left: 8px; }
.sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.sw { position: relative; display: block; cursor: pointer; overflow: hidden; background: var(--avg); transition: box-shadow .35s var(--ease); }
.sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sw img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.sw span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font: 400 .64rem/1 var(--f-m); color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); }
.sw:hover img { transform: scale(1.08); }
.sw:has(input:checked) { box-shadow: 0 0 0 3px var(--amber); }
.sw:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }

/* ------------------------------------------------------------ final: the gutter collects everything; the phone is the hero */
.sec-final { color: var(--ink); padding-bottom: var(--pad); }
.gutter { position: absolute; left: 0; right: 0; top: -90px; height: 96px; pointer-events: none; z-index: 2; }
.gutter canvas { width: 100%; height: 100%; display: block; }
.final-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; container-type: inline-size; }
.h-final { font-size: min(clamp(2.2rem, 1rem + 3.6vw, 4.8rem), 9.5cqi); margin-bottom: .3em; }
.h-final em { color: var(--brown); }
.final-lead { font-size: 1.1rem; max-width: 30em; color: #2d2410; }
.final-side { display: grid; align-content: end; gap: clamp(8px, 1.5vw, 20px); }

/* 3D objects from the trade in the empty fields (Codex renders with alpha): they land like a course, then turn ≤ 4°
   toward the pointer and drift a little with the scroll; no drop shadow */
.obj { margin: 0; pointer-events: none; transform-style: preserve-3d; will-change: transform; transition: transform .9s var(--ease-out-soft); }
.obj img { display: block; width: 100%; height: auto; }
.js.app .obj:not(.in) img { opacity: 0; }
.obj.in img { animation: obj-land 1.3s var(--ease-out) backwards; }
/* a stack of plates is laid plate by plate from the bottom up: each drops onto the stack and settles (user 2026-10-18) */
.obj-layers { position: relative; }
.obj-layers img + img { position: absolute; inset: 0; }
.obj.obj-layers.in img { animation: plate-lay .56s var(--ease-lay) calc(.15s + var(--i) * 120ms) backwards; }
/* laid once: after the landing the animation is gone, so no tap, scroll or style recalculation can lay it again (user 2026-10-18) */
.obj.is-laid img, .obj.obj-layers.is-laid img { animation: none; }
@keyframes plate-lay { from { opacity: 0; transform: translate3d(0, -26%, 0); } 45% { opacity: 1; } 80% { transform: translate3d(0, 1.2%, 0); } }
@keyframes obj-land { from { opacity: 0; transform: translate3d(0, -7%, 0) rotate(-1.5deg); } 40% { opacity: 1; } }
.obj-ruler { justify-self: end; width: min(100%, 600px); margin: -2% -2% 0 0; }
.rev-side { display: grid; align-content: start; }
.obj-slates { width: min(100%, 420px); margin-top: clamp(64px, 16vw, 104px); }  /* clear of the line above (user 2026-10-18: «приклеились к верхнему слову») */
/* the lower part of the final: contacts on the left (the big number first), the form on the right; on a phone one
   column. No rules between things (user, 2026-10-05: «куча линий ненужных»); fields are light boxes you can read. */
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); align-items: start; margin-top: clamp(28px, 4vw, 64px); }
.final-contacts { container-type: inline-size; display: grid; gap: clamp(26px, 3vw, 44px); align-content: start; }
.bigphone {
  position: relative; isolation: isolate; display: block; overflow: hidden; text-decoration: none; color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); padding: clamp(14px, 3cqi, 26px) clamp(14px, 3cqi, 24px) clamp(12px, 2.6cqi, 22px); margin-inline: calc(-1 * clamp(14px, 3cqi, 24px));
  transition: color .45s var(--ease);
}
.bigphone::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-lay); }
.bigphone:hover, .bigphone:focus-visible, .bigphone:active { color: var(--amber); }
.bigphone:hover::before, .bigphone:focus-visible::before, .bigphone:active::before { transform: scaleY(1); }
.bp-lbl { display: block; font: 650 clamp(.95rem, .85rem + .3vw, 1.1rem)/1.2 var(--f-t); }
.bp-num { display: flex; gap: .26em; margin-top: .14em; font: 880 15cqi/.86 var(--f-d); font-stretch: 125%; letter-spacing: -.05em; white-space: nowrap; }
.bp-g { display: block; overflow: clip; overflow-clip-margin: .2em; padding-block: .06em; }
.bp-g > span { display: block; }
.js .bigphone:not(.in) .bp-g > span { clip-path: inset(-.2em -.2em 100% -.2em); animation: failsafe-h 0s 2.6s forwards; }
.js.app .bigphone:not(.in) .bp-g > span { animation: none; }
.bigphone.in .bp-g > span { animation: course-clip .8s var(--ease-lay) calc(var(--i) * 110ms) backwards; }
.final-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(20px, 3vw, 40px); }
.final-facts > div { display: grid; gap: 4px; align-content: start; }
.final-facts dt { font: 600 .88rem/1.3 var(--f-t); color: #4a3a10; }
.final-facts dd { margin: 0; font-size: 1.08rem; font-weight: 600; overflow-wrap: anywhere; }
.final-facts a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.final-facts a:hover { text-decoration-thickness: 2px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.f-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fld > span, .chips legend { font: 600 .92rem/1.25 var(--f-t); color: #2b2108; }
.fld input, .fld textarea {
  width: 100%; border: 0; border-radius: 0; padding: 13px 15px; background: rgba(255, 251, 240, .8); color: var(--ink);
  font-size: 1.05rem; box-shadow: inset 0 0 0 1px rgba(20, 24, 26, .12); transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.fld input:hover, .fld textarea:hover { box-shadow: inset 0 0 0 1px rgba(20, 24, 26, .4); }
.fld input:focus-visible, .fld textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink); background: #fffdf7; }
.fld textarea { resize: vertical; min-height: 128px; flex: 1; }
.fld-grow { flex: 1; }
.fld.is-bad input, .fld.is-bad textarea { box-shadow: inset 0 0 0 2px #8f1d17; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: block; padding: 11px 17px; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); background: rgba(255, 251, 240, .55); font: 650 .92rem/1 var(--f-d); font-stretch: 105%; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.chip:hover span { background: rgba(255, 251, 240, .9); }
.chip input:checked + span { background: var(--ink); color: var(--amber); box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.f-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.f-note { margin: 0; color: #4a3a10; font-size: .9rem; }
.f-status { margin: 0; font-weight: 600; color: var(--ink); min-height: 0; }
.f-status:empty { display: none; }
.sec-apply { padding-top: calc(var(--head) + 60px); }

/* ------------------------------------------------------------ footer: one centred composition */
.foot { position: relative; z-index: 0; background: var(--night); color: var(--mist-2); padding: calc(var(--lap) + 46px) 0 34px; margin-top: calc(-1 * var(--lap)); }
.foot-in { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 40px; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; }
.foot-nav a { color: var(--mist-2); text-decoration: none; font: 650 .95rem/2 var(--f-d); font-stretch: 106%; }
.foot-nav a:hover { color: var(--amber); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 6px; margin: 0; width: 100%; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: .88rem; color: var(--mist); }
.foot-legal span { padding: 0 16px; border-left: 1px solid var(--line-d); white-space: nowrap; }
.foot-legal span:first-child, .foot-legal span.is-line-start { border-left: 0; }
.foot-legal a { color: #fff; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 899px) {
  .roof-top, .ov-head, .bath-grid, .clad-grid, .rev-grid, .about-grid, .slab-grid, .final-top { grid-template-columns: minmax(0, 1fr); }
  .obj-ruler { width: min(78%, 440px); margin: 0; }
  .obj-slates { width: min(60%, 320px); margin-bottom: -28px; }
  .final-grid { grid-template-columns: minmax(0, 1fr); }
  .clad-big { min-height: 0; aspect-ratio: 4 / 3; }
  .clad-big > img { position: static; }
  .slab-view { position: static; }
  .cards-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .f-row { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .final-facts { grid-template-columns: minmax(0, 1fr); }
  .foot-legal span { white-space: normal; }
}
.nw { white-space: nowrap; }

/* ------------------------------------------------------------ v28: blocks that were «photo + text», «heading + table», «three cards», «list on lines» */
/* #bad: a wide photo band, under it three columns — heading, text, and the register seal with its button */
.bath-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.bath-ph { aspect-ratio: 21 / 9; }
.bath-text { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .9fr); column-gap: clamp(24px, 4vw, 64px); align-items: start; }
.bath-text > .course-h, .bath-text > h2 { grid-column: 1; grid-row: 1 / span 2; }
.bath-text > p { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.bath-text > .seal { grid-column: 3; grid-row: 1; margin: 0 0 22px; }
.bath-text > .btn { grid-column: 3; grid-row: 2; justify-self: start; }
@media (max-width: 899px) {
  .bath-ph { aspect-ratio: 4 / 3; }
  .bath-text { grid-template-columns: minmax(0, 1fr); }
  .bath-text > * { grid-column: 1 !important; grid-row: auto !important; }
  .bath-text > .seal { margin: 22px 0; }
}
/* #om: heading and lead across, the four credentials as dark slates in a row */
.about-tiles { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); }
.about-tiles > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 90px); align-items: start; }
.about-tiles > div:first-child > .course-h, .about-tiles > div:first-child > h2 { grid-column: 1; grid-row: 1 / span 2; }
.about-tiles > div:first-child > p { grid-column: 2; grid-row: 1; }
.about-tiles > div:first-child > .btn { grid-column: 2; grid-row: 2; justify-self: start; }
.about-tiles .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; border: 0; }
.about-tiles .facts > div { display: block; grid-column: auto; padding: 24px 22px 26px; background: var(--ink); color: #fff; border: 0; min-height: 150px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); transition: background-color .35s var(--ease), color .35s var(--ease); }
.about-tiles .facts dt { color: var(--amber); padding: 0 0 10px; font-size: .86rem; transition: color .35s var(--ease); }
.about-tiles .facts dd { color: #fff; font-size: 1.02rem; line-height: 1.4; transition: color .35s var(--ease); }
.about-tiles .facts > div:hover { background: var(--amber); }
.about-tiles .facts > div:hover dt, .about-tiles .facts > div:hover dd, .about-tiles .facts > div:hover a { color: var(--ink); }
@media (max-width: 1100px) { .about-tiles .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .about-tiles > div:first-child { grid-template-columns: minmax(0, 1fr); }
  .about-tiles > div:first-child > * { grid-column: 1 !important; grid-row: auto !important; }
}
@media (max-width: 520px) { .about-tiles .facts { grid-template-columns: minmax(0, 1fr); } }
/* tømrer cards: three slates climbing like roof steps */
.cards-grid { align-items: start; }
.card { padding: 28px 26px 30px; border-top: 0; background: rgba(20, 24, 26, .06);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
@media (min-width: 900px) { .card:nth-child(1) { margin-top: 112px; } .card:nth-child(2) { margin-top: 56px; } .card:nth-child(3) { margin-top: 0; } }
/* reviews: dark slates, every other one shifted in */
.revs { gap: 12px; border-bottom: 0; }
.rev { padding: 26px 28px 24px; border-top: 0; background: var(--night); color: #fff;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
.rev:nth-child(even) { margin-left: clamp(0px, 5vw, 56px); }
.rev blockquote p { color: #fff; }
.rev-by { color: var(--mist); }
.rev-by strong { color: var(--amber); }
.bath-text { container-type: normal; }
.bath-text .h-bath { font-size: clamp(1.9rem, .8rem + 2.4vw, 3.2rem); max-width: 100%; }
@media (max-width: 899px) { .bath-text .h-bath { font-size: clamp(2rem, 1rem + 4.4vw, 3rem); } }
