:root {
  --bg: #090706;
  --bg-soft: #120d0b;
  --bg-panel: rgba(21, 13, 11, 0.78);
  --bg-panel-strong: rgba(26, 15, 12, 0.92);

  --text: #efe7de;
  --text-soft: #c8b9aa;
  --text-muted: #9d8879;

  --red: #8e1c16;
  --red-bright: #b72a20;
  --red-dark: #5c100c;

  --ember: #d57a33;
  --ember-soft: rgba(213, 122, 51, 0.2);
  --ember-bright: #f0a35f;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --radius-sm: 14px;
  --max-width: 1220px;

  --header-height: 78px;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(120, 33, 22, 0.16), transparent 35%),
    linear-gradient(180deg, #130c0a 0%, #090706 35%, #050404 100%);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
  scroll-margin-top: calc(var(--header-height) - 90px);
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.015);
}

.section-end {
  padding-bottom: 120px;
}

.page-noise,
.page-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.page-noise {
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.7) 0.5px, transparent 0.7px),
    radial-gradient(circle at 80% 40%, rgba(255,255,255,0.45) 0.5px, transparent 0.7px),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.4) 0.5px, transparent 0.7px);
  background-size: 180px 180px, 220px 220px, 260px 260px;
}

.page-vignette {
  background: radial-gradient(circle, transparent 45%, rgba(0,0,0,0.5) 100%);
}

.embers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.embers span {
  position: absolute;
  bottom: -20px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fffbe8 0%, rgba(255, 200, 60, 0.9) 50%, transparent 80%);
  box-shadow: 0 0 4px 1px rgba(255, 190, 50, 0.6);
  animation: rise-a 12s linear infinite;
  opacity: 0.55;
}

/* Odd sparks sway right then left (rise-a), even left then right (rise-b) */
.embers span:nth-child(odd)  { animation-name: rise-a; }
.embers span:nth-child(even) { animation-name: rise-b; }

/* Varied sizes for extra randomness */
.embers span:nth-child(3n)   { width: 3px; height: 3px; }
.embers span:nth-child(5n)   { width: 5px; height: 5px; }
.embers span:nth-child(7n)   { width: 3.5px; height: 3.5px; }

.embers span:nth-child(1)  { left: 6%;   animation-duration: 12s;  animation-delay: 0s; }
.embers span:nth-child(2)  { left: 13%;  animation-duration: 10s;  animation-delay: 2s; }
.embers span:nth-child(3)  { left: 19%;  animation-duration: 14s;  animation-delay: 1s; }
.embers span:nth-child(4)  { left: 25%;  animation-duration: 11s;  animation-delay: 4s; }
.embers span:nth-child(5)  { left: 32%;  animation-duration: 15.5s; animation-delay: 1.5s; }
.embers span:nth-child(6)  { left: 39%;  animation-duration: 13s;  animation-delay: 5s; }
.embers span:nth-child(7)  { left: 45%;  animation-duration: 12.5s; animation-delay: 3s; }
.embers span:nth-child(8)  { left: 52%;  animation-duration: 16s;  animation-delay: 2.5s; }
.embers span:nth-child(9)  { left: 59%;  animation-duration: 11.5s; animation-delay: 6s; }
.embers span:nth-child(10) { left: 66%;  animation-duration: 14s;  animation-delay: 1s; }
.embers span:nth-child(11) { left: 72%;  animation-duration: 12s;  animation-delay: 4.5s; }
.embers span:nth-child(12) { left: 78%;  animation-duration: 10.5s; animation-delay: 3.5s; }
.embers span:nth-child(13) { left: 83%;  animation-duration: 13.5s; animation-delay: 1.8s; }
.embers span:nth-child(14) { left: 87%;  animation-duration: 15s;  animation-delay: 5.4s; }
.embers span:nth-child(15) { left: 91%;  animation-duration: 11s;  animation-delay: 2.1s; }
.embers span:nth-child(16) { left: 94%;  animation-duration: 16.5s; animation-delay: 4.7s; }
.embers span:nth-child(17) { left: 97%;  animation-duration: 12s;  animation-delay: 6.3s; }
.embers span:nth-child(18) { left: 99%;  animation-duration: 9.5s;  animation-delay: 1.3s; }

/* S-curve right: starts centre, drifts right, back left, fades out high */
@keyframes rise-a {
  0%   { transform: translateY(0)       translateX(0)     scale(1);    opacity: 0; }
  8%   { opacity: 0.7; }
  30%  { transform: translateY(-30vh)   translateX(14px)  scale(0.85); }
  60%  { transform: translateY(-65vh)   translateX(-10px) scale(0.65); }
  85%  { transform: translateY(-90vh)   translateX(8px)   scale(0.4);  opacity: 0.35; }
  100% { transform: translateY(-110vh)  translateX(4px)   scale(0.2);  opacity: 0; }
}

/* S-curve left: mirror of rise-a */
@keyframes rise-b {
  0%   { transform: translateY(0)       translateX(0)     scale(1);    opacity: 0; }
  8%   { opacity: 0.7; }
  30%  { transform: translateY(-30vh)   translateX(-14px) scale(0.85); }
  60%  { transform: translateY(-65vh)   translateX(10px)  scale(0.65); }
  85%  { transform: translateY(-90vh)   translateX(-8px)  scale(0.4);  opacity: 0.35; }
  100% { transform: translateY(-110vh)  translateX(-4px)  scale(0.2);  opacity: 0; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(11, 7, 6, 0.92), rgba(11, 7, 6, 0.7));
  border-bottom: 1px solid rgba(213, 122, 51, 0.14);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  color: var(--ember);
  text-shadow: 0 0 12px rgba(213, 122, 51, 0.35);
  font-size: 1rem;
}

.brand-text {
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: var(--text-soft);
  font-size: 0.94rem;
  position: relative;
  transition: color var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(213, 122, 51, 0.28);
  border-radius: 999px;
  color: var(--text);
  background: rgba(213, 122, 51, 0.06);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  background: rgba(213, 122, 51, 0.12);
  border-color: rgba(213, 122, 51, 0.45);
}

.hero {
  padding-top: 85px;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.hero-copy {
  min-width: 0;
}

.hero-art {
  position: relative;
  min-width: 0;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--ember);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  line-height: 0.95;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  white-space: nowrap;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.blood-accent {
  color: #cf3b30;
  text-shadow:
    0 0 18px rgba(183, 42, 32, 0.28),
    0 0 40px rgba(142, 28, 22, 0.18);
}

.hero-lead {
  margin-top: 1.5rem;
  max-width: 58ch;
  font-size: 1.12rem;
  color: var(--text);
}

.hero-subcopy {
  max-width: 58ch;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 1.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff7f1;
  background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 12px 28px rgba(92, 16, 12, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow:
    0 16px 34px rgba(92, 16, 12, 0.4),
    0 0 0 6px rgba(183, 42, 32, 0.08);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255,255,255,0.06);
  border-color: rgba(213, 122, 51, 0.28);
}

.btn-full {
  width: 100%;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-notes li {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.9rem;
}

.hero-player {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.elegy-heading {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  scroll-margin-top: calc(var(--header-height) + 25px);
}

.elegy-heading .eyebrow {
  margin-bottom: 0.25rem;
}

.audio-section-title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: 0.03em;
}

.audio-player-row {
  display: flex;
  align-items: stretch;
}

.audio-cover-wrap {
  position: relative;
  width: 100px;
  min-width: 100px;
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
  border-right: 1px solid rgba(213, 122, 51, 0.16);
  transition: box-shadow 600ms ease;
  cursor: zoom-in;
}

.audio-cover-wrap.is-playing {
  box-shadow: 0 0 0 2px rgba(213, 122, 51, 0.5), 0 0 18px 4px rgba(213, 122, 51, 0.25);
  animation: cover-pulse 2.4s ease-in-out infinite;
}

@keyframes cover-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(213, 122, 51, 0.45), 0 0 14px 3px rgba(213, 122, 51, 0.2); }
  50%       { box-shadow: 0 0 0 2px rgba(240, 163, 95, 0.8), 0 0 28px 8px rgba(213, 122, 51, 0.4); }
}

.audio-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.audio-cover-wrap:hover .audio-cover {
  transform: scale(1.08);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 2, 0.88);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 680px);
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(213, 122, 51, 0.3),
    0 32px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(213, 122, 51, 0.12);
  animation: lightbox-in 220ms ease;
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  z-index: 2;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(213, 122, 51, 0.18);
  border-color: rgba(213, 122, 51, 0.4);
}

.audio-body {
  flex: 1;
  min-width: 0;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-player .audio-track-info {
  min-width: 0;
  flex-shrink: 0;
}

.hero-player .audio-kicker {
  display: none;
}

.hero-player .audio-header h2 {
  font-size: 1.05rem;
  white-space: nowrap;
}

.hero-player .audio-subtitle {
  font-size: 0.8rem;
  margin: 0.1rem 0 0;
}

.hero-player .audio-lamp {
  display: none;
}

.hero-player .audio-header {
  margin-bottom: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-player .audio-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.hero-player .audio-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
}

.hero-player .audio-middle {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-player .audio-progress-block {
  margin-bottom: 0;
}

.hero-player .audio-volume-row {
  margin-bottom: 0;
  gap: 0.5rem;
}

.hero-player .audio-volume-row label {
  font-size: 0.8rem;
}

.hero-player .audio-status {
  display: none;
}

.audio-header,
.audio-controls,
.audio-volume-row,
.audio-progress-block,
.audio-status {
  position: relative;
  z-index: 1;
}

.image-frame {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  padding: 1px;
  background:
    linear-gradient(145deg, rgba(213, 122, 51, 0.3), rgba(255,255,255,0.04), rgba(142, 28, 22, 0.28));
  box-shadow: var(--shadow);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.image-placeholder {
  min-height: 280px;
  border-radius: var(--radius);
  padding: 2rem;
  background:
    radial-gradient(circle at top, rgba(142, 28, 22, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(18, 11, 9, 0.96), rgba(9, 7, 6, 0.98));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  text-align: left;
  color: var(--text-soft);
}

.hero-avatar {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

.placeholder-title {
  font-family: "Cinzel", serif;
  color: var(--text);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.audio-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(213, 122, 51, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(25, 14, 12, 0.97), rgba(14, 9, 8, 0.98));
  border: 1px solid rgba(213, 122, 51, 0.16);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.audio-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.025) 30%, transparent 60%),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 12px
    );
  pointer-events: none;
  opacity: 0.55;
}

.audio-header,
.audio-controls,
.audio-volume-row,
.audio-progress-block,
.audio-status {
  position: relative;
  z-index: 1;
}

.audio-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.audio-kicker {
  margin-bottom: 0.25rem;
  color: var(--ember);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.audio-header h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.audio-subtitle {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.audio-lamp {
  width: 16px;
  height: 16px;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 163, 95, 0.95) 0%, rgba(213, 122, 51, 0.9) 45%, rgba(142, 28, 22, 0.35) 75%, transparent 100%);
  box-shadow: 0 0 18px rgba(213, 122, 51, 0.5);
}

.audio-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.audio-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    rgba(255,255,255,0.02);
  color: var(--text);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.audio-btn:hover,
.audio-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(213, 122, 51, 0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.03);
  box-shadow: 0 0 0 4px rgba(213, 122, 51, 0.05);
}

.audio-btn.is-primary {
  background: linear-gradient(180deg, rgba(183, 42, 32, 0.95), rgba(92, 16, 12, 0.96));
  border-color: rgba(255,255,255,0.08);
}

.audio-volume-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.audio-volume-row label {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.volume-slider {
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(183, 42, 32, 0.8), rgba(213, 122, 51, 0.78));
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}

.volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: radial-gradient(circle, #ffddb9 0%, var(--ember-bright) 45%, var(--red-bright) 100%);
  box-shadow: 0 0 12px rgba(213, 122, 51, 0.45);
}

.volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: radial-gradient(circle, #ffddb9 0%, var(--ember-bright) 45%, var(--red-bright) 100%);
  box-shadow: 0 0 12px rgba(213, 122, 51, 0.45);
}

.audio-progress-block {
  margin-bottom: 0.85rem;
}

.audio-time-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(183, 42, 32, 0.92), rgba(240, 163, 95, 0.92));
  box-shadow: 0 0 12px rgba(213, 122, 51, 0.3);
  transition: width 120ms linear;
}

.audio-status {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.audio-status.is-warning {
  color: #f0b783;
}

.audio-status.is-playing {
  color: #f2dcc6;
}



.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--text-soft);
  max-width: 65ch;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
}

.about-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.about-text {
  grid-row: span 2;
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.quote-mark {
  position: absolute;
  top: 0.3rem;
  right: 1rem;
  margin: 0;
  font-size: 6rem;
  font-family: "Cinzel", serif;
  color: rgba(213, 122, 51, 0.12);
  line-height: 1;
}

.quote-card blockquote {
  margin: 0 0 1rem;
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
  line-height: 1.4;
}

.quote-credit {
  color: var(--text-muted);
  margin: 0;
}

.details-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: "Cinzel", serif;
}

.details-card ul {
  display: grid;
  gap: 0.8rem;
}

.details-card li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-soft);
}

.details-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ember);
}

.card-grid,
.code-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.feature-card,
.law-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-card::before,
.law-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(183,42,32,0), rgba(183,42,32,0.8), rgba(213,122,51,0));
  opacity: 0.6;
}

.feature-index,
.law-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--ember);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-card h3,
.law-card h3,
.record-copy h3,
.manifesto h3,
.summon-panel h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
}

.summon-panel-credit,
.summon-panel-legal,
.summon-panel-privacy {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.summon-panel-legal {
  margin-bottom: 1.2rem;
}

.summon-panel-credit a,
.summon-panel-legal a {
  color: var(--ember);
  text-decoration: none;
  transition: color var(--transition);
}

.summon-panel-credit a:hover,
.summon-panel-legal a:hover {
  color: var(--ember-bright);
}

.feature-card p,
.law-card p,
.record-copy p,
.summon-panel li {
  color: var(--text-soft);
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.record {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.record-large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
}

.record .image-frame,
.record-large .image-frame {
  height: 100%;
}

.record .image-placeholder {
  min-height: 280px;
  padding: 1.5rem;
}

.record-large .image-placeholder {
  min-height: 420px;
}

.record-copy {
  padding: 1.4rem 1.4rem 1.5rem;
}

.manifesto {
  margin-top: 1.4rem;
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(183,42,32,0.06), rgba(213,122,51,0.02)),
    var(--bg-panel-strong);
  border: 1px solid rgba(213, 122, 51, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.manifesto p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.summon-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.commission-pitch {
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.link-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.link-list a::after {
  content: "↗";
  color: var(--ember);
}

.link-list a:hover,
.link-list a:focus-visible {
  transform: translateX(3px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(213, 122, 51, 0.22);
}

.summon-panel {
  background: var(--bg-panel-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.summon-panel ul {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  list-style: disc;
  padding-left: 1.2rem;
}

.back-to-top {
  display: block;
  margin-top: 3rem;
  text-align: right;
  color: var(--ember);
  opacity: 0.45;
  font-size: 1.6rem;
  line-height: 1;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.site-footer {
  padding: 1.2rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.18);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-wrap p {
  margin: 0;
}

.footer-wrap a {
  color: var(--text-soft);
  transition: color var(--transition);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-wrap a:hover,
.footer-wrap a:focus-visible {
  color: var(--ember);
}

@media (max-width: 1100px) {
  .hero-grid,
  .summon-grid,
  .record-large,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .code-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .records-grid {
    grid-template-columns: 1fr 1fr;
  }

  .record-large {
    grid-column: auto;
    display: block;
  }

  .record-large .record-copy {
    border-top: 1px solid var(--line);
  }

  .about-text {
    grid-row: auto;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: auto;
    min-height: var(--header-height);
  }

  .nav-wrap {
    padding: 0.9rem 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .main-nav {
    gap: 1rem;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .card-grid,
  .code-grid,
  .records-grid {
    grid-template-columns: 1fr;
  }

  .record-large {
    grid-column: auto;
  }

  .section {
    padding: 90px 0;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.2rem, var(--max-width));
  }

  .hero-actions,
  .hero-notes,
  .audio-controls {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .audio-volume-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .image-placeholder {
    padding: 1.2rem;
  }

  .feature-card,
  .law-card,
  .about-panel,
  .summon-panel,
  .record-copy,
  .audio-panel {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
