/* ==========================================================================
   MARA MUSICA — dark, warm, analogue. Blurred rings + grain.
   Display: Unbounded (wide, blocky — closest match to the logo lettering)
   Text:    Inter Tight
   ========================================================================== */

:root {
  --bg: #161210;
  --bg-2: #1d1814;
  --bg-3: #27201b;
  --cream: #efe7da;
  --muted: rgba(239, 231, 218, 0.62);
  --faint: rgba(239, 231, 218, 0.4);
  --line: rgba(239, 231, 218, 0.12);
  --sage: #8fb38e;
  --sage-dark: #77a077;
  --tan: #a88a5c;
  --clay: #8b5a3c;

  --display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius: 10px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);

  color-scheme: dark;
}

*, *::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(--bg);
  color: var(--cream);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* film grain over everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 700; color: var(--sage); }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 1rem; background: var(--cream); color: var(--bg); padding: .5rem 1rem; border-radius: 6px; z-index: 200; }
.skip:focus { left: 1rem; }

.wrap { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 880px; }

/* logo.png / logo-mark.png are cream on transparent (made from logo-original.png) */
.logo-img { display: block; }

/* ---------- blurred rings (from the Instagram look) ---------- */
.rings { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-width: clamp(40px, 7vw, 110px);
  filter: blur(clamp(30px, 5vw, 60px));
  opacity: .5;
}
.ring--a { width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -18vw; top: -12vw; border-color: var(--tan) var(--clay) transparent var(--tan); }
.ring--b { width: 42vw; height: 42vw; max-width: 560px; max-height: 560px; left: -16vw; bottom: -18vw; border-color: var(--clay); opacity: .4; }
.ring--c { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; left: -22vw; top: 10%; border-color: var(--clay) transparent var(--tan) var(--clay); opacity: .35; }
.ring--d { width: 55vw; height: 55vw; max-width: 760px; max-height: 760px; right: -20vw; top: -5%; border-color: var(--tan) transparent var(--clay) var(--tan); opacity: .3; }
.ring--e { width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; left: -18vw; top: -10%; border-color: var(--tan) var(--clay) var(--tan) transparent; opacity: .35; }
.ring--f { width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-color: var(--clay) var(--tan); opacity: .4; }
@media (prefers-reduced-motion: no-preference) {
  .ring--a, .ring--c, .ring--d { animation: drift 28s ease-in-out infinite alternate; }
}
@keyframes drift { to { transform: translate(-3vw, 2vw) rotate(25deg); } }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 1.2rem;
}
.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}
.hl { color: var(--sage); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cream); color: var(--bg);
  font-family: var(--display); font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.6rem;
  border-radius: 6px;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--sage); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.btn--small { padding: .65rem 1rem; font-size: .7rem; }

.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--faint); padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover { border-color: var(--cream); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(22, 18, 16, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.nav__logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.nav__mark { width: 46px; height: auto; }
.nav__logo span { font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a { text-decoration: none; font-size: .92rem; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--cream); }
@media (max-width: 900px) { .nav__links { display: none; } }
@media (max-width: 420px) { .nav__logo span { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 8rem) clamp(3.5rem, 8vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 0 0 1.6rem;
}
.hero__lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); font-weight: 300; color: var(--muted); max-width: 34rem; margin: 0 0 2.4rem; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.hero__logo { display: grid; place-items: center; }
.hero__logo img { width: 100%; max-width: 440px; height: auto; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__logo { order: -1; justify-items: start; }
  .hero__logo img { max-width: 240px; }
}

/* ---------- accolades ---------- */
.accolades { background: var(--bg-2); border-block: 1px solid var(--line); }
.accolades__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.accolades__list li { padding: 2rem 1.5rem; border-left: 1px solid var(--line); }
.accolades__list li:first-child { border-left: 0; padding-left: 0; }
.accolade__fig { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.1; margin-bottom: .45rem; }
.accolade__label { color: var(--muted); font-size: .95rem; line-height: 1.4; }
@media (max-width: 860px) {
  .accolades__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accolades__list li { padding: 1.5rem 1rem; }
  .accolades__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .accolades__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- statement ---------- */
.statement { padding-block: var(--section); text-align: center; }
.statement__text {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.7rem); line-height: 1.22; letter-spacing: -.025em;
  margin: 0;
}

/* ---------- sections ---------- */
.section { position: relative; padding-block: var(--section); }
.section--alt { background: var(--bg-2); }
.section--rings, .book-section, .final { overflow: hidden; }
.section__head { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section__sub { color: var(--muted); font-size: 1.1rem; font-weight: 300; margin: 0; }

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }
.work {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .3s ease, border-color .3s ease;
}
.work:hover { transform: translateY(-3px); border-color: rgba(239, 231, 218, .25); }
.work__art { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: var(--bg); position: relative; }
.work__art::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; border: 28px solid var(--c, var(--tan)); filter: blur(22px); opacity: .7; }
.work__art--1 { --c: var(--tan); }
.work__art--2 { --c: var(--clay); }
.work__art--3 { --c: var(--sage-dark); }
.work__art--4 { --c: #9a7a52; }
.work__wave { position: relative; width: 70%; height: 40%; opacity: .85; }
.work__embed { border-radius: 12px; overflow: hidden; }
.work__embed iframe { display: block; width: 100%; border: 0; }
.work__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.work__title { font-family: var(--display); font-size: 1.2rem; font-weight: 600; margin: 0; line-height: 1.2; letter-spacing: -.01em; }
.work__artist { color: var(--muted); margin: .2rem 0 0; font-size: .95rem; }
.work__role { font-family: var(--display); font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.work__story { margin: 0; color: var(--muted); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: .78rem; padding: .25rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: rgba(29, 24, 20, .7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.step__num { font-family: var(--display); font-weight: 700; color: var(--sage); font-size: .8rem; letter-spacing: .1em; }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; margin: .8rem 0 .7rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }
.step__aside { margin-top: .9rem !important; font-style: italic; font-size: .88rem !important; color: var(--faint) !important; }

.pullquote { margin: clamp(3.5rem, 7vw, 5.5rem) auto 0; max-width: 52rem; text-align: center; }
.pullquote p { font-weight: 300; font-style: italic; font-size: clamp(1.3rem, 2.8vw, 1.9rem); line-height: 1.4; margin: 0; }

/* ---------- fit ---------- */
.fit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.25rem; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } }
.fit__col { border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); }
.fit__col h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 0 0 1.3rem; }
.fit__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.fit__col li { position: relative; padding-left: 1.9rem; }
.fit__col--yes { background: var(--bg-3); }
.fit__col--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.fit__col--no li { color: var(--muted); }
.fit__col--no li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }
.fit__note { font-family: var(--display); font-weight: 500; font-size: 1rem; margin: 1.6rem 0 0; color: var(--sage); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about__photo { margin: 0; position: sticky; top: 6.5rem; padding: .7rem .7rem 2.6rem; background: #e9e1d3; border-radius: 4px; transform: rotate(-2deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.about__photo img { width: 100%; height: auto; filter: saturate(.9) contrast(1.02); }
@media (max-width: 860px) { .about__photo { position: relative; top: 0; max-width: 440px; } }
.about__text p { margin: 0 0 1.1rem; color: var(--muted); }
.about__text p em { color: var(--cream); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: 2.2rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: .3rem 0 0; font-family: var(--display); font-weight: 500; font-size: 1rem; }

/* ---------- press ---------- */
.press { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1.25rem; }
.press__item {
  display: flex; flex-direction: column; gap: 2.5rem; justify-content: space-between;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; text-decoration: none; min-height: 220px;
  transition: border-color .25s, transform .25s;
}
a.press__item:hover { border-color: var(--sage); transform: translateY(-3px); }
.press__outlet { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.1; }
.press__date { display: block; font-size: .8rem; color: var(--faint); margin-top: .4rem; }
.press__title { margin: 0; color: var(--muted); }
.press__more { font-family: var(--display); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-top: .6rem; display: block; }

/* ---------- discography ---------- */
.platforms { display: flex; flex-wrap: wrap; gap: .6rem; }
.platforms a {
  font-family: var(--display); font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .2s, color .2s;
}
.platforms a:hover { border-color: var(--sage); color: var(--sage); }
.disco { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.disco--no-playlist { grid-template-columns: 1fr; }
@media (max-width: 900px) { .disco { grid-template-columns: 1fr; } }
.disco__playlist iframe { display: block; width: 100%; height: 480px; border: 0; border-radius: 12px; }
.disco__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.disco__row {
  display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 1rem; align-items: center;
  padding: 1.05rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background .2s, padding .2s;
}
a.disco__row:hover { background: rgba(239, 231, 218, .04); padding-inline: .75rem; }
.disco__year { font-family: var(--display); font-size: .75rem; color: var(--faint); }
.disco__title { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.disco__artist { color: var(--muted); font-size: .92rem; }
.disco__role { font-size: .8rem; color: var(--sage); text-align: right; }
.disco__arrow { color: var(--faint); margin-left: .5rem; }
@media (max-width: 520px) {
  .disco__row { grid-template-columns: 2.8rem 1fr; }
  .disco__role { grid-column: 2; text-align: left; }
}

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.quote { margin: 0; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.quote p { font-weight: 300; font-size: 1.2rem; line-height: 1.45; margin: 0 0 1.2rem; }
.quote cite { font-style: normal; font-family: var(--display); font-weight: 600; font-size: .8rem; }
.quote cite span { display: block; font-family: var(--text); font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: .2rem; }

/* ---------- book ---------- */
.book { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } }
.book__intro p { color: var(--muted); }
.book__list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: .9rem; }
.book__list li { display: flex; gap: 1rem; align-items: baseline; }
.book__list span { font-family: var(--display); font-weight: 700; font-size: .72rem; color: var(--sage); min-width: 1.6rem; }
.book__alt { font-size: .95rem; }
.book__alt a { color: var(--cream); }
.book__embed { background: #fff; border-radius: var(--radius); overflow: hidden; min-height: 640px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.book__embed iframe { display: block; width: 100%; height: 720px; border: 0; }
.book__embed--fallback { background: var(--bg-3); border: 1px solid var(--line); }
.book__fallback { min-height: 640px; display: grid; place-items: center; text-align: center; padding: 2.5rem; }
.book__fallback h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin: 0 0 .75rem; }
.book__fallback p { color: var(--muted); max-width: 26rem; margin: 0 auto 1.6rem; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--display); font-weight: 500; font-size: clamp(.95rem, 1.7vw, 1.1rem); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--text); font-weight: 300; font-size: 1.7rem; color: var(--sage); transition: transform .25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.5rem; color: var(--muted); max-width: 44rem; }

/* ---------- final ---------- */
.final { position: relative; padding-block: clamp(6rem, 14vw, 11rem); text-align: center; }
.final__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3.8vw, 2.9rem); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 2.4rem; }

/* ---------- footer ---------- */
.footer { background: #100d0b; color: var(--muted); padding-block: 3rem calc(3rem + env(safe-area-inset-bottom, 0px)); font-size: .92rem; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__mark { width: 60px; height: auto; }
.footer__name { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--cream); margin: 0; }
.footer__tag { margin: .15rem 0 0; }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 0; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--cream); }
.footer__copy { margin: 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
