/* ==========================================================================
   Mary Nink — site stylesheet
   One ground, one ink, one accent. Edit the tokens below to retheme.
   ========================================================================== */

:root {
  --ink: #17161A;
  --ink-2: #2A282E;
  --ink-3: #3A383F;
  --paper: #F3F2EF;
  --paper-2: #E4E2DD;
  --white: #FFFFFF;
  --line: #D9D7D1;
  --line-2: #C9C6BF;
  --line-dark: #2E2C33;
  --muted: #5F5D66;
  --muted-on-dark: #B9B6C0;
  --soft-on-dark: #DDDAE3;
  --accent: #A3202F;
  --accent-hover: #7E1724;

  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  --wrap: 1184px;
  --gutter: 48px;
  --radius: 12px;
  --radius-lg: 14px;
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
}

/* Reset ------------------------------------------------------------------ */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; background: var(--paper-2); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

button, input, select, textarea { font: inherit; color: inherit; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px;
  padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: var(--white);
  font-weight: 600; z-index: 100;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* Layout ------------------------------------------------------------------ */

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding-block: 72px; }
.section--tight { padding-block: 40px; }
.section--flush-top { padding-top: 0; }
.section--rule { border-top: 1px solid var(--line); }

.split {
  display: flex; flex-wrap: wrap;
  gap: 40px 72px; align-items: flex-start;
}
.split > .split__aside { flex: 0 1 300px; min-width: 0; }
.split > .split__main { flex: 1 1 520px; min-width: 0; }

.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.grid > * { flex: 1 1 280px; min-width: 0; }
.grid--tight > * { flex-basis: 220px; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--sm { gap: 8px; }
.stack--lg { gap: 28px; }

.row {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
  gap: 16px 48px;
}

/* Type -------------------------------------------------------------------- */

.eyebrow {
  display: block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--muted { color: var(--muted); }

.display {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 800; line-height: 0.98;
  letter-spacing: -0.035em;
}
.display--hero {
  font-size: clamp(64px, 10vw, 136px);
  line-height: 0.92;
}

.h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.h3 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.025em; }
.h4 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

.lede {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  font-size: 22px; line-height: 1.4;
  color: var(--muted);
}

.prose { font-size: 19px; color: var(--ink-3); display: flex; flex-direction: column; gap: 20px; }
.prose p { max-width: 68ch; }

.muted { color: var(--muted); }
.small { font-size: 15px; }
.measure { max-width: 620px; }

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-hover); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--outline-light { border-color: #6B6872; color: var(--paper); background: transparent; }
.btn--outline-light:hover { border-color: var(--paper); color: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn svg { flex: none; }

.link-underline {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; color: var(--accent); text-decoration: none;
  border-bottom: 2px solid var(--accent);
}
.link-underline:hover { color: var(--accent-hover); border-color: var(--accent-hover); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header + nav ------------------------------------------------------------ */

.site-header {
  position: relative; z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header--dark {
  background: var(--ink); color: var(--paper);
  border-bottom-color: transparent;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 32px; padding-block: 20px;
}
.brand {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.02em;
  color: inherit; text-decoration: none; padding: 8px 0;
}
.brand:hover { color: inherit; }

.site-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px;
}
.site-nav a {
  color: inherit; text-decoration: none;
  font-size: 15px; font-weight: 500; padding: 12px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: inherit; border-bottom-color: currentColor; }
.site-nav a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--accent); }
.site-nav .btn { padding: 0 22px; min-height: 44px; font-size: 15px; border-bottom: 0; color: var(--white); }
.site-nav .btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 8px; background: transparent;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle__bar {
  display: block; width: 22px; height: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .25);
  }
  .site-header--dark .site-nav { background: var(--ink); border-bottom-color: var(--line-dark); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-header--dark .site-nav a { border-bottom-color: var(--line-dark); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .site-nav .btn { margin-top: 12px; align-self: flex-start; }
}

/* Hero (home) ------------------------------------------------------------- */

.hero {
  background: var(--ink); color: var(--paper);
  padding: 56px 0 88px;
}
.hero__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px;
}
.hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__kicker { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--muted-on-dark); }
.hero__lede { font-size: 20px; line-height: 1.5; max-width: 520px; color: var(--soft-on-dark); }
.hero__photo { flex: 0 1 420px; min-width: 260px; }
.hero__photo img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 10px; background: var(--ink-2);
}

/* Facts strip ------------------------------------------------------------- */

.facts { display: flex; flex-wrap: wrap; gap: 0 48px; border-bottom: 1px solid var(--line); }
.fact { flex: 1 1 300px; min-width: 0; padding: 32px 0; display: flex; flex-direction: column; gap: 6px; }
.fact__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }

/* Cards ------------------------------------------------------------------- */

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.card--compact { padding: 22px 24px; gap: 6px; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.card__value { font-weight: 600; font-size: 18px; }
.card__big { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }

.cta-band {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg); padding: 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 48px;
}
.cta-band h2 { color: var(--paper); font-size: clamp(28px, 3.5vw, 40px); letter-spacing: -0.03em; }
.cta-band p { color: var(--muted-on-dark); }
@media (max-width: 760px) { .cta-band { padding: 32px 24px; } }

/* Credits / list rows ----------------------------------------------------- */

.credits { display: flex; flex-direction: column; }
.credit {
  display: flex; flex-wrap: wrap; gap: 4px 24px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.credit__title { flex: 1.3 1 220px; min-width: 0; font-weight: 600; font-size: 18px; }
.credit__role { flex: 1 1 200px; min-width: 0; }
.credit__venue { flex: 1.3 1 220px; min-width: 0; color: var(--muted); }
.credit--two .credit__title { flex: 2 1 320px; }
.credit--two .credit__venue { flex: 1 1 200px; }
.credit__label {
  flex: 0 1 160px; min-width: 0; padding-top: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.credit__body { flex: 1 1 360px; min-width: 0; }

.rows { display: flex; flex-direction: column; }
.rows > li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px;
}
.rows > li strong { font-weight: 600; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 15px; color: var(--ink); text-decoration: none;
}
a.pill { min-height: 44px; padding: 0 18px; font-weight: 500; }
a.pill:hover { border-color: var(--ink); color: var(--ink); }

/* Media ------------------------------------------------------------------- */

.embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--ink); border-radius: var(--radius); overflow: hidden;
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.media-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.media-card:hover { color: var(--ink); }
.media-card__thumb {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
}
.media-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, background-color .15s ease;
}
.play-badge--lg { width: 88px; height: 88px; background: var(--accent); }
.media-card:hover .play-badge { transform: translate(-50%, -50%) scale(1.06); background: var(--accent); }
.media-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline; }
.media-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }

.tracklist { display: flex; flex-direction: column; }
.tracklist li {
  display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line);
}
.tracklist li:last-child { border-bottom: 1px solid var(--line); }
.tracklist__time { flex: 0 0 44px; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.tracklist__title { font-weight: 600; display: block; }

.photo-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.photo-grid > a, .photo-grid > figure { flex: 1 1 240px; min-width: 0; margin: 0; display: block; }
.photo-grid img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); background: var(--paper-2);
}
.photo-grid figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Whole photo, uncropped: scales to fit within the column width and 640px tall. */
.banner-photo img {
  display: block; margin: 0 auto;
  width: auto; height: auto; max-width: 100%; max-height: 640px;
  border-radius: var(--radius-lg); background: var(--paper-2);
}
@media (max-width: 760px) { .banner-photo img { max-height: 520px; } }

.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.portrait--4x5 img { aspect-ratio: 4 / 5; }

/* Steps ------------------------------------------------------------------- */

.steps { display: flex; flex-wrap: wrap; gap: 20px; counter-reset: step; }
.steps > li {
  flex: 1 1 280px; min-width: 0;
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 24px; border-top: 3px solid var(--accent);
}
.steps__n { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* Forms ------------------------------------------------------------------- */

.form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 760px) { .form { padding: 24px 20px; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--white); color: var(--ink);
}
.field textarea { min-height: 160px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.form__row { display: flex; flex-wrap: wrap; gap: 20px; }
.form__row > .field { flex: 1 1 200px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.form__status { font-size: 14px; color: var(--muted); }
.form__status[data-state="sent"] { color: #2E6B4F; }
.form__status[data-state="error"] { color: var(--accent); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact-email {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent);
  align-self: flex-start; padding: 4px 0; word-break: break-all;
}
.contact-email:hover { color: var(--accent); }

/* Testimonials ------------------------------------------------------------ */

.testimonial { margin: 0; position: relative; padding-top: 8px; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--ink);
  max-width: 62ch;
}
.testimonial blockquote p::before { content: "“"; color: var(--accent); margin-right: 0.05em; }
.testimonial blockquote p::after { content: "”"; color: var(--accent); margin-left: 0.05em; }
.testimonial figcaption {
  margin-top: 20px; padding-top: 14px; border-top: 2px solid var(--accent);
  display: inline-block; font-weight: 600; font-size: 15px; color: var(--muted);
  letter-spacing: 0.02em;
}

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

.site-footer { background: var(--ink); color: var(--paper); padding: 56px 0 36px; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 32px 64px;
  justify-content: space-between; align-items: flex-end;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; flex: 1 1 320px; min-width: 0; }
.site-footer__name { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.site-footer__tag { color: var(--muted-on-dark); font-size: 15px; }
.site-footer a { color: var(--paper); }
.site-footer__email { font-size: 17px; padding: 6px 0; display: inline-block; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer__social a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; }
.site-footer__social a:hover { text-decoration: underline; }
.site-footer__legal {
  flex-basis: 100%; border-top: 1px solid var(--line-dark); padding-top: 20px;
  color: var(--muted-on-dark); font-size: 13px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}

/* Utilities --------------------------------------------------------------- */

.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 20px; }
.mt-lg { margin-top: 40px; }
.pb-0 { padding-bottom: 0; }
.center { text-align: center; }
.self-start { align-self: flex-start; }

/* Print (résumé page) ----------------------------------------------------- */

@media print {
  :root { --gutter: 0; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .no-print, .nav-toggle, .skip-link { display: none !important; }
  .section { padding-block: 14pt; }
  .display { font-size: 28pt; }
  .credit, .rows > li { break-inside: avoid; padding: 6pt 0; }
  .pill { border: 1px solid #999; min-height: 0; padding: 2pt 8pt; }
  a { color: #000; text-decoration: none; }
}
