@font-face {
  font-family: "Instrument Serif";
  src: url("/asset.php?path=fonts%2Finstrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/asset.php?path=fonts%2Finstrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #0a0a0a;
  --muted: #737373;
  --line: #cfcfcf;
  --soft: #f3f3f3;
  --serif: "Instrument Serif", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

a {
  color: inherit;
}

button,
input {
  border-radius: 0;
  font: inherit;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Campaign */

.campaign-page {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
}

.campaign {
  min-height: 100svh;
  letter-spacing: 0.005em;
}

.campaign-grid {
  display: grid;
  grid-template-columns: minmax(270px, 370px) minmax(500px, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(48px, 6vw, 100px);
  width: min(100%, 1800px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(34px, 4vw, 68px);
}

.campaign h1,
.campaign h2,
.campaign p {
  font-weight: 400;
}

.campaign h1 {
  max-width: 10ch;
  margin: 0 0 14px;
  font-size: clamp(3.8rem, 5.8vw, 6.8rem);
  line-height: 0.82;
  letter-spacing: -0.035em;
}

.campaign-intro,
.campaign-signup,
.campaign-video {
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  line-height: 1.25;
}

.campaign-intro {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  align-self: start;
}

.campaign-intro::before {
  display: block;
  width: 28px;
  height: 1px;
  margin-bottom: clamp(28px, 4vw, 60px);
  background: var(--ink);
  content: "";
}

.campaign-intro p {
  margin: 0;
}

.campaign-eyebrow {
  margin-bottom: 17px !important;
  color: var(--muted);
  font-size: 0.82em;
  letter-spacing: 0.045em;
}

.release-credit {
  max-width: 31ch;
  color: var(--muted);
}

.release-credit__mobile-line {
  display: inline;
  white-space: nowrap;
}

.release-date {
  margin-top: 10px !important;
  color: var(--ink);
  font-size: 0.9em;
}

.release-artwork {
  width: min(172px, 54%);
  margin: clamp(24px, 3vw, 38px) 0 0;
}

.release-artwork img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.listen-links {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  gap: 8px 24px;
}

.campaign-listen {
  margin-top: clamp(26px, 3vw, 44px);
}

.listen-links a,
.campaign-footer a,
.weather-credit,
.legal-shell a {
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.42em;
}

.listen-links a {
  text-decoration-line: underline;
}

.listen-links a:hover,
.listen-links a:focus-visible,
.campaign-footer a:hover,
.campaign-footer a:focus-visible,
.legal-shell a:hover,
.legal-shell a:focus-visible {
  color: var(--muted);
}

.campaign-visuals {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 3;
  min-height: calc(100svh - clamp(68px, 8vw, 136px));
}

.campaign-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}

.campaign-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: filter 280ms ease;
}

.campaign-photo:hover img {
  filter: saturate(1) contrast(1);
}

.campaign-photo--artist {
  top: 0;
  left: 0;
  width: min(63%, 690px);
  aspect-ratio: 1;
}

.campaign-photo--studio {
  top: 8%;
  right: 0;
  width: 31%;
  height: 52%;
}

.campaign-photo--shoes {
  right: 16%;
  bottom: 0;
  width: 29%;
  height: 39%;
}

.campaign-signup h2,
.campaign-video h2 {
  margin: 0 0 1em;
  font: inherit;
}

.campaign-signup h2 {
  font-size: clamp(1.2rem, 1.4vw, 1.55rem);
  letter-spacing: 0;
}

.campaign-video {
  grid-column: 2;
  grid-row: 1 / span 3;
  z-index: 3;
  align-self: center;
  width: min(100%, 520px);
  padding: 20px;
  background: var(--paper);
}

.video-poster,
.campaign-video iframe {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ink);
}

.video-poster {
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: var(--soft);
  background-image: var(--poster);
  background-position: center;
  background-size: cover;
  color: var(--ink);
}

.video-poster span {
  padding: 5px;
  background: var(--paper);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.campaign-signup {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  width: 100%;
  padding-bottom: clamp(48px, 8vh, 100px);
}

.signup-form {
  width: 100%;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.email-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  border-bottom: 1px solid var(--ink);
}

.email-field input,
.email-field button {
  min-width: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.email-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.email-field button {
  cursor: pointer;
}

.email-field button:hover,
.email-field button:focus-visible {
  color: var(--muted);
}

.email-field button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.form-status {
  min-height: 1.2em;
  margin: 0.55em 0 0 !important;
  color: var(--muted);
  font-size: 0.74em;
}

.campaign-footer {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  justify-self: start;
  font-size: clamp(0.86rem, 0.9vw, 0.98rem);
  line-height: 1.35;
}

.campaign-footer nav,
.campaign-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
}

.campaign-footer__meta {
  align-items: baseline;
  margin-top: 14px;
  color: var(--muted);
}

.weather-widget {
  position: fixed;
  z-index: 5;
  right: clamp(34px, 4vw, 68px);
  bottom: clamp(34px, 4vw, 68px);
  width: min(230px, calc(100vw - 48px));
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.84rem;
  line-height: 1.3;
  text-align: right;
}

.weather-widget p {
  margin: 0;
}

.weather-label,
.weather-credit {
  color: var(--muted);
}

.weather-reading {
  margin-top: 7px;
}

.weather-reading strong {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.weather-status {
  min-height: 1.45em;
  margin-top: 7px !important;
}

.weather-credit {
  display: inline-block;
  margin-top: 7px;
  font-size: 0.7rem;
}

/* Shared image field */

.atmosphere {
  position: fixed;
  z-index: 0;
  inset: 0 0 0 54%;
  overflow: hidden;
  background: var(--soft);
  pointer-events: none;
}

.atmosphere__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(0.92);
  opacity: 0.72;
}

.atmosphere::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper), transparent 32%);
  content: "";
}

/* Privacy and 404 */

.legal-page {
  position: relative;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  isolation: isolate;
  letter-spacing: 0.005em;
}

.legal-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 36px), 900px);
  min-height: 100svh;
  margin: 0 0 0 clamp(18px, 6vw, 92px);
  padding: clamp(40px, 6vw, 92px) 0 100px;
}

.legal-brand {
  display: inline-block;
  margin-bottom: clamp(52px, 7vw, 90px);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.legal-shell h1,
.admin-shell h1 {
  margin: 0;
  font-weight: 400;
}

.legal-shell h1 {
  max-width: 10ch;
  font-size: clamp(3.8rem, 6vw, 7rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
}

.legal-lead {
  max-width: 48ch;
  margin: 28px 0 clamp(64px, 9vw, 110px);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.4;
}

.legal-shell section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(20px, 4vw, 50px);
  max-width: 760px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.legal-shell h2 {
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  font-weight: 400;
}

.legal-shell section p {
  max-width: 65ch;
  margin: 0 0 16px;
  font-size: clamp(0.92rem, 1.02vw, 1.08rem);
  line-height: 1.5;
}

.legal-updated {
  margin: 50px 0 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.text-link {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

/* Admin */

.admin-page {
  position: relative;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  isolation: isolate;
  letter-spacing: 0.005em;
}

.admin-page .atmosphere--admin {
  opacity: 0.14;
}

.admin-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1200px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 72px) 0 100px;
}

.admin-login {
  width: min(100%, 560px);
  margin: clamp(100px, 18vh, 190px) auto 0;
  padding: clamp(24px, 4vw, 48px);
  background: var(--paper);
}

.admin-login h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.admin-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 44px 0 0;
}

.admin-form label,
.admin-form input,
.admin-form button {
  font-size: 1rem;
}

.admin-form input {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: inherit;
}

.admin-form button,
.button-quiet,
.export-button {
  padding: 15px 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
}

.admin-form button:hover,
.admin-form button:focus-visible,
.button-quiet:hover,
.button-quiet:focus-visible,
.export-button:hover,
.export-button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.admin-alert,
.form-error {
  padding: 16px;
  border: 1px solid var(--ink);
  background: var(--soft);
}

.admin-form .form-error {
  grid-column: 1 / -1;
  margin: 0;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 60px;
}

.admin-page h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric-grid article {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.metric-grid span,
.admin-panel th {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
}

.metric-grid strong {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.admin-panel {
  margin-top: 70px;
}

.admin-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.admin-panel h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  .campaign-grid {
    grid-template-columns: minmax(250px, 320px) minmax(390px, 1fr);
    column-gap: 42px;
  }

  .campaign-photo--artist {
    width: 72%;
  }

  .campaign-photo--studio {
    width: 34%;
  }
}

@media (max-width: 780px) {
  .campaign-grid {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    padding: 28px 20px 26px;
  }

  .campaign h1 {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .campaign-intro,
  .campaign-signup,
  .campaign-video {
    width: 100%;
    max-width: 420px;
    font-size: clamp(1.08rem, 4.6vw, 1.3rem);
  }

  .campaign-intro {
    order: 1;
  }

  .campaign-intro::before {
    margin-bottom: 34px;
  }

  .release-credit__mobile-line {
    display: block;
  }

  .release-artwork {
    width: min(190px, 52%);
  }

  .campaign-visuals {
    order: 2;
    width: 100%;
    min-height: 0;
    height: min(122vw, 610px);
    margin-top: 46px;
  }

  .campaign-photo--artist {
    width: 77%;
  }

  .campaign-photo--studio {
    top: 7%;
    width: 28%;
    height: 51%;
  }

  .campaign-photo--shoes {
    right: 7%;
    width: 42%;
    height: 43%;
  }

  .campaign-video {
    order: 3;
    margin-top: 48px;
    padding: 0;
  }

  .campaign-signup {
    order: 4;
    align-self: flex-start;
    margin-top: clamp(76px, 18vw, 120px);
    padding-bottom: 0;
  }

  .campaign-footer {
    order: 5;
    align-self: flex-start;
    width: 100%;
    margin-top: 70px;
  }

  .weather-widget {
    position: static;
    order: 6;
    align-self: flex-start;
    width: 100%;
    margin-top: 34px;
    padding: 0;
    text-align: left;
  }

  .atmosphere {
    inset: 52% 0 0 38%;
    opacity: 0.32;
  }

  .legal-shell {
    width: calc(100% - 36px);
    margin: 0 18px;
  }

  .legal-shell section {
    grid-template-columns: 1fr;
  }

  .admin-header,
  .admin-panel__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-login .admin-form {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-grid article {
    min-height: 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campaign-photo img {
    transition: none;
  }
}

/* Teardrops campaign */

.campaign-page {
  position: relative;
  overflow: hidden;
  background: #080808;
  color: #f7f4ec;
  font-family: "Instrument Sans", Arial, sans-serif;
  isolation: isolate;
}

.campaign-page::selection {
  background: #f7f4ec;
  color: #080808;
}

.campaign-page .atmosphere {
  inset: 0;
  background: #080808;
  opacity: 1;
}

.campaign-page .atmosphere__art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  opacity: 1;
}

.campaign-page .atmosphere::after {
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.08) 35%, rgba(3, 3, 3, 0.74) 100%),
    linear-gradient(90deg, rgba(3, 3, 3, 0.38), transparent 58%);
}

.campaign {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(28px, 4.4vw, 72px);
  letter-spacing: 0;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.72);
}

.campaign-intro {
  position: static;
  display: block;
  width: auto;
  max-width: min(900px, 100%);
  align-self: auto;
  font-size: 1rem;
}

.campaign-intro::before {
  display: none;
}

.campaign .release-kicker {
  margin: 0 0 clamp(10px, 1.2vw, 18px);
  color: #f7f4ec;
  font-size: clamp(0.68rem, 0.8vw, 0.8rem);
  letter-spacing: 0.07em;
}

.campaign h1 {
  max-width: none;
  margin: 0;
  color: #f7f4ec;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(4.4rem, 11vw, 10.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: -0.065em;
}

.campaign-listen {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 18px clamp(24px, 3vw, 46px);
  margin-top: clamp(30px, 3.4vw, 50px);
}

.campaign-listen a {
  display: inline-block;
  padding: 8px 0;
  color: #f7f4ec;
  font-size: clamp(0.76rem, 0.9vw, 0.92rem);
  letter-spacing: 0.05em;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.5em;
  text-transform: uppercase;
}

.campaign-listen a:hover,
.campaign-listen a:focus-visible {
  color: #f7f4ec;
  opacity: 0.7;
}

.campaign-footer {
  position: absolute;
  right: clamp(28px, 4.4vw, 72px);
  bottom: clamp(28px, 4.4vw, 72px);
  display: flex;
  width: auto;
  align-items: center;
  align-self: auto;
  gap: 18px;
  margin: 0;
  color: #f7f4ec;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  opacity: 0.72;
  text-transform: uppercase;
}

.campaign-footer a {
  color: inherit;
  text-decoration-color: currentColor;
  text-underline-offset: 0.42em;
}

.campaign-footer a:hover,
.campaign-footer a:focus-visible {
  color: inherit;
  opacity: 0.7;
}

@media (max-width: 700px) {
  .campaign-page .atmosphere {
    inset: 0;
    opacity: 1;
  }

  .campaign-page .atmosphere__art {
    object-position: 64% center;
  }

  .campaign-page .atmosphere::after {
    background:
      linear-gradient(180deg, rgba(3, 3, 3, 0.04) 28%, rgba(3, 3, 3, 0.84) 100%),
      linear-gradient(90deg, rgba(3, 3, 3, 0.22), transparent 72%);
  }

  .campaign {
    min-height: 100svh;
    padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  }

  .campaign-intro {
    order: 1;
    width: 100%;
    max-width: none;
    font-size: 1rem;
  }

  .campaign h1 {
    font-size: clamp(4rem, 21vw, 7rem);
  }

  .campaign-listen {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 28px;
  }

  .campaign-listen a {
    min-height: 44px;
    font-size: 0.78rem;
  }

  .campaign-footer {
    position: static;
    order: 2;
    align-self: flex-start;
    width: auto;
    margin-top: 26px;
    font-size: 0.56rem;
    text-align: left;
  }
}
