:root {
  --ink: #0b090a;
  --ink-soft: #111012;
  --panel: #171417;
  --panel-raised: #201b1f;
  --paper: #f1ece7;
  --paper-muted: #bdb4b4;
  --paper-dim: #81797d;
  --accent: #dc187f;
  --accent-soft: #9f155f;
  --ember: #c84d34;
  --line: rgba(255, 239, 246, .12);
  --line-strong: rgba(255, 239, 246, .22);
  --shadow: 0 32px 80px rgba(31, 5, 17, .34);
  --font-body: "Microsoft JhengHei UI", "PingFang TC", "Noto Sans TC", sans-serif;
  --font-display: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  --ease-heavy: cubic-bezier(.32, .72, 0, 1);
  --ease-snap: cubic-bezier(.2, .8, .2, 1);
  --container: min(1280px, calc(100vw - 96px));
  --header-z: 30;
  --overlay-z: 60;
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 22%, rgba(129, 19, 72, .16), transparent 28rem),
    radial-gradient(circle at 88% 61%, rgba(91, 29, 21, .14), transparent 34rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

button, a { -webkit-tap-highlight-color: transparent; }

button, input, textarea, select { font: inherit; }

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

p, h1, h2, h3, dl, dd, figure { margin: 0; }

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

::selection { background: var(--accent); color: white; }

:focus-visible {
  outline: 2px solid #ff5cb4;
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: calc(var(--overlay-z) + 1);
  top: 1rem;
  left: 1rem;
  padding: .65rem 1rem;
  transform: translateY(-200%);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transition: transform 300ms var(--ease-heavy);
}

.skip-link:focus { transform: translateY(0); }

.grain {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.container { width: var(--container); margin-inline: auto; }

.section { position: relative; padding-block: clamp(7rem, 11vw, 11rem); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #d3c8cb;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span { width: 1.7rem; height: 1px; background: var(--accent); }

.button {
  min-height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .45rem .5rem .45rem 1.3rem;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform 550ms var(--ease-heavy), background-color 550ms var(--ease-heavy), color 550ms var(--ease-heavy);
}

.button i {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  font-style: normal;
  transition: transform 550ms var(--ease-heavy), background-color 550ms var(--ease-heavy);
}

.button-primary { background: var(--accent); box-shadow: 0 18px 48px rgba(220, 24, 127, .22); }
.button-quiet { padding-right: 1.3rem; background: rgba(255, 255, 255, .08); }
.button:hover { transform: translateY(-3px); }
.button:hover i { transform: translate(3px, -2px); background: rgba(255, 255, 255, .24); }
.button:active { transform: scale(.98); }

.play-mark {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  font-size: .65rem;
}

.bezel {
  padding: .45rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--shadow);
}

.bezel-core {
  height: 100%;
  overflow: hidden;
  border-radius: calc(1.75rem - .45rem);
  background: var(--panel);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .1);
}

.bezel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1100ms var(--ease-heavy);
}

.bezel:hover img { transform: scale(1.025); }

[data-reveal] {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 900ms var(--ease-heavy), transform 900ms var(--ease-heavy);
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--accent);
  font-size: .85rem;
  font-weight: 700;
  transition: color 400ms var(--ease-heavy), gap 400ms var(--ease-heavy);
}

.text-link:hover { color: #ff70bb; gap: .9rem; }

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

