/* Byrja: base, components, then one section per block (b-*) */

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--c-white); }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-basalt);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-red); outline-offset: 3px; }
::selection { background: var(--c-red); color: var(--c-white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.015em;
  line-height: 1;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); font-weight: 850; line-height: .94; letter-spacing: -.025em; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-weight: 750; line-height: 1.1; letter-spacing: -.005em; }
.lede { font-size: var(--fs-lede); line-height: 1.5; max-width: 38em; }
/* Small labels */
.u-label { font-family: var(--font-body); font-size: .875rem; font-weight: 500; letter-spacing: 0; }
.u-muted { color: var(--c-concrete-ink); }
.u-visually-hidden {
  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-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--c-basalt); color: var(--c-white); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }


/* Section spacing: pt-/pb- 0, s, m, l */
.b { padding-block: var(--space-m); }
.pt-0 { padding-top: 0; } .pt-s { padding-top: var(--space-s); } .pt-m { padding-top: var(--space-m); } .pt-l { padding-top: var(--space-l); }
.pb-0 { padding-bottom: 0; } .pb-s { padding-bottom: var(--space-s); } .pb-m { padding-bottom: var(--space-m); } .pb-l { padding-bottom: var(--space-l); }
.b--fog { background: var(--c-fog); }
.b--dark { background: var(--c-basalt); color: var(--c-white); }

.section-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); max-width: 60rem; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: var(--space-4); }
.section-head--split .lede { justify-self: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } .section-head--split .lede { justify-self: start; } }

/* Buttons and links */
/* Fill sweeps in from the left on hover/focus */
.btn {
  --btn-bg: var(--c-basalt); --btn-fg: var(--c-white); --btn-border: var(--btn-bg);
  --btn-fill: var(--c-basalt); --btn-fill-fg: var(--c-white);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 44px; padding: .6rem 1.1rem;
  background: linear-gradient(var(--btn-fill), var(--btn-fill)) no-repeat 0 0 / 0% 100%, var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-border);
  font-family: var(--font-body); font-weight: 600; font-size: .9375rem; line-height: 1.2; letter-spacing: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-size .45s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover, .btn:focus-visible { background-size: 100% 100%, auto; color: var(--btn-fill-fg); border-color: var(--btn-fill); }
.btn--primary { --btn-bg: var(--c-red); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-basalt); --btn-border: var(--c-basalt); }
.b--dark .btn--ghost { --btn-fg: var(--c-white); --btn-border: var(--c-white); --btn-fill: var(--c-white); --btn-fill-fg: var(--c-basalt); }
.btn--lg { min-height: 50px; padding-inline: 1.4rem; font-size: 1rem; }

.arrow-link {
  display: inline-flex; justify-self: start; width: fit-content; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600;
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.arrow-link::after { content: ""; width: .9em; height: .9em; background: currentColor; transition: transform .25s var(--ease);
  clip-path: polygon(0 42%, 62% 42%, 40% 18%, 52% 8%, 100% 50%, 52% 92%, 40% 82%, 62% 58%, 0 58%); }
.arrow-link:hover::after { transform: translateX(4px); }

/* Logo */
.logo { display: block; fill: currentColor; }
.icon { display: inline-block; flex: none; width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; }

/* Header */
.site-header {
  --h-bg: var(--c-white); --h-fg: var(--c-basalt); --h-logo: var(--c-basalt);
  --h-accent: var(--c-red); --h-cta-bg: var(--c-red); --h-cta-fg: var(--c-white); --h-cta-hover: var(--c-basalt); --h-cta-hover-fg: var(--c-white);
  position: sticky; top: 0; z-index: 50;
  background: var(--h-bg); color: var(--h-fg);
  box-shadow: 0 1px 0 rgba(20, 22, 23, .04), 0 6px 18px -10px rgba(20, 22, 23, .18);
  view-transition-name: site-header;
  transition: transform .4s var(--ease), background-color .7s var(--ease), color .7s var(--ease), box-shadow .7s var(--ease);
}
.site-header__logo, .site-nav__phone .icon { transition: color .7s var(--ease); }
.site-header .btn { transition: background-size .45s var(--ease), background-color .7s var(--ease), color .5s var(--ease), border-color .7s var(--ease); }
/* Toggled by main.js on scroll */
.site-header.is-hidden { transform: translateY(-100%); }
.tone-grav .site-header, html[data-prev-tone="grav"] .site-header {
  --h-bg: var(--c-red); --h-fg: var(--c-white); --h-logo: var(--c-white);
  --h-accent: var(--c-white); --h-cta-bg: var(--c-white); --h-cta-fg: var(--c-red); --h-cta-hover: var(--c-basalt);
}
.tone-betong .site-header, html[data-prev-tone="betong"] .site-header {
  --h-bg: var(--c-concrete); --h-fg: var(--c-basalt); --h-logo: var(--c-red);
  --h-accent: var(--c-basalt); --h-cta-bg: var(--c-basalt); --h-cta-fg: var(--c-white); --h-cta-hover: #000;
}
.tone-timbur .site-header, html[data-prev-tone="timbur"] .site-header {
  --h-bg: var(--c-basalt); --h-fg: var(--c-white); --h-logo: var(--c-red);
  --h-accent: var(--c-red); --h-cta-bg: var(--c-red); --h-cta-fg: var(--c-white); --h-cta-hover: var(--c-white); --h-cta-hover-fg: var(--c-basalt);
}
/* Previous page tone, removed by main.js so the colours transition */
html[data-prev-tone="none"] .site-header {
  --h-bg: var(--c-white); --h-fg: var(--c-basalt); --h-logo: var(--c-basalt);
  --h-accent: var(--c-red); --h-cta-bg: var(--c-red); --h-cta-fg: var(--c-white);
}
.site-header :focus-visible { outline-color: var(--h-accent); }
.site-header .btn--primary { --btn-bg: var(--h-cta-bg); --btn-fg: var(--h-cta-fg); --btn-fill: var(--h-cta-hover); --btn-fill-fg: var(--h-cta-hover-fg); }
/* Logo | centred menu | actions. Nav is display: contents on desktop. */
.site-header__inner { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: var(--space-4); min-height: var(--header-h); }
.site-header__brand { justify-self: start; display: flex; align-items: center; gap: 1rem; flex: none; }
.site-header__logo { color: var(--h-logo); flex: none; }
.site-header__logo .logo { height: 40px; width: auto; aspect-ratio: 696 / 339; }
.site-nav { display: contents; }
.site-nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.site-nav__list a {
  position: relative; display: block; padding-block: .5rem;
  font-family: var(--font-display); font-weight: 700; font-stretch: 104%; font-size: .98rem;
  text-decoration: none;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--h-accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a[aria-current]::after { transform: scaleX(1); }
.site-nav__actions { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); }
.site-nav__phone { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 750; font-stretch: 108%; text-decoration: none; white-space: nowrap; }
.site-nav__phone .icon { width: 1.05em; height: 1.05em; color: var(--h-accent); }
/* Language switcher: globe + code button with a small menu of languages by their own names */
.lang { position: relative; }
.lang__toggle {
  display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .2rem; background: none; border: 0; color: inherit; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-stretch: 104%; font-size: .9rem; letter-spacing: .03em;
}
.lang__toggle svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lang__menu {
  position: absolute; top: calc(100% + .5rem); left: 50%; z-index: 60; min-width: 12.5rem; margin: 0; padding: 0; list-style: none;
  background: var(--c-white); color: var(--c-basalt); box-shadow: 0 0 0 1px var(--c-line), 0 16px 32px -14px rgba(20, 22, 23, .4);
  visibility: hidden; opacity: 0; transform: translate(-50%, -4px);
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility 0s linear .15s;
}
.lang.is-open .lang__menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition-delay: 0s; }
.lang__menu li + li { border-top: 1px solid var(--c-line); }
.lang__menu a { display: flex; align-items: center; gap: .85rem; padding: .85rem 1.1rem; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-stretch: 104%; }
.lang__menu a:hover, .lang__menu a:focus-visible { background: var(--c-fog); }
.lang__flag { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(20, 22, 23, .12); }
.lang__name { flex: 1; }
.lang__check { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: var(--c-basalt); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.lang__menu a[aria-current] .lang__check { visibility: visible; }
.site-header__toggle { display: none; }

@media (max-width: 1080px) {
  .site-header__toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 48px; height: 48px; background: none; border: 0; cursor: pointer;
  }
  .burger, .burger::before, .burger::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; } .burger::after { top: 7px; }
  [aria-expanded="true"] .burger { background: transparent; }
  [aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
  [aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .site-nav {
    display: flex; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: var(--space-4);
    padding: var(--space-3) var(--gutter) var(--space-4);
    background: var(--h-bg); color: var(--h-fg); border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; gap: 0; min-width: 0; }
  .site-nav__list a { font-size: 1.35rem; overflow-wrap: anywhere; padding-block: .7rem; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
  .site-nav__list a::after { display: none; }
  .site-nav__list a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .site-nav__actions { flex-direction: column; align-items: stretch; }
  .site-nav__phone { font-size: 1.4rem; }
  /* In the mobile menu: the languages side by side, no button */
  .lang { align-self: stretch; }
  .lang__toggle { display: none; }
  .lang__menu { position: static; display: flex; gap: .5rem; min-width: 0; padding: 0; background: none; color: inherit; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .lang.is-open .lang__menu { transform: none; }
  .lang__menu li { flex: 1; }
  .lang__menu li + li { border-top: 0; }
  .lang__menu a { justify-content: center; gap: .6rem; padding: .7rem; border: 1.5px solid color-mix(in srgb, currentColor 30%, transparent); font-size: 1rem; }
  .lang__name { flex: none; }
  .lang__menu a:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
  .lang__menu a[aria-current] { border-color: currentColor; }
  .lang__check { display: none; }
}

/* Block: hero (home) */
.b-hero__stage { display: grid; }
.b-hero__media {
  --ar: 4 / 3; --pos: 50% 50%; --off: 0; --scale: 1;
  position: relative; aspect-ratio: var(--ar); overflow: hidden; background: var(--c-fog);
}
.b-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); }
.b-hero__title-wrap { padding-block: clamp(2rem, 1rem + 3vw, 3rem) var(--space-3); }
.b-hero__title { max-width: 20ch; }
.van-tag {
  --tone: var(--tone-grav); --tone-fg: var(--c-white);
  position: absolute; left: calc(var(--x) * 100%); top: calc((var(--y) - var(--off)) * var(--scale) * 100%);
  translate: -50% -100%;
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem .55rem;
  background: var(--tone); color: var(--tone-fg); text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(.8rem, .7rem + .35vw, 1.05rem); line-height: 1;
  transition: translate .3s var(--ease);
}
.van-tag[data-tone="betong"] { --tone: var(--tone-betong); --tone-fg: var(--c-basalt); }
.van-tag[data-tone="timbur"] { --tone: var(--tone-timbur); }
.van-tag::before { /* stem */
  content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: clamp(10px, 1.6vw, 22px); background: var(--tone); translate: -50% 0;
}
.van-tag::after { content: ""; width: .75em; height: .75em; background: currentColor;
  clip-path: polygon(0 42%, 62% 42%, 40% 18%, 52% 8%, 100% 50%, 52% 92%, 40% 82%, 62% 58%, 0 58%); transition: transform .25s var(--ease); }
.van-tag:hover, .van-tag:focus-visible { translate: -50% calc(-100% - 4px); }
.van-tag:hover::after { transform: translateX(2px); }
.van-tag { margin-top: calc(clamp(10px, 1.6vw, 22px) * -1); }
.b-hero__intro { display: grid; grid-template-columns: minmax(0, 38rem) auto; justify-content: space-between; align-items: end; gap: var(--space-3) var(--space-5); padding-top: clamp(1.75rem, 1rem + 2vw, 3rem); }
.b-hero__intro .lede { font-size: clamp(1.0625rem, 1rem + .25vw, 1.2rem); }
.b-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (min-width: 640px) {
  .b-hero__media { --ar: 16 / 10; --pos: 50% 50%; --off: .0833; --scale: 1.2; }
}
@media (min-width: 1000px) {
  .b-hero__stage > * { grid-area: 1 / 1; }
  .b-hero__stage { grid-template-rows: auto; }
  .b-hero__media { --ar: 2.2 / 1; --pos: 50% 42%; --off: .1655; --scale: 1.65; }
  .b-hero__title-wrap { align-self: start; position: relative; z-index: 1; pointer-events: none; padding-top: clamp(2rem, 3.5vw, 3.75rem); }
}
@media (max-width: 900px) { .b-hero__intro { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .b-hero__actions .btn { flex: 1 1 100%; }
  .van-tag { padding: .35rem .5rem .4rem; font-size: .72rem; gap: .3rem; }
  .van-tag::after { display: none; }
}

/* Block: page header (service + generic pages) */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-3); color: var(--c-concrete-ink); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--c-basalt); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; }
.b-page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4) var(--space-5); align-items: end; }
.b-page-hero__text { display: grid; gap: var(--space-3); }
.b-page-hero__text > * { margin: 0; }

.b-page-hero__figure {
  position: relative; margin: 0; aspect-ratio: 5 / 4; background: var(--c-fog);
  box-shadow: 0 28px 48px -30px rgba(20, 22, 23, .45);
}
.b-page-hero__figure img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.b-page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .25rem; }
.b-page-hero--plain .b-page-hero__text { max-width: 52rem; }
@media (max-width: 900px) {
  .b-page-hero__grid { grid-template-columns: 1fr; }
  .b-page-hero__figure { aspect-ratio: 4 / 3; margin: 0 calc(var(--gutter) * -1); box-shadow: none; }
}
@media (max-width: 520px) { .b-page-hero__actions .btn { flex: 1 1 100%; } }

/* Block: intro statement + clients */
.b-intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-m) var(--space-5); align-items: start; }
.b-intro__statement { grid-column: 1 / -1; max-width: 26ch; margin: 0; }
.b-intro__figure { margin: 0; }
.b-intro__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.b-intro__cta { justify-self: start; }
.b-intro__statement { font-family: var(--font-display); font-weight: 750; font-stretch: 108%; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.15; letter-spacing: -.01em; text-wrap: pretty; }
.b-intro__body { display: grid; gap: var(--space-4); align-content: start; padding-top: .5rem; }
.clients { border-top: 1px solid var(--c-line-strong); }
.clients__label { display: block; padding-block: 1rem .75rem; color: var(--c-concrete-ink); }
.clients__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .7rem; border-bottom: 1px solid var(--c-line);
  font-family: var(--font-display); font-weight: 700; font-stretch: 106%; font-size: 1.2rem; }
.clients__list li span { text-align: right; font-family: var(--font-body); font-size: .875rem; font-weight: 400; color: var(--c-concrete-ink); }
@media (max-width: 900px) { .b-intro__grid, .b-intro--text .b-intro__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-m) 0; } .b-intro__body { margin-top: calc(var(--space-m) * -1 + var(--space-4)); } }

/* Block: services (division cards) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) clamp(1rem, 2vw, 1.75rem); }
.svc { --tone: var(--tone-grav); --tone-fg: var(--c-white); display: grid; grid-template-rows: auto 1fr; gap: var(--space-3); text-decoration: none; }
.svc[data-tone="betong"] { --tone: var(--tone-betong); --tone-fg: var(--c-basalt); }
.svc[data-tone="timbur"] { --tone: var(--tone-timbur); }
.svc__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-fog); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.svc:hover .svc__media img, .svc:focus-visible .svc__media img { transform: scale(1.045); }
/* Full-width label; two-line height on all cards so the row lines up */
.svc__label {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end;
  min-height: calc(2 * 1.05em + 2.1rem); padding: 1rem 1.25rem 1.1rem; background: var(--tone); color: var(--tone-fg);
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.25rem, 1rem + .9vw, 1.9rem); line-height: 1.05;
}
.svc__body { display: grid; gap: var(--space-3); align-content: start; }
.svc__list { border-top: 1px solid var(--c-line); }
.svc__list li { padding-block: .55rem; border-bottom: 1px solid var(--c-line); font-weight: 500; font-size: var(--fs-small); }
.svc:hover .arrow-link::after { transform: translateX(4px); }
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; gap: var(--space-4); align-items: start; }
}
@media (max-width: 640px) {
  .svc { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .svc__media { aspect-ratio: 4 / 3; }
}

/* Block: chain + USPs (dark) */
.b-chain__steps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; border-top: 1px solid var(--c-line-dark); }
.step { position: relative; padding: var(--space-4) var(--space-4) var(--space-4) 0; border-right: 1px solid var(--c-line-dark); }
.step + .step { padding-left: var(--space-4); }
.step:last-child { border-right: 0; }
.step__num { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.6); }
.step__num::before { content: ""; width: 12px; height: 12px; background: var(--tone, var(--c-red)); }
.step__n { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 1rem; color: var(--c-white); }
.step__num { gap: .6rem; }
.step[data-tone="betong"] { --tone: var(--tone-betong); }
.step[data-tone="timbur"] { --tone: var(--c-white); }
.step__title { margin-top: var(--space-3); font-family: var(--font-display); font-weight: 850; font-stretch: 115%; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); line-height: 1; }
.step__text { margin-top: .9rem; color: rgba(255,255,255,.74); max-width: 26em; }
.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--space-5); border-top: 1px solid var(--c-line-dark); }
.usp { padding: var(--space-3) var(--space-3) 0 0; }
.usp + .usp { padding-left: var(--space-3); border-left: 1px solid var(--c-line-dark); }
.usp__title { font-family: var(--font-display); font-weight: 750; font-stretch: 106%; font-size: 1.15rem; line-height: 1.2; }
.usp__text { margin-top: .5rem; font-size: var(--fs-small); color: rgba(255,255,255,.68); }
.b-chain .section-head .lede { color: rgba(255,255,255,.78); }
@media (max-width: 900px) {
  .b-chain__steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: var(--space-3) 0; border-right: 0; border-bottom: 1px solid var(--c-line-dark); }
  .usps { grid-template-columns: 1fr 1fr; }
  .usp, .usp + .usp { padding: var(--space-3) var(--space-2) var(--space-3) 0; border-left: 0; border-bottom: 1px solid var(--c-line-dark); }
}
@media (max-width: 520px) { .usps { grid-template-columns: 1fr; } }

/* Block: marquee gallery */
.b-marquee { overflow: hidden; }
.marquee { position: relative; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.marquee.is-dragging { cursor: grabbing; }
.marquee__track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.marquee__item { flex: none; height: clamp(240px, 32vw, 440px); margin: 0; }
.marquee__item button { display: block; height: 100%; padding: 0; border: 0; background: var(--c-fog); cursor: inherit; }
.marquee__item img { height: 100%; width: auto; pointer-events: none; -webkit-user-drag: none; }
.marquee__item figcaption { margin-top: .6rem; color: var(--c-concrete-ink); }

/* Block: testimonials */
.tq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.tq__media { grid-column: 1 / span 7; grid-row: 1; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-fog); }
.tq__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.tq__img.is-active { opacity: 1; transform: none; }
.tq__panel {
  grid-column: 7 / -1; grid-row: 1; position: relative; z-index: 1;
  display: grid; gap: var(--space-4); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background: var(--c-red); color: var(--c-white);
}
/* Stacked in one cell so the panel height stays fixed */
.tq__quotes { display: grid; }
.tq__quote {
  grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
.tq__quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .18s, .18s, 0s; }

.tq__text { margin: 0; font-family: var(--font-display); font-weight: 700; font-stretch: 104%; font-size: clamp(1.4rem, 1.05rem + 1.2vw, 2.1rem); line-height: 1.15; letter-spacing: -.01em; text-wrap: pretty; }
.tq__text::before { content: "“"; display: block; height: .55em; margin-bottom: .1em; font-size: 2.6em; line-height: 1; }
.tq__text::after { content: "”"; }
.tq__by { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; margin-top: var(--space-3); font-size: var(--fs-small); color: var(--c-white); }
.tq__name { font-weight: 600; color: var(--c-white); }
.tq__controls { display: flex; align-items: center; gap: 1rem; }
.tq__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: var(--c-white); cursor: pointer; transition: background .2s, color .2s; }
.tq__btn:hover { background: var(--c-white); color: var(--c-red); }
.tq__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.tq__panel :focus-visible { outline-color: var(--c-white); }
.tq--single .tq__panel { gap: 0; }
@media (prefers-reduced-motion: no-preference) {
}
@media (max-width: 900px) {
  .tq__media { grid-column: 1 / -1; }
  .tq__panel { grid-column: 1 / -1; grid-row: 2; margin: -3rem var(--space-3) 0; }
}
@media (max-width: 520px) { .tq__panel { margin-inline: 0; } }

/* Block: quote form */
/* Concrete grain + faint logo mark */
.b-quote { position: relative; isolation: isolate; overflow: hidden; background: var(--c-fog); }
.b-quote::before, .b-soon::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .09 0 0 0 0 .09 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 220px; opacity: .32; pointer-events: none; }
.b-quote__mark {
  position: absolute; z-index: -1; left: 50%; bottom: 0; translate: -50% 0; height: 92%; width: auto; aspect-ratio: 300 / 339;
  fill: rgba(20, 22, 23, .018); pointer-events: none;
}
@media (max-width: 960px) { .b-quote__mark { height: 60%; } }
.b-quote__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-5); align-items: start; }
.b-quote__intro { display: grid; gap: var(--space-3); position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 960px) {
  .b-quote__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .b-quote__intro { position: static; }
}

/* Forms: WS Form with the "WS Form" framework and only its layout CSS (Settings > Styling);
   everything visual comes from here, so fields added in WS Form pick up the site look.
   Labels sit inside the fields (Form Settings > Label position: Inside); a field set to
   label position "Top" gets a normal label above it. */
.form { background: var(--c-white); padding: clamp(1.25rem, .5rem + 3vw, 3rem); }
.wsf-form { --gap: var(--space-3); }
.wsf-form .wsf-section { margin: 0; padding: 0; border: 0; min-width: 0; }
.wsf-form .wsf-hidden-element { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wsf-form .wsf-fields { margin-inline: calc(var(--gap) / -2); row-gap: var(--gap); }
.wsf-form .wsf-fields > .wsf-tile { padding-inline: calc(var(--gap) / 2); }
.wsf-form .wsf-label { display: block; margin: 0 0 .45rem; font-weight: 600; font-size: var(--fs-small); }
/* Low specificity so the inside-label rules can override */
.wsf-form :where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
  display: block; width: 100%; min-height: 50px; padding: .75rem .9rem;
  font: inherit; color: inherit; background: var(--c-white);
  border: 1px solid var(--c-line-field); border-radius: 0; appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.wsf-form :where(textarea) { resize: vertical; min-height: 140px; }
.wsf-form .wsf-field::placeholder { color: #8A8985; }
.wsf-form .wsf-field:not([type="checkbox"]):not([type="radio"]):focus { outline: none; border-color: var(--c-basalt); box-shadow: 0 0 0 3px rgba(20, 22, 23, .12); }
.wsf-form.wsf-validated .wsf-field:not([type="checkbox"]):not([type="radio"]):invalid, .wsf-form .wsf-field.wsf-invalid { border-color: var(--c-red); }
.wsf-form.wsf-validated .wsf-field:not([type="checkbox"]):not([type="radio"]):invalid:focus { box-shadow: 0 0 0 3px rgba(230, 0, 0, .15); }
.wsf-form .wsf-invalid-feedback { margin-top: .3rem; color: var(--c-red); font-size: .875rem; }
.wsf-form .wsf-help { display: block; margin-top: .45rem; font-size: .875rem; color: var(--c-concrete-ink); }

/* Labels inside the field (after Bootstrap 5 .form-floating) */
.wsf-label-position-inside { position: relative; }
.wsf-label-position-inside > .wsf-field { height: calc(3.75rem + 2px); min-height: calc(3.75rem + 2px); padding: 1.25rem .875rem; font-size: 1rem; line-height: 1.25; }
.wsf-label-position-inside > textarea.wsf-field { height: 8rem; min-height: 8rem; }
.wsf-label-position-inside > .wsf-label {
  position: absolute; top: 0; left: 0; z-index: 2; height: calc(3.75rem + 2px); max-width: 100%; margin: 0;
  padding: 1.3125rem .875rem; border: 1px solid transparent;
  font-size: 1rem; font-weight: 400; line-height: 1.25; color: var(--c-concrete-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
  transform-origin: 0 0; transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}
.wsf-label-position-inside > textarea + .wsf-label { height: auto; }
.wsf-label-position-inside > .wsf-field::placeholder { color: transparent; }
.wsf-label-position-inside > .wsf-field:is(:focus, :not(:placeholder-shown)) { padding-top: 2rem; padding-bottom: .5rem; }
.wsf-label-position-inside > .wsf-field:is(:focus, :not(:placeholder-shown)) + .wsf-label { opacity: .75; transform: scale(.85) translateY(-.6rem) translateX(.15rem); }
.wsf-label-position-inside > textarea:is(:focus, :not(:placeholder-shown)) + .wsf-label::after {
  content: ""; position: absolute; inset: .9rem .375rem; z-index: -1; height: 1.5em; background: var(--c-white);
}

/* Checkboxes and radios as cards. In a checkbox label, <small>…</small> is the grey line below. */
.wsf-form [role="group"].wsf-grid, .wsf-form [role="radiogroup"].wsf-grid { margin-inline: -.3rem; row-gap: .6rem; }
.wsf-form :is([data-row-checkbox], [data-row-radio]) { position: relative; padding-inline: .3rem; }
.wsf-form :is([data-row-checkbox], [data-row-radio]) > input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.wsf-form :is([data-row-checkbox], [data-row-radio]) > .wsf-label {
  --tone: var(--c-basalt);
  position: relative; display: grid; grid-template-columns: 20px 1fr; align-content: start; column-gap: .75rem; height: 100%; margin: 0;
  padding: 1rem; border: 1px solid var(--c-line-field); cursor: pointer;
  font-family: var(--font-display); font-weight: 750; font-stretch: 106%; font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, background .15s;
}
.wsf-form :is([data-row-checkbox], [data-row-radio]) > .wsf-label::before {
  content: ""; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 1px;
  border: 1px solid var(--c-line-strong); background: var(--c-white); transition: background .15s, border-color .15s;
}
.wsf-form [data-row-radio] > .wsf-label::before { border-radius: 50%; }
.wsf-form :is([data-row-checkbox], [data-row-radio]) > .wsf-label::after {
  content: ""; position: absolute; left: calc(1rem + 4px); top: calc(1rem + 7px); width: 12px; height: 7px;
  border-left: 2.5px solid var(--c-white); border-bottom: 2.5px solid var(--c-white);
  transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .15s var(--ease);
}
.wsf-form .wsf-label small { grid-column: 2; display: block; margin-top: .2rem; font-family: var(--font-body); font-weight: 400; font-stretch: normal; font-size: var(--fs-small); color: var(--c-concrete-ink); }
.wsf-form :is([data-row-checkbox], [data-row-radio]) > .wsf-label:hover { border-color: rgba(20, 22, 23, .4); }
.wsf-form :is([data-row-checkbox], [data-row-radio]) > input:checked + .wsf-label { border-color: rgba(20, 22, 23, .45); background: #F7F7F6; }
.wsf-form :is([data-row-checkbox], [data-row-radio]) > input:checked + .wsf-label::before { background: var(--tone); border-color: var(--tone); }
.wsf-form :is([data-row-checkbox], [data-row-radio]) > input:checked + .wsf-label::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.wsf-form :is([data-row-checkbox], [data-row-radio]) > input:focus-visible + .wsf-label::before { outline: 3px solid var(--c-red); outline-offset: 2px; }
.wsf-form :is([data-row-checkbox], [data-row-radio]) > input:disabled + .wsf-label { cursor: default; background: var(--c-fog); }
.wsf-form [data-row-checkbox] > .wsf-invalid-feedback { display: none !important; }

/* File dropzone (field with the "byrja-files" class, built by main.js) */
.dropzone {
  position: relative; display: grid; gap: .3rem; justify-items: start;
  padding: 1.25rem; border: 1px dashed var(--c-line-field); cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--c-basalt); background: var(--c-fog); }
.dropzone input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.dropzone:has(input:focus-visible) { outline: 3px solid var(--c-red); outline-offset: 2px; }
.dropzone__text strong { text-decoration: underline; text-underline-offset: 3px; }
.dropzone .wsf-help { margin: 0; }
.dropzone__list { display: flex; flex-wrap: wrap; gap: .4rem; }
.dropzone__list:empty { display: none; }
.dropzone__list span { padding: .2rem .5rem; background: var(--c-basalt); color: var(--c-white); font-size: .8rem; }
.byrja-files > .wsf-field { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; }
.wsf-form.wsf-validated .byrja-files:has(> .wsf-field:invalid) .dropzone { border-color: var(--c-red); }

/* Submit button and the note next to it (the submit field's help text) */
.wsf-form [data-type="submit"] { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: var(--space-2); }
.wsf-form [data-type="submit"] .wsf-help { margin: 0; font-size: var(--fs-small); max-width: 28em; }
.wsf-form .btn:disabled { opacity: .7; cursor: progress; }

/* Messages (Actions > Show message): the sent message replaces the form */
.wsf-alert { padding: var(--space-3); border-left: 6px solid var(--c-red); background: var(--c-fog); }
.wsf-alert:focus { outline: none; }
.wsf-alert > :first-child { margin-top: 0; }
.wsf-alert > :last-child { margin-bottom: 0; }
.wsf-alert + .wsf-alert { margin-top: var(--space-2); }
.wsf-alert-danger { border-left-color: var(--c-red); background: #FDECEC; }
@media (max-width: 720px) {
  .wsf-form [data-type="submit"] .btn { width: 100%; }
}

/* Block: expert (service pages) */
.expert { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-4); align-items: center; padding-block: var(--space-4); border-top: 1px solid var(--c-line-strong); border-bottom: 1px solid var(--c-line-strong); }
.expert__photo { width: clamp(96px, 10vw, 140px); aspect-ratio: 4 / 5; background: var(--c-fog); overflow: hidden; display: grid; place-items: center; }
.expert__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.expert__initial { font-family: var(--font-display); font-weight: 850; font-stretch: 120%; font-size: 3rem; color: var(--c-concrete); }
.expert__role { margin: .25rem 0 0; color: var(--c-concrete-ink); }
.expert__name { margin: 0; }
.expert__text { margin-top: .75rem; max-width: 40em; }
.expert__actions { display: grid; gap: .6rem; justify-items: stretch; }
@media (max-width: 860px) {
  .expert { grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); }
  .expert__actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .expert__actions { grid-template-columns: 1fr; } }

/* Block: specialties */
.b-specs__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-5); }
.b-specs__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; display: grid; gap: var(--space-3); }
.spec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2) var(--space-4); padding-block: var(--space-3); border-top: 1px solid var(--c-line-strong); }
.spec:last-child { border-bottom: 1px solid var(--c-line-strong); }
.spec__text { max-width: 36em; }
@media (max-width: 900px) {
  .b-specs__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .b-specs__head { position: static; }
  .spec { grid-template-columns: 1fr; }
}

/* Block: media + text */
.b-media__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-5); align-items: center; }
.b-media--flip .b-media__figure { order: 2; }
.b-media__figure { margin: 0; aspect-ratio: 4 / 5; max-height: 760px; overflow: hidden; background: var(--c-fog); }
.b-media__figure img { width: 100%; height: 100%; object-fit: cover; }
.b-media__text { display: grid; gap: var(--space-3); }
.tip { margin-top: var(--space-2); padding: var(--space-3); background: var(--c-white); border-left: 6px solid var(--c-red); }
.b--fog .tip { background: var(--c-white); }

@media (max-width: 860px) {
  .b-media__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .b-media--flip .b-media__figure { order: 0; }
  .b-media__figure { aspect-ratio: 4 / 3; }
}

/* Block: gallery grid + lightbox */
/* Justified rows; --ar = width / height */
.gallery { --row-h: clamp(150px, 18vw, 280px); display: flex; flex-wrap: wrap; gap: 12px; }
.gallery::after { content: ""; flex: 999 1 0; }
.gallery__item { flex: var(--ar, 1) 1 calc(var(--ar, 1) * var(--row-h)); margin: 0; min-width: 0; }
.gallery__item button { display: block; width: 100%; padding: 0; border: 0; background: var(--c-fog); cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; height: auto; aspect-ratio: var(--ar, 1); object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item button:hover img { transform: scale(1.025); }
.gallery__item.is-extra { display: none; }
.gallery.is-expanded .gallery__item.is-extra { display: block; }
.gallery__more { display: flex; justify-content: center; margin-top: var(--space-4); }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 15, 16, .96); color: var(--c-white);
}
.lightbox::backdrop { background: rgba(14, 15, 16, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; display: grid; gap: .8rem; justify-items: center; padding: 64px clamp(16px, 7vw, 96px); max-height: 100dvh; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; touch-action: pan-y; }
.lightbox__caption { display: flex; gap: 1.5rem; justify-content: space-between; width: 100%; font-size: var(--fs-small); color: rgba(255,255,255,.8); }
.lightbox__btn, .lightbox__close {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px;
  background: transparent; border: 1.5px solid rgba(255,255,255,.3); cursor: pointer; color: var(--c-white);
  transition: background .2s, border-color .2s;
}
.lightbox__btn:hover, .lightbox__close:hover { background: var(--c-white); color: var(--c-basalt); border-color: var(--c-white); }
.lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox__btn--prev { left: clamp(8px, 2vw, 28px); top: 50%; translate: 0 -50%; }
.lightbox__btn--next { right: clamp(8px, 2vw, 28px); top: 50%; translate: 0 -50%; }
.lightbox__close { right: clamp(8px, 2vw, 28px); top: clamp(8px, 2vw, 28px); }
@media (max-width: 640px) {
  .lightbox__btn { top: auto; bottom: 16px; translate: none; }
  .lightbox__figure { padding-inline: 12px; }
}

/* Footer */
.site-footer { background: var(--c-basalt); color: var(--c-white); padding-top: var(--space-5); }
.site-footer a { text-decoration: none; }
/* Animated underline; not on social icons */
.site-footer a:not(.social a) {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px;
  padding-bottom: 2px; transition: background-size .35s var(--ease), color .2s var(--ease);
}
.site-footer a:not(.social a):hover, .site-footer a:not(.social a):focus-visible { text-decoration: none; background-size: 100% 1px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: var(--space-4); padding-bottom: var(--space-5); }
.logo--footer { width: 150px; height: auto; aspect-ratio: 696 / 339; color: var(--c-white); }
.site-footer__company { margin-top: var(--space-3); color: rgba(255,255,255,.75); line-height: 1.7; }
.site-footer__heading { margin-bottom: var(--space-2); font-family: var(--font-body); font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.55); }
.site-footer__list { display: grid; gap: .55rem; }
.site-footer__list address { font-style: normal; color: rgba(255,255,255,.8); }

.footer-contact { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: .75rem; align-items: start; color: rgba(255,255,255,.8); }
.footer-contact .icon { width: 1.1rem; height: 1.1rem; margin-top: .2rem; color: rgba(255,255,255,.55); }
.footer-contact a { justify-self: start; color: rgba(255,255,255,.8); }
.footer-contact a:hover { color: var(--c-white); }
.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--c-line-dark); transition: background .2s, border-color .2s; }
.social a:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-basalt); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: var(--space-3); border-top: 1px solid var(--c-line-dark); font-size: .875rem; color: rgba(255,255,255,.6); }
.site-footer__legal { display: flex; gap: 1.5rem; }
.site-footer [data-placeholder] { text-decoration-color: rgba(255,90,90,.9); }
@media (max-width: 1000px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

[hidden] { display: none !important; }

/* Page transitions */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  /* Header stays live; colours animate in CSS */
  ::view-transition-group(site-header) { animation: none; }
  ::view-transition-old(site-header) { display: none; }
  ::view-transition-new(site-header) { animation: none; }
  /* Old page stays opaque underneath; new page fades in over it, so nothing behind ever shows */
  ::view-transition-old(root) { animation: none; }
  ::view-transition-new(root) { animation: vt-page-in .5s var(--ease) both; }
}
@keyframes vt-page-in { from { opacity: 0; transform: translateY(16px); } }

/* Block: intro statement, text variant (About) */
.b-intro--text .b-intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.b-intro--text .b-intro__statement { max-width: 18ch; }
.b-intro--text .b-intro__body { padding-top: 0; font-size: 1.125rem; }
@media (max-width: 900px) { .b-intro--text .b-intro__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4) 0; } .b-intro--text .b-intro__body { margin-top: 0; } }

/* Block: team grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--space-4) clamp(1rem, 2vw, 1.75rem); }
.member { display: grid; gap: .25rem; align-content: start; }
.member__photo { position: relative; aspect-ratio: 1 / 1; background: var(--c-fog); display: grid; place-items: center; overflow: hidden; margin-bottom: .75rem; }
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.member__tags { z-index: 1; }
.member__initial { font-family: var(--font-display); font-weight: 850; font-stretch: 120%; font-size: clamp(3rem, 2rem + 3vw, 5rem); color: var(--c-concrete); }
.member__name { margin: 0; }
.member__role { margin: 0; color: var(--c-concrete-ink); }
.member__tags { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: .4rem; }
.member__tags li {
  --tone: var(--c-line-strong);
  display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .55rem; background: var(--c-white); color: var(--c-basalt);
  font-size: .8125rem; font-weight: 600;
}
.member__tags li::before { content: ""; width: 8px; height: 8px; background: var(--tone); }
.member__tags li[data-tone="grav"] { --tone: var(--tone-grav); }
.member__tags li[data-tone="betong"] { --tone: var(--tone-betong); }
.member__tags li[data-tone="timbur"] { --tone: var(--tone-timbur); }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) 1rem; } .member__name { font-size: 1.2rem; } }

/* Block: contact details */
.contact-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--c-line-strong); }
.contact-cell { display: grid; gap: .6rem; align-content: start; padding: var(--space-3) var(--space-3) var(--space-3) 0; }
.contact-cell + .contact-cell { padding-left: var(--space-3); border-left: 1px solid var(--c-line); }
.contact-cell__label { margin: 0; color: var(--c-concrete-ink); }
.contact-cell__big { display: inline-flex; align-items: center; gap: .3em; font-family: var(--font-display); font-weight: 850; font-stretch: 115%; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1.05; text-decoration: none; }
.contact-cell__big .icon { width: .7em; height: .7em; color: var(--c-red); }
.contact-cell__big:hover { color: var(--c-red); }
.contact-cell__value { margin: 0; font-style: normal; font-size: 1.125rem; font-weight: 500; }
.contact-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); margin-top: var(--space-m); }
.contact-more .h3 { margin-bottom: var(--space-3); }
.ask-list { border-top: 1px solid var(--c-line); }
.ask-list li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--c-line); }
.ask-list__who { font-weight: 600; }
.ask-list li span:last-child { color: var(--c-concrete-ink); text-align: right; }
.social--light { margin-top: var(--space-3); }
.social--light a { border-color: var(--c-line-strong); color: var(--c-basalt); }
.social--light a:hover { background: var(--c-basalt); border-color: var(--c-basalt); color: var(--c-white); }
@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-cell:nth-child(odd) { padding-left: 0; border-left: 0; }
  .contact-cell:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cell, .contact-cell + .contact-cell { padding-left: 0; border-left: 0; }
  .contact-cell + .contact-cell { border-top: 1px solid var(--c-line); }
  .contact-more { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* First-visit logo intro */
.intro { display: none; }
.intro-on body { overflow: hidden; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--c-red); cursor: pointer;
  animation: intro-lift .8s cubic-bezier(.7, 0, .2, 1) 1.75s forwards;
}
.intro__logo { width: min(52vw, 280px); height: auto; fill: var(--c-white); overflow: visible; }
.intro__col {
  transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0);
  animation: intro-rise .6s var(--ease) calc(.15s + var(--i) * .1s) forwards;
}
.intro__roof { clip-path: inset(0 100% 0 0); animation: intro-wipe .55s cubic-bezier(.6, 0, .2, 1) .6s forwards; }
.intro__word { opacity: 0; transform: translateY(18px); animation: intro-word .6s var(--ease) .95s forwards; }
@keyframes intro-rise { to { transform: scaleY(1); } }
@keyframes intro-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes intro-word { to { opacity: 1; transform: none; } }
@keyframes intro-lift { to { transform: translateY(-100%); } }

/* Scroll progress + smooth scroll */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--c-red); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Coming soon / 404 */
.b-soon { position: relative; isolation: isolate; overflow: hidden; background: var(--c-fog); }

.b-soon__inner {
  display: grid; justify-items: center; align-content: center; gap: var(--space-3); text-align: center;
  min-height: calc(100svh - var(--header-h) - 120px); padding-block: var(--space-m);
}
.b-soon .lede { max-width: 34rem; margin: 0; }
.b-soon .lede a { color: inherit; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.b-soon__title { max-width: 16ch; }
.b-soon__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: var(--space-2); }
.soon__logo { width: min(48vw, 220px); height: auto; margin-bottom: var(--space-3); fill: var(--c-basalt); overflow: visible; }
.soon__logo .intro__col { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: intro-rise .6s var(--ease) calc(.25s + var(--i) * .1s) forwards; }
.soon__logo .intro__roof { clip-path: inset(0 100% 0 0); animation: intro-wipe .55s cubic-bezier(.6, 0, .2, 1) .7s forwards; }
.soon__logo .intro__word { opacity: 0; transform: translateY(18px); animation: intro-word .6s var(--ease) 1.05s forwards; }
@media (prefers-reduced-motion: reduce) { .soon__logo * { transform: none !important; clip-path: none !important; opacity: 1 !important; } }

/* Footer reveal: page lifts off a pinned footer (only when the footer fits; set by main.js) */
.has-footer-reveal main { position: relative; z-index: 1; background: var(--c-white); box-shadow: 0 30px 40px -28px rgba(0, 0, 0, .55); }
.has-footer-reveal .site-footer { position: sticky; bottom: 0; z-index: 0; }
.has-footer-reveal .site-footer > .container { transform: translate3d(0, var(--footer-shift, 0px), 0); will-change: transform; }

/* WordPress */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .scroll-progress { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 1080px) { .admin-bar .site-nav { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px)); } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
/* Text pages (privacy, terms): core paragraphs, headings and lists between section blocks */
.page-content > :is(p, h2, h3, h4, ul, ol) { width: 100%; max-width: calc(46rem + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.page-content > :is(h2, h3, h4) { margin-top: 2.5rem; margin-bottom: .75rem; font-family: var(--font-display); font-weight: 800; font-stretch: 108%; line-height: 1.1; }
.page-content > h2 { font-size: var(--fs-h3); }
.page-content > :is(ul, ol) { padding-left: calc(var(--gutter) + 1.25rem); list-style: revert; }
.page-content > :is(p, ul, ol) { margin-bottom: 1rem; }
.page-content > :is(p, h2, h3, h4, ul, ol):last-child { margin-bottom: var(--space-l); }

/* Team member contact details (team cards + contact person) */
.member__contact { display: grid; gap: .3rem; margin-top: .6rem; font-size: var(--fs-small); }
.member__contact li { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.member__contact .icon { width: 1rem; height: 1rem; flex: none; color: var(--c-concrete-ink); }
.member__contact a { text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px; padding-bottom: 1px; transition: background-size .35s var(--ease); }
.member__contact a:hover, .member__contact a:focus-visible { background-size: 100% 1px; }
.member__contact--inline { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin-top: .5rem; }

/* Lightbox + gallery motion (image movement is animated in main.js) */
.lightbox { background: rgba(14, 15, 16, 0); transition: background-color .4s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox.is-open { background: rgba(14, 15, 16, .96); }
.lightbox__caption, .lightbox__btn, .lightbox__close { opacity: 0; transition: opacity .3s var(--ease), background .2s, border-color .2s, color .2s; }
.lightbox.is-open :is(.lightbox__caption, .lightbox__btn, .lightbox__close) { opacity: 1; transition-delay: .15s, 0s, 0s, 0s; }
.lightbox__img { will-change: transform, opacity; }
@media (prefers-reduced-motion: no-preference) {
  .gallery.is-expanded .is-extra { animation: gallery-in .55s var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms); }
}
@keyframes gallery-in { from { opacity: 0; transform: translateY(16px); } }
