@font-face {
  font-family: "Agnata Script";
  src: url("media/agnata-script.woff2") format("woff2");
  font-display: swap;
}
:root { color-scheme: dark; --ink: #f7fbff; --muted: #a6b7c7; --red: #ff4b1f; --line: rgba(210,225,238,.26); --entry-title-size: 24px; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #010912; color: var(--ink); }
body { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
.backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #010912 url("media/agnata-night-city.png") center/cover no-repeat; }
.backdrop-video { width: 100%; height: 100%; object-fit: cover; opacity: .48; filter: saturate(1.8) contrast(1.28) sepia(.14); }
.shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,7,14,.86) 0%, rgba(1,9,18,.43) 43%, rgba(1,9,18,.16) 100%), linear-gradient(180deg, rgba(1,9,18,.4), rgba(1,9,18,.12) 45%, rgba(1,9,18,.68)); }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: url("media/grain.png"); background-size: 170px 170px; mix-blend-mode: screen; }
.site { position: relative; z-index: 1; width: 100%; min-height: 100svh; padding: 0 clamp(20px, 2.4vw, 42px); margin: 0; display: flex; flex-direction: column; }
.topline { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 26px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.topline-tools { display: flex; align-items: center; gap: 18px; }
.audio-toggle { display: grid; place-items: center; width: 40px; height: 40px; margin: -10px -8px -10px 0; padding: 9px; color: #aab6c0; border: 1px solid transparent; border-radius: 50%; background: rgba(1,9,18,.24); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.audio-toggle:hover, .audio-toggle:focus-visible { color: #fff; border-color: var(--line); outline: none; }
.audio-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.audio-toggle .speaker-off { display: none; }
.audio-toggle[aria-pressed="true"] .speaker-on { display: none; }
.audio-toggle[aria-pressed="true"] .speaker-off { display: block; }
.status { display: flex; align-items: center; gap: 8px; color: var(--red); font-weight: 700; text-shadow: 0 0 14px rgba(255,75,31,.4); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(255,69,69,.55); animation: blink 1.5s infinite; }
@keyframes blink { 50% { opacity: .28; } }
.intro { position: relative; width: 100%; padding: clamp(34px, 6vh, 68px) 0 42px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro .status { margin-bottom: 0; }
.wordmark-wrap { position: relative; display: inline-block; }
.wordmark-wrap .status { position: absolute; left: calc(100% - 1px); top: 2%; display: flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 9px; letter-spacing: .09em; line-height: 1; transform: translateY(-15%); }
.wordmark-wrap .dot { width: 5px; height: 5px; flex: 0 0 5px; }
.wordmark { font-size: clamp(68px, 10vw, 116px); }
.masthead-streaming { display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 22px; }
.masthead-streaming a { display: inline-flex; width: 22px; height: 22px; color: #b8c6d2; opacity: .9; transition: color .2s, opacity .2s, transform .2s; }
.masthead-streaming a:hover { color: #fff; opacity: 1; transform: translateY(-2px); }
.masthead-streaming svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.masthead-streaming svg .fill { fill: currentColor; stroke: none; }
.wordmark { display: inline-block; color: #fff4e9; text-decoration: none; font-family: "URW Chancery L", "Brush Script MT", "Segoe Script", cursive; font-style: italic; font-weight: 700; font-size: clamp(76px, 12vw, 142px); line-height: .92; letter-spacing: -.075em; text-shadow: 0 0 1px #fff, 0 4px 28px rgba(255,88,25,.28); transform: rotate(-3deg); }

.journal { flex: 1; width: min(48vw, 720px); margin-left: 0; padding-right: 42px; }
.journal-tools { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin: 0 0 16px; color: var(--muted); width: fit-content; }
.fader-label { display: none; }
.fader-value { position: relative; order: 3; align-self: flex-end; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .12em; color: #fff; white-space: nowrap; transform: rotate(180deg); margin-left: 1px; }
.ssl-fader { display: flex; align-items: stretch; gap: 8px; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.fader-scale { order: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; color: #c0cbd5; font: 9px/1 monospace; text-align: right; padding: 1px 0; }
.fader-rail { order: 1; position: relative; width: 27px; height: 100%; display: flex; align-items: center; justify-content: center; }
.fader-centerline { position: absolute; width: 5px; height: 100%; border-radius: 2px; background: linear-gradient(90deg,#080d12,#8795a0 45%,#101820); box-shadow: inset 0 0 0 1px rgba(0,0,0,.8), 0 0 9px rgba(0,0,0,.3); }
#text-size { position: absolute; inset: 0; width: 27px; height: 100%; margin: 0; opacity: 0; cursor: ns-resize; writing-mode: vertical-lr; direction: rtl; }
.fader-cap { pointer-events: none; position: absolute; left: 0; top: calc(100% - ((var(--fader-progress, 44.44)) * 1%)); width: 27px; height: 15px; border: 1px solid #111820; border-radius: 2px; background: linear-gradient(180deg,#fff 0%,#aab5bd 22%,#e7edf0 48%,#77848e 52%,#d4dce1 80%,#697680 100%); box-shadow: 0 2px 4px rgba(0,0,0,.75), inset 0 1px rgba(255,255,255,.95); }
.fader-cap i { position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: #e91d4e; box-shadow: 0 0 5px rgba(255,36,93,.5); }
.entries { display: flex; flex-direction: column; gap: 0; }
.entry { padding: 7px 0 8px; border: 0; }
.entry-meta { color: #d0d5da; font-size: 10px; letter-spacing: .12em; margin-bottom: 3px; text-shadow: 0 1px 8px #000; }
.entry-title { display: inline; color: #fff; text-decoration: none; font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif; font-size: var(--entry-title-size, 24px); line-height: 1.08; font-weight: 800; letter-spacing: -.055em; text-shadow: 0 2px 14px rgba(0,0,0,.7); transition: color .18s ease, text-shadow .18s ease; }
.entry-title-static {
  color: #fff;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
a.entry-title:hover,
a.entry-title:focus-visible {
  color: #ff4777;
  text-shadow: 0 0 22px rgba(255,36,93,.32);
  text-decoration: underline;
  text-decoration-color: rgba(255,71,119,.75);
  text-underline-offset: 5px;
}
.entry-title .arrow { color: var(--muted); font-size: .75em; margin-left: 5px; }
.footer { min-height: 56px; padding: 18px 0 24px; margin-top: auto; border: 0; display: flex; justify-content: center; align-items: center; }
.footer .socials { justify-content: center; }
.socials { display: flex; align-items: center; gap: 22px; }
.socials a { color: #aab6c0; display: inline-flex; width: 20px; height: 20px; opacity: .82; transition: opacity .2s, color .2s; }
.socials a:hover { opacity: 1; color: #fff; }
.socials svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: currentColor; stroke: none; }
.goods-link { color: var(--muted); text-decoration: none; font-size: 11px; letter-spacing: .08em; }
.goods-link:hover { color: #fff; }
.platform-dialog { width: min(390px, calc(100% - 32px)); border: 1px solid rgba(220,235,245,.24); border-radius: 12px; padding: 30px; color: var(--ink); background: rgba(3,13,24,.96); box-shadow: 0 24px 100px rgba(0,0,0,.5); }
.platform-dialog::backdrop { background: rgba(0,0,0,.58); backdrop-filter: blur(7px); }
.close-dialog { position: absolute; top: 10px; right: 14px; border: 0; background: none; color: var(--muted); font-size: 27px; cursor: pointer; }
.eyebrow { margin: 0 0 10px; color: var(--red); font-size: 10px; letter-spacing: .15em; }
.platform-dialog h2 { margin: 0; font-size: 26px; font-weight: 500; }
.dialog-note { color: var(--muted); font-size: 13px; margin: 10px 0 22px; }
.platform-links { display: grid; gap: 9px; }
.platform-links a { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); text-decoration: none; font-size: 13px; }
.platform-links a:hover { background: rgba(255,255,255,.07); }
/* Responsive layout: fluid width/type, touch-sized controls, and orientation-safe spacing. */
@media (min-width: 900px) { .intro { width: 100%; } .journal { width: min(44vw, 680px); } }
@media (min-width: 541px) and (max-width: 899px) { .intro { width: 100%; padding-top: clamp(58px, 10vh, 96px); } .journal { width: min(58vw, 700px); padding-right: 36px; } .journal-tools { right: 18px; } }
@media (max-width: 540px) { .site { width: 100%; padding: 0 18px; } .intro { width: 100%; } .journal { width: 100%; padding-right: 30px; } .topline { font-size: 9px; gap: 10px; } .topline-tools { gap: 8px; } .intro { padding-top: 76px; padding-bottom: 38px; } .masthead-streaming { margin-top: 18px; gap: 22px; } .footer { margin-top: auto; padding-top: 20px; } .socials { gap: 17px; } .audio-toggle { width: 44px; height: 44px; } .journal-tools { position: fixed; right: 0; top: 0; height: 100svh; padding: 12px 5px 12px 0; } .ssl-fader { height: 100%; padding: 0; gap: 4px; } .fader-scale { font-size: 7px; } .fader-rail { width: 20px; } #text-size { width: 20px; } .fader-cap { width: 20px; } .fader-value { font-size: 7px; } }
@media (max-width: 380px) { .site { width: 100%; padding: 0 14px; } .topline { letter-spacing: .06em; } .topline-tools { gap: 4px; } .tagline { font-size: 12px; } .entry { padding: 18px 0 21px; } }
@media (orientation: landscape) and (max-height: 500px) { .intro { padding-top: 38px; padding-bottom: 28px; } .wordmark { font-size: clamp(52px, 9vh, 76px); } .tagline { margin-top: 10px; } .footer { padding-top: 24px; margin-top: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .backdrop-video { display: none; } }

.dialog-body { color: #e1e7ec; font-size: 14px; line-height: 1.65; margin: 0 0 16px; white-space: pre-wrap; }

/* Full-height video volume fader, docked flush to the right edge. */
.audio-toggle { display: none !important; }
.volume-fader {
  position: fixed;
  z-index: 5;
  top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: stretch;
  gap: 9px;
  width: 78px;
  padding: 14px 8px 14px 0;
  pointer-events: none;
}
.volume-fader .fader-rail {
  order: 1;
  position: relative;
  flex: 0 0 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.volume-fader .fader-track {
  position: absolute;
  width: 5px; height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg,#060b10,#8795a0 45%,#151d24);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.85), 0 0 8px rgba(0,0,0,.45);
}
#volume-fader {
  position: absolute;
  inset: 0;
  width: 30px; height: 100%;
  margin: 0; opacity: 0;
  cursor: ns-resize;
  writing-mode: vertical-lr;
  direction: rtl;
  touch-action: none;
}
.volume-fader .fader-cap {
  position: absolute;
  left: 0;
  width: 30px; height: 16px;
  pointer-events: none;
  border: 1px solid #111820;
  border-radius: 2px;
  background: linear-gradient(180deg,#fff 0%,#aab5bd 22%,#e7edf0 48%,#77848e 52%,#d4dce1 80%,#697680 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,.75), inset 0 1px rgba(255,255,255,.95);
}
.volume-fader .fader-cap i {
  position: absolute; left: 0; right: 0; top: 6px; height: 2px;
  background: #ff4b1f; box-shadow: 0 0 5px rgba(255,75,31,.65);
}
.volume-fader .fader-scale {
  order: 2;
  display: flex; flex-direction: column;
  justify-content: space-between; align-items: flex-end;
  height: 100%;
  color: #f4f6f8;
  font: 9px/1 monospace;
  text-shadow: 0 1px 5px #000;
  white-space: nowrap;
  pointer-events: none;
}
.journal { padding-right: 96px; }
@media (max-width: 540px) {
  .volume-fader { width: 58px; gap: 5px; padding: 10px 4px 10px 0; }
  .volume-fader .fader-rail { flex-basis: 22px; }
  #volume-fader { width: 22px; }
  .volume-fader .fader-cap { width: 22px; }
  .volume-fader .fader-scale { font-size: 7px; }
  .journal { padding-right: 66px; }
}

@media (max-width: 540px) { .wordmark-wrap .status { font-size: 7px; gap: 4px; left: calc(100% - 3px); } }


/* Live status: trademark-like superscript anchored to the wordmark. */
.wordmark-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.wordmark-wrap .status {
  position: absolute;
  left: calc(100% + 8px);
  top: 24%;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: .09em;
  line-height: 1;
  transform: translateY(-50%);
}
.wordmark-wrap .dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
}

/* Social links live at the end of the page, centered horizontally. */
.footer {
  min-height: 56px;
  margin-top: auto;
  padding: 18px 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer .socials {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 540px) {
  .wordmark-wrap .status {
    top: 0;
    right: -1.1em;
    gap: 4px;
    font-size: 7px;
    letter-spacing: .04em;
  }
  .wordmark-wrap .dot {
    width: 4px;
    height: 4px;
    flex-basis: 4px;
  }
  .footer {
    margin-top: auto;
    padding: 20px 0 24px;
  }
}

@media (max-width: 380px) {
  .wordmark-wrap .status {
    right: -0.75em;
    font-size: 6px;
  }
}
