/* Lora selvhostet. Google Fonts leverte fem subsett (82 KB) og krevde to
   ekstra tilkoblinger i den kritiske kjeden. Her ligger bare latin og
   latin-ext, som er det norsk, engelsk og spansk trenger. */
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Art By Blue — rekonstruksjon av artsyasha.com-designet (Pixpa minimalist sidebar).
   Lora-serif, hvit bakgrunn, fast venstre sidebar, stort luftig innholdsfelt. */

:root {
  --bg: #ffffff;
  --text: #333333;
  /* Begge gråtonene er satt over WCAG AA på hvit bakgrunn: 6,4:1 og 4,5:1.
     Lysere enn #767676 faller under kravet for tekst under 24 px. */
  --text-soft: #5f5f5f;
  --text-faint: #767676;
  --rule: #e8e8e8;
  --serif: "Lora", Georgia, serif;
  --sidebar-w: 400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--serif);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid #333; outline-offset: 3px; }

/* ---------- video-hero ---------- */

/* En høy scene gir hero-en tid til å leve før den slipper innholdet videre. */
.hero-stage {
  position: relative;
  height: 230svh;
  background: #0a0a0c;
  z-index: 30;
}

/* På desktop begynner innholdet først etter en ekstra hero-dwell, og glir så
   over den fortsatt fastlåste hero-en uten et tomt mellomrom. */
.hero-stage ~ .content { margin-top: -100svh; }

/* Sticky hero: den blir liggende mens panelene beveger seg og innholdet
   kommer sent inn — en tydelig, tung «lazy» overgang. */
.video-hero {
  position: sticky;
  top: 0;
  height: 100svh;
  background: #0a0a0c;
  z-index: 1;
  overflow: hidden;
}

.hero-triptych {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.hero-panel:nth-child(1) {
  background-image: image-set(
    url("assets/optimized/hero-art-1.webp") type("image/webp"),
    url("assets/hero-art-1.jpg") type("image/jpeg")
  );
}

.hero-panel:nth-child(2) {
  background-image: image-set(
    url("assets/optimized/hero-art-2.webp") type("image/webp"),
    url("assets/hero-art-2.jpg") type("image/jpeg")
  );
}

.hero-panel:nth-child(3) {
  background-image: image-set(
    url("assets/optimized/hero-art-3.webp") type("image/webp"),
    url("assets/hero-art-3.jpg") type("image/jpeg")
  );
}

/* Midtpanelet skal ligge over sidepanelene når det vokser på scroll. */
.hero-panel:nth-child(2) { z-index: 2; }

/* Selve bildet ligger i ::before slik at zoomen klippes innenfor panelet. */
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -4%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  will-change: transform;
  animation: panel-drift-left 13s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.hero-panel:nth-child(2)::before {
  animation-name: panel-drift-center;
  animation-duration: 16s;
  animation-delay: -6s;
}

.hero-panel:nth-child(3)::before {
  animation-name: panel-drift-right;
  animation-duration: 14s;
  animation-delay: -10s;
}

@keyframes panel-drift-left {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1.08); }
  to { transform: translate3d(2.5%, 1.5%, 0) scale(1.2); }
}

@keyframes panel-drift-center {
  from { transform: translate3d(1%, 1.5%, 0) scale(1.09); }
  to { transform: translate3d(-2%, -1.5%, 0) scale(1.22); }
}

@keyframes panel-drift-right {
  from { transform: translate3d(2%, -1%, 0) scale(1.08); }
  to { transform: translate3d(-2.5%, 2%, 0) scale(1.2); }
}

@media (max-width: 720px) {
  .hero-triptych { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }

  .hero-panel:nth-child(1) {
    background-image: image-set(
      url("assets/optimized/hero-art-1-mobile.webp") type("image/webp"),
      url("assets/hero-art-1.jpg") type("image/jpeg")
    );
  }

  .hero-panel:nth-child(2) {
    background-image: image-set(
      url("assets/optimized/hero-art-2-mobile.webp") type("image/webp"),
      url("assets/hero-art-2.jpg") type("image/jpeg")
    );
  }

  .hero-panel:nth-child(3) {
    background-image: image-set(
      url("assets/optimized/hero-art-3-mobile.webp") type("image/webp"),
      url("assets/hero-art-3.jpg") type("image/jpeg")
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage { height: 100svh; }
  .hero-stage ~ .content { margin-top: 0; }
  .hero-panel::before { animation: none; }
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 5; /* over midtpanelet som får z-index 2 under scroll-veksten */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.6), rgba(5, 5, 8, 0.12) 45%, rgba(5, 5, 8, 0.3));
  padding: 24px;
}

.video-hero-logo {
  width: min(72%, 620px);
  height: auto;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55));
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.88);
  transform-origin: center;
  animation: hero-logo-load 1.25s cubic-bezier(0.16, 1, 0.3, 1) 180ms forwards;
  will-change: opacity, transform;
}

.video-hero-tagline {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  animation: hero-text-load 1s cubic-bezier(0.22, 1, 0.36, 1) 720ms forwards;
  will-change: opacity, transform, letter-spacing;
}

@keyframes hero-logo-load {
  0% { opacity: 0; transform: translate3d(0, 24px, 0) scale(0.88); }
  58% { opacity: 1; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes hero-text-load {
  from { opacity: 0; transform: translate3d(0, 18px, 0); letter-spacing: 0.16em; }
  to { opacity: 1; transform: translate3d(0, 0, 0); letter-spacing: 0.04em; }
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  animation: cue-bob 2.2s ease-in-out infinite;
}

/* padding gir 44 px trykkflate uten å flytte pila visuelt */
.scroll-cue { padding: 7px; }
.scroll-cue svg { width: 30px; height: 30px; display: block; }

.scroll-cue:hover { color: #fff; }

@keyframes cue-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(9px); }
}

@media (prefers-reduced-motion: reduce) {
  .video-hero-logo,
  .video-hero-tagline {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
  }

  .scroll-cue { animation: none; }
}

/* ---------- sidebar ---------- */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  padding: 72px 48px 40px 78px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  z-index: 50; /* over innholdet som glir over hero-en */
}

/* Kun på forsiden (sidebar står etter hero-en): menyen tones inn først når
   hero-en er avdekket, slik at landingen fortsatt er ren. */
.hero-stage ~ .sidebar {
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.hero-stage ~ .sidebar.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage ~ .sidebar { transition: none; }
}

.site-title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  max-width: 220px;
}

.site-tagline {
  margin-top: 44px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #555;
  max-width: 250px;
}

.nav { margin-top: 34px; display: flex; flex-direction: column; }

.nav a {
  font-size: 16px;
  color: var(--text-soft);
  padding: 11px 0;
  width: fit-content;
  transition: color 140ms ease;
}

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

.nav a.active {
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  margin-bottom: 9px;
}

.lang-switch {
  margin-top: 40px;
  display: flex;
  gap: 16px;
}

.lang-btn {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  background: none;
  border: 0;
  /* trykkflate på 44 px i høyden, negativ margin holder linja der den var */
  padding: 12px 8px;
  margin: -12px -8px;
  cursor: pointer;
  transition: color 140ms ease;
}

.lang-btn:hover { color: var(--text); }

.lang-btn.is-active {
  color: var(--text);
  border-bottom: 1px solid var(--text);
}

.sidebar-social {
  margin-top: 40px;
  display: flex;
  gap: 22px;
}

.sidebar-social a {
  color: var(--text-soft);
  transition: color 140ms ease;
  /* ikonet er 19 px, trykkflata skal være 44 */
  padding: 12px;
  margin: -12px;
}

.sidebar-social a:hover { color: var(--text); }

.sidebar-social svg { width: 19px; height: 19px; display: block; }

.sidebar-foot {
  margin-top: auto;
  padding-top: 40px;
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 2.1;
}

/* ---------- content ---------- */

.content {
  /* Full bredde med venstre padding i stedet for margin: den hvite flaten må
     dekke hele hero-en når innholdet glir opp over den. */
  margin-left: 0;
  padding: 72px 96px 120px calc(var(--sidebar-w) + 8px);
  position: relative;
  z-index: 40;
  background: var(--bg);
}

/* home: stacked works, Pixpa vertical slideshow style */

.stack { display: flex; flex-direction: column; gap: 14px; }

.stack-item { width: 100%; }

.stack-item img {
  width: 100%;
  height: auto;
  display: block;
}

.stack-caption {
  font-size: 12.5px;
  color: var(--text-faint);
  padding: 8px 2px 26px;
  letter-spacing: 0.02em;
}

/* kunstner-intro rett under hero (hjem) */

.intro-artist {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
  margin-bottom: 104px;
}

.intro-media img { width: 100%; height: auto; display: block; }

.intro-name {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 28px;
}

.intro-text p { margin-bottom: 22px; font-size: 16.5px; line-height: 1.95; color: #444; }

.intro-quote {
  font-style: italic;
  color: var(--text);
  margin: 32px 0 28px;
  font-size: 18px;
  line-height: 1.8;
}

.intro-quote .quote-by { font-style: normal; color: var(--text-soft); font-size: 14px; }

.intro-more {
  font-size: 15px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
  transition: color 140ms ease, border-color 140ms ease;
}

.intro-more:hover { color: var(--text); border-color: var(--text); }

/* intro / description blocks */

.desc {
  max-width: 640px;
  margin: 90px auto 40px;
  text-align: center;
  font-size: 16.5px;
  line-height: 1.9;
  color: #555;
}

.desc .quote {
  margin-top: 28px;
  font-style: italic;
  color: var(--text);
}
.desc .quote-by { font-style: normal; color: var(--text-soft); font-size: 14px; }

/* collections grid (hjem + galleri-oversikt) */

.collections {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 48px;
}

.collection a { display: block; }

.collection img {
  width: 100%;
  height: auto; /* nøytraliser height-attributtet så aspect-ratio vinner */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: opacity 200ms ease;
}

.collection a:hover img { opacity: 0.88; }

.collection-title {
  text-align: center;
  font-size: 19px;
  font-weight: 400;
  margin-top: 22px;
  color: #444;
}

.collection-count {
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 4px;
}

/* page heading (om / kontakt / referanser / galleri) */

.page-head {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 42px;
  letter-spacing: 0.005em;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 88px;
  align-items: start;
}

.col-media img { width: 100%; height: auto; display: block; }

.prose p { margin-bottom: 26px; font-size: 16.5px; line-height: 1.95; color: #444; }

.prose .quote {
  font-style: italic;
  color: var(--text);
  margin: 34px 0;
  font-size: 18px;
  line-height: 1.8;
}

.prose .quote-by { font-style: normal; color: var(--text-soft); font-size: 14px; }

/* galleri grid + filter */

.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-bottom: 44px;
}

.works-filter button {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text-soft);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px 0;
}

.works-filter button:hover { color: var(--text); }

.works-filter button.active {
  color: var(--text);
  border-bottom: 1px solid var(--text);
}

.works-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-faint);
}

.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.work {
  border: 0;
  padding: 0;
  background: #f4f4f4;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 200ms ease;
}

.work:hover img { opacity: 0.85; }

/* referanser */

.ref-list { max-width: 720px; }

.ref-item { margin-bottom: 72px; }

.ref-item img { width: 100%; display: block; margin-bottom: 20px; }

.ref-title { font-size: 21px; font-weight: 400; color: #444; }

.ref-meta { font-size: 14px; color: var(--text-soft); margin-top: 6px; }

/* kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 88px;
  align-items: start;
}

.contact-intro { font-size: 16.5px; line-height: 1.9; color: #444; margin-bottom: 26px; }

.contact-line { font-size: 15.5px; margin-bottom: 8px; }

.contact-line span { color: var(--text-soft); }

.form { margin-top: 40px; }

.form label {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  margin-top: 24px;
}

.form input, .form textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  color: var(--text);
}

.form textarea { min-height: 170px; resize: vertical; }

.form input:focus, .form textarea:focus { outline: none; border-color: #888; }

.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form button {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 6px;
  padding: 15px 42px;
  cursor: pointer;
  transition: border-color 140ms ease;
}

.form button:hover { border-color: var(--text); }

.form-note { margin-top: 18px; font-size: 13.5px; color: var(--text-soft); }

/* lightbox (galleri) */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] { display: none; }

.lb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: min(1040px, 94vw);
}

.lb-inner img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  box-shadow: 0 6px 34px rgba(0, 0, 0, 0.14);
}

.lb-caption { text-align: center; }

.lb-title { font-size: 16px; color: #444; }

.lb-meta { font-size: 13px; color: var(--text-soft); margin-top: 4px; }

.lb-meta a { text-decoration: underline; }

.lb-btn {
  position: absolute;
  background: none;
  border: 0;
  font-family: var(--serif);
  font-size: 34px;
  color: var(--text-soft);
  cursor: pointer;
  padding: 14px;
  transition: color 140ms ease;
}

.lb-btn:hover { color: var(--text); }

.lb-close { top: 18px; right: 26px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- responsive ---------- */

@media (max-width: 1150px) {
  .works { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid, .intro-artist { grid-template-columns: 1fr; gap: 48px; }
  .intro-media img { max-width: 420px; }
}

/* ---------- topplinje + hamburger (kun mobil) ---------- */

.mobile-bar { display: none; }

.burger {
  width: 44px; height: 44px;
  display: grid; align-content: center; gap: 5px;
  padding: 0 10px;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--text);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10, 10, 12, 0.42);
  opacity: 0; pointer-events: none;
  transition: opacity 320ms ease;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .hero-stage { height: 100svh; }
  .hero-stage ~ .content { margin-top: 0; padding-top: 40px; }

  .mobile-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    height: 60px; padding: 0 18px 0 22px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rule);
  }
  /* ordmerket er 17 px høyt, men lenka skal ha full trykkflate */
  .mobile-bar-logo { display: flex; align-items: center; min-height: 44px; }
  .mobile-bar-logo img { height: 17px; width: auto; display: block; }

  /* Forsiden skal møte gjesten ren: topplinja kommer først når hero-en er
     passert. Undersidene har ingen hero, og der ligger den fra første piksel. */
  .hero-stage ~ .mobile-bar {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
  }
  .hero-stage ~ .mobile-bar.is-visible {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  /* Sidepanelet blir skuff. Innholdet er det samme, bare plassert om. */
  .sidebar {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    z-index: 90;
    width: min(84vw, 330px);
    height: 100dvh;
    padding: 84px 28px 32px;
    background: var(--bg);
    border-left: 1px solid var(--rule);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
    visibility: hidden;
  }
  .sidebar.is-open { transform: none; visibility: visible; }

  /* Forsiden holder sidepanelet usynlig til hero-en er passert. Som skuff må
     den kunne åpnes fra første sekund, så den porten gjelder ikke her. */
  .hero-stage ~ .sidebar { opacity: 1; pointer-events: auto; }

  /* Drift-animasjonen gir tre fullskjerms komposittlag som skaleres til 1,2.
     På en telefon er det den dyreste enkeltposten i første tegning, og
     gevinsten er en effekt man knapt ser på 390 px. Scroll-koreografien i
     home.js beholdes, det er bare Ken Burns-driften som forsvinner. */
  .hero-panel::before {
    animation: none;
    will-change: auto;
    inset: 0;
    transform: none;
  }
  .site-tagline { display: none; }
  .sidebar-foot { display: none; }
  .nav { flex-direction: column; gap: 0; }
  .nav a { padding: 13px 0; font-size: 17px; }
  .content { margin-left: 0; padding: 96px 28px 80px; }
  .collections { grid-template-columns: 1fr; gap: 48px; }
  .page-head { font-size: 32px; }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .sidebar, .burger span, .nav-backdrop { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .collection img, .work img, .nav a { transition: none; }
}

/* ---------- motion-laget (v2) ---------- */

.tile-fx.is-on { opacity: 1; }

/* ---------- lightbox v2 ---------- */

.lb-inner img {
  cursor: zoom-in;
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lb-inner img.is-zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

.lb-enquire {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text);
  border: 1px solid #bbb;
  border-radius: 6px;
  padding: 10px 24px;
  transition: border-color 140ms ease;
}

.lb-enquire:hover { border-color: var(--text); }

/* ---------- skjema v2 ---------- */

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-status { margin-top: 18px; font-size: 15px; }
.form-status.ok { color: #2f6b3a; }
.form-status.err { color: #8a3232; }

.form button[disabled] { opacity: 0.55; cursor: default; }

.verk-chip {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 22px 0 6px;
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.verk-chip img { width: 64px; height: 64px; object-fit: cover; display: block; }

.verk-chip .verk-title { font-size: 15px; }

.verk-chip .verk-sub { font-size: 13px; color: var(--text-soft); margin-top: 2px; }

/* ---------- bestilling ---------- */

.comm-intro { max-width: 680px; }

.comm-intro p { margin-bottom: 24px; font-size: 16.5px; line-height: 1.95; color: #444; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 64px 0 24px;
}

.step { border-top: 1px solid var(--text); padding-top: 20px; }

.step-num {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.step h2 { font-size: 19px; font-weight: 400; margin: 10px 0 12px; }

.step p { font-size: 15px; line-height: 1.85; color: #555; }

.comm-list { margin: 26px 0 10px; padding-left: 22px; }

.comm-list li { font-size: 15.5px; line-height: 2; color: #444; }

.comm-examples-head { font-size: 22px; font-weight: 400; margin: 72px 0 24px; }

.examples {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.examples img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.comm-form-wrap { max-width: 640px; margin-top: 72px; }

.comm-form-wrap .form-head { font-size: 22px; font-weight: 400; margin-bottom: 8px; }

.comm-form-wrap .form-sub { font-size: 15px; color: var(--text-soft); }

/* Tre kort på forsiden når bestilling er med. */
.collections-3 { grid-template-columns: repeat(3, 1fr); gap: 48px 36px; }

/* ---------- referanser: tidslinje ---------- */

.tl-intro { max-width: 680px; margin-bottom: 56px; font-size: 16.5px; line-height: 1.9; color: #555; }

.timeline { max-width: 760px; }

.tl-year {
  font-size: 24px;
  font-weight: 400;
  margin: 64px 0 8px;
}

.timeline .tl-year:first-child { margin-top: 0; }

.tl-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}

.tl-type {
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-top: 5px;
}

.tl-title { font-size: 18.5px; font-weight: 400; color: #333; }

.tl-venue { font-size: 14px; color: var(--text-soft); margin-top: 3px; }

.tl-desc { font-size: 15px; line-height: 1.85; color: #555; margin-top: 10px; }

.tl-media { margin-top: 16px; display: flex; gap: 10px; }

.tl-media img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .examples { grid-template-columns: repeat(2, 1fr); }
  .collections-3 { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .tl-media img { width: 104px; height: 104px; }
}
