/* ============================================================
   Pernille Hogstad — site.css
   Mobile-first. Breakpoints: 640 / 768 / 1024.
   ============================================================ */

/* ---------- Fonter (self-hostet, variabel woff2) ---------- */
/* Erstatter Google Fonts — raskere lasting, ingen tredjepart. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}

/* Skjult SVG-sprite (erstatter inline style="position:absolute" — CSP-vennlig) */
.svg-sprite { position: absolute; }

:root {
  /* Colors */
  --bg: #fdf6f9;
  --bg-alt: #fbf0f4;
  --bg-card: #ffffff;
  --fg: #1a1414;
  --fg-muted: rgba(26, 20, 20, 0.62);
  --fg-quiet: rgba(26, 20, 20, 0.45);
  --accent: #a04e6c;
  --accent-dark: #823e57;
  --accent-soft: #f3dde5;
  --border: rgba(26, 20, 20, 0.08);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.06), 0 18px 36px rgba(0,0,0,0.12);
  --radius-card: 14px;
  --radius-pill: 999px;

  /* Fonts */
  --font-heading: "Fraunces", Cambria, Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout — mobile defaults */
  --container-max: 1200px;
  --container-narrow: 820px;
  --container-pad: 16px;
  --section-pad: 56px;
  --nav-height: 56px;
}

@media (min-width: 640px) {
  :root {
    --container-pad: 20px;
    --section-pad: 72px;
  }
}

@media (min-width: 768px) {
  :root {
    --container-pad: 28px;
    --section-pad: 96px;
    --nav-height: 64px;
  }
}

@media (min-width: 1024px) {
  :root {
    --section-pad: 120px;
  }
}

/* ---------- Reset / base ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 150ms ease;
}
a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

button {
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

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

/* ---------- Layout primitives ---------- */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--bg-alt); }

.section__heading {
  font-size: clamp(28px, 7vw, 48px);
  margin: 0 0 12px;
}
.section__heading--center { text-align: center; }
.section__heading--small { font-size: clamp(24px, 5vw, 36px); }

.section__lead {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.6;
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .section__lead { font-size: 18px; margin-bottom: 48px; }
}

.section__cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) { .section__cta { margin-top: 56px; } }

.section__cta--row { gap: 12px; flex-wrap: wrap; }

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Helfylt bakgrunn, ikke backdrop-filter: blur klipper den
     absoluttposisjonerte mobilmenyen og legger seg oppå headeren
     på iOS Safari. */
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}

.site-nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav__logo {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.site-nav__logo:hover { color: var(--accent); text-decoration: none; }

@media (min-width: 768px) {
  .site-nav__logo { font-size: 19px; }
}

/* Mobile menu — base state */
.site-nav__toggle {
  display: flex;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -10px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.site-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav__menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 0 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  /* Lukket: faktisk skjult — ikke bare flyttet opp bak headeren.
     visibility/opacity gjør at den aldri kan vises oppå logoen. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.site-nav__menu a {
  color: var(--fg);
  font-size: 17px;
  font-weight: 500;
  padding: 14px var(--container-pad);
}
.site-nav__menu a:hover { color: var(--accent); text-decoration: none; }
.site-nav__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Desktop nav — horizontal */
@media (min-width: 768px) {
  .site-nav__toggle { display: none; }
  .site-nav__menu {
    position: static;
    flex-direction: row;
    gap: 28px;
    padding: 0;
    background: transparent;
    border-bottom: 0;
    transform: none;
    transition: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav__menu a {
    font-size: 15px;
    padding: 8px 0;
    position: relative;
  }
  .site-nav__menu a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
  }
  .site-nav__menu a:hover::after { transform: scaleX(1); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  font-family: inherit;
  min-height: 44px;
  touch-action: manipulation;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 8px 20px rgba(160, 78, 108, 0.25); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); }

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

.hero {
  padding: 32px 0 48px;
}
@media (min-width: 768px) { .hero { padding: 80px 0 60px; } }
@media (min-width: 1024px) { .hero { padding: 100px 0 80px; } }

.hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero__portrait {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--accent-soft);
  max-width: 280px;
  margin: 0 auto;
  width: 100%;
}
.hero__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.hero__text { text-align: center; }

.hero__name {
  font-size: clamp(36px, 9vw, 88px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 14px;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(17px, 4.5vw, 28px);
  font-style: italic;
  color: var(--fg-muted);
  margin: 0 0 28px;
  line-height: 1.35;
}

.hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__cta .btn { flex: 1 1 140px; max-width: 220px; }

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }
  .hero__text { text-align: left; }
  .hero__portrait { max-width: none; margin: 0; order: 2; }
  .hero__cta { justify-content: flex-start; }
  .hero__cta .btn { flex: 0 0 auto; max-width: none; }
}

/* ---------- Om ---------- */

.om {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.om__text { text-align: center; }
.om__text p {
  font-size: 17px;
  line-height: 1.65;
}

.om__image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 240px;
  margin: 0 auto;
  width: 100%;
}
.om__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (min-width: 768px) {
  .om {
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
  }
  .om__text { text-align: left; }
  .om__text p { font-size: 19px; }
  .om__image { max-width: none; margin: 0; }
}

/* ---------- Music ---------- */

.track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .track-grid { gap: 18px; grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .track-grid { gap: 24px; grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
}

.track-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.track-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.track-card__cover-wrap { position: relative; }

.track-card__cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--accent-soft);
}

.track-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  background: var(--fg);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.track-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 12px 14px;
}

.track-card__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fg);
}

.track-card__artist {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.35;
}

.track-card__platform {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1db954;
}
.track-card__platform .icon { width: 13px; height: 13px; flex-shrink: 0; }

@media (min-width: 640px) {
  .track-card__badge { top: 10px; left: 10px; padding: 4px 10px; font-size: 11px; }
  .track-card__body { gap: 4px; padding: 14px 16px 16px; }
  .track-card__title { font-size: 16px; }
  .track-card__artist { font-size: 13px; }
  .track-card__platform { font-size: 12px; }
  .track-card__platform .icon { width: 14px; height: 14px; }
}

@media (min-width: 1024px) {
  .track-card__body { padding: 16px 18px 18px; }
  .track-card__title { font-size: 18px; }
}

.seen-on {
  text-align: center;
  margin: 40px 0 0;
  font-size: 13px;
  color: var(--fg-quiet);
  letter-spacing: 0.02em;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .seen-on { margin-top: 56px; font-size: 14px; }
}

/* ---------- Gallery ---------- */

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

@media (min-width: 640px) {
  .gallery { gap: 16px; }
}

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.gallery__item {
  position: relative;
  background: var(--bg-card);
  border: 0;
  padding: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
  aspect-ratio: 1 / 1;
}
.gallery__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery__placeholder {
  background: var(--accent-soft);
  border-radius: var(--radius-card);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 13px;
  opacity: 0.7;
}
@media (min-width: 768px) { .gallery__placeholder { font-size: 16px; } }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 100;
}
.lightbox.is-open { display: flex; }

.lightbox__image {
  max-width: 100%;
  max-height: calc(100dvh - 120px);
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.lightbox__caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  text-align: center;
  padding: 0 20px;
}

.lightbox__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: 12px;
  background: rgba(255,255,255,0.08);
  border: 0;
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,0.18); }

@media (min-width: 768px) {
  .lightbox { padding: 40px; }
  .lightbox__image { max-width: min(1100px, 95vw); max-height: 80vh; border-radius: 8px; }
  .lightbox__caption { font-size: 14px; margin-top: 20px; }
  .lightbox__close { top: 20px; right: 24px; font-size: 36px; background: none; }
}

/* ---------- Sukkerverket ---------- */

.sukkerverket {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.sukkerverket__image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 240px;
  margin: 0 auto;
  width: 100%;
}
.sukkerverket__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.sukkerverket__text { text-align: center; }
.sukkerverket__text p {
  color: var(--fg-muted);
  font-size: 16px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .sukkerverket {
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
  }
  .sukkerverket__image { max-width: none; margin: 0; }
  .sukkerverket__text { text-align: left; }
  .sukkerverket__text p { font-size: 17px; margin-bottom: 24px; }
}

/* ---------- Contact ---------- */

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 580px;
  margin: 32px auto 0;
}
@media (min-width: 768px) { .contact-form { gap: 18px; margin-top: 48px; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 16px;          /* keep 16px so iOS does not zoom on focus */
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--fg);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(160, 78, 108, 0.15);
}

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

.field__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 8px;
}
.contact-form__actions .btn { width: 100%; }

@media (min-width: 640px) {
  .contact-form__actions {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .contact-form__actions .btn { width: auto; }
}

.contact-form__status {
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
  text-align: center;
}
@media (min-width: 640px) { .contact-form__status { text-align: left; } }
.contact-form__status.is-success { color: #2d7a4d; }
.contact-form__status.is-error { color: #b3324c; }

.contact-form.is-sending button { opacity: 0.6; pointer-events: none; }

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

.site-footer {
  padding: 40px 0 32px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--bg);
}
@media (min-width: 768px) { .site-footer { padding-top: 56px; } }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
  text-align: center;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.site-footer__col a {
  color: var(--fg);
  font-size: 15px;
}
.site-footer__col a:hover { color: var(--accent); }

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--fg);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.site-footer__social:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-2px);
}
.site-footer__social .icon { width: 22px; height: 22px; }

.site-footer__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-quiet);
  margin-bottom: 6px;
}

.site-footer__credit {
  text-align: center;
  font-size: 13px;
  color: var(--fg-quiet);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}
.site-footer__credit a { color: var(--fg-quiet); }
.site-footer__credit a:hover { color: var(--accent); }

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
    margin-bottom: 40px;
  }
  .site-footer__col { align-items: flex-start; }
  .site-footer__col--center { align-items: center; justify-content: center; }
  .site-footer__col--right { align-items: flex-end; }
}

/* ---------- 404 ---------- */

.error-page {
  text-align: center;
  padding-top: clamp(64px, 18vw, 160px);
  padding-bottom: clamp(64px, 18vw, 160px);
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: clamp(72px, 22vw, 140px);
  font-weight: 400;
  color: var(--accent-soft);
  margin: 0 0 12px;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ---------- Legal pages ---------- */

.legal {
  font-size: 15px;
  line-height: 1.7;
}
@media (min-width: 768px) { .legal { font-size: 16px; } }

.legal h1 {
  text-align: left;
  margin-bottom: 6px;
}

.legal__updated {
  font-size: 13px;
  color: var(--fg-quiet);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.legal h2 {
  font-size: 21px;
  margin: 36px 0 10px;
  color: var(--fg);
}
@media (min-width: 768px) {
  .legal h2 { font-size: 24px; margin-top: 48px; margin-bottom: 12px; }
  .legal__updated { margin-bottom: 40px; }
}

.legal h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.legal p { margin: 0 0 14px; color: var(--fg); }
.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal ul li { margin-bottom: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal strong { font-weight: 600; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Bildebeskyttelse ---------- */
/* Gjør det vanskelig å dra ut, markere eller langtrykke for å lagre bildene. */

.gallery__item img,
.hero__portrait img,
.om__image img,
.sukkerverket__image img,
.lightbox__image {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
