/* Missus Jones, a tribute to Amy Winehouse. One-shot homepage mockup, Tilth & Co, 2026-09-17.
   Ground: true black (the band plays in the dark). Text: warm ivory. Marker: the logo's red, used
   as a signal, never as small text on black. Type: Bodoni Moda for display, Libre Franklin for
   everything else. Two faces, both SIL Open Font License, licences in ../fonts-licence/.
   Motif: the 45 record label. The seal on the hero, the round detail crops, the two-sided set list. */

@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("fonts/libre-franklin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("fonts/libre-franklin-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --black: #0b0a0a;
  --black-2: #141212;
  --black-3: #1d1a1a;
  --ivory: #f3ede2;
  --ivory-2: #d8d0c2;
  --ivory-muted: #a89f92;
  --ink: #141212;
  --ink-2: #4d463f;
  --red: #e00000;
  --red-deep: #c8102e;
  --hair: rgba(243, 237, 226, 0.14);
  --hair-strong: rgba(243, 237, 226, 0.32);
  --hair-ink: rgba(20, 18, 18, 0.18);
  --display: "Bodoni Moda", "Bodoni 72", "Didot", Georgia, serif;
  --text: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 64px;
  --section: clamp(64px, 9vw, 112px);
  --measure: 60ch;
}

*, *::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(--black);
  color: var(--ivory-2);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1200px) { body { font-size: 18px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; color: var(--ivory); line-height: 1.08; letter-spacing: -0.01em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 1.55rem + 3vw, 3.7rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 1.35rem + 2vw, 3rem); }
h3 { font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.8rem); line-height: 1.2; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sub { font-size: 1.12rem; line-height: 1.55; max-width: 52ch; }
.fine { font-size: 0.92rem; color: var(--ivory-muted); }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ivory); color: var(--ink); padding: 8px 12px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px;
  background: var(--ivory); color: var(--ink);
  font-family: var(--text); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; border: 0; border-radius: 2px; cursor: pointer;
  transition: background-color 200ms ease-out, transform 200ms ease-out;
}
.btn:hover { background: #ffffff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.88rem; }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #000000; }
.textlink { display: inline-block; padding: 10px 0; color: var(--ivory); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; text-decoration-thickness: 1.5px; font-weight: 500; }
.textlink:hover { text-decoration-color: var(--ivory); }

/* ---------- Navigation: thin, fixed, tightens on scroll ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(11, 10, 10, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
  transition: height 200ms ease-out;
}
.nav.is-tight { height: 54px; }
.nav-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; height: 100%; display: flex; align-items: center; }
.brand img { width: 150px; height: auto; transition: width 200ms ease-out; }
.nav.is-tight .brand img { width: 128px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--ivory-2); font-weight: 500; padding: 8px 0; }
.nav-links a:hover { color: var(--ivory); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-row .btn-small { margin-left: auto; }
  .brand img { width: 120px; }
  .nav.is-tight .brand img { width: 110px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + 56px); padding-bottom: var(--section); position: relative; }
.hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy h1 { max-width: 17ch; }
.hero-copy .lede { margin-top: 24px; font-size: 1.16rem; line-height: 1.55; max-width: 50ch; color: var(--ivory-2); }
.trust { margin-top: 32px; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.trust li { padding: 14px 16px 14px 0; margin-right: 16px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; }
.trust li:last-child { border-right: 0; margin-right: 0; }
.trust strong { font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--ivory); line-height: 1.1; white-space: nowrap; }
.trust span { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ivory-muted); margin-top: 4px; white-space: nowrap; }
.cta-row { margin-top: 40px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.seal { position: absolute; left: -40px; bottom: -40px; width: 152px; height: 152px; overflow: visible; }
/* The rotation lives on the inner group, so the layout box never grows and the phone view never scrolls sideways. */
.seal-spin { transform-origin: 100px 100px; transform-box: view-box; animation: spin 40s linear infinite; }
.seal-disc { fill: var(--black); }
.seal-ring { fill: none; stroke: var(--hair-strong); stroke-width: 1; }
.seal-hole { fill: var(--red); }
.seal-text { font-family: var(--text); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; fill: var(--ivory); font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal-spin { animation: none; } }

@media (max-width: 899px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .hero-photo img { aspect-ratio: 4 / 5; max-height: 72vh; }
  .seal { left: auto; right: 16px; bottom: -36px; width: 120px; height: 120px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li { padding: 14px 16px 14px 0; margin-right: 16px; }
  .trust li:nth-child(2) { border-right: 0; }
  .trust li:nth-child(1), .trust li:nth-child(2) { border-bottom: 1px solid var(--hair); }
}
@media (max-width: 480px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust strong { font-size: 1.15rem; }
}

/* ---------- Sections ---------- */
section { padding: var(--section) 0; }
.section-head { margin-bottom: 40px; }
.section-head .sub { margin-top: 16px; }

/* Reveal: a single quiet fade-up. */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 600ms ease-out, transform 600ms ease-out; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Watch ---------- */
.watch { background: var(--black-2); border-top: 1px solid var(--hair); }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player-poster { width: 100%; height: 100%; object-fit: cover; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(to top, rgba(11, 10, 10, 0.55), rgba(11, 10, 10, 0.05) 60%);
  border: 0; cursor: pointer; color: var(--ivory); font-family: var(--text); font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.play svg { width: 88px; height: 88px; transition: transform 200ms ease-out; }
.play svg circle { fill: var(--ivory); }
.play svg path { fill: var(--ink); }
.play:hover svg { transform: scale(1.04); }
.clips { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 24px; }
.clip { display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--ivory-2); text-align: left; cursor: pointer; font-family: var(--text); font-size: 0.92rem; }
@media (max-width: 480px) { .clips { gap: 16px; } }
.clip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.85; transition: opacity 200ms ease-out; }
.clip:hover img { opacity: 1; }
.clip span { display: block; margin-top: 10px; }

/* ---------- The show ---------- */
.beat { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: clamp(56px, 8vw, 96px); }
.beat-flip .beat-photo { order: 2; }
.beat-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.beat-copy p { margin-top: 16px; max-width: 46ch; }
.details { margin-top: 32px; display: flex; gap: 24px; }
.details li { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivory-muted); }
.details img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--hair-strong), 0 0 0 6px var(--black), 0 0 0 7px var(--hair); }
@media (max-width: 899px) {
  .beat { grid-template-columns: 1fr; gap: 28px; }
  .beat-flip .beat-photo { order: 0; }
}

.sleeve { border-top: 1px solid var(--hair); padding-top: 48px; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); }
.sleeve-head p { margin-top: 16px; }
.sleeve-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.side-label { display: block; font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--ivory-muted); margin-bottom: 12px; }
.side ol { counter-reset: track; }
.side li { counter-increment: track; display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--hair); color: var(--ivory); font-size: 0.98rem; }
.side li::before { content: counter(track, decimal-leading-zero); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ivory-muted); min-width: 1.8em; }
@media (max-width: 899px) { .sleeve { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sleeve-sides { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Line-ups (the ivory section) ---------- */
.lineups { background: var(--ivory); color: var(--ink-2); }
.lineups h2, .lineups h3 { color: var(--ink); }
.lineups .sub { color: var(--ink-2); }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair-ink); border-bottom: 1px solid var(--hair-ink); }
.size { padding: 32px 32px 32px 0; margin-right: 32px; border-right: 1px solid var(--hair-ink); }
.size:last-child { border-right: 0; margin-right: 0; }
.size p { margin-top: 12px; font-size: 0.98rem; max-width: 30ch; }
.dots { display: flex; gap: 6px; margin-bottom: 20px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); display: block; }
.dots i.on { background: var(--ink); }
.dots i.on:first-child { background: var(--red-deep); border-color: var(--red-deep); }
.wide { margin-top: 48px; }
.wide img { width: 100%; }
.wide figcaption { margin-top: 12px; font-size: 0.86rem; color: var(--ink-2); }
.logistics { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.logistics p { max-width: 52ch; color: var(--ink-2); }
@media (max-width: 899px) {
  .sizes { grid-template-columns: 1fr; }
  .size { padding: 24px 0; margin-right: 0; border-right: 0; border-bottom: 1px solid var(--hair-ink); }
  .size:last-child { border-bottom: 0; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--black); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.quote { margin: 0; padding-top: 24px; border-top: 1px solid var(--hair-strong); }
.quote p { font-family: var(--display); font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); line-height: 1.35; color: var(--ivory); }
.quote footer { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.quote strong { color: var(--ivory); font-weight: 600; }
.quote span { font-size: 0.86rem; color: var(--ivory-muted); }
.stage { margin-top: 64px; }
.stage figcaption { color: var(--ivory-muted); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- The band ---------- */
.band { background: var(--black-2); border-top: 1px solid var(--hair); }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.band-copy p { margin-top: 16px; max-width: 48ch; }
.band-copy p:first-of-type { color: var(--ivory); }
@media (max-width: 899px) { .band-grid { grid-template-columns: 1fr; } }

/* ---------- Book ---------- */
.book { background: var(--ivory); color: var(--ink-2); }
.book h2, .book h3 { color: var(--ink); }
.book .sub { color: var(--ink-2); }
.book .fine { color: var(--ink-2); margin-top: 24px; }
.book-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.book-copy .sub { margin-top: 16px; }
.form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--text); color: var(--ink); background: #ffffff;
  border: 1px solid rgba(20, 18, 18, 0.28); border-radius: 2px; padding: 12px 14px; min-height: 48px; width: 100%;
  letter-spacing: 0; text-transform: none;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red-deep); outline-offset: 1px; border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #6f675e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 8px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-note { font-size: 0.92rem; color: var(--red-deep); margin: 0; }
.sent { padding: 40px; background: var(--ink); color: var(--ivory-2); }
.sent svg { width: 32px; height: 32px; fill: var(--red); margin-bottom: 20px; }
.sent h3 { color: var(--ivory); }
.sent p { margin-top: 12px; }
.sent .fine { color: var(--ivory-muted); }
@media (max-width: 899px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { background: var(--black); border-top: 1px solid var(--hair); padding: 56px 0 40px; color: var(--ivory-muted); font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 40px; align-items: start; }
.foot-brand img { width: 200px; margin-bottom: 16px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { text-decoration: none; color: var(--ivory-2); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.foot-links a:hover { color: var(--ivory); }
.foot-fine p { margin-bottom: 8px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
