/* Colors sampled from Drew's studio (Aug 19). Two grounds from the same tokens. */
  :root, [data-theme="day"] {
    --ground: #EDEBE3;      /* oat panels */
    --raised: #E4E0D4;
    --text: #141B28;        /* night blue */
    --soft: #545D69;
    --accent: #C25E36;      /* sedona clay */
    --accent-text: #A6491F; /* clay, darkened for small text on oat */
    --link-hover: #2F7D74;  /* turquoise, darkened for oat */
    --eyebrow: #6B7330;     /* olive, darkened for oat */
    --lines: #D3CEC1;
    --on-accent: #141B28;
  }
  [data-theme="night"] {
    --ground: #141B28;
    --raised: #1D2736;
    --text: #EDEBE3;
    --soft: #9AA3A8;
    --accent: #C25E36;
    --accent-text: #D9774E;
    --link-hover: #3E9A90;
    --eyebrow: #A2AC4B;
    --lines: #2C3648;
    --on-accent: #141B28;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    background: var(--ground);
    color: var(--text);
    font-family: "Newsreader", Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    font-optical-sizing: auto;
    transition: background-color .4s ease, color .4s ease;
  }
  body::after { /* 2% grain */
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; }

  .mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
  .eyebrow { color: var(--eyebrow); margin-bottom: 18px; display: block; }
  .display { font-family: "Bodoni Moda", "Newsreader", serif; font-weight: 400; letter-spacing: -.01em; line-height: 1.05; }
  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
  section { padding: 104px 0; }
  .rule { border-top: 1px solid var(--lines); }

  /* Buttons and links */
  .btn { display: inline-block; text-decoration: none; padding: 15px 24px; border: 1px solid var(--text); background: transparent; color: inherit; transition: background .2s, color .2s, border-color .2s; }
  .btn:hover { background: var(--text); color: var(--ground); }
  .btn.solid { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
  .btn.solid:hover { background: var(--text); border-color: var(--text); color: var(--ground); }
  .arrow-link { text-decoration: none; color: var(--accent-text); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
  .arrow-link:hover { color: var(--link-hover); }

  /* Header over the hero */
  header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; color: #EDEBE3; }
  header .wrap { display: flex; justify-content: space-between; align-items: center; height: 88px; max-width: none; padding: 0 48px; }
  .wordmark { font-family: "Bodoni Moda", serif; font-size: 22px; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
  nav { display: flex; gap: 32px; }
  nav a { text-decoration: none; opacity: .9; }
  nav a:hover { opacity: 1; border-bottom: 1px solid currentColor; }

  /* Hero */
  .hero { position: relative; height: calc(var(--vh, 1vh) * 88); min-height: 560px; padding: 0; color: #EDEBE3; overflow: hidden; }
  .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
  .hero::after { content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(20,27,40,.72) 0%, rgba(20,27,40,.35) 32%, rgba(20,27,40,0) 52%),
      linear-gradient(180deg, rgba(20,27,40,.45) 0%, rgba(20,27,40,0) 26%, rgba(20,27,40,0) 60%, rgba(20,27,40,.7) 100%); }
  .hero .caption { position: absolute; z-index: 2; left: 48px; right: 48px; bottom: 56px; max-width: 520px; }
  .hero h1 { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.12; margin-bottom: 26px; }
  .hero h1.name { font-size: clamp(48px, 6.4vw, 96px); line-height: 1; letter-spacing: -.015em; margin-bottom: 22px; }
  .hero .listen { color: #EDEBE3; text-decoration: none; border-bottom: 1px solid rgba(237,235,227,.5); padding-bottom: 4px; }
  .hero .listen:hover { border-color: #EDEBE3; }
  .hero-credit { position: absolute; z-index: 2; right: 48px; bottom: 24px; font-size: 10px; color: rgba(237,235,227,.65); }
  @media (max-width: 860px) { .hero-credit { right: 22px; bottom: 12px; } }

  /* Latest record */
  .record { display: grid; grid-template-columns: minmax(280px, 480px) 1fr; gap: 80px; align-items: center; }
  .cover { border: 1px solid var(--lines); box-shadow: 14px 14px 0 var(--raised); }
  .record h2 { font-size: clamp(44px, 5.4vw, 76px); margin-bottom: 14px; }
  .record .meta { color: var(--soft); margin-bottom: 28px; }
  .record p { max-width: 30em; margin-bottom: 34px; }
  .row-btns { display: flex; gap: 14px; flex-wrap: wrap; }

  /* Working together */
  .together-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 64px; align-items: end; }
  .together-head h2 { font-size: clamp(38px, 4.2vw, 56px); }
  .together-head p { max-width: 28em; }
  .doors { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--lines); }
  .door { padding: 36px 32px 40px 0; }
  .door + .door { padding-left: 32px; border-left: 1px solid var(--lines); }
  .door h3 { font-family: "Bodoni Moda", serif; font-weight: 400; font-size: 28px; line-height: 1.15; margin-bottom: 12px; }
  .door p { color: var(--soft); margin-bottom: 22px; font-size: 18px; }
  .covers { display: flex; gap: 8px; margin-bottom: 22px; }
  .covers img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--lines); }

  .feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin-top: 24px; padding-top: 56px; border-top: 1px solid var(--lines); }
  .feature .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--lines); }
  .feature .frame img { width: 100%; height: 100%; object-fit: cover; }
  .feature .stand-in { position: absolute; left: 12px; bottom: 12px; background: rgba(20,27,40,.75); color: #EDEBE3; padding: 6px 10px; font-size: 10px; }
  .feature h3 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 18px; }
  .feature p { max-width: 27em; margin-bottom: 32px; }
  .feature .row-btns { align-items: center; gap: 26px; }

  /* Video */
  .video { position: relative; display: block; text-decoration: none; color: #EDEBE3; overflow: hidden; border: 1px solid var(--lines); }
  .video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
  .video:hover img { transform: scale(1.02); }
  .video .play { position: absolute; left: 32px; bottom: 28px; display: flex; align-items: center; gap: 16px; }
  .video .play span:first-child { width: 58px; height: 58px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #141B28; font-size: 18px; padding-left: 4px; }
  .video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,27,40,0) 55%, rgba(20,27,40,.7) 100%); }
  .video .play { z-index: 2; }

  /* Closing */
  .closing { text-align: left; }
  .closing h2 { font-size: clamp(48px, 6vw, 88px); margin-bottom: 22px; }
  .closing p { max-width: 30em; margin-bottom: 34px; font-size: 21px; }

  footer { border-top: 1px solid var(--lines); padding: 56px 0 72px; color: var(--soft); }
  footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  footer a { text-decoration: none; display: block; margin-bottom: 10px; }
  footer a:hover { color: var(--text); }
  footer .wordmark { color: var(--text); font-size: 18px; margin-bottom: 12px; display: inline-block; }

  @media (max-width: 860px) {
    body { font-size: 18px; }
    .wrap { padding: 0 22px; }
    section { padding: 72px 0; }
    header .wrap { padding: 0 22px; height: 72px; }
    nav { display: none; }
    .menu { display: inline-block !important; }
    .hero { height: calc(var(--vh, 1vh) * 82); }
    .hero .caption { left: 22px; right: 22px; bottom: 36px; max-width: none; }
    .hero::after { background: linear-gradient(180deg, rgba(20,27,40,.45) 0%, rgba(20,27,40,0) 22%, rgba(20,27,40,0) 40%, rgba(20,27,40,.85) 100%); }
    .record, .together-head, .feature { grid-template-columns: 1fr; gap: 36px; }
    .cover { box-shadow: 10px 10px 0 var(--raised); }
    .doors { grid-template-columns: 1fr; }
    .door, .door + .door { padding: 30px 0 32px; border-left: 0; }
    .door + .door { border-top: 1px solid var(--lines); }
    .feature { padding-top: 40px; }
    .video .play { left: 18px; bottom: 16px; }
    footer .wrap { grid-template-columns: 1fr; gap: 24px; }
  }
  .menu { display: none; }

/* ---------- Additions: sign-up, inner pages, credits, quotes, form ---------- */

/* One-field email sign-up */
.signup { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--lines); max-width: 34em; }
.signup label { width: 100%; color: var(--soft); }
.signup input { flex: 1 1 220px; font: inherit; font-size: 17px; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--soft); padding: 10px 2px; }
.signup input:focus { outline: none; border-color: var(--accent); }
.signup button, .form button { cursor: pointer; }

.note { color: var(--soft); margin-top: 18px; display: block; }

/* Inner pages: solid header with the wordmark */
.sub header { position: relative; color: var(--text); border-bottom: 1px solid var(--lines); }
.sub header nav a[aria-current="page"] { border-bottom: 1px solid currentColor; }
.page-title { padding: 96px 0 40px; }
.page-title h1 { font-size: clamp(52px, 7vw, 104px); margin-bottom: 28px; }
.page-title p { max-width: 34em; font-size: 22px; }
.page-title .btn { margin-top: 34px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.split h2 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 18px; }
.split p { max-width: 30em; margin-bottom: 26px; }

/* Credits table (plain data) */
.credits { width: 100%; border-collapse: collapse; font-size: 17px; }
.credits th { text-align: left; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; color: var(--soft); padding: 0 16px 14px 0; border-bottom: 1px solid var(--text); }
.credits td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--lines); vertical-align: top; }
.credits td:first-child { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--soft); width: 70px; }
.credits td.notes { color: var(--soft); font-size: 15px; }
.credits em { font-style: italic; }
.table-note { color: var(--soft); margin-top: 14px; display: block; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quote p { font-family: "Bodoni Moda", serif; font-size: 22px; line-height: 1.35; margin-bottom: 14px; }
.quote span { color: var(--soft); }
.placeholder { opacity: .55; }

/* Info */
.info { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 80px; align-items: start; }
.info img { border: 1px solid var(--lines); }
figure.photo { margin: 0; }
figure.photo figcaption { color: var(--soft); margin-top: 12px; }
.info .bio p { margin-bottom: 20px; max-width: 32em; }
.info .bio p.now { font-style: italic; }
.elsewhere { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--lines); max-width: 32em; }
.elsewhere a { text-decoration: none; }
.elsewhere a:hover { color: var(--accent-text); }

/* Contact form */
.form { max-width: 680px; display: grid; gap: 26px; }
.form label { display: grid; gap: 8px; }
.form label > span { color: var(--soft); }
.form input, .form select, .form textarea { font: inherit; font-size: 18px; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--soft); padding: 10px 2px; border-radius: 0; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 8px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.form select option { color: #141B28; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .hp { position: absolute; left: -9999px; }
.thanks { display: none; max-width: 34em; }
.thanks h2 { font-size: clamp(38px, 4vw, 56px); margin-bottom: 16px; }
.sent .form { display: none; }
.sent .thanks { display: block; }

@media (max-width: 860px) {
  .page-title { padding: 64px 0 24px; }
  .page-title p { font-size: 19px; }
  .split, .info, .quotes { grid-template-columns: 1fr; gap: 36px; }
  .credits thead { display: none; }
  .credits, .credits tbody, .credits tr, .credits td { display: block; width: 100%; }
  .credits tr { padding: 16px 0; border-bottom: 1px solid var(--lines); }
  .credits td { border: 0; padding: 2px 0; }
  .credits td:first-child { width: auto; }
}

/* Mobile menu */
.menu { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px 0; position: relative; z-index: 90; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-error { color: var(--accent-text); display: none; }
.form-error.show { display: block; }
.feature .credit-caption { position: absolute; left: 12px; bottom: 12px; background: rgba(20,27,40,.72); color: #EDEBE3; padding: 6px 10px; font-size: 10px; }
@media (max-width: 860px) {
  .menu { display: inline-block; }
  .menu-open header { color: var(--text); }
  .menu-open header nav { display: flex; position: fixed; inset: 0; z-index: 80; background: var(--ground); flex-direction: column; justify-content: center; align-items: center; gap: 30px; font-size: 15px; }
  .menu-open { overflow: hidden; }
}

/* Album cover inside the Visual identity feature */
.cover-figure { margin: 0; }
.cover-figure img { width: 100%; height: auto; }
.cover-figure figcaption { color: var(--soft); margin-top: 26px; }

/* Spotify player under the latest record */
.listen-player { margin-top: 64px; }
.listen-player iframe { display: block; border: 0; border-radius: 12px; }

/* Earlier record links under the player */
.also { margin-top: 20px; color: var(--soft); line-height: 2; }
.also a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--lines); }
.also a:hover { color: var(--accent-text); }
.also em { font-style: italic; }
