/* listentodev — styles */

@font-face { font-family: "Lora"; src: url("../fonts/lora.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --sand: #F3E9D7;
  --sand-deep: #EADCC3;
  --paper: #FAF4E8;
  --line: #DCC6A0;
  --ink: #3A1E14;
  --ink-soft: #6E4E3C;
  --copper: #A84A24;
  --copper-dark: #8C3C1C;
  --gold: #CBA03E;
  --ember: #E85A2B;
  --plum: #874A8A;
  --rose: #B97F82;
  --night: #2C160E;
  --cream: #FFF8EE;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

*, *::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(--sand); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--copper-dark); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
em { font-style: italic; color: var(--copper); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Serape stripe */
.stripe { display: flex; flex-direction: column; }
.stripe span { height: 4px; }
.stripe span:nth-child(1) { background: var(--gold); }
.stripe span:nth-child(2) { background: var(--ember); }
.stripe span:nth-child(3) { background: var(--copper); }
.stripe span:nth-child(4) { background: var(--plum); }
.stripe span:nth-child(5) { background: var(--rose); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(243, 233, 215, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; color: var(--ink); letter-spacing: -0.01em; }
.logo:hover { color: var(--ink); }
.main-nav { display: flex; gap: 24px; font-size: 15px; }
.main-nav a { color: var(--ink-soft); padding: 10px 0; }
.main-nav a:hover { color: var(--ink); }
.lang { display: flex; gap: 2px; }
.lang button { font: 500 13px/1 var(--sans); letter-spacing: 0.04em; color: var(--ink-soft); background: transparent; border: 1px solid transparent; border-radius: 999px; min-width: 40px; min-height: 36px; padding: 0 8px; cursor: pointer; }
.lang button:hover { color: var(--ink); border-color: var(--line); }
.lang button[aria-pressed="true"] { color: var(--cream); background: var(--ink); border-color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
@media (max-width: 860px) { .main-nav { display: none; } }
@media (max-width: 420px) { .lang button { min-width: 36px; padding: 0 6px; } .site-header .wrap { justify-content: center; padding-top: 8px; padding-bottom: 8px; } }

/* Shared */
section { scroll-margin-top: 80px; }
.band { padding: 96px 0; }
.band--alt { background: var(--sand-deep); }
@media (max-width: 600px) { .band { padding: 64px 0; } }
.eyebrow { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.h2 { margin: 12px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -0.02em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head .note { margin: 0; max-width: 40ch; color: var(--ink-soft); font-size: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 16px/1 var(--sans); cursor: pointer; border: 1.5px solid transparent; }
.btn--solid { background: var(--copper); color: var(--cream); }
.btn--solid:hover { background: var(--copper-dark); color: var(--cream); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--cream); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.03em; max-width: 14ch; }
.hero .lead { margin: 0; max-width: 52ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-sun { flex: 1 1 260px; display: flex; justify-content: center; }
.hero-sun svg { width: 100%; max-width: 360px; height: auto; }
.wave { flex: 1 1 100%; display: flex; align-items: center; gap: 4px; height: 60px; overflow: hidden; }
.wave i { flex: 0 0 5px; border-radius: 3px; }
@media (max-width: 600px) { .hero { padding: 56px 0 48px; } .hero-sun { order: -1; } .hero-sun svg { max-width: 200px; } }

/* Listen */
.tracks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 18px; }
@media (max-width: 1000px) { .tracks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }
.track { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.cover { display: block; width: 100%; aspect-ratio: 1 / 1; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: 10px; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; font: inherit; }
.cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(transparent, rgba(44, 22, 14, .18)); }
.cover:hover, .cover:focus-visible { transform: translateY(-3px); }
.cover:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.track.is-current .cover { box-shadow: 0 0 0 3px var(--ink); }
.cover .play { position: absolute; right: 10px; bottom: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 999px; background: var(--cream); display: flex; align-items: center; justify-content: center; opacity: .94; }
.cover .i-pause { display: none; }
.track.is-playing .i-pause { display: block; }
.track.is-playing .i-play { display: none; }
.cover .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2; background: rgba(44, 22, 14, .15); }
.cover .bar i { display: block; height: 100%; width: 0; background: var(--cream); transition: width .25s linear; }
.track-title { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.track-meta { margin-top: -6px; font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.track-meta:hover { color: var(--copper); text-decoration: underline; }
.player { margin-top: 44px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.player p { margin: 0; flex: 1 1 320px; font-size: 14px; color: var(--ink-soft); }
.player iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; flex: 1 1 100%; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .services { grid-template-columns: minmax(0, 1fr); } }
.service { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.service:nth-child(2) { border-top-color: var(--ember); }
.service:nth-child(3) { border-top-color: var(--copper); }
.service:nth-child(4) { border-top-color: var(--plum); }
.service h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
.service p { margin: 0; color: var(--ink-soft); }
.service .meta { font-size: 14px; color: var(--ink); }
.service .price { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--copper); }
.services-note { margin: 24px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 70ch; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { border-top: 3px solid var(--gold); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step:nth-child(2) { border-color: var(--ember); }
.step:nth-child(3) { border-color: var(--copper); }
.step:nth-child(4) { border-color: var(--plum); }
.step .num { font-family: var(--serif); font-style: italic; font-size: 36px; line-height: 1; color: var(--copper); }
.step h3 { margin: 0; font-size: 19px; font-weight: 600; }
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* About */
.about .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.about figure { margin: 0; flex: 1 1 340px; min-width: 0; }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 16px 16px; }
.about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-text .h2 { font-size: clamp(30px, 3.4vw, 46px); }
.about-text p { margin: 0; color: var(--ink-soft); font-size: 17px; }

/* Contact */
.contact { background: var(--ink); color: var(--sand); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.contact .eyebrow { color: #CDB79A; }
.contact .h2 { color: var(--sand); }
.contact .h2 em { color: var(--gold); }
.contact-main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-main p { margin: 0; color: #CDB79A; font-size: 17px; }
.contact-mail { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); color: var(--gold); word-break: break-word; }
.contact-mail:hover { color: #E3BE63; }
.contact .btn--solid { background: var(--gold); color: var(--ink); align-self: flex-start; }
.contact .btn--solid:hover { background: #E3BE63; color: var(--ink); }
.contact-help { flex: 1 1 300px; min-width: 0; background: #4A2A1D; border-radius: 16px; padding: 28px; }
.contact-help h3 { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--sand); }
.contact-help ul { margin: 0; padding-left: 20px; color: #CDB79A; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }

/* Footer */
.site-footer { background: var(--night); color: #CDB79A; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .logo { color: var(--sand); font-size: 28px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid #6A4433; color: var(--sand); font-size: 15px; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-stripe { display: flex; height: 6px; border-radius: 3px; overflow: hidden; }
.footer-stripe span { flex: 1; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
.footer-bottom a { color: #CDB79A; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--sand); }

/* Legal page */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; margin: 0 0 8px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 48px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 520px) { .legal dl { grid-template-columns: minmax(0, 1fr); } .legal dd { margin-bottom: 8px; } }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
.todo { background: #FBE7A8; color: var(--ink); padding: 0 4px; border-radius: 3px; }
