/* =========================================================
   Brand tokens — Light Premium Scandinavian
   ========================================================= */
:root {
  --bg: #f7f5f1;
  --bg-warm: #f3efe8;
  --surface: #ffffff;
  --surface-alt: #ebe7e0;
  --text: #1a221c;
  --text-soft: #2c3830;
  --muted: #5c6b62;
  --primary: #2f5d45;
  --primary-hover: #244a37;
  --primary-soft: #e4efe8;
  --accent: #8fa894;
  --accent-soft: #d7e3da;
  --solar: #d4a84b;
  --solar-soft: #f5edd8;
  --border: #d9d4cb;
  --border-strong: #c4beb3;
  --focus: #2f5d45;
  --danger: #8b3a3a;
  --success: #2f5d45;
  --shadow-sm: 0 1px 2px rgba(26, 34, 28, 0.05), 0 4px 12px rgba(26, 34, 28, 0.04);
  --shadow-md: 0 8px 28px rgba(26, 34, 28, 0.08);
  --shadow-lg: 0 18px 48px rgba(26, 34, 28, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --container-wide: 1320px;
  --section-space: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --line: #d9d4cb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(143, 168, 148, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(212, 168, 75, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--primary-hover);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 0.75em;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 42rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--solar);
  border-radius: 2px;
}

.muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, var(--container-wide));
  margin-inline: auto;
}

.section {
  padding: var(--section-space) 0;
  max-width: 100%;
}

.section- Tight {
  padding: calc(var(--section-space) * 0.7) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .lead {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 93, 69, 0.22);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .container,
  .container-wide {
    width: min(100% - 1.5rem, var(--container));
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 2rem 0;
}

.media-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--surface-alt) 0%, #e2ebe5 45%, var(--solar-soft) 100%);
  border: 1px solid var(--border);
}

.media-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 1rem 1rem auto;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.media-placeholder.tall {
  aspect-ratio: 4 / 5;
}

.media-placeholder.wide {
  aspect-ratio: 21 / 9;
}

.media-placeholder.square {
  aspect-ratio: 1;
}

.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}

.media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-frame.ratio-5-4 {
  aspect-ratio: 5 / 4;
}

.media-frame.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.media-frame.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.media-frame.ratio-3-4 {
  aspect-ratio: 3 / 4;
}

.media-frame.hero-shot {
  min-height: 340px;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-lg);
}

.media-frame.hero-shot img {
  object-position: 28% 42%;
}

.media-frame.pos-center img {
  object-position: center center;
}

.media-frame.pos-top img {
  object-position: center 20%;
}

.media-frame.pos-person img {
  object-position: center 25%;
}

.media-frame.pos-doc img {
  object-position: 55% 30%;
}

@media (max-width: 700px) {
  .media-frame.hero-shot {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .media-frame.hero-shot img {
    object-position: 30% 40%;
  }

  .media-frame.pos-person img,
  .media-frame.pos-doc img {
    object-position: center 22%;
  }
}

.prose {
  max-width: 42rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.prose li {
  margin-bottom: 0.45rem;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
  color: var(--text-soft);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: inset 0 0 0 3px var(--primary-soft);
}

.note {
  background: var(--solar-soft);
  border: 1px solid #e6d5a8;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.disclaimer {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--surface-alt);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stagger > .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.stagger > .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.stagger > .reveal:nth-child(4) {
  transition-delay: 0.24s;
}
.stagger > .reveal:nth-child(5) {
  transition-delay: 0.32s;
}
.stagger > .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .btn .arrow {
    transition: none !important;
  }
}
