:root {
  color-scheme: dark;
  --color-nordic-blue: #0d1b23;
  --color-stone: #8b949e;
  --color-water: #365569;
  --color-sand: #c8a47a;
  --color-forest: #2e3d34;
  --color-bg: #0d1b23;
  --color-bg-elevated: #132129;
  --color-bg-card: #172229;
  --color-bg-card-hover: #1c2b33;
  --color-text-primary: #f2f0ec;
  --color-text-secondary: #b8bdc0;
  --color-text-muted: #8b949e;
  --color-border: rgba(139, 148, 158, .2);
  --color-border-strong: rgba(200, 164, 122, .35);
  --color-accent: #c8a47a;
  --color-accent-hover: #d5b48c;
  --color-accent-subtle: rgba(200, 164, 122, .12);
  --color-water-subtle: rgba(54, 85, 105, .25);
  --color-forest-subtle: rgba(46, 61, 52, .3);
  --bg: var(--color-bg);
  --surface: var(--color-bg-card);
  --line: var(--color-border);
  --text: var(--color-text-primary);
  --muted: var(--color-text-muted);
  --accent: var(--color-accent);
  --accent-2: var(--color-text-secondary);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(54,85,105,.12), transparent 45%),
    radial-gradient(circle at 8% 40%, var(--color-forest-subtle), transparent 30rem),
    var(--bg);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
main a:not(.button) { color: var(--accent); text-decoration-color: rgba(200,164,122,.45); }
main a:not(.button):hover, main a:not(.button):focus-visible { color: var(--color-accent-hover); }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 20; padding: .7rem 1rem; background: var(--accent); color: var(--color-bg); }
.skip-link:focus { top: 1rem; }
.home-page { --menu-opacity: 0; --menu-shift: -14px; --mark-shift-x: 0px; --mark-shift-y: 0px; --mark-scale: 1; --mark-opacity: 1; --scene-parallax: 0; --scene-opacity: 1; --hint-opacity: 1; --reveal-opacity: 1; --fjord-veil: 0; padding-top: 100vh; padding-top: 100svh; }
.startscreen { position: relative; height: 100vh; height: 100svh; min-height: 34rem; overflow: hidden; isolation: isolate; background: #061018; }
.home-page .startscreen { position: fixed; z-index: 0; inset: 0; }
.startscreen::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(2,9,14,.18) 0%, transparent 38%, rgba(3,10,15,.2) 68%, rgba(3,10,15,.9) 100%); pointer-events: none; }
.startscreen::after { content: ""; position: absolute; z-index: 1; inset: 0; box-shadow: inset 0 0 13rem 2rem rgba(0,5,9,.55); pointer-events: none; }
.startscreen-image { position: absolute; inset: -2%; width: 104%; height: 104%; object-fit: cover; opacity: 0; animation: startscreen-breathe 18s ease-in-out infinite alternate; transition: opacity 1.1s ease; }
.startscreen.is-ready .startscreen-image { opacity: 1; }
.startscreen-veil { position: absolute; z-index: 1; inset: 0; background: #061018; opacity: var(--fjord-veil, 0); pointer-events: none; }
.startscreen-atmosphere { position: absolute; z-index: 2; inset: 45% -18% -10%; opacity: calc(.66 * var(--scene-opacity, 1)); background: radial-gradient(ellipse at 48% 58%, rgba(202,219,224,.27), transparent 32%), radial-gradient(ellipse at 16% 58%, rgba(108,142,157,.22), transparent 28%), radial-gradient(ellipse at 84% 65%, rgba(108,142,157,.19), transparent 27%); filter: blur(1.45rem); mix-blend-mode: screen; animation: startscreen-mist 11s ease-in-out infinite alternate; pointer-events: none; }
.startscreen-atmosphere::after { content: ""; position: absolute; inset: 26% -12% 4%; opacity: .48; background: radial-gradient(ellipse at 30% 50%, rgba(191,210,216,.2), transparent 32%), radial-gradient(ellipse at 72% 58%, rgba(167,194,204,.17), transparent 34%); animation: startscreen-mist-reverse 16s ease-in-out infinite alternate; }
.startscreen-fog { position: absolute; z-index: 2; inset: auto 0 0 0; height: 30%; opacity: calc(.92 * var(--scene-opacity, 1)); pointer-events: none; filter: blur(1.1rem); background: radial-gradient(ellipse 72% 68% at 18% 100%, rgba(216,227,231,.55), transparent 66%), radial-gradient(ellipse 66% 60% at 54% 100%, rgba(203,218,224,.48), transparent 68%), radial-gradient(ellipse 78% 64% at 86% 100%, rgba(211,223,228,.5), transparent 66%); animation: startscreen-fog-drift 20s ease-in-out infinite alternate; }
.startscreen-fog::after { content: ""; position: absolute; inset: -12% -25% -10% -25%; background: radial-gradient(ellipse 62% 52% at 32% 100%, rgba(206,219,225,.4), transparent 64%), radial-gradient(ellipse 57% 48% at 74% 100%, rgba(196,212,219,.38), transparent 66%); animation: startscreen-fog-drift-reverse 27s ease-in-out infinite alternate; }
.startscreen-stars { position: absolute; z-index: 2; top: 2%; left: 3%; width: 94%; height: 44%; opacity: var(--scene-opacity, 1); transform: translateY(calc(var(--scene-parallax, 0) * 14px)); pointer-events: none; }
.startscreen-ravens { position: absolute; z-index: 3; inset: 0; overflow: hidden; opacity: var(--scene-opacity, 1); transform: translateY(calc(var(--scene-parallax, 0) * 20px)); pointer-events: none; }
.raven { position: absolute; left: -8%; width: clamp(1rem, 1.5vw, 1.7rem); height: auto; animation: raven-flight 52s ease-in-out infinite; }
.raven-wing { transform-origin: 0px 0px; fill: rgba(4,9,12,.74); }
.raven-wing-left { animation: raven-flap-left 1.3s cubic-bezier(.4,.06,.2,.96) infinite; }
.raven-wing-right { animation: raven-flap-right 1.3s cubic-bezier(.4,.06,.2,.96) infinite; }
.raven-one { top: 22%; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); animation-delay: -12s; }
.raven-two { top: 30%; width: clamp(.75rem, 1.1vw, 1.2rem); opacity: .66; filter: drop-shadow(0 1px 2px rgba(0,0,0,.32)); animation-duration: 64s; animation-delay: -36s; }
.raven-two .raven-wing-left, .raven-two .raven-wing-right { animation-duration: 1.45s; }
.raven-three { top: 18%; width: clamp(.6rem, .95vw, 1rem); opacity: .5; filter: drop-shadow(0 1px 2px rgba(0,0,0,.28)); animation-duration: 74s; animation-delay: -54s; }
.raven-three .raven-wing-left, .raven-three .raven-wing-right { animation-duration: 1.55s; }
.startscreen-mark { position: absolute; z-index: 4; top: clamp(1.2rem, 3vw, 2.5rem); left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: .25rem; opacity: var(--mark-opacity); color: rgba(232,237,235,.74); font-size: clamp(.68rem, 1vw, .82rem); font-weight: 650; letter-spacing: .54em; text-indent: .54em; text-shadow: 0 2px 18px rgba(0,0,0,.7); transform: translate3d(var(--mark-shift-x), var(--mark-shift-y), 0) scale(var(--mark-scale)); transform-origin: center top; will-change: transform, opacity; }
.startscreen-mark img { width: clamp(3.2rem, 5vw, 4.4rem); height: auto; opacity: .88; filter: drop-shadow(0 0 1rem rgba(200,164,122,.22)); animation: startscreen-sigil 5s ease-in-out infinite; }
.rune-scroll { position: absolute; z-index: 4; left: 50%; bottom: clamp(1.5rem, 4vh, 3rem); translate: -50% 0; display: grid; justify-items: center; gap: .25rem; min-width: 7rem; color: rgba(242,240,236,.82); text-decoration: none; opacity: var(--hint-opacity, 1); }
.rune-scroll::before { content: ""; position: absolute; top: -.6rem; width: 4.4rem; height: 4.4rem; border: 1px solid rgba(200,164,122,.18); border-radius: 50%; box-shadow: 0 0 2.4rem rgba(200,164,122,.1), inset 0 0 1.5rem rgba(200,164,122,.04); animation: rune-halo 3.6s ease-in-out infinite; }
.rune-scroll-symbol { position: relative; color: #dfc49f; font-family: Georgia, "Times New Roman", serif; font-size: 2.1rem; line-height: 1.35; filter: drop-shadow(0 0 .5rem rgba(213,180,140,.55)); animation: rune-float 2.8s ease-in-out infinite; }
.rune-scroll-label { margin-top: .4rem; font-size: .62rem; font-weight: 650; letter-spacing: .26em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.rune-scroll-line { width: 1px; height: 1.8rem; margin-top: .35rem; overflow: hidden; background: rgba(242,240,236,.2); }
.rune-scroll-line::after { content: ""; display: block; width: 100%; height: 55%; background: linear-gradient(180deg, transparent, #dfc49f); animation: scroll-line 2s ease-in-out infinite; }
.rune-scroll:hover, .rune-scroll:focus-visible { color: #fff; }
.rune-scroll:focus-visible { outline: 1px solid var(--accent); outline-offset: .75rem; border-radius: 999px; }
.startscreen-music { position: absolute; z-index: 4; top: clamp(9rem, 19vh, 12rem); left: 50%; width: min(92vw, 48rem); translate: -50% 0; display: grid; justify-items: center; gap: .8rem; color: rgba(242,240,236,.82); }
.startscreen-music-runes { display: flex; justify-content: center; gap: clamp(1.6rem, 5vw, 3.5rem); }
.startscreen-music .rune-music-button { position: relative; display: grid; min-width: 4.4rem; place-items: center; gap: .25rem; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.startscreen-music .rune-music-button::before { content: ""; position: absolute; top: -.6rem; width: 4.4rem; height: 4.4rem; border: 1px solid rgba(200,164,122,.18); border-radius: 50%; box-shadow: 0 0 2.4rem rgba(200,164,122,.1), inset 0 0 1.5rem rgba(200,164,122,.04); animation: rune-halo 3.6s ease-in-out infinite; }
.startscreen-music .rune-scroll-symbol { animation-name: rune-sway; }
.rune-music-label { max-width: 8rem; min-height: 1.8rem; margin-top: .35rem; opacity: 0; color: rgba(242,240,236,.9); font-size: .58rem; font-weight: 650; letter-spacing: .16em; line-height: 1.35; text-align: center; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.9); transition: opacity .25s ease; }
.startscreen-music .rune-music-button:hover .rune-music-label, .startscreen-music .rune-music-button:focus-visible .rune-music-label, .startscreen-music .rune-music-button.is-playing .rune-music-label { opacity: 1; }
.startscreen-music .rune-music-button:hover, .startscreen-music .rune-music-button:focus-visible, .startscreen-music .rune-music-button.is-playing { color: #fff; }
.startscreen-music .rune-music-button:focus-visible { outline: 1px solid var(--accent); outline-offset: .5rem; border-radius: 999px; }
.startscreen-lyrics { max-width: min(86vw, 44rem); min-height: 2rem; margin: 0; color: #f4e7cf; font-family: Georgia, "Times New Roman", serif; font-size: clamp(.95rem, 2vw, 1.25rem); line-height: 1.45; text-align: center; text-shadow: 0 2px 14px rgba(0,0,0,.95); }
@keyframes startscreen-breathe { from { transform: scale(1.01) translateY(calc(var(--scene-parallax, 0) * 24px)); } to { transform: scale(1.045) translateY(calc(var(--scene-parallax, 0) * 24px)); } }
@keyframes startscreen-mist { from { transform: translate3d(-7%, 1%, 0) scale(1) translateY(calc(var(--scene-parallax, 0) * 30px)); } to { transform: translate3d(7%, -3%, 0) scale(1.12) translateY(calc(var(--scene-parallax, 0) * 30px)); } }
@keyframes startscreen-mist-reverse { from { transform: translate3d(7%, 0, 0) scale(1.08) translateY(calc(var(--scene-parallax, 0) * 30px)); } to { transform: translate3d(-7%, 3%, 0) scale(.96) translateY(calc(var(--scene-parallax, 0) * 30px)); } }
@keyframes startscreen-sigil { 0%, 100% { opacity: .72; filter: drop-shadow(0 0 .5rem rgba(200,164,122,.14)); } 50% { opacity: .96; filter: drop-shadow(0 0 1.2rem rgba(200,164,122,.34)); } }
@keyframes startscreen-seam-glow {
  0%, 100% { box-shadow: 0 -2rem 5rem rgba(0,0,0,.34), 0 -1px rgba(200,164,122,.16), 0 -2px 1.4rem rgba(200,164,122,.09); }
  50% { box-shadow: 0 -2rem 5rem rgba(0,0,0,.34), 0 -1px rgba(200,164,122,.34), 0 -2px 1.9rem rgba(200,164,122,.18); }
}
@keyframes startscreen-fog-drift { from { transform: translate3d(-5%, 0, 0) scaleX(1) translateY(calc(var(--scene-parallax, 0) * 44px)); } to { transform: translate3d(5%, -2%, 0) scaleX(1.08) translateY(calc(var(--scene-parallax, 0) * 44px)); } }
@keyframes startscreen-fog-drift-reverse { from { transform: translate3d(6%, 0, 0) translateY(calc(var(--scene-parallax, 0) * 44px)); } to { transform: translate3d(-6%, -3%, 0) translateY(calc(var(--scene-parallax, 0) * 44px)); } }
@keyframes raven-flight {
  0% { transform: translate3d(-8vw, 5vh, 0) rotate(-4deg); }
  20% { transform: translate3d(16vw, -3vh, 0) rotate(5deg); }
  42% { transform: translate3d(42vw, 7vh, 0) rotate(-6deg); }
  64% { transform: translate3d(68vw, -4vh, 0) rotate(6deg); }
  86% { transform: translate3d(94vw, 6vh, 0) rotate(-5deg); }
  100% { transform: translate3d(114vw, -2vh, 0) rotate(3deg); }
}
@keyframes raven-flap-left {
  0% { transform: rotate(6deg); }
  16% { transform: rotate(-40deg); }
  34% { transform: rotate(8deg); }
  52% { transform: rotate(-34deg); }
  72% { transform: rotate(5deg); }
  100% { transform: rotate(6deg); }
}
@keyframes raven-flap-right {
  0% { transform: rotate(-6deg); }
  16% { transform: rotate(40deg); }
  34% { transform: rotate(-8deg); }
  52% { transform: rotate(34deg); }
  72% { transform: rotate(-5deg); }
  100% { transform: rotate(-6deg); }
}
@keyframes rune-halo { 0%, 100% { opacity: .45; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes rune-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.35rem); } }
@keyframes rune-sway { 0%, 100% { transform: translateX(-.24rem); } 50% { transform: translateX(.24rem); } }
@keyframes scroll-line { 0% { transform: translateY(-120%); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(200%); opacity: 0; } }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--color-border); background: rgba(13,27,35,.92); backdrop-filter: blur(12px); }
.home-page .site-header { position: fixed; right: 0; left: 0; opacity: var(--menu-opacity); transform: translateY(var(--menu-shift)); transition: none; }
.home-page:not(.menu-interactive) .site-header { pointer-events: none; }
.home-page .site-header .brand { opacity: var(--menu-opacity); }
.nav { width: min(calc(100% - 2rem), var(--max)); margin: auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 188px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: var(--color-text-secondary); text-decoration: none; font-size: .94rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
main { width: min(calc(100% - 2rem), var(--max)); margin: auto; scroll-margin-top: 76px; }
.home-page main { position: relative; z-index: 5; padding-top: 1px; isolation: isolate; }
.home-page main::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; border-radius: clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem) 0 0; background: linear-gradient(180deg, rgba(13,27,35,.97), var(--bg) 14rem); opacity: var(--reveal-opacity, 1); animation: startscreen-seam-glow 5.5s ease-in-out infinite; }
.home-page .site-footer { position: relative; z-index: 5; background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
.hero { position: relative; min-height: 68vh; display: grid; align-content: center; padding: 7rem 0 5rem; isolation: isolate; }
.hero-content { position: relative; z-index: 1; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.particle-field { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .85; mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 100%); }
.cursor-trail { position: fixed; z-index: 9; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; }
h1 { max-width: 870px; font-size: clamp(3rem, 9vw, 7.4rem); }
.rune-word { display: inline-block; white-space: nowrap; }
.rune-character { display: inline-block; min-width: .18em; transition: color .25s ease, text-shadow .25s ease, transform .25s ease; }
.rune-character.is-runic { color: var(--accent); text-shadow: 0 0 .18em rgba(200,164,122,.45); transform: translateY(-.025em); }
h2 { font-size: clamp(2rem, 5vw, 3.7rem); }
.lead { max-width: 700px; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: .65rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; }
.button.primary { color: var(--color-bg); background: var(--accent); border-color: var(--accent); }
.button.primary:hover, .button.primary:focus-visible { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.button.secondary { color: var(--text); background: transparent; border-color: rgba(139,148,158,.4); }
.button.secondary:hover, .button.secondary:focus-visible { background: rgba(54,85,105,.2); border-color: var(--color-stone); }
.section { padding: 5rem 0; border-top: 1px solid rgba(139,148,158,.18); }
.section-heading { display: grid; gap: 1rem; margin-bottom: 2rem; }
.section-heading p { max-width: 680px; margin: 0; color: var(--muted); }
.music-section { padding-bottom: 4rem; }
.music-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.music-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.2rem; padding: 1.4rem; border: 1px solid var(--color-border); border-radius: 24px; background: linear-gradient(135deg, rgba(23,34,41,.98), rgba(13,27,35,.95)); }
.music-card h3 { margin: .1rem 0 .35rem; font-size: 1.35rem; }
.music-card p { margin: 0; color: var(--muted); }
.rune-music-button { display: grid; width: 4.75rem; height: 4.75rem; place-items: center; border: 1px solid rgba(200,164,122,.42); border-radius: 50%; color: var(--accent); background: rgba(200,164,122,.08); font: 2.35rem/1 Georgia, "Times New Roman", serif; cursor: pointer; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.rune-music-button:hover, .rune-music-button:focus-visible, .rune-music-button.is-playing { color: var(--color-bg); background: var(--accent); box-shadow: 0 0 1.8rem rgba(200,164,122,.3); }
.rune-music-button:hover { transform: translateY(-2px); }
.rune-music-button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.music-status { min-height: 1.7rem; margin: 1.1rem 0 0; color: var(--accent-2); }
.lyrics-panel { grid-column: 1 / -1; border-top: 1px solid rgba(139,148,158,.18); padding-top: .9rem; }
.lyrics-panel summary { color: var(--accent); font-weight: 700; cursor: pointer; }
.lyrics-panel summary:hover, .lyrics-panel summary:focus-visible { color: var(--color-accent-hover); }
.lyrics-content { max-height: 19rem; margin-top: .8rem; padding-right: .6rem; overflow-y: auto; color: var(--color-text-secondary); font-size: .92rem; line-height: 1.55; }
.lyrics-content p { margin: 0 0 1rem; color: inherit; }
.lyrics-current { position: sticky; top: 0; z-index: 1; padding: .65rem .8rem; border-left: 2px solid var(--accent); background: var(--color-bg-elevated); color: var(--text) !important; font-weight: 700; box-shadow: 0 .35rem .8rem rgba(13,27,35,.8); }
.lyrics-note { margin-top: 1.25rem; padding: 1rem 1.2rem; border-left: 2px solid var(--color-border-strong); background: rgba(200,164,122,.05); }
.lyrics-note h3 { margin: 0 0 .25rem; font-size: 1rem; }
.lyrics-note p { margin: 0; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { min-height: 230px; padding: 1.5rem; border: 1px solid var(--color-border); border-radius: 24px; background: var(--color-bg-card); }
.particle-card { position: relative; overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.particle-card::before { content: ""; position: absolute; width: 13rem; height: 13rem; left: var(--glow-x, 75%); top: var(--glow-y, 15%); border-radius: 50%; background: radial-gradient(circle, var(--color-accent-subtle), rgba(54,85,105,.035) 38%, transparent 70%); transform: translate(-50%, -50%); opacity: .35; transition: opacity .3s ease; pointer-events: none; }
.particle-card::after { content: "·  ·  ✦  ·"; position: absolute; right: 1.2rem; top: .8rem; color: rgba(200,164,122,.28); font-size: .72rem; letter-spacing: .65em; pointer-events: none; }
.particle-card:hover { background: var(--color-bg-card-hover); border-color: rgba(200,164,122,.3); box-shadow: 0 8px 30px rgba(0,0,0,.18); transform: translateY(-3px); }
.particle-card:hover::before { opacity: 1; }
.card-index { color: var(--accent); font-size: .78rem; letter-spacing: .14em; }
.card h3 { margin: 3rem 0 .5rem; font-size: 1.4rem; }
.card p { margin: 0; color: var(--muted); }
.content-page { max-width: 780px; min-height: 68vh; padding: 6rem 0; }
.content-page h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.content-page h2 { margin-top: 3rem; font-size: 1.5rem; letter-spacing: -.02em; }
.content-page p, .content-page li { color: var(--color-text-secondary); }
.content-page strong { color: var(--text); }
.site-footer { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 2rem 0 3rem; border-top: 1px solid rgba(139,148,158,.18); display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .88rem; }
.site-footer a { color: var(--accent); text-decoration-color: rgba(200,164,122,.45); }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--color-accent-hover); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { text-decoration: none; }
.portal-shell { width: min(calc(100% - 2rem), var(--max)); min-height: 68vh; margin: auto; padding: 5rem 0; }
.portal-narrow { max-width: 660px; }
.portal-title { max-width: none; font-size: clamp(2.6rem, 7vw, 5rem); }
.portal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.portal-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.portal-form { display: grid; gap: 1rem; margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--color-border); border-radius: 24px; background: var(--color-bg-card); }
.portal-form label, .portal-form legend { color: var(--muted); font-size: .9rem; font-weight: 650; }
.portal-form input, .portal-form textarea, .portal-form select { width: 100%; margin-top: .35rem; padding: .8rem .9rem; border: 1px solid rgba(139,148,158,.25); border-radius: 12px; color: var(--text); background: var(--color-bg-elevated); font: inherit; }
.portal-form input:focus, .portal-form textarea:focus, .portal-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--color-accent-subtle); }
.portal-form input::placeholder, .portal-form textarea::placeholder { color: var(--color-text-muted); }
.portal-form textarea { resize: vertical; }
.portal-form fieldset { display: grid; gap: .5rem; border: 1px solid var(--color-border); border-radius: 14px; }
.portal-form .check-row { display: flex; align-items: center; gap: .5rem; }
.portal-form .check-row input { width: auto; margin: 0; }
.portal-form button { justify-content: center; cursor: pointer; }
.form-hint { color: var(--muted); font-size: .9rem; }
.notice { margin: 1rem 0; padding: .85rem 1rem; border: 1px solid var(--color-border-strong); border-radius: 14px; background: var(--color-accent-subtle); }
.notice.error { border-color: rgba(201,112,102,.4); color: #f0b1a9; background: rgba(120,55,49,.16); }
.portal-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.portal-card { padding: 1.5rem; border: 1px solid var(--color-border); border-radius: 24px; background: var(--color-bg-card); }
.portal-card h2 { font-size: 1.7rem; }
.portal-summary { color: var(--accent-2); }
.portal-content, .empty-state p { color: var(--muted); }
.empty-state { padding: 2rem; border: 1px dashed rgba(139,148,158,.32); border-radius: 20px; }
.team-photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; margin-top: 2rem; }
.team-photo-card { overflow: hidden; border: 1px solid var(--color-border); border-radius: 24px; background: var(--color-bg-card); }
.team-photo-card > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--color-bg-elevated); }
.team-photo-form { margin: 0; border: 0; border-radius: 0; background: transparent; }
.team-photo-form .button { width: 100%; }
.admin-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; margin-bottom: 1rem; }
.compact-list { display: grid; gap: .7rem; margin-top: 1rem; }
.compact-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid rgba(139,148,158,.18); }
.compact-list span { color: var(--muted); }
.admin-list { display: grid; gap: .8rem; margin-top: 1rem; }
.admin-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(139,148,158,.18); }
.row-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.row-actions .button { min-height: 40px; padding: .5rem 1rem; font-size: .88rem; }
.inline-form { display: inline-flex; }
.pill { display: inline-block; margin-left: .6rem; padding: .2rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .03em; border: 1px solid var(--color-border); color: var(--color-text-secondary); background: var(--color-water-subtle); }
.pill.disabled, .pill.archived { color: #e5aaa3; border-color: rgba(201,112,102,.4); }
.pill.draft { color: var(--muted); border-color: rgba(139,148,158,.3); background: rgba(139,148,158,.08); }
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .startscreen { min-height: 30rem; }
  .startscreen-image { inset: 0; width: 100%; height: 100%; }
  .startscreen-mark { top: 1.8rem; }
  .nav { min-height: 68px; }
  .brand-logo { width: 154px; }
  .nav-links a:not(.keep-mobile) { display: none; }
  .hero { min-height: 72vh; padding-top: 5rem; }
  .grid { grid-template-columns: 1fr; }
  .music-grid { grid-template-columns: 1fr; }
  .card { min-height: 190px; }
  .site-footer { flex-direction: column; }
  .portal-heading { flex-direction: column; }
  .admin-grid { grid-template-columns: 1fr; }
  .portal-shell { padding-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .startscreen-image, .startscreen-atmosphere, .startscreen-atmosphere::after, .startscreen-fog, .startscreen-fog::after, .startscreen-mark img, .raven, .raven-wing-left, .raven-wing-right, .home-page main::before, .rune-scroll::before, .startscreen-music .rune-music-button::before, .rune-scroll-symbol, .rune-scroll-line::after { animation: none; }
  .startscreen-stars, .startscreen-ravens { display: none; }
  .particle-field, .cursor-trail { display: none; }
  .rune-character, .particle-card, .particle-card::before { transition: none; }
  .particle-card:hover { transform: none; }
}
