/* ==========================================================================
   Diego & Dino — designsystem
   Palett: gräddvit, beige, chokladbrun och terrakotta som accent.
   ========================================================================== */

:root {
  /* Färger */
  --cream: #fbf6ee;
  --cream-2: #f4e9da;
  --cream-3: #fdfaf4;
  --beige: #efe0cd;
  --sand: #e2cdb4;
  --paper: #fffdf9;
  --choco: #3a2a20;
  --choco-2: #241811;
  --ink: #2a1d15;
  --ink-soft: #5c483a;
  --muted: #85705f;
  --accent: #c4694b;
  --accent-deep: #a95238;
  --gold: #d8a35c;
  --line: rgba(58, 42, 32, 0.13);
  --line-light: rgba(251, 246, 238, 0.14);

  /* Skuggor */
  --shadow-sm: 0 10px 26px -20px rgba(58, 42, 32, 0.5);
  --shadow-md: 0 24px 50px -30px rgba(58, 42, 32, 0.5);
  --shadow-lg: 0 40px 80px -40px rgba(58, 42, 32, 0.5);

  /* Former */
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  /* Typografi */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   Reset & bas
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--choco);
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--accent);
}

::selection {
  background: rgba(196, 105, 75, 0.24);
  color: var(--choco);
}

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

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

/* Subtil filmkorn över hela sidan */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
}

.section--beige {
  background: var(--cream-2);
  border-block: 1px solid rgba(58, 42, 32, 0.07);
}

.section--beige::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: radial-gradient(rgba(58, 42, 32, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
}

.section--beige > .container {
  position: relative;
}

.section--dark {
  overflow: hidden;
  background: var(--choco-2);
  color: rgba(251, 246, 238, 0.72);
}

.section--dark::before {
  content: "";
  position: absolute;
  top: -25%;
  right: -12%;
  width: min(70vw, 760px);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(196, 105, 75, 0.24), transparent 64%);
}

.section--dark > .container {
  position: relative;
}

.section--dark h2 {
  color: var(--cream);
}

.section--dark h2 em {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Rubriker & små delar
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section--dark .eyebrow {
  color: var(--gold);
}

.section-head {
  max-width: 730px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  text-wrap: balance;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.section--dark .lead {
  color: rgba(251, 246, 238, 0.64);
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 400;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--choco);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   Knappar
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn svg {
  flex: none;
  transition: transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--solid {
  background: var(--choco);
  color: var(--cream);
  box-shadow: 0 18px 34px -22px rgba(58, 42, 32, 0.85);
}

.btn--solid:hover {
  background: #4b382b;
  box-shadow: 0 22px 42px -24px rgba(58, 42, 32, 0.9);
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--choco);
}

.btn--ghost:hover {
  border-color: rgba(58, 42, 32, 0.32);
  background: rgba(58, 42, 32, 0.045);
}

.btn--ghost svg {
  fill: currentColor;
}

.btn--sm {
  padding: 11px 19px;
  font-size: 0.86rem;
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  padding-block: 16px;
  border-bottom: 1px solid transparent;
  transition:
    padding 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  padding-block: 9px;
  border-bottom-color: var(--line);
  background: rgba(251, 246, 238, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 18px 40px -34px rgba(58, 42, 32, 0.7);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--choco);
  color: var(--cream);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}

.brand:hover .brand__mark {
  transform: rotate(-14deg);
  background: var(--accent);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--choco);
}

.brand__name span {
  color: var(--accent);
}

.brand__name small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 3px;
  left: 14px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__link:hover {
  color: var(--choco);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.6);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--choco);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(118px, 15vh, 168px);
  padding-bottom: clamp(56px, 8vw, 100px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -8%;
  width: min(62vw, 720px);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 163, 92, 0.28), transparent 62%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -12%;
  width: min(50vw, 560px);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(196, 105, 75, 0.12), transparent 64%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  margin-bottom: 0.32em;
  font-size: clamp(2.7rem, 6.4vw, 5.3rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero-lead {
  max-width: 47ch;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 52px);
  margin: 42px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}

.hero-stats dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--choco);
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-frame {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(160deg, #4b3527, #1f140e);
  box-shadow:
    0 46px 90px -46px rgba(58, 42, 32, 0.65),
    0 0 0 1px rgba(58, 42, 32, 0.07);
  transform: rotate(1.2deg);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  isolation: isolate;
}

.hero-frame:hover {
  transform: rotate(0deg);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 12, 8, 0.74), rgba(20, 12, 8, 0.04) 56%),
    linear-gradient(120deg, rgba(196, 105, 75, 0.16), transparent 55%);
  pointer-events: none;
}

.hero-frame__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(253, 248, 241, 0.26);
  border-radius: 999px;
  background: rgba(20, 12, 8, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fdf8f1;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 163, 92, 0.65);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(216, 163, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216, 163, 92, 0);
  }
}

.hero-frame__play {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(253, 248, 241, 0.4);
  border-radius: 50%;
  background: rgba(253, 248, 241, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fdf8f1;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    color 0.25s ease;
}

.hero-frame__play svg {
  margin-left: 2px;
}

.hero-frame__play:hover {
  transform: scale(1.07);
  background: var(--cream);
  color: var(--choco);
}

.hero-card {
  position: absolute;
  bottom: -22px;
  left: -18px;
  display: grid;
  gap: 3px;
  width: min(252px, 78%);
  padding: 16px 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream-3);
  box-shadow: var(--shadow-md);
}

.hero-card__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-card strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--choco);
}

.hero-card > span:last-child {
  font-size: 0.76rem;
  color: var(--muted);
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: grid;
  place-items: start center;
  width: 26px;
  height: 42px;
  padding-top: 8px;
  border: 1px solid rgba(58, 42, 32, 0.26);
  border-radius: 999px;
  transform: translateX(-50%);
  text-decoration: none;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--choco);
  animation: scrollDot 1.9s ease-in-out infinite;
}

@keyframes scrollDot {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.25;
    transform: translateY(12px);
  }
}

/* --------------------------------------------------------------------------
   Nyckeltal
   -------------------------------------------------------------------------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(44px, 6vw, 68px);
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(196, 105, 75, 0.06);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 105, 75, 0.34);
  box-shadow: var(--shadow-md);
}

.stat-card__key {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-card strong {
  display: block;
  margin: 7px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat-card strong small {
  font-size: 0.56em;
  font-weight: 500;
  color: var(--muted);
}

.stat-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Rasfakta & flikar
   -------------------------------------------------------------------------- */

.facts {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.facts__intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.facts__intro h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  text-wrap: balance;
}

.facts__intro p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.facts__intro blockquote {
  margin: 26px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: rgba(253, 250, 244, 0.8);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--choco);
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.tab {
  padding: 9px 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.tab:hover {
  color: var(--choco);
}

.tab[aria-selected="true"] {
  background: var(--choco);
  color: var(--cream);
  box-shadow: 0 10px 22px -16px rgba(58, 42, 32, 0.9);
}

.panel {
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.45s ease both;
}

.panel h3 {
  font-size: 1.45rem;
}

.panel p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.panel p:last-of-type {
  margin-bottom: 0;
}

.panel ul {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.panel li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.panel li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 105, 75, 0.13);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Hundporträtt
   -------------------------------------------------------------------------- */

.dog {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
  padding-block: clamp(34px, 5vw, 58px);
  border-top: 1px solid var(--line);
}

.dog:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.dog--reverse .dog__media {
  order: 2;
}

.dog__media {
  position: relative;
  aspect-ratio: 16 / 12;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #1d130d;
  box-shadow: var(--shadow-lg);
}

.dog__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.dog__media:hover video {
  transform: scale(1.035);
}

.dog__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 12, 8, 0.58), transparent 58%);
  pointer-events: none;
}

.dog__chip {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 14px;
  border: 1px solid rgba(253, 248, 241, 0.24);
  border-radius: 999px;
  background: rgba(20, 12, 8, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fdf8f1;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.dog__play {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(253, 248, 241, 0.38);
  border-radius: 50%;
  background: rgba(253, 248, 241, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fdf8f1;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, color 0.25s ease;
}

.dog__play svg {
  margin-left: 2px;
}

.dog__play:hover {
  transform: scale(1.08);
  background: var(--cream);
  color: var(--choco);
}

.dog__body h3 {
  margin-bottom: 0.35em;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.dog__body h3 em {
  display: inline-block;
  margin-left: 0.12em;
  font-size: 0.66em;
  color: var(--accent);
}

.dog__num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(58, 42, 32, 0.26);
}

.dog__body > p {
  max-width: 50ch;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream-2);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.dog__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px 22px;
  margin: 0 0 24px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.dog__meta dt {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dog__meta dd {
  margin: 3px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--choco);
}

/* --------------------------------------------------------------------------
   Videogalleri
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

.gallery .video-card:nth-child(2) {
  margin-top: clamp(0px, 4vw, 46px);
}

.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  background: #120b07;
  color: var(--cream);
  font: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 246, 238, 0.32);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.9);
}

.video-card video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.video-card:hover video {
  transform: scale(1.06);
  opacity: 1;
}

.video-card__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(10, 6, 3, 0.9) 4%,
    rgba(10, 6, 3, 0.16) 55%,
    rgba(10, 6, 3, 0.34)
  );
  pointer-events: none;
}

.video-card__top {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pill {
  padding: 6px 13px;
  border: 1px solid rgba(253, 248, 241, 0.26);
  border-radius: 999px;
  background: rgba(20, 12, 8, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.video-card__duration {
  padding: 5px 10px;
  border: 1px solid rgba(251, 246, 238, 0.22);
  border-radius: 8px;
  background: rgba(10, 6, 3, 0.52);
  font-size: 0.69rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(251, 246, 238, 0.4);
  border-radius: 50%;
  background: rgba(251, 246, 238, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--cream);
  transform: translate(-50%, -50%);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    color 0.25s ease;
}

.video-card__play svg {
  margin-left: 3px;
}

.video-card:hover .video-card__play {
  background: var(--cream);
  color: var(--choco-2);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card__meta {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 2px;
}

.video-card__meta strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cream);
}

.video-card__meta span {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(251, 246, 238, 0.6);
}

.gallery__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(251, 246, 238, 0.54);
}

.gallery__note svg {
  flex: none;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.section--faq {
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 163, 92, 0.15), transparent 42%),
    var(--cream-3);
  border-block: 1px solid rgba(58, 42, 32, 0.07);
}

.faq {
  max-width: 860px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq__item + .faq__item {
  margin-top: 10px;
}

.faq__item:hover {
  border-color: rgba(58, 42, 32, 0.24);
}

.faq__item[open] {
  border-color: rgba(196, 105, 75, 0.34);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--choco);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: "";
}

.faq__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
}

.faq__item[open] .faq__icon {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq__answer {
  max-width: 72ch;
  padding: 0 22px 20px;
  animation: fadeUp 0.3s ease both;
}

.faq__answer p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.faq__note {
  max-width: 860px;
  margin: 28px auto 0;
  font-size: 0.88rem;
  text-align: center;
  color: var(--muted);
}

.faq__note a {
  font-weight: 600;
  color: var(--accent-deep);
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.section--contact {
  border-top: 1px solid rgba(58, 42, 32, 0.07);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact__intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-wrap: balance;
}

.contact__list {
  display: grid;
  gap: 20px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  color: var(--accent);
}

.contact__list strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__list a,
.contact__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--choco);
  text-decoration: none;
}

.contact__list a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact__list a:hover {
  border-bottom-color: currentColor;
  color: var(--accent-deep);
}

.contact__card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.contact__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form__head h3 {
  margin-bottom: 0.3em;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

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

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field > label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--choco);
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a4907e;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(196, 105, 75, 0.14);
}

.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2385705f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field__error {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.5;
  color: #b23a2a;
}

.field.is-invalid input:not([type="checkbox"]),
.field.is-invalid textarea {
  border-color: #cf6a56;
  background: #fff8f5;
}

.field.is-invalid input[type="checkbox"] {
  outline: 2px solid #cf6a56;
  outline-offset: 2px;
}

.field--check {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 9px 10px;
}

.field--check input {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.field--check label {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-soft);
  cursor: pointer;
}

.field--check .field__error {
  flex-basis: 100%;
  padding-left: 28px;
}

.contact-form__submit {
  justify-self: start;
  margin-top: 2px;
}

.form-note {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--muted);
}

.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.6;
}

.form-status.is-success {
  border: 1px solid rgba(127, 155, 115, 0.45);
  background: rgba(127, 155, 115, 0.14);
  color: #3f5a37;
}

.form-status.is-error {
  border: 1px solid rgba(178, 58, 42, 0.35);
  background: rgba(178, 58, 42, 0.08);
  color: #8f2f22;
}

.form-status a {
  font-weight: 700;
  text-decoration: underline;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-block: 42px;
  border-top: 1px solid rgba(251, 246, 238, 0.08);
  background: #1a110c;
  color: rgba(251, 246, 238, 0.58);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cream);
}

.footer-brand svg {
  fill: var(--gold);
}

.footer-links {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  font-weight: 500;
}

.footer-links a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  width: 100%;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 246, 238, 0.08);
  font-size: 0.76rem;
  color: rgba(251, 246, 238, 0.38);
}

/* --------------------------------------------------------------------------
   Tacksida
   -------------------------------------------------------------------------- */

.thanks-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 0%, rgba(216, 163, 92, 0.18), transparent 46%),
    radial-gradient(circle at 88% 100%, rgba(196, 105, 75, 0.12), transparent 46%),
    var(--cream);
}

.thanks-top {
  padding-block: 22px;
}

.thanks-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.thanks-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.thanks-back svg {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.thanks-back:hover {
  color: var(--choco);
}

.thanks-back:hover svg {
  transform: rotate(180deg) translateX(3px);
}

.thanks-main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: clamp(28px, 6vw, 64px) 22px clamp(60px, 8vw, 100px);
}

.thanks-card {
  width: min(680px, 100%);
  padding: clamp(30px, 6vw, 58px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.thanks-check {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border: 1px solid rgba(127, 155, 115, 0.42);
  border-radius: 50%;
  background: rgba(127, 155, 115, 0.15);
  color: #4f6a45;
}

.thanks-card .eyebrow {
  justify-content: center;
  margin-bottom: 14px;
  color: #5f7d53;
}

.thanks-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-wrap: balance;
}

.thanks-lead {
  max-width: 46ch;
  margin: 0 auto 28px;
  color: var(--muted);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.thanks-note {
  max-width: 48ch;
  margin: 24px auto 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.thanks-note a {
  font-weight: 600;
  color: var(--accent-deep);
}

/* --------------------------------------------------------------------------
   Videospelare (dialog)
   -------------------------------------------------------------------------- */

.player {
  position: fixed;
  inset: 0;
  z-index: 350;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 32px);
}

.player__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 10, 6, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.player__shell {
  position: relative;
  width: min(1020px, 100%);
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid rgba(251, 246, 238, 0.1);
  border-radius: 24px;
  background: #1b120d;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9);
  animation: playerIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes playerIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.player__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--cream);
}

.player__eyebrow {
  margin: 0 0 6px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.player__title {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: var(--cream);
}

.player__source {
  margin: 4px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(251, 246, 238, 0.45);
}

.player__stage {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.player__stage video {
  width: 100%;
  max-height: min(62vh, 620px);
  background: #000;
  object-fit: contain;
}

.player__fallback {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  color: rgba(251, 246, 238, 0.72);
  font-size: 0.9rem;
}

.player__fallback p {
  margin: 0 0 12px;
}

.player__fallback .btn--ghost {
  border-color: rgba(251, 246, 238, 0.3);
  color: var(--cream);
}

.player__fallback .btn--ghost:hover {
  background: rgba(251, 246, 238, 0.12);
}

.player__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  color: var(--cream);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 0;
  border: 1px solid rgba(251, 246, 238, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  border-color: rgba(251, 246, 238, 0.42);
  background: rgba(251, 246, 238, 0.1);
}

.icon-btn:active {
  transform: scale(0.95);
}

.player__timeline {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.seek {
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) var(--progress, 0%),
    rgba(251, 246, 238, 0.22) var(--progress, 0%),
    rgba(251, 246, 238, 0.22) 100%
  );
}

.seek::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(251, 246, 238, 0.22);
}

.seek::-moz-range-progress {
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
}

.seek::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 4px rgba(196, 105, 75, 0.24);
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.2s ease;
}

.seek::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 4px rgba(196, 105, 75, 0.24);
}

.seek:hover::-webkit-slider-thumb {
  transform: scale(1.15);
}

.player__time {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: rgba(251, 246, 238, 0.62);
  white-space: nowrap;
}

.player__time span:first-child {
  color: var(--cream);
}

body.is-locked {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Scroll-reveal (klasser läggs på av JS, så innehåll syns utan JS)
   -------------------------------------------------------------------------- */

/* Använder `translate` i stället för `transform` så att korthover kan
   använda transform utan att krocka med intoningen. */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms),
    translate 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* --------------------------------------------------------------------------
   Responsivt
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 0.92fr;
    gap: 36px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts__intro {
    position: static;
    max-width: 640px;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact__intro {
    max-width: 640px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  /* Mobilmeny */
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 2px;
    max-height: calc(100vh - var(--header-h) - 24px);
    max-height: calc(100dvh - var(--header-h) - 24px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(253, 250, 244, 0.98);
    box-shadow: 0 30px 60px -30px rgba(58, 42, 32, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:hover {
    background: var(--cream-2);
  }

  .nav__cta {
    justify-content: center;
    margin: 6px 0 0;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--header-h) + 54px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-media {
    width: 100%;
    max-width: 480px;
    justify-self: center;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }

  .hero-scroll {
    display: none;
  }

  /* Hundar */
  .dog {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dog--reverse .dog__media {
    order: 0;
  }

  .dog__media {
    aspect-ratio: 16 / 11;
  }

  .dog__body > p {
    max-width: 62ch;
  }

  /* Galleri */
  .gallery {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 560px;
    margin-inline: auto;
  }

  .gallery .video-card:nth-child(2) {
    margin-top: 0;
  }

  .video-card {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .brand__name {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 20px 30px;
  }

  .hero-frame {
    aspect-ratio: 4 / 4.9;
    border-radius: 24px;
  }

  .hero-card {
    bottom: -18px;
    left: 10px;
    width: min(240px, 84%);
    padding: 14px 16px;
  }

  .hero-card strong {
    font-size: 0.95rem;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .stat-card {
    padding: 20px 18px;
  }

  .stat-card p {
    font-size: 0.8rem;
  }

  /* Flikar blir en horisontell rad */
  .tabs {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: none;
    padding: 9px 15px;
    font-size: 0.82rem;
  }

  .panel {
    border-radius: 22px;
  }

  .dog {
    padding-block: 30px;
  }

  .dog__media {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .dog__meta {
    grid-template-columns: 1fr 1fr;
  }

  .video-card {
    aspect-ratio: 4 / 4.6;
    border-radius: 18px;
  }

  /* Spelare */
  .player__controls {
    flex-wrap: wrap;
    gap: 10px;
  }

  .player__timeline {
    flex: 1 1 100%;
    order: 2;
    justify-content: space-between;
    gap: 10px;
    padding-top: 4px;
  }

  .seek {
    flex: 1;
    width: auto;
  }

  .player__stage video {
    max-height: 48vh;
  }

  /* FAQ */
  .faq__question {
    padding: 16px 18px;
    font-size: 0.93rem;
  }

  .faq__answer {
    padding: 0 18px 18px;
  }

  /* Kontaktformulär */
  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-form__submit {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-note {
    flex-direction: column;
  }

  /* Tacksida */
  .thanks-top__inner {
    flex-wrap: wrap;
  }

  .thanks-card {
    border-radius: 24px;
  }

  .thanks-actions {
    flex-direction: column;
  }

  .thanks-actions .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Tillgänglighet: minskad rörelse
   -------------------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    translate: none;
  }

  .hero-frame {
    transform: none;
  }
}
