/* =========================================================
   BRIARGHAST — gothic rock site styles
   ========================================================= */

:root {
  --void: #0a0809;
  --crypt: #141012;
  --crypt-2: #1d1719;
  --bone: #e8dcc4;
  --bone-dim: #b9ad97;
  --ash: #8a7f76;
  --blood: #8b0f1a;
  --blood-bright: #b3141f;
  --ember: #e0532f;
  --candle: #d9a441;
  --line: rgba(232, 220, 196, 0.12);

  --font-display: "Pirata One", "UnifrakturCook", serif;
  --font-head: "Cinzel", "Trajan Pro", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;

  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--candle); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ember); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--blood); color: var(--bone); padding: .5em 1em; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--candle); outline-offset: 3px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(10, 8, 9, .88);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--bone); font-family: var(--font-display); font-size: 1.9rem; letter-spacing: .03em; }
.brand img { width: 34px; height: auto; border-radius: 0; filter: drop-shadow(0 0 6px rgba(139, 15, 26, .7)); }
.brand:hover { color: var(--bone); }

.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bone-dim); position: relative; padding: .4em 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px;
  background: var(--blood-bright); transition: width .3s, left .3s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--bone); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; left: 0; }

.nav-toggle { display: none; background: none; border: 0; color: var(--bone); cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(10, 8, 9, .97); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 1.1em var(--gutter); }
  .nav-open .nav-links { max-height: 80vh; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-open .site-header { background: rgba(10, 8, 9, .97); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-size: .85rem; letter-spacing: .22em; text-transform: uppercase;
  padding: 1em 1.8em; border: 1px solid var(--blood-bright); color: var(--bone);
  background: linear-gradient(180deg, rgba(179, 20, 31, .9), rgba(110, 10, 20, .9));
  border-radius: var(--radius); cursor: pointer; transition: box-shadow .3s, transform .2s, background .3s;
  box-shadow: 0 0 0 rgba(224, 83, 47, 0);
}
.btn:hover { color: var(--bone); box-shadow: 0 0 24px rgba(224, 83, 47, .45); transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: var(--bone-dim); }
.btn.ghost:hover { border-color: var(--bone); box-shadow: 0 0 20px rgba(232, 220, 196, .15); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  overflow: hidden; isolation: isolate;
  padding: 100px var(--gutter) 80px;
}
.hero-bg {
  position: absolute; inset: -4%; z-index: -3;
  background: url("../img/pd/hero-abbey.jpg") center 60% / cover no-repeat;
  filter: grayscale(.55) contrast(1.15) brightness(.55) sepia(.25);
  transform: scale(1.05);
  animation: slowzoom 40s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(139, 15, 26, .25), transparent 60%),
    linear-gradient(180deg, rgba(10, 8, 9, .55) 0%, rgba(10, 8, 9, .2) 40%, rgba(10, 8, 9, .95) 100%);
}
.fog { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fog i {
  position: absolute; bottom: -10%; left: -50%; width: 200%; height: 60%;
  background: radial-gradient(ellipse at center, rgba(232, 220, 196, .12), transparent 65%);
  filter: blur(20px);
  animation: drift 38s linear infinite;
}
.fog i:nth-child(2) { bottom: 5%; opacity: .7; animation-duration: 55s; animation-direction: reverse; }
.fog i:nth-child(3) { bottom: -20%; height: 45%; opacity: .9; animation-duration: 28s; }

#embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero-mask {
  position: relative; width: clamp(150px, 20vw, 230px); margin: 0 auto 1.2rem;
  filter: drop-shadow(0 0 30px rgba(139, 15, 26, .6)) drop-shadow(0 18px 24px rgba(0, 0, 0, .6));
  animation: float 7s ease-in-out infinite;
}
.hero-mask img { width: 100%; }
/* glow sits over the photo's eye holes; positions are % of the mask image */
.hero-mask .eye-glow {
  position: absolute; top: 49%; width: 17%; height: 8%; transform: translate(-50%, -50%);
  border-radius: 50%; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 70, 40, .85) 0%, rgba(179, 20, 31, .5) 40%, transparent 72%);
  animation: eyepulse 3.5s ease-in-out infinite;
}
.hero-mask .eye-glow.l { left: 35%; }
.hero-mask .eye-glow.r { left: 66.7%; }
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.6rem, 13vw, 9.5rem); letter-spacing: .02em; line-height: .9;
  margin: 0; color: var(--bone);
  text-shadow: 0 0 40px rgba(139, 15, 26, .8), 0 4px 0 rgba(0, 0, 0, .6);
}
.hero-tag {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .4em;
  font-size: clamp(.72rem, 1.5vw, .95rem); color: var(--bone-dim); margin: 1.4rem 0 2.2rem;
}
.hero-tag b { color: var(--blood-bright); font-weight: 400; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.release-banner {
  margin: 0 auto 2rem; display: inline-block; padding: .55em 1.4em;
  border-top: 1px solid var(--blood-bright); border-bottom: 1px solid var(--blood-bright);
  font-family: var(--font-head); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--candle);
}

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1px solid var(--bone-dim); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--blood-bright); border-radius: 2px; animation: scrollcue 2s infinite;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: 170px 0 90px; text-align: center; overflow: hidden; isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero .bg {
  position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center;
  filter: grayscale(.7) brightness(.4) contrast(1.2) sepia(.3);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 8, 9, .5), rgba(10, 8, 9, .95));
}
.eyebrow {
  display: block; font-family: var(--font-head); font-size: .78rem; letter-spacing: .4em;
  text-transform: uppercase; color: var(--blood-bright); margin-bottom: 1rem;
}
.page-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: .02em; margin: 0; }
.page-hero p { color: var(--bone-dim); font-style: italic; max-width: 640px; margin: 1rem auto 0; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section.alt { background: var(--crypt); }
.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head p { color: var(--bone-dim); font-style: italic; max-width: 620px; margin: 0 auto; }

/* briar divider */
.divider {
  display: block; width: min(420px, 80%); height: 28px; margin: 1.1rem auto 0; color: var(--blood);
}

/* ---------- Featured single ---------- */
.single {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 80px); align-items: center;
}
@media (max-width: 860px) { .single { grid-template-columns: 1fr; } }

.cover {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 0 10px var(--crypt-2), 0 0 0 11px var(--line);
}
.cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.15) sepia(.2) brightness(.8); }
.cover .cover-type {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 7%; background: linear-gradient(180deg, rgba(10,8,9,.65), transparent 40%, transparent 60%, rgba(10,8,9,.85));
}
.cover .cover-type .a { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; }
.cover .cover-type .t { font-family: var(--font-head); letter-spacing: .25em; text-transform: uppercase; font-size: clamp(.7rem, 1.4vw, .95rem); color: var(--bone); }
.cover .cover-type .t em { display: block; font-family: var(--font-body); font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 1.7em; color: var(--candle); margin-top: .2em; }

.single-meta .eyebrow { margin-bottom: .6rem; }
.single-meta h2 em { font-style: italic; color: var(--candle); font-family: var(--font-body); font-weight: 500; }

.countdown { display: flex; gap: clamp(10px, 2vw, 22px); margin: 1.6rem 0 2rem; flex-wrap: wrap; }
.countdown div { min-width: 72px; text-align: center; padding: .8rem .6rem; border: 1px solid var(--line); background: rgba(20, 16, 18, .7); }
.countdown b { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--bone); line-height: 1; }
.countdown span { font-family: var(--font-head); font-size: .62rem; letter-spacing: .3em; color: var(--ash); text-transform: uppercase; }
.countdown.done { display: none; }

.stream-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.stream-links a {
  font-family: var(--font-head); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--line); padding: .7em 1.1em; color: var(--bone-dim);
}
.stream-links a:hover { border-color: var(--blood-bright); color: var(--bone); }

/* ---------- Audio player ---------- */
.player {
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--crypt-2), var(--crypt));
  padding: 1.2rem 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center;
  margin-top: 1.4rem;
}
.player .play {
  width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--blood-bright);
  background: radial-gradient(circle, var(--blood-bright), var(--blood)); color: var(--bone);
  display: grid; place-items: center; cursor: pointer; transition: box-shadow .3s;
}
.player .play:hover { box-shadow: 0 0 22px rgba(224, 83, 47, .5); }
.player .play svg { width: 22px; height: 22px; }
.player .play .i-pause { display: none; }
.player.playing .play .i-play { display: none; }
.player.playing .play .i-pause { display: block; }
.player .track-name { font-family: var(--font-head); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone); margin-bottom: .5rem; }
.wave { display: flex; align-items: center; gap: 2px; height: 38px; cursor: pointer; }
.wave i { flex: 1; background: var(--ash); opacity: .45; border-radius: 1px; transition: background .2s, opacity .2s; }
.wave i.on { background: var(--blood-bright); opacity: 1; }
.player .times { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: .68rem; letter-spacing: .1em; color: var(--ash); margin-top: .35rem; }
.player .note { grid-column: 1 / -1; font-size: .92rem; font-style: italic; color: var(--ash); margin: 0; display: none; }
.player.unavailable .note { display: block; }

/* ---------- Cards / grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--crypt-2); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(179, 20, 31, .5); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) sepia(.25) brightness(.7) contrast(1.1); transition: transform .8s, filter .5s; }
.card:hover .thumb img { transform: scale(1.06); filter: grayscale(.2) sepia(.3) brightness(.85) contrast(1.1); }
.card .body { padding: 1.4rem 1.5rem 1.6rem; }
.card .date { font-family: var(--font-head); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--blood-bright); }
.card h3 { margin: .5rem 0 .6rem; }
.card h3 a { color: var(--bone); }
.card p { color: var(--bone-dim); font-size: 1.02rem; margin: 0; }

/* ---------- Shows ---------- */
.shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.show {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 1.4rem; align-items: center;
  padding: 1.4rem .4rem; border-bottom: 1px solid var(--line); transition: background .3s;
}
.show:hover { background: rgba(139, 15, 26, .07); }
.show .when { text-align: center; font-family: var(--font-head); line-height: 1.1; }
.show .when .m { display: block; font-size: .72rem; letter-spacing: .3em; color: var(--blood-bright); }
.show .when .d { display: block; font-size: 2.1rem; color: var(--bone); }
.show .when .y { display: block; font-size: .68rem; letter-spacing: .2em; color: var(--ash); }
.show .venue { font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .05em; color: var(--bone); }
.show .city { color: var(--bone-dim); font-style: italic; }
.show .extra { display: block; font-size: .9rem; color: var(--ash); }
.show .btn { padding: .8em 1.3em; font-size: .72rem; }
.show .btn.soldout { background: transparent; border-color: var(--ash); color: var(--ash); pointer-events: none; text-decoration: line-through; }
@media (max-width: 640px) {
  .show { grid-template-columns: 70px 1fr; }
  .show .act { grid-column: 1 / -1; }
  .show .act .btn { width: 100%; justify-content: center; }
}

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.framed { position: relative; border: 1px solid var(--line); padding: 10px; background: var(--crypt-2); }
.framed img { width: 100%; filter: grayscale(.5) sepia(.3) contrast(1.15) brightness(.8); }
.framed figcaption { font-size: .82rem; color: var(--ash); font-style: italic; padding: .6rem .2rem 0; }

.dropcap::first-letter {
  font-family: var(--font-display); float: left; font-size: 4.6em; line-height: .8;
  padding: .08em .1em 0 0; color: var(--blood-bright);
}
blockquote {
  margin: 2rem 0; padding: 1.2rem 1.6rem; border-left: 2px solid var(--blood-bright);
  font-size: 1.35em; font-style: italic; color: var(--bone); background: rgba(139, 15, 26, .06);
}
blockquote cite { display: block; margin-top: .6rem; font-size: .6em; font-style: normal; font-family: var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }

.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts li { background: var(--crypt); padding: 1rem 1.2rem; }
.facts b { display: block; font-family: var(--font-head); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--blood-bright); font-weight: 400; }

/* ---------- Liner notes / credits ---------- */
.credits { columns: 2; column-gap: 3rem; margin-top: 1.5rem; }
.credits div { break-inside: avoid; margin-bottom: 1rem; }
.credits dt { font-family: var(--font-head); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--ash); }
.credits dd { margin: 0; }
@media (max-width: 640px) { .credits { columns: 1; } }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; position: relative; cursor: zoom-in; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; filter: grayscale(.5) sepia(.25) contrast(1.1) brightness(.75); transition: filter .5s, transform .8s; }
.gallery figure:hover img { filter: grayscale(.1) sepia(.3) contrast(1.1) brightness(.9); transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem .8rem;
  background: linear-gradient(transparent, rgba(10, 8, 9, .95)); font-size: .92rem; font-style: italic;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(5, 4, 4, .94);
  display: none; align-items: center; justify-content: center; padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; width: auto; border: 1px solid var(--line); box-shadow: 0 0 80px rgba(139, 15, 26, .35); }
.lightbox p { position: absolute; bottom: 3vh; left: 0; right: 0; text-align: center; color: var(--bone-dim); font-style: italic; padding: 0 1rem; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--bone); font-size: 2.4rem; cursor: pointer; padding: .4rem 1rem;
  font-family: var(--font-head); opacity: .7;
}
.lightbox button:hover { opacity: 1; color: var(--ember); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Video ---------- */
.video-frame {
  position: relative; aspect-ratio: 16/9; border: 1px solid var(--line); overflow: hidden;
  background: #000 url("../img/pd/raven-graveyard.jpg") center 40% / cover;
  display: grid; place-items: center; cursor: pointer;
}
.video-frame::before { content: ""; position: absolute; inset: 0; background: rgba(10, 8, 9, .6); transition: background .3s; }
.video-frame:hover::before { background: rgba(10, 8, 9, .4); }
.video-frame .vf-inner { position: relative; text-align: center; }
.video-frame .vf-play {
  width: 86px; height: 86px; border-radius: 50%; border: 1px solid var(--bone); display: grid; place-items: center;
  margin: 0 auto 1rem; transition: transform .3s, border-color .3s;
}
.video-frame:hover .vf-play { transform: scale(1.08); border-color: var(--ember); }
.video-frame .vf-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-frame .vf-label { font-family: var(--font-head); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-family: var(--font-head); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: .4rem; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--crypt); border: 1px solid var(--line); color: var(--bone);
  font-family: var(--font-body); font-size: 1.1rem; padding: .8rem 1rem; border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 170px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blood-bright); box-shadow: 0 0 0 3px rgba(179, 20, 31, .2); }
.form .hp { position: absolute; left: -9999px; }
.form-status { padding: 1rem 1.2rem; border: 1px solid; display: none; }
.form-status.ok { display: block; border-color: #4f6b3a; background: rgba(79, 107, 58, .15); }
.form-status.err { display: block; border-color: var(--blood-bright); background: rgba(139, 15, 26, .15); }

.newsletter {
  text-align: center; position: relative; overflow: hidden; isolation: isolate;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.newsletter::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/pd/monk-by-the-sea.jpg") center / cover; filter: grayscale(.6) brightness(.25) sepia(.3);
}
.newsletter form { display: flex; gap: .6rem; max-width: 520px; margin: 1.6rem auto 0; }
.newsletter input[type=email] {
  flex: 1; min-width: 0; background: rgba(10, 8, 9, .8); border: 1px solid var(--line); color: var(--bone);
  font-family: var(--font-body); font-size: 1.1rem; padding: .9rem 1rem;
}
.newsletter input[type=email]:focus { outline: none; border-color: var(--blood-bright); }
@media (max-width: 520px) { .newsletter form { flex-direction: column; } }

.contact-aside h3 { margin-top: 1.8rem; }
.contact-aside h3:first-child { margin-top: 0; }
.contact-aside p { color: var(--bone-dim); margin-bottom: .3rem; }

/* ---------- Footer ---------- */
.site-footer { background: #060505; border-top: 1px solid var(--line); padding: 60px 0 30px; text-align: center; }
.site-footer .brand { justify-content: center; font-size: 2.4rem; }
.socials { display: flex; gap: 1rem; justify-content: center; margin: 1.4rem 0; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line);
  border-radius: 50%; color: var(--bone-dim); transition: border-color .3s, color .3s, box-shadow .3s;
}
.socials a:hover { border-color: var(--blood-bright); color: var(--bone); box-shadow: 0 0 16px rgba(179, 20, 31, .4); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; list-style: none; padding: 0; margin: 0 0 1.6rem; }
.footer-nav a { font-family: var(--font-head); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ash); }
.footer-nav a:hover { color: var(--bone); }
.legal { font-size: .85rem; color: var(--ash); margin: 0; }
.legal + .legal { margin-top: .3rem; font-size: .78rem; opacity: .75; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 100px var(--gutter); }
.notfound .code { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 14rem); line-height: .9; color: var(--blood); text-shadow: 0 0 50px rgba(139, 15, 26, .6); }

/* ---------- Keyframes ---------- */
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(25%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes slowzoom { from { transform: scale(1.05); } to { transform: scale(1.14) translateY(-1%); } }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes eyepulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
