/*
 * Anonymous Danish jurist site: no personal name/photo; practice + tone + contact only.
 * Dark editorial palette (not “law blue”); Fraunces + DM Sans; Cormorant Garamond for italic quotes; muted gold accent;
 * abstract CSS geometry only, no stock imagery.
 */

:root {
  --bg: #0f1110;
  --bg-elevated: #161918;
  --surface: #1c1f1d;
  --text: #e8ebe9;
  --text-muted: #8f9893;
  --accent: #c4a574;
  --accent-soft: rgba(196, 165, 116, 0.12);
  --line: rgba(232, 235, 233, 0.08);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  /* Klassisk, læsbar kursiv adskilt fra Fraunces (hero-tagline, citater) */
  --font-italic-serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --space: clamp(1rem, 4vw, 3rem);
  --max: 72rem;
  /* Editorial motion: calm, slow deceleration (not bouncy) */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-soft: cubic-bezier(0.45, 0, 0.55, 1);
  --dur-slow: 1.05s;
  --dur-medium: 0.75s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

@media (min-width: 1000px) {
  html {
    scroll-padding-top: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(196, 165, 116, 0.07), transparent 50%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  min-height: 100vh;
}

.skip {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Diskret mærke: samme afstand under header som til højre kant (gap + målt headerbund) */
.page-corner-mark {
  --page-corner-gap: max(1rem, env(safe-area-inset-right, 0px));
  position: fixed;
  top: calc(var(--site-header-bottom, 6.75rem) + var(--page-corner-gap));
  right: var(--page-corner-gap);
  z-index: 15;
  pointer-events: none;
  color: var(--accent);
  opacity: 0.18;
}

.page-corner-mark__svg {
  display: block;
  width: 2.1rem;
  height: auto;
}

@media (max-width: 720px) {
  .page-corner-mark {
    opacity: 0.14;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.65rem;
  padding: 1rem var(--space);
  background: #0f1110;
  border-bottom: 1px solid transparent;
  transition: padding var(--dur-medium) var(--ease-out-expo),
    background 0.45s var(--ease-out-expo),
    border-color 0.45s var(--ease-out-expo);
}

@media (min-width: 1000px) {
  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 1rem;
    row-gap: 0;
  }

  .site-header > * {
    align-self: center;
  }
}

html.is-scrolled .site-header {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background: #0f1110;
  border-bottom-color: var(--line);
}

.site-header__brand-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.1rem;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  /* Kun logoets bredde — undgår at flex/reserve “barriere” skjuler nav-tekst */
  width: fit-content;
  max-width: 100%;
}

a.site-header__brand-block {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.site-header__brand-block:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 1000px) {
  .site-header__brand-block {
    grid-column: 1;
    grid-row: 1;
  }
}

.header-slogan {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
  line-height: 1.2;
}

.header-slogan__icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.82;
}

.header-slogan__text {
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--accent);
}

.brand__text {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__mark {
  width: 18px;
  height: 22px;
  flex: 0 0 18px;
  display: inline-block;
  color: var(--accent);
  opacity: 0.9;
  transition: transform var(--dur-medium) var(--ease-out-expo),
    opacity var(--dur-medium) var(--ease-out-expo),
    filter var(--dur-medium) var(--ease-out-expo);
}

.brand:hover .brand__mark,
.brand:focus-within .brand__mark {
  transform: translateY(-1px) scale(1.08);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(196, 165, 116, 0.25));
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 1.75rem);
  font-size: 0.875rem;
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding-block: 0.15rem;
  margin-bottom: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-self: center;
}

.nav::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

@media (max-width: 999px) {
  .nav {
    padding-bottom: 0.55rem;
  }
}

@media (min-width: 1000px) {
  .nav {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-block: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    gap: clamp(0.6rem, 1.2vw, 1.1rem);
  }

  .nav a {
    padding-block: 0.42rem;
  }
}

@media (min-width: 1000px) and (max-width: 1200px) {
  .nav {
    gap: 0.55rem 0.9rem;
  }

  .nav a {
    font-size: 0.84rem;
  }
}

.nav a {
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur-medium) var(--ease-out-expo);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav--animated a {
  position: relative;
}

.nav--animated a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(196, 165, 116, 0.2));
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.55s var(--ease-out-expo);
}

.nav--animated a:hover::after,
.nav--animated a:focus-visible::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .nav--animated a::after {
    transition: none;
    transform: scaleX(0);
  }

  .nav--animated a:hover::after,
  .nav--animated a:focus-visible::after {
    transform: scaleX(1);
  }
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.42rem 0.65rem;
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
}

@media (min-width: 1000px) {
  .lang-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

.lang-toggle:hover {
  border-color: rgba(196, 165, 116, 0.35);
  color: var(--text);
}

.lang-toggle[aria-pressed="true"] .lang-toggle__en {
  color: var(--accent);
}

.lang-toggle[aria-pressed="false"] .lang-toggle__da {
  color: var(--accent);
}

/* Hero: tekst + fundament (fem søjler), kun i hero, ikke sticky på tværs af siden */
.hero__shell {
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: end;
}

@media (max-width: 999px) {
  .hero__shell {
    padding-right: max(var(--space), 3.5rem);
  }
}

@media (min-width: 900px) {
  .hero__shell {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34vw);
    align-items: center;
  }
}

.hero__foundation {
  position: relative;
  width: 100%;
  min-height: 0;
  pointer-events: none;
}

.hero__foundation-frame {
  position: relative;
  padding: clamp(1rem, 2.5vw, 1.75rem) clamp(0.65rem, 1.8vw, 1.1rem);
}

.hero__foundation-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  border: 1px solid rgba(196, 165, 116, 0.14);
  background:
    radial-gradient(ellipse 90% 80% at 50% 40%, rgba(196, 165, 116, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(28, 31, 29, 0.35) 0%, transparent 45%);
  pointer-events: none;
}

.hero__foundation-frame::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(232, 235, 233, 0.04);
  pointer-events: none;
}

/* Græsk tempel-facade: pediment + entablement + fem søjler + trin (én SVG) */
.hero__portico {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin: 0 auto;
  max-height: min(38vh, 13.5rem);
  color: var(--accent);
  opacity: 0.94;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 40px rgba(196, 165, 116, 0.07));
}

@media (min-width: 900px) {
  .hero__portico {
    margin: 0;
    margin-left: auto;
    max-width: none;
    width: 100%;
    max-height: min(42vh, 15.5rem);
  }
}

@media (max-width: 419px) {
  .hero__portico {
    max-height: min(30vh, 11rem);
  }
}

/* Hero */

.hero {
  position: relative;
  display: block;
  min-height: min(78vh, 48rem);
  padding: clamp(2rem, 8vw, 5rem) 0;
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Slogan: menneske + skjold + check (beskyttet ret, ikke retssalssymbolik) */
.hero__slogan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1.35rem;
}

.hero__slogan-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__icon {
  flex-shrink: 0;
  color: var(--accent);
}

.hero__icon--protect {
  width: 3rem;
  height: 3.5rem;
  opacity: 0.94;
}

.hero__slogan-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  line-height: 1.12;
  font-variation-settings: "SOFT" 50;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  margin-top: 0.35rem;
  font-family: var(--font-italic-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__lede {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 520px) {
  .hero__meta {
    flex-direction: row;
    gap: 2rem;
  }
}

.meta-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-block__label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-block__value {
  font-size: 0.95rem;
}

/* Hero entrance: staggered rise (no flash of layout) */
@keyframes motion-rise {
  from {
    opacity: 0;
    transform: translateY(1.35rem);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.motion-hero {
  opacity: 0;
  animation: motion-rise var(--dur-slow) var(--ease-out-expo) forwards;
}

.motion-hero--1 {
  animation-delay: 0ms;
}

.motion-hero--1s {
  animation-delay: 75ms;
}

.motion-hero--2 {
  animation-delay: 180ms;
}

.motion-hero--3 {
  animation-delay: 290ms;
}

.motion-hero--4 {
  animation-delay: 410ms;
}

.motion-hero--5 {
  animation-delay: 530ms;
}

.motion-hero--6 {
  animation-delay: 650ms;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-top: 0;
  padding: clamp(0.65rem, 1.5vw, 1.25rem);
  pointer-events: auto;
}

/* Statisk søjle-ikon (ingen scroll-/muse-animation) */
.hero__visual--static {
  min-height: min(42vh, 18rem);
  padding: clamp(1rem, 3vw, 2rem);
  pointer-events: none;
}

.hero__visual--static::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  border: 1px solid rgba(196, 165, 116, 0.14);
  background:
    radial-gradient(ellipse 90% 80% at 50% 40%, rgba(196, 165, 116, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(28, 31, 29, 0.35) 0%, transparent 45%);
  pointer-events: none;
}

.hero__visual--static::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(232, 235, 233, 0.04);
  pointer-events: none;
}

.hero__symbol {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  color: var(--accent);
  opacity: 0.92;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 48px rgba(196, 165, 116, 0.08));
}

@media (min-width: 900px) {
  .hero__visual--static {
    min-height: min(48vh, 22rem);
  }
}

/* Sections */

.section {
  padding: clamp(3rem, 10vw, 6rem) var(--space);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

.section__intro {
  margin: 0 0 2.5rem;
  max-width: 52ch;
  color: var(--text-muted);
}

.section__intro--tight {
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  opacity: 0.92;
}

.section--work {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.work-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.work-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 4vw, 2.5rem);
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease-out-expo);
}

.work-list li:hover {
  background: rgba(232, 235, 233, 0.025);
}

.work-list__n {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  opacity: 0.85;
}

.work-list h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.work-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Approach */

.section--approach {
  max-width: var(--max);
  margin: 0 auto;
}

.pullquote {
  margin: 0 0 2.5rem;
  padding: 0;
  border: none;
  padding-left: clamp(1rem, 3vw, 1.75rem);
  position: relative;
}

.pullquote[data-reveal] {
  border-left: none;
}

.pullquote[data-reveal]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1.15s var(--ease-out-expo);
}

.pullquote[data-reveal].is-visible::before {
  transform: scaleY(1);
}

.pullquote p {
  margin: 0;
  font-family: var(--font-italic-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.35;
  font-style: italic;
  font-weight: 500;
  color: var(--text);
}

.approach-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .approach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: transform 0.65s var(--ease-out-expo), border-color 0.65s var(--ease-out-expo),
    box-shadow 0.65s var(--ease-out-expo);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 165, 116, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Græske søjler + citat (traditionelt tilskrevet Aristoteles om vane og resultat) */

.section--pillars {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
}

.section__inner--pillars {
  max-width: 48rem;
}

.pillars__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section--pillars .section__title {
  margin-bottom: 1.5rem;
}

.pillars__stage {
  margin-top: 0;
}

.pillars__row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.65rem, 3.5vw, 2.25rem);
  margin-bottom: 2rem;
  padding: 0 0.25rem;
}

.pillars__svg {
  color: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
}

.pillars__svg--center {
  opacity: 0.52;
  transform: scale(1.08);
  transform-origin: bottom center;
}

.pillars-quote {
  margin: 0 auto;
  padding: 0;
  border: none;
  max-width: 38rem;
  text-align: center;
}

.pillars-quote p {
  margin: 0 0 1rem;
  font-family: var(--font-italic-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.45;
  font-style: italic;
  font-weight: 500;
  color: var(--text);
}

.pillars-quote__meta {
  margin: 0;
}

.pillars-quote cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .pillars__svg--center {
    transform: none;
  }
}

/* Areas */

.section--areas {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  border-top: 1px solid var(--line);
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: var(--accent-soft);
  border: 1px solid rgba(196, 165, 116, 0.22);
  border-radius: 999px;
  color: var(--text);
  transition: transform 0.55s var(--ease-out-expo), border-color 0.55s var(--ease-out-expo),
    background 0.55s var(--ease-out-expo);
}

.chip:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 165, 116, 0.45);
  background: rgba(196, 165, 116, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .chip:hover {
    transform: none;
  }
}

/* Testimonials */

.section--testimonials {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.section__inner--wide {
  max-width: 90rem;
}

.testimonials-globe {
  margin-bottom: 1.35rem;
}

.testimonials-globe__head {
  margin-bottom: 2.7rem;
}

.testimonials-globe__head .testimonials-globe__caption {
  margin: 0;
  max-width: 42rem;
}

.testimonials-globe__caption {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
  max-width: 42rem;
}

.testimonials-globe__head .testimonials-globe__caption {
  margin-bottom: 0;
}

.testimonials-globe__frame-wrap {
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  aspect-ratio: 1;
  min-height: 200px;
  overflow: visible;
}

/* Fill the square box; % height on canvas alone often collapses to 0 */
.testimonials-globe__canvas-host {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f1110;
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.28);
}

.testimonials-globe__labels {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.testimonials-globe__pin-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Landenavn + tal flydende over guld-punktet (position synkes i reviews-globe.js fra cobe-ankre) */
.testimonials-globe__pin-label {
  font-family: var(--font-sans, inherit);
  line-height: 1.2;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  transform: translate(-50%, calc(-100% - 8px));
  padding: 0.26rem 0.42rem 0.3rem;
  border-radius: 8px;
  border: 1px solid rgba(196, 165, 116, 0.28);
  background: linear-gradient(165deg, rgba(32, 34, 32, 0.96), rgba(15, 17, 16, 0.98));
  box-shadow:
    0 3px 14px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(196, 165, 116, 0.08);
}

.testimonials-globe__pin-name {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(0.52rem, 1.28vw, 0.64rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.testimonials-globe__pin-meta {
  display: block;
  flex-shrink: 0;
  font-size: clamp(0.46rem, 1.1vw, 0.55rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: rgba(196, 165, 116, 0.92);
  line-height: 1;
}

/* Must not use plain `display: flex` — it beats the HTML [hidden] UA rule and
   leaves an opaque layer over the WebGL canvas (labels stay visible via z-index). */
.testimonials-globe__fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
  background: var(--surface);
}

.testimonials-globe__fallback:not([hidden]) {
  display: flex;
}

.testimonials-globe__fallback code {
  font-size: 0.78em;
  color: var(--accent);
}

/* News ticker: samme udtryk som testimonial cards, lavere kontrast end globus */
.testimonials-globe__ticker-crawl {
  width: 100%;
  margin-top: 0.9rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
}

/* Under 11 lande: ingen synlig tekst, men samme plads som aktiv ticker (filtre hopper ikke) */
.testimonials-globe__ticker-crawl--placeholder {
  border-color: transparent;
  background: transparent;
  pointer-events: none;
}

.testimonials-globe__ticker-crawl--placeholder .testimonials-globe__ticker-window {
  visibility: hidden;
}

.testimonials-globe__ticker-crawl--placeholder .testimonials-globe__ticker-track {
  animation: none;
}

/* Én synlig række — mask/fade på kanterne; ingen scrollbar (kun auto-scroll) */
.testimonials-globe__ticker-window {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 2.05rem;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-globe__ticker-window::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Indre spor: duplikeret indhold, animation kun her (fuld bredde af indhold — vigtigt for translateX(-50%)) */
.testimonials-globe__ticker-track {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  min-width: max-content;
  max-width: none;
  white-space: nowrap;
  animation: testimonials-globe-ticker-x linear infinite;
  animation-duration: var(--ticker-sec, 72s);
  animation-fill-mode: none;
  will-change: transform;
  font-family: var(--font-sans, inherit);
  font-size: clamp(0.62rem, 1.52vw, 0.76rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.testimonials-globe__ticker-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 0.75rem;
  padding-right: 0.35rem;
  white-space: nowrap;
}

.testimonials-globe__ticker-item {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.testimonials-globe__ticker-name {
  min-width: 0;
}

.testimonials-globe__ticker-count {
  flex-shrink: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(196, 165, 116, 0.72);
}

.testimonials-globe__ticker-sep {
  display: inline-block;
  flex-shrink: 0;
  padding: 0 0.1rem;
  color: rgba(143, 152, 147, 0.55);
  font-weight: 500;
}

@keyframes testimonials-globe-ticker-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Langsommere crawl hvis reduce (hovedoverride med !important ligger sammen med *-reglen ovenfor) */
@media (prefers-reduced-motion: reduce) {
  .testimonials-globe__ticker-window {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .testimonials-globe__ticker-window {
    height: 1.95rem;
    min-height: 1.95rem;
  }
}

.testimonials-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tfilters-btn {
  padding: 0.38rem 0.8rem;
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.35s var(--ease-out-expo), color 0.35s var(--ease-out-expo),
    background 0.35s var(--ease-out-expo);
}

.tfilters-btn:hover {
  color: var(--text);
  border-color: rgba(196, 165, 116, 0.22);
}

.tfilters-btn[aria-pressed="true"] {
  color: var(--accent);
  border-color: rgba(196, 165, 116, 0.4);
  background: rgba(196, 165, 116, 0.08);
}

.testimonials-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.testimonials-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
}

@keyframes testimonial-card-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 0;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color 0.4s var(--ease-out-expo);
  animation: testimonial-card-in 0.55s var(--ease-out-expo) backwards;
  animation-delay: calc(var(--tc-i, 0) * 42ms);
}

.testimonial-card:hover {
  border-color: rgba(196, 165, 116, 0.18);
}

.testimonial-card__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text);
}

.testimonial-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.testimonial-card__who {
  font-weight: 500;
  color: var(--text);
}

.testimonial-card__geo-label {
  margin-right: 0.25rem;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.16rem 0.46rem;
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.badge--danmark {
  border-color: rgba(196, 165, 116, 0.25);
  color: rgba(232, 235, 233, 0.85);
}

.badge--international {
  border-color: rgba(140, 160, 150, 0.35);
  color: var(--text-muted);
}

.badge--global {
  border-color: rgba(196, 165, 116, 0.35);
  color: var(--accent);
}

.testimonials-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0.65rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(196, 165, 116, 0.35);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.35s var(--ease-out-expo), color 0.35s var(--ease-out-expo);
}

.testimonials-more:hover,
.testimonials-more:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

/* Contact */

.section--contact {
  padding-bottom: clamp(4rem, 12vw, 7rem);
}

.contact-panel {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}

.contact-panel--form {
  max-width: 46rem;
  text-align: left;
}

.contact-panel__title {
  text-align: center;
}

.contact-panel--form .contact__text {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-block {
  margin-top: 1.75rem;
  text-align: left;
}

.contact-block__rule {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-block__foot {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.contact-email-box {
  margin-top: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-elevated);
}

.contact-email-box__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-email-box__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.contact-email-box__link {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.95rem;
  word-break: break-all;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(196, 165, 116, 0.45);
  text-underline-offset: 0.15em;
}

.contact-email-box__link:hover {
  color: #d4b88a;
  text-decoration-color: rgba(212, 184, 138, 0.75);
}

.contact-email-box__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.contact-email-box__copy {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.contact-email-box__copy:hover {
  border-color: rgba(196, 165, 116, 0.35);
  color: var(--accent);
}

.contact-email-box__copy:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-email-box__hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-form {
  margin-top: 0.45rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-elevated);
}

.contact-form__field {
  display: block;
  margin-bottom: 0.75rem;
}

.contact-form__hint {
  margin: 0.1rem 0 0.75rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-form__counter {
  display: none;
  margin: 0.15rem 0 0.55rem;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.contact-form__counter[data-visible="true"] {
  display: block;
}

.contact-form__counter[data-state="ok"] {
  color: #a6c89a;
}

.contact-form__counter[data-state="warn"] {
  color: #d9be87;
}

.contact-form__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.6rem 0.7rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form__input:focus-visible,
.contact-form__textarea:focus-visible {
  outline: none;
  border-color: rgba(196, 165, 116, 0.5);
  box-shadow: 0 0 0 2px rgba(196, 165, 116, 0.15);
}

.contact-form__actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.95rem;
}

.contact-form__submit {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}

.contact-form__submit:hover {
  border-color: rgba(196, 165, 116, 0.35);
  color: var(--accent);
}

.contact-form__submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact-form__status {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-form__status[data-tone="ok"] {
  color: #a6c89a;
}

.contact-form__status[data-tone="warn"] {
  color: #d9be87;
}

.contact-form__status[data-tone="error"] {
  color: #d9a0a0;
}

.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-email-box__mailto {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
}

.contact__email--inline {
  display: inline;
  font-size: 1rem;
  margin: 0;
  border-bottom-width: 1px;
}

.contact-panel--form .contact__note,
.contact-panel--form .contact__legal {
  text-align: center;
}

.contact-panel:hover {
  border-color: rgba(196, 165, 116, 0.15);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.contact__email.reveal-child {
  display: inline-block;
}

.contact-panel .section__title {
  margin-bottom: 1rem;
}

.contact__text {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.contact__email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 165, 116, 0.4);
  margin-bottom: 1.25rem;
  transition: color 0.2s, border-color 0.2s;
}

.contact__email:hover,
.contact__email:focus-visible {
  color: #d4b88a;
  border-bottom-color: #d4b88a;
}

.contact__note,
.contact__legal {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact__legal {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* Footer */

.site-footer {
  padding: 1.5rem var(--space);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

/* Scroll reveals: calm stagger (hidden only when JS + motion OK) */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] > .reveal-child {
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
    transition-delay: calc(var(--reveal-i, 0) * 0.09s);
  }

  html.js [data-reveal]:not(.is-visible) > .reveal-child {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  html.js [data-reveal].is-visible > .reveal-child {
    opacity: 1;
    transform: translateY(0);
  }
}

/* prefers-reduced-motion: instant clarity, no choreography */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  /*
   * Undtagelse: den globale *-regel bruger !important og slår al animation ned.
   * Lande-tickeren skal stadig kunne køre i loop (langsommere end standard).
   */
  .testimonials-globe__ticker-track {
    animation-name: testimonials-globe-ticker-x !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    animation-duration: calc(var(--ticker-sec, 72s) * 2.5) !important;
  }

  .motion-hero {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .testimonial-card {
    animation: none !important;
  }

  .brand:hover .brand__mark,
  .brand:focus-within .brand__mark {
    transform: none;
    filter: none;
  }

  .pullquote[data-reveal]::before {
    transform: scaleY(1);
    transition: none;
  }

  html.js [data-reveal] > .reveal-child {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
