/* ==========================================================================
   Strøk & Farge - CLASSIC tier
   Eggshell #F4EFE6 · sage #8A9A82 · clay #B5765A · ink-blue #2E3A4A
   Bricolage Grotesque (display) · Inter (body) · Kaushan Script (script wordmark)
   Classic = static. Identical structure + branding to premium at rest (family rule #31);
   the static-override block at the end of this file neutralises every motion/hover delta.
   No rotate() in any infinite keyframe (translate/scale only, family rule #7).
   ========================================================================== */

:root {
  /* Palette - heritage colour house */
  --chalk:       #F4EFE6;
  --chalk-deep:  #EAE1D0;
  --sage:        #8A9A82;
  --sage-deep:   #6E805F;
  --clay:        #B5765A;
  --clay-deep:   #996047;
  --putty:       #C9BBA6;
  --ink:         #2E3A4A;   /* dark panel token (nav, footer, hero scrim) - rgb 46,58,74 */
  --ink-night:   #242E3B;
  --bg:          #FFFFFF;
  --text:        #333B45;
  --text-soft:   #5C6470;
  --text-faint:  #8A9199;
  --line:        #E2DACB;
  --line-dark:   rgba(255,255,255,0.14);
  --white-soft:  rgba(255,255,255,0.82);

  /* Type */
  --font-display:  'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-wordmark: 'Kaushan Script', cursive;

  /* Metrics */
  --maxw:      1280px;
  --nav-h:     74px;
  --radius:    14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 12px rgba(46,58,74,0.07);
  --shadow:    0 16px 44px rgba(46,58,74,0.13);
  --shadow-lg: 0 28px 74px rgba(36,46,59,0.22);
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);

  /* Button system (family rule #42) - bound to the ONE .btn below so every button is identical in size/shape */
  --btn-radius:      10px;
  --btn-pad-y:       0.9rem;
  --btn-pad-x:       1.8rem;
  --btn-font-size:   0.95rem;
  --btn-font-weight: 600;
  --btn-min-height:  3rem;
  --btn-tracking:    0.02em;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--chalk);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* === Layout helpers === */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-alt { background: var(--chalk-deep); }
.section-deep { background: var(--ink); color: var(--white-soft); }
.section-deep h2, .section-deep h3, .section-deep h4 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  color: var(--clay);
  margin-bottom: 0.85rem;
}
.section-deep .eyebrow { color: var(--putty); }
.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { margin-top: 0.9rem; color: var(--text-soft); font-size: 1.07rem; }
.section-deep .section-head p { color: var(--white-soft); }

/* === Buttons (ONE base, colour-only variants - family rule #42) === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: var(--btn-min-height);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 2px solid transparent;
  border-radius: var(--btn-radius);
  font-family: var(--font-display);
  font-weight: var(--btn-font-weight);
  font-size: var(--btn-font-size);
  line-height: 1.1;
  letter-spacing: var(--btn-tracking);
  white-space: nowrap;
  width: auto;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-accent { background: var(--clay); color: #fff; box-shadow: 0 10px 24px rgba(181,118,90,0.3); }
.btn-accent:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(181,118,90,0.4); }
.btn-sage { background: var(--sage-deep); color: #fff; }
.btn-sage:hover { background: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
/* The ONE full-width mechanism (family rule #42) - replaces every element-specific width:100% override. */
.btn--block { width: 100%; }
/* Compact nav variant (the single sanctioned size exception) - the befaring-CTA pill in the top bar. */
.btn--nav { --btn-pad-y: 0.55rem; --btn-pad-x: 1.15rem; --btn-font-size: 0.85rem; --btn-min-height: 0; }
.btn svg { width: 18px; height: 18px; }

.text-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--sage-deep);
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: color 0.25s var(--ease);
}
.text-link span { transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--clay); }
.text-link:hover span { transform: translateX(4px); }

/* === Navigation === */
.nav {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(36,46,59,0.35); background: var(--ink-night); }
.nav-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(1.25rem, 2.5vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(0.4rem, 0.6vw, 0.75rem);
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; color: #fff; flex-shrink: 0; }
.nav-logo svg { color: var(--clay); flex-shrink: 0; }
.nav-logo .nav-brand {
  font-family: var(--font-wordmark);
  font-size: 1.42rem;
  letter-spacing: 0.01em;
  white-space: nowrap; line-height: 1;
}
.nav-logo .nav-brand .accent { color: var(--putty); }
.nav-links { flex: 1 1 auto; display: flex; justify-content: center; gap: clamp(0.9rem, 2vw, 2.2rem); }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--white-soft);
  padding: 0.4rem 0;
  text-decoration: none;
  transition: color 0.22s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--putty); }
.nav-right { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
/* Nav CTA: size/shape/colour come from .btn + .btn-accent + .btn--nav (family rule #42).
   .nav-cta is retained only as a hook for the responsive rules + the svg affordance. */
.nav-cta svg { width: 15px; height: 15px; }
/* Sliding-pill NO/EN toggle (family rule #56f - renhold reference, dark-nav tokens).
   The .34s cubic-bezier slide + translateX(100%) are the family-locked mechanic; pill fill = clay accent. */
.lang-toggle {
  position: relative; display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px; padding: 3px; cursor: pointer;
  transition: border-color 0.22s var(--ease);
}
.lang-toggle:hover { border-color: rgba(255,255,255,0.45); }
.lang-toggle .lang-pill {
  position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px);
  background: var(--clay); border-radius: 999px;
  transition: transform 0.34s cubic-bezier(0.34, 1.45, 0.5, 1);
}
.lang-toggle[data-lang="en"] .lang-pill { transform: translateX(100%); }
.lang-opt {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem; min-width: 32px; text-align: center;
  color: rgba(255,255,255,0.72); transition: color 0.25s var(--ease);
}
.lang-toggle[data-lang="no"] .lang-opt[data-l="no"],
.lang-toggle[data-lang="en"] .lang-opt[data-l="en"] { color: #fff; }

.hamburger { display: none; width: 30px; height: 22px; position: relative; }
.hamburger span {
  position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px;
  background: #fff; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9.5px; }
.hamburger span:nth-child(3) { top: 19px; }
.hamburger.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* Mobile menu - solid dropdown card (base; premium overrides to liquid glass at end of file) */
.mobile-menu {
  position: fixed; top: var(--nav-h); right: 1rem;
  width: 250px; background: var(--ink-night);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem; z-index: 99;
  display: none; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) {
  /* scoped :not(.btn) so the drawer CTA (a real .btn per rule #43-amended) keeps its .btn token padding */
  color: var(--white-soft);
  font-family: var(--font-display); font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 0.9rem; border-radius: var(--radius-sm);
}
.mobile-menu a:hover:not(.mobile-cta) { color: var(--putty); background: rgba(255,255,255,0.05); }
/* Active-page row needs a visible background "skin" tint + inset accent bar, not text-colour alone (rule #49). */
.mobile-menu a.active:not(.mobile-cta) { color: var(--putty); background: rgba(201,187,166,0.16); box-shadow: inset 3px 0 0 var(--putty); }
/* Drawer CTA is the canonical .btn btn-accent (rule #43-amended: comfortable, content-sized, centered).
   Only layout lives here; size/shape/colour come from the one .btn system (rule #42). */
.mobile-menu .mobile-cta { margin-top: 0.6rem; align-self: center; }
.mobile-menu #mobile-lang-toggle { margin-top: 0.4rem; align-self: center; }

/* === Hero (desktop: text LEFT, media focus RIGHT - family rule #37) === */
.hero {
  position: relative;
  min-height: 560px; height: 76vh; max-height: 740px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 66% 48%;
  background-size: cover; background-position: 66% 48%;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(46,58,74,0.86) 0%, rgba(46,58,74,0.55) 34%, rgba(46,58,74,0.16) 58%, rgba(46,58,74,0) 74%);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.hero-inner { max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  color: var(--putty); margin-bottom: 1.1rem;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--clay); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 600; line-height: 1.08;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 24px rgba(36,46,59,0.5), 0 1px 4px rgba(36,46,59,0.45);
}
.hero h1 .hero-type { color: var(--putty); display: block; min-height: 1em; }   /* second headline line = the deliberate 2-line shape (rule #40c); putty accent per the rotating-highlight contract */
.hero h1 .hero-break { display: none; }   /* mobile-only line break (shown <=768; base before media query so the media rule wins) */
.hero-sub { color: rgba(255,255,255,0.92); font-size: 1.14rem; max-width: 520px; margin-bottom: 2rem; text-shadow: 0 1px 12px rgba(36,46,59,0.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2.6rem;
  color: rgba(255,255,255,0.78); font-size: 0.88rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--putty); }

/* === Colour-of-the-month stripe (premium signature; JSON-driven on premium, static on classic) === */
.com-strip { background: var(--ink-night); }
.com-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.2rem 2rem; padding: 1.5rem 0;
}
.com-left { display: flex; align-items: center; gap: 1.1rem; }
.com-swatch {
  width: 52px; height: 52px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: #97A98B;  /* July fallback; premium JS sets the live month */
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.com-label {
  display: block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem;
  color: var(--putty);
}
.com-name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: #fff; line-height: 1.25; }
.com-desc { color: var(--white-soft); font-size: 0.92rem; max-width: 430px; }
.com-strip .text-link { color: var(--putty); }
.com-strip .text-link:hover { color: #fff; }

/* === Service cards (home preview) === */
.services-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover, .service-card.is-tapped { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sage); }
.service-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .service-card-media img, .service-card.is-tapped .service-card-media img { transform: scale(1.06); }
.service-card-ic {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage-deep); color: #fff;
  display: grid; place-items: center;
}
.service-card-ic svg { width: 21px; height: 21px; }
.service-card-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { font-size: 1.3rem; margin-bottom: 0.55rem; }
.service-card-body p { color: var(--text-soft); font-size: 0.97rem; margin-bottom: 1.1rem; flex: 1; }

/* === Service rows (tjenester listing page) === */
.service-rows { display: grid; gap: clamp(2rem, 4vw, 3.2rem); }
.service-row {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-row:hover, .service-row.is-tapped { box-shadow: var(--shadow); border-color: var(--sage); }
.service-row.reverse .service-row-media { order: 2; }
.service-row-media { position: relative; height: 100%; min-height: 300px; }
.service-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-row-ic {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sage-deep); color: #fff;
  display: grid; place-items: center;
}
.service-row-ic svg { width: 22px; height: 22px; }
.service-row-body { padding: clamp(1.6rem, 3vw, 2.6rem); }
.service-row-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 0.7rem; }
.service-row-body > p { color: var(--text-soft); font-size: 1rem; }
.feature-list { margin-top: 1.3rem; display: grid; gap: 0.75rem; }
.feature-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-soft); font-size: 0.96rem; }
.feature-list svg { width: 20px; height: 20px; color: var(--clay); flex-shrink: 0; margin-top: 3px; }
.feature-list strong { color: var(--text); font-weight: 600; }

/* === Colour palette gallery (farger section) === */
.swatch-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.swatch-card {
  position: relative;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.swatch-card:hover, .swatch-card.is-tapped { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sage); }
.swatch-block { height: 130px; }
.swatch-body { padding: 1.2rem 1.4rem 1.4rem; }
.swatch-body h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.swatch-body p { color: var(--text-soft); font-size: 0.9rem; }
.swatch-code { display: block; margin-top: 0.5rem; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--text-faint); text-transform: uppercase; }
.swatch-badge {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: var(--ink); color: var(--putty);
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.68rem;
  padding: 0.35rem 0.8rem; border-radius: 999px;
}

/* === Before / after slider (premium signature; consulted snekker-demo .ba-slider) === */
.pf-projects { display: grid; gap: clamp(2.6rem, 5vw, 4rem); }
.pf-project-head { max-width: 680px; margin-bottom: 1.4rem; }
.pf-project-head h3 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.pf-project-head p { color: var(--text-soft); margin-top: 0.5rem; font-size: 0.99rem; }
.ba-slider {
  position: relative;
  max-width: 880px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.ba-slider .ba-base { display: block; width: 100%; height: auto; position: relative; z-index: 0; pointer-events: none; }
.ba-slider .ba-after-wrap {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid rgba(255,255,255,0.85);
  z-index: 1;
}
.ba-slider .ba-after-wrap img {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: auto;
  max-width: none;
  pointer-events: none;
  /* matched-dimension pair: height 100% gives exactly the slider width,
     anchored at left 0 so it aligns pixel-for-pixel with the base image */
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 44px; margin-left: -22px;
  display: flex; align-items: center; justify-content: center;
  cursor: ew-resize;
  z-index: 2;
}
.ba-handle::before { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.85); }
.ba-handle-knob {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--clay);
  position: relative; z-index: 1;
}
.ba-handle-knob svg { width: 22px; height: 22px; }
.ba-label {
  position: absolute;
  bottom: 1rem; z-index: 2;
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  background: rgba(36,46,59,0.72);
  padding: 0.35rem 0.75rem; border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba-label.before { right: 1rem; }
.ba-label.after  { left: 1rem; }
/* Static side-by-side pair (classic tier + graceful fallback) */
.ba-static { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ba-static figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--bg); }
.ba-static img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-static figcaption {
  padding: 0.7rem 1rem; font-family: var(--font-display); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft);
}

/* === Gallery (portfolio listing - column layout for counter-phase drift) ===
   4 column-wrappers x 3 images: <=980 the grid collapses to 2 columns, so 4 wrappers
   pair up into a balanced 2x2 (3 wrappers left one stranded - Bithun review 2026-07-02). */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: start; }
.gallery-col { display: grid; gap: 1.1rem; }
.gallery-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--ink);
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.55s var(--ease), filter 0.5s var(--ease); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.3rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(36,46,59,0.92), transparent);
  color: #fff; font-family: var(--font-display); font-weight: 500;
  font-size: 0.86rem;
}

/* === Split / feature row === */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.split-media.portrait img { aspect-ratio: 3 / 4; }
.split-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.split-text > p { color: var(--text-soft); margin-top: 1rem; font-size: 1.05rem; }
.section-deep .split-text > p { color: var(--white-soft); }
.team-names { margin-top: 1.4rem; display: grid; gap: 0.55rem; }
.team-names li { display: flex; gap: 0.7rem; align-items: baseline; font-size: 0.98rem; color: var(--text-soft); }
.team-names strong { color: var(--text); font-weight: 600; }

/* === Stats row === */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.4rem 0.5rem; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.1rem); color: var(--putty); line-height: 1; }
.stat-label { margin-top: 0.5rem; font-size: 0.88rem; color: var(--white-soft); letter-spacing: 0.02em; }

/* === Values / certification cards === */
.values-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.value-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.6rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.value-card:hover, .value-card.is-tapped { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sage); }
.value-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--chalk); color: var(--sage-deep); display: grid; place-items: center; margin-bottom: 1.1rem; }
.value-ic svg { width: 27px; height: 27px; }
.value-card h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--text-soft); font-size: 0.97rem; }
.cert-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cert-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cert-card:hover, .cert-card.is-tapped { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sage); }
.cert-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--chalk); color: var(--clay); display: grid; place-items: center; margin: 0 auto 1rem; }
.cert-ic svg { width: 26px; height: 26px; }
.cert-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.cert-card p { color: var(--text-soft); font-size: 0.9rem; }

/* === Process steps === */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; position: relative; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--putty);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  display: grid; place-items: center; margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.step-card p { color: var(--text-soft); font-size: 0.92rem; }

/* === Estimate calculator (premium signature) === */
.est-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.6rem, 3.5vw, 3rem); align-items: start; }
.est-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.est-card h3 { font-size: 1.4rem; margin-bottom: 1.3rem; }
.est-aside { background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; }
.est-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.est-aside-body { padding: clamp(1.5rem, 3vw, 2.1rem); }
.est-aside-body h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.6rem; }
.est-aside-body p { color: var(--white-soft); font-size: 0.96rem; margin-bottom: 1.4rem; }
.est-result {
  display: none;
  margin-top: 1.4rem; padding: 1.4rem 1.5rem;
  background: var(--chalk); border-radius: var(--radius-sm);
  border-left: 4px solid var(--sage-deep);
}
.est-result.show { display: block; }
.est-result-label { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; color: var(--sage-deep); }
.est-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--ink); line-height: 1.2; margin: 0.3rem 0 0.6rem; }
.est-note { font-size: 0.86rem; color: var(--text-soft); }
.est-result .btn { margin-top: 1.1rem; }
/* Static estimate pitch (classic tier equivalent) */
.est-static { max-width: 720px; margin: 0 auto; text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow-sm); }
.est-static h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.est-static p { color: var(--text-soft); margin-bottom: 1.5rem; }

/* === Testimonial === */
.testimonial { background: var(--chalk-deep); text-align: center; }
.testimonial blockquote { max-width: 760px; margin: 0 auto; }
.testimonial-quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 3.2vw, 2rem); color: var(--ink); line-height: 1.4; }
.testimonial-author { margin-top: 1.3rem; color: var(--text-soft); font-size: 0.98rem; }
.testimonial-stars { display: flex; justify-content: center; gap: 0.3rem; margin-bottom: 1.4rem; color: var(--clay); }
.testimonial-stars svg { width: 22px; height: 22px; }

/* === Info strip === */
.info-strip { background: var(--sage-deep); }
.info-strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem 3rem; padding: 1.5rem 0; }
.info-item { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 600; }
.info-item svg { width: 20px; height: 20px; }
.info-item strong { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em; }

/* === CTA band === */
.cta-band { position: relative; overflow: hidden; background: var(--ink); }
.cta-band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.25; z-index: 0; }
.cta-band-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(36,46,59,0.95), rgba(36,46,59,0.72), rgba(36,46,59,0.95)); }
.cta-band-inner { position: relative; z-index: 2; text-align: center; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 0.7rem; }
.cta-band p { color: var(--white-soft); max-width: 560px; margin: 0 auto 1.8rem; }

/* === Page banner (sub-pages) === */
.page-banner { position: relative; min-height: 340px; display: flex; align-items: center; overflow: hidden; }
.page-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-banner-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(46,58,74,0.9), rgba(46,58,74,0.55)); }
.page-banner-content { position: relative; z-index: 2; padding-top: 3rem; padding-bottom: 3rem; }
.page-banner h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.3rem); }
.page-banner p { color: rgba(255,255,255,0.85); margin-top: 0.7rem; font-size: 1.1rem; max-width: 580px; }

/* === Forms === */
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--text-soft); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--chalk); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.8rem 1rem; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-deep); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field-check { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; }
.field-check input { width: 18px; height: 18px; accent-color: var(--sage-deep); }
.field-check label { font-size: 0.95rem; color: var(--text-soft); }
.form-note { font-size: 0.84rem; color: var(--text-faint); margin-top: 0.6rem; }
.form-feedback { display: none; }
.form-feedback.show { display: block; background: var(--chalk); border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--sage-deep); font-weight: 600; margin-top: 0.4rem; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-info { display: grid; gap: 1.3rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row .contact-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); color: var(--sage-deep); display: grid; place-items: center; }
.contact-row .contact-ic svg { width: 22px; height: 22px; }
.contact-row h4 { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--text-soft); margin-bottom: 0.2rem; }
.contact-row a, .contact-row p { color: var(--text); font-size: 1.02rem; }
.contact-row a:hover { color: var(--clay); }
.contact-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 1.3rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 2.5rem; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* === Footer === */
.footer { background: var(--ink-night); color: var(--white-soft); padding: clamp(3rem, 5vw, 4.5rem) 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.8rem; }
.footer-wordmark {
  font-family: var(--font-wordmark);
  font-size: clamp(2rem, 4vw, 2.7rem); color: #fff; line-height: 1.15; margin-bottom: 0.9rem;
}
.footer-wordmark .accent { color: var(--putty); }
.footer-brand p { color: var(--white-soft); font-size: 0.96rem; max-width: 320px; }
.footer-address { font-style: normal; color: var(--white-soft); margin-top: 1rem; font-size: 0.95rem; }
.footer-social-label { margin-top: 1.4rem; font-family: var(--font-display); font-weight: 500; letter-spacing: 0.04em; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.7rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-dark); display: grid; place-items: center;
  color: var(--white-soft); transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer-social a:hover { background: var(--clay); color: #fff; border-color: var(--clay); }
.footer-social svg { width: 18px; height: 18px; }
.footer h4 { color: var(--putty); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em; font-size: 1rem; margin-bottom: 1.1rem; }
.footer-links ul { display: grid; gap: 0.6rem; }
.footer-links a { color: var(--white-soft); font-size: 0.96rem; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--putty); }
.footer-contact p { margin-bottom: 0.55rem; font-size: 0.96rem; }
.footer-contact a:hover { color: var(--putty); }
.response-note { color: rgba(255,255,255,0.5); font-size: 0.86rem; margin-top: 0.8rem; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem;
  font-size: 0.86rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a:hover { color: var(--putty); }

/* === Demo modal (dormant by contract; NO payment-activation line - no-payment niche exemption 2026-06-03) === */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(36,46,59,0.6);
}
.modal-backdrop.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius); max-width: 440px; width: 100%; padding: 2.2rem; text-align: center; box-shadow: var(--shadow-lg); }
.modal-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink); color: var(--putty);
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.74rem; padding: 0.4rem 0.9rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.modal-box h2 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.modal-box p { color: var(--text-soft); margin-bottom: 0.7rem; font-size: 0.98rem; }
.modal-box a { color: var(--clay); font-weight: 600; }
/* Modal close is the canonical .btn btn-sage btn--block (family rule #42); margin-top is layout, kept on the container scope. */
.modal-box .btn { margin-top: 1rem; }

/* === 404 === */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--ink); padding: 2rem; }
.notfound-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 18vw, 11rem); color: var(--putty); line-height: 1; }
.notfound h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0.5rem 0 1rem; }
.notfound p { color: var(--white-soft); max-width: 440px; margin: 0 auto 1.8rem; }

/* === Reveal on scroll (premium) === */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .est-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; }
  .service-row.reverse .service-row-media { order: 0; }
  .service-row-media { min-height: 240px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-right > #lang-toggle { display: inline-flex; }   /* lang toggle visible OUTSIDE the drawer in the nav bar on mobile (family rule #43) */
  .nav-cta { display: none; }                           /* CTA moves INTO the drawer on mobile (family rule #43) */
  .mobile-menu #mobile-lang-toggle { display: none; }   /* only ONE lang toggle on mobile - the nav-bar one */
  /* Mobile hero (family rule #37 - the dyrlege top-overlap overlay): the WHOLE 16:9 frame FITS the
     screen width uncropped; the headline overlays the media top-LEFT, lifted up, no scroll needed.
     Sub/buttons/trust flow below on the ink panel. Dual scrim keeps the LEFT text legible. */
  .hero { display: block; height: auto; min-height: 0; max-height: none; padding: 0 0 2.2rem; background: var(--ink); }
  .hero-bg { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
  .hero-video { position: absolute; top: 0; left: 0; right: 0; bottom: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
  .hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: auto; width: 100%; aspect-ratio: 16 / 9; z-index: 1;
    background: linear-gradient(180deg, rgba(46,58,74,0) 44%, rgba(46,58,74,0.5) 78%, rgba(46,58,74,0.9) 100%),
                linear-gradient(96deg, rgba(46,58,74,0.92) 0%, rgba(46,58,74,0.62) 37%, rgba(46,58,74,0.14) 65%, rgba(46,58,74,0) 85%); }
  .hero-content { position: relative; z-index: 2; padding: 0 1.15rem; margin-top: calc(-1 * (100vw * 9 / 16) + 1.4rem); }
  .hero-eyebrow { margin-bottom: 0.55rem; }
  .hero h1 .hero-break { display: inline; }   /* break the white headline into 2 lines on mobile */
  .hero-actions { display: grid; grid-template-columns: max-content; gap: 0.9rem; justify-content: start; }
  /* Hero buttons are content-sized + equalized by the max-content grid column (rule #40a) - no width:100% override. */
  .hero h1 { font-size: clamp(1.7rem, 6vw, 2.35rem); margin-bottom: 1rem; }
  .hero-sub { font-size: 0.97rem; margin-top: 0.7rem; }
  .com-strip-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ba-static { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .nav-cta { display: none; }                /* CTA stays in mobile drawer (family rule) */
  .container { padding: 0 1.15rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(1.55rem, 7.5vw, 2.05rem); }
  .btn { width: auto; }                      /* buttons stay content-sized on mobile (rule #40a) */
  .swatch-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .ba-static { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CLASSIC STATIC OVERRIDE - no animation, no transition, no hover motion.
   Premium > classic is motion/interaction only (family rule #31); structure
   and branding are identical at rest. This block neutralises every hover/
   animation delta so classic reads as the static, lower-tier marketing site.
   ========================================================================== */
*, *::before, *::after {
  animation: none !important;
  transition: none !important;
}
/* No scroll-reveal on classic - force any .reveal content visible. */
.reveal { opacity: 1 !important; transform: none !important; }
/* Neutralise EVERY appearance-changing hover: transform, lift, shadow, border, filter (family rule G1). */
.btn:hover, .btn-accent:hover, .btn-sage:hover, .btn-ghost:hover, .nav-cta:hover {
  transform: none !important;
  box-shadow: none !important;
}
.service-card:hover, .service-row:hover, .swatch-card:hover, .value-card:hover, .cert-card:hover {
  transform: none !important; box-shadow: none !important; border-color: var(--line) !important;
}
.service-card:hover .service-card-media img { transform: none !important; filter: none !important; }
.gallery-item img { filter: none !important; }              /* classic gallery: full colour at rest, no grayscale reveal */
.gallery-item:hover img { transform: none !important; filter: none !important; }
.gallery-item { cursor: default; }
.text-link:hover span, .footer-social a:hover { transform: none !important; }
/* Keep the hamburger glyph morph (display-based menu, not animated). */
.hamburger.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg) !important; }
.hamburger.open span:nth-child(2) { opacity: 0 !important; }
.hamburger.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg) !important; }
