@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #131719;
  --linen: #f4efe6;
  --navy: #1b3148;
  --spruce: #e1b46e;
  --rosewood: #2f211a;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Newsreader", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(64px, 11vw, 160px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
ol {
  margin: 0;
  padding: 0;
}
ol {
  list-style: none;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skip {
  position: absolute;
  left: -999px;
  z-index: 10;
  background: var(--ink);
  color: var(--linen);
  padding: 0.5em 1em;
}
.skip:focus {
  left: 0;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  padding: var(--gutter);
  background: var(--ink);
  color: var(--linen);
  overflow: hidden;
  isolation: isolate;
}
.hero a:focus-visible,
.hero button:focus-visible {
  outline-color: var(--linen);
}
.hero__photos {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__photos .slide picture {
  display: contents;
}
.hero__photos .slide img {
  object-position: 50% 40%;
}
/* Scrims hang off the type itself, so they follow it at every viewport size. */
.hero__nav::before,
.hero__type::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hero__nav::before {
  inset: calc(-1 * var(--gutter)) calc(-1 * var(--gutter)) -9rem;
  background: linear-gradient(
    to bottom,
    rgb(19 23 25 / 0.6),
    rgb(19 23 25 / 0.52) calc(100% - 9rem),
    rgb(19 23 25 / 0.3) calc(100% - 5.5rem),
    rgb(19 23 25 / 0.1) calc(100% - 2.5rem),
    rgb(19 23 25 / 0)
  );
}
.hero__type::before {
  inset: -7rem calc(-1 * var(--gutter)) calc(-1 * var(--gutter));
  background: linear-gradient(
    to bottom,
    rgb(19 23 25 / 0),
    rgb(19 23 25 / 0.1) 2rem,
    rgb(19 23 25 / 0.3) 4.5rem,
    rgb(19 23 25 / 0.58) 7rem,
    rgb(19 23 25 / 0.8)
  );
}
.hero__nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em 1.5em;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
}
.hero__nav a {
  text-decoration: none;
}
.hero__nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.hero__type {
  position: relative;
  margin-top: auto;
}
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: min(15vw, 22svh);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0 0 0.14em -0.04em;
  white-space: nowrap;
}
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1em 4em;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
}
.hero__foot a {
  text-decoration: none;
}
.hero__foot a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.hero__foot em {
  font-family: var(--text);
  font-size: 1.35em;
  font-weight: 500;
}
.hero__foot .slides__controls {
  margin: 0 0 0 auto;
  font-size: 0.95rem;
}
.hero__foot .slides__controls button {
  padding: 0;
  min-height: 24px;
}

/* Portrait: a full-height crop would cut one of the two people out of frame,
   so the photo fills the width and fades into the ink behind the type. */
@media (max-aspect-ratio: 1/1) {
  .hero {
    min-height: 0;
  }
  .hero__type {
    margin-top: calc(118vw - 9rem);
  }
  .hero__title {
    font-size: 20vw;
  }
  .hero__photos {
    bottom: auto;
    height: 118vw;
  }
  .hero__photos .slide img {
    object-position: 46% 0;
  }
  .hero__photos::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--ink), rgb(19 23 25 / 0) 34%);
  }
}

/* Intro */
.intro {
  padding: var(--section) var(--gutter);
}
.intro > * {
  max-width: 70%;
}
.lede {
  font-size: clamp(1.75rem, 3.3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 500;
  font-style: italic;
}
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.is-active {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slides__controls[hidden] {
  display: none;
}
.slides__controls button {
  appearance: none;
  background: none;
  border: 0;
  padding: 8px 0;
  min-width: 44px;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Album */
.album {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: var(--section) var(--gutter);
  background: var(--ink);
  color: var(--linen);
}
.album__cover {
  grid-column: 1 / span 5;
}
.album__cover img {
  width: 100%;
  height: auto;
}
.album__text {
  grid-column: 6 / -1;
}
.album h2 {
  font-size: clamp(3rem, 10vw, 8rem);
  margin: 0.1em 0 0.15em -0.03em;
}
.album__date {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 2.25rem);
  margin-bottom: 1.25em;
}
.player {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin-bottom: 1.5em;
  font-family: var(--display);
}
.player[hidden] {
  display: none;
}
.player__toggle {
  flex: none;
  width: 56px;
  height: 56px;
  padding: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--ink);
  cursor: pointer;
}
.player__toggle:hover {
  background: var(--linen);
}
.player__toggle:focus-visible,
.player__seek:focus-visible {
  outline-color: var(--linen);
}
.player__toggle svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.player__pause,
.player.is-playing .player__play {
  display: none;
}
.player.is-playing .player__pause {
  display: inline;
}
.player__body {
  flex: 1;
  min-width: 0;
}
.player__label,
.player__time {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
}
.player__time {
  font-variant-numeric: tabular-nums;
}
.player__seek {
  --progress: 0%;
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
}
.player__seek::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(
    to right,
    var(--spruce) var(--progress),
    rgb(239 233 223 / 0.55) var(--progress)
  );
}
.player__seek::-moz-range-track {
  height: 4px;
  background: linear-gradient(
    to right,
    var(--spruce) var(--progress),
    rgb(239 233 223 / 0.55) var(--progress)
  );
}
.player__seek::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--spruce);
}
.player__seek::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--spruce);
}
.cover-placeholder {
  position: relative;
  aspect-ratio: 1;
  background: var(--linen);
  color: var(--ink);
  display: grid;
  place-items: center;
  padding: 8%;
}
.cover-placeholder svg {
  width: 100%;
  height: auto;
}
.cover-placeholder span {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
}
.button {
  display: inline-block;
  padding: 0.7em 1.1em;
  background: var(--spruce);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}
.button:hover {
  background: var(--linen);
}

/* Concerts */
.concerts {
  padding: var(--section) var(--gutter);
  background: var(--spruce);
}
.dates {
  margin-top: clamp(32px, 5vw, 64px);
  border-top: 4px solid var(--ink);
}
.date {
  display: grid;
  grid-template-columns: clamp(96px, 18vw, 260px) 1fr auto;
  gap: 16px;
  align-items: center;
  padding: clamp(16px, 2.4vw, 32px) 0;
  border-bottom: 4px solid var(--ink);
}
.date__day {
  display: flex;
  align-items: baseline;
  gap: 0.15em;
  font-family: var(--display);
  line-height: 1;
}
.date__day span {
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.75rem);
}
.date__day strong {
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 6rem);
  letter-spacing: -0.04em;
}
.date h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.date__link {
  font-family: var(--display);
  font-weight: 600;
}

/* The Duo */
.duo {
  padding: var(--section) var(--gutter);
}
.duo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 72px) 24px;
  margin-top: clamp(32px, 5vw, 64px);
}
.member img,
.member__placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 0.5rem;
  filter: grayscale(80%) brightness(120%);
  transition: transform 400ms cubic-bezier(0.68, -0.6, 0.32, 1.6),
    filter 300ms ease-in-out;

  &:hover {
    filter: grayscale(0%) brightness(110%);
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
    transform: rotate(2.5deg);
  }
}

.member h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0.1em 0 0.4em;
}
.tbd {
  font-style: italic;
}

/* section blocks */
.block p:not([class]) {
  margin: 1em 0 2em;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.2;
}

/* Newsletter */
.news {
  padding: var(--section) var(--gutter);
  background: var(--navy);
  color: var(--linen);
}
.signup {
  max-width: 720px;
}
.signup label {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}
.signup__row {
  display: flex;
  gap: 8px;
}
.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.7em 0.8em;
  border: 0;
  border-radius: 0;
  background: var(--linen);
  color: var(--ink);
  font: inherit;
  border-radius: 0.5rem;
}
.signup input::placeholder {
  color: #5b564b;
}
.signup button {
  appearance: none;
  padding: 0.7em 1.1em;
  border: 0;
  border-radius: 0;
  background: var(--spruce);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 0.5rem;
}
.signup button:hover {
  background: var(--linen);
}
.news a:focus-visible,
.news input:focus-visible,
.news button:focus-visible {
  outline-color: var(--spruce);
}

/* Booking */
.footer {
  padding: var(--section) var(--gutter) var(--gutter);
  background: var(--rosewood);
  color: var(--linen);
}
.album a:focus-visible,
.footer a:focus-visible {
  outline-color: var(--linen);
}
.footer__mail {
  display: block;
  margin-top: 0.5em;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 5.4vw, 4.5rem);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5em 2em;
  margin-top: clamp(48px, 8vw, 112px);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
}

@media (max-width: 760px) {
  .album__cover,
  .album__text {
    grid-column: 1 / -1;
  }
  .duo__grid {
    grid-template-columns: 1fr;
  }
  .date {
    grid-template-columns: 96px 1fr;
  }
  .date__link {
    grid-column: 2;
  }
  .signup__row {
    flex-direction: column;
  }
}
