/* harpy.love: one stylesheet for the whole site.
   Direction: pearlescent plumage, dark atmosphere, predatory confidence.
   The interface is deliberately quiet so the imagery carries the opalescence: near-black
   surfaces, pearl type, one cool blue accent, and deep red for the subscribe action only.
   One typeface (Manrope) in two weights and four roles: display, heading, body, metadata.
   No gradients, glows or decorative motion. */
@font-face { font-family: Manrope; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --background: #080A0F;
  --surface: #121620;
  --foreground: #F1F0EC;
  --muted: #A5ADBA;
  --accent: #B9D8E8;
  --emphasis: #A92D43;
  --line: #262C3A;                       /* borders, only where they group or mark a control */
  --font: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: clamp(3rem, 8vw, 5.5rem);
  --heading: 1.5rem;
  --body: 1.0625rem;
  --metadata: .8125rem;
  --wide: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { background: var(--background); color: var(--foreground); font: 400 var(--body)/1.6 var(--font); }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; }
h1 { font: 700 var(--display)/1 var(--font); letter-spacing: -.03em; }
h2 { font: 700 var(--heading)/1.2 var(--font); letter-spacing: -.01em; }
.meta { font-size: var(--metadata); color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- controls ---- */
.btn { display: inline-block; font: 700 1rem/1 var(--font); text-decoration: none; text-align: center; color: var(--foreground); background: transparent;
  border: 1px solid var(--muted); border-radius: var(--radius); padding: .9rem 1.4rem; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { border-color: var(--foreground); background: var(--surface); }
.btn:active { background: var(--line); }
.btn.primary { background: var(--emphasis); border-color: var(--emphasis); }
.btn.primary:hover { background: #BF3550; border-color: #BF3550; }
.btn.primary:active { background: #8F2437; border-color: #8F2437; }
.btn.small { padding: .6rem 1rem; font-size: .9375rem; }
.btn[aria-disabled="true"] { color: var(--muted); border-color: var(--line); pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---- age confirmation ---- */
.gate { position: fixed; inset: 0; z-index: 10; display: none; place-items: center; padding: var(--gutter); background: var(--background); }
.gated .gate { display: grid; }
.gated #site { visibility: hidden; height: 100vh; overflow: hidden; }
.gate-in { max-width: 28rem; display: grid; gap: 1rem; }
.gate h1 { font-size: 2.25rem; letter-spacing: -.02em; line-height: 1.1; }
.gate .actions { margin-top: .5rem; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1.5rem; padding: .75rem var(--gutter); background: var(--background); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; text-decoration: none; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); padding: .4rem 0; }
.nav a:hover { color: var(--foreground); }

/* ---- introduction: text on the left, one large image on the right ---- */
.intro { max-width: var(--wide); margin: 0 auto; padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end; }
.intro-text { display: grid; gap: 1rem; padding-bottom: clamp(0rem, 3vw, 2.5rem); max-width: 30rem; }
.intro-text .lede { font-weight: 700; font-size: var(--heading); line-height: 1.2; }
.intro-text .actions { margin-top: .75rem; }
.intro-image { position: relative; aspect-ratio: 4 / 5; max-height: 76vh; width: 100%; justify-self: end; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.intro-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.intro-image svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---- sections ---- */
.band { max-width: var(--wide); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter); }
.band-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }

/* previews */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { font: 400 .9375rem/1 var(--font); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: .55rem .9rem; cursor: pointer; }
.filter:hover { color: var(--foreground); border-color: var(--muted); }
.filter[aria-pressed="true"] { color: var(--background); background: var(--foreground); border-color: var(--foreground); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 2rem 1.25rem; }
.item { display: block; text-decoration: none; }
.item-media { position: relative; aspect-ratio: 16 / 9; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.item-media img, .item-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item-title { display: block; font-weight: 700; margin-top: .75rem; line-height: 1.3; }
.item .meta { display: block; margin-top: .2rem; }
a.item:hover .item-title { color: var(--accent); }
a.item:hover .item-media { outline: 1px solid var(--accent); }
/* the newest post, shown large */
.feature { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(1rem, 3vw, 2.5rem); align-items: end; margin-bottom: 2.5rem; }
.feature .item-title { font-size: var(--heading); margin-top: 0; }
.feature .meta { margin-top: .5rem; }
.notice { color: var(--muted); max-width: 34rem; }
.notice a { color: var(--accent); }

/* streams */
.streams { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; }
.stream-screen { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--surface); border-radius: var(--radius); overflow: hidden; color: var(--muted); text-align: center; padding: 1.5rem; }
.stream-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stream-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .75rem; }
.stream-bar b { font-weight: 700; }
.stream-bar a { color: var(--accent); }
.live { color: var(--emphasis); font-weight: 700; font-size: var(--metadata); }

/* about and links */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 2.5rem clamp(2rem, 6vw, 5rem); }
.about h2 { margin-bottom: 1rem; }
.plain li { padding: .6rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.plain li:first-child { border-top: 0; padding-top: 0; }
.places li { border-top: 1px solid var(--line); }
.places li:first-child { border-top: 0; }
.places a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .7rem 0; text-decoration: none; }
.places li:first-child a { padding-top: 0; }
.places b { font-weight: 700; }
.places a:hover b { color: var(--accent); }

/* footer */
.foot { max-width: var(--wide); margin: 0 auto; padding: 2rem var(--gutter) 3.5rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.foot p { max-width: 44rem; }

/* ---- small screens: image first with a deliberate crop, the action right under the intro ---- */
@media (max-width: 48rem) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .intro { grid-template-columns: 1fr; align-items: start; padding-top: 1rem; }
  .intro-image { order: -1; aspect-ratio: 5 / 4; max-height: 46vh; }
  .intro-text { padding-bottom: 0; }
  .intro-text .actions .btn { flex: 1 1 10rem; }
  .feature { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
