/* ==========================================================
   sebastiansolberg.com
   Matches the original Wix site: measurements were taken from the
   live pages at 1280px wide. Colours, fonts and the main widths are
   tokens below, so a change here changes everywhere.
   ========================================================== */

/* Raleway, hosted on this site (no request to Google Fonts, which keeps visitors' IP addresses private) */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/raleway-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/raleway-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/raleway-latin-700-normal.woff2") format("woff2"); }

/* Smooth fade between pages in browsers that support it */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:root {
  --bg: #ffffff;
  --text: #181717;       /* body text, menu */
  --grey: #666666;       /* film titles and credits */
  --icon: #8a8a8a;       /* footer icons */
  --field: rgba(238, 238, 238, 0.63);
  --focus: #116dff;

  --raleway: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --helvetica-light: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --page: 980px;         /* the old Wix page width */
  --edge: 3.6%;          /* homepage grid margin either side */
  --gap: 3px;            /* gap between homepage films */

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--raleway);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--text); color: var(--bg); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Centred 980px column, as on Wix. On smaller screens it fills the
   width with a small margin, clear of the notch on phones. */
.wrap, .page, .film, .about, .contact, .epk {
  width: 100%;
  max-width: calc(var(--page) + 32px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Header ---------- */

.site-header { padding-block: 28px 30px; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.wordmark { display: block; line-height: 0; }
.wordmark img { width: 362px; height: auto; }

.site-nav ul { display: flex; gap: 36px; }
.site-nav a {
  font-family: var(--helvetica-light);
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.site-nav a:hover { color: var(--grey); }

/* ---------- Homepage grid ---------- */

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.tiles--home { margin-inline: var(--edge); }

.tile a {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f2f2f2;
  color: #fff;
  text-decoration: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }

/* The title fades in on hover or keyboard focus */
.tile__caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 0.3rem; padding: 1rem; text-align: center;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tile__title { font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); letter-spacing: 0.06em; }
.tile__role {
  font-family: var(--helvetica-light); font-weight: 300;
  font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.tile a:hover .tile__caption, .tile a:focus-visible .tile__caption { opacity: 1; }

/* Touch screens can't hover, so the title sits small in the corner */
@media (hover: none) {
  .tile__caption {
    opacity: 1; justify-content: flex-end; align-items: flex-start; text-align: left;
    padding: 0.7rem 0.85rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 45%);
  }
  .tile__title { font-size: 0.9375rem; }
  .tile__role { display: none; }
}

/* ---------- Film pages ---------- */

.player {
  position: relative;
  width: min(var(--player-w, 980px), calc(100vw - 32px));
  max-width: none;
  aspect-ratio: var(--ratio, 1.7778);
  margin-left: 50%;
  translate: -50% 0;
  background: #000;
  overflow: hidden;
}
@media (max-width: 1012px) {
  .player { width: 100%; margin-left: 0; translate: none; }
}
.player iframe, .player img, .player button {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.player img { object-fit: cover; }
.player button { background: none; cursor: pointer; padding: 0; color: #fff; }
.player button::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.15); transition: background 0.2s ease;
}
.player button:hover::before { background: rgba(0, 0, 0, 0.03); }
.player__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center;
  width: clamp(3.25rem, 7vw, 4.5rem); aspect-ratio: 1; border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
}
.player__play svg { width: 38%; margin-left: 8%; }

/* Laurels and logos in a row under the video */
.laurels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 4px;
  margin-top: 26px;
}
.laurels img { max-width: none; }
/* On phones the laurels sit in two even rows */
@media (max-width: 700px) {
  .laurels {
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
    gap: 8px 6px;
    justify-items: center;
  }
  .laurels li { width: 100%; display: flex; justify-content: center; }
  .laurels img { width: 100%; max-width: 132px; height: auto; }
}

.film-title {
  margin: 17px 0 0;
  font-family: var(--raleway);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.72px;
  color: var(--grey);
  text-align: center;
  text-wrap: balance;
}
.laurels + .film-title { margin-top: 40px; }

.film-credits {
  margin-top: 22px;
  text-align: center;
  color: var(--grey);
  font-size: 15px;
  letter-spacing: 0.6px;
  line-height: 20.5px;
}
.film-credits--top { margin-top: 17px; }
.film-credits p { margin: 0; }
.film-credits .gap { height: 20.5px; }
.film-credits strong { font-weight: 700; }

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 321px 1fr;
  gap: 43px;
  align-items: center;
  padding-top: 38px;
  padding-left: max(51px, env(safe-area-inset-left, 0px));
}
.about .portrait { width: 321px; height: 447px; object-fit: cover; }
.about__text {
  font-family: var(--raleway);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  max-width: 533px;
}
.about__text p { margin: 0 0 1.8em; }
.about__text p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; padding-left: max(16px, env(safe-area-inset-left, 0px)); gap: 28px; padding-top: 8px; }
  .about .portrait { width: 100%; max-width: 321px; height: auto; aspect-ratio: 321 / 447; margin-inline: auto; }
}

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

.contact { padding-top: 19px; }
.contact h1, .contact-form, .contact-embed, .contact-fallback { max-width: 456px; margin-left: 200px; }
.contact h1 { font-family: var(--raleway); font-weight: 400; font-size: 30px; line-height: 35px; margin-top: 0; margin-bottom: 43px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.field { display: grid; gap: 2px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; line-height: 14px; color: #000; }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--field);
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  color: #000;
}
.field input { height: 44px; }
.field textarea { height: 88px; resize: vertical; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 5px; flex-wrap: wrap; }
.submit-row button {
  width: 147px; height: 42px; border: 0; border-radius: 0;
  background: var(--text); color: #fff; font: inherit; font-size: 16px; cursor: pointer;
}
.submit-row button:hover { background: #3a3939; }
.form-status { margin: 0; font-size: 13px; max-width: 260px; }
.contact-fallback { font-size: 14px; color: var(--grey); margin-top: 28px; }
@media (max-width: 720px) {
  .contact h1, .contact-form, .contact-embed, .contact-fallback { margin-left: 0; }
  .contact-form { grid-template-columns: 1fr; }
}

/* ---------- One Breath press kit ---------- */

.epk { text-align: center; padding-top: 22px; }
.epk__poster { width: 854px; margin-inline: auto; }
.epk__h { font-family: var(--raleway); font-size: 19px; font-weight: 700; margin: 34px 0 0; }
.epk__synopsis { max-width: 537px; margin: 26px auto 0; }
.epk__statement { max-width: 640px; margin: 28px auto 0; text-align: left; }
.epk__statement p { margin: 0 0 1.25em; }
.epk__big { font-family: var(--raleway); font-size: 30px; font-weight: 400; text-align: left; margin: 44px 0 30px 24px; }
.epk__festivals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.epk__festivals img, .epk__stills img { width: 100%; }
.epk__downloads { text-align: left; margin: -8px 0 28px 13px; line-height: 22px; }
.epk__stills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.epk__stills img { aspect-ratio: 1; object-fit: cover; background: #999; }
.epk__credits { margin: 40px auto 0; max-width: 520px; }
.epk__credits div { margin-bottom: 22px; }
.epk__credits dt { font-weight: 700; }
.epk__credits dd { margin: 0; }
@media (max-width: 700px) {
  .epk__festivals { grid-template-columns: 1fr 1fr; }
  .epk__big { margin-left: 0; font-size: 24px; }
  .epk__downloads { margin-left: 0; }
}

/* ---------- All films and Stills (pages not in the menu) ---------- */

.film-group { padding-bottom: 40px; scroll-margin-top: 1rem; }
.film-group__title {
  font-family: var(--helvetica-light); font-weight: 300;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey); margin: 0 0 10px;
}
.further { display: grid; gap: 12px; color: var(--grey); font-size: 15px; }
.further dt { font-weight: 700; }
.further dd { margin: 0; }

.stills { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (min-width: 900px) { .stills { grid-template-columns: repeat(3, 1fr); } }
.stills img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #f2f2f2; }
.still { display: block; cursor: zoom-in; }
.still img { transition: opacity 0.2s ease; }
.still:hover img { opacity: 0.88; }

/* Full-screen photo viewer */
.viewer {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #000; color: #fff;
}
.viewer::backdrop { background: #000; }
.viewer[open] { display: grid; place-items: center; }
.viewer__img {
  max-width: 100vw; max-height: 100vh; max-height: 100dvh;
  width: auto; height: auto; object-fit: contain;
  user-select: none;
}
.viewer__btn {
  position: absolute;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, 0.35); color: #fff;
  font-size: 34px; line-height: 1; cursor: pointer;
}
.viewer__btn:hover { background: rgba(255, 255, 255, 0.15); }
.viewer__btn svg { width: 26px; height: 26px; }
.viewer__close { top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }
.viewer__prev { left: max(14px, env(safe-area-inset-left, 0px)); top: 50%; translate: 0 -50%; }
.viewer__next { right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; translate: 0 -50%; }
.viewer__count {
  position: absolute; left: 50%; translate: -50% 0;
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
  margin: 0; font-size: 13px; letter-spacing: 0.1em; opacity: 0.75;
}
@media (hover: none) {
  .viewer__prev, .viewer__next { display: none; } /* swipe instead */
}

/* Under each film: link to the press kit (One Breath) and the next film */
.film-more { text-align: center; margin: 18px 0 0; font-size: 14px; letter-spacing: 0.6px; }
.film-more a { color: var(--grey); }


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

.site-footer { padding-block: 72px 36px; }
.site-footer ul { display: flex; justify-content: center; }
.site-footer__icons { gap: 10px; }
.site-footer__icons a { display: block; width: 28px; height: 28px; color: var(--icon); }
.site-footer__icons a:hover { color: var(--text); }
.site-footer svg { width: 28px; height: 28px; }
.site-footer__links { gap: 22px; margin-top: 18px; }
.site-footer__links a {
  font-family: var(--helvetica-light); font-weight: 300;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--icon); text-decoration: none;
}
.site-footer__links a:hover { color: var(--text); }

/* Pictures fade in as they load, as on the old site */
.js main img { opacity: 0; transition: opacity 0.6s ease; }
.js main img.in { opacity: 1; }

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

.not-found { text-align: center; padding-block: 60px; color: var(--grey); }
.not-found h1 { font-size: 18px; letter-spacing: 0.72px; }

/* ==========================================================
   Screen sizes
   ========================================================== */

/* Phones: logo and menu stacked and centred, one film per row */
@media (max-width: 600px) {
  .site-header { padding-block: 20px 22px; }
  .site-header .wrap { justify-content: center; }
  .wordmark img { width: min(300px, 78vw); }
  .site-nav ul { gap: 28px; }
  .site-nav a { display: inline-block; padding-block: 10px; }
  .tiles { grid-template-columns: 1fr; }
  .tiles--home { margin-inline: max(16px, env(safe-area-inset-left, 0px)); }
}

/* Big monitors: the same layout, scaled up so it doesn't look tiny */
@media (min-width: 1900px) { body { zoom: 1.3; } }
@media (min-width: 2400px) { body { zoom: 1.6; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .js main img { opacity: 1; }
}

/* Phones held sideways: keep the whole video on screen */
@media (max-height: 500px) and (orientation: landscape) {
  .site-header { padding-block: 10px; }
  .player {
    width: min(100%, calc((100svh - 70px) * var(--ratio, 1.7778)));
    margin-inline: auto;
    translate: none;
  }
}

/* ---------- link in bio (/links) ---------- */
.site-header--bare .wrap { justify-content: center; }
.links {
  max-width: 440px;
  margin: 8px auto 0;
  padding-inline: 16px;
  text-align: center;
}
.links__photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}
.links__name {
  font-family: Raleway, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #666;
  margin: 0;
}
.links__intro {
  font-family: Raleway, sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #666;
  margin: 4px 0 28px;
}
.links__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.links__list a {
  display: block;
  padding: 15px 18px;
  border: 1px solid #181717;
  color: #181717;
  font-family: Raleway, sans-serif;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.links__list a:hover,
.links__list a:focus-visible { background: #181717; color: #fff; }

/* ---------- cookie banner and legal links ---------- */
.site-footer__legal { margin-top: 14px; font-size: 12px; text-align: center; color: var(--icon); }
.site-footer__legal a, .site-footer__legal button { color: inherit; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal a:hover, .site-footer__legal button:hover { color: var(--text); }
.pref-note { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 50; width: calc(100% - 32px); max-width: 560px; box-sizing: border-box; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; background: #fff; color: #181717; border: 1px solid #d9d9d9; box-shadow: 0 6px 24px rgba(0,0,0,.12); font-size: 14px; line-height: 1.4; }
.pref-note[hidden] { display: none; }
.pref-note p { margin: 0; flex: 1 1 260px; }
.pref-note a { color: inherit; text-underline-offset: 3px; }
.pref-note__btns { display: flex; gap: 8px; }
.pref-note__btns button { font: inherit; min-width: 96px; padding: 9px 18px; border: 1px solid #181717; background: #181717; color: #fff; cursor: pointer; }
.pref-note__btns button:hover { background: #fff; color: #181717; }
.pref-note__btns button:focus-visible { outline: 2px solid #181717; outline-offset: 2px; }
.prose { max-width: 680px; margin-inline: auto; padding-inline: 20px; }
.prose h2 { margin-top: 1.6em; font-size: 1.1rem; }
.contact-embed { display: block; width: 100%; min-height: 560px; border: 0; }

.pref-note__text p + p { margin-top: 4px; }
.pref-note__text p { font-size: 13.5px; }
.pref-note #pref-title { font-size: 14px; }
.prose h1 { font-weight: 400; }
.prose li { margin: 0 0 6px 18px; list-style: disc; }
.not-found ul { margin-top: 18px; display: grid; gap: 8px; }


/* ==========================================================
   Finishing touches (November 2026)
   Same layout and look, with more care in the details.
   ========================================================== */

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }
::selection { background: var(--text); color: #fff; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
a, button { -webkit-tap-highlight-color: transparent; }

/* Menu: a fine line under the page you're on, and on hover */
.site-nav a { position: relative; padding-block: 4px; letter-spacing: 0.04em; transition: color 0.2s ease; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.wordmark { transition: opacity 0.2s ease; }
.wordmark:hover { opacity: 0.7; }

/* Film tiles: the picture eases in slightly and the title rises into place */
.tile a { isolation: isolate; }
.js main .tile img, .tile img { transition: opacity 0.6s ease, transform 1.4s cubic-bezier(0.2, 0.6, 0.2, 1); }
.tile__caption { transition: opacity 0.35s ease; }
.tile__title, .tile__role { transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1); }
@media (hover: hover) {
  .tile__caption { background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)); }
  .tile__title, .tile__role { transform: translateY(8px); }
  .tile__role { opacity: 0.85; }
  .tile a:hover img, .tile a:focus-visible img { transform: scale(1.035); }
  .tile a:hover .tile__title, .tile a:hover .tile__role,
  .tile a:focus-visible .tile__title, .tile a:focus-visible .tile__role { transform: none; }
}
.tile a:focus-visible { outline-offset: -3px; outline-color: #fff; }

/* Play button: a clean ring that responds when you point at it */
.player__play {
  width: clamp(3.75rem, 7vw, 5rem);
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1), background 0.3s ease;
}
.player button:hover .player__play, .player button:focus-visible .player__play { transform: scale(1.08); background: rgba(0, 0, 0, 0.55); }
.player button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.player__play svg { width: 34%; }

/* Film text: a touch more room to read */
.film-title { font-size: 19px; }
.film-credits { line-height: 1.6; max-width: 640px; margin-inline: auto; text-wrap: balance; }
.film-credits .gap { height: 1.6em; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 28px;
  border: 1px solid var(--text); color: var(--text); background: transparent;
  font-family: var(--helvetica-light); font-weight: 300; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn:hover, .btn:focus-visible { background: var(--text); color: #fff; }
.btn--small { padding: 9px 20px; font-size: 12px; border-color: #bdbdbd; color: var(--grey); }
.film-more { margin-top: 26px; }
.film-more a.btn { color: var(--grey); }
.film-more a.btn:hover { color: #fff; border-color: var(--text); }
.about__cta { margin-top: 2.2em !important; }

/* Next film: a small still to click, not just a line of text */
.next-film { margin: 72px 0 0; text-align: center; }
.next-film a { display: inline-grid; justify-items: center; gap: 4px; color: var(--grey); text-decoration: none; }
.next-film__thumb { display: block; width: 280px; max-width: 70vw; aspect-ratio: 16 / 9; overflow: hidden; background: #f2f2f2; margin-bottom: 14px; }
.next-film__thumb img, .js main .next-film__thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s ease, transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1); }
.next-film a:hover .next-film__thumb img { transform: scale(1.04); }
.next-film__label {
  font-family: var(--helvetica-light); font-weight: 300;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--icon);
}
.next-film__label { margin-top: 2px; }
.next-film__title { font-size: 15px; letter-spacing: 0.6px; transition: color 0.2s ease; }
.next-film__arrow { display: inline-block; transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1); }
.next-film a:hover .next-film__title { color: var(--text); }
.next-film a:hover .next-film__arrow { transform: translateX(4px); }

/* All films and Stills */
.film-group { padding-bottom: 56px; }
.film-group__title { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.film-group__title::after { content: ""; flex: 1; height: 1px; background: #e6e6e6; }
.further a { text-decoration-color: #bdbdbd; }
.further a:hover { color: var(--text); }
.still { overflow: hidden; }
.still img, .js main .still img { transition: opacity 0.6s ease, transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1); }
@media (hover: hover) { .still:hover img { opacity: 1; transform: scale(1.03); } }
.viewer__btn { transition: background 0.2s ease; }

/* About */
.about__text a:not(.btn) { text-decoration-color: #9a9a9a; transition: text-decoration-color 0.2s ease; }
.about__text a:not(.btn):hover { text-decoration-color: currentColor; }

/* Contact */
.contact-fallback a { color: var(--text); }

/* Privacy and other text pages */
.prose { padding-top: 20px; line-height: 1.7; color: #333; }
.prose h1 { font-size: 30px; line-height: 1.2; margin: 0 0 0.8em; color: var(--text); }
.prose h2 { font-size: 17px; margin: 2em 0 0.4em; color: var(--text); }
.prose p { margin: 0 0 1em; }
.prose small { color: var(--icon); }
.not-found { padding-block: 90px 40px; }
.not-found h1 { font-weight: 400; font-size: 30px; letter-spacing: 0; color: var(--text); margin: 0 0 10px; }
.not-found p { margin: 0 0 26px; }

/* Footer: a short rule, then the links, quietly */
.site-footer { padding-block: 88px 40px; }
.site-footer::before { content: ""; display: block; width: 40px; height: 1px; background: #d0d0d0; margin: 0 auto 36px; }
.site-footer__icons { gap: 14px; }
.site-footer__icons a { width: 26px; height: 26px; transition: color 0.2s ease, transform 0.2s ease; }
.site-footer__icons a:hover { transform: translateY(-2px); }
.site-footer svg { width: 26px; height: 26px; }
.site-footer__links { margin-top: 22px; }
.site-footer__links a { padding-block: 6px; transition: color 0.2s ease; }
.site-footer__legal { margin: 22px 0 0; text-align: center; font-size: 12px; letter-spacing: 0.03em; color: #9a9a9a; }
.site-footer__legal a, .site-footer__legal button {
  font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: #cfcfcf; text-underline-offset: 3px; transition: color 0.2s ease;
}
.site-footer__legal a:hover, .site-footer__legal button:hover { color: var(--text); }

/* Cookie note */
.pref-note { border-color: #e2e2e2; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14); padding: 18px 20px; animation: note-in 0.45s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
@keyframes note-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.pref-note__btns button { letter-spacing: 0.04em; transition: background-color 0.2s ease, color 0.2s ease; }

@media (max-width: 600px) {
  .site-nav a { padding-block: 10px; }
  .site-nav a::after { bottom: 6px; }
  .site-footer { padding-block: 64px 32px; }
  .next-film { margin-top: 56px; }
  .film-credits { font-size: 14.5px; }
}

.pref-note__text { flex: 1 1 260px; }

/* Film pages: a line about the film, then the credits as a tidy list */
.film-summary {
  max-width: 580px; margin: 14px auto 0; text-align: center; text-wrap: balance;
  font-weight: 300; font-size: 16px; line-height: 1.65; color: #444;
}
.credits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px;
  max-width: 820px; margin: 34px auto 0; padding-top: 30px;
  border-top: 1px solid #ececec;
  font-size: 15px; line-height: 1.5; color: #444;
}
.credits > div { display: contents; }
.credits dt {
  text-align: right; padding-top: 3px;
  font-family: var(--helvetica-light); font-weight: 300;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--icon);
}
.credits dd { margin: 0; text-align: left; letter-spacing: 0.02em; }
.credits em { color: var(--icon); }
.credits__gap { grid-column: 1 / -1; height: 8px; }
.credits .credits__note dd { grid-column: 1 / -1; text-align: center; }
@media (max-width: 600px) {
  .film-summary { font-size: 15px; }
  .credits { grid-template-columns: 1fr; gap: 0; text-align: center; margin-top: 28px; padding-top: 24px; }
  .credits dt { text-align: center; padding-top: 14px; }
  .credits > div:first-child dt { padding-top: 0; }
  .credits dd { text-align: center; }
  .credits__gap { height: 0; }
}

/* Under each film: the previous and next films side by side, like the homepage */
.more-films { margin-top: 84px; }
.more-films__labels {
  display: flex; justify-content: space-between; margin-bottom: 10px;
  font-family: var(--helvetica-light); font-weight: 300;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--icon);
}
.more-films .tiles { grid-template-columns: 1fr 1fr; }
.more-films__all { text-align: center; margin: 30px 0 0; }
@media (max-width: 600px) {
  .more-films { margin-top: 60px; }
  .more-films__labels { font-size: 11px; }
  .more-films .tile__caption { padding: 0.5rem 0.6rem; }
  .more-films .tile__title { font-size: 0.8125rem; letter-spacing: 0.03em; }
}

/* Homepage: a clear way through to the rest of the films */
.home-more { text-align: center; margin: 48px 0 0; }
.home-more + * { margin-top: 0; }
@media (max-width: 600px) { .home-more { margin-top: 36px; } }
