/* ==========================================================================
   MANUCHIE — warm editorial
   Bone paper · espresso ink · terracotta · Bricolage Grotesque + Newsreader
   ========================================================================== */

:root {
  --paper:   #efe4d2;   /* warm bone */
  --paper-2: #e7d9c2;   /* deeper cream */
  --ink:     #1d1611;   /* espresso near-black */
  --ink-2:   #4a3d33;   /* soft brown-ink */
  --rust:    #c1381a;   /* terracotta / burnt orange */
  --rust-dk: #9a2a10;
  --clay:    #d98a52;   /* warm clay */
  --espresso:#191310;   /* dark panel */

  --line: rgba(29, 22, 17, 0.16);
  --line-dk: rgba(239, 228, 210, 0.16);

  --disp: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --serif: "Newsreader", Georgia, serif;

  --wrap: 1280px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.15rem);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--rust); color: var(--paper); }

.skip-link { position: fixed; top: -60px; left: 1rem; z-index: 200; background: var(--ink); color: var(--paper); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }

:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* ---------- shared type ---------- */
.h-lg { font-family: var(--disp); font-weight: 640; font-size: clamp(1.9rem, 4.6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.02em; }
.h-xl { font-family: var(--disp); font-weight: 700; font-size: clamp(2.4rem, 8vw, 6rem); line-height: 0.96; letter-spacing: -0.03em; }
.h-lg em, .h-xl em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--rust); }

.sec-label {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.18em; color: var(--ink);
  display: flex; align-items: center; gap: 0.8rem;
  padding-bottom: 1.4rem; margin-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.sec-label span { color: var(--rust); }
.sec-label.light { color: var(--paper); border-color: var(--line-dk); }
.sec-label.light span { color: var(--clay); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--disp); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; padding: 0.95rem 1.6rem; border-radius: 2px; border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn-solid { background: var(--rust); color: var(--paper); }
.btn-solid:hover { background: var(--ink); transform: translateY(-2px); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-wide { width: 100%; justify-content: center; padding-block: 1.1rem; }

/* ---------- ticker ---------- */
.ticker { background: var(--rust); color: var(--paper); overflow: hidden; padding: 0.5rem 0; position: relative; z-index: 60; }
.ticker-run { display: inline-flex; align-items: center; white-space: nowrap; animation: tick 34s linear infinite; }
.ticker-run span { font-family: var(--disp); font-weight: 600; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.22em; padding-inline: 1.1rem; }
.ticker-run i { width: 5px; height: 5px; border-radius: 50%; background: var(--paper); opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem var(--pad);
  background: rgba(239, 228, 210, 0.86);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.masthead.solid { box-shadow: 0 10px 30px -22px rgba(25,19,16,0.6); }
.logo { font-family: var(--disp); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.logo sup { color: var(--rust); font-size: 0.55em; top: -0.9em; }
.topnav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.topnav a { font-family: var(--disp); font-weight: 500; font-size: 0.92rem; color: var(--ink-2); transition: color .2s; }
.topnav a span { color: var(--rust); font-size: 0.7em; margin-right: 0.25em; vertical-align: 0.35em; }
.topnav a:hover { color: var(--ink); }
.topnav-book { padding: 0.5rem 1rem; border: 1.5px solid var(--ink); color: var(--ink) !important; border-radius: 2px; transition: background .2s, color .2s; }
.topnav-book:hover { background: var(--ink); color: var(--paper) !important; }

.burger { display: none; flex-direction: column; gap: 6px; background: none; border: 0; padding: 6px; }
.burger span { width: 26px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 45; background: var(--espresso); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem; animation: fade .3s var(--ease); }
.drawer[hidden] { display: none; }
.drawer a { font-family: var(--disp); font-weight: 600; font-size: 2rem; color: var(--paper); }
.drawer .drawer-book { color: var(--clay); }
@keyframes fade { from { opacity: 0; } }

/* ---------- COVER ---------- */
.cover {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100svh - 96px);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem) var(--pad);
}
.cover-type { position: relative; z-index: 2; padding-right: 1rem; }
.kicker { font-family: var(--disp); font-weight: 600; text-transform: uppercase; font-size: clamp(0.72rem, 1.4vw, 0.86rem); letter-spacing: 0.16em; color: var(--ink-2); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.3rem; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rust); }
.wordmark { font-family: var(--disp); font-weight: 700; font-size: clamp(4.2rem, 15vw, 12rem); line-height: 0.84; letter-spacing: -0.045em; color: var(--ink); }
.standfirst { font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.5; max-width: 30ch; margin-top: 1.8rem; color: var(--ink-2); }
.standfirst em { font-style: italic; color: var(--rust); }
.cover-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }

.cover-photo { position: relative; align-self: stretch; margin: 0; }
.cover-photo img { width: 100%; height: 100%; min-height: 60svh; object-fit: cover; object-position: 50% 30%; filter: saturate(1.05) contrast(1.02); }
.cover-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; font-family: var(--disp); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--paper); background: rgba(25,19,16,0.55); padding: 0.4rem 0.7rem; backdrop-filter: blur(4px); }
.cover-edge { position: absolute; right: -0.2rem; top: 50%; transform: rotate(180deg) translateX(0); writing-mode: vertical-rl; font-family: var(--disp); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--ink-2); z-index: 3; }

/* ---------- LEAD ---------- */
.lead { padding: clamp(4rem, 11vw, 9rem) var(--pad); }
.lead-body { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 3.6vw, 2.9rem); line-height: 1.28; letter-spacing: -0.01em; max-width: 22ch; margin-inline: auto; max-width: min(60rem, 100%); text-align: left; }
.dropcap { float: left; font-family: var(--disp); font-weight: 700; font-size: 4.6em; line-height: 0.72; padding: 0.06em 0.12em 0 0; color: var(--rust); }

/* ---------- section frame ---------- */
.story, .sound, .studio { padding: clamp(3.5rem, 8vw, 7rem) var(--pad); max-width: var(--wrap); margin-inline: auto; }

/* ---------- STORY ---------- */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-photo { margin: 0; overflow: hidden; border-radius: 3px; aspect-ratio: 4/5; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.story-copy p { margin-top: 1.2rem; color: var(--ink-2); max-width: 42ch; }
.story-copy p strong { color: var(--ink); font-weight: 600; }
.h-lg + p { margin-top: 1.6rem; }
.facts { list-style: none; padding: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-family: var(--disp); font-size: 0.94rem; }
.facts li span { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--rust); align-self: center; font-weight: 600; }

/* ---------- INTERSTITIAL (rust colour-block) ---------- */
.break { position: relative; min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 9vw, 7rem) var(--pad); overflow: hidden; background: var(--rust); color: var(--paper); }
.break::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1.4px); background-size: 22px 22px; opacity: 0.5; z-index: 0; }
.break-kicker { position: relative; z-index: 1; font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.82rem; display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.6rem; }
.break-kicker .dot-cream { width: 8px; height: 8px; border-radius: 50%; background: var(--paper); }
.break-line { position: relative; z-index: 1; font-family: var(--disp); font-weight: 700; font-size: clamp(2.6rem, 9vw, 7rem); line-height: 0.94; letter-spacing: -0.035em; color: var(--paper); max-width: 16ch; }
.break-line span { color: var(--espresso); }

/* ---------- SOUND ---------- */
.sound-head { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sound-note { color: var(--ink-2); font-size: 1rem; }
.sound-body { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.player iframe { min-height: 440px; box-shadow: 0 24px 50px -30px rgba(25,19,16,0.7); }
.records { list-style: none; padding: 0; counter-reset: none; border-top: 1px solid var(--line); }
.records li { border-bottom: 1px solid var(--line); }
.records a { display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline; gap: 0.5rem 1rem; padding: 1.15rem 0.4rem; transition: padding .3s var(--ease), background .3s; }
.records a:hover { padding-inline: 1rem 0.4rem; background: linear-gradient(90deg, rgba(193,56,26,0.08), transparent); }
.rec-yr { font-family: var(--disp); font-weight: 600; color: var(--rust); font-size: 0.95rem; }
.rec-name { font-family: var(--disp); font-weight: 620; font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -0.01em; line-height: 1.1; }
.rec-with { grid-column: 2; color: var(--ink-2); font-size: 0.9rem; font-style: italic; }
.rec-go { font-family: var(--disp); color: var(--ink-2); align-self: center; transition: transform .25s var(--ease), color .25s; }
.records a:hover .rec-go { transform: translate(3px,-3px); color: var(--rust); }
.rec-flag .rec-name { color: var(--rust); }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.4rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.platforms span { font-family: var(--disp); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--ink-2); }
.platforms a { font-family: var(--disp); font-weight: 600; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.platforms a:hover { color: var(--rust); border-color: var(--rust); }

/* ---------- COMPANY (dark) ---------- */
.company { background: var(--espresso); color: var(--paper); padding: clamp(3.5rem, 9vw, 7rem) var(--pad); }
.company > .sec-label, .company > .marq-heading, .company > .names { max-width: var(--wrap); margin-inline: auto; }
.marq-heading { font-family: var(--disp); font-weight: 700; font-size: clamp(1.8rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; color: var(--paper); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.names { display: flex; flex-wrap: wrap; gap: 0.4rem 0; align-items: baseline; }
.names span { font-family: var(--disp); font-weight: 600; font-size: clamp(1.5rem, 4.2vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--paper); padding-inline: 0.5rem; transition: color .2s; cursor: default; }
.names span:not(:last-child)::after { content: "·"; color: var(--rust); margin-left: 0.7rem; font-weight: 400; }
.names span:hover { color: var(--clay); }

/* ---------- STUDIO ---------- */
.studio-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.studio-intro { position: sticky; top: 6rem; }
.studio-intro > p { margin: 1.4rem 0 2rem; color: var(--ink-2); max-width: 34ch; }
.studio-aside { margin-top: 2.5rem !important; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--ink-2); max-width: 30ch; }
.offers { list-style: none; padding: 0; margin: 0; }
.offers li { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1.5rem; row-gap: 0.5rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.offers li:last-child { border-bottom: 1px solid var(--line); }
.offer-no { grid-column: 1; grid-row: 1 / span 2; font-family: var(--disp); font-weight: 700; font-size: 1rem; color: var(--rust); }
.offers h3 { grid-column: 2; grid-row: 1; font-family: var(--disp); font-weight: 640; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.01em; }
.offers p { grid-column: 2; grid-row: 2; color: var(--ink-2); max-width: 46ch; }

/* ---------- CONTACT ---------- */
.contact { padding: clamp(3.5rem, 8vw, 7rem) var(--pad); max-width: var(--wrap); margin-inline: auto; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-left { position: sticky; top: 6rem; }
.contact-copy { margin-top: 1.4rem; color: var(--ink-2); max-width: 30ch; }
.contact-direct { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.cd { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); transition: color .2s; }
.cd:last-child { border-bottom: 1px solid var(--line); }
.cd-k { font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--rust); }
.cd-v { font-family: var(--serif); font-style: italic; color: var(--ink-2); }
.cd:hover .cd-v { color: var(--ink); }

.contact-form { background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.fld { display: block; margin-bottom: 1.15rem; }
.fld > span { display: block; font-family: var(--disp); font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink-2); margin-bottom: 0.5rem; }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 0.8rem 0.9rem; transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 110px; }
.fld input::placeholder, .fld textarea::placeholder { color: color-mix(in srgb, var(--ink-2) 60%, transparent); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(193,56,26,0.14); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c1381a' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin-top: 0.9rem; font-family: var(--disp); font-size: 0.9rem; text-align: center; min-height: 1.1em; }
.form-status.ok { color: var(--rust); }
.form-status.err { color: var(--rust-dk); }

/* ---------- COLOPHON ---------- */
.colophon { background: var(--espresso); color: var(--paper); padding: clamp(2.5rem, 6vw, 4rem) var(--pad); }
.colo-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dk); }
.colo-word { font-family: var(--disp); font-weight: 700; font-size: clamp(2.5rem, 9vw, 6rem); line-height: 0.9; letter-spacing: -0.03em; }
.colo-links { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.colo-links a { font-family: var(--disp); font-weight: 500; color: color-mix(in srgb, var(--paper) 78%, transparent); border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.colo-links a:hover { color: var(--clay); border-color: var(--clay); }
.colo-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding-top: 1.4rem; }
.colo-base span { font-family: var(--disp); font-size: 0.8rem; letter-spacing: 0.04em; color: color-mix(in srgb, var(--paper) 62%, transparent); }

/* ---------- reveal + parallax (pure CSS, scroll-driven) ----------
   Uses view() timelines where supported (Chromium, FF). Everywhere else
   content simply shows — nothing is ever hidden by script, so it can't
   get stuck invisible. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .kicker, .wordmark, .standfirst, .cover-actions,
    .lead-body, .sec-label, .story-photo, .story-copy, .break-line,
    .sound-head, .player, .records, .marq-heading, .names,
    .studio-intro, .offers li, .contact-left, .contact-form, .platforms {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 46%;
    }
    @keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

    /* image parallax within their framed figures */
    .story-photo img { height: 114%; animation: para linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes para { from { transform: translateY(-7%); } to { transform: translateY(7%); } }
  }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .topnav { display: none; }
  .burger { display: flex; }
  .cover { grid-template-columns: 1fr; min-height: 0; padding: 1.5rem var(--pad) 0; gap: 1.5rem; }
  .cover-photo { order: -1; }
  .cover-photo img { min-height: 48svh; }
  .cover-edge { display: none; }
  .story-grid, .sound-head, .sound-body, .studio-grid, .contact-grid { grid-template-columns: 1fr; }
  .studio-intro, .contact-left { position: static; }
  .story-photo { aspect-ratio: 16/11; }
  .sound-head { gap: 0.6rem; }
}
@media (max-width: 560px) {
  .fld-row { grid-template-columns: 1fr; }
  .records a { grid-template-columns: 2.6rem 1fr; }
  .rec-go { display: none; }
  .colo-top { flex-direction: column; align-items: flex-start; }
}
