/* The Shadow Lawn has its own identity. Main-site CSS is intentionally not loaded. */
:root {
  --ocean: #102b2e;
  --ocean-deep: #092329;
  --cream: #f3eee3;
  --paper: #f4f0e7;
  --ink: #163b3e;
  --muted: #476265;
  --sea-glass: #b9d4c8;
  --light-muted: #c5d6d4;
  --line: #aab8af;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
  --page-width: 1240px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--ocean-deep); color: var(--cream); font: 400 .9rem/1.8 var(--sans); }
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 4vw, 4.25rem); }
h3 { font-size: 1.6rem; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button:disabled, input:disabled { cursor: default; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { background: var(--sea-glass); color: var(--ocean); }
.container { width: calc(100% - var(--gutter) * 2); max-width: var(--page-width); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 10; top: -10rem; left: 1rem; background: var(--cream); color: var(--ink); padding: 1rem; }
.skip-link:focus { top: 1rem; }
.eyebrow { font: 600 .65rem/1.8 var(--sans); text-transform: uppercase; letter-spacing: .22em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 48px; padding: .85rem 1.6rem; text-decoration: none; font: 600 1.15rem/1.25 var(--serif); border: 1px solid var(--light-muted); }
.button:hover { background: var(--cream); color: var(--ocean-deep); }
.button-filled { background: var(--sea-glass); color: var(--ocean-deep); border-color: var(--sea-glass); }
.button span { font: 400 .95rem/1 var(--sans); }

/* Header and illustrated hero use the three original artwork assets. */
.ocean-intro { background: var(--ocean-deep); overflow: clip; }
.site-header { position: relative; z-index: 4; display: flex; gap: 2rem; align-items: center; justify-content: space-between; padding-block: 1.2rem; border-bottom: 1px solid #c5d6d430; }
.wordmark { font: 500 1.9rem/1 var(--serif); letter-spacing: -.035em; text-decoration: none; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; }
.desktop-nav > a:not(.button) { font-size: .75rem; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.desktop-nav .button { font-size: 1rem; min-height: 44px; padding: .5rem 1.3rem; }
.mobile-menu { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr); align-items: center; position: relative; padding-block: 2.5rem 2rem; }
.hero::before { content: ''; position: absolute; z-index: 0; inset: -1px calc(-1 * var(--gutter)) 0; background: linear-gradient(90deg, #092329db 0%, #092329cc 35%, #09232955 100%), url('../assets/images/art-background.jpg') center 45% / cover; opacity: .5; }
.hero-copy { position: relative; z-index: 2; padding-block: 2rem; }
.hero .eyebrow { color: var(--light-muted); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(4.25rem, 7.9vw, 7.5rem); line-height: .91; font-weight: 400; margin-bottom: 1.4rem; }
.hero-intro { max-width: 31rem; font: 400 clamp(1.15rem, 1.6vw, 1.5rem)/1.4 var(--serif); text-wrap: pretty; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-art { position: relative; min-width: 0; margin: -1rem -3rem -3rem -1rem; align-self: center; }
.hero-art img { position: relative; width: 100%; z-index: 1; }
.art-mist { position: absolute; inset: 4% -5% 3% -6%; background: url('../assets/images/art-background.jpg') center / cover; mask-image: radial-gradient(ellipse 52% 53%, #000 45%, transparent 100%); }
.hero-art figcaption { position: absolute; z-index: 2; right: 2rem; bottom: 3.5rem; font: 400 .8rem/1.5 var(--serif); }
.hero-art figcaption a { text-decoration: none; }

/* Album story and cover keep the full original copy and artwork attribution. */
.paper { position: relative; background: var(--paper); color: var(--ink); }
.paper::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: url('../assets/images/art-background.jpg') center / 100% auto; opacity: .035; }
.about, .listen { position: relative; }
.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; padding-block: 4.5rem; }
.about-copy .eyebrow { color: var(--muted); margin-bottom: .7rem; }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy > p:not(.eyebrow) { font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; }
.about-copy > p + p { margin-top: 1rem; }
.about-copy strong { font-weight: 600; }
.album { max-width: 24rem; justify-self: end; width: 100%; }
.album-art-link { display: block; }
.album-art-link img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.album figcaption { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: start; margin-top: .75rem; }
.artist-attribution { font: 400 .85rem/1.5 var(--serif); }
.artist-attribution a { text-decoration: none; }
.text-link { font: 600 .85rem/1.5 var(--serif); display: inline-flex; gap: 1rem; min-height: 44px; align-items: start; }
.text-link span { font-family: var(--sans); }

/* Three preview rows: accessible native audio is the no-JavaScript fallback. */
.listen { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--line); padding-block: 3rem 4rem; }
.listen-heading .eyebrow { color: var(--muted); margin-bottom: .75rem; }
.listen-heading h2 { font-size: clamp(2.5rem, 3.6vw, 3.75rem); margin-bottom: 1rem; }
.listen-heading > p:last-child { font: 400 1.15rem/1.5 var(--serif); }
.samples { min-width: 0; }
.sample-list { list-style: none; padding: 0; }
.sample { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); align-items: center; }
.sample:first-child { border-top: 1px solid var(--line); }
.sample > audio { grid-column: 1 / -1; width: 100%; min-width: 0; margin-top: .5rem; }
.sample.enhanced { grid-template-columns: 48px 1rem minmax(0, 1fr) minmax(6rem, .7fr); gap: .75rem; }
.sample-number { font: 600 .6rem/1 var(--sans); letter-spacing: .06em; align-self: center; }
.sample-desc h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.sample-desc p { font: 400 1rem/1.35 var(--serif); color: var(--muted); margin-top: .35rem; }
.preview-toggle { width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.preview-toggle:hover, .preview-toggle[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.play-symbol { display: block; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; margin-left: 3px; }
.preview-toggle[aria-pressed='true'] .play-symbol { width: 9px; height: 12px; border: 0; border-inline: 3px solid currentColor; margin-left: 0; }
.preview-progress { min-width: 0; }
.waveform { --progress: 0%; position: relative; height: 36px; }
.waveform::before { content: ''; position: absolute; inset: 0; mask: var(--waveform) center / 100% 100% no-repeat; background: linear-gradient(to right, var(--ink) 0 var(--progress), #91b7ae var(--progress) 100%); }
.preview-seek { appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent; color: var(--ink); cursor: pointer; border: 0; border-radius: 0; }
.preview-seek:disabled { opacity: .65; }
.preview-seek::-webkit-slider-runnable-track { background: transparent; }
.preview-seek::-moz-range-track { background: transparent; }
.preview-seek::-webkit-slider-thumb { appearance: none; width: 3px; height: 36px; background: transparent; }
.preview-seek::-moz-range-thumb { width: 3px; height: 36px; background: transparent; border: 0; border-radius: 0; }
.preview-seek:focus-visible::-webkit-slider-thumb { background: var(--ink); }
.preview-seek:focus-visible::-moz-range-thumb { background: var(--ink); }
.preview-time { display: block; text-align: right; color: var(--muted); font: 400 .55rem/1.5 var(--sans); margin-top: .35rem; font-variant-numeric: tabular-nums; }
.preview-status { font-size: .75rem; line-height: 1.5; margin-top: .75rem; }
.preview-status:empty { margin: 0; }

/* Project footer retains every existing social link and the Chris Brind logo. */
#section-footer { background: var(--ocean-deep); }
.connect { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-block: 2.5rem; }
.connect .eyebrow { font-size: .6rem; color: var(--light-muted); margin-bottom: .5rem; }
.connect h2 { font-size: clamp(2.4rem, 3.5vw, 3.5rem); font-weight: 400; }
.social-list { display: flex; list-style: none; padding: 0; gap: 1.5rem; flex-wrap: wrap; }
.social-list a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font: 400 .95rem/1.5 var(--serif); text-decoration: none; }
.icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; mask-position: center; mask-repeat: no-repeat; mask-size: contain; background: currentColor; }
.icon-instagram { mask-image: url('/assets/images/icon/instagram.svg'); }
.icon-tiktok { mask-image: url('/assets/images/icon/tiktok.svg'); }
.icon-mastodon { mask-image: url('/assets/images/icon/mastodon.svg'); }
.icon-bandcamp { mask-image: url('/assets/images/icon/bandcamp.svg'); }
.footer-bottom { border-top: 1px solid #c5d6d430; padding-block: 1rem 1.5rem; display: flex; align-items: center; gap: 2rem; justify-content: space-between; font: 400 .8rem/1.5 var(--serif); color: var(--light-muted); }
.footer-link { display: flex; align-items: center; gap: 1rem; text-decoration: none; min-height: 44px; }
.footer-link img { width: 80px; height: auto; }

@media (max-width: 64rem) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .hero-art { margin-right: -2rem; }
  .hero-actions { gap: .75rem; }
  .hero-actions .button { padding-inline: 1rem; font-size: 1.05rem; }
  .about { gap: 3rem; }
  .listen { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 2rem; }
  .sample.enhanced { grid-template-columns: 44px 1rem minmax(0, 1fr); }
  .preview-progress { grid-column: 3; }
  .connect { align-items: start; }
  .social-list { gap: .5rem 1rem; }
  .footer-bottom { flex-wrap: wrap; gap: .75rem 1.5rem; }
}
@media (max-width: 44rem) {
  :root { --gutter: 1.5rem; }
  .site-header { padding-block: 1rem; }
  .wordmark { font-size: 1.6rem; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-symbol { width: 22px; height: 16px; border-block: 1px solid; position: relative; }
  .menu-symbol::after { content: ''; position: absolute; top: 6px; left: 0; right: 0; border-top: 1px solid; }
  .mobile-menu nav { position: absolute; inset: 100% 0 auto; z-index: 5; display: grid; background: var(--ocean-deep); border: 1px solid #c5d6d450; padding: .75rem; }
  .mobile-menu nav a { padding: .75rem; min-height: 44px; text-decoration: none; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 2rem; padding-bottom: 2rem; }
  .hero::before { background-position: center top; }
  .hero-copy { display: contents; }
  .hero .eyebrow { position: relative; z-index: 2; grid-row: 1; text-align: center; font-size: .55rem; margin-bottom: .7rem; }
  .hero h1 { position: relative; z-index: 2; grid-row: 2; text-align: center; font-size: clamp(3.3rem, 13vw, 5rem); line-height: .96; margin-bottom: .5rem; }
  .hero h1 br:nth-child(2) { display: none; }
  .hero h1 br:nth-child(2)::after { content: ' '; }
  .hero-art { grid-row: 3; margin: -2rem -1.5rem .5rem; }
  .hero-art figcaption { position: relative; right: auto; bottom: auto; text-align: center; margin-top: -1.5rem; font-size: .75rem; }
  .hero-intro { position: relative; z-index: 2; grid-row: 4; text-align: center; font-size: 1.25rem; margin-top: 1rem; }
  .hero-actions { position: relative; z-index: 2; grid-row: 5; display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: 1.5rem; }
  .hero-actions .button { justify-content: center; font-size: 1.15rem; }
  .about { grid-template-columns: minmax(0, 1fr); padding-block: 3rem; gap: 2rem; }
  .about-copy h2 { font-size: 3rem; }
  .about-copy > p:not(.eyebrow) { font-size: 1.2rem; }
  .album { justify-self: center; width: min(100%, 22rem); }
  .listen { grid-template-columns: minmax(0, 1fr); padding-block: 2.5rem 3rem; gap: 1.5rem; }
  .listen-heading h2 { font-size: 2.75rem; }
  .sample.enhanced { gap: .5rem .75rem; }
  .sample-desc h3 { font-size: 1.3rem; }
  .sample-desc p { font-size: .95rem; }
  .connect { flex-direction: column; gap: 1.5rem; padding-block: 2rem; }
  .social-list { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 2rem; }
  .footer-bottom { align-items: start; flex-direction: column; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
