/* ===================================================================
   Yongwudao Site - Main Stylesheet
   Natural Island Theme | Token System | No Emoji
=================================================================== */

/* ===== CSS Variables (Design Tokens) ===== */
:root {
  /* Colors - Natural Island Theme */
  --bg-primary: #F5F0E8;
  --bg-secondary: #EDE8DC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAF7F0;
  --text-primary: #3D3A32;
  --text-secondary: #5A5548;
  --accent: #2D5A3D;
  --accent-hover: #234A31;
  --accent-light: #4A7C6F;
  --accent-bg: rgba(45, 90, 61, 0.08);
  --accent-border: rgba(45, 90, 61, 0.25);
  --border: #D9D3C5;
  --border-light: #E5DFD3;
  --border-hover: #2D5A3D;
  
  /* Typography */
  --font-serif: 'Noto Serif SC', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --header-height: 70px;
  --container-max: 1200px;
  --section-padding: 80px 20px;
  --card-padding: 24px;
  --card-radius: 12px;
  --btn-radius: 16px;
  
  /* Status Colors */
  --status-success: #3D8B5A;
  --status-warning: #B8860B;
  --status-purple: #5B7B8A;
  --status-info: #4A7C6F;
  --ink: #17241C;
  --ink-soft: #22372B;
  --mist: rgba(255, 255, 255, 0.58);
  --grid-line: rgba(45, 90, 61, 0.11);
  --shadow-soft: 0 18px 50px rgba(29, 53, 39, 0.12);
  --shadow-strong: 0 28px 80px rgba(23, 36, 28, 0.2);
  --radius-panel: 8px;
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
}

/* ===== Cinematic Island Layer ===== */
body {
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at 78% 4%, rgba(74, 124, 111, 0.16), transparent 32rem),
    var(--bg-primary);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

header {
  background: rgba(245, 240, 232, 0.82);
  box-shadow: 0 10px 40px rgba(23, 36, 28, 0.06);
}

nav a.active,
nav a.active:hover {
  color: var(--accent);
}

.cta-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 10px 24px rgba(35, 74, 49, 0.16);
  letter-spacing: 0.03em;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(35, 74, 49, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.52);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header,
.hero-stats,
.console-panel,
.archive-filter .filter-bar {
  -webkit-backdrop-filter: blur(14px);
}

.overlay {
  z-index: 1001;
}

.mobile-nav {
  z-index: 1002;
}

.mobile-nav[aria-hidden="true"] {
  visibility: hidden;
}

.mobile-nav.active {
  visibility: visible;
}

.cinematic-section {
  position: relative;
  padding: 96px 20px;
}

.cinematic-section::before {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 1px;
  max-width: var(--container-max);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.cinematic-header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cinematic-header h2 {
  color: var(--ink);
  font-size: 2.1rem;
}

.cinematic-header p {
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

.cinematic-hero {
  min-height: 92vh;
  padding-top: calc(var(--header-height) + 58px);
}

.cinematic-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
}

.cinematic-hero .hero-content {
  max-width: 640px;
}

.cinematic-hero h1 {
  color: var(--ink);
  font-size: 4.6rem;
  letter-spacing: 0;
}

.cinematic-hero .hero-slogan {
  max-width: 620px;
}

.hero-tag {
  border-radius: var(--radius-panel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stats {
  align-items: stretch;
  padding: 14px 16px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-panel);
  backdrop-filter: blur(14px);
}

.stat-number {
  color: var(--ink);
}

.stat-label {
  letter-spacing: 0.08em;
}

.island-visual {
  width: 100%;
  min-height: 500px;
}

.visual-frame {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(45, 90, 61, 0.24);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(rgba(45, 90, 61, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 90, 61, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(45, 90, 61, 0.12), transparent 19rem),
    rgba(255, 255, 255, 0.38);
  background-size: 36px 36px, 36px 36px, auto, auto;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.visual-frame::before,
.visual-frame::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(45, 90, 61, 0.22);
  border-radius: 50%;
}

.visual-frame::before {
  top: 42px;
  right: 42px;
}

.visual-frame::after {
  bottom: 64px;
  left: 58px;
}

.frame-label {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.island-map {
  position: absolute;
  inset: 38px 18px 86px;
  width: calc(100% - 36px);
  height: calc(100% - 124px);
}

.map-ring {
  fill: none;
  stroke: rgba(45, 90, 61, 0.16);
  stroke-width: 1.5;
  stroke-dasharray: 8 10;
}

.map-ring-inner {
  stroke-opacity: 0.22;
}

.map-axis {
  stroke: rgba(45, 90, 61, 0.10);
  stroke-width: 1.5;
}

.island-shape {
  fill: rgba(45, 90, 61, 0.2);
  stroke: var(--accent);
  stroke-width: 2;
}

.island-ridge {
  stroke: rgba(35, 74, 49, 0.52);
  stroke-width: 2;
  stroke-linecap: round;
}

.hero-lighthouse path,
.hero-lighthouse rect {
  fill: var(--accent);
}

.hero-lighthouse circle {
  fill: #F5F0E8;
}

.hero-lighthouse path:last-child {
  stroke: var(--accent);
  stroke-width: 10;
  stroke-linecap: round;
  fill: none;
}

.route {
  stroke: rgba(45, 90, 61, 0.4);
  stroke-width: 1.5;
  stroke-dasharray: 7 9;
}

.beacon {
  fill: var(--accent);
  filter: drop-shadow(0 0 10px rgba(45, 90, 61, 0.7));
}

.map-dot {
  fill: var(--ink);
}

.signal {
  stroke: rgba(45, 90, 61, 0.30);
  stroke-width: 3;
  stroke-dasharray: 6 9;
}

.map-label {
  fill: rgba(45, 90, 61, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
}

.console-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(45, 90, 61, 0.2);
  border-radius: var(--radius-panel);
  background: rgba(245, 240, 232, 0.78);
  backdrop-filter: blur(14px);
}

.console-panel div {
  padding: 14px 16px;
  border-right: 1px solid rgba(45, 90, 61, 0.16);
}

.console-panel div:last-child {
  border-right: 0;
}

.console-panel span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.console-panel strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-top: 4px;
}

.products-grid {
  max-width: var(--container-max);
  margin: 0 auto;
}

.product-card {
  position: relative;
  min-height: 220px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 247, 240, 0.86));
  border-color: rgba(45, 90, 61, 0.16);
  border-radius: var(--radius-panel);
  box-shadow: 0 10px 34px rgba(23, 36, 28, 0.06);
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--status-success);
  box-shadow: 0 0 0 6px rgba(61, 139, 90, 0.1);
}

.product-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-soft);
}

.product-card .icon-wrap {
  border-radius: var(--radius-panel);
}

.product-card .status {
  background: rgba(45, 90, 61, 0.07);
}

.product-card.is-coming-soon::after,
.product-card.is-developing::after {
  background: var(--status-warning);
  box-shadow: 0 0 0 6px rgba(184, 134, 11, 0.12);
}

.filter-section.archive-filter {
  margin: -28px auto 28px;
}

.methodology-card.manifesto-card {
  padding-left: 72px;
}

.methodology-card.manifesto-card .manifesto-number {
  position: absolute;
  top: 30px;
  left: 28px;
}

.back-to-top-fixed {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  padding: 10px 14px;
  border: 1px solid rgba(45, 90, 61, 0.18);
  border-radius: var(--radius-panel);
  background: rgba(245, 240, 232, 0.9);
  box-shadow: 0 12px 30px rgba(23, 36, 28, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.back-to-top-fixed.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.product-card .status.developing,
.product-card .status.coming-soon {
  background: rgba(184, 134, 11, 0.1);
}

.product-card.is-coming-soon::after,
.product-card.is-developing::after {
  background: var(--status-warning);
  box-shadow: 0 0 0 6px rgba(184, 134, 11, 0.12);
}

.dossier-section {
  background: linear-gradient(180deg, rgba(237, 232, 220, 0.6), transparent);
}

.dossier-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.dossier-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(45, 90, 61, 0.18);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(135deg, rgba(45, 90, 61, 0.08), transparent 45%),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 36px rgba(23, 36, 28, 0.06);
}

.dossier-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.dossier-index,
.manifesto-number,
.log-label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.dossier-card h3 {
  color: var(--ink);
  font-size: 1.25rem;
  margin: 42px 0 10px;
}

.dossier-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.dossier-card strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.manifesto-preview {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
}

.manifesto-copy h2 {
  color: var(--ink);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.manifesto-copy p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.manifesto-list {
  border: 1px solid rgba(45, 90, 61, 0.18);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.manifesto-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(45, 90, 61, 0.14);
}

.manifesto-list div:last-child {
  border-bottom: 0;
}

.manifesto-list span {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.manifesto-list strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

.log-strip {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid rgba(45, 90, 61, 0.16);
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.48);
}

.log-strip a {
  min-height: 130px;
  padding: 18px;
  border-right: 1px solid rgba(45, 90, 61, 0.14);
  color: var(--ink);
  font-weight: 700;
}

.log-strip a:last-child {
  border-right: 0;
}

.log-strip a:hover {
  background: var(--accent-bg);
}

.log-strip span {
  display: block;
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
}

.cinematic-about {
  background:
    radial-gradient(circle at 50% 0, rgba(45, 90, 61, 0.12), transparent 30rem),
    var(--bg-secondary);
}

.final-cta {
  background:
    linear-gradient(rgba(45, 90, 61, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 90, 61, 0.07) 1px, transparent 1px),
    var(--bg-primary);
  background-size: 42px 42px;
}

.final-cta .section-kicker,
.final-cta .hero-btns {
  justify-content: center;
}

.cta-btns {
  position: relative;
}

.page-hero {
  min-height: 58vh;
  padding-bottom: 48px;
}

.page-hero .hero-content {
  max-width: 860px;
}

.page-hero h1 {
  color: var(--ink);
  font-size: 3.4rem;
}

.page-hero h1 span {
  color: var(--accent);
  font-style: italic;
}

.compact-stats {
  margin-top: 26px;
}

.archive-filter {
  max-width: var(--container-max);
  margin-top: -28px;
  margin-bottom: 28px;
  padding: 0 20px;
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 20;
}

.archive-filter .filter-bar {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(45, 90, 61, 0.16);
  border-radius: var(--radius-panel);
  background: rgba(245, 240, 232, 0.84);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(23, 36, 28, 0.08);
}

.filter-label {
  letter-spacing: 0.14em;
  font-weight: 700;
}

.archive-shelf {
  padding: 0 20px 72px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.archive-result-count {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.archive-catalog {
  border: 1px solid rgba(45, 90, 61, 0.18);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(23, 36, 28, 0.06);
}

.archive-row.book-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border: 0;
  border-bottom: 1px solid rgba(45, 90, 61, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  aspect-ratio: auto;
  min-height: 0;
  overflow: visible;
  cursor: default;
  transition: background var(--duration-normal) var(--ease-out),
              padding-left var(--duration-normal) var(--ease-out);
}

.archive-row.book-card:last-child {
  border-bottom: 0;
}

.archive-row.book-card:hover {
  transform: none;
  border-color: transparent;
  background: var(--accent-bg);
  padding-left: 26px;
}

.archive-category {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0.72;
  transition: color var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

.archive-row.book-card:hover .archive-category {
  color: var(--accent);
  opacity: 0.9;
}

.archive-main {
  min-width: 0;
}

.archive-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.35;
}

.archive-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.archive-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--accent);
  opacity: 0.35;
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.archive-arrow svg {
  width: 20px;
  height: 20px;
}

.archive-row.book-card:hover .archive-arrow {
  opacity: 1;
  transform: translateX(4px);
}

a.archive-row-link.book-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border: 0;
  border-bottom: 1px solid rgba(45, 90, 61, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background var(--duration-normal) var(--ease-out),
    padding-left var(--duration-normal) var(--ease-out);
}

a.archive-row-link.book-card:hover {
  transform: none;
  border-color: transparent;
  background: var(--accent-bg);
  padding-left: 26px;
}

a.archive-row-link.book-card:hover .archive-category {
  color: var(--accent);
  opacity: 0.9;
}

a.archive-row-link.book-card:hover .archive-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.archive-shelf .empty-state {
  margin-top: 24px;
}

.manifesto-section {
  max-width: 1040px;
}

.manifesto-card {
  position: relative;
  padding-left: 72px;
  border-radius: var(--radius-panel);
  background:
    linear-gradient(135deg, rgba(45, 90, 61, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 34px rgba(23, 36, 28, 0.06);
}

.manifesto-card:hover {
  transform: translateX(0) translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.manifesto-card .manifesto-number {
  position: absolute;
  top: 30px;
  left: 28px;
}

.methodology-content h3,
.timeline-content h3 {
  color: var(--ink);
}

.voyage-section {
  max-width: 940px;
}

.voyage-log {
  position: relative;
}

.log-item .timeline-content {
  padding: 24px 26px;
  border: 1px solid rgba(45, 90, 61, 0.16);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 34px rgba(23, 36, 28, 0.06);
}

.log-item:hover .timeline-content {
  border-color: var(--accent);
}

.log-label {
  display: inline-block;
  margin-bottom: 10px;
}

.timeline-year {
  background: var(--ink);
}

.timeline-item::before {
  background: rgba(45, 90, 61, 0.22);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

/* ===== Layout ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.logo svg {
  width: 32px;
  height: 32px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(45, 90, 61, 0.14);
  box-shadow: 0 8px 20px rgba(23, 36, 28, 0.08);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 0.95rem;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration-normal) var(--ease-out);
}

nav a:hover {
  color: var(--accent);
}

nav a:hover::after {
  width: 100%;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--duration-fast) var(--ease-out);
}

.cta-btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  padding: 8px;
  border-radius: 4px;
}

.menu-toggle:hover {
  background: var(--bg-card);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 40px) 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-bg);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  border: 1px solid var(--accent-border);
}

.hero-tag svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-index h1 {
  display: flex;
  flex-direction: column;
}

.hero-index h1 .accent-text-index,
.hero-index h1 span.accent-text-index {
  color: var(--accent);
  font-style: italic;
}


.hero h1 .accent-text,
.hero h1 span.accent-text {
  color: var(--accent);
  font-style: italic;
}

.hero-slogan {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-slogan strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-serif);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Background */
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.gradient-orb-1 {
  top: 20%;
  right: 15%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #2D5A3D 0%, transparent 70%);
}

.gradient-orb-2 {
  bottom: 25%;
  right: 30%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #4A7C6F 0%, transparent 70%);
}

.gradient-orb-3 {
  top: 45%;
  right: 8%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #2D5A3D 0%, transparent 70%);
}

.gradient-grid {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  background: 
    linear-gradient(90deg, rgba(45, 90, 61, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(45, 90, 61, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 20%, transparent 70%);
  z-index: -1;
}

/* ===== Sections ===== */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Product Cards ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
  display: block;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(45, 90, 61, 0.12);
}

.product-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-card .icon-wrap {
  width: 50px;
  height: 50px;
  background: var(--accent-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-card .icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.product-card .status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.product-card .status svg {
  width: 12px;
  height: 12px;
}

.product-card .status.developing {
  color: var(--status-warning);
  background: rgba(245, 158, 11, 0.1);
}

.product-card .status.coming-soon {
  color: var(--status-purple);
  background: rgba(167, 139, 250, 0.1);
}

/* ===== Developing Status ===== */
.developing {
  color: var(--status-warning);
  font-size: 0.85rem;
}

.coming-soon-inline {
  color: var(--status-purple);
  font-size: 0.85rem;
}

.timeline-link.developing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--status-warning);
  font-size: 0.85rem;
}

.timeline-link.developing svg {
  width: 14px;
  height: 14px;
}

/* ===== Filter Bar ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--btn-radius);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--duration-normal) var(--ease-out),
              color var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 0;
  color: var(--accent);
  background: var(--accent-bg);
}

.filter-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== About Section ===== */
.about {
  background: var(--bg-secondary);
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-avatar {
  width: min(100%, 360px);
  margin: 0 auto 24px;
  border: 1px solid rgba(45, 90, 61, 0.16);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(23, 36, 28, 0.10);
  background: rgba(255, 255, 255, 0.58);
}

.about-portrait {
  display: block;
  width: 100%;
  height: auto;
}

.about h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.about .subtitle {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.contact-email { display: inline-block; margin-top: 16px; color: var(--accent); text-decoration: none; font-size: 0.9rem; } .contact-email:hover { text-decoration: underline; }
.about p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-bg) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
  position: relative;
}

/* ===== Footer ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 20px 30px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 30px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand .logo-mark {
  width: 34px;
  height: 34px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.back-to-top:hover {
  color: var(--accent);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* ===== Mobile Navigation ===== */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav {
  display: block;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--bg-secondary);
  z-index: 999;
  padding: 80px 30px 30px;
  transition: right var(--duration-normal) var(--ease-out);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px;
  border-radius: 4px;
}

.mobile-nav-close:hover {
  background: var(--bg-card);
}

.mobile-nav-close svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-primary);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: color var(--duration-fast) var(--ease-out);
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Works Grid ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
  display: block;
}

.work-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.work-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.work-card-image {
  width: 100%;
  height: 160px;
  background: var(--bg-secondary);
  border-radius: 8px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card-image svg {
  width: 50px;
  height: 50px;
  opacity: 0.3;
}

.work-card-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.work-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.work-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.work-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.85rem;
  transition: gap var(--duration-fast) var(--ease-out);
}

.work-card-link:hover {
  gap: 10px;
}

.work-card-link svg {
  width: 14px;
  height: 14px;
}

/* ===== Empty State ===== */
.empty-state {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.empty-state.visible {
  display: block;
}

.empty-state svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-in {
  animation: fadeIn 0.6s var(--ease-out) forwards;
  opacity: 0;
}

.animate-slide-in {
  animation: slideInLeft 0.6s var(--ease-out) forwards;
  opacity: 0;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s var(--ease-out) forwards;
  opacity: 0;
}

.animate-scale-in {
  animation: scaleIn 0.6s var(--ease-out) forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }

/* ===== Focus Visible ===== */
:focus:not(:focus-visible) {
  outline: none;
}

/* ===== Responsive - Tablet (1024px breakpoint) ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-slogan {
    font-size: 1.05rem;
  }

  .hero-content {
    max-width: 500px;
  }
}

/* ===== Responsive - Mobile (768px breakpoint) ===== */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-slogan {
    font-size: 1rem;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-bg {
    width: 100%;
    height: 40%;
    top: 0;
  }
  
  .gradient-grid {
    width: 250px;
    height: 250px;
    right: 50%;
    transform: translate(50%, -20%);
  }
  
  .products-grid,
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-brand p {
    max-width: 360px;
  }

  .section-header {
    margin-bottom: 35px;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
  
  .filter-bar {
    margin-bottom: 30px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .archive-row.book-card {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 12px 16px;
    padding: 16px 18px;
  }

  .archive-row.book-card:hover {
    padding-left: 22px;
  }

  .methodology-card {
    flex-direction: column;
    gap: 16px;
  }

  .methodology-icon svg {
    width: 48px;
    height: 48px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-marker {
    width: 40px;
  }

  .timeline-year {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
  }

  .timeline-item::before {
    left: 19px;
  }
}

/* ===== Works Page - Books Grid ===== */
.works-hero {
  min-height: 60vh;
}

.filter-section {
  padding: 0 20px;
  max-width: var(--container-max);
  margin: 0 auto 40px;
}

.filter-section .filter-bar {
  margin-bottom: 1rem;
}

.filter-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

/* ===== Methodology Page - Core Values ===== */
.methodology-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.core-values-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.methodology-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  padding: 28px;
  margin-bottom: 24px;
  transition: border-color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.methodology-card:hover {
  border-color: var(--accent);
  transform: translateX(8px);
}

.methodology-icon {
  flex-shrink: 0;
}

.methodology-icon svg {
  width: 56px;
  height: 56px;
}

.methodology-content h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.methodology-content p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Story Page - Timeline ===== */
.story-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.story-hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
}

.timeline-section {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  padding-bottom: 48px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50%;
}

.timeline-status {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--status-warning);
  margin-top: 8px;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 10px;
  white-space: nowrap;
}

.timeline-status.coming-soon {
  color: var(--status-purple);
  background: rgba(167, 139, 250, 0.15);
}

.timeline-content h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.9rem;
  transition: gap var(--duration-normal) var(--ease-out);
}

.timeline-link:hover {
  gap: 12px;
}

.timeline-link svg {
  width: 16px;
  height: 16px;
}

.timeline-coming {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--status-purple);
  font-size: 0.9rem;
  padding: 4px 12px;
  background: rgba(167, 139, 250, 0.15);
  border-radius: 10px;
  white-space: nowrap;
}

.timeline-coming svg {
  width: 16px;
  height: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .archive-row.book-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    padding: 14px 16px;
  }

  .archive-row.book-card .archive-category {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .archive-row.book-card .archive-main {
    grid-column: 1;
    grid-row: 2;
  }

  .archive-row.book-card .archive-arrow {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }

  .archive-title {
    font-size: 1rem;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-marker {
    width: 36px;
  }

  .timeline-year {
    width: 36px;
    height: 36px;
    font-size: 0.6rem;
  }

  .timeline-item::before {
    left: 17px;
  }
}

@media (max-width: 480px) {
  .products-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ===== Final Cinematic Overrides ===== */
header {
  background: rgba(245, 240, 232, 0.82);
  box-shadow: 0 10px 40px rgba(23, 36, 28, 0.06);
}

.cta-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 10px 24px rgba(35, 74, 49, 0.16);
  letter-spacing: 0.03em;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(35, 74, 49, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.52);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.cinematic-hero h1 {
  color: var(--ink);
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1.08;
}

.cinematic-hero .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.cinematic-hero .hero-content {
  max-width: 640px;
}

.page-hero h1 {
  color: var(--ink);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.12;
}

.page-hero {
  min-height: 58vh;
}

.cinematic-section .products-grid,
.products.cinematic-section .products-grid {
  max-width: var(--container-max);
  margin: 0 auto;
}

.product-card {
  position: relative;
  min-height: 220px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 247, 240, 0.86));
  border-color: rgba(45, 90, 61, 0.16);
  border-radius: var(--radius-panel);
  box-shadow: 0 10px 34px rgba(23, 36, 28, 0.06);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.product-card .status {
  background: rgba(45, 90, 61, 0.07);
}

.cta-section.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta .section-kicker::before {
  display: inline-block;
}

.footer-col span {
  display: block;
  padding: 5px 0;
}

@media (max-width: 1024px) {
  .cinematic-hero .hero-inner {
    grid-template-columns: 1fr;
  }

  .cinematic-hero h1,
  .page-hero h1 {
    font-size: 2.8rem;
  }

  .island-visual,
  .visual-frame {
    min-height: 420px;
  }

  .dossier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifesto-preview {
    grid-template-columns: 1fr;
  }

  .log-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .log-strip a:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 768px) {
  .cinematic-section {
    padding: 68px 20px;
  }

  .cinematic-hero,
  .page-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 36px);
  }

  .cinematic-hero .hero-inner {
    display: flex;
  }

  .cinematic-hero h1,
  .page-hero h1 {
    font-size: 2.1rem;
  }

  .hero-stats {
    width: 100%;
    justify-content: center;
  }

  .island-visual {
    min-height: 360px;
  }

  .visual-frame {
    min-height: 360px;
  }

  .console-panel {
    grid-template-columns: 1fr;
    position: static;
    margin: 210px 16px 16px;
  }

  .island-map {
    inset: 36px 14px auto;
    width: calc(100% - 28px);
    height: 220px;
  }

  .console-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(45, 90, 61, 0.14);
  }

  .console-panel div:last-child {
    border-bottom: 0;
  }

  .archive-filter {
    position: relative;
    top: auto;
    margin-top: 0;
  }

  .manifesto-card {
    padding-left: 28px;
  }

  .manifesto-card .manifesto-number {
    position: static;
    margin-bottom: 8px;
  }

  .methodology-card.manifesto-card {
    padding-left: 28px;
  }

  .methodology-card.manifesto-card .manifesto-number {
    position: static;
  }

  .log-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .log-strip a,
  .log-strip a:nth-child(3n) {
    border-right: 1px solid rgba(45, 90, 61, 0.14);
  }

  .log-strip a:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 480px) {
  .cinematic-hero h1,
  .page-hero h1 {
    font-size: 1.85rem;
  }

  .hero-stats {
    gap: 12px;
    padding: 12px;
  }

  .stat-divider {
    height: 34px;
  }

  .dossier-grid,
  .books-grid,
  .log-strip {
    grid-template-columns: 1fr;
  }

  .log-strip a,
  .log-strip a:nth-child(2n),
  .log-strip a:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid rgba(45, 90, 61, 0.14);
  }

  .log-strip a:last-child {
    border-bottom: 0;
  }

  .dossier-card,
  .product-card {
    min-height: auto;
  }

  .visual-frame {
    min-height: 320px;
  }

  .island-map {
    inset: 28px 12px auto;
    width: calc(100% - 24px);
    height: 170px;
  }

  .console-panel {
    margin-top: 178px;
  }

  .back-to-top-fixed {
    right: 14px;
    bottom: 14px;
  }
}

/* ===== Review Hardening Overrides ===== */
.gradient-orb {
  display: none;
}

header,
.hero-stats,
.console-panel,
.archive-filter .filter-bar,
.btn-secondary,
.back-to-top-fixed {
  -webkit-backdrop-filter: blur(12px);
}

.overlay {
  z-index: 1001;
}

.mobile-nav {
  z-index: 1002;
}

.mobile-nav[aria-hidden="true"] {
  visibility: hidden;
}

.mobile-nav.active {
  visibility: visible;
}

.filter-section.archive-filter {
  margin: -28px auto 28px;
}

.product-card.is-coming-soon::after,
.product-card.is-developing::after {
  background: var(--status-warning);
  box-shadow: 0 0 0 6px rgba(184, 134, 11, 0.12);
}

.methodology-card.manifesto-card {
  padding-left: 72px;
}

.methodology-card.manifesto-card .manifesto-number {
  position: absolute;
  top: 30px;
  left: 28px;
}

.back-to-top-fixed {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  padding: 10px 14px;
  border: 1px solid rgba(45, 90, 61, 0.18);
  border-radius: var(--radius-panel);
  background: rgba(245, 240, 232, 0.9);
  box-shadow: 0 12px 30px rgba(23, 36, 28, 0.12);
  backdrop-filter: blur(12px);
}

.back-to-top-fixed.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .visual-frame {
    min-height: 360px;
  }

  .island-map {
    inset: 36px 14px auto;
    width: calc(100% - 28px);
    height: 220px;
  }

  .console-panel {
    position: static;
    grid-template-columns: 1fr;
    margin: 210px 16px 16px;
  }

  .methodology-card.manifesto-card {
    padding-left: 28px;
  }

  .methodology-card.manifesto-card .manifesto-number {
    position: static;
  }
}

@media (max-width: 480px) {
  .island-map {
    inset: 28px 12px auto;
    width: calc(100% - 24px);
    height: 170px;
  }

  .console-panel {
    margin-top: 178px;
  }

  .back-to-top-fixed {
    right: 14px;
    bottom: 14px;
  }
}
