@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("/fonts/bodoni-moda-italic.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/bodoni-moda-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/hanken-grotesk-normal.woff2") format("woff2"); }

:root {
  --dusk: #241633;      /* the video's sky after sunset */
  --dusk-2: #33224a;
  --haze: #f3ecf6;
  --muted: #bba9c9;
  --sunset: #ff6fae;
  --pool: #56d9cf;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --measure: 34rem;
}

* { box-sizing: border-box; }
html { background: var(--dusk); color: var(--haze); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); background: var(--dusk); }
a { color: inherit; }
a:focus-visible, video:focus-visible { outline: 3px solid var(--pool); outline-offset: 4px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h2 { font: italic 500 clamp(2.2rem, 6vw, 3.6rem)/1.05 var(--serif); letter-spacing: -0.01em; }
h3 { font: 600 1.0625rem/1.4 var(--sans); }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero: the ampersand is a window onto the music video. */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
/* The svg paints the dusk over the whole hero (overflow visible), with the ampersand cut out of it. */
.amp { display: block; overflow: visible; position: relative; z-index: 0; height: min(66svh, 34vw); width: auto; aspect-ratio: 680 / 670; justify-self: center; }
.hero-fill { fill: var(--dusk); }
.amp-glyph { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 820px; }
.amp-edge { fill: none; stroke: var(--sunset); stroke-width: 2; opacity: .55; }

.wordmark { align-self: center; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 1vw; padding: 4vh var(--gutter) 0;
  font: 400 clamp(3.4rem, 7.2vw, 8rem)/0.9 var(--serif); letter-spacing: -0.02em; }
.w-sound, .w-silicon { position: relative; z-index: 1; }
.w-sound { justify-self: end; }
.w-silicon { justify-self: start; }
.hero-foot { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(28px, 6vh, 64px); display: grid; gap: 22px; max-width: 46rem; }
.lede { font-size: clamp(1.125rem, 2.2vw, 1.375rem); line-height: 1.45; max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.button { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--sunset); color: var(--dusk);
  font-weight: 700; text-decoration: none; }
.button:hover { background: #ff8cbe; }
.quiet { color: var(--muted); text-underline-offset: 4px; }
.quiet:hover { color: var(--haze); }

@media (max-width: 760px) {
  .wordmark { grid-template-columns: 1fr; gap: 0; padding-top: 3svh; font-size: clamp(3.4rem, 17vw, 5.5rem); }
  .w-sound { justify-self: start; }
  .w-silicon { justify-self: end; margin-top: -0.15em; }
  .amp { height: auto; width: min(92vw, 52svh); margin-top: -0.1em; }
  .hero-foot { gap: 18px; padding-top: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .w-sound { animation: in-left 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .w-silicon { animation: in-right 1.1s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes in-left { from { transform: translateX(-12vw); opacity: 0; } }
  @keyframes in-right { from { transform: translateX(12vw); opacity: 0; } }
}

main { padding: 0 var(--gutter); }
section { max-width: 72rem; margin: 0 auto; padding: clamp(64px, 11vw, 128px) 0 0; }

/* The first song */
.work { display: grid; gap: 28px; }
.work-head { display: grid; gap: 16px; }
.work-head p { max-width: var(--measure); color: var(--muted); }
.work-video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; }
.work-more a { color: var(--pool); text-underline-offset: 4px; }

/* Packages, set as a record's track listing */
.tracks { display: grid; gap: 36px; }
.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dusk-2); }
.tracklist li { display: grid; grid-template-columns: 3rem 1fr auto; grid-template-areas: "pos name price" "pos len len" "pos note note";
  column-gap: 16px; row-gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--dusk-2); }
.pos { grid-area: pos; font: italic 500 1.5rem/1.2 var(--serif); color: var(--sunset); }
.name { grid-area: name; font: 500 clamp(1.5rem, 3.4vw, 2.1rem)/1.15 var(--serif); }
.len { grid-area: len; color: var(--muted); font-variant-numeric: tabular-nums; }
.price { grid-area: price; align-self: center; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.note { grid-area: note; color: var(--muted); max-width: var(--measure); }
@media (min-width: 761px) {
  .tracklist li { grid-template-columns: 3.5rem minmax(14rem, 1fr) 7rem 8rem; grid-template-areas: "pos name len price" "pos note note note"; align-items: baseline; }
  .len, .price { text-align: right; }
}
.liner { display: grid; gap: 14px; max-width: var(--measure); }
.liner ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.liner li { padding-left: .3em; margin: .3em 0; }
.liner li::marker { content: "&"; color: var(--sunset); font: italic 1em var(--serif); }

/* How it works: a real sequence */
.steps { display: grid; gap: 32px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; column-gap: 16px; row-gap: 6px; }
.steps li::before { content: counter(step); grid-row: span 2; font: italic 500 2.4rem/1 var(--serif); color: var(--sunset); }
.steps p { color: var(--muted); max-width: var(--measure); }
@media (min-width: 761px) { .steps ol { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.uses p { max-width: 40rem; font: italic 400 clamp(1.25rem, 2.6vw, 1.6rem)/1.5 var(--serif); }

.contact { display: grid; gap: 18px; padding-bottom: clamp(64px, 10vw, 120px); }
.contact p { color: var(--muted); }
.mail { font: italic 500 clamp(1.5rem, 6.4vw, 3.4rem)/1.1 var(--serif); color: var(--haze); text-decoration-color: var(--sunset);
  text-underline-offset: .18em; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.mail:hover { color: var(--sunset); }

.foot { padding: 28px var(--gutter) 40px; border-top: 1px solid var(--dusk-2); color: var(--muted); font-size: .9375rem; }
