/* Balnor Entreprenør AS — site styles
   Breakpoints: desktop ≥ 1100px · tablet 768–1099px · mobile < 768px
   Colours: green #5B8065 (hover #46614C) · ink #1B1B1B · body #5E5E5E · paper #F7F7F7 · sage #EFF1EC */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #F7F7F7; color: #1B1B1B; font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.5; }
img, video { max-width: 100%; }
a { color: #5B8065; text-decoration: none; }
:where(a:hover) { color: #46614C; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 3000; background: #1B1B1B; color: #F7F7F7; padding: 10px 16px; border-radius: 3px; font-weight: 600; }
.skip:focus { top: 12px; color: #F7F7F7; }
:focus-visible { outline: 2px solid #5B8065; outline-offset: 3px; }

/* layout container: 64px gutters on desktop, content never wider than 1312px */
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 64px; padding-right: 64px; }
@media (max-width: 1099px) { .wrap { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 767px)  { .wrap { padding-left: 20px; padding-right: 20px; } }

/* ── shared type ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Source Sans Pro', sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 3px; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background .2s ease; }
.btn-primary { background: #5B8065; color: #F7F7F7; }
.btn-primary:hover, .btn-primary:focus-visible { background: #46614C; color: #F7F7F7; }
.eyebrow { font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #5B8065; }
.h2 { font-family: 'Work Sans', sans-serif; font-weight: 600; color: #1B1B1B; font-size: 36px; line-height: 1.15; letter-spacing: -0.01em; }
.body-text { color: #4F4F4D; line-height: 1.6; font-size: 16px; }
.sec-lede { font-size: 18px; line-height: 1.6; color: #3F3F3D; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #1B1B1B; background: #F7F7F7; padding: 6px 12px; border-radius: 2px; }
.card-title { display: block; font-weight: 600; font-size: 17px; color: #1B1B1B; }
.card-loc { display: block; font-size: 14px; color: #5E5E5E; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 600px; margin-bottom: 56px; }
@media (max-width: 1099px) { .h2 { font-size: 30px; } .sec-head { margin-bottom: 40px; } }
@media (max-width: 767px)  { .h2 { font-size: 25px; } .sec-head { margin-bottom: 28px; gap: 10px; } }

/* ── header + mobile menu ───────────────────────────────────── */
.site-header { position: relative; z-index: 50; background: #F7F7F7; border-bottom: 1px solid #E3E3DF; }
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.logo { display: block; flex: 0 0 auto; }
.logo img { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav-link { font-size: 15px; font-weight: 500; color: #1B1B1B; }
.nav-link:hover { color: #46614C; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; color: #1B1B1B; cursor: pointer; padding: 0; margin-right: -10px; border-radius: 3px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu { display: none; }
@media (max-width: 1099px) {
  .site-header > .wrap { padding-top: 18px; padding-bottom: 18px; }
  .logo img { height: 40px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; background: #F7F7F7; border-bottom: 1px solid #E3E3DF; box-shadow: 0 24px 40px -28px rgba(0,0,0,0.35); }
  .menu.is-open { display: block; }
  .menu ul { list-style: none; margin: 0; padding: 8px 0 20px; }
  .menu li a { display: block; padding: 14px 0; font-family: 'Work Sans', sans-serif; font-size: 20px; font-weight: 500; color: #1B1B1B; border-bottom: 1px solid #E8E8E4; }
  .menu li a:hover { color: #46614C; }
  .menu-foot { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; }
  .menu-foot .btn { width: 100%; padding: 15px 24px; }
  .menu-call { font-size: 15px; color: #5E5E5E; text-align: center; }
  .menu-call a { font-weight: 600; color: #1B1B1B; }
}
@media (min-width: 768px) and (max-width: 1099px) { .menu-foot .btn { display: none; } }
@media (max-width: 767px) {
  .site-header > .wrap { padding-top: 14px; padding-bottom: 14px; }
  .logo img { height: 34px; }
  .head-actions .btn { display: none; }
}

/* ── hero ───────────────────────────────────────────────────── */
.fh { position: relative; overflow: hidden; background: #2A2622; color: #F7F7F7; touch-action: pan-y; isolation: isolate;
  height: clamp(560px, 86vh, 940px); height: clamp(560px, 86svh, 940px); --hold: 6000ms; --fade: 1400ms; }
.fh-media { position: absolute; inset: 0; z-index: 0; }
.fh-slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity var(--fade) cubic-bezier(.4,0,.2,1); }
.fh-slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.fh-slide.is-on { opacity: 1; z-index: 2; }
.fh-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transform: scale(1.06);
  transition: transform calc(var(--hold) + var(--fade) + 1200ms) cubic-bezier(.25,.6,.3,1); -webkit-user-drag: none; user-select: none; }
.fh-slide.is-on img, .fh-slide.is-prev img { transform: scale(1); }
.fh-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,14,12,0.80) 0%, rgba(16,14,12,0.62) 24%, rgba(16,14,12,0.30) 46%, rgba(16,14,12,0.06) 66%, rgba(16,14,12,0) 78%),
    linear-gradient(0deg, rgba(16,14,12,0.58) 0%, rgba(16,14,12,0.18) 22%, rgba(16,14,12,0) 38%),
    radial-gradient(ellipse 60% 70% at 18% 48%, rgba(16,14,12,0.28), rgba(16,14,12,0) 70%); }
.fh-inner { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none;
  padding-top: clamp(96px, 16vh, 150px); padding-bottom: 34px; }
.fh-inner a, .fh-inner button { pointer-events: auto; }
.fh-copy { display: flex; flex-direction: column; gap: 24px; max-width: 600px; }
.fh-eyebrow { font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #B5CBB2; }
.fh-h1 { font-family: 'Work Sans', sans-serif; font-weight: 600; color: #F7F7F7; font-size: 64px; line-height: 1.05; letter-spacing: -0.022em; text-shadow: 0 1px 30px rgba(0,0,0,0.18); }
.fh-lede { font-size: 18px; line-height: 1.6; color: rgba(247,247,247,0.84); max-width: 470px; }
.fh-actions { display: flex; align-items: center; gap: 28px; margin-top: 10px; flex-wrap: wrap; }
.fh-actions .btn { padding: 16px 30px; }
.fh-link { font-weight: 600; font-size: 15px; color: #F7F7F7; }
.fh-link span { display: inline-block; transition: transform .4s cubic-bezier(.2,.7,.1,1); }
.fh-link:hover { color: #F7F7F7; } .fh-link:hover span { transform: translateX(4px); }
.fh-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; border-top: 1px solid rgba(247,247,247,0.22); padding-top: 22px; }
.fh-stats { display: flex; align-items: stretch; }
.fh-stat { display: flex; flex-direction: column; gap: 2px; color: inherit; }
.fh-stat:hover { color: inherit; }
.fh-stat strong { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 26px; line-height: 1.15; color: #F7F7F7; }
.fh-stat > span { font-size: 13px; color: rgba(247,247,247,0.7); transition: color .3s ease; }
.fh-stat:hover > span { color: #F7F7F7; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(247,247,247,0.4); }
.fh-stars { font-style: normal; font-size: 0.5em; letter-spacing: 0.08em; color: #E2BE6E; margin-left: 0.45em; vertical-align: 0.28em; }
.fh-ctrl { display: flex; align-items: center; gap: 22px; }
.fh-cap { font-size: 13px; color: rgba(247,247,247,0.78); text-align: right; white-space: nowrap; min-width: 200px; }
.fh-cap b { font-weight: 600; color: #F7F7F7; }
.fh-segs { display: flex; align-items: center; gap: 6px; }
.fh-seg { position: relative; width: 40px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.fh-seg::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(247,247,247,0.32); transition: background .3s ease; }
.fh-seg:hover::before { background: rgba(247,247,247,0.6); }
.fh-seg i { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #F7F7F7; transform: scaleX(0); transform-origin: left; }
.fh-seg.is-done i { transform: scaleX(1); }
.fh-seg.is-on i { animation: var(--anim, fhA) var(--hold) linear forwards; }
.fh-seg.is-on.is-static i { animation: none; transform: scaleX(1); }
.fh.is-paused .fh-seg.is-on i { animation-play-state: paused; }
@keyframes fhA { to { transform: scaleX(1); } } @keyframes fhB { to { transform: scaleX(1); } }
.fh-count { font-family: 'Work Sans', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.06em; color: rgba(247,247,247,0.85); font-variant-numeric: tabular-nums; }
.fh-pp { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(247,247,247,0.32); background: transparent; color: #F7F7F7; padding: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .3s ease, background .3s ease; }
.fh-pp:hover { border-color: rgba(247,247,247,0.7); background: rgba(247,247,247,0.08); }
.fh-pp .i-play { display: none; }
.fh.is-stopped .fh-pp .i-play { display: block; }
.fh.is-stopped .fh-pp .i-pause { display: none; }
.fh a:focus-visible, .fh button:focus-visible { outline: 2px solid #B5CBB2; outline-offset: 3px; }
.fh-bg { display: none; }

@media (min-width: 768px) and (max-width: 1099px) {
  .fh-shade { background:
      linear-gradient(90deg, rgba(16,14,12,0.82) 0%, rgba(16,14,12,0.6) 34%, rgba(16,14,12,0.22) 62%, rgba(16,14,12,0) 84%),
      linear-gradient(0deg, rgba(16,14,12,0.62) 0%, rgba(16,14,12,0.12) 26%, rgba(16,14,12,0) 40%); }
  .fh-inner { padding-top: clamp(72px, 11vh, 92px); padding-bottom: 28px; }
  .fh-h1 { font-size: 52px; }
  .fh-copy { max-width: 520px; gap: 20px; }
  .fh-lede { font-size: 17px; }
  .fh-bar { flex-direction: column; align-items: stretch; gap: 22px; }
  .fh-cap { text-align: left; margin-right: auto; }
}

/* mobile: text, then the photo slider, then the rating — over a blurred copy of the photo */
@media (max-width: 767px) {
  .fh { display: flex; flex-direction: column; gap: 24px; height: auto; overflow: hidden; padding: 40px 20px 44px; background: #1A1815; touch-action: auto; }
  .fh-bg { display: block; position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #1A1815; }
  .fh-bgi { position: absolute; inset: -60px; opacity: 0; filter: blur(34px) saturate(0.9) brightness(0.95); transform: scale(1.1); transition: opacity var(--fade) cubic-bezier(.4,0,.2,1); }
  .fh-bgi img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .fh-bgi.is-prev { opacity: 1; transition: none; }
  .fh-bgi.is-on { opacity: 1; z-index: 1; }
  .fh-bg::after { content: ''; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(180deg, rgba(22,20,17,0.74) 0%, rgba(22,20,17,0.68) 40%, rgba(22,20,17,0.58) 62%, rgba(22,20,17,0.78) 100%); }
  .fh-inner, .fh-bar { display: contents; }
  .fh-inner.wrap { padding: 0; }
  .fh-shade { display: none; }
  .fh-copy { order: 1; gap: 16px; max-width: none; }
  .fh-eyebrow { letter-spacing: 0.14em; color: #A9C2A6; }
  .fh-h1 { font-size: 32px; line-height: 1.14; letter-spacing: -0.01em; text-shadow: none; }
  .fh-lede { color: rgba(247,247,247,0.76); font-size: 15.5px; max-width: none; }
  .fh-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 4px; }
  .fh-actions .btn { width: 100%; padding: 15px 24px; }
  .fh-link { text-align: center; padding: 8px 0; font-size: 14.5px; }
  .fh-media { order: 2; position: relative; inset: auto; width: 100%; aspect-ratio: 3 / 2; border-radius: 3px; overflow: hidden;
    background: #2A2723; box-shadow: 0 18px 36px -18px rgba(0,0,0,0.6); touch-action: pan-y; }
  .fh-slide img { transform: none; transition: none; }
  .fh-ctrl { order: 3; margin-top: -8px; flex-wrap: wrap; justify-content: space-between; row-gap: 2px; column-gap: 12px; }
  .fh-cap { display: block; order: -1; width: 100%; min-width: 0; text-align: left; color: rgba(247,247,247,0.65); white-space: normal; }
  .fh-segs { flex: 1; gap: 4px; }
  .fh-seg { flex: 1; width: auto; height: 40px; }
  .fh-seg::before { background: rgba(247,247,247,0.22); }
  .fh-count { color: rgba(247,247,247,0.7); }
  .fh-pp { width: 36px; height: 36px; border-color: rgba(247,247,247,0.3); }
  .fh-stats { order: 4; display: grid; grid-template-columns: minmax(0,1fr); padding-top: 20px; border-top: 1px solid rgba(247,247,247,0.16); }
  .fh-stat { align-items: center; text-align: center; }
  .fh-stat strong { font-size: 21px; }
  .fh-stars { font-size: 11px; margin-left: 0.5em; vertical-align: 0.3em; }
  .fh-stat > span { color: rgba(247,247,247,0.65); font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .fh-slide { transition-duration: 300ms !important; }
  .fh-slide img { transform: none !important; transition: none !important; }
  .fh-seg.is-on i { animation: none !important; transform: scaleX(1); }
}

/* ── services ───────────────────────────────────────────────── */
.services { background: #EFF1EC; padding: 80px 0; scroll-margin-top: 0; }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px 32px; }
.svc { display: flex; flex-direction: column; gap: 16px; }
.svc-icon { width: 52px; height: 52px; border-radius: 3px; background: #E1E9DE; display: flex; align-items: center; justify-content: center; }
.svc .body-text { font-size: 15.5px; max-width: 340px; }
@media (max-width: 1099px) { .services { padding: 56px 0; } .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; } .svc-icon { width: 48px; height: 48px; } }
@media (max-width: 767px) {
  .services { padding: 44px 0; }
  .svc-grid { gap: 22px; }
  .svc { gap: 12px; }
  .svc-icon { width: 42px; height: 42px; }
  .svc .card-title { font-size: 15.5px; }
  .svc .body-text { font-size: 14.5px; }
}

/* ── projects ───────────────────────────────────────────────── */
.projects { background: #F7F7F7; padding: 96px 0; }
.sec-head--tight { margin-bottom: 48px; }
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; align-items: start; }
@media (max-width: 1023px) { .pgrid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; } }
@media (max-width: 639px)  { .pgrid { grid-template-columns: minmax(0,1fr); gap: 28px; } }
@media (max-width: 1099px) { .projects { padding: 64px 0; } .sec-head--tight { margin-bottom: 36px; } }
@media (max-width: 767px)  { .projects { padding: 44px 0; } .sec-head--tight { margin-bottom: 28px; } }

.pg-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; --pg-inset: 14px; --pg-arrow: 40px; }
@media (max-width: 1099px) { .pg-card { gap: 12px; --pg-inset: 12px; } }
@media (max-width: 767px)  { .pg-card { --pg-inset: 10px; --pg-arrow: 44px; } }
.pg-media { position: relative; border-radius: 3px; overflow: hidden; aspect-ratio: 4 / 3; background: #E3E3DF;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: zoom-in; outline: none; -webkit-tap-highlight-color: transparent; }
.pg-media:focus-visible { box-shadow: 0 0 0 2px #F7F7F7, 0 0 0 4px #5B8065; }
.pg-media.is-dragging { cursor: grabbing; }
.pg-track { display: flex; height: 100%; will-change: transform; transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1); }
.pg-track.is-dragging, .pg-lb-track.is-dragging { transition: none; }
.pg-slide { position: relative; flex: 0 0 100%; height: 100%; }
.pg-slide img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.pg-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 13px;
  border-radius: 999px; background: rgba(18,18,17,0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #F7F7F7;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; pointer-events: none; }
.pg-tag { position: absolute; top: var(--pg-inset); left: var(--pg-inset); z-index: 2; pointer-events: none; }
.pg-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none; z-index: 1; background: linear-gradient(to bottom, rgba(22,22,22,0), rgba(22,22,22,0.26)); }
.pg-arrow { position: absolute; top: 50%; z-index: 2; width: var(--pg-arrow); height: var(--pg-arrow); margin-top: calc(var(--pg-arrow) / -2);
  display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(247,247,247,0.9); color: #1B1B1B; box-shadow: 0 2px 10px -4px rgba(27,27,27,0.35);
  opacity: 0; transform: scale(0.92); transition: opacity .35s ease, transform .35s ease, background .2s ease; }
.pg-arrow:hover { background: #FFFFFF; }
.pg-arrow:focus-visible { outline: 2px solid #5B8065; outline-offset: 2px; opacity: 1; transform: none; }
.pg-prev { left: var(--pg-inset); } .pg-next { right: var(--pg-inset); }
.pg-media:hover .pg-arrow, .pg-media:focus-within .pg-arrow { opacity: 1; transform: none; }
.pg-media .pg-arrow.is-off { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .pg-arrow { display: none; } }
.pg-ind { position: absolute; z-index: 2; left: var(--pg-inset); right: var(--pg-inset); bottom: var(--pg-inset); display: flex; align-items: center; gap: 14px; pointer-events: none; }
.pg-segs { display: flex; gap: 4px; flex: 1; min-width: 0; }
.pg-seg { flex: 1 1 0; max-width: 22px; height: 2px; border-radius: 1px; background: rgba(255,255,255,0.42); transition: background .45s ease; }
.pg-seg.is-on { background: #FFFFFF; }
.pg-count { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: #FFFFFF; font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0,0,0,0.25); white-space: nowrap; }

/* lightbox */
.pg-lb { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: #141413; color: #F7F7F7; opacity: 0; transition: opacity .28s ease; outline: none; }
.pg-lb.is-in { opacity: 1; }
.pg-lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; flex: 0 0 auto; }
.pg-lb-meta { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.pg-lb-cat { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #A9B9A3; }
.pg-lb-title { font-size: 16px; font-weight: 600; color: #F7F7F7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-lb-loc { font-size: 14px; color: #9A9A96; white-space: nowrap; }
.pg-lb-right { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.pg-lb-count { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: #C9C9C5; font-variant-numeric: tabular-nums; }
.pg-lb-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247,247,247,0.22); background: transparent; color: #F7F7F7;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .2s ease, border-color .2s ease; }
.pg-lb-close:hover { background: rgba(247,247,247,0.08); border-color: rgba(247,247,247,0.45); }
.pg-lb-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pg-lb-track { display: flex; height: 100%; will-change: transform; transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1); }
.pg-lb-slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 8px 96px; }
.pg-lb-slide img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; -webkit-user-drag: none;
  transform: scale(0.985); transition: transform .5s cubic-bezier(.25,.8,.25,1); }
.pg-lb.is-in .pg-lb-slide img { transform: none; }
.pg-lb-video { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 2px; background: #000; outline: none; }
.pg-lb-arrow { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; z-index: 2;
  border: 1px solid rgba(247,247,247,0.22); background: rgba(18,18,17,0.4); color: #F7F7F7; display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; transition: opacity .25s ease, background .2s ease, border-color .2s ease; }
.pg-lb-arrow:hover { background: rgba(247,247,247,0.08); border-color: rgba(247,247,247,0.5); }
.pg-lb-arrow.is-off { opacity: 0; pointer-events: none; }
.pg-lb-prev { left: 24px; } .pg-lb-next { right: 24px; }
.pg-lb-thumbs { position: relative; flex: 0 0 auto; display: flex; gap: 8px; padding: 16px 24px 22px; overflow-x: auto; justify-content: safe center; scrollbar-width: none; }
.pg-lb-thumbs::-webkit-scrollbar { display: none; }
.pg-thumb { position: relative; flex: 0 0 auto; width: 72px; height: 54px; padding: 0; border: 0; border-radius: 2px; overflow: hidden; cursor: pointer; background: #2A2A28;
  opacity: 0.42; outline: 1px solid transparent; outline-offset: 2px; transition: opacity .3s ease, outline-color .3s ease; }
.pg-thumb:hover { opacity: 0.75; }
.pg-thumb.is-on { opacity: 1; outline-color: rgba(247,247,247,0.85); }
.pg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pg-thumb-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #F7F7F7; background: rgba(0,0,0,0.25); }
.pg-lb button:focus-visible { outline: 2px solid #A9B9A3; outline-offset: 2px; }
@media (max-width: 700px) {
  .pg-lb-top { padding: 12px 12px 12px 18px; }
  .pg-lb-meta { flex-direction: column; gap: 2px; align-items: flex-start; }
  .pg-lb-loc { font-size: 13px; }
  .pg-lb-slide { padding: 0; }
  .pg-lb-arrow { display: none; }
  .pg-thumb { width: 56px; height: 42px; }
  .pg-lb-thumbs { padding: 14px 16px 20px; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .pg-track, .pg-lb-track { transition: none !important; } }

/* ── process ────────────────────────────────────────────────── */
.process { background: #EFF1EC; padding: 80px 0; }
.process .sec-head { margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 32px; color: #5B8065; line-height: 1.2; }
.step .body-text { font-size: 15.5px; }
@media (max-width: 1099px) { .process { padding: 56px 0; } .process .sec-head { margin-bottom: 36px; } .sec-lede { font-size: 17px; } .steps { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; } }
@media (max-width: 767px) {
  .process { padding: 44px 0; } .process .sec-head { margin-bottom: 28px; } .sec-lede { font-size: 16px; }
  .steps { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .step { flex-direction: row; align-items: flex-start; gap: 16px; }
  .step-num { font-size: 22px; min-width: 34px; }
  .step > div { display: flex; flex-direction: column; gap: 4px; }
  .step .body-text { font-size: 15px; }
}

/* ── Google reviews ─────────────────────────────────────────── */
.gr { background: #F7F7F7; color: #1B1B1B; padding: 96px 0; --gr-pad: 64px; }
.gr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.gr-title { display: flex; flex-direction: column; gap: 12px; }
.gr-sum { display: flex; align-items: center; gap: 18px; color: inherit; flex: 0 0 auto; }
.gr-sum:hover { color: inherit; }
.gr-score { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.gr-sum-text { display: flex; flex-direction: column; gap: 4px; }
.gr-sum-text small { font-size: 14px; color: #5E5E5E; }
.gr-sum-link { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(27,27,27,0.3); }
.gr-sum:hover .gr-sum-link { text-decoration-color: #1B1B1B; }
.gr-stars { display: inline-flex; gap: 2px; color: #D9A93F; font-size: 16px; line-height: 1; }
.gr-stars i { font-style: normal; } .gr-stars i.off { color: #D9D9D3; }
.gr-track { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.gr-card { position: relative; display: flex; flex-direction: column; gap: 18px; background: #FFFFFF; border: 1px solid #E6E6E1; border-radius: 4px; padding: 28px; min-width: 0; }
.gr-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gr-when { font-size: 13px; color: #8A8A85; white-space: nowrap; }
.gr-text { font-size: 16px; line-height: 1.65; color: #2E2E2C; white-space: pre-line; }
.gr-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.gr-more { align-self: flex-start; margin-top: -8px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: #1B1B1B; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(27,27,27,0.3); }
.gr-author { margin-top: auto; padding-top: 18px; border-top: 1px solid #EEEEEA; display: flex; align-items: center; gap: 12px; }
.gr-avatar { width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; object-fit: cover; background: #E1E9DE; color: #5B8065;
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; overflow: hidden; }
.gr-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gr-name { font-size: 15px; font-weight: 600; color: #1B1B1B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.gr-name:hover { color: #1B1B1B; text-decoration: underline; text-underline-offset: 3px; }
.gr-src { font-size: 13px; color: #8A8A85; }
.gr-src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(138,138,133,0.5); }
.gr-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: #8A8A85; }
.gr-attrib { font-family: Roboto, Arial, sans-serif; color: #5E5E5E; }
.gr a:focus-visible, .gr button:focus-visible { outline: 2px solid #5B8065; outline-offset: 3px; border-radius: 2px; }
.gr-skel { height: 300px; border-radius: 4px; background: linear-gradient(90deg,#EEEEEA 0%,#F4F4F1 50%,#EEEEEA 100%); background-size: 200% 100%; animation: grsk 1.4s ease-in-out infinite; }
@keyframes grsk { to { background-position: -200% 0; } }
@media (max-width: 1099px) {
  .gr { padding: 64px 0; --gr-pad: 40px; }
  .gr-head { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 32px; }
  .gr-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin: 0 calc(var(--gr-pad) * -1); padding: 2px var(--gr-pad) 8px; scroll-padding: 0 var(--gr-pad); gap: 16px; }
  .gr-track::-webkit-scrollbar { display: none; }
  .gr-card { flex: 0 0 46%; scroll-snap-align: start; }
}
@media (max-width: 767px) {
  .gr { padding: 48px 0; --gr-pad: 20px; }
  .gr-card { flex: 0 0 84%; padding: 22px; gap: 14px; }
  .gr-score { font-size: 38px; }
  .gr-text { font-size: 15.5px; }
  .gr-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .gr-skel { animation: none; } }

/* ── why Balnor (owner photo + benefits + quote) ─────────────── */
.quote { background: #EFF1EC; padding: 96px 0; }
.why { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 88px; align-items: center; }
.why > img { display: block; width: 100%; max-width: 470px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: 3px; }
.quote-body { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.why-lede { font-size: 18px; line-height: 1.6; color: #3F3F3D; }
.why-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list b { display: block; font-size: 17px; font-weight: 600; color: #1B1B1B; margin-bottom: 2px; }
.why-list li > span:last-child { font-size: 16px; line-height: 1.5; color: #4F4F4D; }
.why-check { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #5B8065; margin-top: 1px; position: relative; }
.why-check::after { content: ''; position: absolute; left: 9px; top: 6px; width: 6px; height: 11px; border: solid #F7F7F7; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.why-quote { margin-top: 14px; padding-top: 24px; border-top: 1px solid #D7DBD2; display: flex; flex-direction: column; gap: 14px; }
.why-quote blockquote { margin: 0; }
.why-quote blockquote p { font-family: 'Work Sans', sans-serif; font-weight: 500; font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; color: #1B1B1B; }
.why-quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote-name { font-weight: 600; font-size: 16px; color: #1B1B1B; }
.quote-role { font-size: 14.5px; color: #5E5E5E; }
@media (max-width: 1099px) {
  .quote { padding: 64px 0; }
  .why { grid-template-columns: 280px minmax(0,1fr); gap: 44px; align-items: start; }
  .why > img { width: 280px; }
  .why-lede { font-size: 17px; }
  .why-quote blockquote p { font-size: 19px; }
}
@media (max-width: 767px) {
  .quote { padding: 48px 0; }
  .why { display: flex; flex-direction: column; gap: 24px; }
  .why > img { width: 100%; max-width: none; aspect-ratio: 1 / 1; object-position: 50% 28%; }
  .quote-body { gap: 14px; }
  .why-lede { font-size: 16px; }
  .why-list b { font-size: 16px; } .why-list li > span:last-child { font-size: 15px; }
  .why-quote blockquote p { font-size: 18px; }
}

/* ── contact section + pop-up ───────────────────────────────── */
.cc { background: #161616; color: #F7F7F7; padding: 96px 0; scroll-margin-top: 24px; }
.cc-wrap { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); gap: 80px; align-items: start; }
.cc-intro { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.cc-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #A9C2A6; }
.cc-h2 { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 36px; line-height: 1.12; letter-spacing: -0.015em; color: #F7F7F7; }
.cc-lede { font-size: 17px; line-height: 1.6; color: #B4B4AF; max-width: 440px; }
.cc-gets { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cc-gets li { position: relative; padding-left: 30px; font-size: 16px; color: #E2E2DE; }
.cc-gets li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(91,128,101,0.28); }
.cc-gets li::after { content: ''; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid #A9C2A6; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cc-alt { margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(247,247,247,0.10); display: flex; flex-direction: column; gap: 6px; }
.cc-alt-label { font-size: 13px; color: #8E8E8A; }
.cc-alt-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.cc-alt a { color: #F7F7F7; font-weight: 600; font-size: 17px; }
.cc-alt a.cc-mail { font-weight: 400; font-size: 15px; color: #D8D8D4; }
.cc-alt a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(247,247,247,0.4); }
.cc-card { display: flex; flex-direction: column; background: #1D1D1B; border: 1px solid rgba(247,247,247,0.08); border-radius: 4px; padding: 36px; box-shadow: 0 30px 60px -40px rgba(0,0,0,0.8); }
.cc-form { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.cc-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.cc-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cc-label { font-size: 14px; font-weight: 600; color: #E2E2DE; }
.cc-label small { font-size: 13px; font-weight: 400; color: #8E8E8A; margin-left: 4px; }
.cc-input { width: 100%; height: 50px; padding: 0 14px; border-radius: 3px; border: 1px solid rgba(247,247,247,0.16);
  background: #121211; color: #F7F7F7; font-family: inherit; font-size: 16px; line-height: 1.4; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
textarea.cc-input { height: auto; min-height: 108px; padding: 12px 14px; resize: vertical; }
.cc-input::placeholder { color: rgba(247,247,247,0.34); }
.cc-input:hover { border-color: rgba(247,247,247,0.28); }
.cc-input:focus { border-color: #7FA08A; box-shadow: 0 0 0 3px rgba(91,128,101,0.35); background: #141413; }
.cc-input[aria-invalid="true"] { border-color: #E08C7C; }
.cc-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(224,140,124,0.25); }
.cc-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #121211 inset; -webkit-text-fill-color: #F7F7F7; caret-color: #F7F7F7; }
.cc-err { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.4; color: #EFA898; }
.cc-err svg { flex: 0 0 auto; margin-top: 2px; }
.cc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cc-submit { width: 100%; height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 3px; cursor: pointer;
  background: #5B8065; color: #F7F7F7; font-family: inherit; font-weight: 600; font-size: 16px; letter-spacing: 0.01em; transition: background .25s ease; margin-top: 4px; }
.cc-submit:hover { background: #4E7158; }
.cc-submit svg { transition: transform .35s cubic-bezier(.2,.7,.1,1); }
.cc-submit:hover svg { transform: translateX(3px); }
.cc-submit[disabled] { cursor: progress; background: #4E7158; }
.cc-submit .is-sending { display: none; align-items: center; gap: 12px; }
.cc-submit[disabled] .is-sending { display: inline-flex; }
.cc-submit[disabled] .is-idle { display: none; }
.cc-submit .is-idle { display: inline-flex; align-items: center; gap: 12px; }
.cc-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(247,247,247,0.35); border-top-color: #F7F7F7; animation: ccspin .8s linear infinite; }
@keyframes ccspin { to { transform: rotate(360deg); } }
.cc-fine { font-size: 13px; line-height: 1.5; color: #8E8E8A; text-align: center; }
.cc-fine a { color: #B4B4AF; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(247,247,247,0.3); }
.cc-alert { display: flex; gap: 10px; padding: 14px 16px; border-radius: 3px; background: rgba(224,140,124,0.10); border: 1px solid rgba(224,140,124,0.35); color: #F3C6BB; font-size: 14px; line-height: 1.5; }
.cc-alert a { color: #F7F7F7; font-weight: 600; }
.cc-done { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 20px 4px; outline: none; }
.cc-done-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(91,128,101,0.18); color: #9CC0A6; display: flex; align-items: center; justify-content: center; }
.cc-done h3 { margin: 6px 0 0; font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 26px; letter-spacing: -0.01em; color: #F7F7F7; }
.cc-done p { font-size: 16px; line-height: 1.6; color: #B4B4AF; max-width: 420px; }
.cc-done p b { color: #F7F7F7; font-weight: 600; white-space: nowrap; }
.cc-again { margin-top: 8px; padding: 0; border: 0; background: none; color: #D8D8D4; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(247,247,247,0.35); }
.cc a:focus-visible, .cc button:focus-visible { outline: 2px solid #A9C2A6; outline-offset: 3px; }
.cc-alt-after { display: none; }
.cc-alt-after a { color: #F7F7F7; font-weight: 600; }
@media (max-width: 1099px) {
  .cc { padding: 64px 0; }
  .cc-wrap { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .cc-h2 { font-size: 32px; }
  .cc-lede { max-width: 600px; }
  .cc-alt { display: none; }
  .cc-card { padding: 32px; }
  .cc-alt-after { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 22px; font-size: 14px; color: #8E8E8A; }
}
@media (max-width: 767px) {
  .cc { padding: 52px 0 48px; }
  .cc-wrap { gap: 28px; }
  .cc-intro { gap: 12px; padding-top: 0; }
  .cc-eyebrow { font-size: 11px; }
  .cc-h2 { font-size: 27px; }
  .cc-lede { font-size: 15.5px; }
  .cc-card { padding: 20px; }
  .cc-form { gap: 18px; }
  .cc-row { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .cc-input { height: 52px; }
  .cc-done h3 { font-size: 23px; }
}

.cd { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(12,12,11,0); transition: background .26s ease; color: #F7F7F7; }
.cd.is-in { background: rgba(12,12,11,0.62); }
.cd-panel { position: relative; width: min(600px, 100%); max-height: 100%; overflow: auto; overscroll-behavior: contain;
  background: #1D1D1B; border: 1px solid rgba(247,247,247,0.08); border-radius: 6px; padding: 36px 40px 30px; outline: none;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.75); opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .26s ease, transform .32s cubic-bezier(.2,.7,.1,1); }
.cd.is-in .cd-panel { opacity: 1; transform: none; }
.cd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.cd-head-text { display: flex; flex-direction: column; gap: 10px; }
.cd-h2 { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 30px; line-height: 1.1; letter-spacing: -0.015em; color: #F7F7F7; }
.cd-lede { font-size: 16px; line-height: 1.55; color: #B4B4AF; max-width: 440px; }
.cd-x { flex: 0 0 auto; width: 44px; height: 44px; margin: -8px -12px 0 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%;
  background: transparent; color: #D8D8D4; cursor: pointer; transition: background .2s ease, color .2s ease; }
.cd-x:hover { background: rgba(247,247,247,0.08); color: #F7F7F7; }
.cd .cc-card { padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; }
.cd .cc-done { padding: 8px 0 4px; }
.cd .cd-closebtn { width: auto; padding: 0 34px; margin-top: 12px; }
.cd-alt { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid rgba(247,247,247,0.08); font-size: 14px; color: #8E8E8A; text-align: center; }
.cd-alt a { color: #F7F7F7; font-weight: 600; margin-left: 4px; }
.cd-alt a:hover { color: #F7F7F7; text-decoration: underline; text-underline-offset: 3px; }
.cd a:focus-visible, .cd button:focus-visible { outline: 2px solid #A9C2A6; outline-offset: 3px; }
@media (max-width: 767px) {
  .cd { padding: 0; align-items: stretch; }
  .cd-panel { width: 100%; max-height: none; height: 100%; border: 0; border-radius: 0; padding: 20px 20px 28px; transform: translateY(28px); }
  .cd-head { margin-bottom: 22px; }
  .cd-h2 { font-size: 26px; }
  .cd-lede { font-size: 15px; }
  .cd .cd-closebtn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cd, .cd-panel { transition: none !important; transform: none !important; }
  .cc-spin { animation-duration: 2s; } .cc-submit svg { transition: none; }
}

/* ── footer ─────────────────────────────────────────────────── */
.site-footer { background: #101010; padding: 64px 0 32px; color: #9A9A96; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid #333331; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.foot-name { font-family: 'Work Sans', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0.02em; color: #F7F7F7; }
.foot-brand p { max-width: 240px; line-height: 1.6; }
.foot-col { display: flex; flex-direction: column; gap: 14px; }
.foot-col h2 { font-family: 'Source Sans Pro', sans-serif; font-weight: 600; font-size: 13px; color: #F7F7F7; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.site-footer a { color: #9A9A96; }
.site-footer a:hover { color: #F7F7F7; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; color: #7A7A76; }
.foot-bottom a { color: #7A7A76; }
@media (max-width: 1099px) {
  .site-footer { padding: 56px 0 28px; font-size: 13px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; padding-bottom: 32px; }
  .foot-brand { grid-column: 1 / -1; margin-bottom: 12px; }
  .foot-brand p { max-width: 400px; font-size: 14px; }
  .foot-name { font-size: 19px; }
  .foot-col, .foot-col ul { gap: 12px; }
  .foot-bottom { padding-top: 20px; font-size: 12.5px; }
}
@media (max-width: 767px) {
  .site-footer { padding: 44px 0 24px; }
  .foot-grid { grid-template-columns: minmax(0,1fr); gap: 22px; padding-bottom: 24px; }
  .foot-brand { margin-bottom: 6px; gap: 14px; }
  .foot-name { font-size: 17px; }
  .foot-brand p { font-size: 13.5px; }
  .foot-col, .foot-col ul { gap: 10px; }
  .foot-col h2 { font-size: 12.5px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 18px; font-size: 12px; }
}

/* ── simple text pages (personvern) ─────────────────────────── */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 40px; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 12px; }
.doc .doc-meta { color: #5E5E5E; font-size: 15px; margin-bottom: 40px; }
.doc h2 { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 22px; margin: 40px 0 12px; }
.doc p, .doc li { color: #3E3E3C; font-size: 17px; line-height: 1.7; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 767px) { .doc { padding: 44px 0 64px; } .doc h1 { font-size: 30px; } .doc h2 { font-size: 19px; } .doc p, .doc li { font-size: 16px; } }

/* ── tablet/phone: slim header that slides in when scrolling up ── */
@media (max-width: 1099px) {
  .head-slot { position: relative; z-index: 60; }
  .site-header.is-fixed { position: fixed; top: 0; left: 0; right: 0; transform: translateY(-100%); box-shadow: 0 6px 20px -12px rgba(0,0,0,0.35); }
  .site-header.is-fixed.is-anim { transition: transform .28s cubic-bezier(.2,.7,.1,1); }
  .site-header.is-fixed.is-shown { transform: none; }
  .site-header.is-fixed > .wrap { padding-top: 8px; padding-bottom: 8px; }
  .site-header.is-fixed .logo img { height: 28px; }
  .site-header.is-fixed .menu-btn { width: 40px; height: 40px; }
  .site-header.is-fixed .head-actions .btn { padding: 9px 18px; font-size: 14px; }
  .site-header.is-fixed .menu { max-height: calc(100vh - 56px); overflow: auto; }
  /* sections reached from the menu shouldn't hide under the slim header */
  main [id] { scroll-margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { .site-header.is-fixed.is-anim { transition: none; } }

/* ── back to top ── */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: #5B8065; color: #F7F7F7;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.45); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background .2s ease; }
.to-top:hover { background: #46614C; color: #F7F7F7; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, background .2s ease; }
.to-top:focus-visible { outline: 2px solid #1B1B1B; outline-offset: 3px; }
@media (min-width: 1100px) { .to-top { right: 32px; bottom: 32px; width: 50px; height: 50px; } }
@media (max-width: 767px) { .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top.is-on { transition: none; } }
