/* ============================================================
   贈書兩萬本 — 台灣文藝文化推廣
   視覺語彙：藍晒圖（cyanotype）／靛藍底、白線稿、玉青綠亮色
   ============================================================ */

:root {
  --ink:        #06263F;
  --ink-2:      #0B3A5E;
  --ink-3:      #0E4E74;
  --paper:      #F1F7F6;
  --paper-2:    #FFFFFF;
  --jade:       #1E9E80;
  --jade-lit:   #2FBF9B;
  --mint:       #7FE0C6;
  --sky:        #57C8D8;

  --on-ink:     #E8F4F2;
  --on-ink-dim: #9FC0CE;
  --on-paper:   #06263F;
  --on-paper-dim: #4C6D7D;

  --rule:       rgba(6, 38, 63, .12);
  --rule-ink:   rgba(143, 224, 240, .22);

  --font-kai: "LXGW WenKai TC", "Noto Serif TC", "Kaiti TC", "DFKai-SB", "標楷體", serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;

  --wrap: 1140px;
  --dock: 106px; /* 由 script.js 依實際高度校正 */
  --ease: cubic-bezier(.22, .8, .28, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: var(--dock);
  background: var(--paper);
  color: var(--on-paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* height:auto 讓 width/height 屬性不覆蓋 aspect-ratio */
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { margin: 0; font-family: var(--font-kai); font-weight: 700; line-height: 1.25; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--jade-lit);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 藍晒網格 ---------- */
.blueprint {
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--rule-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-ink) 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: center;
}

/* ============================================================
   按鈕
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease);
}
.btn i, .btn__ico { flex: none; }
.btn__ico { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; }

.btn--go {
  background: linear-gradient(102deg, var(--jade-lit), var(--jade) 62%, #14806A);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(30, 158, 128, .85), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--go:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(30, 158, 128, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--go:active { transform: translateY(0); }

.btn--wide { width: 100%; max-width: 420px; padding: 17px 32px; font-size: 17.5px; }

.btn--quiet {
  background: transparent;
  color: var(--on-paper-dim);
  padding: 8px 4px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .02em;
  gap: 8px;
}
.btn--quiet i { color: var(--jade); font-size: 13px; }
.btn--quiet:hover { color: var(--jade); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-ink);
  padding: 34px 0 54px;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: -14%;
  width: 130vw; height: 92vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 42% 42%, rgba(47, 191, 155, .26), rgba(11, 58, 94, .1) 46%, transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(127, 224, 198, .4);
  border-radius: 999px;
  background: rgba(47, 191, 155, .1);
  color: var(--mint);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .06em;
}
.hero__badge i { font-size: 12px; }

.hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  margin-top: 28px;
}

/* --- 主視覺 --- */
.hero__art {
  position: relative;
  will-change: transform;
}
.hero__frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #072E4A;
}
.hero__frame img {
  width: 100%;
  height: clamp(320px, 47vh, 470px);
  object-fit: cover;
  object-position: center 46%;
}
/* 讓照片下緣沉入靛藍底，不像貼上去的一塊亮色 */
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 38, 63, .22) 0%, transparent 24%, transparent 58%, rgba(6, 38, 63, .46) 100%);
  pointer-events: none;
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(143, 224, 240, .3);
  border-radius: 20px;
  pointer-events: none;
}

/* 藍晒定位角標 */
.hero__mark {
  position: absolute;
  width: 26px; height: 26px;
  border: 1.5px solid rgba(127, 224, 198, .6);
  pointer-events: none;
}
.hero__mark--tl { top: -9px; left: -9px; border-right: 0; border-bottom: 0; }
.hero__mark--br { bottom: -9px; right: -9px; border-left: 0; border-top: 0; }

/* 浮動標籤 */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid rgba(143, 224, 240, .3);
  border-radius: 14px;
  background: rgba(6, 38, 63, .78);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  will-change: transform;
}
.chip i { color: var(--mint); font-size: 14px; }
.chip--a { top: 12%; right: -34px; }
.chip--b { bottom: 16%; left: -40px; }

/* --- 直排標題 --- */
.hero__type {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
}
.hero__title {
  writing-mode: vertical-rl;
  font-size: clamp(38px, 4.1vw, 58px);
  letter-spacing: .13em;
  line-height: 1.5;
  margin: 0;
  color: #F4FBFA;
  text-shadow: 0 2px 30px rgba(6, 38, 63, .6);
}
.hero__title .sub {
  display: block;
  font-size: .48em;
  letter-spacing: .34em;
  color: var(--mint);
  font-weight: 400;
}
.hero__aside {
  writing-mode: vertical-rl;
  max-height: clamp(300px, 44vh, 440px);
  font-size: 15.5px;
  line-height: 2.5;
  letter-spacing: .09em;
  color: var(--on-ink-dim);
  font-weight: 300;
  border-right: 1px solid var(--rule-ink);
  padding-right: 22px;
}

/* --- 指標 --- */
/* 固定三欄，永遠一行 */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
  padding: 22px 0;
}
.fact { padding: 0 22px; border-left: 1px solid var(--rule-ink); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__n {
  font-family: var(--font-kai);
  font-size: clamp(26px, 2.9vw, 40px);
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.1;
  color: var(--mint);
  letter-spacing: .01em;
}
.fact__n span { font-size: .48em; margin-left: 4px; color: var(--on-ink-dim); }
.fact__k { font-size: 13.5px; letter-spacing: .1em; color: var(--on-ink-dim); font-weight: 300; margin-top: 6px; }

.hero__act { margin-top: 34px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.note { font-size: 13.5px; color: var(--on-ink-dim); font-weight: 300; letter-spacing: .04em; }
.note i { color: var(--jade-lit); margin-right: 6px; }

/* ============================================================
   區塊通用
   ============================================================ */
.band { padding: 88px 0; }
.band--paper { background: var(--paper); }
.band--white { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--on-ink); }

.lead { max-width: 640px; margin-bottom: 46px; border-left: 3px solid var(--jade-lit); padding-left: 22px; }
.lead h2 { font-size: clamp(27px, 3.6vw, 40px); letter-spacing: .04em; }
.lead p { margin-top: 14px; font-size: 16px; color: var(--on-paper-dim); font-weight: 300; }
.lead--ink { border-left-color: var(--mint); }
.lead--ink h2 { color: #F4FBFA; }
.lead--ink p { color: var(--on-ink-dim); }

/* ============================================================
   三大類別
   ============================================================ */
.cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}
.cat {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
/* 錯落排列走 margin，讓 transform 專心處理進場與 hover */
.cat:nth-child(2) { margin-top: 54px; }
.cat:nth-child(3) { margin-top: 16px; }
.cat:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(6, 38, 63, .5); }

.cat__img { position: relative; overflow: hidden; background: var(--ink); }
.cat__img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(.62) contrast(1.04) brightness(.97);
  transform: scale(1.01);
  transition: filter .7s var(--ease), transform .9s var(--ease);
}
/* 藍晒覆膜 → hover 顯影 */
.cat__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(11, 58, 94, .5), rgba(30, 158, 128, .3) 78%);
  opacity: .72;
  transition: opacity .7s var(--ease);
  pointer-events: none;
}
/* 掃描斜光 */
.cat__sheen {
  position: absolute;
  top: -60%;
  left: -70%;
  width: 55%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: rotate(18deg);
  opacity: 0;
  pointer-events: none;
}
.cat:hover .cat__img img { filter: none; transform: scale(1.07); }
.cat:hover .cat__wash { opacity: 0; }
.cat:hover .cat__sheen { animation: sheen 1s var(--ease) forwards; }
@keyframes sheen {
  0%   { left: -70%; opacity: 0; }
  22%  { opacity: .9; }
  100% { left: 130%; opacity: 0; }
}

.cat__tag {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6, 38, 63, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--mint);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  z-index: 2;
}
.cat__body { padding: 26px 24px 28px; }
.cat__body h3 { font-size: 23px; letter-spacing: .05em; }
.cat__body p { margin-top: 12px; font-size: 15px; line-height: 1.95; color: var(--on-paper-dim); font-weight: 300; }
.cat__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  color: var(--on-paper-dim);
  letter-spacing: .06em;
}
.cat__foot b { font-family: var(--font-kai); font-size: 21px; color: var(--jade); font-weight: 700; }

/* ============================================================
   圖文：為什麼送書
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.split__art {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
}
.split__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 42% center; transition: transform 1.1s var(--ease); }
.split__art::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(6, 38, 63, .86));
  pointer-events: none;
}
.split__art:hover img { transform: scale(1.05); }
.split__art::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(234, 246, 243, .22);
  border-radius: 12px;
  pointer-events: none;
}
.split__quote {
  position: absolute;
  left: 26px; bottom: 26px; right: 26px;
  font-family: var(--font-kai);
  font-size: 17px;
  letter-spacing: .1em;
  line-height: 1.8;
  color: #EAF6F3;
  text-shadow: 0 2px 18px rgba(6, 38, 63, .8);
}

.split__body h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .04em; line-height: 1.4; }
.split__body > p { margin-top: 18px; color: var(--on-paper-dim); font-weight: 300; }

.checks { margin: 30px 0 0; padding: 0; list-style: none; }
.checks li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
  line-height: 1.8;
}
.checks li:first-child { border-top: 1px solid var(--rule); }
.checks i {
  flex: none;
  margin-top: 5px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(47, 191, 155, .14);
  color: var(--jade);
  font-size: 10px;
}
.checks b { font-weight: 700; }
.checks span { display: block; font-size: 14px; color: var(--on-paper-dim); font-weight: 300; }

/* ============================================================
   實拍畫廊 — 一大兩小的不對稱鑲嵌
   ============================================================ */
.shots {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.shot {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-2);
}
.shot--tall { grid-row: span 2; }
.shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1s var(--ease), filter .7s var(--ease);
  filter: saturate(.9) contrast(1.02);
}
.shot--tall img { aspect-ratio: 1 / 1.06; }
.shot::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(4, 22, 36, .88));
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.shot figcaption {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 1;
  font-family: var(--font-kai);
  font-size: 16.5px;
  letter-spacing: .1em;
  color: #EFF9F7;
}
.shot figcaption::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-bottom: 10px;
  background: var(--jade-lit);
  transition: width .5s var(--ease);
}
.shot:hover img { transform: scale(1.06); filter: saturate(1.06) contrast(1.04); }
.shot:hover figcaption::before { width: 52px; }

/* ============================================================
   讀者回饋 — 引文式，不做卡片
   ============================================================ */
.voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.voice {
  margin: 0;
  padding-left: 22px;
  border-left: 2px solid rgba(47, 191, 155, .38);
}
.voice > i {
  display: block;
  font-size: 17px;
  color: var(--jade-lit);
  margin-bottom: 14px;
}
.voice > p {
  font-size: 15.5px;
  line-height: 2.05;
  color: #274A58;
  font-weight: 300;
}
.voice footer {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.voice footer img {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}
.voice footer b { display: block; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.voice footer span { display: block; font-size: 12.5px; line-height: 1.7; color: var(--on-paper-dim); font-weight: 300; }

/* ============================================================
   流程 + 尾段 CTA
   ============================================================ */
.ship {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 48px;
}
.ship img { width: 100%; aspect-ratio: 1400 / 594; object-fit: cover; }
.ship::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 38, 63, .94) 0%, rgba(6, 38, 63, .6) 36%, transparent 66%);
}
.ship__cap {
  position: absolute;
  left: 34px; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 340px;
}
.ship__cap h3 { font-size: clamp(22px, 3vw, 31px); letter-spacing: .05em; color: #F4FBFA; }
.ship__cap p { margin-top: 10px; font-size: 14.5px; color: var(--on-ink-dim); font-weight: 300; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step {
  border: 1px solid var(--rule-ink);
  border-radius: 16px;
  padding: 26px 24px;
  background: rgba(143, 224, 240, .045);
}
.step__n {
  font-family: var(--font-kai);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--mint);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 20px; letter-spacing: .05em; color: #F4FBFA; }
.step p { margin-top: 9px; font-size: 14.5px; line-height: 1.9; color: var(--on-ink-dim); font-weight: 300; }

.close-out {
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--rule-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.close-out h2 { font-size: clamp(25px, 3.2vw, 36px); letter-spacing: .05em; color: #F4FBFA; }
.close-out p { margin-top: 10px; font-size: 15px; color: var(--on-ink-dim); font-weight: 300; }

/* ============================================================
   Footer
   ============================================================ */
.foot { background: #041C2E; color: var(--on-ink-dim); padding: 44px 0 40px; }
.foot__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  flex-wrap: wrap;
}
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.foot .btn--quiet { color: var(--on-ink-dim); }
.foot .btn--quiet:hover { color: var(--mint); }
.foot .btn--quiet i { color: var(--jade-lit); }
.foot__note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(143, 224, 240, .14);
  font-size: 13px;
  line-height: 2;
  font-weight: 300;
  color: #7EA3B4;
}

/* ============================================================
   固定底部按鈕
   ============================================================ */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 13px 18px calc(13px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(4, 28, 46, .72), rgba(4, 28, 46, .96));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(143, 224, 240, .2);
}
.dock .btn { min-width: 300px; }
.dock__note { font-size: 12px; letter-spacing: .06em; color: var(--on-ink-dim); font-weight: 300; }
.dock__note i { color: var(--jade-lit); margin-right: 5px; }

/* 慢速呼吸的光暈 */
.dock__btn { position: relative; animation: dockBreathe 4.8s ease-in-out infinite; }
@keyframes dockBreathe {
  0%, 100% { box-shadow: 0 10px 26px -12px rgba(30, 158, 128, .7),  0 0 16px 1px rgba(127, 224, 198, 0),   inset 0 1px 0 rgba(255, 255, 255, .28); }
  50%      { box-shadow: 0 15px 32px -12px rgba(30, 158, 128, .95), 0 0 28px 7px rgba(127, 224, 198, .32), inset 0 1px 0 rgba(255, 255, 255, .32); }
}

/* ============================================================
   彈窗
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__veil { position: absolute; inset: 0; background: rgba(4, 22, 36, .74); backdrop-filter: blur(4px); }
.modal__box {
  position: relative;
  width: min(680px, 100%);
  max-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(4, 22, 36, .7);
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--rule);
}
.modal__head h3 { font-size: 21px; letter-spacing: .06em; }
.modal__x {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  color: var(--on-paper-dim);
  font-size: 14px;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.modal__x:hover { background: var(--paper); color: var(--ink); }
.modal__body { padding: 22px 24px 28px; overflow-y: auto; font-size: 14.5px; line-height: 2; color: #37545F; font-weight: 300; }
.modal__body h4 { margin: 20px 0 6px; font-family: var(--font-kai); font-size: 16.5px; font-weight: 700; color: var(--on-paper); letter-spacing: .05em; }
.modal__body h4:first-child { margin-top: 0; }
.modal__body p + p { margin-top: 10px; }
body.is-locked { overflow: hidden; }

/* ============================================================
   進場
   ============================================================ */
.hero__frame img { animation: develop 1.5s var(--ease) .1s both; }
@keyframes develop {
  0%   { clip-path: inset(0 0 100% 0); filter: brightness(1.9) saturate(.15) contrast(.82); }
  55%  { filter: brightness(1.14) saturate(.72) contrast(.96); }
  100% { clip-path: inset(0 0 0 0); filter: none; }
}
.hero__badge, .hero__type, .hero__facts, .hero__act, .chip { animation: rise .8s var(--ease) both; }
.hero__badge { animation-delay: .05s; }
.hero__type  { animation-delay: .2s; }
.hero__facts { animation-delay: .38s; }
.hero__act   { animation-delay: .5s; }
.chip--a     { animation-delay: .9s; }
.chip--b     { animation-delay: 1.05s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.shown { opacity: 1; transform: none; }

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

/* ============================================================
   RWD
   ============================================================ */
@media (max-width: 1080px) {
  .chip--a { right: -12px; }
  .chip--b { left: -12px; }
}

@media (max-width: 900px) {
  .hero { padding: 34px 0 52px; }
  .hero__stage { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__type { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px; }
  .hero__title { order: 1; writing-mode: horizontal-tb; font-size: clamp(34px, 8.6vw, 52px); letter-spacing: .08em; line-height: 1.35; }
  .hero__aside { order: 2; }
  .hero__title .sub { display: block; margin-top: 10px; font-size: .46em; letter-spacing: .22em; }
  .hero__aside {
    writing-mode: horizontal-tb;
    max-height: none;
    border-right: 0;
    border-left: 2px solid var(--rule-ink);
    padding-right: 0;
    padding-left: 16px;
    line-height: 2;
    font-size: 15px;
  }
  .hero__art { order: 2; }
  .hero__type { order: 1; }
  .hero__frame img { max-height: 46vh; object-fit: cover; object-position: center 32%; }
  .chip--a { top: 10px; right: 10px; }
  .chip--b { bottom: 10px; left: 10px; }

  .band { padding: 64px 0; }
  .cats { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cat:nth-child(2), .cat:nth-child(3) { margin-top: 0; }

  .split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .split__art img { aspect-ratio: 16 / 11; }

  .shots { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 14px; }
  .shot--tall { grid-row: auto; }
  .shot--tall img { aspect-ratio: 16 / 10; }

  .voices { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .ship img { aspect-ratio: 4 / 3; object-position: 62% center; }
  .ship::after { background: linear-gradient(180deg, rgba(6, 38, 63, .5) 0%, rgba(6, 38, 63, .92) 62%); }
  .ship__cap { top: auto; bottom: 24px; transform: none; right: 24px; left: 24px; max-width: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .close-out { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero__facts { margin-top: 32px; padding: 18px 0; }
  .fact { padding: 0 8px; }
  .fact__n { font-size: clamp(17px, 5.1vw, 26px); }
  .fact__n span { font-size: .5em; margin-left: 2px; }
  .fact__k { font-size: 11.5px; letter-spacing: .02em; margin-top: 4px; }
  .hero__act { gap: 14px; }
  .btn--wide { max-width: none; }
  .dock .btn { min-width: 0; width: 100%; max-width: 420px; }
  .foot__row { flex-direction: column; align-items: flex-start; }
  .split__quote { left: 18px; right: 18px; bottom: 18px; font-size: 15px; }
  .modal { padding: 14px; }
  .modal__box { max-height: 86vh; }
}
