/* Fonts are loaded via <link rel="preconnect"> + <link rel="stylesheet">
   in each page's <head> instead of @import here -- @import blocks CSSOM
   construction until styles.css itself has been fetched and parsed, so the
   font request couldn't even start until then. A <link> in <head> lets the
   browser discover and fetch it in parallel with styles.css. See AGENTS.md
   "字型載入" for the exact tags every page must include. */

:root {
  color-scheme: dark;
  --ink: #080912;
  --ink-2: #0d0b18;
  --paper: #f4f0f7;
  --soft: #cfcad9;
  --muted: #c0bccd;
  --dim: #a5a1b2;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --violet: #c849f5;
  --cyan: #78ddff;
  --lilac: #e5a8ff;
  --surface: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  --glow: linear-gradient(90deg, var(--violet), var(--cyan));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --display: 'Noto Sans TC', system-ui, sans-serif;
  --latin: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--ink);
  scroll-padding-top: 88px;
  scrollbar-color: rgba(200, 73, 245, 0.45) var(--ink);
}
body {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
/* Chrome/Safari: break CJK headings between phrases rather than mid-word. */
h1, h2, h3, .hero-line { word-break: auto-phrase; }
/* One shared night sky behind every dark section, so the page reads as a
   single continuous atmosphere instead of stacked flat panels. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 8% 12%, rgba(200, 73, 245, 0.13), transparent 70%),
    radial-gradient(55vw 55vh at 96% 78%, rgba(120, 221, 255, 0.09), transparent 70%);
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: var(--ink); background: #e49aff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--paper);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }
.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- */
/* Header                                                            */
/* ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  background: linear-gradient(180deg, rgba(8, 9, 18, .72), rgba(8, 9, 18, .28));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: height .35s var(--ease), background .35s, border-color .35s;
}
.site-header.is-scrolled { --header-h: 68px; background: rgba(8, 9, 18, .82); border-bottom-color: var(--line); }
/* Reading-progress hairline; browsers without scroll-driven animations just don't show it. */
@supports (animation-timeline: scroll()) {
  .site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--glow);
    transform-origin: left;
    transform: scaleX(0);
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
}
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 700; letter-spacing: .15em; }
.brand-mark { color: var(--lilac); font-size: 1.2rem; text-shadow: 0 0 14px rgba(200, 73, 245, .8); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(180deg) scale(1.15); }
.site-header nav { display: flex; gap: 2.5rem; font-family: var(--latin); font-size: .82rem; letter-spacing: .13em; }
.site-header nav a { position: relative; padding: .4rem 0; color: var(--soft); transition: color .25s; }
.site-header nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.site-header nav a:hover, .site-header nav a.is-current { color: var(--paper); }
.site-header nav a:hover::after, .site-header nav a.is-current::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 1.75rem; justify-self: end; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-button span { display: block; width: 24px; height: 1px; margin: 7px 0; background: currentColor; transition: transform .25s; }
.menu-button[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 25;
  padding: 9rem 1.5rem 2rem;
  background: radial-gradient(90vw 60vh at 100% 0, rgba(200, 73, 245, .18), transparent 70%), rgba(8, 9, 18, .97);
  animation: fade-in .3s ease both;
}
.mobile-nav > a { display: block; padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-size: 2rem; }
.mobile-nav > a:active { color: var(--lilac); }
.lang-switch-group { display: flex; align-items: center; gap: .9rem; font-family: var(--latin); font-size: .82rem; letter-spacing: .13em; }
.lang-switch { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; opacity: .5; transition: opacity .25s, color .25s; }
.lang-switch:hover { opacity: 1; color: var(--lilac); }
.lang-switch.is-active { opacity: 1; color: var(--paper); text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; cursor: default; }
.mobile-nav .lang-switch-group { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: .75rem; }
.mobile-nav .lang-switch { padding: .5rem 0; font-size: 1.1rem; }

/* ---------------------------------------------------------------- */
/* Hero                                                              */
/* ---------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
/* Melts the photo into the page instead of ending on a hard edge. */
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28vh;
  background: linear-gradient(180deg, transparent, var(--ink));
}
picture:has(.hero-image) { display: contents; }
.hero-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; animation: drift 16s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(3, 6, 15, .95) 0%, rgba(3, 6, 15, .72) 35%, rgba(3, 6, 15, .05) 72%), linear-gradient(0deg, rgba(3, 6, 15, .68), transparent 45%); }
.hero-copy { width: min(780px, 82vw); margin: 5rem 0 0 clamp(1.25rem, 9vw, 10rem); }
.eyebrow, .section-number { font-family: var(--latin); font-size: .86rem; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .9rem; color: var(--soft); }
.eyebrow span { width: 2.5rem; height: 1px; background: var(--glow); }
.hero h1 {
  margin: .05em 0 0;
  font-size: clamp(6rem, 17vw, 13rem);
  line-height: .95;
  letter-spacing: -.07em;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(180deg, #fff 35%, #ddb6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 48px rgba(204, 70, 255, .3));
}
.hero-line { margin: 1.6rem 0 2.4rem; font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 300; line-height: 1.55; letter-spacing: .12em; text-wrap: balance; }
.text-link {
  position: relative;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  padding: .85rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  background: rgba(8, 9, 18, .35);
  backdrop-filter: blur(8px);
  font-size: .9rem;
  letter-spacing: .12em;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.text-link span { color: var(--lilac); font-size: 1.15rem; transition: transform .3s var(--ease); }
.text-link:hover { border-color: var(--violet); background: rgba(200, 73, 245, .16); box-shadow: 0 0 32px rgba(200, 73, 245, .3); }
.text-link:hover span { transform: translate(3px, 3px); }
.hero-meta { position: absolute; right: clamp(1.25rem, 4vw, 4.5rem); top: 50%; display: flex; gap: 2.5rem; writing-mode: vertical-rl; font-family: var(--latin); font-size: .65rem; letter-spacing: .16em; color: rgba(255, 255, 255, .6); }
.scroll-cue { position: absolute; left: clamp(1.25rem, 4vw, 4.5rem); bottom: 2.2rem; display: flex; align-items: center; gap: .8rem; font-family: var(--latin); font-size: .64rem; letter-spacing: .2em; }
.scroll-cue span { display: block; width: 38px; height: 1px; background: var(--paper); transform-origin: left; animation: pulse 2s ease-in-out infinite; }

/* ---------------------------------------------------------------- */
/* Sections                                                          */
/* ---------------------------------------------------------------- */
.section { position: relative; padding: clamp(6rem, 12vw, 11rem) clamp(1.25rem, 8vw, 9rem); }
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 8vw, 9rem);
  right: clamp(1.25rem, 8vw, 9rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 73, 245, .8), rgba(255, 255, 255, .14) 45%, transparent);
  box-shadow: 0 0 28px 1px rgba(200, 73, 245, .22);
}
.section-number { display: flex; align-items: center; gap: .9rem; margin: 0; color: #e0a6f7; }
.section-number::before { content: ''; width: 1.6rem; height: 1px; background: currentColor; opacity: .7; }
.section-heading { display: grid; grid-template-columns: minmax(140px, .45fr) 1fr; align-items: start; }
.section-heading .section-number { margin-top: 1.1rem; }
.section h2 { margin: 0; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1.14; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }

/* Shared card surface: stream cards + journal cards */
.stream-card, .blog-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.stream-card::before, .blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 73, 245, .24), transparent 65%);
  transition: opacity .35s;
}
.stream-card:hover, .blog-card:hover { border-color: rgba(200, 73, 245, .7); transform: translateY(-5px); box-shadow: 0 1.6rem 3.5rem rgba(0, 0, 0, .45), 0 0 0 1px rgba(200, 73, 245, .15); }
.stream-card:hover::before, .blog-card:hover::before { opacity: 1; }

.stream-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); margin-top: clamp(4rem, 8vw, 7rem); }
.stream-card { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 220px; padding: clamp(1.8rem, 3.4vw, 2.4rem); }
/* a small star in the corner that lights up on hover */
.stream-card::after {
  content: '';
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 6px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dim);
  transition: background .3s, box-shadow .3s;
}
.stream-card:hover::after { background: #fff; box-shadow: 0 0 8px 2px #fff, 0 0 26px 8px var(--violet); }
.stream-name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.stream-action { display: flex; align-items: center; gap: .6rem; color: var(--cyan); font: 500 .88rem/1 var(--latin); letter-spacing: .12em; }
.stream-action > span { display: inline-block; transition: transform .3s var(--ease); }
.stream-card:hover .stream-action > span { transform: translate(3px, -3px); }

.videos { background: radial-gradient(circle at 82% 14%, rgba(120, 221, 255, .09), transparent 32%), radial-gradient(circle at 6% 92%, rgba(200, 73, 245, .08), transparent 30%); }
.videos .section-heading > div { max-width: 920px; }
.playlist-link { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(255, 255, 255, .3); color: var(--muted); font: 400 .78rem/1.4 var(--latin); letter-spacing: .12em; transition: color .25s, border-color .25s; }
.playlist-link:hover { color: var(--paper); border-color: var(--violet); }
.playlist-link span { color: var(--cyan); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 2.6vw, 2.6rem) clamp(1rem, 2.4vw, 2.2rem); margin-top: clamp(4rem, 8vw, 7rem); }
.video-card { min-width: 0; transition: transform .4s var(--ease); }
.video-card:hover { transform: translateY(-4px); }
.video-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 0; background: #05060c; box-shadow: 0 0 0 1px var(--line-soft); transition: box-shadow .4s; }
button.video-media { display: block; width: 100%; padding: 0; color: var(--paper); text-align: left; cursor: pointer; }
.video-card:hover .video-media { box-shadow: 0 0 0 1px rgba(200, 73, 245, .6), 0 1.2rem 3rem rgba(0, 0, 0, .5), 0 0 40px rgba(200, 73, 245, .18); }
.video-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.06); transition: transform .7s var(--ease), filter .4s ease; }
.video-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(5, 6, 12, .78)); }
.video-media:hover img { transform: scale(1.045); filter: saturate(1.05) contrast(1.04); }
.video-play { position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 1; display: grid; place-items: center; width: 3.6rem; aspect-ratio: 1; padding-left: 2px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; background: rgba(8, 9, 18, .55); backdrop-filter: blur(8px); font-size: .95rem; box-shadow: 0 0 20px rgba(200, 73, 245, .35); transition: color .25s, border-color .25s, transform .35s var(--ease), box-shadow .3s, background .25s; }
.video-media:hover .video-play { color: var(--ink); border-color: #fff; background: #fff; transform: scale(1.12); box-shadow: 0 0 32px rgba(120, 221, 255, .65); }
/* touch screens have no hover: show the play button in its "active" look so cards read as tappable */
@media (hover: none) {
  .video-play { color: var(--ink); border-color: #fff; background: rgba(255, 255, 255, .92); }
}
.video-media iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-meta { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding-top: 1.2rem; }
.video-index { color: #e0a6f7; font: 500 .82rem/1.7 var(--latin); letter-spacing: .14em; }
.video-title { margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; font-weight: 500; transition: color .25s; }
.video-card:hover .video-title { color: #fff; }
.video-date { grid-column: 2; margin: -.35rem 0 0; color: var(--dim); font: 400 .82rem/1.4 var(--latin); letter-spacing: .08em; }
.video-state { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; min-height: 260px; padding: 2rem; border: 1px dashed var(--line); color: var(--muted); }
.video-state-mark { color: var(--violet); animation: twinkle 2.4s ease-in-out infinite; }
.video-state p { margin: 0; }
.video-state a { color: var(--cyan); border-bottom: 1px solid currentColor; }

/* About: stays in the night palette; the portrait is framed like a viewfinder. */
.manifesto { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 10rem); align-items: center; background: radial-gradient(60vw 60vh at 100% 50%, rgba(200, 73, 245, .1), transparent 70%), linear-gradient(180deg, transparent, rgba(13, 11, 24, .9) 25%, rgba(13, 11, 24, .9) 75%, transparent); }
.portrait-slice { position: relative; min-height: 700px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 2rem 6rem rgba(0, 0, 0, .55), 0 0 90px rgba(200, 73, 245, .12); }
.portrait-slice img { position: absolute; width: 180%; height: 100%; object-fit: cover; object-position: 72% center; filter: saturate(.85) contrast(1.05); }
.portrait-slice::before, .portrait-slice::after { content: ''; position: absolute; z-index: 1; width: 22px; aspect-ratio: 1; pointer-events: none; border: 0 solid var(--paper); opacity: .75; }
.portrait-slice::before { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.portrait-slice::after { right: 14px; bottom: 14px; border-width: 0 1px 1px 0; }
.manifesto-copy h2 { margin: 1.4rem 0 2.6rem; font-size: clamp(2.6rem, 4.8vw, 4.4rem); }
.manifesto-copy .lead { font-size: 1.35rem; font-weight: 500; line-height: 1.6; }
.manifesto-copy > p:not(.section-number, .lead, .signature) { max-width: 37rem; color: var(--soft); font-size: 1.08rem; font-weight: 400; line-height: 1.9; text-wrap: pretty; }
.signature { margin-top: 3rem; font-size: 1.4rem; font-weight: 700; letter-spacing: .18em; }
.signature span { color: var(--violet); text-shadow: 0 0 16px rgba(200, 73, 245, .8); }

/* Contact */
.contact { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 75% 45%, rgba(108, 32, 147, .28), transparent 40%); }
/* concentric ripples: the "same frequency" of the headline */
.contact::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -14vw;
  top: 50%;
  width: min(72vw, 820px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 46px, rgba(120, 221, 255, .09) 46px 47px);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  animation: ripple 14s linear infinite;
}
.contact h2 { margin-top: 1.6rem; max-width: 1050px; font-size: clamp(3rem, 7.4vw, 6.6rem); }
.contact h2 em { font-style: normal; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-note { margin: 2.3rem 0 1.4rem; color: var(--muted); }
.email-button { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: min(760px, 100%); padding: 1.5rem 1.6rem; border: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; overflow: hidden; transition: border-color .3s, box-shadow .4s; }
.email-button::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(200, 73, 245, .22), rgba(120, 221, 255, .12)); transform: translateX(-101%); transition: transform .6s var(--ease); }
.email-button:hover { border-color: rgba(200, 73, 245, .7); box-shadow: 0 0 40px rgba(200, 73, 245, .2); }
.email-button:hover::before { transform: none; }
.email-button > span { position: relative; }
.email-button > span:first-child { font: 400 clamp(1rem, 2.2vw, 1.5rem)/1.3 var(--latin); }
.email-action { color: #dda1f2; font-size: .78rem; letter-spacing: .12em; white-space: nowrap; }

/* Footer */
footer { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: 3rem clamp(1.25rem, 4vw, 4.5rem); border-top: 1px solid var(--line-soft); color: #8f8b9a; font: 400 .7rem/1.7 var(--latin); letter-spacing: .13em; }
footer a { transition: color .25s; }
footer a:hover { color: var(--paper); }
.footer-brand { display: flex; flex-direction: column; color: var(--paper); }
.footer-brand span { font: 700 1.5rem/1.2 var(--display); letter-spacing: .15em; }
.footer-brand small { font-size: .55rem; letter-spacing: .25em; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
/* children of grids arrive one after another (backwards fill so hover transforms still work afterwards) */
.reveal.visible > .stream-card, .reveal.visible > .video-card, .reveal.visible > .blog-card { animation: rise .9s var(--ease) backwards; }
.reveal.visible > :nth-child(2) { animation-delay: .09s; }
.reveal.visible > :nth-child(3) { animation-delay: .18s; }
.reveal.visible > :nth-child(4) { animation-delay: .27s; }
.reveal.visible > :nth-child(5) { animation-delay: .36s; }
.reveal.visible > :nth-child(n+6) { animation-delay: .45s; }

@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.08) translateX(-1%); } }
@keyframes pulse { 50% { transform: scaleX(.35); opacity: .45; } }
@keyframes twinkle { 50% { opacity: .35; transform: scale(.8); } }
@keyframes ripple { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------------------------------------------------------------- */
/* Long-form content (blog posts, privacy policy)                    */
/* ---------------------------------------------------------------- */
.prose { max-width: 44rem; margin-top: clamp(2.5rem, 6vw, 4rem); color: var(--soft); font-weight: 300; }
.prose p { margin: 0 0 1.6rem; font-size: 1.06rem; line-height: 1.95; text-wrap: pretty; }
.prose > p:first-child:not(.legal-updated) { color: var(--paper); font-size: 1.2rem; font-weight: 400; }
.prose h3 { position: relative; margin: 3rem 0 1rem; padding-left: 1rem; color: var(--paper); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.prose h3::before { content: ''; position: absolute; left: 0; top: .3em; bottom: .3em; width: 2px; background: linear-gradient(180deg, var(--violet), var(--cyan)); }
.prose ul { margin: 0 0 1.6rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .75rem; line-height: 1.8; }
.prose li::marker { color: var(--violet); }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(120, 221, 255, .45); transition: border-color .25s; }
.prose a:hover { border-color: var(--cyan); }
.prose code { padding: .15em .4em; background: rgba(255, 255, 255, .08); font-family: var(--latin); font-size: .9em; }
.legal-updated { color: var(--dim); font: 400 .78rem/1.4 var(--latin); letter-spacing: .1em; text-transform: uppercase; }

/* Blog index */
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin-top: clamp(3.5rem, 8vw, 6rem); }
.blog-card { display: flex; flex-direction: column; gap: .7rem; padding: 2rem 1.8rem; }
.blog-card-date { margin: 0; color: #cf82ec; font: 400 .7rem/1.4 var(--latin); letter-spacing: .14em; }
.blog-card h3 { margin: 0; font-size: 1.4rem; line-height: 1.4; letter-spacing: -.01em; text-wrap: balance; }
.blog-card-excerpt { margin: 0; color: var(--muted); font-size: .92rem; font-weight: 300; line-height: 1.7; }
.blog-card-link { margin-top: auto; padding-top: .8rem; color: var(--cyan); font: 400 .78rem/1 var(--latin); letter-spacing: .1em; }
.blog-card-link > span { display: inline-block; transition: transform .3s var(--ease); }
.blog-card:hover .blog-card-link > span { transform: translate(3px, -3px); }

/* Blog post / legal page article */
.blog-post { max-width: 60rem; margin: 0 auto; padding-top: clamp(8rem, 14vw, 11rem); }
.blog-post::before { display: none; }
.legal-page { padding-top: clamp(8rem, 14vw, 11rem); }
.legal-page::before { display: none; }
.blog-index { padding-top: clamp(8rem, 14vw, 11rem); }
.blog-index::before { display: none; }
.blog-back { display: inline-flex; margin-bottom: 2.5rem; color: var(--muted); font: 400 .8rem/1 var(--latin); letter-spacing: .1em; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.blog-back:hover { color: var(--paper); border-color: currentColor; }
.blog-post-title { margin: 1.2rem 0 0; font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.2; letter-spacing: -.03em; text-wrap: balance; }
.blog-post-meta { margin: 1.2rem 0 0; color: var(--dim); font: 400 .78rem/1.4 var(--latin); letter-spacing: .12em; }
.blog-post-note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); font-size: .85rem; color: #6f6b7a; }

/* ---------------------------------------------------------------- */
/* Cookie consent banner                                             */
/* ---------------------------------------------------------------- */
.ys-notice[hidden] {
  display: none;
}
.ys-notice {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.3rem 1.6rem;
  border: 1px solid var(--line);
  background: rgba(10, 10, 20, .88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .45);
  animation: rise .7s var(--ease) .4s backwards;
}
.ys-notice p { margin: 0; max-width: 46rem; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.ys-notice a { color: var(--cyan); border-bottom: 1px solid rgba(120, 221, 255, .45); }
.ys-notice-actions { display: flex; gap: .8rem; flex-shrink: 0; }
.ys-notice-actions button {
  padding: .65rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: transparent;
  font: 400 .78rem/1 var(--latin);
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .25s, background .25s, color .25s, box-shadow .25s;
}
.ys-notice-actions button[data-ys-action='accept'] { border-color: transparent; background: linear-gradient(90deg, var(--violet), #9a6cf5); color: #fff; }
.ys-notice-actions button[data-ys-action='accept']:hover { box-shadow: 0 0 24px rgba(200, 73, 245, .55); }
.ys-notice-actions button[data-ys-action='decline']:hover { border-color: var(--paper); }

/* ---------------------------------------------------------------- */
/* Responsive                                                        */
/* ---------------------------------------------------------------- */
@media (max-width: 1024px) and (min-width: 761px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stream-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-header nav { gap: 1.6rem; }
  .portrait-slice { min-height: 560px; }
}

@media (max-width: 760px) {
  :root { --header-h: 76px; }
  html { scroll-padding-top: 76px; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header.is-scrolled { --header-h: 64px; }
  .site-header nav { display: none; }
  .header-right .lang-switch-group { display: none; }
  .menu-button { display: block; }
  .hero { min-height: 760px; }
  .hero-image { object-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3, 6, 15, .94), rgba(3, 6, 15, .18)), linear-gradient(0deg, rgba(3, 6, 15, .72), transparent 60%); }
  .hero-copy { width: calc(100% - 2.5rem); margin: 2rem 1.25rem 0; }
  .hero h1 { font-size: clamp(5.8rem, 30vw, 8rem); }
  .hero-line { font-size: 1.12rem; }
  .hero-meta { display: none; }
  .scroll-cue { left: 1.25rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading .section-number { margin-top: 0; }
  .manifesto { grid-template-columns: 1fr; }
  .video-grid, .stream-grid, .blog-list { grid-template-columns: 1fr; }
  .stream-card { min-height: 170px; gap: 2rem; }
  .portrait-slice { min-height: 480px; }
  .manifesto-copy h2 { font-size: 2.5rem; }
  .contact { min-height: 720px; }
  .contact h2 { font-size: 2.3rem; }
  .contact::after { right: -45vw; width: 110vw; }
  .email-button { padding: 1.2rem; }
  footer { align-items: flex-start; flex-direction: column; }
  .ys-notice { flex-direction: column; align-items: stretch; left: 1rem; right: 1rem; bottom: 1rem; padding: 1.2rem; }
  .ys-notice-actions { justify-content: flex-end; }
}

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

