/**
 * Carl Blomquist Snickeri — Components
 */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

html.is-embed,
html.is-embed body {
  overflow: auto;
  scrollbar-width: none;
}
html.is-embed::-webkit-scrollbar,
html.is-embed body::-webkit-scrollbar {
  display: none;
}
html.is-embed #wbTutorial,
html.is-embed .wb-tour-fab,
html.is-embed #mobil,
html.is-embed #messenger,
html.is-embed .cb-float,
html.is-embed #integritet {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--cb-font-body);
  font-size: var(--cb-step-0);
  line-height: var(--cb-leading-body);
  color: var(--cb-ink);
  background: var(--cb-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; height: auto; }
video { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--cb-font-head);
  font-weight: 700;
  line-height: var(--cb-leading-snug);
  letter-spacing: var(--cb-tracking-tight);
  margin: 0;
  padding-bottom: var(--cb-descender-pad);
  margin-bottom: calc(var(--cb-descender-pad) * -1);
}
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--cb-copper);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

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

.cb-section { padding-block: var(--cb-section-y); }

.cb-eyebrow {
  display: inline-block;
  font-size: var(--cb-step--1);
  font-weight: 600;
  letter-spacing: var(--cb-tracking-wide);
  text-transform: uppercase;
  color: var(--cb-copper);
  margin-bottom: var(--cb-space-3);
}

.cb-lead {
  font-size: var(--cb-step-1);
  color: var(--cb-muted);
  max-width: 42ch;
  line-height: 1.55;
}

/* ─── Buttons ─── */
.cb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--cb-radius-pill);
  font-weight: 600;
  font-size: var(--cb-step-0);
  transition: transform var(--cb-dur-fast), box-shadow var(--cb-dur-fast), background var(--cb-dur-fast);
}
.cb-btn--cta {
  background: var(--cb-copper);
  color: #fff;
  box-shadow: var(--cb-shadow-push);
}
.cb-btn--cta:hover {
  background: var(--cb-copper-deep);
  transform: translateY(1px);
  box-shadow: 0 4px 0 var(--cb-copper-deep);
}
.cb-btn--cta:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--cb-copper-deep); }
.cb-btn--msgr {
  background: #0084FF;
  color: #fff;
  box-shadow: 0 5px 0 #0064d1;
}
.cb-btn--msgr svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}
.cb-btn--msgr:hover {
  background: #0074e0;
  transform: translateY(1px);
  box-shadow: 0 4px 0 #0064d1;
}
.cb-btn--msgr:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #0064d1;
}
.cb-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.cb-btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.cb-btn--full-mobile { width: 100%; }
@media (min-width: 480px) {
  .cb-btn--full-mobile { width: auto; }
}

/* ─── Nav: initially inset; docks as a flat bar at top:0 (not a Webbhult pill) ─── */
.cb-nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  z-index: var(--cb-z-nav);
  padding: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  box-sizing: border-box;
}
.cb-nav-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: 0;
  margin-top: 1.35rem;
  padding: 1.1rem max(var(--cb-gutter), env(safe-area-inset-right, 0px)) 1.1rem max(var(--cb-gutter), env(safe-area-inset-left, 0px));
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
  color: #fff;
  will-change: background-color, padding, margin-top, box-shadow;
}
.cb-nav-bar[data-tone="light"] {
  color: var(--cb-ink);
}
.cb-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 1 auto;
}
.cb-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  color: var(--cb-copper);
  background: rgba(184, 92, 56, 0.14);
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 6px;
}
.cb-mark svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}
.cb-nav-bar[data-tone="dark"] .cb-mark {
  color: #f0a070;
  background: rgba(240, 160, 112, 0.16);
  border-color: currentColor;
}
.cb-nav-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.cb-nav-logo__name {
  font-family: var(--cb-font-head);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  letter-spacing: var(--cb-tracking-tight);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cb-nav-logo__tag {
  font-size: 0.68rem;
  opacity: 0.72;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cb-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  flex: 0 0 auto;
}
.cb-nav-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--cb-step--1);
  font-weight: 600;
  opacity: 0.9;
  text-decoration: none;
  white-space: nowrap;
}
.cb-nav-phone svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.85;
}
.cb-nav-phone:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 640px) {
  .cb-nav-phone { display: inline-flex; }
}
.cb-nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 1.15rem;
  border-radius: var(--cb-radius-pill);
  background: var(--cb-copper);
  color: #fff;
  font-weight: 600;
  font-size: var(--cb-step--1);
  letter-spacing: 0.02em;
  box-shadow: var(--cb-shadow-push);
  transition: transform var(--cb-dur-fast), box-shadow var(--cb-dur-fast), background var(--cb-dur-fast);
}
@media (min-width: 480px) {
  .cb-nav-cta { display: inline-flex; }
}
.cb-nav-cta:hover {
  background: var(--cb-copper-deep);
  transform: translateY(1px);
  box-shadow: 0 4px 0 var(--cb-copper-deep);
}
.cb-nav-cta:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--cb-copper-deep);
}
.cb-nav-msgr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  min-width: 2.45rem;
  min-height: 2.45rem;
  padding: 0;
  border-radius: 50%;
  background: #0084FF;
  color: #fff;
  box-shadow: 0 3px 0 #0064d1;
  transform-origin: center;
  transition: transform var(--cb-dur-fast), box-shadow var(--cb-dur-fast), background var(--cb-dur-fast);
}
.cb-nav-msgr svg {
  width: 1.15rem;
  height: 1.15rem;
  max-width: none;
  flex-shrink: 0;
}
.cb-nav-msgr:hover {
  background: #0074e0;
  transform: translateY(1px);
  box-shadow: 0 2px 0 #0064d1;
}
.cb-nav-msgr:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #0064d1;
}
.cb-menu-mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--cb-radius-pill);
  background: rgba(255,255,255,0.12);
}
.cb-nav-bar[data-tone="light"] .cb-menu-mobile-btn {
  background: rgba(28, 20, 16, 0.06);
}
.cb-burger,
.cb-burger::before,
.cb-burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.cb-burger::before,
.cb-burger::after {
  content: '';
  position: absolute;
  left: 0;
}
.cb-burger::before { top: -6px; }
.cb-burger::after { top: 6px; }
@media (min-width: 1024px) {
  .cb-menu-mobile-btn { display: none; }
}
.cb-menu-desktop {
  display: none;
  flex: 1 1 auto;
  justify-content: center;
  gap: 0.15rem;
}
@media (min-width: 1024px) {
  .cb-menu-desktop { display: flex; }
  .cb-menu-desktop a {
    padding: 0.45rem 0.7rem;
    font-size: var(--cb-step--1);
    font-weight: 600;
    opacity: 0.75;
    border-bottom: 2px solid transparent;
  }
  .cb-menu-desktop a:hover,
  .cb-menu-desktop a.is-active {
    opacity: 1;
    border-bottom-color: var(--cb-oak);
  }
  .cb-nav-bar[data-tone="light"] .cb-menu-desktop a.is-active,
  .cb-nav-bar[data-tone="light"] .cb-menu-desktop a:hover {
    border-bottom-color: var(--cb-copper);
  }
}
.cb-menu-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: max(var(--cb-gutter), env(safe-area-inset-right, 0px));
  left: auto;
  width: min(22rem, 100%);
  background: var(--cb-surface);
  color: var(--cb-ink);
  border-radius: var(--cb-radius-md);
  box-shadow: var(--cb-shadow-card);
  border: 1px solid var(--cb-line);
  padding: 0.5rem;
  display: none;
  z-index: calc(var(--cb-z-nav) + 1);
  pointer-events: auto;
}
.cb-menu-dropdown.is-open { display: block; }
.cb-menu-dropdown[hidden] { display: none !important; }
.cb-menu-dropdown a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: var(--cb-radius-sm);
  font-weight: 600;
  min-height: 44px;
}
.cb-menu-dropdown a:hover { background: var(--cb-sawdust); }

/* Tour FAB — right edge: icon above label */
.wb-tour-fab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: calc(var(--cb-z-nav) + 5);
  display: flex;
  /* vertical-rl: row = top→bottom (icon above text), not side-by-side */
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 0.55rem;
  background: var(--kh-skog-900);
  color: #fff;
  border-radius: var(--kh-radius-md) 0 0 var(--kh-radius-md);
  box-shadow: -4px 8px 24px rgba(10, 24, 18, 0.28);
  font-family: var(--kh-font-body);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  min-height: 7.5rem;
  border: 2px solid var(--kh-falu-700);
  border-right: none;
  cursor: pointer;
  transition: background 0.2s, padding 0.2s;
}
.wb-tour-fab[hidden] { display: none !important; }
.wb-tour-fab:hover { background: var(--kh-skog-700); padding-right: 0.7rem; }
.wb-tour-fab__mark {
  writing-mode: horizontal-tb;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--kh-skog-100);
  flex-shrink: 0;
}
.wb-tour-fab__mark svg { width: 100%; height: 100%; display: block; }
.wb-tour-fab__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kh-skog-100);
}

/* ─── Hero + Iris ─── */
.hero-iris-wrap { position: relative; z-index: 1; }
.hero-iris-wrap__stage {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.hero-iris-scroll-track {
  height: 70vh;
  height: 70dvh;
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-iris-scroll-track {
    height: 100vh;
    height: 100dvh;
  }
}
.hero-stage { position: relative; z-index: 1; height: 100%; width: 100%; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero-bg img,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.15s var(--cb-ease-out);
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-slide:nth-child(1) { object-position: 50% 78%; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(28,20,16,.88), rgba(28,20,16,.5) 48%, rgba(28,20,16,.35));
}
.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6.5rem var(--cb-gutter) 4.5rem;
  max-width: var(--cb-container);
  margin-inline: auto;
}
.hero-content h1 {
  font-size: var(--cb-step-6);
  color: #fff;
  max-width: 14ch;
  line-height: var(--cb-leading-tight);
}
.hero-content h1 em {
  font-style: normal;
  color: var(--cb-oak);
}
.hero-content .cb-lead { color: rgba(255,255,255,0.82); margin-top: var(--cb-space-5); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--cb-space-8);
}
.hero-progress {
  display: flex;
  gap: 0.4rem;
  width: min(16rem, 100%);
  margin-top: var(--cb-space-6);
  pointer-events: none;
}
.hero-progress__seg {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255,255,255,0.28);
  overflow: hidden;
}
.hero-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cb-oak);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.iris-mask-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: var(--cb-paper);
  pointer-events: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.content-over-iris {
  position: relative;
  z-index: 3;
  margin-top: calc(-100vh + 22vh);
  margin-top: calc(-100dvh + 22dvh);
}
@media (prefers-reduced-motion: reduce) {
  .hero-iris-wrap__stage { position: relative; min-height: 100vh; }
  .content-over-iris { margin-top: 0; }
  .iris-mask-layer { display: none; }
  .hero-scroll-hint { display: none; }
}

/* ─── Marquee ─── */
.cb-marquee {
  overflow: hidden;
  background: var(--cb-resin);
  color: var(--cb-oak);
  padding: 1.15rem 0;
  border-block: 1px solid rgba(196,165,116,0.2);
}
.cb-marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  will-change: transform;
}
.cb-marquee__item {
  font-family: var(--cb-font-head);
  font-size: clamp(1.2rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0.9;
  padding-inline: 1.35rem;
}
.cb-marquee__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cb-copper);
  flex-shrink: 0;
  display: block;
}

/* ─── Sticky stack narrative (tjanster) ─── */
.cb-sticky-stack {
  background: var(--cb-paper);
  padding-block: var(--cb-section-y);
  padding-bottom: calc(var(--cb-section-y) + 2rem);
}
@media (min-width: 768px) {
  .cb-sticky-stack {
    padding-bottom: calc(var(--cb-section-y) + 4rem);
  }
}
.cb-sticky-stack__intro {
  max-width: 36rem;
  margin-bottom: 3rem;
}
.cb-sticky-stack__intro h2 {
  font-size: var(--cb-step-5);
  max-width: 16ch;
}
.cb-sticky-stack__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.cb-sticky-pin { position: relative; }
@media (min-width: 768px) {
  .cb-sticky-stack__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
.cb-sticky-visual {
  position: relative;
}
@media (min-width: 768px) {
  .cb-sticky-visual {
    position: sticky;
    top: var(--cb-process-pin-top);
    align-self: start;
  }
}
.cb-sticky-mock {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--cb-radius-xl);
  overflow: hidden;
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
  box-shadow: var(--cb-shadow-card);
}
.cb-sticky-state {
  position: absolute;
  inset: 0;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.55s var(--cb-ease-out);
  z-index: 0;
}
.cb-sticky-state.is-active {
  transform: translate3d(0, 0, 0);
  z-index: 2;
}
.cb-sticky-state.is-passed {
  transform: translate3d(0, -100%, 0);
  z-index: 1;
}
.cb-sticky-state img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cb-sticky-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-block: 0.5rem 1rem;
}
.cb-feature-slot { min-height: 0; }
.cb-feature-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem 1.75rem 1.5rem;
  padding-right: 5.25rem;
  min-height: 9.5rem;
  border-radius: var(--cb-radius-xl);
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
  opacity: 0.45;
  transition:
    opacity 0.4s var(--cb-ease-out),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
@media (min-width: 768px) {
  .cb-sticky-features {
    gap: 0;
    padding-block: 0;
  }
  .cb-feature-slot { min-height: var(--cb-process-slot); }
  .cb-feature-slot:first-child { min-height: var(--cb-process-slot-first); }
  /* transform on sticky breaks pinning — opacity only, same as Webbhult process */
  .cb-feature-card {
    position: sticky;
    top: var(--cb-process-pin-top);
    min-height: 14rem;
    padding: 2.25rem 7.5rem 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
  }
  .cb-feature-card.is-active {
    pointer-events: auto;
    z-index: 2;
  }
}
.cb-feature-card.is-active {
  opacity: 1;
  border-color: var(--cb-copper);
  box-shadow: 0 0 0 1px var(--cb-copper), var(--cb-shadow-card);
}
.cb-feature-card__num {
  position: relative;
  z-index: 1;
  font-family: var(--cb-font-head);
  font-size: var(--cb-step--1);
  font-weight: 600;
  color: var(--cb-oak);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.cb-feature-card h3 {
  font-size: var(--cb-step-2);
  margin-bottom: 0.45rem;
  position: relative;
  z-index: 1;
}
.cb-feature-card p {
  color: var(--cb-muted);
  font-size: var(--cb-step--1);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.cb-feature-card__icon {
  position: absolute;
  right: -0.35rem;
  top: 50%;
  width: 6.75rem;
  height: 6.75rem;
  color: var(--cb-copper);
  opacity: 0.14;
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 0;
}
.cb-feature-card.is-active .cb-feature-card__icon {
  opacity: 0.28;
}
.cb-feature-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (min-width: 768px) {
  .cb-feature-card__icon {
    right: -0.15rem;
    width: 8.75rem;
    height: 8.75rem;
  }
}
@media (max-width: 767px) {
  .cb-feature-card { opacity: 1; }
  .cb-sticky-state {
    transform: none;
    opacity: 0;
  }
  .cb-sticky-state.is-active { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-sticky-state {
    transform: none !important;
    opacity: 0;
  }
  .cb-sticky-state.is-active { opacity: 1; }
  .cb-feature-card {
    position: relative !important;
    top: auto !important;
    opacity: 1;
    pointer-events: auto !important;
  }
}

/* ─── Projekt horizontal / snap ─── */
.h-scroll-section {
  background: var(--cb-walnut);
  color: #fff;
  overflow: hidden;
}
.h-scroll-sticky {
  min-height: auto;
  padding-block: var(--cb-section-y);
}
@media (min-width: 768px) {
  .h-scroll-sticky {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 0;
  }
}
.h-scroll-head {
  padding-inline: var(--cb-gutter);
  margin-bottom: 1.5rem;
  max-width: var(--cb-container);
  margin-inline: auto;
  width: 100%;
}
.h-scroll-head h2 { font-size: var(--cb-step-5); max-width: 14ch; }
.h-scroll-head .cb-lead { color: rgba(255,255,255,0.7); margin-top: 0.75rem; }
.h-scroll-track {
  display: flex;
  gap: 1.25rem;
  padding-inline: var(--cb-gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.h-scroll-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .h-scroll-track {
    overflow: visible;
    scroll-snap-type: none;
    will-change: transform;
    width: max-content;
    padding-inline: max(3rem, 5vw);
  }
}
.h-card {
  flex-shrink: 0;
  width: min(82vw, 22rem);
  scroll-snap-align: center;
  border-radius: var(--cb-radius-xl);
  overflow: hidden;
  background: var(--cb-resin);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .h-card {
    width: clamp(18rem, 38vw, 28rem);
    height: 62vh;
  }
}
.h-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .h-card img { height: 100%; }
}
.h-card__shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  height: 14rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .h-card__shot { height: 68%; }
}
.h-card__shot img { height: 100%; transition: transform 0.55s var(--cb-ease-out); }
.h-card__shot:hover img { transform: scale(1.04); }
.h-card__shot:focus-visible {
  outline: 2px solid var(--cb-oak);
  outline-offset: -2px;
}
@media (max-width: 767px) {
  .h-card__shot {
    pointer-events: none;
    cursor: default;
  }
  .h-card__shot:hover img { transform: none; }
}
.h-card__body { padding: 1.15rem 1.25rem 1.4rem; flex: 1; }
.h-card__body h3 { font-size: var(--cb-step-2); margin-bottom: 0.35rem; }
.h-card__body p { font-size: var(--cb-step--1); color: rgba(255,255,255,0.7); }
.h-cta {
  flex-shrink: 0;
  width: min(82vw, 18rem);
  scroll-snap-align: center;
  border-radius: var(--cb-radius-xl);
  background: var(--cb-copper);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  min-height: 16rem;
}
@media (min-width: 768px) {
  .h-cta {
    width: clamp(16rem, 32vw, 24rem);
    height: 62vh;
  }
}
.h-cta h3 { font-size: var(--cb-step-3); }
.h-cta .cb-btn { background: #fff; color: var(--cb-copper); box-shadow: none; }
.h-cta .cb-btn:hover { background: var(--cb-paper); }

/* ─── Facebook feed ─── */
.cb-feed-section {
  background: var(--cb-sawdust);
}
.cb-feed-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .cb-feed-layout {
    grid-template-columns: 1fr minmax(20rem, 26rem);
    gap: 3rem;
  }
}
.cb-feed-copy h2 {
  font-size: var(--cb-step-5);
  max-width: 12ch;
  margin-bottom: 1rem;
}
.fb-phone {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: var(--cb-shadow-card);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 26rem;
  margin-inline: auto;
  width: 100%;
}
.fb-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e4e6eb;
  background: #fff;
}
.fb-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.fb-chrome__meta { flex: 1; min-width: 0; }
.fb-chrome__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #050505;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.fb-verified {
  width: 14px; height: 14px;
  background: #1877f2;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}
.fb-chrome__sub { font-size: 0.75rem; color: #65676b; }
.fb-follow {
  background: #e7f3ff;
  color: #1877f2;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.4rem;
  min-height: 36px;
}
.fb-feed {
  max-height: 34rem;
  overflow: hidden;
  background: #f0f2f5;
  scrollbar-width: none;
}
.fb-feed::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) {
  .fb-feed {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.fb-post {
  background: #fff;
  margin-bottom: 0.65rem;
  padding: 0.85rem 0 0.35rem;
}
.fb-post__head {
  display: flex;
  gap: 0.55rem;
  padding: 0 0.85rem 0.55rem;
  align-items: center;
}
.fb-post__name { font-weight: 700; font-size: 0.9rem; color: #050505; }
.fb-post__time { font-size: 0.72rem; color: #65676b; }
.fb-post__text {
  padding: 0 0.85rem 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #050505;
  white-space: pre-wrap;
}
.fb-post__img {
  width: 100%;
  max-height: 16rem;
  object-fit: cover;
}
.fb-reactions {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  color: #65676b;
  border-bottom: 1px solid #e4e6eb;
}
.fb-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.2rem 0.35rem;
}
.fb-actions button {
  min-height: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #65676b;
  border-radius: 0.35rem;
}
.fb-actions button:hover { background: #f0f2f5; }
.fb-comment {
  padding: 0.55rem 0.85rem 0.75rem;
  display: flex;
  gap: 0.45rem;
}
.fb-comment__bubble {
  background: #f0f2f5;
  border-radius: 1rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  color: #050505;
  line-height: 1.35;
}
.fb-comment__bubble strong { display: block; font-size: 0.8rem; }

/* ─── Mobil / device ─── */
.cb-mobil-section {
  background: var(--cb-walnut);
  color: var(--cb-paper);
}
.cb-mobil-layout {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 900px) {
  .cb-mobil-layout {
    grid-template-columns: minmax(16rem, 21rem) minmax(0, 1fr);
    gap: 4rem;
  }
}
.cb-mobil-copy h2 {
  font-size: var(--cb-step-5);
  max-width: 12ch;
  margin-bottom: 1rem;
  color: var(--cb-paper);
}
.cb-mobil-section .cb-eyebrow {
  color: var(--cb-oak);
}
.cb-mobil-section .cb-lead {
  color: var(--cb-copper-soft);
}
.cb-mobil-section .cb-lead + .cb-lead {
  margin-top: 1rem;
}
.cb-device {
  display: flex;
  justify-content: center;
}
.cb-device__shell {
  position: relative;
  width: min(100%, 20rem);
  background: var(--cb-resin);
  border-radius: 2.35rem;
  padding: 0.72rem 0.62rem 0.85rem;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 22px 48px rgba(0,0,0,0.38);
  pointer-events: none;
  user-select: none;
}
.cb-device__notch {
  display: none;
}
.cb-device__screen {
  position: relative;
  overflow: hidden;
  border-radius: 1.7rem;
  aspect-ratio: 390 / 844;
  background: #0b0908;
}
.cb-device__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  pointer-events: none;
}
.cb-device__bar {
  width: 7.5rem;
  height: 0.28rem;
  margin: 0.7rem auto 0.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}
@media (prefers-reduced-motion: reduce) {
  .cb-device__video {
    display: none;
  }
  .cb-device__screen {
    background:
      #0b0908 url("../video/mobil-scroll.jpg") center / cover no-repeat;
  }
}

@media (max-width: 767px) {
  #mobil {
    display: none !important;
  }
  a[href="#mobil"] {
    display: none !important;
  }
}

/* ─── Messenger ─── */
.cb-msgr-section {
  background: var(--cb-paper);
}
.cb-msgr-layout {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 900px) {
  .cb-msgr-layout {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem);
    gap: 4rem;
  }
}
.cb-msgr-copy h2 {
  font-size: var(--cb-step-5);
  max-width: 14ch;
  margin-bottom: 1rem;
}
.cb-msgr-section .cb-eyebrow {
  color: var(--cb-copper);
}
.cb-msgr-section .cb-lead {
  color: var(--cb-muted);
}
.cb-msgr-section .cb-lead + .cb-lead {
  margin-top: 1rem;
}
.msgr-screen {
  position: relative;
  display: block;
  background: #1C1410;
  overflow: hidden;
}
.msgr-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #1C1410;
  transform-origin: center center;
  will-change: transform;
}
.msgr-mini {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1C1410;
}
.msgr-mini__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  pointer-events: none;
}
.msgr-mini__msgr {
  position: absolute;
  top: 1.83%;
  right: 19.33%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10.05%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0084FF;
  color: #fff;
  box-shadow: 0 2px 0 #0064d1;
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
}
.msgr-mini__msgr svg {
  width: 50%;
  height: 50%;
  max-width: none;
}
.msgr-tap,
.msgr-tap-ring,
.msgr-burst {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}
.msgr-tap {
  width: 3.4rem;
  height: 3.4rem;
  margin: -1.7rem 0 0 -1.7rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 0.35rem rgba(0, 132, 255, 0.28);
  z-index: 6;
}
.msgr-tap-ring {
  width: 3.4rem;
  height: 3.4rem;
  margin: -1.7rem 0 0 -1.7rem;
  background: transparent;
  border: 0.18rem solid rgba(255, 255, 255, 0.95);
  z-index: 6;
}
.msgr-burst {
  width: 2.45rem;
  height: 2.45rem;
  margin: -1.225rem 0 0 -1.225rem;
  background: #0084FF;
  z-index: 7;
}
.msgr-app {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #050505;
  opacity: 0;
  visibility: hidden;
  transform-origin: center center;
  will-change: transform, opacity;
}
.msgr-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 1.15rem 0.45rem 0.45rem 0.2rem;
  background: #fff;
}
.msgr-head__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  color: #0084FF;
  flex-shrink: 0;
}
.msgr-head__back svg {
  width: 1.35rem;
  height: 1.35rem;
}
.msgr-head__pic {
  position: relative;
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
}
.msgr-head__pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.msgr-head__pic i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: #31A24C;
  border: 2px solid #fff;
}
.msgr-head__meta { min-width: 0; flex: 1; }
.msgr-head__name {
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msgr-head__status {
  margin-top: 0.08rem;
  font-size: 0.68rem;
  font-weight: 400;
  color: #8A8D91;
  letter-spacing: -0.01em;
}
.msgr-head__calls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #0084FF;
  padding-right: 0.25rem;
  flex-shrink: 0;
}
.msgr-head__calls svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}
.msgr-thread {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0.2rem 0.45rem 0.35rem 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  background: #fff;
}
.msgr-time {
  align-self: center;
  margin: 0.15rem 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: #8A8D91;
  letter-spacing: -0.01em;
}
.msgr-row {
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  width: 100%;
  will-change: transform, opacity;
}
.msgr-row--out {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.18rem;
}
.msgr-row--in {
  justify-content: flex-start;
}
.msgr-row__avatar {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.msgr-bubble {
  max-width: 78%;
  flex: 0 1 auto;
  padding: 0.42rem 0.72rem 0.46rem;
  font-size: 0.84rem;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.msgr-bubble p { margin: 0; }
.msgr-bubble--in {
  background: #E4E6EB;
  color: #050505;
  border-radius: 1.15rem 1.15rem 1.15rem 0.28rem;
}
.msgr-bubble--out {
  background: #0084FF;
  color: #fff;
  border-radius: 1.15rem 1.15rem 0.28rem 1.15rem;
}
.msgr-seen {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.1rem;
}
.msgr-typing {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.62rem 0.78rem;
  background: #E4E6EB;
  border-radius: 1.15rem 1.15rem 1.15rem 0.28rem;
}
.msgr-typing span {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: #8A8D91;
  animation: msgr-dot 1.05s ease-in-out infinite;
}
.msgr-typing span:nth-child(2) { animation-delay: 0.15s; }
.msgr-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes msgr-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-3px); opacity: 1; }
}
.msgr-compose {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  flex-shrink: 0;
  padding: 0.28rem 0.4rem 0.55rem 0.35rem;
  background: #fff;
}
.msgr-compose__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  color: #0084FF;
  flex-shrink: 0;
}
.msgr-compose__icon svg {
  width: 1.22rem;
  height: 1.22rem;
  display: block;
}
.msgr-compose__field {
  flex: 1;
  min-width: 0;
  min-height: 2.05rem;
  padding: 0.28rem 0.35rem 0.28rem 0.75rem;
  border-radius: 999px;
  background: #F0F2F5;
  color: #8A8D91;
  font-size: 0.92rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}
.msgr-compose__field svg {
  width: 1.35rem;
  height: 1.35rem;
  color: #0084FF;
  flex-shrink: 0;
  margin-right: 0.15rem;
}
.msgr-compose__like {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  background: #0084FF;
  color: #fff;
  flex-shrink: 0;
}
.msgr-compose__like svg {
  width: 1.12rem;
  height: 1.12rem;
  display: block;
  margin-top: -1px;
}
@media (prefers-reduced-motion: reduce) {
  .msgr-typing span { animation: none; }
}

/* ─── Om Carl ─── */
.cb-om {
  background: var(--cb-paper);
}
.cb-om__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .cb-om__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
  }
}
.cb-om__photo {
  border-radius: var(--cb-radius-xl);
  overflow: hidden;
  box-shadow: var(--cb-shadow-card);
  aspect-ratio: 4/5;
}
.cb-om__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transform-origin: center center;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .cb-om__photo img {
    transform: none;
    will-change: auto;
  }
}
.cb-om h2 { font-size: var(--cb-step-5); margin-bottom: 1rem; max-width: 12ch; }
.cb-om p + p { margin-top: 1rem; }
.cb-om p { color: var(--cb-muted); max-width: 42ch; }
.cb-om__facts {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.cb-om__fact {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--cb-step--1);
  color: var(--cb-ink);
}
.cb-om__fact span {
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--cb-copper);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* ─── Kontakt ─── */
.cb-kontakt {
  background: var(--cb-walnut);
  color: #fff;
}
.cb-kontakt h2 { font-size: var(--cb-step-5); margin-bottom: 0.75rem; }
.cb-kontakt .cb-lead { color: rgba(255,255,255,0.72); }
.cb-kontakt__grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .cb-kontakt__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
  }
}
.cb-contact-block {
  padding: 0;
}
.cb-contact-block__label {
  font-family: var(--cb-font-head);
  font-weight: 700;
  font-size: var(--cb-step-2);
  margin-bottom: 1rem;
  color: var(--cb-oak);
}
.cb-contact-block__line {
  margin-bottom: 0.35rem;
  font-size: var(--cb-step-1);
}
.cb-contact-block__line a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cb-contact-block__line a:hover { color: var(--cb-oak); }
.cb-contact-block__addr {
  margin-top: 1.25rem;
  font-style: normal;
  font-size: var(--cb-step-0);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}
.cb-contact-block__note {
  margin-top: 1.25rem;
  font-size: var(--cb-step--1);
  color: rgba(255,255,255,0.55);
  max-width: 28ch;
}
.cb-contact-block .cb-btn--msgr {
  margin-top: 1.35rem;
}

.cb-form {
  background: var(--cb-paper);
  color: var(--cb-ink);
  border-radius: var(--cb-radius-xl);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}
@media (min-width: 560px) {
  .cb-form { grid-template-columns: 1fr 1fr; }
  .cb-form .full { grid-column: 1 / -1; }
}
.cb-field label {
  display: block;
  font-size: var(--cb-step--1);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.cb-field input,
.cb-field select,
.cb-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border-radius: var(--cb-radius-md);
  border: 1px solid var(--cb-line);
  background: #fff;
  font: inherit;
  font-size: 16px; /* iOS zoom guard */
  color: var(--cb-ink);
}
.cb-field textarea { min-height: 7rem; resize: vertical; }
.cb-field .error {
  display: none;
  color: var(--cb-copper-deep);
  font-size: 0.78rem;
  margin-top: 0.25rem;
}
.cb-field.is-invalid input,
.cb-field.is-invalid select,
.cb-field.is-invalid textarea { border-color: var(--cb-copper); }
.cb-field.is-invalid .error { display: block; }
.cb-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.cb-form__status {
  grid-column: 1 / -1;
  font-size: var(--cb-step--1);
  min-height: 1.25rem;
}
.cb-form__status.is-ok { color: #1B4433; }
.cb-form__status.is-err { color: var(--cb-copper-deep); }
.cb-form__status.is-info { color: var(--cb-muted); }
.cb-form .cb-btn--cta { box-shadow: var(--cb-shadow-push); }
.cb-form .hint {
  font-size: var(--cb-step--1);
  color: var(--cb-muted);
  margin-top: 0.65rem;
}
.cb-form .hint a { text-decoration: underline; }

/* ─── Float / to-top ─── */
.cb-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--cb-z-float);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.cb-totop {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cb-resin);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--cb-shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--cb-dur-base);
}
.cb-totop.is-visible { opacity: 1; pointer-events: auto; }

/* ─── Reveal ─── */
.reveal { will-change: transform, opacity; }

/* ─── Webbhult footer (scoped reuse) ─── */
.kh-container {
  width: 100%;
  max-width: var(--kh-container);
  margin-inline: auto;
  padding-inline: var(--kh-gutter);
}
.kh-footer {
  background: var(--kh-skog-950);
  color: var(--kh-skog-200);
  padding-block: var(--kh-space-12) var(--kh-space-8);
}
.kh-footer a:hover { color: #fff; }
.kh-footer__grid { display: grid; gap: var(--kh-space-8); }
@media (min-width: 768px) {
  .kh-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.kh-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--kh-space-4);
}
.kh-nav-logo__name {
  font-family: var(--kh-font-head);
  font-weight: 700;
  font-size: var(--kh-step-2);
}
.kh-nav-logo__tag {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
}
.kh-mark {
  display: inline-block;
  width: 0.72em;
  height: 0.94em;
  vertical-align: -0.05em;
  margin-left: 0.12em;
}
.kh-mark svg { width: 100%; height: 100%; }
.kh-mark__tri { fill: var(--kh-skog-400); }
.kh-mark__dot { fill: var(--kh-falu-500); }
.kh-footer h4 {
  color: #fff;
  font-family: var(--kh-font-head);
  font-size: var(--kh-step-0);
  margin-bottom: var(--kh-space-4);
}
.kh-footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--kh-space-2);
  font-size: var(--kh-step--1);
}
.kh-footer__owner {
  margin-top: var(--kh-space-5);
  font-size: var(--kh-step--1);
  line-height: 1.6;
}
.kh-footer__owner .kh-footer__ext { font-weight: 700; }
.kh-footer__ext { color: #fff; }
.kh-footer__ext:hover { text-decoration: underline; }
.kh-footer__address {
  margin-block: var(--kh-space-3) var(--kh-space-4);
  font-style: normal;
  font-size: var(--kh-step--1);
  line-height: 1.7;
  opacity: 0.85;
}
.kh-footer__bottom {
  margin-top: var(--kh-space-10);
  padding-top: var(--kh-space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--kh-space-4);
  justify-content: space-between;
  font-size: var(--kh-step--1);
  opacity: 0.7;
}
.kh-footer__credits {
  width: 100%;
  margin-top: var(--kh-space-4);
  font-size: 0.75rem;
  line-height: 1.55;
  opacity: 0.85;
}
.kh-footer__credits a {
  color: #fff;
  text-decoration: underline;
}

/* Legal modal minimal */
.kh-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.kh-modal[hidden] { display: none; }
.kh-modal.is-open { opacity: 1; visibility: visible; }
.kh-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 18, 0.72);
}
.kh-modal__dialog {
  position: relative;
  width: min(40rem, 100%);
  max-height: min(85vh, 40rem);
  overflow: auto;
  background: #fff;
  color: var(--kh-ink);
  border-radius: var(--kh-radius-lg);
  padding: 1.75rem;
  z-index: 1;
  isolation: isolate;
}
.kh-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--kh-skog-100);
}
.kh-modal__dialog h2 {
  font-family: var(--kh-font-head);
  margin-bottom: 0.75rem;
}
.kh-modal__dialog p { margin-bottom: 0.75rem; color: var(--kh-muted); font-size: 0.95rem; }

/* ─── Project image lightbox (view-transition morph) ─── */
.cb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cb-lightbox.is-open { display: flex; }
.cb-lightbox.is-visible { opacity: 1; }
.cb-lightbox__veil {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(28, 20, 16, 0.72);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}
.cb-lightbox__scale {
  position: relative;
  z-index: 1;
  width: min(56rem, 100%);
  transform: scale(0.92) translateY(16px);
  transition: transform 0.4s var(--cb-ease-out);
}
.cb-lightbox.is-visible .cb-lightbox__scale {
  transform: scale(1) translateY(0);
}
.cb-lightbox__frame {
  position: relative;
  margin: 0;
  width: 100%;
  max-height: min(92vh, 100%);
  background: var(--cb-resin);
  border-radius: var(--cb-radius-xl);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}
.cb-lightbox__img {
  display: block;
  width: 100%;
  max-height: min(72vh, 38rem);
  object-fit: contain;
  background: #120e0c;
  border-radius: var(--cb-radius-xl) var(--cb-radius-xl) 0 0;
}
.cb-lightbox__cap {
  padding: 1.1rem 1.35rem 1.25rem;
  color: #fff;
}
.cb-lightbox__cap h3 {
  font-family: var(--cb-font-head);
  font-size: var(--cb-step-2);
  margin: 0 0 0.3rem;
}
.cb-lightbox__cap p {
  margin: 0;
  font-size: var(--cb-step--1);
  color: rgba(255,255,255,0.7);
}
.cb-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(28, 20, 16, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cb-lightbox__close svg { width: 1.15rem; height: 1.15rem; }
.cb-lightbox__close:hover { background: rgba(28, 20, 16, 0.8); }
.cb-lightbox__close:focus-visible {
  outline: 2px solid var(--cb-oak);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .h-card__shot img,
  .cb-lightbox,
  .cb-lightbox__scale {
    transition: none;
  }
  .h-card__shot:hover img { transform: none; }
}
