:root {
  --black: #090909;
  --ink: #161311;
  --paper: #f4efe8;
  --paper-2: #e7e0d6;
  --orange: #e86a1c;
  --white: #f7f4ef;
  --muted: #b7b1a8;
  --muted-dark: #5e564e;
  --line: rgba(247, 244, 239, 0.18);
  --header: 4.5rem;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Familjen Grotesk", "Avenir Next", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--orange);
  color: #1a1008;
  padding: 0.5rem 0.8rem;
  z-index: 80;
}

.skip-link:focus {
  top: 3.2rem;
}

.demo-ribbon {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #1c1916;
  color: #d9d2c8;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  padding: 0.4rem 1rem;
}

.site-header {
  position: sticky;
  top: 1.7rem;
  z-index: 40;
  background: rgba(9, 9, 9, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 52px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.98rem;
}

.nav-book {
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.nav-phone {
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  padding: 0;
  position: relative;
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  height: 1.5px;
  background: var(--white);
}

.nav-toggle span:nth-of-type(1) {
  top: 1.05rem;
}

.nav-toggle span:nth-of-type(2) {
  top: 1.55rem;
}

.hero {
  position: relative;
  display: block;
  height: calc(100svh - 6.4rem);
  min-height: 560px;
  max-height: 860px;
  overflow: hidden;
  background: var(--black);
}

.hero > img {
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-scrim {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 44%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 2rem 1.5rem;
  max-width: none;
}

.hero-kicker {
  margin: 0 0 0.6rem;
  color: #f0d2bc;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 3.4vw, 3.7rem);
  line-height: 1.05;
  max-width: 12ch;
}

.hero-lead {
  max-width: 38rem;
  color: #f3efe8;
  font-size: 1.12rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 3rem;
}

.btn-orange {
  background: var(--orange);
  color: #1a1008;
  font-weight: 600;
}

.btn-line {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
  background: transparent;
}

.btn-dark {
  background: var(--ink);
  color: white;
  width: 100%;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 1rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 36rem);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 280px;
  gap: 0.7rem;
}

.story,
.shot {
  position: relative;
  padding: 0;
  border: 0;
  background: #141414;
  color: white;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.story img,
.shot img,
.film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-feature {
  grid-row: span 2;
}

.story-wide {
  grid-column: 1 / -1;
  grid-row: auto;
  height: 560px;
}

.story-wide img {
  object-position: center 22%;
}

.story-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.2rem 0.9rem 0.85rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  font-size: 0.95rem;
}

.story-meta span:last-child {
  color: #f0d2bc;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.filter {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.filter.is-active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.gallery {
  columns: 3;
  column-gap: 0.7rem;
}

.shot {
  width: 100%;
  margin: 0 0 0.7rem;
  break-inside: avoid;
  display: block;
}

.shot img {
  height: auto;
}

.shot.is-hidden {
  display: none;
}

.film-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.film {
  position: relative;
  display: block;
  min-height: 460px;
  overflow: hidden;
  text-decoration: none;
  color: white;
}

.film img {
  position: absolute;
  inset: 0;
}

.play {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 3.4rem;
  height: 3.4rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(9, 9, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.play::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 1.05rem;
  border-style: solid;
  border-width: 0.65rem 0 0.65rem 1rem;
  border-color: transparent transparent transparent white;
}

.film-label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
}

.film-note {
  margin: 1rem 0 0;
}

.film-note a {
  color: #f0d2bc;
}

.coverage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding-top: 4.5rem;
}

.coverage-photo img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.coverage-copy h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.cover-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.2rem;
}

.cover-list li {
  border-top: 1px solid var(--line);
  padding-top: 0.45rem;
}

.official a {
  color: #f0d2bc;
}

.book {
  margin-top: 4rem;
  background: var(--paper);
  color: var(--ink);
}

.book-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
}

.book h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.book p,
.steps {
  color: var(--muted-dark);
}

.steps {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.steps li + li {
  margin-top: 0.45rem;
}

.book-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
  align-content: start;
}

.book-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.span-2 {
  grid-column: span 2;
}

.book-form input,
.book-form select,
.book-form textarea {
  width: 100%;
  background: white;
  color: var(--ink);
  border: 1px solid #2a241e;
  border-radius: 8px;
  padding: 0.75rem 0.8rem;
  min-height: 3rem;
}

.book-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.book-form input::placeholder,
.book-form textarea::placeholder {
  color: #6d655c;
}

.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 6rem;
}

.footer-inner img {
  height: 64px;
  width: auto;
  margin-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #f0d2bc;
}

.footer-note,
.footer-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.float-wa {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  z-index: 45;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.float-wa svg {
  width: 1.7rem;
  height: 1.7rem;
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(920px, calc(100vw - 2rem));
  width: 100%;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}

.lightbox p {
  margin: 0.6rem 0 0;
  color: white;
}

.lightbox-close {
  position: absolute;
  right: 0;
  top: -2.4rem;
  background: transparent;
  color: white;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

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

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #111;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.25rem 1.2rem;
    gap: 0.9rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .section-head,
  .coverage,
  .book-inner,
  .story-grid,
  .film-row {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-auto-rows: 340px;
  }

  .story-feature,
  .story-wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 420px;
  }

  .gallery {
    columns: 2;
  }

  .film {
    min-height: 420px;
  }

  .hero {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .hero > img {
    position: relative;
    width: 100%;
    height: 68vh;
    min-height: 420px;
    right: auto;
    top: auto;
  }

  .hero-copy {
    width: auto;
    height: auto;
    padding: 1.75rem 1.25rem 2.5rem;
  }
}

@media (max-width: 640px) {
  .book-form,
  .cover-list {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .gallery {
    columns: 1;
  }

  h1 {
    font-size: 2.45rem;
  }
}

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