/* Nexarion — light, businesslike. Tokens from the spec; gradient only in the logo. */
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --accent-2: #007A55; --c1: #0068B8; --c2: #00875A; --c3: #0B8A9C; --c4: #3D5AFE;
  --accent: #0068B8; --accent-hover: #00528F; --band-1: #005A9E; --band-2: #007A55;
  --paper: #FAFBFA; --tint: #F1F5F4; --ink: #0E1F2B; --muted: #4A5C69; --line: #0E1F2B1F;
  --blue: #0072C6; --green: #00B86B; --on-dark: #C7D3DB;
  --sans: "Schibsted Grotesk", system-ui, sans-serif; --mono: "Plex Mono", ui-monospace, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img, video, svg { max-width: 100%; }
img, video { height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: #00B86B33; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
[hidden]:not([hidden="until-found"]) { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: #fff; padding: .5rem 1rem; }
.link-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 6px; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s cubic-bezier(.16, 1, .3, 1), border-color .2s, color .2s; }
.btn-p { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-p:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-s { border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); background: transparent; }
.btn-s:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }

/* Header: logo + Microsoft Partner left, menu right; popover menu below 62rem */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brandrow { display: flex; align-items: center; gap: 16px; }
.brand img { height: 40px; width: auto; }
.ms-partner { display: inline-flex; align-items: center; gap: 8px; padding-left: 16px; border-left: 1px solid var(--line); font: 600 .8125rem/1.15 var(--sans); color: #444; letter-spacing: .01em; }
.ms-partner svg { flex: none; }
.menu-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font: 600 1rem var(--sans); color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.site-menu { position: fixed; inset: 80px 0 auto 0; margin: 0; padding: 8px 24px 24px; list-style: none; border: 0; border-bottom: 1px solid var(--line); background: var(--paper); width: 100%; max-height: calc(100dvh - 80px); overflow: auto; }
.site-menu a { display: block; padding: 14px 0; font-size: 1.25rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.site-menu a[aria-current="page"] { color: var(--blue); }
@supports not selector(:popover-open) { .site-menu[popover]:not(:popover-open) { display: none; } }
@media (min-width: 62rem) {
  .menu-button { display: none; }
  .site-menu[popover] { display: flex; position: static; inset: auto; width: auto; max-height: none; overflow: visible; gap: 26px; padding: 0; border: 0; background: none; }
  .site-menu a { padding: 6px 0; font-size: .9375rem; font-weight: 500; color: var(--muted); border: 0; border-bottom: 2px solid transparent; }
  .site-menu a:hover { color: var(--ink); }
  .site-menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); }
}
@media (max-width: 30rem) {
  .brand img { height: 32px; }
  .brandrow { gap: 10px; }
  .ms-partner { font-size: .6875rem; gap: 6px; padding-left: 10px; }
  .ms-partner svg { width: 18px; height: 18px; }
  .menu-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* Sections */
.sec { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.25rem); line-height: 1.1; max-width: 24ch; margin-bottom: 12px; }
.sec-sub { color: var(--muted); font-size: 1.0625rem; margin: 0 0 28px; max-width: 58ch; }
.section { padding-block: 80px; }
.band { background: var(--tint); border-block: 1px solid var(--line); }
.page-hero { padding-block: 64px 32px; }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem); line-height: 1.04; letter-spacing: -.025em; max-width: 20ch; margin-bottom: 20px; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); margin: 0 0 28px; max-width: 52ch; }
.prose > * { max-width: 62ch; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 12px; }
.prose h3 { font-size: 1.1875rem; margin: 28px 0 8px; letter-spacing: -.01em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .9375rem; margin: 16px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 56rem) { .split { grid-template-columns: .9fr 1.1fr; gap: 56px; } }

/* Home hero */
.hero { display: grid; gap: 40px; align-items: center; padding-block: 64px 48px; }
@media (min-width: 56rem) { .hero { grid-template-columns: .95fr 1.05fr; gap: 48px; padding-block: 80px 56px; } }
.hero h1 { font-size: clamp(2.375rem, 1.6rem + 2.8vw, 3.25rem); line-height: 1.03; letter-spacing: -.028em; margin-bottom: 20px; }
.shot { margin: 0; }
.shot video, .shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 18px 40px -18px #0E1F2B55; background: #E6EEEA; }
.shot figcaption { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); margin-top: 12px; }
.shot figcaption img { width: 18px; height: 18px; border: 0; box-shadow: none; aspect-ratio: 1; }
.shot figcaption span { margin-left: auto; }
.play { margin-top: 10px; }

/* Microsoft logos */
.mslogos { padding-bottom: 56px; }
.mslogos h2 { font-size: .9375rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-bottom: 16px; }
.mslogos ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 30px; }
.mslogos li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; }
.mslogos img { width: 28px; height: 28px; object-fit: contain; }

/* Approach steps */
.steps { display: grid; list-style: none; margin: 0; padding: 0; }
.steps li { padding: 32px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 40px 28px; border-top: 0; border-left: 1px solid var(--line); }
  .steps li:first-child { padding-left: 0; border-left: 0; }
}
.when { font: 500 .8125rem var(--mono); color: var(--blue); }
.steps h3 { font-size: 1.3125rem; margin: 8px 0; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* Fabric list */
.fab-intro img { margin-bottom: 20px; }
.fab-list { list-style: none; margin: 0; padding: 0; }
.fab-list li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.fab-list li:last-child { border-bottom: 1px solid var(--line); }
.fab-list img { width: 36px; height: 36px; }
.fab-list b { display: block; font-size: 1rem; }
.fab-list span { color: var(--muted); font-size: .9375rem; }

/* Example conversation (tabs) */
.tablist { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tablist button { flex: none; font: 500 .9375rem var(--sans); background: none; border: 0; padding: 12px 14px; min-height: 44px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tablist button:hover { color: var(--ink); }
.tablist button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.panels { display: grid; }
.panels > [role="tabpanel"] { grid-area: 1 / 1; }
.no-js-label { font: 600 1.125rem var(--sans); margin: 32px 0 12px; }
.js .no-js-label { display: none; }
.transcript { display: grid; gap: 32px; }
@media (min-width: 56rem) { .transcript { grid-template-columns: 1fr 260px; gap: 48px; } }
.who { font: 500 .75rem var(--mono); color: var(--muted); letter-spacing: .04em; margin: 0 0 6px; }
.q { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; margin: 0 0 28px; }
.answer p { margin: 0 0 16px; max-width: 60ch; }
.answer table { border-collapse: collapse; width: 100%; max-width: 560px; font-size: .9375rem; }
.answer th { text-align: left; font-weight: 500; color: var(--muted); font-size: .8125rem; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.answer td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.answer .n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.note { font-size: .8125rem; color: var(--muted); margin-top: 12px; }
.under ol { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.under li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 8px; font-size: .875rem; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); }
.under li::before { content: counter(s); font: 500 .875rem var(--mono); color: var(--blue); }
.under b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  [role="tabpanel"]:not([hidden]) { animation: panel-in .35s cubic-bezier(.16, 1, .3, 1); }
  @keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
}

/* FAQ */
.faq { padding-block: 72px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 76ch; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.0625rem; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Closing band */
.closing { background: linear-gradient(120deg, var(--band-1), var(--band-2)); color: #fff; }
.closing-grid { display: grid; gap: 32px; padding-block: 64px; align-items: end; }
@media (min-width: 56rem) { .closing-grid { grid-template-columns: 1.2fr 1fr; gap: 40px; } }
.closing h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.25rem); margin-bottom: 12px; }
.closing p { color: #EEF4FA; margin: 0; max-width: 50ch; }
.closing .btn-p { background: #fff; color: var(--band-1); border-color: #fff; }
.closing .btn-p:hover { background: var(--tint); }
.closing .btn-s { color: #fff; border-color: #ffffff66; }
.closing .btn-s:hover { border-color: #fff; }
.closing :focus-visible { outline-color: #fff; }

/* Contact / info blocks */
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 16px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.mail-options { display: grid; gap: 12px; margin: 0 0 8px; }
@media (min-width: 40rem) { .mail-options { grid-template-columns: repeat(3, auto); justify-content: start; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; padding-block: 48px 32px; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-size: .9375rem; color: var(--ink); letter-spacing: 0; margin-bottom: 8px; }
.footer-grid p { margin: 0 0 8px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: 6px; }
.flogo { height: 56px; width: auto; margin-bottom: 14px; }
.ms-badge { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #444; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: .8125rem; }

/* Cookie banner (non-blocking, no cookie wall) */
.cookie-banner { position: fixed; z-index: 30; inset: auto 1rem 1rem auto; inline-size: min(26rem, calc(100% - 2rem)); padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 20px 50px -20px #0E1F2B59; }
.cookie-banner[hidden], .cookie-prefs[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.125rem; margin-bottom: 8px; letter-spacing: 0; }
.cookie-banner p { font-size: .9rem; margin: 0 0 12px; }
.cookie-prefs { display: grid; gap: 8px; margin-bottom: 14px; }
.cookie-prefs label { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; font-weight: 600; }
.cookie-prefs input { inline-size: 1.1rem; block-size: 1.1rem; margin-top: .2rem; accent-color: var(--blue); grid-row: span 2; }
.cookie-prefs span { font-weight: 400; font-size: .85rem; color: var(--muted); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions .cookie-prefs-btn { grid-column: 1 / -1; justify-self: center; padding: 6px; }
.cookie-actions .cookie-prefs-btn[aria-expanded="true"] { justify-self: stretch; text-decoration: none; font-weight: 600; min-height: 48px; border: 1px solid var(--ink); border-radius: 6px; }
@media (max-width: 30rem) { .cookie-banner { inset: auto 8px 8px 8px; inline-size: auto; padding: 14px 16px 10px; } }

/* Card grid (branches, pain points, articles) */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); list-style: none; margin: 0; padding: 0; }
.cards > li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.cards h3 { font-size: 1.125rem; margin-bottom: 8px; }
.cards p { margin: 0 0 8px; color: var(--muted); }

/* Hero with product visual (one authored motion moment per site, see .viz-* below) */
.hero-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 60rem) { .hero-split { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.viz { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 48px -20px color-mix(in srgb, var(--accent) 35%, transparent), 0 2px 6px #0E1F2B0F; }
.viz-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 600 .875rem var(--sans); }
.viz-head::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--accent); }
.viz-body { padding: 18px 16px; }
.viz figcaption { padding: 10px 16px 12px; font-size: .8125rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--tint); }
.ease-out { --e: cubic-bezier(.16, 1, .3, 1); }

/* Photos and honest placeholders */
.photos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin: 32px 0 0; padding: 0; list-style: none; }
.photo { margin: 0; }
.photo img { inline-size: 100%; block-size: auto; border-radius: 12px; }
.photo figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.ph { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 5%, #fff); color: var(--muted); font-size: .875rem; text-align: center; padding: 16px; margin: 0; }

/* Nexarion hero: planning board. Focal motion: work orders are scheduled into the fitters' lanes one by one, then the customer is notified. */
.plan-times, .plan-lanes li { display: grid; grid-template-columns: 4.5rem 1fr; align-items: center; }
@media (max-width: 30rem) { .plan-times, .plan-lanes li { grid-template-columns: 3.5rem 1fr; } .job { font-size: .6875rem; padding-inline: 5px; } }
.plan-times { font: 500 .75rem var(--mono); color: var(--muted); margin-bottom: 6px; }
.plan-times span:last-child { display: flex; justify-content: space-between; }
.plan-lanes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-lanes b { font-size: .875rem; }
.track { position: relative; block-size: 44px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--tint) 0 calc(25% - 1px), var(--line) calc(25% - 1px) 25%); }
.job { position: absolute; inset-block: 5px; inset-inline-start: calc(var(--x) * 25%); inline-size: calc(var(--w) * 25% - 4px); padding: 0 8px; display: flex; align-items: center;
  border-radius: 6px; font-size: .75rem; font-weight: 600; line-height: 1.15; color: #fff; background: var(--accent); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; align-content: center; padding-block: 0; line-height: 34px;
  animation: plan-slot .65s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.35s + var(--d) * .2s); }
.job.alt { background: #007A55; } .job.urgent { background: #B4401F; }
@keyframes plan-slot { from { clip-path: inset(0 100% 0 0 round 6px); transform: translateX(-10px); opacity: .4; } to { clip-path: inset(0 0 0 0 round 6px); transform: none; opacity: 1; } }
.plan-toast { display: flex; gap: 10px; align-items: center; margin: 16px 0 0; padding: 10px 12px; border-radius: 8px; font-size: .875rem;
  background: color-mix(in srgb, #007A55 10%, #fff); color: #0B4D37; border: 1px solid color-mix(in srgb, #007A55 30%, transparent);
  animation: plan-toast .5s cubic-bezier(.16, 1, .3, 1) 1.55s both; }
.plan-toast svg { flex: none; }
@keyframes plan-toast { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .job { animation: none; }
  .plan-toast { animation: plan-fade .3s ease-out .2s both; }
  @keyframes plan-fade { from { opacity: 0; } }
}
.viz-replay { margin-inline-start: auto; white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: none; font: 500 .75rem var(--sans); color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.viz-replay:hover { color: var(--accent); border-color: var(--accent); }
.viz-replay svg { transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.viz-replay:active svg { transform: rotate(-120deg); }

/* ---------- Polish: colour, icons and motion (shared by DRG, Nexarion, Foresea, DSG) ---------- */
html { accent-color: var(--accent); caret-color: var(--accent); scrollbar-color: color-mix(in srgb, var(--accent) 45%, #fff) transparent; }
::selection { background: color-mix(in srgb, var(--c3) 26%, transparent); }

/* Buttons: brand gradient, icon nudges on hover, presses in */
.btn-p { background: linear-gradient(110deg, var(--accent), var(--accent-2) 140%) 0 0 / 200% 100%; border-color: transparent;
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent) 80%, transparent); transition: background-position .4s cubic-bezier(.16, 1, .3, 1), box-shadow .25s, transform .12s; }
.btn-p:hover { background-position: 100% 0; border-color: transparent; box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn:active { transform: scale(.98); }
.btn svg { transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.btn:hover svg { transform: translateX(2px) rotate(-6deg); }
.closing .btn-p { background: #fff; box-shadow: 0 10px 24px -12px #0006; }

/* Header gains depth once the page scrolls; nav underline grows from the centre */
@supports (animation-timeline: scroll()) {
  .site-header { animation: hdr-depth linear both; animation-timeline: scroll(root); animation-range: 0 96px; }
  @keyframes hdr-depth { to { box-shadow: 0 10px 30px -18px #0E1F2B55; border-bottom-color: transparent; } }
}
@media (min-width: 64rem) {
  .site-menu a { background: linear-gradient(var(--accent), var(--accent)) no-repeat 50% 100% / 0 2px; transition: background-size .3s cubic-bezier(.16, 1, .3, 1), color .2s; }
  .site-menu a:hover { background-size: 100% 2px; color: var(--ink); }
}

/* Hero ambient: brand colours drifting slowly behind the hero (paused off-screen and for reduced motion) */
.page-hero { position: relative; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; inset: -40px -10vw auto 30%; block-size: 120%; pointer-events: none; filter: blur(40px); opacity: .55;
  background: radial-gradient(40% 45% at 30% 35%, color-mix(in srgb, var(--c1) 35%, transparent), transparent 70%),
    radial-gradient(35% 40% at 70% 30%, color-mix(in srgb, var(--c3) 32%, transparent), transparent 70%),
    radial-gradient(35% 40% at 55% 75%, color-mix(in srgb, var(--c2) 28%, transparent), transparent 70%);
  animation: hero-drift 18s ease-in-out infinite alternate; }
.page-hero.is-off::before { animation-play-state: paused; }
@keyframes hero-drift { 50% { transform: translate(-4%, 3%) scale(1.06) rotate(4deg); } 100% { transform: translate(3%, -2%) scale(.97) rotate(-3deg); } }

/* Cards: colour per card, icon chip, whole-card links with an arrow */
.cards > li:nth-child(4n+1) { --c: var(--c1); } .cards > li:nth-child(4n+2) { --c: var(--c2); }
.cards > li:nth-child(4n+3) { --c: var(--c3); } .cards > li:nth-child(4n+4) { --c: var(--c4); }
.cards > li { position: relative; border-radius: 14px; transition: border-color .25s, box-shadow .3s, background-color .25s; }
.cards > li:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 4%, #fff); box-shadow: 0 18px 36px -22px color-mix(in srgb, var(--c) 75%, transparent); }
.chip { display: grid; place-items: center; inline-size: 46px; block-size: 46px; border-radius: 13px; margin-bottom: 16px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), background-color .25s, color .25s; }
.cards > li:hover .chip { transform: rotate(-8deg) scale(1.08); background: var(--c); color: #fff; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.cards > li:has(.card-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.cards > li:has(.go) { padding-bottom: 68px; }
.go { position: absolute; inset-block-end: 18px; inset-inline-end: 18px; display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%;
  color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); transition: background-color .25s, color .25s, border-color .25s; }
.go svg { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.cards > li:hover .go { background: var(--c); border-color: var(--c); color: #fff; }
.cards > li:hover .go svg { transform: translateX(2px); }
.fact-link { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.fact-link svg { color: var(--accent); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.fact-link:hover { color: var(--accent); } .fact-link:hover svg { transform: translateX(3px); }

/* Facts: a coloured marker per item */
.facts > li:nth-child(4n+1) { --c: var(--c1); } .facts > li:nth-child(4n+2) { --c: var(--c2); }
.facts > li:nth-child(4n+3) { --c: var(--c3); } .facts > li:nth-child(4n+4) { --c: var(--c4); }
.facts > li > b:first-child::before { content: ""; display: inline-block; inline-size: 9px; block-size: 9px; border-radius: 3px; margin-inline-end: 10px; vertical-align: .08em; background: var(--c); transform: rotate(45deg); }

/* Lists enter as lists while scrolling (scroll-driven, visible by default where unsupported) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .cards > li, .photos > li, .facts > li { animation: list-in linear both; animation-timeline: view(); animation-range: entry 5% entry 70%; }
    .cards > li:nth-child(3n+2), .photos > li:nth-child(3n+2) { animation-range: entry 12% entry 78%; }
    .cards > li:nth-child(3n+3), .photos > li:nth-child(3n+3) { animation-range: entry 19% entry 86%; }
    @keyframes list-in { from { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(4px); } }
  }
}

/* Photos: rounded, a gentle colour lift on hover */
.photo img { transition: filter .4s, transform .6s cubic-bezier(.16, 1, .3, 1); box-shadow: 0 18px 36px -24px #0E1F2B66; }
.photo:hover img { filter: saturate(1.15) contrast(1.03); }

/* FAQ: custom plus icon and smooth open where supported */
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; inline-size: 30px; block-size: 30px; border-radius: 50%; background:
  linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat, color-mix(in srgb, var(--accent) 10%, #fff);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background-color .2s; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--accent); }
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s cubic-bezier(.16, 1, .3, 1), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Closing band: soft light in the brand gradient */
.closing { position: relative; overflow: hidden; isolation: isolate; }
.closing::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto 45%; block-size: 180%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c3) 45%, transparent), transparent); opacity: .5; }

@media (prefers-reduced-motion: reduce) {
  .page-hero::before { animation: none; }
  .btn:hover svg, .cards > li:hover .chip { transform: none; }
}
@media print { .cards > li, .photos > li, .facts > li { animation: none !important; } .page-hero::before { display: none; } }

/* ── World: Nexarion — the workshop and the planning board ────────────────
   Condensed Archivo, square corners, ink rules instead of boxes, warm site-office paper.
   Signature motion: the planning board in the hero; cards wipe in like a job bar. */
@font-face { font-family: "Archivo"; src: url(/fonts/archivo.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
:root {
  --accent: #0B6E5F; --accent-hover: #08574B; --accent-2: #1F5F8B; --band-1: #10302C; --band-2: #0B6E5F;
  --c1: #0B6E5F; --c2: #1F5F8B; --c3: #9A5B12; --c4: #2F6B2A;
  --paper: #F6F5F1; --tint: #ECEAE3; --ink: #17211F; --muted: #4B5552; --line: #17211F24; --blue: #0B6E5F;
  --sans: "Archivo", system-ui, sans-serif;
}
::selection { background: #0B6E5F33; }
h1, h2, h3 { font-stretch: 82%; font-weight: 800; letter-spacing: -.01em; }
h3 { font-stretch: 90%; font-weight: 700; }
.btn { border-radius: 3px; font-weight: 700; }
.page-hero::before { content: none; }
.btn-s { border-color: transparent; text-decoration: underline; text-underline-offset: .3em; padding-inline: 10px; }
.btn-s:hover { border-color: transparent; background: none; text-decoration-thickness: 2px; }
.viz { border: 1.5px solid var(--ink); border-radius: 4px; box-shadow: 0 14px 30px -18px #17211F66; }
.band { border-block: 0; }
/* Cards become rows on a ruled sheet: icon beside the heading, no box, no tile */
.cards { gap: 0 40px; }
.cards > li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-content: start; background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 20px 0 24px; transition: border-color .25s; }
.cards > li > * { grid-column: 2; }
.cards > li > .chip { grid-column: 1; grid-row: 1 / span 4; inline-size: auto; block-size: auto; margin: 2px 0 0; background: none; border-radius: 0; color: var(--c); }
.cards > li:hover { border-top-color: var(--c); background: none; box-shadow: none; }
.cards > li:hover .chip { transform: none; background: none; color: var(--c); }
.cards > li:has(.go) { padding-bottom: 24px; padding-right: 48px; }
.go { inset-block-end: auto; inset-block-start: 18px; inset-inline-end: 0; border-radius: 3px; }
.photo img { border-radius: 2px; }
.faq summary::after { border-radius: 3px; }
@keyframes list-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.facts > li, .photos > li { animation: none !important; }
.btn-p, .btn-p:hover { background: var(--accent); background-image: none; }
.btn-p:hover { background: var(--accent-hover); }
.closing { background: var(--band-1); }
.closing::before { content: none; }
.cards > li > .chip { align-self: start; place-items: start; margin-top: 1px; }

/* Secondary actions: an icon instead of an underline */
.btn-s, .btn-s:hover, .hero .btn-s, .hero .btn-s:hover { text-decoration: none; }
.btn-s:hover { color: var(--accent-hover); }
.btn-s svg { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.btn-s:hover svg { transform: translateX(3px); }
.btn-s:not(:has(svg))::after { content: ""; flex: none; inline-size: 16px; block-size: 16px; background: currentColor; transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.25%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 12h14M13 6l6 6-6 6%27/%3E%3C/svg%3E") center / contain no-repeat; }
.btn-s:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn-s:hover svg, .btn-s:hover::after { transform: none; } }

/* Secondary action keeps a frame: square, ink, like a stamped label */
.btn-s, .btn-s:hover { border: 1.5px solid color-mix(in srgb, var(--ink) 60%, transparent); padding-inline: 18px; color: var(--ink); }
.btn-s:hover { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.closing .btn-s, .closing .btn-s:hover { color: #fff; border-color: #ffffff80; background: none; }
.closing .btn-s:hover { border-color: #fff; }

/* Microsoft products: official logo beside the name */
.ms-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 0; padding: 0; font-size: .9375rem; font-weight: 600; }
.ms-row li { display: inline-flex; align-items: center; gap: 8px; }
.ms-row img { width: 22px; height: 22px; object-fit: contain; }
.facts > li.ms > b:first-child::before { inline-size: 20px; block-size: 20px; border-radius: 0; transform: none; vertical-align: -.25em; background: var(--ms) center / contain no-repeat; }

/* Narrow screens: wide tables scroll inside themselves, never the page */
@media (max-width: 40rem) { .prose table { display: block; overflow-x: auto; } }

/* Forms (post to /contact.php) */
.form-section { padding-top: 16px; }
@media (min-width: 56rem) { .form-section.split { grid-template-columns: 1.15fr .85fr; } }
.form-section:not(.split) > div { max-width: 44rem; }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea, .contact-form select { font: 1rem/1.5 var(--sans); color: var(--ink); min-height: 48px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); border-radius: 6px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.contact-form textarea { resize: vertical; min-block-size: 8rem; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form select:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border-color: #B4401F; }
.contact-form .hp { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0; font-size: .875rem; color: var(--muted); }
.form-foot span { flex: 1 1 18rem; }
.form-foot .btn:disabled { opacity: .7; cursor: progress; }
.form-error { margin: 0; padding: 12px 16px; border-radius: 6px; background: #FBEDE8; color: #7A2A12; border: 1px solid #F0C4B5; }
.form-section .facts + .sec { margin-top: 48px; }
