/* Greenmoral v5 · site.css
   Design tokens, base, shared components (every page) and homepage sections.
   Owner: agent A. Other agents add page CSS in /pages.css (C) or /landing.css (B).
   Component index: see src/README.md. */

/* ---------- 0 · font ---------- */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2?v=2870bcb8ec") format("woff2-variations"), url("/assets/fonts/inter-var.woff2?v=2870bcb8ec") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- 1 · tokens ---------- */
:root {
  --black: #0A0A0B; --ink: #1D1D1F; --gray: #6E6E73; --gray-l: #86868B; --mist: #F5F5F7; --white: #FFFFFF;
  --blue: #35B8BE; --blue-d: #0E7C82; --blue-dd: #0B6A6F; --petrol: #015B7D; --danger: #B42318;
  --sc-canvas: var(--black); --sc-ink: #F5F5F7; --sc-ink-soft: #A1A1A6; --sc-accent: var(--blue); --sc-accent-ink: var(--black);
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --sc-font-display: var(--font-display); --sc-font-text: var(--font-text);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --pad: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 68px;                                   /* header height: everything below the header uses this */
  --sec-y: clamp(5.5rem, 4rem + 6vw, 9.5rem);      /* vertical padding of every .sec */
  --gap-head: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); /* space between a section head and its content */
  --radius: 28px; --radius-s: 18px;
}
@media (max-width: 759px) { :root { --nav-h: 60px; } }

/* ---------- 2 · base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body { margin: 0; background: var(--black); color: #F5F5F7; font-family: var(--font-text); font-size: 1rem; line-height: 1.5; letter-spacing: -0.011em; overflow-x: clip; }
::selection { background: var(--blue); color: var(--black); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.lt :focus-visible, .ms :focus-visible { outline-color: var(--blue-d); }
img, video { max-width: 100%; }
img { height: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); color: var(--ink); padding: 0.7rem 1rem; border-radius: 12px; font-weight: 600; text-decoration: none; transition: top 150ms var(--ease); }
.skip:focus { top: 0.6rem; }

/* grounds: every section sets one. --sub is secondary text, --line hairlines, --card card fill */
.dk { background: var(--black); color: #F5F5F7; --sub: #A1A1A6; --line: rgba(255,255,255,.14); --card: #1C1C1E; --body: #D2D2D7; }
.lt { background: var(--white); color: var(--ink); --sub: var(--gray); --line: rgba(0,0,0,.1); --card: var(--mist); --body: #424245; }
.ms { background: var(--mist); color: var(--ink); --sub: var(--gray); --line: rgba(0,0,0,.1); --card: var(--white); --body: #424245; }

/* ---------- 3 · layout ---------- */
.sec { position: relative; padding: var(--sec-y) var(--pad); }
.sec--flush-top { padding-top: 0; }          /* only when continuing the same ground as the section above */
.sec--tight { padding-top: calc(var(--sec-y) * 0.6); padding-bottom: calc(var(--sec-y) * 0.6); }
.wrap { max-width: 980px; margin: 0 auto; }
.wide { max-width: 1260px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }
.sec-head { max-width: 980px; margin: 0 auto var(--gap-head); text-align: center; }
.sec-head--left { margin-left: 0; text-align: left; }
.sec-head--left .sub, .left .sub { margin-left: 0; }
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr 1fr; } }
.split .sub { margin-left: 0; }
.split > *, .grid > *, .phero__g > * { min-width: 0; }

/* ---------- 4 · type ---------- */
h1, h2, h3, h4, .hl { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.028em; line-height: 1.05; margin: 0; text-wrap: balance; }
.t-hero { font-size: clamp(2.9rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.t-xl { font-size: clamp(2.3rem, 5.2vw, 4.4rem); letter-spacing: -0.032em; }
.t-lg { font-size: clamp(2rem, 4vw, 3.5rem); }
.t-md { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.025em; line-height: 1.1; }
.eyebrow { font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 600; color: var(--blue); margin: 0 0 0.7rem; letter-spacing: -0.01em; line-height: 1.3; }
.lt .eyebrow, .ms .eyebrow { color: var(--blue-d); }
h1 .eyebrow, h1 .t-hero { display: block; }
.sub, .lede { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.42; color: var(--sub); font-weight: 500; max-width: 38ch; margin: 1.2rem auto 0; letter-spacing: -0.015em; text-wrap: pretty; }
.lede { max-width: 46ch; margin-left: 0; }
.dk .sub b, .dk .lede b { color: #F5F5F7; font-weight: 600; }
.lt .sub b, .ms .sub b, .lt .lede b, .ms .lede b { color: var(--ink); font-weight: 600; }
.fine { font-size: 0.8rem; line-height: 1.5; color: var(--gray); letter-spacing: 0; }
.dk .fine { color: #A1A1A6; }
.accent { color: var(--blue-d); }
.dk .accent, .tile--dark .accent, .tile--shade .accent { color: var(--blue); }
sup.s { font-size: 0.55em; line-height: 0; margin-left: 0.1em; }
sup.s a { text-decoration: none; color: var(--blue); padding: 0.25em; }
.lt sup.s a, .ms sup.s a, .tile:not(.tile--dark):not(.tile--shade) sup.s a { color: var(--blue-d); }
.dk .tile:not(.tile--dark):not(.tile--shade) sup.s a { color: var(--blue-d); }

/* "Illustration" label for AI-generated imagery. Place inside a positioned box. */
.ill { position: absolute; z-index: 3; right: 0.9rem; bottom: 0.9rem; margin: 0; font-size: 0.72rem; font-weight: 500; line-height: 1; letter-spacing: 0.01em; color: #fff; background: rgba(10,10,11,.62); padding: 0.32rem 0.6rem; border-radius: 999px; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile .ill, .lcard .ill, .card .ill { font-size: 0.72rem; font-weight: 500; line-height: 1; margin: 0; max-width: none; color: #fff; }
.ill--tl { right: auto; left: 0.9rem; bottom: auto; top: 0.9rem; }
.ill--tr { bottom: auto; top: 0.9rem; }

/* ---------- 5 · buttons and links ---------- */
.ctas { display: flex; gap: 1rem 1.4rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 1.8rem; }
.ctas--left { justify-content: flex-start; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; height: 2.75rem; padding: 0 1.35rem; border: 0; border-radius: 999px; background: var(--blue); color: #04201F; font: inherit; font-weight: 600; font-size: 1.02rem; text-decoration: none; letter-spacing: -0.01em; cursor: pointer; transition: transform 120ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease); white-space: nowrap; }
.pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .pill:hover { background: #4CC7CD; } }
.lt .pill, .ms .pill, .pill--d { background: var(--blue-d); color: #fff; }
@media (hover: hover) and (pointer: fine) { .lt .pill:hover, .ms .pill:hover, .pill--d:hover { background: var(--blue-dd); } }
.pill--sm { height: 2.25rem; padding: 0 1.05rem; font-size: 0.9rem; }
.pill--lg { height: 3.1rem; padding: 0 1.6rem; font-size: 1.08rem; }
.pill--ghost, .lt .pill--ghost, .ms .pill--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
@media (hover: hover) and (pointer: fine) { .pill--ghost:hover, .lt .pill--ghost:hover, .ms .pill--ghost:hover { background: rgba(127,127,127,.12); } }
.pill[disabled], .pill[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.more { color: var(--blue); text-decoration: none; font-size: 1.05rem; font-weight: 500; display: inline-flex; align-items: center; gap: 0.25rem; }
.lt .more, .ms .more, .lcard .more { color: var(--blue-d); }
.dk .lcard .more { color: var(--blue); }
.more svg { width: 0.85rem; height: 0.85rem; transition: transform 150ms var(--ease); }
@media (hover: hover) { .more:hover { text-decoration: underline; } .more:hover svg { transform: translateX(2px); } }

/* ---------- 6 · header ---------- */
.nav { position: fixed; z-index: 60; inset: 0 0 auto 0; height: var(--nav-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 0 var(--pad); background: rgba(10,10,11,.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,.08); color: #E8E8ED; transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease); }
body.nav-lt .nav { background: rgba(255,255,255,.82); color: var(--ink); border-color: rgba(0,0,0,.08); }
.nav__logo { display: block; width: 8.6rem; }
.nav__logo img { display: block; width: 100%; height: auto; }
.nav__menu { justify-self: center; }
.nav__menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1.2rem, 2.2vw, 2.2rem); font-size: 0.92rem; font-weight: 500; letter-spacing: -0.005em; }
.nav__menu a { text-decoration: none; opacity: 0.82; transition: opacity 150ms var(--ease); padding: 0.6rem 0; position: relative; }
.nav__menu a[aria-current="page"] { opacity: 1; }
.nav__menu a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.1rem; height: 2px; border-radius: 2px; background: currentColor; }
@media (hover: hover) { .nav__menu a:hover { opacity: 1; } }
.nav__act { display: flex; align-items: center; gap: 1.3rem; }
.nav__login { font-size: 0.92rem; font-weight: 500; text-decoration: none; opacity: 0.82; padding: 0.75rem 0; }
@media (hover: hover) { .nav__login:hover { opacity: 1; text-decoration: underline; } }
body.nav-lt .nav .pill { background: var(--blue-d); color: #fff; }
@media (hover: hover) and (pointer: fine) { body.nav-lt .nav .pill:hover { background: var(--blue-dd); } }
.nav__btn { display: none; width: 2.75rem; height: 2.75rem; margin-right: -0.5rem; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 50%; place-items: center; }
.nav__btn i, .nav__btn i::before, .nav__btn i::after { display: block; width: 1.25rem; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 220ms var(--ease), background-color 150ms; }
.nav__btn i { position: relative; }
.nav__btn i::before, .nav__btn i::after { content: ""; position: absolute; left: 0; }
.nav__btn i::before { top: -0.4rem; } .nav__btn i::after { top: 0.4rem; }
.nav__btn[aria-expanded="true"] i { background: transparent; }
.nav__btn[aria-expanded="true"] i::before { transform: translateY(0.4rem) rotate(45deg); }
.nav__btn[aria-expanded="true"] i::after { transform: translateY(-0.4rem) rotate(-45deg); }
@media (max-width: 1100px) { .nav__menu { display: none; } .nav__btn { display: grid; } .nav { grid-template-columns: auto 1fr auto; } .nav__act { grid-column: 3; } }
@media (max-width: 759px) { .nav__logo { width: 7.4rem; } .nav__login { display: none; } .nav__act { gap: 0.8rem; } }
@media (max-width: 559px) { .nav__act .pill { display: none; } }

/* mobile menu */
.mnav { position: fixed; z-index: 59; inset: var(--nav-h) 0 0 0; background: var(--black); color: #F5F5F7; overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem var(--pad) calc(2rem + env(safe-area-inset-bottom)); }
.mnav[hidden] { display: none; }
body.nav-lt .mnav { background: var(--white); color: var(--ink); }
body.menu-open { overflow: hidden; }
body.menu-open .nav { background: var(--black); }
body.menu-open.nav-lt .nav { background: var(--white); }
.mnav__in { max-width: 34rem; margin: 0 auto; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav__main a { display: block; padding: 0.55rem 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.025em; text-decoration: none; }
.mnav__main a[aria-current="page"] { color: var(--blue); }
body.nav-lt .mnav__main a[aria-current="page"] { color: var(--blue-d); }
.mnav__h { margin: 2rem 0 0.4rem; font-size: 0.85rem; font-weight: 600; color: #A1A1A6; }
body.nav-lt .mnav__h { color: var(--gray); }
.mnav__sub a { display: block; padding: 0.55rem 0; font-size: 1.05rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(127,127,127,.2); }
.mnav__act { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 2rem; }
body.nav-lt .mnav .pill { background: var(--blue-d); color: #fff; }
body.nav-lt .mnav .more { color: var(--blue-d); }
.mnav__foot { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin: 2rem 0 0; font-size: 0.95rem; }
.mnav__foot a { text-decoration: none; opacity: 0.85; }

/* ---------- 7 · page hero (content pages) ---------- */
.phero { position: relative; padding: calc(var(--nav-h) + clamp(2.5rem, 1.5rem + 4vw, 5.5rem)) var(--pad) clamp(3.5rem, 2.5rem + 4vw, 6.5rem); overflow: hidden; }
.phero--dark { background: radial-gradient(60% 70% at 85% 30%, rgba(53,184,190,.14), transparent 70%), var(--black); }
.phero__g { max-width: 1260px; margin: 0 auto; }
.phero--split .phero__g { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
@media (min-width: 960px) { .phero--split .phero__g { grid-template-columns: 1.05fr 1fr; } }
.phero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); letter-spacing: -0.034em; line-height: 1.03; }
.phero .crumbs { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.phero .lede { margin-top: 1.3rem; }
.phero .ctas { justify-content: flex-start; }
.phero__media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--card); }
.phero__media img, .phero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phero--center { text-align: center; }
.phero--center .lede { margin-left: auto; margin-right: auto; }
.phero--center .ctas, .phero--center .crumbs ol { justify-content: center; }
.answer { margin-top: 1.6rem; max-width: 60ch; font-size: 1.05rem; line-height: 1.6; color: var(--body); }  /* answer-first paragraph */

/* breadcrumbs */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.85rem; font-weight: 500; color: var(--sub); }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: 0.6; }
.crumbs a { text-decoration: none; color: inherit; }
@media (hover: hover) { .crumbs a:hover { text-decoration: underline; color: currentColor; } }
.crumbs [aria-current] { color: var(--sub); }
.dk .crumbs ol { color: #A1A1A6; }

/* ---------- 8 · prose (articles, legal pages, project text) ---------- */
.prose { max-width: 68ch; font-size: 1.075rem; line-height: 1.68; color: var(--body); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); margin: 2.6em 0 0.7em; }
.prose h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); margin: 2em 0 0.5em; }
.dk .prose h2, .dk .prose h3 { color: #F5F5F7; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose .table { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--blue-d); }
.prose a { color: var(--blue-d); text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
.dk .prose a { color: var(--blue); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.dk .prose strong, .dk .prose b { color: #F5F5F7; }
.prose blockquote { border-left: 3px solid var(--blue-d); padding: 0.2em 0 0.2em 1.2em; font-size: 1.15em; color: var(--ink); }
.prose figure { position: relative; }
.prose figure img { border-radius: var(--radius-s); display: block; width: 100%; }
.prose figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--sub); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose .lead { font-size: 1.25em; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -0.012em; }
.callout { background: var(--card); border-radius: var(--radius-s); padding: 1.4rem 1.6rem; margin: 1.6em 0; }
.callout > :last-child { margin-bottom: 0; }
.toc { background: var(--card); border-radius: var(--radius-s); padding: 1.3rem 1.5rem; font-size: 0.95rem; }
.toc ol { margin: 0.5rem 0 0; padding-left: 1.2em; }
.toc a { color: inherit; }

/* ---------- 9 · cards ---------- */
/* .lcard: link card with image, kicker, title, text and a "more" link. Fill follows the ground. */
.lcard { position: relative; background: var(--card, var(--white)); color: inherit; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
a.lcard:focus-visible { outline-offset: 4px; }
.lcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(127,127,127,.1); }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease); }
@media (hover: hover) { a.lcard:hover .lcard__img img { transform: scale(1.03); } a.lcard:hover { box-shadow: 0 1.2rem 2.5rem -1.5rem rgba(0,0,0,.25); } }
.lcard__b { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.lcard__k { margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--blue-d); }
.dk .lcard__k { color: var(--blue); }
.lcard h3 { font-size: 1.4rem; letter-spacing: -0.022em; line-height: 1.12; }
.lcard__b p:not(.lcard__k) { margin: 0.6rem 0 0; color: var(--sub); font-size: 0.97rem; line-height: 1.5; }
.lcard .more { margin-top: auto; padding-top: 1.2rem; font-size: 0.98rem; }

/* tiles (bento) */
.bento { display: grid; gap: 1.25rem; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); color: var(--ink); --sub: var(--gray); min-height: 30rem; padding: 2.4rem; display: flex; flex-direction: column; }
.lt .tile:not(.tile--dark):not(.tile--shade):not(.tile--blue) { background: var(--mist); }
.tile--dark { background: var(--black); color: #F5F5F7; --sub: #A1A1A6; }
.tile--sm { min-height: 0; }
.tile h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.025em; line-height: 1.1; }
.tile p { margin: 0.7rem 0 0; color: var(--sub); font-size: 1.02rem; line-height: 1.45; font-weight: 500; max-width: 30ch; }
.tile__img { position: absolute; inset: 0; z-index: 0; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 1600ms var(--ease); }
.tile.in .tile__img img { transform: scale(1); }
.tile > :not(.tile__img):not(.ill) { position: relative; z-index: 1; }
.tile--img-bottom .tile__img { inset: auto 0 0 0; height: 56%; }
.tile .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 8vw, 7rem); letter-spacing: -0.05em; line-height: 0.95; margin: auto 0 0; font-variant-numeric: tabular-nums; color: inherit; max-width: none; }
.tile .big small { font-size: 0.4em; letter-spacing: -0.02em; }
.tile--shade { color: #F5F5F7; --sub: #D2D2D7; background: var(--black); }
.tile--shade::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10,10,11,.88) 0%, rgba(10,10,11,.45) 30%, rgba(10,10,11,.1) 55%, rgba(10,10,11,.85) 100%); }
.tile--blue { background: linear-gradient(160deg, #3CC2C8 0%, #1E9FA6 100%); color: #04201F; --sub: rgba(4,32,31,.82); }
.tile--blue sup.s a { color: #04201F !important; }
.t-a { grid-column: span 4; } .t-b { grid-column: span 2; } .t-c { grid-column: span 2; } .t-d { grid-column: span 4; } .t-e { grid-column: span 3; } .t-f { grid-column: span 3; }
@media (min-width: 641px) and (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-a, .t-d { grid-column: 1 / -1; } .t-b, .t-c, .t-e, .t-f { grid-column: span 1; } .tile { min-height: 24rem; padding: 2rem; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: auto; } .tile { min-height: 23rem; padding: 1.8rem; } .tile--sm { min-height: 0; } }

/* stats */
.stats { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.stat { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 0.45em; letter-spacing: -0.01em; }
.stat span { display: block; margin-top: 0.55rem; color: var(--sub); font-size: 0.97rem; line-height: 1.45; max-width: 26ch; }
.stats--boxed .stat { border-top: 0; background: var(--card); border-radius: var(--radius-s); padding: 1.6rem; }

/* points: four short facts in a row */
.points { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .points { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.points > div { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.points h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; }
.points p { margin: 0.5rem 0 0; color: var(--sub); line-height: 1.5; font-size: 0.98rem; }

/* numbered steps */
.steps { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { background: var(--card); border-radius: var(--radius); padding: 2.2rem; }
.step b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; }
.step p { margin: 0.8rem 0 0; color: var(--sub); font-size: 1.02rem; line-height: 1.5; font-weight: 500; }

/* tables */
.table { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-s); background: var(--card); }
.table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; }
.table--wide table { min-width: 36rem; }  /* many columns: scrolls sideways inside its box on phones */
.table th, .table td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-weight: 600; font-size: 0.85rem; color: var(--sub); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-weight: 600; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table caption { caption-side: bottom; text-align: left; padding: 0.8rem 1.1rem; font-size: 0.8rem; color: var(--sub); }

/* FAQ accordion: <div class="faq__list"><details><summary><h3>Q</h3></summary><p>A</p></details></div> */
.faq { max-width: 860px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.25; }
.faq summary::after { content: ""; flex: 0 0 0.75rem; height: 0.75rem; border-right: 2px solid var(--blue-d); border-bottom: 2px solid var(--blue-d); transform: rotate(45deg) translateY(-25%); transition: transform 220ms var(--ease); }
.dk .faq summary::after { border-color: var(--blue); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq details > :not(summary) { margin: -0.3rem 0 1.5rem; color: var(--body); font-size: 1.02rem; line-height: 1.6; max-width: 64ch; }
.faq details a { color: var(--blue-d); }
.dk .faq details a { color: var(--blue); }

/* customer logo wall: <ul class="logos"><li><img alt="Name"></li></ul> */
.logos__h { text-align: center; font-size: 1.05rem; font-weight: 600; color: var(--sub); letter-spacing: -0.01em; margin: clamp(4rem, 9vh, 6rem) 0 1.8rem; }
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
/* walls hold 6, 12 or 18 logos: 6 columns down to small tablets, then 3, so rows always land even */
@media (max-width: 860px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; } }
/* full wall of 20: 5 columns on desktop, 4 on tablet, 2 on phone, so every row is full */
.logos--20 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .logos--20 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .logos--20 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logos li { background: #fff; border-radius: var(--radius-s); height: 6rem; display: grid; place-items: center; padding: 0 1.1rem; }
.lt .logos li { background: var(--mist); }
.logos img { display: block; height: auto; max-height: 2.6rem; width: auto; max-width: 100%; object-fit: contain; }
.logos img[alt="Svenska Handelsfastigheter"] { max-height: 3.6rem; }
.logos img[alt="CA Fastigheter"], .logos img[alt="Södra Hallandskraft"], .logos img[alt="Friskis & Svettis"] { max-height: 4.8rem; }
.logos img[alt="Vendus"], .logos img[alt="Jernhusen"] { max-height: 2rem; }
.lt .logos img[alt="Myrorna"] { mix-blend-mode: multiply; }
@media (max-width: 1000px) { .logos { gap: 0.7rem; } .logos li { height: 5rem; padding: 0 0.8rem; } .logos img { max-height: 2.1rem; } .logos img[alt="CA Fastigheter"], .logos img[alt="Södra Hallandskraft"], .logos img[alt="Friskis & Svettis"] { max-height: 3.9rem; } .logos img[alt="Svenska Handelsfastigheter"] { max-height: 3rem; } .logos img[alt="Vendus"], .logos img[alt="Jernhusen"] { max-height: 1.7rem; } }
@media (max-width: 640px) {
  .logos li { height: 4.6rem; padding: 0 0.6rem; border-radius: 14px; }
  .logos img { max-height: 1.9rem; }
  .logos img[alt="CA Fastigheter"], .logos img[alt="Södra Hallandskraft"], .logos img[alt="Friskis & Svettis"], .logos img[alt="Svenska Handelsfastigheter"] { max-height: 3rem; }
  .logos img[alt="Vendus"], .logos img[alt="Jernhusen"] { max-height: 1.5rem; }
}

/* project cards: .card (rail or grid) with optional customer logo chip */
.rail { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem var(--pad) 1.5rem; margin: 0 calc(var(--pad) * -1); scrollbar-width: none; scroll-padding-left: var(--pad); }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -2px; }
.rail .card { flex: 0 0 min(80vw, 22rem); scroll-snap-align: start; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); color: var(--ink); display: flex; flex-direction: column; text-decoration: none; }
.lt .card { background: var(--mist); }
.card__img { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: #E8E8ED; }
.card__img img, .card__img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__logo { position: absolute; z-index: 2; left: 0.9rem; top: 0.9rem; height: 2.6rem; min-width: 4.5rem; max-width: 9rem; padding: 0 0.85rem; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; box-shadow: 0 0.3rem 1rem -0.3rem rgba(0,0,0,.35); }
.card__logo img { display: block; width: auto; height: 1.35rem; max-width: 7.4rem; object-fit: contain; }
.card__logo--tall { height: 3.4rem; padding: 0 0.6rem; }
.card__logo--tall img { height: 2.7rem; }
.card__b { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card__b small { font-size: 0.85rem; color: var(--gray); font-weight: 500; }
.card__b h3 { font-size: 1.45rem; letter-spacing: -0.022em; margin-top: 0.25rem; }
.card__b .n { font-family: var(--font-display); font-weight: 700; font-size: 3rem; letter-spacing: -0.045em; line-height: 1; margin: 1.2rem 0 0.4rem; font-variant-numeric: tabular-nums; }
.card__b .n--word { font-size: 2.2rem; }
.card__b .n small { font-size: 0.42em; color: inherit; }
.card__b p { margin: 0; color: var(--gray); font-size: 0.93rem; line-height: 1.45; }
.card__b .more { margin-top: auto; padding-top: 1.1rem; font-size: 0.95rem; color: var(--blue-d); }
@media (hover: hover) { a.card:hover .more { text-decoration: underline; } }
.rail-ctl { display: flex; justify-content: flex-end; align-items: center; gap: 0.7rem; margin-top: 0.5rem; }
.rail-ctl .more { margin-right: auto; }
.rail-ctl button { all: unset; cursor: pointer; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #E8E8ED; display: grid; place-items: center; color: var(--ink); transition: background-color 150ms var(--ease); }
.rail-ctl button:focus-visible { outline: 2px solid var(--blue-d); outline-offset: 3px; }
@media (hover: hover) { .rail-ctl button:hover { background: #DCDCE1; } }
.rail-ctl svg { width: 1rem; height: 1rem; }

/* ---------- 10 · forms ---------- */
/* Wrap any form in .form (or put .form-card around it). Native inputs are styled directly. */
.form-card { background: var(--card); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); }
.form { display: grid; gap: 1.2rem; color: var(--ink); }
.dk .form { color: #F5F5F7; }
.form__row { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label, .form legend { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.45rem; padding: 0; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form .hint { display: block; font-weight: 400; font-size: 0.85rem; color: var(--sub); margin-top: 0.2rem; }
.form input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=submit]),
.form select, .form textarea {
  width: 100%; height: 3rem; padding: 0 1rem; border: 1px solid rgba(0,0,0,.18); border-radius: 12px; background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; letter-spacing: -0.01em; transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease); -webkit-appearance: none; appearance: none;
}
.form textarea { height: auto; min-height: 8rem; padding: 0.8rem 1rem; line-height: 1.5; resize: vertical; }
.form select { padding-right: 2.6rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231D1D1F' stroke-width='1.8'/%3E%3C/svg%3E") right 1rem center / 0.9rem no-repeat; }
.form input::placeholder, .form textarea::placeholder { color: #8E8E93; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-d); box-shadow: 0 0 0 3px rgba(14,124,130,.22); }
.form [aria-invalid="true"] { border-color: var(--danger) !important; }
.form .err, .form__err { color: var(--danger); font-size: 0.88rem; margin-top: 0.35rem; }
.dk .form .err, .dk .form__err { color: #FF8A80; }
.check { display: flex !important; align-items: flex-start; gap: 0.7rem; font-weight: 500 !important; font-size: 0.95rem !important; line-height: 1.45; cursor: pointer; }
.check input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin: 0.12rem 0 0; accent-color: var(--blue-d); }
.form .fine { margin: 0; }
.form__ok { background: rgba(14,124,130,.1); color: var(--ink); border-radius: 14px; padding: 1rem 1.2rem; }
.form button[type=submit]:not(.pill) { display: inline-flex; align-items: center; justify-content: center; height: 3rem; padding: 0 1.5rem; border: 0; border-radius: 999px; background: var(--blue-d); color: #fff; font: inherit; font-weight: 600; cursor: pointer; justify-self: start; }

/* ---------- 11 · CTA band, footer, mobile bar ---------- */
.cta-band { padding: var(--sec-y) var(--pad); background: radial-gradient(55% 80% at 50% 110%, rgba(53,184,190,.2), transparent 70%), var(--black); }
.cta-band .sub { max-width: 44ch; }
.cta-band__fine { margin: 1.8rem auto 0; max-width: 52ch; font-size: 0.95rem; line-height: 1.55; color: #A1A1A6; }
.cta-band__fine a { color: #F5F5F7; text-underline-offset: 0.15em; }

.foot { background: var(--mist); color: var(--gray); padding: clamp(3.5rem, 6vw, 5rem) var(--pad) 2.5rem; font-size: 0.88rem; line-height: 1.6; }
.foot__grid { display: grid; gap: 2.4rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot__brand { grid-column: 1 / -1; }
@media (min-width: 1000px) { .foot__grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); } .foot__brand { grid-column: auto; } }
.foot__logo { display: inline-block; }
.foot__logo img { width: 8.6rem; height: auto; display: block; margin-bottom: 1rem; }
.foot__brand p { margin: 0 0 1rem; max-width: 30ch; }
.foot address { font-style: normal; color: var(--ink); }
.foot__dnb { display: inline-block; margin-top: 1.4rem; line-height: 0; }
.foot__dnb img { width: 7.5rem; height: auto; display: block; }
.foot__h { color: var(--ink); font-size: 0.88rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 0.8rem; line-height: 1.3; }
.foot ul, .foot ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot a { text-decoration: none; color: inherit; }
.foot address a { color: var(--ink); }
@media (hover: hover) { .foot a:hover { text-decoration: underline; color: var(--ink); } }
.foot__src { border-top: 1px solid rgba(0,0,0,.1); margin-top: 2.5rem; padding-top: 2rem; }
.foot__src ol { gap: 0.4rem; }
.foot__src li { display: grid; grid-template-columns: 1.4rem 1fr; }
.foot__base { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; border-top: 1px solid rgba(0,0,0,.1); margin-top: 2.5rem; padding-top: 1.4rem; font-size: 0.8rem; }
.foot__ill { flex-basis: 100%; }
@media (min-width: 1000px) { .foot__ill { flex-basis: auto; margin-left: auto; } }

.mbar { display: none; }
@media (max-width: 759px) {
  .mbar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem var(--pad) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(0,0,0,.08); color: var(--ink); transition: transform 300ms var(--ease); }
  .mbar .pill { flex: 1; background: var(--blue-d); color: #fff; height: 2.9rem; }
  .mbar__alt { font-size: 0.92rem; font-weight: 600; color: var(--blue-d); text-decoration: none; padding: 0.6rem 0.3rem; white-space: nowrap; }
  .mbar__tel { flex: 0 0 2.9rem; height: 2.9rem; border-radius: 50%; background: #E8E8ED; display: grid; place-items: center; color: var(--ink); }
  .mbar__tel svg { width: 1.15rem; height: 1.15rem; }
  .mbar.is-hidden, body.menu-open .mbar { transform: translateY(115%); }
}

/* source dialog (footnotes): <sup class="s"><a href="#s1" data-open="s1">1</a></sup> + <template id="s1"> */
dialog.src { border: 0; padding: 0; width: min(36rem, calc(100vw - 2rem)); max-height: calc(100svh - 2rem); background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 2rem 5rem -1rem rgba(0,0,0,.5); }
dialog.src::backdrop { background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.src[open] { animation: dlg 260ms var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.src__in { padding: 1.8rem; }
.src__top { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--gray); font-weight: 500; }
.src__top button { all: unset; cursor: pointer; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--ink); }
.src__top button:focus-visible { outline: 2px solid var(--blue-d); outline-offset: 2px; }
.src h3 { font-size: 1.6rem; margin: 1rem 0 0.8rem; }
.src p { font-size: 0.95rem; line-height: 1.55; margin: 0 0 0.9rem; color: #424245; }
.src table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 0.4rem 0 1rem; }
.src td { padding: 0.6rem 0; border-top: 1px solid rgba(0,0,0,.08); vertical-align: top; }
.src td:first-child { color: var(--gray); width: 42%; padding-right: 1rem; }
.src a.out { color: var(--blue-d); font-size: 0.9rem; }

/* consent panel (only shown if ads are ever enabled in consent.js) */
.cookie-panel { position: fixed; z-index: 70; left: 1rem; right: 1rem; bottom: 1rem; max-width: 26rem; background: #fff; color: var(--ink); border-radius: 18px; padding: 1.4rem; box-shadow: 0 1.5rem 4rem -1rem rgba(0,0,0,.4); font-size: 0.92rem; }
.cookie-panel h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.cookie-panel a { color: var(--blue-d); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.cookie-actions button, .cookie-toggle { font: inherit; font-size: 0.88rem; font-weight: 600; border: 0; border-radius: 999px; height: 2.4rem; padding: 0 1rem; background: var(--mist); color: var(--ink); cursor: pointer; }
.cookie-toggle { position: fixed; z-index: 54; left: 1rem; bottom: 1rem; }

/* touch: comfortable tap targets (>= 44px) for dense link lists */
@media (pointer: coarse) {
  .foot ul { gap: 0; }
  .foot li a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__base a, .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .mnav__sub a, .mnav__foot a { display: flex; align-items: center; min-height: 44px; }
  .nav__menu a { padding: 0.8rem 0; }
}

/* ---------- 12 · homepage sections ---------- */
/* hero: the warehouse lights up under the scroll */
.hero [data-sc-stage] { height: 100svh; background: var(--black); overflow: hidden; }
.hero__lit, .hero__dark { position: absolute; inset: 0; }
.hero__lit img, .hero__dark img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.hero__lit img { transform: scale(var(--hz, 1.06)); transform-origin: 50% 54%; will-change: transform; }
.hero__dark { -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 50% 54%; mask-position: 50% 54%; -webkit-mask-size: var(--mw, 320%) var(--mh, 320%); mask-size: var(--mw, 320%) var(--mh, 320%); }
.hero__flash { transition: opacity 260ms var(--ease); position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 20%, rgba(220,240,255,.35), transparent 70%); opacity: var(--fl, 0); pointer-events: none; }
.hero__top { position: absolute; inset: 0 0 auto 0; height: 62%; background: linear-gradient(180deg, rgba(10,10,11,.9) 0%, rgba(10,10,11,.6) 45%, rgba(10,10,11,0) 100%); pointer-events: none; }
.hero__copy { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + clamp(2.25rem, 8vh, 5.5rem)); padding: 0 var(--pad); text-align: center; }
.hero__copy .sub { color: #D2D2D7; }
.hero__copy2 { position: absolute; left: 0; right: 0; bottom: clamp(3rem, 10vh, 6rem); padding: 0 var(--pad); text-align: center; }
.hero__copy2 .sub { color: #D2D2D7; max-width: 34ch; }
.hero__bot { position: absolute; inset: auto 0 0 0; height: 52%; background: linear-gradient(0deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.7) 40%, rgba(10,10,11,0) 100%); pointer-events: none; }
.hero .ill { top: calc(var(--nav-h) + 0.8rem); bottom: auto; right: var(--pad); }

/* product film */
.prod [data-sc-stage] { height: 100svh; background: #000; overflow: hidden; }
.prod video, .prod .sc-stage__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod__head { position: absolute; top: calc(var(--nav-h) + clamp(1.75rem, 6vh, 4rem)); left: 0; right: 0; text-align: center; padding: 0 var(--pad); }
.prod__shade { position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.92) 45%, rgba(0,0,0,0) 100%); pointer-events: none; }
.specs { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 7vh, 4rem); padding: 0 var(--pad); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; max-width: 1260px; margin: 0 auto; }
.spec b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; line-height: 1; color: #F5F5F7; }
.spec span { display: block; margin-top: 0.55rem; font-size: 0.95rem; line-height: 1.4; color: #A1A1A6; max-width: 24ch; }
.prod .ill { top: calc(var(--nav-h) + 0.8rem); bottom: auto; right: var(--pad); }
@media (min-width: 760px) {
  .prod .sc-stage video[data-sc-scrub], .prod .sc-stage .sc-stage__poster { top: 30% !important; height: 70% !important; }
  .prod__top { position: absolute; inset: 30% 0 auto 0; height: 22%; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 100%); pointer-events: none; }
}
@media (max-width: 759px) {
  .prod .sc-stage video[data-sc-scrub], .prod .sc-stage .sc-stage__poster { object-fit: contain !important; object-position: 50% 44% !important; }
  .specs { grid-template-columns: 1fr 1fr; gap: 1.4rem 1.2rem; bottom: 1.6rem; } .spec b { font-size: 1.45rem; } .spec span { font-size: 0.8rem; }
  .prod__shade { height: 58%; }
}

/* problem */
.prob__img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; margin: 0; }
.prob__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prob .fact { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.55; color: var(--sub); max-width: 40ch; }
.prob .fact b { color: #F5F5F7; font-weight: 600; }

/* calculator */
.calc { margin: 0 auto; max-width: 1060px; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr 1fr; } }
.calc__in, .calc__out { background: var(--white); border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.6rem); }
.calc__out { background: var(--black); color: #F5F5F7; display: flex; flex-direction: column; }
.field { border: 0; padding: 0; margin: 0 0 1.9rem; min-width: 0; }
.field legend, .field label { display: flex; justify-content: space-between; width: 100%; font-weight: 600; font-size: 1rem; margin-bottom: 0.9rem; padding: 0; }
.field output { font-variant-numeric: tabular-nums; color: var(--blue-d); }
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg label { margin: 0; cursor: pointer; position: relative; width: auto; display: inline-flex; font-weight: 500; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.3rem 1.1rem; border-radius: 999px; background: var(--mist); font-size: 0.95rem; transition: background-color 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease); }
@media (hover: hover) { .seg label:hover span { box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); } }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--blue-d); outline-offset: 3px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 1.8rem; background: transparent; cursor: pointer; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-d) var(--fill, 50%), #E3E3E8 var(--fill, 50%)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: #E3E3E8; }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--blue-d); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #fff; margin-top: -0.7rem; box-shadow: 0 0.15rem 0.5rem rgba(0,0,0,.25), 0 0 0 0.5px rgba(0,0,0,.1); }
input[type=range]::-moz-range-thumb { width: 1.6rem; height: 1.6rem; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0.15rem 0.5rem rgba(0,0,0,.25); }
input[type=range]:focus-visible { outline: 2px solid var(--blue-d); outline-offset: 4px; }
.calc__out .lbl { font-size: 0.95rem; color: #A1A1A6; font-weight: 500; margin: 0; }
.calc__out .kr { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 6vw, 4.6rem); letter-spacing: -0.045em; line-height: 1; margin: 0.4rem 0 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__out .kr small { font-size: 0.38em; letter-spacing: -0.01em; color: #A1A1A6; margin-left: 0.15em; }
.calc__out .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.calc__out .v { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.025em; margin: 0.3rem 0 0; font-variant-numeric: tabular-nums; }
.calc__out .pill { margin-top: auto; align-self: flex-start; }
.calc__out .fine { margin: 1.6rem 0; color: #A1A1A6; }
.calc__out sup.s a { color: var(--blue); }
@media (max-width: 759px) { .calc__out .v { font-size: 1.3rem; white-space: nowrap; } }

/* sticky full-bleed stories */
.story { position: relative; height: 210vh; }
.story__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story__img { position: absolute; inset: 0; }
.story__img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(var(--z, 1.18)); will-change: transform; }
.story__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.86) 0%, rgba(10,10,11,.3) 50%, rgba(10,10,11,0) 75%); opacity: var(--so, 0.4); }
.story__copy { position: absolute; left: 0; right: 0; bottom: clamp(3rem, 12vh, 7rem); padding: 0 var(--pad); text-align: center; opacity: var(--co, 0); transform: translateY(var(--cy, 30px)); }
.story__copy .sub { color: #D2D2D7; }
.story .ill { top: calc(var(--nav-h) + 0.8rem); bottom: auto; right: var(--pad); }

/* Ledpro inventory */
.inv { overflow: hidden; background: radial-gradient(70% 60% at 85% 55%, rgba(53,184,190,.16), transparent 70%), var(--black); }
/* Ledpro Cloud lockup (colour, with "En del av Greenmoral") on its own white plate */
.inv__brand { display: inline-flex; align-items: center; margin: 0 0 2rem; padding: 1.05rem 1.45rem 1.1rem 1.2rem; background: #fff; border-radius: 1.25rem; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 1.6rem 3.2rem -1.4rem rgba(0,0,0,.7), 0 0 3.5rem -1rem rgba(53,184,190,.28); max-width: none; }
.inv__brand img { display: block; width: 13.75rem; height: auto; }
@media (max-width: 640px) { .inv__brand { padding: 0.85rem 1.15rem 0.9rem 1rem; border-radius: 1.05rem; margin-bottom: 1.6rem; } .inv__brand img { width: 11.5rem; } }
.inv__steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.inv__steps li { display: flex; align-items: center; gap: 1rem; font-size: 1.05rem; font-weight: 500; }
.inv__steps b { flex: 0 0 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: rgba(53,184,190,.16); color: var(--blue); font-size: 0.9rem; }
.phone { justify-self: center; width: min(19rem, 78vw); aspect-ratio: 9 / 19; border-radius: 3rem; padding: 0.7rem; background: linear-gradient(145deg, #3A3A3E, #1A1A1C); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 3rem 6rem -1.5rem rgba(0,0,0,.8), 0 0 8rem -2rem rgba(53,184,190,.35); }
.phone__scr { height: 100%; border-radius: 2.4rem; background: #F5F5F7; color: var(--ink); padding: 2.6rem 1.1rem 1.1rem; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.phone__scr::before { content: ""; position: absolute; top: 0.7rem; left: 50%; width: 5.5rem; height: 1.5rem; border-radius: 1rem; background: #0A0A0B; transform: translateX(-50%); }
.ph__bar { display: flex; justify-content: space-between; align-items: center; }
.ph__bar img { display: block; height: 1.55rem; width: auto; }
.ph__bar i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #E3E3E8; }
.ph__t { margin: 1rem 0 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.ph__s { margin: 0.15rem 0 0; font-size: 0.75rem; color: var(--gray); }
.ph__prog { height: 5px; border-radius: 5px; background: #E3E3E8; margin: 0.8rem 0 1rem; overflow: hidden; }
.ph__prog i { display: block; height: 100%; width: 60%; background: var(--blue-d); border-radius: 5px; }
.ph__rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.ph__rooms li { background: #fff; border-radius: 0.9rem; padding: 0.7rem 0.8rem; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 0.6rem; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.ph__rooms span { font-size: 0.8rem; font-weight: 600; }
.ph__rooms em { font-style: normal; font-size: 0.68rem; color: var(--gray); grid-row: 2; }
.ph__rooms b { grid-row: 1 / 3; grid-column: 2; width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 1.5px solid #D2D2D7; }
.ph__rooms b.ok { border: 0; background: var(--blue-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 70% no-repeat; }
.ph__rooms li.on { box-shadow: 0 0 0 2px var(--blue-d); }
.ph__rooms li.on em { color: var(--blue-d); font-weight: 600; }
.ph__cam { margin-top: auto; align-self: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 3px solid var(--blue-d); display: grid; place-items: center; }
.ph__cam i { width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--blue-d); }
@media (prefers-reduced-motion: no-preference) { .ph__cam i { animation: shutter 2.4s var(--ease) infinite; } }
@keyframes shutter { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(0.82); } }

/* closing image section (homepage) */
.close { position: relative; min-height: 100svh; display: flex; align-items: flex-start; justify-content: center; padding: calc(var(--nav-h) + clamp(4rem, 14vh, 8rem)) var(--pad) var(--sec-y); overflow: hidden; }
.close__img { position: absolute; inset: 0; }
.close__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.close__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.8) 48%, rgba(10,10,11,.4) 72%, rgba(10,10,11,0) 90%); }
.close .wrap { position: relative; }
.close .cta-band__fine { color: #E8E8ED; text-shadow: 0 1px 12px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8); }

/* ---------- 13 · reveals and reduced motion ---------- */
.js [data-up] { opacity: 0; transform: translateY(32px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js [data-up].in { opacity: 1; transform: none; }
.js .bento .tile { opacity: 0; transform: translateY(40px) scale(0.98); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js .bento .tile.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-up], .js .bento .tile { opacity: 1; transform: none; transition: none; }
  .tile__img img { transform: none; transition: none; }
  .story { height: auto; } .story__pin { position: relative; }
  .story__copy { opacity: 1; transform: none; } .story__img img { transform: none; } .story__shade { opacity: 1; }
  .mbar, .nav, .lcard, .lcard__img img { transition: none; }
}

/* ---- source notes rendered by build.mjs from <template id="sN"> (visible to people and crawlers) ---- */
.foot__src li p { margin: 0; max-width: 92ch; font-size: 0.82rem; line-height: 1.55; }
.foot__src li p b { color: var(--ink); font-weight: 600; }
.foot__src li a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.foot__src li:target { background: rgba(53,184,190,.12); border-radius: 6px; }
@media (pointer: coarse) { .foot__src li a { display: inline; min-height: 0; } }

/* ---- homepage without JS, or before scrollcraft.js runs ----
   The hero line is visible on first paint; scrollcraft sets the same opacity (1) at p=0 and
   takes over with inline styles once it runs. Without JS every scroll-driven block shows and
   each stage gets a containing block, so nothing stacks at the top of the page. */
.hero__copy[data-sc-cue] { opacity: 1; }
html:not(.js) [data-sc-stage] { position: relative; }
html:not(.js) [data-sc-cue], html:not(.js) [data-sc-copy], html:not(.js) [data-sc-in],
html:not(.js) [data-sc-stagger] > *, html:not(.js) .story__copy { opacity: 1 !important; transform: none !important; }
