/* =========================================================================
   16 Strängar – site stylesheet
   Light, quiet, generous. Layout idiom borrowed from altitude101 (centred
   focal object, pill navigation, one thing at a time) minus the dot field
   and minus the dark. Nothing here is generated; edit this file by hand.
   ========================================================================= */

/* ---- tokens ------------------------------------------------------------ */
:root {
  --paper:      #fbf9f5;
  --paper-2:    #ffffff;
  --paper-3:    #f3efe8;

  --ink:        #17140f;
  --ink-2:      #554e45;
  --ink-3:      #8a8077;

  --line:       #e7e1d8;
  --line-2:     #d8d0c4;

  --accent:     #b8501d;
  --accent-ink: #8e3c14;
  --accent-bg:  #fdf0e6;

  --maxw:       1180px;
  --maxw-text:  68ch;
  --gutter:     clamp(1.25rem, 0.7rem + 2.4vw, 3rem);

  --r-sm:  8px;
  --r:     14px;
  --r-lg:  22px;

  --shadow-1: 0 1px 2px rgba(23, 20, 15, .05), 0 2px 8px rgba(23, 20, 15, .04);
  --shadow-2: 0 2px 6px rgba(23, 20, 15, .06), 0 14px 40px rgba(23, 20, 15, .09);
  --shadow-3: 0 4px 12px rgba(23, 20, 15, .08), 0 30px 70px rgba(23, 20, 15, .14);

  --sans:  "Figtree", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 11rem;
}

:target { scroll-margin-top: 11rem; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .16vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  text-wrap: balance;
}

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

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent); }

button { font: inherit; color: inherit; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0; z-index: 100;
}
.skip:focus { left: 0; }

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

/* ---- layout ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.section + .section { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: 1.1em; }

/* ---- masthead ---------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), padding .25s var(--ease);
}
.masthead[data-scrolled="true"] { border-bottom-color: var(--line); }

.masthead__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(.85rem, .6rem + .8vw, 1.15rem);
  padding-block: clamp(1rem, .7rem + 1.2vw, 1.6rem);
}

.logo { display: inline-block; line-height: 0; }
.logo img {
  width: clamp(168px, 12rem + 6vw, 268px);
  height: auto;
  transition: width .25s var(--ease);
}
.masthead[data-scrolled="true"] .logo img { width: clamp(140px, 9rem + 4vw, 196px); }

/* pill navigation, directly under the logo */
.nav { }
.nav__list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .4rem;
  margin: 0; padding: 0; list-style: none;
}
.nav__link {
  display: inline-block;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .005em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav__link:hover { background: var(--paper-3); color: var(--ink); }
.nav__link[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}
.nav__link[aria-current="page"]:hover { color: var(--paper); }

/* all four have to sit on one line on a phone, or the masthead grows a row
   and pushes the first thing on every page below the fold */
@media (max-width: 480px) {
  .nav__list { gap: .2rem; }
  .nav__link { padding: .45rem .7rem; font-size: .875rem; }
}

/* ---- page head --------------------------------------------------------- */
.pagehead { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.pagehead__title {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem);
  letter-spacing: -.025em;
}
.pagehead__lede {
  margin-top: 1rem;
  max-width: var(--maxw-text);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  color: var(--ink-2);
}
.pagehead--center { text-align: center; }
.pagehead--center .pagehead__lede { margin-inline: auto; }

.eyebrow {
  display: block;
  margin-bottom: .9rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.05rem); letter-spacing: -.02em; }
.h3 { font-size: clamp(1.15rem, 1.02rem + .55vw, 1.4rem); letter-spacing: -.015em; }

.rule { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }

/* ---- hero -------------------------------------------------------------- */
.hero { position: relative; }
.hero__figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--shadow-2);
}
.hero__figure img { width: 100%; }
.hero__glow {
  position: absolute; inset: -10% -6% auto; height: 70%;
  z-index: -1;
  background: radial-gradient(60% 100% at 50% 40%, rgba(184, 80, 29, .16), transparent 70%);
  inset-inline: 0;
  filter: blur(40px);
  pointer-events: none;
}

/* ---- quote wall -------------------------------------------------------- */
.quotewall {
  columns: 3 260px;
  column-gap: clamp(1rem, .6rem + 1.4vw, 1.75rem);
}
.quote {
  break-inside: avoid;
  margin: 0 0 clamp(1rem, .6rem + 1.4vw, 1.75rem);
  padding: 1.35rem 1.4rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
}
.quote__text {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
}
.quote__who {
  display: block;
  margin-top: .75rem;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-style: normal;
}

/* ---- prize / support panels -------------------------------------------- */
.panels {
  display: grid;
  gap: clamp(1rem, .6rem + 1.6vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 40%, 380px), 1fr));
}
.panel {
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
}
.panel--accent { background: var(--accent-bg); border-color: color-mix(in srgb, var(--accent) 20%, var(--line)); }
.panel__title {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.panel__quote { font-family: var(--serif); font-size: 1.125rem; line-height: 1.5; }
.support-list { margin: 0; padding: 0; list-style: none; }
.support-list li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.support-list li:last-child { border-bottom: 0; }

/* ---- card grid (secondary navigation) ---------------------------------- */
.cards {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  margin: 0; padding: 0; list-style: none;
}
.card {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1rem 1.15rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-2);
  color: var(--ink);
}
.card__arrow { color: var(--ink-3); transition: transform .18s var(--ease), color .18s var(--ease); }
.card:hover .card__arrow { transform: translateX(3px); color: var(--accent); }
.card--locked { background: var(--paper-3); }
.card--locked .card__arrow::before { content: "\1F512"; }
.card--locked .card__arrow { font-size: .8rem; filter: grayscale(1); opacity: .5; }
.card--locked:hover .card__arrow { transform: none; opacity: .75; }

/* ---- show (föreställning) ---------------------------------------------- */
.show {
  display: grid;
  gap: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  grid-template-columns: 1fr;
  align-items: start;
  padding-block: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}
.show + .show { border-top: 1px solid var(--line); }
@media (min-width: 800px) {
  .show--media { grid-template-columns: minmax(0, 1fr) clamp(220px, 26%, 320px); }
  .show--media .show__figure { position: sticky; top: 12rem; }
}
.show__figure { margin: 0; }
.show__figure img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
}
.show__title { margin-bottom: .85rem; }
.show__meta {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  color: var(--ink-2);
}
.show__meta dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0; }
.show__meta dt { font-weight: 600; color: var(--ink-3); }
.show__meta dd { margin: 0; }

.pill-link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: .9375rem; font-weight: 600;
  text-decoration: none;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.pill-link:hover { background: var(--accent); color: var(--paper); transform: translateY(-1px); }
.pill-link--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.pill-link--ghost:hover { background: var(--paper-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---- embeds ------------------------------------------------------------ */
.embed {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
.embed--video { aspect-ratio: 16 / 9; }
.embed--audio { height: 218px; border: 0; background: transparent; } /* audio.com's own player carries its frame */
.embed--social { height: 560px; }
.embed > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- gallery ----------------------------------------------------------- */
.gallery {
  columns: 3 280px;
  column-gap: clamp(.75rem, .45rem + 1.2vw, 1.25rem);
}
.gallery__item {
  break-inside: avoid;
  margin: 0 0 clamp(.75rem, .45rem + 1.2vw, 1.25rem);
  padding: 0; border: 0; background: none;
  display: block; width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.gallery__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.gallery__item img { width: 100%; background: var(--paper-3); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  /* a <dialog> is sized to its content by the user agent, and its max-width
     and max-height would keep the overlay off the edges of the screen */
  width: 100%; height: 100%; max-width: none; max-height: none;
  display: grid; place-items: center;
  padding: clamp(1rem, .5rem + 2vw, 3rem);
  background: rgba(23, 20, 15, .94);
  border: 0;
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgba(23, 20, 15, .94); }
.lightbox img {
  max-width: 100%; max-height: 82vh;
  border-radius: var(--r);
  box-shadow: var(--shadow-3);
}
.lightbox__close, .lightbox__step {
  position: absolute;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 999px;
  background: rgba(251, 249, 245, .12);
  color: #fff; font-size: 1.25rem; line-height: 1;
  cursor: pointer;
  transition: background-color .18s var(--ease);
}
.lightbox__close:hover, .lightbox__step:hover { background: rgba(251, 249, 245, .26); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__step--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__step--next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .7);
  font-size: .8125rem; font-variant-numeric: tabular-nums; letter-spacing: .06em;
}

/* ---- press ------------------------------------------------------------- */
.review { max-width: var(--maxw-text); }
.review + .review { margin-top: clamp(2rem, 1.4rem + 2.4vw, 3rem); padding-top: clamp(2rem, 1.4rem + 2.4vw, 3rem); border-top: 1px solid var(--line); }
.review__source {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .9rem;
}
.review__quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.05rem + .5vw, 1.3125rem);
  line-height: 1.55;
}
.review__by { display: block; margin-top: .9rem; font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--ink-3); font-style: normal; }

.linklist { margin: 0; padding: 0; list-style: none; }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .9rem 0;
  color: var(--ink); text-decoration: none;
  transition: color .18s var(--ease);
}
.linklist a:hover { color: var(--accent); }
.linklist .linklist__date { flex: none; font-size: .875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---- kommande konserter ------------------------------------------------ */
.gigs__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.gigs__list:not(:has(.gig)) { display: none; }
.gig {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; align-items: center;
  gap: clamp(.9rem, .6rem + 1.2vw, 1.5rem);
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.gig__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1; border-radius: var(--r-sm);
  background: var(--accent-bg); color: var(--accent-ink);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.gig__day { font-size: 1.25rem; font-weight: 700; }
.gig__month { margin-top: .2rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.gig__title { margin: 0; font-weight: 600; color: var(--ink); }
.gig__title a { color: inherit; }
.gig__title a:hover { color: var(--accent); }
.gig__where { margin: .15rem 0 0; font-size: .9375rem; color: var(--ink-2); }
.gig__when { margin: 0; font-size: .875rem; color: var(--ink-3); text-align: right; }
@media (max-width: 560px) {
  .gig { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .gig__when { grid-column: 2; text-align: left; margin-top: -.6rem; }
}
.gigs__empty {
  margin: 0; padding: 1.5rem;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink-2);
}
.gigs__empty[hidden] { display: none; }

/* ---- contact ----------------------------------------------------------- */
.contacts {
  display: grid; gap: clamp(.85rem, .5rem + 1.4vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.contact {
  padding: 1.5rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
}
.contact__name { font-size: 1.0625rem; margin-bottom: .85rem; }
.contact__row { display: block; font-size: .9375rem; color: var(--ink-2); text-decoration: none; word-break: break-word; }
.contact__row + .contact__row { margin-top: .3rem; }
a.contact__row:hover { color: var(--accent); }

/* ---- files ------------------------------------------------------------- */
.files { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.file {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1.1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.file:hover { border-color: var(--line-2); background: var(--paper-3); color: var(--ink); }
.file__tag {
  flex: none;
  font-size: .6875rem; font-weight: 700; letter-spacing: .1em;
  padding: .2rem .45rem; border-radius: 4px;
  background: var(--accent-bg); color: var(--accent-ink);
}
.file__name { font-weight: 600; font-size: .9375rem; }
.file__size { margin-left: auto; font-size: .8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---- track (song with audio + sheet music) ----------------------------- */
.track { padding-block: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.track + .track { border-top: 1px solid var(--line); }
.track__title { margin-bottom: 1rem; }
.track__note { margin-top: .75rem; font-size: .875rem; color: var(--ink-3); }
.track__sub { margin-top: 1.25rem; }
.track__subtitle {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem;
}

/* ---- listening cards (workshop music examples) ------------------------- */
.listens { display: grid; gap: clamp(.85rem, .5rem + 1.2vw, 1.25rem); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 0; padding: 0; list-style: none; }
.listen {
  display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-1);
}
.listen__cover { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--paper-3); }
.listen__body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.listen__work { font-weight: 700; line-height: 1.3; }
.listen__composer { font-size: .9375rem; color: var(--ink-3); }
.listen__links { display: flex; gap: .5rem; margin-top: .85rem; }
.listen__link {
  font-size: .8125rem; font-weight: 600; text-decoration: none;
  padding: .35rem .75rem; border-radius: 999px;
  background: var(--paper-3); color: var(--ink-2);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.listen__link:hover { background: var(--accent-bg); color: var(--accent-ink); }

/* ---- password gate ----------------------------------------------------- */
.gate { display: grid; place-items: center; min-height: 62vh; padding-block: 3rem; }
.gate__box {
  width: 100%; max-width: 420px;
  padding: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  text-align: center;
}
.gate__icon { font-size: 1.6rem; line-height: 1; margin-bottom: 1rem; }
.gate__title { font-size: 1.25rem; margin-bottom: .5rem; }
.gate__hint { font-size: .9375rem; color: var(--ink-2); margin-bottom: 1.5rem; }
.gate__form { display: flex; flex-direction: column; gap: .65rem; }
.gate__input {
  width: 100%; padding: .8rem 1rem;
  font: inherit; font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  text-align: center;
}
.gate__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.gate__submit {
  padding: .8rem 1rem;
  border: 0; border-radius: var(--r-sm);
  background: var(--ink); color: var(--paper);
  font-weight: 600; cursor: pointer;
  transition: background-color .18s var(--ease);
}
.gate__submit:hover { background: var(--accent); }
.gate__error { min-height: 1.4em; font-size: .875rem; color: var(--accent); }
[data-gated] { display: none; }
[data-gated][data-unlocked="true"] { display: block; }
[data-gated] > * { max-width: 820px; margin-inline: auto; }
[data-gated] .files,
[data-gated] .listens { max-width: 820px; margin-inline: auto; }

/* ---- footer ------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--paper-3);
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  margin-top: clamp(3rem, 2rem + 4vw, 5rem);
}
.footer__grid {
  display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer__title {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .85rem;
}
.footer__list { margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.footer__list li + li { margin-top: .35rem; }
.footer__list a { color: var(--ink-2); text-decoration: none; }
.footer__list a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .8125rem; color: var(--ink-3);
}
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--accent); }

/* =========================================================================
   The reel – the Videor page.
   Horizontal band of slides, one centred at a time, the neighbours pulled
   back in scale and opacity, a caption that belongs to whichever slide is
   centred. Native scroll does the moving, so touch, trackpad, keyboard and
   no-JS all work; the script only reads the scroll position and writes a
   0..1 distance onto each slide for the CSS to spend.
   ========================================================================= */
.reel { position: relative; padding-block: 0 clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); }

.reel__glow {
  position: absolute; left: 50%; top: 46%;
  width: min(1100px, 96vw); aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, var(--reel-tint, rgba(184, 80, 29, .22)), transparent 72%);
  filter: blur(56px);
  opacity: .9;
  transition: background .5s var(--ease);
}

.reel__viewport {
  position: relative; z-index: 1;
  display: flex;
  gap: var(--reel-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: clamp(.75rem, .5rem + 1.2vw, 1.5rem);
  cursor: grab;
}
.reel__viewport::-webkit-scrollbar { display: none; }
.reel__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }

/* spacers let the first and last slide reach the centre; the gap sits
   between spacer and slide, so it has to come out of the spacer's width */
.reel__spacer { flex: 0 0 calc(50% - (var(--slide-w) / 2) - var(--reel-gap)); }

.reel__slide {
  flex: 0 0 var(--slide-w);
  scroll-snap-align: center;
  scroll-margin-top: 0;
  --d: 1; /* 0 = centred, 1 = fully off to the side */
}

.reel__card {
  position: relative;
  display: block; width: 100%;
  padding: 0; border: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-3);
  cursor: pointer;
  transform: scale(calc(1 - (.14 * var(--d))));
  opacity: calc(1 - (.5 * var(--d)));
  box-shadow: var(--shadow-2);
  transition: transform .12s linear, opacity .12s linear, box-shadow .3s var(--ease);
  will-change: transform, opacity;
}
.reel__slide[data-active="true"] .reel__card { box-shadow: var(--shadow-3); }
.reel__card img { width: 100%; height: 100%; object-fit: cover; }
.reel__card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.reel__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(to top, rgba(23, 20, 15, .38), rgba(23, 20, 15, 0) 55%);
  border: 0; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.reel__play::after {
  content: "";
  width: clamp(52px, 4vw, 72px); aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(251, 249, 245, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2317140f'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / 42% no-repeat;
  box-shadow: 0 6px 24px rgba(23, 20, 15, .3);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.reel__card:hover .reel__play::after { transform: scale(1.07); background-color: #fff; }

.reel__caption {
  position: relative; z-index: 1;
  max-width: 62ch; margin-inline: auto;
  text-align: center;
  padding-top: clamp(1rem, .8rem + 1vw, 1.5rem);
  min-height: 6.5rem;
}
.reel__caption-inner { transition: opacity .22s var(--ease), transform .22s var(--ease); }
.reel__caption[data-swapping="true"] .reel__caption-inner { opacity: 0; transform: translateY(6px); }
.reel__kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .6rem;
}
.reel__title { font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.85rem); margin-bottom: .55rem; }
.reel__desc { color: var(--ink-2); font-size: 1rem; }

.reel__controls {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding-top: clamp(1rem, .8rem + 1vw, 1.5rem);
}
.reel__btn {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--paper-2); color: var(--ink);
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.reel__btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.reel__btn:disabled { opacity: .3; cursor: default; }
.reel__count { font-size: .875rem; font-variant-numeric: tabular-nums; letter-spacing: .1em; color: var(--ink-3); min-width: 5ch; text-align: center; }

.reel__dots { display: flex; justify-content: center; gap: .45rem; }
.reel__dot {
  width: 7px; height: 7px; padding: 0;
  border: 0; border-radius: 999px;
  background: var(--line-2); cursor: pointer;
  transition: background-color .2s var(--ease), width .2s var(--ease);
}
.reel__dot[aria-current="true"] { background: var(--accent); width: 22px; }

/* The reel is sized to fit a screen. Whatever height is left once the
   masthead, the intro, the caption and the controls have taken theirs is
   what the card gets, and the slide width follows from 16:9. */
.reel {
  --reel-gap: clamp(1rem, .5rem + 2vw, 2.5rem);
  --reel-h: clamp(200px, calc(100svh - 27rem), 470px);
  --slide-w: min(880px, 80vw, calc(var(--reel-h) * 16 / 9));
}
@media (max-width: 720px) {
  .reel { --reel-h: clamp(180px, calc(100svh - 26rem), 320px); --slide-w: min(86vw, calc(var(--reel-h) * 16 / 9)); }
}

/* ---- motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reel__viewport { scroll-snap-type: none; }
  .reel__card { transform: none; opacity: 1; }
}

/* ---- print ------------------------------------------------------------- */
@media print {
  .masthead, .footer, .reel__controls, .reel__dots, .lightbox { display: none; }
  body { background: #fff; }
}
