/* wrenellis.art, rebuilt from the Wix original.
   Type: Work Sans ExtraLight for reading, Jost for the wordmark and controls. */

:root {
  --paper: #ffffff;
  --ink: #000000;
  --ink-soft: rgba(0, 0, 0, 0.62);
  --rule: rgba(0, 0, 0, 0.16);
  --column: 980px;
  --gutter: 5vw;

  --display: "Jost", "Century Gothic", sans-serif;
  --body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  /* Windows renders very thin stems with colour fringing, so the light end of
     the scale stops at 300. Nudge these two if the page reads too heavy. */
  --weight-body: 300;
  --weight-display: 300;
  --weight-label: 400;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: var(--weight-body);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 10;
  font-family: var(--display);
}
.skip-link:focus { left: 0; }

/* ---------- Masthead ---------- */

.masthead {
  padding: 46px var(--gutter) 30px;
  text-align: center;
}

.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: var(--weight-display);
  font-size: clamp(30px, 6.2vw, 58px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* the tracking adds a trailing gap; pull it back so the word stays optically centred */
  text-indent: 0.2em;
  line-height: 1.2;
}

.eyebrow {
  margin: 10px 0 0;
  font-family: var(--display);
  font-weight: var(--weight-label);
  font-size: clamp(10px, 1.5vw, 13px);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
}

/* ---------- Full-bleed bands ---------- */

.band {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.band__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band--hero {
  height: clamp(420px, 88vh, 1025px);
}

.band--gallery {
  height: clamp(520px, 82vh, 980px);
  display: grid;
  place-items: center;
}
.band--gallery .band__video {
  position: absolute;
  inset: 0;
}

.contact {
  padding: clamp(56px, 8vw, 100px) var(--gutter) clamp(64px, 9vw, 120px);
  display: grid;
  justify-items: center;
  gap: 30px;
}


/* ---------- Centred reading column ---------- */

.column {
  width: min(var(--column), 100% - (var(--gutter) * 2));
  margin-inline: auto;
  padding-block: clamp(56px, 8vw, 104px);
}

.lede {
  max-width: 636px;
  margin: 0 auto 1.4em;
  text-align: center;
  font-size: clamp(16px, 2vw, 18px);
}

.laurels {
  margin: clamp(38px, 5vw, 62px) auto 0;
  width: min(906px, 100%);
}
.laurels--wide { margin-top: clamp(34px, 4.5vw, 56px); width: min(913px, 100%); }

.video-embed {
  margin-top: clamp(40px, 6vw, 76px);
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.caption {
  margin: 26px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.caption__title {
  display: block;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0.08em;
}
.caption__note { font-size: 14px; }

/* ---------- Text notes between the stills ---------- */

.note { text-align: center; }

.note__title {
  margin: 0 0 0.7em;
  font-weight: var(--weight-display);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.note p {
  max-width: 594px;
  margin: 0 auto 1.2em;
}
.note p:last-child { margin-bottom: 0; }

.note--logo {
  display: grid;
  grid-template-columns: minmax(0, 276px) minmax(0, 594px);
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  text-align: left;
}
.note--logo .note__body p { margin-inline: 0; }

.note__logo { width: 100%; max-width: 276px; justify-self: center; }
.note__logo--small { max-width: 124px; }

/* ---------- Gallery plaque ---------- */

.plaque {
  position: relative;
  width: min(744px, 100% - (var(--gutter) * 2));
  padding: clamp(30px, 5vw, 56px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--ink);
  text-align: center;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(2px);
}

.plaque__title {
  margin: 0;
  font-weight: var(--weight-display);
  font-size: clamp(26px, 5vw, 50px);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  line-height: 1.15;
}

.plaque__sub {
  margin: 14px 0 0;
  font-size: clamp(15px, 2.2vw, 25px);
}

.plaque__meta {
  margin: clamp(22px, 3.5vw, 40px) auto 0;
  width: fit-content;
  text-align: left;
}
.plaque__meta p { margin: 0; }

.plaque__show {
  font-size: clamp(19px, 2.8vw, 31px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
}
.plaque__place {
  font-size: clamp(15px, 2.2vw, 25px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}
.plaque__year {
  font-size: clamp(14px, 1.8vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- The three pieces ---------- */

.pieces {
  display: grid;
  gap: clamp(72px, 10vw, 132px);
}

.piece {
  display: grid;
  grid-template-columns: minmax(0, 495px) minmax(0, 349px);
  gap: clamp(28px, 6vw, 86px);
  align-items: stretch;
}

.piece__video {
  width: 100%;
  aspect-ratio: 495 / 924;
  object-fit: cover;
  display: block;
  background: #111;
}

.piece__text {
  display: flex;
  flex-direction: column;
}

.piece__title {
  margin: 0;
  font-weight: var(--weight-display);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.piece__credit {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* the original hangs the description near the foot of the video */
.piece__desc {
  margin: auto 0 0;
  padding-top: clamp(28px, 5vw, 60px);
  font-size: clamp(15px, 1.9vw, 17px);
}

/* ---------- Film-still bands ---------- */

.still {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.still--375 { height: clamp(190px, 26vw, 375px); }
.still--385 { height: clamp(195px, 27vw, 385px); }
.still--412 { height: clamp(205px, 29vw, 412px); }

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

.contact__intro {
  margin: 0;
  width: min(430px, 100%);
  text-align: center;
  font-size: clamp(15px, 2vw, 17px);
}

.contact__title {
  margin: 0;
  font-weight: var(--weight-display);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.contact__email {
  margin: 0;
  font-size: clamp(19px, 2.8vw, 30px);
  letter-spacing: 0.04em;
}
.contact__email a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: border-color 0.18s ease;
}
.contact__email a:hover { border-bottom-color: var(--ink); }

/* One button treatment: outlined, fills in on hover. */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: var(--weight-label);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 300px;
  padding: 11px 30px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }

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

.footer {
  padding: clamp(44px, 6vw, 72px) var(--gutter);
  text-align: center;
}

.social {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.social a { display: block; opacity: 0.85; transition: opacity 0.18s ease; }
.social a:hover { opacity: 1; }
.social img { width: 32px; height: 32px; }

.footer__link { margin: 0; font-size: 15px; }
.footer__link a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}
.footer__link a:hover { border-bottom-color: var(--ink); }

/* ---------- Narrow screens ---------- */

@media (max-width: 760px) {
  .piece {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .piece__video { aspect-ratio: 4 / 5; }
  .piece__desc { margin-top: 0; padding-top: 14px; }

  .note--logo {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .note--logo .note__body p { margin-inline: auto; }
  .note__logo { max-width: 176px; }
  .note__logo--small { max-width: 92px; }


  .plaque__meta { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Lightbox ---------- */

.note__action { margin-top: clamp(22px, 3vw, 34px); }


.lightbox {
  width: min(1040px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.82); }

.lightbox__inner {
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: clamp(30px, 5vw, 60px);
  overscroll-behavior: contain;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 1;
  width: 40px;
  height: 40px;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.lightbox__close:hover { background: var(--ink); color: var(--paper); }

.lightbox__head {
  max-width: 620px;
  margin: 0 auto clamp(28px, 4vw, 46px);
  text-align: center;
}

.lightbox__title {
  margin: 0 0 0.6em;
  font-weight: var(--weight-display);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.lightbox__desc {
  margin: 0;
  font-size: clamp(15px, 1.9vw, 17px);
}

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.4vw, 16px);
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f2f2f2;
}

@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.inline-link {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.18s ease;
}
.inline-link:hover { border-bottom-color: var(--ink); }

.lightbox__action { margin: clamp(22px, 3vw, 30px) 0 0; }
