:root {
  --bg: #1c1c1c;
  --bg-deep: #131211;
  --fg: #f9f9f9;
  --muted: rgba(249, 249, 249, 0.62);
  --line: rgba(249, 249, 249, 0.18);
  --accent: #c9a06a;
  --warm: #e6e3df;
  --font-serif: "Lora", "Times New Roman", Times, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --page-pad: clamp(20px, 5vw, 48px);
  --max: 1280px;
  --radius-btn: 28px;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  opacity: 0.78;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 8px 12px;
  background: var(--fg);
  color: var(--bg);
  z-index: 100;
  transform: translateY(-140%);
  transition: transform 200ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(28, 28, 28, 0.92);
}

.site-header__menu {
  appearance: none;
  border: 0;
  background: none;
  padding: 4px;
  cursor: pointer;
  color: var(--fg);
}

.site-header__menu span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  margin: 5px 0;
}

.site-header__brand {
  flex: 1;
  font-family: var(--font-serif);
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 0.02em;
  text-align: center;
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 35;
  padding: 96px var(--page-pad) var(--page-pad);
  background: rgba(19, 18, 17, 0.98);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(-100%);
  transition: transform 420ms var(--ease);
}

.site-nav.is-open {
  transform: translateX(0);
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(249, 249, 249, 0.06);
}

.site-nav a[aria-current="page"] {
  color: var(--warm);
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .site-header__menu {
    display: none;
  }

  .site-header__brand {
    flex: 0 1 auto;
    text-align: left;
  }

  .site-nav {
    position: static;
    inset: auto;
    padding: 0;
    background: none;
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
    transform: none;
    flex: 0 0 auto;
  }

  .site-nav a {
    border: 0;
    padding: 0;
    font-size: 12px;
  }
}

/* Hero - forsiden */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__parallax-layer {
  position: absolute;
  left: -1.25%;
  right: -1.25%;
  top: -6.5%;
  height: 113%;
  will-change: transform;
}

.hero__parallax-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-aspect-ratio: 3/4) {
  .hero__parallax-layer img {
    object-position: center 42%;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 18, 17, 0.22);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(100px, 14vh, 140px) var(--page-pad) clamp(64px, 10vh, 96px);
  width: 100%;
  max-width: 100%;
}

.hero__title-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.hero__title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(10px, 2.75vw, 15px);
  line-height: 1.4;
  letter-spacing: clamp(0.08em, 1.65vw, 0.2em);
  text-transform: lowercase;
  color: var(--fg);
  white-space: nowrap;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
}

.hero__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 clamp(18px, 3vw, 26px);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(19, 18, 17, 0.38);
  border: 1px solid rgba(249, 249, 249, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 480ms var(--ease),
    border-color 480ms var(--ease),
    color 480ms var(--ease);
}

.hero__links a span {
  position: relative;
  z-index: 1;
}

.hero__links a:hover {
  opacity: 1;
  background: rgba(249, 249, 249, 0.12);
  border-color: rgba(249, 249, 249, 0.45);
}

/* Scroll-hint: pil under hero (kun tilføjelse — ændrer ikke eksisterende hero-layout) */
.hero__scroll-cue {
  position: absolute;
  z-index: 3;
  left: calc(50% - 22px);
  bottom: clamp(1rem, 3.5vh, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  color: rgba(249, 249, 249, 0.82);
  background: rgba(19, 18, 17, 0.35);
  border: 1px solid rgba(249, 249, 249, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
  transition:
    opacity 520ms var(--ease),
    border-color 480ms var(--ease),
    background 480ms var(--ease);
}

.hero__scroll-cue:hover {
  background: rgba(249, 249, 249, 0.08);
  border-color: rgba(249, 249, 249, 0.38);
  color: var(--fg);
}

.hero__scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero__scroll-cue__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-scroll-cue-float 2.4s var(--ease) infinite;
}

.hero__scroll-cue.is-hidden .hero__scroll-cue__icon {
  animation: none;
}

.hero__scroll-cue__icon svg {
  display: block;
}

@keyframes hero-scroll-cue-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-cue {
    transition-duration: 200ms;
  }

  .hero__scroll-cue__icon {
    animation: none;
  }
}

/* Gallery — stille redaktionelt still-grid (matcher mørk, rolig site-vibe) */
.gallery {
  border-top: 1px solid rgba(249, 249, 249, 0.08);
  background: var(--bg-deep);
  padding: clamp(40px, 6vw, 72px) var(--page-pad);
}

.gallery__inner {
  width: 100%;
  max-width: min(1180px, var(--max));
  margin: 0 auto;
  /* Kolonner følger galleriets faktiske bredde (ikke kun viewport), så preview og live matcher. */
  container-type: inline-size;
  container-name: gallery;
}

.gallery__reel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Fast gap undgår forskelle mellem preview og browser pga. vw/subpixel. */
  gap: 12px;
  width: 100%;
}

.gallery__card {
  margin: 0;
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(249, 249, 249, 0.07);
  background: #0a0a0a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.gallery__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Absolut position: cellehøjde styres kun af aspect-ratio — ingen CLS ved billedload. */
.gallery__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.002);
  transition: transform 720ms var(--ease);
}

/* Røde Kors «mod til at handle» — tæt crop; origin/position lavt så alle tre med i bunden, ikke i sorte top-bar. */
.gallery__card--zoom-in img {
  transform: scale(1.246);
  transform-origin: center 52%;
  object-position: center 54%;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery__card:hover img {
    transform: scale(1.046);
  }

  .gallery__card--zoom-in:hover img {
    transform: scale(1.288);
  }
}

/* Billedtekster: kun desktop-gitter (container ≥520px), hover, diskret nederst til venstre */
.gallery__caption {
  display: none;
}

.gallery__card::before {
  content: none;
}

@container gallery (min-width: 520px) {
  /* Meget diskret mørkning i bunden bag teksten — kun ved hover, samme timing som billedtekst */
  .gallery__card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 52%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      to top,
      rgba(10, 9, 8, 0.62) 0%,
      rgba(12, 11, 10, 0.4) 24%,
      rgba(12, 11, 10, 0.2) 52%,
      rgba(12, 11, 10, 0.06) 78%,
      rgba(12, 11, 10, 0) 100%
    );
    opacity: 0;
    transition: opacity 480ms var(--ease);
  }

  .gallery__caption {
    display: block;
    position: absolute;
    z-index: 2;
    left: 0.42rem;
    bottom: 0.38rem;
    max-width: min(94%, 12.5rem);
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: calc(10.75px * 1.07);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.09em;
    text-transform: none;
    color: rgba(249, 249, 249, 0.97);
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.58),
      0 0 1px rgba(0, 0, 0, 0.78),
      0 5px 24px rgba(0, 0, 0, 0.32);
    pointer-events: none;
    opacity: 0;
    transition: opacity 480ms var(--ease);
  }

  @media (hover: hover) {
    .gallery__card:hover::before,
    .gallery__card:hover .gallery__caption {
      opacity: 1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .gallery__card::before,
    .gallery__caption {
      transition-duration: 90ms;
    }
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 767px) {
    .gallery__caption {
      display: none !important;
    }
  }

  @media (min-width: 768px) {
    .gallery__card::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 52%;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(
        to top,
        rgba(10, 9, 8, 0.62) 0%,
        rgba(12, 11, 10, 0.4) 24%,
        rgba(12, 11, 10, 0.2) 52%,
        rgba(12, 11, 10, 0.06) 78%,
        rgba(12, 11, 10, 0) 100%
      );
      opacity: 0;
      transition: opacity 480ms var(--ease);
    }

    .gallery__caption {
      display: block;
      position: absolute;
      z-index: 2;
      left: 0.42rem;
      bottom: 0.38rem;
      max-width: min(94%, 12.5rem);
      margin: 0;
      padding: 0;
      font-family: var(--font-sans);
      font-size: calc(10.75px * 1.07);
      font-weight: 500;
      line-height: 1.4;
      letter-spacing: 0.09em;
      text-transform: none;
      color: rgba(249, 249, 249, 0.97);
      text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.58),
        0 0 1px rgba(0, 0, 0, 0.78),
        0 5px 24px rgba(0, 0, 0, 0.32);
      pointer-events: none;
      opacity: 0;
      transition: opacity 480ms var(--ease);
    }

    @media (hover: hover) {
      .gallery__card:hover::before,
      .gallery__card:hover .gallery__caption {
        opacity: 1;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .gallery__card::before,
      .gallery__caption {
        transition-duration: 90ms;
      }
    }
  }
}

/* Mobil (2 kolonner): skjul nr. 7 så gitteret bliver lige (8 billeder = 4 rækker). */
.gallery__card--hide-2col {
  display: none;
}

/* Mobil: 2 kolonner (default). Desktop: præcis 3 — styres af galleriets bredde, ikke viewport alene. */
@container gallery (min-width: 520px) {
  .gallery__reel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 90%;
    margin-inline: auto;
  }

  .gallery__card--hide-2col {
    display: block;
  }
}

/* Browsere uden container queries: 3 kolonner fra tablet/desktop-viewport. */
@supports not (container-type: inline-size) {
  @media (min-width: 768px) {
    .gallery__reel {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      width: 90%;
      margin-inline: auto;
    }

    .gallery__card--hide-2col {
      display: block;
    }
  }
}

/* Forside — kort reel (Vimeo); ingen afrunding/kant der giver hvide “hår” i siderne (Safari m.m.) */
.home-reel {
  border-top: 1px solid rgba(249, 249, 249, 0.08);
  background: var(--bg-deep);
  padding: clamp(28px, 5vw, 56px) var(--page-pad) clamp(48px, 7vw, 88px);
}

.home-reel__inner {
  width: 100%;
  max-width: min(1180px, var(--max));
  margin: 0 auto;
  background: var(--bg-deep);
}

.home-reel__player {
  position: relative;
  width: 100%;
  max-width: min(960px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0;
  border: 0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  isolation: isolate;
}

.home-reel__embed {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
}

.home-reel__embed iframe {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% + 3px);
  max-width: none;
  height: 100%;
  margin: 0;
  border: 0;
  background: #000;
  display: block;
  transform: translateX(-50%);
  transform-origin: center top;
}

/* Arbejde: reel under stemme-video — samme kolonne som work-voice, ingen ekstra side-padding */
.page--work .home-reel--work {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-top: clamp(20px, 3.5vw, 40px);
  margin-top: clamp(8px, 2vw, 16px);
}

/* Undgå dobbelt “luft”: forsiden bruger stor bund-padding på .home-reel; her styrer .page afstanden til footeren */
.page.page--work:has(> .home-reel--work:last-child) {
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page--work .home-reel--work .home-reel__inner {
  max-width: 36rem;
  margin-inline: 0;
}

.page--work .home-reel--work .home-reel__player {
  max-width: 100%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* Page shell */
/* Arbejde — samme dybe baggrund som forsiden (hero + galleri) */
.body--work-page {
  background-color: var(--bg-deep);
}

.page {
  padding: 100px var(--page-pad) clamp(64px, 10vw, 120px);
  max-width: var(--max);
  margin: 0 auto;
}

.page__title {
  margin: 0 0 clamp(40px, 6vw, 72px);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 14px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--warm);
}

/* Work / Arbejde — editorial rail grid, shared across columns */
.page--work {
  --work-rail: 2.75rem;
  --work-gutter: 1rem;
  --work-row-pad: clamp(0.6rem, 1.2vw, 0.75rem);
  --work-border-section: rgba(249, 249, 249, 0.09);
  --work-border-rule: rgba(249, 249, 249, 0.055);
  --work-border-faint: rgba(249, 249, 249, 0.042);
  max-width: 1040px;
  padding-top: clamp(84px, 10.5vw, 94px);
}

@media (min-width: 900px) {
  .page--work {
    --work-rail: 3.25rem;
    --work-gutter: 1.125rem;
  }
}

.page--work .page__title {
  margin-bottom: clamp(1.65rem, 4.2vw, 2.75rem);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.48rem, 3.35vw, 1.98rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: left;
  color: rgba(249, 249, 249, 0.9);
}

.work-section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--work-border-section, var(--line));
}

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

.work-section__heading {
  margin: 0 0 clamp(28px, 4.5vw, 40px);
  padding-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.12vw, 12.5px);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(249, 249, 249, 0.78);
  border-bottom: 1px solid var(--work-border-rule, rgba(249, 249, 249, 0.1));
}

.work-columns {
  display: grid;
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}

@media (min-width: 820px) {
  .work-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2.75rem, 5.5vw, 4.5rem);
    row-gap: 0;
  }
}

.work-block {
  min-width: 0;
}

.work-block__label {
  margin: 0 0 clamp(1rem, 2.2vw, 1.35rem);
  padding-left: calc(var(--work-rail) + var(--work-gutter));
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16.5px, 1.68vw, 19px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: rgba(249, 249, 249, 0.86);
}

.work-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.work-timeline--full {
  max-width: min(46rem, 100%);
  margin-inline: 0;
}

.work-year-group {
  display: grid;
  grid-template-columns: var(--work-rail) minmax(0, 1fr);
  column-gap: var(--work-gutter);
  align-items: start;
  margin: 0;
  padding: 0;
  border: 0;
}

.work-year-group + .work-year-group {
  margin-top: clamp(1.5rem, 2.8vw, 2.25rem);
  padding-top: clamp(1.5rem, 2.8vw, 2.25rem);
  border-top: 1px solid var(--work-border-faint, rgba(249, 249, 249, 0.07));
}

.work-year {
  margin: 0;
  padding-top: 0.12rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.25;
  color: rgba(201, 160, 106, 0.88);
}

.work-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--work-border-rule, rgba(249, 249, 249, 0.08));
}

.work-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 1rem;
  padding: var(--work-row-pad) 0;
  border-bottom: 1px solid var(--work-border-rule, rgba(249, 249, 249, 0.08));
  align-items: start;
}

@media (min-width: 560px) {
  .work-line {
    grid-template-columns: minmax(0, 1fr) 12rem;
    gap: 0.4rem 1.35rem;
    padding: var(--work-row-pad) 0;
  }

  .work-line__detail {
    text-align: right;
    justify-self: stretch;
    width: 100%;
  }
}

.work-line:last-child {
  border-bottom: 0;
}

.work-line__title {
  font-family: var(--font-serif);
  font-size: clamp(13.5px, 1.22vw, 15.5px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
  color: rgba(249, 249, 249, 0.88);
  min-width: 0;
  display: block;
  white-space: nowrap;
}

.work-line__detail {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(249, 249, 249, 0.5);
  letter-spacing: 0.02em;
}

.work-voice {
  margin-top: clamp(48px, 8vw, 88px);
  padding-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--work-border-section, var(--line));
  text-align: left;
  max-width: 36rem;
}

.work-voice__heading {
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  padding-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.12vw, 12.5px);
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(249, 249, 249, 0.78);
  border-bottom: 1px solid var(--work-border-rule, rgba(249, 249, 249, 0.1));
}

.work-voice__player {
  max-width: 100%;
  padding-bottom: clamp(0.875rem, 2vw, 1.25rem);
  border-bottom: 1px solid var(--work-border-rule, rgba(249, 249, 249, 0.08));
}

.work-voice__embed {
  margin-top: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-deep);
  border: 1px solid var(--work-border-rule, rgba(249, 249, 249, 0.06));
}

.work-voice__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 619px) {
  .page--work .page__title {
    text-align: left;
  }

  .work-columns {
    gap: clamp(2.75rem, 10vw, 3.75rem);
  }

  /* Lidt mere luft mellem «Arbejde foran kameraet» og «Teater & performance». */
  .page--work .work-section + .work-section {
    padding-top: calc(clamp(40px, 6vw, 72px) + 0.55rem);
  }

  .work-year-group {
    grid-template-columns: 1fr;
  }

  .work-year {
    text-align: left;
    margin-bottom: 0.45rem;
    padding-top: 0;
  }

  .work-block__label {
    padding-left: 0;
    font-size: clamp(1.125rem, 4.2vw, 1.3125rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(249, 249, 249, 0.9);
    line-height: 1.3;
    margin-bottom: clamp(1.1rem, 3.5vw, 1.35rem);
  }
}

@media (max-width: 559px) {
  .work-line__detail {
    text-align: left;
    justify-self: start;
  }
}

/* Information */
.page--information {
  max-width: min(1200px, 100%);
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.info-sheet {
  margin: 0;
}

.page--information .info-sheet {
  max-width: min(880px, 100%);
  margin-left: 0;
  margin-right: auto;
}

.info-sheet img {
  display: block;
  width: 100%;
  height: auto;
}

.info-panel .info-sheet {
  margin-top: clamp(12px, 2.5vw, 24px);
}

.page--information .info-panel {
  padding-top: clamp(24px, 4vw, 44px);
  padding-bottom: clamp(16px, 3vw, 32px);
}

.page--information .info-panel__title {
  margin-bottom: clamp(16px, 3vw, 28px);
  text-align: left;
  font-weight: 400;
}

.page--information .info-education.info-education--sheet {
  padding: clamp(24px, 4vw, 44px) 0 clamp(28px, 5vw, 56px);
}

.info-panel {
  position: relative;
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.info-panel:first-of-type {
  border-top: 0;
}

.info-panel__title {
  margin: 0 0 clamp(32px, 5vw, 48px);
  font-family: var(--font-sans);
  font-size: clamp(12px, 1.2vw, 13px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
}

.info-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

@media (min-width: 800px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.info-stats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-stats li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(249, 249, 249, 0.06);
  font-family: var(--font-sans);
  font-size: 14px;
}

.info-stats .label {
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

.info-skills__heading {
  margin: 0 0 16px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-size: 11px;
}

.info-skills ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 14px;
}

.info-skills li {
  padding: 6px 0;
}

.info-feature {
  margin: clamp(48px, 8vw, 80px) auto;
  max-width: 520px;
}

.info-feature img {
  width: 100%;
}

.info-education {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 0;
}

.info-education.info-education--sheet {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.info-education__heading {
  margin: 0 0 clamp(32px, 5vw, 48px);
  font-size: clamp(28px, 4vw, 36px);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.info-education__portraits {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

@media (min-width: 700px) {
  .info-education__portraits {
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: clamp(24px, 4vw, 40px);
  }
}

.info-education__portraits img {
  border-radius: 50%;
  width: min(220px, 100%);
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.info-education__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 36ch;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
}

.info-education__list li {
  padding: 4px 0;
}

/* Kontakt */
.page--contact {
  max-width: min(1200px, 100%);
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.contact-panel {
  padding: clamp(24px, 4vw, 44px) 0 clamp(48px, 8vw, 96px);
}

.page--contact .info-panel__title {
  margin: 0 0 clamp(16px, 3vw, 28px);
  text-align: left;
  font-weight: 400;
}

.contact-visual {
  margin: 0;
  max-width: min(880px, 100%);
}

.contact-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  margin-top: clamp(14px, 3vw, 28px);
  padding: clamp(12px, 2.4vw, 20px) var(--page-pad) clamp(14px, 2.6vw, 22px);
  padding-left: max(var(--page-pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-pad), env(safe-area-inset-right, 0px));
  border-top: 1px solid rgba(249, 249, 249, 0.018);
  background: transparent;
  color: rgba(249, 249, 249, 0.5);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: left;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 0 0.35em;
  margin: 0 0 clamp(8px, 1.6vw, 14px);
}

.site-footer__nav a {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(249, 249, 249, 0.38);
  text-decoration: none;
  padding: 2px 0;
  margin-right: clamp(10px, 2vw, 16px);
  border-bottom: 1px solid transparent;
  transition: color 240ms var(--ease), border-color 240ms var(--ease);
}

.site-footer__nav a:hover {
  color: rgba(249, 249, 249, 0.72);
  border-bottom-color: rgba(249, 249, 249, 0.08);
}

.site-footer__nav a:focus-visible {
  color: rgba(249, 249, 249, 0.78);
  outline: 1px solid rgba(249, 249, 249, 0.18);
  outline-offset: 3px;
}

.site-footer__nav a[aria-current="page"] {
  color: rgba(230, 227, 223, 0.75);
}

.site-footer__meta {
  margin: 0;
  max-width: 38rem;
}

.site-footer__name {
  margin: 0 0 3px;
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(249, 249, 249, 0.78);
}

.site-footer__roles {
  margin: 0 0 7px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(249, 249, 249, 0.4);
}

.site-footer__footline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.site-footer__footline .site-footer__email {
  margin: 0;
}

.site-footer__email {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.03em;
}

.site-footer__email a {
  color: rgba(249, 249, 249, 0.44);
  text-decoration: none;
  border-bottom: 1px solid rgba(249, 249, 249, 0.07);
  transition: color 240ms var(--ease), border-color 240ms var(--ease);
}

.site-footer__email a:hover,
.site-footer__email a:focus-visible {
  color: rgba(249, 249, 249, 0.68);
  border-bottom-color: rgba(249, 249, 249, 0.14);
}

.site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.site-footer__social li {
  display: flex;
}

.site-footer__icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 26px;
  padding: 0;
  color: rgba(249, 249, 249, 0.28);
  transition: color 240ms var(--ease);
}

.site-footer__icon-link:hover {
  color: rgba(249, 249, 249, 0.55);
}

.site-footer__icon-link:focus-visible {
  color: rgba(249, 249, 249, 0.55);
  outline: 1px solid rgba(249, 249, 249, 0.15);
  outline-offset: 2px;
}

.site-footer__icon-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.site-footer__icon-link--imdb {
  min-width: auto;
  padding-inline: 1px;
  transform: translateX(3px);
}

.site-footer__icon-link--imdb svg {
  width: auto;
  height: 10px;
}

[data-fade] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

[data-fade].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-fade] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery__card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__parallax-layer {
    transform: none !important;
    top: 0;
    height: 100%;
    left: -1.25%;
    right: -1.25%;
  }

  .hero__title {
    transform: none !important;
  }
}
