/* =========================================================================
   Momentum — One-pager v2
   Minimalist, editorial, photo-first.
   ========================================================================= */

:root {
  --site-fs-scale: 1;
  --hero-h: 100vh;
  --section-pad: clamp(120px, 16vh, 220px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-size: calc(var(--fs-body) * var(--site-fs-scale));
  background: var(--bjg-cream);
  overflow-x: hidden;
  max-width: 100%;
}
img { display: block; max-width: 100%; }
section { scroll-margin-top: 80px; }

.row {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--bjg-graphite);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.section-eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor;
}
.section-title {
  font-family: var(--font-display);
  font-size: 70px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--bjg-forest);
  margin: 0;
  text-wrap: balance;
}
.section-title em { font-style: italic; opacity: 0.7; }

/* =========================================================================
   Topbar
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px var(--gutter);
  transition: background-color var(--dur-3) var(--ease-out),
              backdrop-filter var(--dur-3) var(--ease-out),
              border-color var(--dur-3) var(--ease-out);
  border-bottom: 1px solid transparent;
  color: var(--bjg-cream);
}
.nav.is-scrolled {
  background: #F5F1ED;
  border-bottom-color: var(--bjg-rule);
  color: var(--bjg-forest);
}
.nav__brand {
  display: flex; align-items: center;
  text-decoration: none; color: inherit;
  height: 28px;
  position: relative;
  z-index: 90;
}
.nav__brand img { height: 27px; width: auto; }
.nav__brand .img-light { display: block; }
.nav__brand .img-dark { display: none; }
.nav.is-scrolled .nav__brand .img-light { display: none; }
.nav.is-scrolled .nav__brand .img-dark { display: block; }

.nav__links {
  display: flex; gap: 40px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.05em;
  justify-content: center;
}
.nav__links a {
  text-decoration: none;
  color: inherit;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11.5px;
}
.nav__links > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav__links > a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 12px; position: relative; z-index: 90; }
.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--bjg-cream);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out);
  border-radius: 1px;
}
.nav.is-scrolled .nav__burger span { background: var(--bjg-forest); }
.nav.is-mobile-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-mobile-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-mobile-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--bjg-forest);
  padding: 104px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms var(--ease-out), opacity 200ms var(--ease-out);
  z-index: 80;
  overflow-y: auto;
}
/* When the burger menu is open, keep the top bar transparent so the full-screen
   blue shows behind the logo + burger, regardless of scroll state. */
.nav.is-mobile-open {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--bjg-cream);
}
.nav.is-mobile-open .nav__brand .img-light { display: block; }
.nav.is-mobile-open .nav__brand .img-dark { display: none; }
.nav.is-mobile-open .nav__burger span { background: var(--bjg-cream); }
.nav.is-mobile-open .nav__mobile {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav__mobile a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--bjg-cream);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.nav__mobile-cta {
  margin-top: 20px;
  padding: 14px 24px;
  border: 1px solid var(--bjg-cream);
  border-radius: 999px;
  font-size: 13px !important;
  font-family: var(--font-sans) !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  align-self: flex-start;
}
.nav__cta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out);
}
.nav:not(.is-scrolled) .nav__cta:hover { background: rgba(255,255,255,0.12); }
.nav.is-scrolled .nav__cta:hover { background: var(--bjg-forest); color: var(--bjg-cream); border-color: var(--bjg-forest); }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
}

/* =========================================================================
   HERO — minimalist centered
   ========================================================================= */
.hero {
  position: relative;
  min-height: var(--hero-h);
  background: var(--bjg-forest);
  color: var(--bjg-cream);
  overflow: hidden;
  /* Three rows: top spacer = nav height, center = content, bottom = controls.
     Equal top/bottom spacers keep content visually centered between nav and bottom row. */
  display: grid;
  grid-template-rows: 96px 1fr auto;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1000ms var(--ease-out), transform 8000ms linear;
  transform: scale(1.02);
}
.hero__bg.is-active { opacity: 1; transform: scale(1.06); }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(34,34,34,0.45) 0%,
      rgba(34,34,34,0.15) 35%,
      rgba(34,34,34,0.40) 70%,
      rgba(34,34,34,0.85) 100%
    );
  pointer-events: none;
}
.hero__center {
  position: relative;
  z-index: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
}
.hero__eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  font-size: 11.5px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  display: flex; align-items: center; gap: 16px;
  transition: opacity 400ms var(--ease-out);
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7;
  display: inline-block;
}
.hero__kpis {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  max-width: 560px;
  width: 100%;
}
.hero__kpi {
  text-align: center;
  padding: 4px 16px;
  position: relative;
  color: #fff;
}
.hero__kpi + .hero__kpi::before {
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: rgba(255,255,255,0.28);
}
.hero__kpi-value {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  font-weight: 400;
  color: #fff;
  margin-bottom: 6px;
}
.hero__kpi-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}
.hero__cta { margin-top: 48px; }
.hero__title {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  max-width: 16ch;
}
.hero__title em {
  font-style: italic;
  opacity: 0.85;
}
.hero__cta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--bjg-cream);
  color: var(--bjg-forest);
  border: 0;
  padding: 18px 40px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 14px;
  transition: opacity var(--dur-2) var(--ease-out);
}
.hero__cta:hover { opacity: 0.88; }

/* Bottom row: scroll cue left, case dots right */
.hero__bottom {
  position: relative;
  z-index: 2;
  grid-row: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--gutter) 40px;
  gap: 32px;
}
.hero__scroll {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  display: flex; align-items: center; gap: 14px;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; top: -40px; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
  animation: scrollDown 2.4s var(--ease-out) infinite;
}
@keyframes scrollDown {
  0% { top: -40px; }
  100% { top: 100%; }
}

/* Case dots — minimalist carousel control */
.casedots {
  display: flex;
  align-items: center;
  gap: 16px;
}
.casedot {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.30);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: width var(--dur-3) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
  flex: 0 0 auto;
}
.casedot__photo {
  position: absolute;
  left: 3px; top: 3px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.4) contrast(0.95);
  transition: filter var(--dur-3) var(--ease-out);
}
.casedot.is-active {
  width: 240px;
  border-color: rgba(255,255,255,0.55);
}
.casedot.is-active .casedot__photo {
  filter: grayscale(0) contrast(1);
}
.casedot__veil {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34,34,34,0) 28%, rgba(34,34,34,0.55) 100%);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
  pointer-events: none;
}
.casedot.is-active .casedot__veil { opacity: 1; }
.casedot__label {
  position: absolute;
  left: 52px; top: 0; bottom: 0; right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #fff;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}
.casedot.is-active .casedot__label { opacity: 1; }
.casedot__ring {
  position: absolute;
  left: 0; top: 0;
  width: 52px; height: 52px;
  pointer-events: none;
}
.casedot__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.casedot__ring-track { fill: none; stroke: transparent; }
.casedot__ring-fill {
  fill: none;
  stroke: rgba(255,255,255,0.90);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 100ms linear;
}
.casedot:not(.is-active):hover { border-color: rgba(255,255,255,0.6); }
.casedot:not(.is-active):hover .casedot__photo { filter: grayscale(0) contrast(1); }

@media (max-width: 720px) {
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 24px; }
  .hero__scroll { display: none; }
  .casedots { justify-content: center; }
  .casedot.is-active { width: 200px; }
}

/* =========================================================================
   Filosofi — single big quote, no stats clutter
   ========================================================================= */
.philosophy {
  background: var(--bjg-cream);
  padding: var(--section-pad) 0;
  text-align: center;
}
.philosophy__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--bjg-forest);
  max-width: 52ch;
  margin: 0 auto;
  text-wrap: balance;
}
.philosophy__title em { font-style: italic; opacity: 0.85; }

/* tiny stats strip beneath */
.stats {
  margin-top: clamp(80px, 10vh, 120px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--bjg-rule);
  padding-top: 40px;
  text-align: left;
}
.stat { padding: 0 24px; border-right: 1px solid var(--bjg-rule); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat__label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--bjg-graphite);
  margin-bottom: 14px;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 1;
  color: var(--bjg-forest);
  letter-spacing: -0.01em;
}
.stat__sub { margin-top: 10px; font-size: 13px; color: var(--bjg-mute); max-width: 22ch; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; padding: 24px 0; border-bottom: 1px solid var(--bjg-rule); } .stat:last-child { border-bottom: 0; } }

/* =========================================================================
   Cases — structured grid (clear rhythm, not random)
   1 hero row (1 wide) + 2 cols regular tiles
   ========================================================================= */
.cases {
  background: #DCD5C7;
  padding: var(--section-pad) 0;
  position: relative;
  transition: background-color 800ms var(--ease-out);
}
.cases.is-revealed {
  background: #DCD5C7;
}
.cases__transition {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 240px;
  background: linear-gradient(180deg, var(--bjg-cream) 0%, #DCD5C7 100%);
  pointer-events: none;
  z-index: 1;
}
.cases > .row { position: relative; z-index: 2; }
.cases__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 80px; gap: 32px;
}
.cases__view {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--bjg-graphite);
}
.cases__view a {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  color: var(--bjg-forest);
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--bjg-forest);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  transition: opacity var(--dur-2) var(--ease-out);
}
.cases__view a:hover { opacity: 0.7; }

/* Featured case — same overlay style as casetile, but full-width and taller */
.case-featured {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bjg-forest);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 16/8;
  isolation: isolate;
  margin-bottom: 24px;
}
.case-featured__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1200ms var(--ease-out);
}
.case-featured:hover .case-featured__photo { transform: scale(1.03); }
.case-featured::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(34,34,34,0.65) 0%, rgba(34,34,34,0) 30%),
    linear-gradient(180deg, rgba(34,34,34,0) 25%, rgba(34,34,34,0.88) 100%);
  z-index: 1;
}
.case-featured__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "tl tr" ". ." "bl br";
  height: 100%;
  padding: clamp(28px, 3vw, 44px);
  color: #fff;
}
.case-featured__tl { grid-area: tl; max-width: 60ch; }
.case-featured__tr { grid-area: tr; justify-self: end; align-self: start; }
.case-featured__bl { grid-area: bl; align-self: end; }
.case-featured__br { grid-area: br; justify-self: end; align-self: end; }
.case-featured__bottom-unused {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: end;
}
.case-featured__textcol { max-width: 60ch; }
.case-featured__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: #fff;
  margin: 0 0 12px;
  text-wrap: balance;
}
.case-featured__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0;
  max-width: 50ch;
}
.case-featured__kpis {
  display: flex; gap: 0;
}
.case-featured__kpi {
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,0.18);
  text-align: left;
}
.case-featured__kpi:first-child { padding-left: 0; }
.case-featured__kpi:last-child { border-right: 0; }
.case-featured__kpi-value {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
  color: #fff;
}
.case-featured__kpi-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}
.case-featured__cta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--bjg-cream);
  color: var(--bjg-forest);
  border: 0;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity var(--dur-2) var(--ease-out);
  display: inline-block;
  text-decoration: none;
}
.case-featured__cta:hover { opacity: 0.88; }

/* Regular grid — 2 columns when 2 tiles */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.casetile {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bjg-forest);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  aspect-ratio: 5/4;
  isolation: isolate;
}
.casetile__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1200ms var(--ease-out);
}
.casetile:hover .casetile__photo { transform: scale(1.04); }
.casetile::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(34,34,34,0.65) 0%, rgba(34,34,34,0) 35%),
    linear-gradient(180deg, rgba(34,34,34,0) 30%, rgba(34,34,34,0.85) 100%);
  z-index: 1;
}
.casetile__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "tl tr" ". ." "bl bl";
  height: 100%;
  padding: 28px;
  color: #fff;
}
.casetile__tl { grid-area: tl; align-self: start; }
.casetile__tr { grid-area: tr; justify-self: end; align-self: start; }
.casetile__bl { grid-area: bl; align-self: end; }
.casetile__tag {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  padding: 7px 12px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 999px;
}
.casetile__status {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85);
}
.casetile__status .dot { width: 6px; height: 6px; border-radius: 50%; background: #C9D0DC; }
.casetile__status.is-closed .dot { background: rgba(255,255,255,0.4); }
.casetile__title {
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}
.casetile__kpis {
  display: flex; gap: 0;
}
.casetile__kpi {
  padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,0.18);
  text-align: left;
}
.casetile__kpi:first-child { padding-left: 0; }
.casetile__kpi:last-child { border-right: 0; }
.casetile__kpi-value {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: #fff;
}
.casetile__kpi-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  white-space: nowrap;
}
.casetile__row-unused {
  display: flex; align-items: center; gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.20);
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}
.casetile__row strong { color: #fff; font-weight: 500; }

@media (max-width: 1100px) {
  .case-featured { grid-template-columns: 1fr; }
  .case-featured__img { aspect-ratio: 16/10; }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cases__grid { grid-template-columns: 1fr; }
  .cases__head { flex-direction: column; align-items: start; }
}

/* =========================================================================
   Webinarer — with thumbnails
   ========================================================================= */
.webinars {
  background: var(--bjg-forest);
  color: var(--bjg-cream);
  padding: var(--section-pad) 0;
}
.webinars .section-eyebrow { color: rgba(245,241,237,0.7); }
.webinars .section-title { color: var(--bjg-cream); }
.webinars__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 72px; gap: 32px;
}
.webinars__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(245,241,237,0.18);
}
.webinar {
  display: grid;
  grid-template-columns: 120px 200px 1fr 200px 60px;
  align-items: center;
  gap: 32px;
  padding: 28px 16px;
  border-bottom: 1px solid rgba(245,241,237,0.18);
  text-decoration: none;
  color: inherit;
  transition: background-color var(--dur-2) var(--ease-out),
              padding var(--dur-3) var(--ease-out);
  cursor: pointer;
}
.webinar:hover { background: rgba(245,241,237,0.04); padding-left: 32px; }
.webinar__thumb {
  width: 100px; height: 100px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.1);
  flex-shrink: 0;
}
.webinar__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.webinar__day {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.9;
  color: var(--bjg-cream);
  letter-spacing: -0.01em;
}
.webinar__month {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(245,241,237,0.7);
  text-align: center;
}
.webinar__year { display: block; font-weight: 400; font-size: 11px; margin-top: 2px; color: rgba(245,241,237,0.5); text-align: center; }
.webinar__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--bjg-cream);
  margin: 0 0 6px;
}
.webinar__sub { font-family: var(--font-sans); font-size: 13px; color: rgba(245,241,237,0.65); letter-spacing: 0.02em; }
.webinar__meta {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(245,241,237,0.7);
  font-weight: 500;
}
.webinar__arrow {
  display: flex; justify-content: flex-end;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--bjg-cream);
  transition: transform var(--dur-2) var(--ease-out);
}
.webinar:hover .webinar__arrow { transform: translateX(8px); }
@media (max-width: 1100px) {
  .webinar { grid-template-columns: 90px 140px 1fr 60px; }
  .webinar__meta { display: none; }
}
@media (max-width: 720px) {
  .webinar { grid-template-columns: 80px 1fr; gap: 16px; padding: 20px 0; }
  .webinar__date, .webinar__arrow, .webinar__meta { display: none; }
}

/* =========================================================================
   Referencer — carousel
   ========================================================================= */
.refs {
  background: var(--bjg-cream);
  padding: var(--section-pad) 0;
}
.refs__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 72px; gap: 32px;
}
.refs__nav { display: flex; gap: 12px; }
.refs__btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--bjg-rule);
  background: transparent;
  color: var(--bjg-forest);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur-2) var(--ease-out);
}
.refs__btn:hover { border-color: var(--bjg-forest); background: rgba(34,46,78,0.04); }
.refs__btn:disabled { opacity: 0.3; cursor: default; }
.refs__viewport {
  position: relative;
  overflow: hidden;
}
.refs__track {
  display: flex;
  gap: 32px;
  transition: transform 600ms var(--ease-out);
}
.ref {
  flex: 0 0 calc((100% - 64px) / 3);
  background: var(--bjg-bone);
  padding: 56px 48px;
  border-radius: 4px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 360px;
}
.ref__quote {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--bjg-forest);
  margin: 0 0 32px;
  text-wrap: pretty;
  position: relative;
}
.ref__mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.6;
  color: var(--bjg-forest);
  opacity: 0.25;
  margin-bottom: 16px;
  display: block;
}
.ref__by { display: flex; align-items: center; gap: 16px; }
.ref__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bjg-forest);
  color: var(--bjg-cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.ref__name { font-family: var(--font-sans); font-weight: 500; font-size: 14px; color: var(--bjg-forest); }
.ref__meta { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.04em; color: var(--bjg-mute); }
@media (max-width: 1100px) { .ref { flex-basis: calc((100% - 32px) / 2); } }
@media (max-width: 720px) { .ref { flex-basis: 100%; } .refs__head { flex-direction: column; align-items: start; } }

/* =========================================================================
   Holdet
   ========================================================================= */
.team { background: var(--bjg-bone); padding: var(--section-pad) 0; }
.team__head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 80px; }
.team__head p { max-width: 50ch; font-size: 16px; color: var(--bjg-graphite); line-height: 1.6; margin: 0; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { display: flex; flex-direction: column; }
.member__photo {
  aspect-ratio: 3/4;
  background: var(--bjg-forest);
  background-size: cover;
  background-position: center top;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.member__overlay {
  width: 100%;
  background: linear-gradient(180deg, rgba(34,34,34,0) 0%, rgba(34,34,34,0.85) 50%, rgba(34,34,34,0.95) 100%);
  color: var(--bjg-cream);
  padding: 60px 22px 22px;
}
.member__name { font-family: var(--font-display); font-size: 22px; line-height: 1.1; color: #fff; margin: 0 0 4px; letter-spacing: -0.005em; }
.member__role { font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.04em; color: rgba(255,255,255,0.78); }
.member__contact {
  background: #DCD5C7;
  padding: 20px 22px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.member__line {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--bjg-graphite);
  text-decoration: none;
  letter-spacing: 0.005em;
  transition: color var(--dur-2) var(--ease-out);
}
.member__line:hover { color: var(--bjg-forest); }
@media (max-width: 1100px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .team__head { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .team__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Signup
   ========================================================================= */
.signup { position: relative; background: var(--bjg-forest); color: var(--bjg-cream); overflow: hidden; }
.signup__photo { position: absolute; inset: 0; background-image: url('assets/images/family-office-dark.jpg'); background-size: cover; background-position: center; opacity: 0.22; filter: grayscale(0.2); }
.signup__veil { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(34,46,78,0.85) 0%, rgba(34,46,78,0.65) 100%); }
.signup__inner { position: relative; z-index: 2; padding: var(--section-pad) 0; }
.signup__row { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.signup__title { font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 64px); line-height: 1.02; letter-spacing: -0.015em; color: var(--bjg-cream); margin: 0; text-wrap: balance; }
.signup__title em { font-style: italic; opacity: 0.82; }
.signup__lede { margin-top: 28px; font-size: 16px; color: rgba(245,241,237,0.78); max-width: 50ch; line-height: 1.6; }
.signup__benefits { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 14px; max-width: 48ch; }
.signup__benefits li { display: flex; align-items: flex-start; gap: 14px; font-family: var(--font-sans); font-weight: 300; font-size: 15px; line-height: 1.5; color: rgba(245,241,237,0.88); }
.signup__benefits li svg { flex-shrink: 0; margin-top: 4px; color: rgba(245,241,237,0.7); }
.signup__form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-family: var(--font-sans); font-weight: 600; font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: rgba(245,241,237,0.6); }
.field__input { background: transparent; border: 0; border-bottom: 1px solid rgba(245,241,237,0.30); padding: 12px 0 14px; font-family: var(--font-sans); font-size: 16px; color: var(--bjg-cream); outline: none; transition: border-color var(--dur-2) var(--ease-out); }
.field__input::placeholder { color: rgba(245,241,237,0.30); }
.field__input:focus { border-bottom-color: var(--bjg-cream); }
.signup__submit { margin-top: 20px; align-self: start; display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; background: var(--bjg-cream); color: var(--bjg-forest); border: 0; padding: 18px 32px; border-radius: 999px; cursor: pointer; transition: opacity var(--dur-2) var(--ease-out); }
.signup__submit:hover { opacity: 0.88; }
.signup__check { display: flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-size: 13px; color: rgba(245,241,237,0.55); margin-top: 8px; }
.signup__check input { accent-color: var(--bjg-cream); }
@media (max-width: 1100px) { .signup__row { grid-template-columns: 1fr; gap: 48px; } }

/* =========================================================================
   Footer — corporate, large
   ========================================================================= */
.footer {
  background: var(--bjg-forest);
  color: rgba(245,241,237,0.75);
  padding: clamp(80px, 12vh, 140px) 0 32px;
  position: relative;
  border-top: 1px solid rgba(245,241,237,0.10);
}
.footer__big {
  margin: 0 0 80px;
  display: block;
  line-height: 0;
}
.footer__big img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.footer__big em { font-style: italic; opacity: 0.6; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(245,241,237,0.18);
}
.footer__brand .logo { margin-bottom: 32px; height: 36px; }
.footer__brand .logo img { height: 100%; width: auto; opacity: 0.95; }
.footer__brand p { font-size: 14px; color: rgba(245,241,237,0.65); max-width: 38ch; margin: 0 0 28px; line-height: 1.6; }
.footer__brand .addr {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(245,241,237,0.55);
  line-height: 1.7;
  font-style: normal;
}
.footer__brand .addr strong { color: var(--bjg-cream); font-weight: 500; }
.footer__col h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--bjg-cream);
  margin: 0 0 24px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { text-decoration: none; font-size: 14px; color: rgba(245,241,237,0.65); transition: color var(--dur-2) var(--ease-out); }
.footer__col a:hover { color: var(--bjg-cream); }

.footer__mid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(245,241,237,0.18);
}
.footer__mid > .footer__contact:nth-child(2) { text-align: center; }
.footer__mid > .footer__contact:nth-child(3) { text-align: right; }
.footer__contact h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(245,241,237,0.55);
  margin: 0 0 14px;
}
.footer__contact p {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--bjg-cream);
  letter-spacing: -0.005em;
  margin: 0;
}
.footer__contact a { color: inherit; text-decoration: none; }
.footer__contact a:hover { opacity: 0.7; }

.footer__bot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(245,241,237,0.45);
  letter-spacing: 0.04em;
}
.footer__bot-l { display: flex; gap: 24px; align-items: center; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { text-decoration: none; color: inherit; }
.footer__legal a:hover { color: var(--bjg-cream); }
.footer__socials { display: flex; gap: 14px; justify-content: flex-end; }
.footer__socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245,241,237,0.20);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(245,241,237,0.75);
  text-decoration: none;
  transition: all var(--dur-2) var(--ease-out);
}
.footer__socials a:hover { border-color: var(--bjg-cream); color: var(--bjg-cream); }

@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .footer__mid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .footer__bot { grid-template-columns: 1fr; gap: 14px; justify-items: start; }
  .footer__socials { justify-content: flex-start; }
}


/* =========================================================================
   Mega menu (under "Cases" in main nav)
   ========================================================================= */
.nav__cases {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__cases-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
}
.nav__cases-chev {
  transition: transform var(--dur-2) var(--ease-out);
  opacity: 0.7;
}
.nav__cases.is-open .nav__cases-chev { transform: rotate(180deg); }

.megamenu {
  position: fixed;
  left: 0; right: 0; top: 0;
  padding-top: 92px;
  z-index: -1;
  background: var(--bjg-cream);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-top: 0;
  border-bottom: 1px solid var(--bjg-rule);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
  color: var(--bjg-forest);
}
.nav.has-mega .megamenu {
  opacity: 1;
  transform: translateY(0);
  /* Container stays click-through; only inner content captures pointers,
     so the nav links above remain clickable through the padding-top area. */
  pointer-events: none;
}
.megamenu__inner { pointer-events: none; }
.nav.has-mega .megamenu__inner { pointer-events: auto; }
/* Force the nav itself into "scrolled" appearance while mega is open, so links/logo stay legible */
.nav.has-mega:not(.is-scrolled) {
  background: var(--bjg-cream);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: transparent;
  color: var(--bjg-forest);
}
.nav.has-mega:not(.is-scrolled) .nav__brand .img-light { display: none; }
.nav.has-mega:not(.is-scrolled) .nav__brand .img-dark { display: block; }
.nav.has-mega:not(.is-scrolled) .nav__cta {
  border-color: var(--bjg-forest);
  color: var(--bjg-forest);
}
.megamenu__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px clamp(24px, 4vw, 64px) 44px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.megamenu__eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--bjg-graphite);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.megamenu__eyebrow::before {
  content: ""; display: inline-block; width: 24px; height: 1px; background: currentColor; opacity: 0.6;
}
.megamenu__eyebrow--mt { margin-top: 28px; }

/* Cases column */
.megamenu__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.megacase {
  position: relative;
  text-decoration: none;
  color: #fff;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4/5;
  min-height: 220px;
}
.megacase__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 800ms var(--ease-out);
  z-index: 0;
}
.megacase:hover .megacase__photo { transform: scale(1.04); }
.megacase::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,34,34,0) 0%, rgba(34,34,34,0.25) 35%, rgba(34,34,34,0.75) 70%, rgba(34,34,34,0.95) 100%);
  z-index: 1;
}
.megacase__body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px;
}
.megacase__type {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.megacase__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.megacase__desc {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
  max-width: 28ch;
}

/* Links column */
.megamenu__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.megamenu__list a {
  text-decoration: none;
  color: var(--bjg-forest);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.005em;
  display: inline-block;
  padding: 4px 0;
  position: relative;
  transition: color var(--dur-2) var(--ease-out), padding-left var(--dur-2) var(--ease-out);
}
.megamenu__list a::before {
  content: "→";
  position: absolute;
  left: -2px;
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  transform: translateX(-4px);
}
.megamenu__list a:hover { padding-left: 18px; color: var(--bjg-forest); }
.megamenu__list a:hover::before { opacity: 1; transform: translateX(0); }

/* CTA column */
.megamenu__cta {
  background: var(--bjg-forest);
  color: var(--bjg-cream);
  border-radius: 4px;
  padding: 28px 26px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}
.megamenu__cta-eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(245,241,237,0.7);
  margin-bottom: 14px;
}
.megamenu__cta-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  color: var(--bjg-cream);
  margin: 0 0 24px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.megamenu .megamenu__cta-btn {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--bjg-cream);
  color: #0D2B1F;
  border: 0;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  align-self: flex-start;
  transition: opacity var(--dur-2) var(--ease-out);
}
.megamenu__cta-btn:hover { opacity: 0.88; }

@media (max-width: 1100px) {
  .megamenu__inner { grid-template-columns: 1fr; gap: 32px; padding: 28px 24px 32px; }
  .megamenu__cards { grid-template-columns: 1fr; }
}

.megamenu__seeall {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--bjg-forest);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid var(--bjg-forest);
  transition: opacity var(--dur-2) var(--ease-out), gap var(--dur-2) var(--ease-out);
}
.megamenu__seeall:hover { opacity: 0.78; gap: 14px; }

/* =========================================================================
   Info pages — Presse, Karriere, Risikoadvarsel
   ========================================================================= */
.info-page {
  background: var(--bjg-cream);
  padding: clamp(140px, 18vh, 220px) 0 clamp(80px, 12vh, 160px);
  min-height: 70vh;
}
.info-page__eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bjg-graphite);
  margin: 0 0 24px;
}
.info-page__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--bjg-forest);
  margin: 0 0 40px;
  max-width: 22ch;
}
.info-page__body p {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--bjg-forest);
  max-width: 70ch;
  margin: 0 0 20px;
}
.info-page__body a {
  color: var(--bjg-forest);
  text-decoration: underline;
}
.info-page__body a:hover { opacity: 0.78; }
.info-page__body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--bjg-forest);
  margin: 40px 0 14px;
}
.info-page__body h3:first-child { margin-top: 0; }
.info-page__body ul {
  margin: 0 0 20px;
  padding-left: 22px;
  max-width: 70ch;
}
.info-page__body li {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--bjg-forest);
  margin-bottom: 8px;
}
.info-page__updated {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--bjg-mute);
  margin-top: 48px;
}
.info-page__table-wrap {
  max-width: 70ch;
  margin: 0 0 20px;
  overflow-x: auto;
}
.info-page__body table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: clamp(13px, 1vw, 15px);
  color: var(--bjg-forest);
}
.info-page__body th,
.info-page__body td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(34,46,78,0.14);
  line-height: 1.5;
}
.info-page__body th {
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.info-page__body thead th {
  border-bottom-width: 1.5px;
}

/* =========================================================================
   Formular-status (lead-formularer)
   ========================================================================= */
.form-error {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: #b3261e;
  margin: 12px 0 0;
}
.kontakt-form-done {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bjg-forest);
}

/* =========================================================================
   Cookie consent banner
   ========================================================================= */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1000;
  width: min(420px, calc(100vw - 48px));
  background: var(--bjg-cream);
  color: var(--bjg-forest);
  border: 1px solid var(--bjg-hairline-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(34, 46, 78, 0.22);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  will-change: opacity, transform;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner__inner { padding: 24px; }
.cookie-banner__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--bjg-forest);
}
.cookie-banner__text {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--bjg-graphite);
  margin: 0;
}
.cookie-banner__text + .cookie-banner__text { margin-top: 10px; }
.cookie-banner__text a {
  color: var(--bjg-forest);
  text-decoration: underline;
}
.cookie-banner__text a:hover { opacity: 0.78; }
.cookie-banner__prefs {
  margin-top: 18px;
  border-top: 1px solid var(--bjg-rule);
}
.cookie-pref {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bjg-rule);
  cursor: pointer;
}
.cookie-pref--locked { cursor: default; }
.cookie-pref__txt { display: flex; flex-direction: column; gap: 3px; }
.cookie-pref__name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--bjg-forest);
}
.cookie-pref__desc {
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--bjg-mute);
}
.cookie-pref input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--bjg-forest);
  cursor: pointer;
}
.cookie-pref--locked input[type="checkbox"] { cursor: not-allowed; opacity: 0.55; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.cookie-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
.cookie-btn--solid {
  background: var(--bjg-forest);
  color: var(--bjg-cream);
  border: 1px solid var(--bjg-forest);
  margin-left: auto;
}
.cookie-btn--solid:hover { opacity: 0.9; }
.cookie-btn--ghost {
  background: transparent;
  color: var(--bjg-forest);
  border: 1px solid var(--bjg-forest-20);
}
.cookie-btn--ghost:hover { background: rgba(34, 46, 78, 0.06); }
@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .cookie-banner__inner { padding: 20px; }
  .cookie-btn--solid { margin-left: 0; }
  .cookie-banner__actions .cookie-btn { flex: 1 1 auto; }
}

/* =========================================================================
   Mobile optimizations — comprehensive pass
   ========================================================================= */
@media (max-width: 720px) {
  :root {
    --section-pad: clamp(72px, 12vh, 110px);
  }
  .row { padding-left: 20px; padding-right: 20px; }

  /* Hero */
  .hero__title {
    font-size: clamp(40px, 11vw, 56px) !important;
    line-height: 1.05;
    text-wrap: balance;
  }
  .hero__eyebrow { font-size: 10.5px; letter-spacing: 0.2em; }
  .hero__kpis {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }
  .hero__kpi { min-width: 0; flex: 1 1 30%; }
  .hero__kpi-value { font-size: 24px; }
  .hero__kpi-label { font-size: 10px; letter-spacing: 0.14em; }
  .hero__cta { padding: 14px 26px; font-size: 12.5px; }
  /* Casedots: ens runde thumbnails — foto fylder dot, ring matcher dot, ingen pille-udvidelse */
  .casedots { gap: 12px; justify-content: center; }
  .casedot,
  .casedot.is-active { width: 50px; height: 50px; overflow: hidden; }
  .casedot__photo { left: 3px; top: 3px; width: calc(100% - 6px); height: calc(100% - 6px); }
  .casedot__ring { left: 0; top: 0; width: 100%; height: 100%; }
  .casedot__veil { display: none; }
  .casedot__label,
  .casedot.is-active .casedot__label { display: none; }

  /* Philosophy */
  .philosophy__title { font-size: clamp(20px, 5.5vw, 28px); }

  /* Section titles / eyebrows shared */
  .section-title { font-size: clamp(28px, 7vw, 40px) !important; line-height: 1.1; }
  .section-eyebrow { font-size: 10.5px; letter-spacing: 0.18em; }

  /* Cases */
  .cases__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cases__grid { min-width: 0; }
  .cases__grid > * { min-width: 0; }

  /* Featured card — drop wide aspect-ratio, use fixed height, single column */
  .case-featured {
    aspect-ratio: auto;
    min-height: 0;
    height: 460px;
  }
  .case-featured__inner {
    padding: 24px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "tr" "tl" "bl" "br";
    gap: 16px;
    min-width: 0;
  }
  .case-featured__tl,
  .case-featured__tr,
  .case-featured__bl,
  .case-featured__br { min-width: 0; justify-self: start; }
  .case-featured__title { font-size: 28px; }
  .case-featured__desc { font-size: 13px; }
  .case-featured__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .case-featured__kpi { padding: 0; border-right: 0; min-width: 0; }
  .case-featured__kpi-value { font-size: 17px; }
  .case-featured__kpi-label { white-space: normal; overflow-wrap: anywhere; font-size: 8.5px; letter-spacing: 0.08em; }

  /* Tiles — drop aspect-ratio, fixed height, allow shrink */
  .casetile {
    aspect-ratio: auto;
    min-height: 0;
    height: 380px;
    min-width: 0;
  }
  .casetile__inner {
    padding: 22px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "tr" "tl" "bl";
    gap: 12px;
    min-width: 0;
  }
  .casetile__tl,
  .casetile__tr,
  .casetile__bl { min-width: 0; justify-self: start; }
  .casetile__title { font-size: 24px; }
  .casetile__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .casetile__kpi { padding: 0; border-right: 0; min-width: 0; }
  .casetile__kpi-label { white-space: normal; overflow-wrap: anywhere; font-size: 8px; letter-spacing: 0.06em; }

  /* Webinars */
  .webinar {
    grid-template-columns: 64px 1fr auto !important;
    gap: 16px !important;
    padding: 18px 0 !important;
  }
  .webinar__thumb { width: 64px; height: 64px; }
  .webinar__date { display: none; }
  .webinar__title { font-size: 17px; }
  .webinar__sub { font-size: 13px; }
  .webinar__meta { display: none; }
  .webinar__arrow { font-size: 22px; }

  /* References */
  .refs__head { gap: 24px; }
  .refs__nav { align-self: flex-end; }
  .ref__quote { font-size: 15px; }

  /* Team */
  .team__head { gap: 24px; }
  .member__photo { aspect-ratio: 4/5; }

  /* Signup */
  .signup__row { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr !important; gap: 36px; }
  .footer__brand { grid-column: span 1 !important; }
  .footer__brand p { max-width: none; }
  .footer__mid { grid-template-columns: 1fr !important; gap: 24px; text-align: left !important; }
  .footer__mid > .footer__contact:nth-child(2),
  .footer__mid > .footer__contact:nth-child(3) { text-align: left !important; }
  .footer__contact p { font-size: 18px; }
  .footer__bot { grid-template-columns: 1fr; gap: 16px; justify-items: start; }
  .footer__legal { flex-wrap: wrap; gap: 16px; }
  .footer__socials { justify-content: flex-start; }

  /* Mega menu — already hidden on mobile via .nav__links display:none */
  .megamenu { display: none !important; }
}

/* Subpage hero — referencer/aabne/om-os/kontakt share .refp-hero */
@media (max-width: 720px) {
  .refp-hero { min-height: 70vh; padding: 0 20px; }
  .refp-hero__title { font-size: clamp(36px, 10vw, 56px) !important; line-height: 1.05; }
  .refp-hero__lede { font-size: 15px; }
  .refp-hero__eyebrow { font-size: 10.5px; }
}

/* Mid-breakpoint catch-all so footer/cases/etc. stack earlier on tablets */
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: span 3; }
  .case-featured__inner { padding: 28px; }
  .cases__head { gap: 18px; }
}

/* =========================================================================
   Lenis smooth scroll
   ========================================================================= */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
