/* site.css — shared style for the landing and album pages.
   Landing is neutral monochrome; each album page sets its own theme via a body class. */
@font-face { font-family: "Inter"; src: url("/fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Cormorant Garamond (SIL OFL 1.1, fonts/CormorantGaramond-OFL.txt), latin + latin-ext for Turkish */
@font-face { font-family: "Cormorant Garamond"; font-weight: 300; font-display: swap; src: url("/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 300; font-display: swap; src: url("/fonts/cormorant-garamond-latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Cry Ankle (custom lettering by the artist) — A–Z, a–z only; other glyphs fall back to Inter */
@font-face { font-family: "Cry Ankle"; font-weight: 400; font-display: swap; src: url("/fonts/cry-ankle.woff2") format("woff2"), url("/fonts/cry-ankle.ttf") format("truetype"); }

:root { --paper: #f4f4f1; --ink: #111113; --mid: rgba(17,17,19,.5); --line: rgba(17,17,19,.12); --ease: cubic-bezier(.2,.7,.2,1);
  --cry-font: "Cry Ankle", "Inter", sans-serif;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif; font-feature-settings: "cv11" 1; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; margin: 0; }
body { background: var(--paper); color: var(--ink); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  padding: max(1.5rem, env(safe-area-inset-top)) clamp(1.25rem, 5vw, 4rem) max(1.5rem, env(safe-area-inset-bottom)); }
a { color: inherit; text-decoration: none; }
.eyebrow { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--mid); }
h1 { font-weight: 800; letter-spacing: -.055em; line-height: .88; font-size: clamp(4rem, 16vw, 13rem); animation: rise 1.2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(.15em); } }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* album list: distinguished by typography only */
.albums { list-style: none; padding: 0; margin-top: clamp(2rem, 6vh, 4rem); border-top: 1px solid var(--line); }
.albums li { border-bottom: 1px solid var(--line); animation: rise 1s var(--ease) both; }
.albums li:nth-child(2) { animation-delay: .08s; } .albums li:nth-child(3) { animation-delay: .16s; }
.albums a { display: grid; grid-template-columns: 1fr; align-items: baseline; gap: 1rem; padding: clamp(.9rem, 2.4vh, 1.4rem) 0; position: relative; }
.albums .t { font-size: clamp(1.5rem, 4.4vw, 2.8rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.albums .t.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; font-size: clamp(1.8rem, 5.2vw, 3.3rem); line-height: 1; }
.albums .t.cry-font { font-family: var(--cry-font); font-weight: 400; letter-spacing: .01em; font-size: clamp(1.7rem, 5vw, 3.1rem); line-height: 1.05; }
.albums .t.mono { font-weight: 500; letter-spacing: -.02em; }
.albums a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.albums:hover a:not(:hover) .t { opacity: .35; }
.albums a:hover .t, .albums a:focus-visible .t { transform: translateX(.5rem); }
.albums a:hover::before, .albums a:focus-visible::before { transform: scaleX(1); }
.albums a:focus-visible { outline: none; }

/* album pages */
.back { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -10px 0 0 -12px; border-radius: 50%; font-size: 1.35rem; line-height: 1; color: var(--mid);
  transition: color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease); }
.back:hover, .back:focus-visible { color: var(--ink); background: var(--line); transform: translateX(-2px); outline: none; }
.album h1 { font-size: clamp(3rem, 12vw, 9rem); margin-top: .6rem; }
.soon { margin-top: 1.4rem; font-size: clamp(1rem, 2.4vw, 1.3rem); font-weight: 500; color: var(--mid); }

/* /apocalypse-forever/ — colours sampled from the cover: dusty pink paper + black ink */
.apocalypse { --paper: #E3C0B7; --ink: #2B1B1A; --mid: rgba(43,27,26,.74); --line: rgba(43,27,26,.22);
  background: radial-gradient(120% 90% at 20% 10%, #E8C9C1 0%, transparent 60%), radial-gradient(90% 80% at 85% 90%, #D9B0A6 0%, transparent 65%), var(--paper); }
.apocalypse::after { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .28; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .2 0 0 0 0 .2 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.apocalypse h1 { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; line-height: .95; font-size: clamp(2.8rem, 6vw, 5.8rem); margin: 0; }
.apocalypse .cover { box-shadow: 0 30px 60px -30px rgba(60,25,25,.45); }
.apocalypse .soon { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; letter-spacing: .03em; margin: 0; color: var(--mid); }
/* album player (apocalypse) */
.apocalypse .meta { gap: 1.2rem; }
.player { width: 100%; max-width: 30rem; }
.player button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.player .ctl { display: flex; align-items: center; gap: .15rem; }
.player .ctl button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; margin-left: -6px; transition: background .3s var(--ease), transform .2s var(--ease); }
.player .ctl button:hover, .player .ctl button:focus-visible { background: var(--line); outline: none; }
.player .ctl button:active { transform: scale(.92); }
.player svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
#af-play .i-pause, #af-play.playing .i-play { display: none; } #af-play.playing .i-pause { display: inline; }
.player .now { font-family: var(--serif); font-size: 1.15rem; margin-left: .6rem; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .time { font-size: .72rem; font-variant-numeric: tabular-nums; color: var(--mid); white-space: nowrap; }
.player .seek { height: 18px; display: flex; align-items: center; cursor: pointer; position: relative; margin: .2rem 0 .6rem; outline: none; }
.player .seek::before { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.player .seek:focus-visible::before { background: var(--mid); }
#af-bar { height: 1px; background: var(--ink); width: 0; position: relative; }
.tracks { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.tracks li { border-bottom: 1px solid var(--line); }
.tracks button { width: 100%; display: grid; grid-template-columns: 1.6rem 1fr auto; align-items: baseline; gap: .5rem; padding: .42rem 0; text-align: left;
  font-family: var(--serif); font-size: 1.12rem; color: var(--mid); transition: color .3s var(--ease), transform .4s var(--ease); }
.tracks .n, .tracks .d { font-family: "Inter", sans-serif; font-size: .7rem; font-variant-numeric: tabular-nums; }
.tracks button:hover, .tracks button:focus-visible { color: var(--ink); outline: none; }
.tracks button.on { color: var(--ink); font-weight: 400; }
.tracks button.on .tt { transform: translateX(.25rem); display: inline-block; transition: transform .4s var(--ease); }
.apocalypse .soon { font-size: 1rem; }
@media (max-width: 760px) { .player { max-width: none; } .apocalypse h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); } }



/* /cry-ankle/ — colours sampled from the cover: lettering lavender (deepened for contrast) + paper yellow */
.cry { --paper: #74647A; --ink: #F1EEC5; --mid: rgba(241,238,197,.62); --line: rgba(241,238,197,.2); }
.release main { display: grid; grid-template-columns: min(72vh, 52vw, 760px) minmax(16rem, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding: 1.5rem 0; }
.release .cover { width: 100%; height: auto; aspect-ratio: 1; display: block; box-shadow: 0 30px 60px -30px rgba(20,10,25,.55); animation: rise 1.2s var(--ease) both; }
.release .meta { display: flex; flex-direction: column; gap: 1.6rem; }
.cry h1 { font-family: var(--cry-font); font-weight: 400; letter-spacing: .01em; line-height: .95; font-size: clamp(3rem, 7vw, 6.5rem); margin: 0; }
.release .links { max-width: 20rem; }
.links { display: flex; flex-direction: column; gap: .6rem; }
.links a { display: inline-flex; justify-content: space-between; gap: 2rem; padding: .8rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.links a:hover, .links a:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-1px); outline: none; }
@media (max-width: 760px) {
  .release main { grid-template-columns: 1fr; justify-items: center; }
  .release .cover { width: 100%; }
  .release .meta { width: 100%; }
  .cry h1 { font-size: clamp(2.6rem, 14vw, 4.5rem); }
  .release .links { max-width: none; }
}
