/* =====================================================================
   SAGLOBAL · The Gold of Abra
   Luxury maximalism · Editorial · Gold on warm dark
   ===================================================================== */

:root {
  /* ──────── Color system ──────── */
  /* Base : deep warm black. All neutrals tinted toward gold hue ~70. */
  --bg:          oklch(10.5% 0.010 65);
  --bg-2:        oklch(14% 0.014 68);
  --bg-3:        oklch(18% 0.020 70);
  --surface:     oklch(22% 0.025 72);
  --hairline:    oklch(78% 0.14 80 / 0.22);
  --hairline-2:  oklch(78% 0.14 80 / 0.45);

  --ink:         oklch(94% 0.016 88);
  --ink-soft:    oklch(82% 0.020 82);
  --ink-mute:    oklch(62% 0.022 78);
  --ink-faint:   oklch(45% 0.020 72);

  /* Gold — material, not flat yellow */
  --gold:        oklch(80% 0.140 82);
  --gold-bright: oklch(92% 0.115 92);
  --gold-mid:    oklch(68% 0.138 72);
  --gold-deep:   oklch(52% 0.110 58);
  --gold-shadow: oklch(33% 0.060 48);

  --ink-dark:    oklch(18% 0.018 62);     /* for use on light backgrounds */

  /* ──────── Space (4pt scale) ──────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;
  --space-11: 160px;
  --space-12: 224px;

  /* ──────── Typography ──────── */
  --f-display: "Bodoni Moda", "Noto Serif KR", "Times New Roman", serif;
  --f-label:   "Marcellus SC", "Bodoni Moda", serif;
  --f-body:    "Noto Serif KR", "Bodoni Moda", Georgia, serif;

  --fs-mega:   clamp(72px, 13.5vw, 220px);
  --fs-h1:     clamp(52px, 8vw, 128px);
  --fs-h2:     clamp(40px, 5.6vw, 96px);
  --fs-h3:     clamp(28px, 3.4vw, 52px);
  --fs-lg:     clamp(18px, 1.25vw, 22px);
  --fs-body:   17px;
  --fs-small:  14px;
  --fs-micro:  11px;

  --lh-display: 0.95;
  --lh-tight:   1.12;
  --lh-body:    1.7;   /* dark bg wants slightly more */
  --lh-small:   1.55;

  --t-micro: 0.24em;
  --t-label: 0.18em;
  --t-kicker: 0.32em;
}

/* =====================================================================
   Reset
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

/* =====================================================================
   Global atmosphere (grain, vignette, scroll bar)
   ===================================================================== */

/* SVG noise */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.78 0 0 0 0 0.30 0 0 0 0.85 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 89;
  background: radial-gradient(
    ellipse at center,
    transparent 55%,
    oklch(8% 0.01 55 / 0.6) 100%
  );
}

.scroll-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  background: oklch(80% 0.14 82 / 0.08);
}
.scroll-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--gold-deep),
    var(--gold-bright) 40%,
    var(--gold) 60%,
    var(--gold-deep) 100%
  );
  box-shadow: 0 0 12px oklch(90% 0.15 88 / 0.6);
}

/* =====================================================================
   Nav
   ===================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--ink-soft);
  backdrop-filter: blur(6px) saturate(130%);
  background: linear-gradient(to bottom, oklch(8% 0.01 60 / 0.55), oklch(8% 0.01 60 / 0));
  transition: background 0.4s;
}
.nav::after {
  content: "";
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  bottom: 0;
  height: 1px;
  background: var(--hairline);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s ease;
}
.nav.is-scrolled::after { transform: scaleX(1); }
.nav.is-scrolled {
  background: linear-gradient(to bottom, oklch(8% 0.01 60 / 0.82), oklch(8% 0.01 60 / 0.4));
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gold);
  line-height: 0;
}
.nav__logo {
  display: block;
  height: 54px;
  width: auto;
  transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.1, 1);
  filter: drop-shadow(0 0 16px oklch(82% 0.14 82 / 0.28));
}
.nav__mark:hover .nav__logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 20px oklch(85% 0.15 85 / 0.55));
}

.nav__links {
  display: inline-flex;
  gap: var(--space-6);
  justify-self: center;
}
.nav__links a {
  color: var(--ink-soft);
  position: relative;
  padding: var(--space-1) 0;
  transition: color 0.4s;
}
.nav__links a span {
  color: var(--gold);
  font-style: italic;
  font-family: var(--f-display);
  letter-spacing: 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__meta {
  display: inline-flex;
  gap: var(--space-4);
  align-items: center;
  justify-self: end;
  color: var(--ink-mute);
}
.nav__region {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.nav__dot {
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
}
.nav__user {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px 14px;
  border: 1px solid var(--hairline-2);
  color: var(--ink);
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: var(--t-kicker);
  background: oklch(14% 0.015 68 / 0.5);
  transition:
    color 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.5s ease,
    transform 0.4s cubic-bezier(0.2,0.7,0.1,1);
  position: relative;
}
.nav__user::before,
.nav__user::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nav__user::before {
  top: -3px; left: -3px;
  border-right: 0; border-bottom: 0;
}
.nav__user::after {
  bottom: -3px; right: -3px;
  border-left: 0; border-top: 0;
}
.nav__user-icon {
  width: 13px;
  height: 13px;
  color: var(--gold);
  transition: color 0.4s ease, transform 0.4s ease;
}
.nav__user:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: oklch(18% 0.03 72 / 0.8);
  box-shadow: 0 0 22px oklch(80% 0.14 82 / 0.2);
  transform: translateY(-1px);
}
.nav__user:hover::before,
.nav__user:hover::after { opacity: 1; }
.nav__user:hover .nav__user-icon {
  color: var(--gold-bright);
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--ink);
  isolation: isolate;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.62) saturate(1.04) contrast(1.04);
  animation: heroBreathe 22s ease-in-out infinite;
}
@keyframes heroBreathe {
  0%, 100% { transform: scale(1.04); }
  50%      { transform: scale(1.11); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 30%, oklch(6% 0.01 60 / 0.55) 85%),
    linear-gradient(to bottom, oklch(8% 0.01 60 / 0.45) 0%, transparent 20%, transparent 70%, oklch(8% 0.01 60 / 0.85) 100%);
}

/* corner ornaments */
.corner {
  position: absolute;
  width: clamp(70px, 9vw, 130px);
  height: clamp(70px, 9vw, 130px);
  color: var(--gold);
  opacity: 0.72;
  z-index: 3;
}
.corner--tl { top: clamp(80px, 11vh, 130px); left: var(--space-6); }
.corner--tr { top: clamp(80px, 11vh, 130px); right: var(--space-6); }
.corner--bl { bottom: var(--space-6); left: var(--space-6); }
.corner--br { bottom: var(--space-6); right: var(--space-6); }

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  grid-template-rows: auto;
  padding: var(--space-10) var(--space-6) var(--space-7);
}

.hero__eyebrow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
  width: min(620px, 80vw);
  margin-inline: auto;
  position: absolute;
  top: clamp(120px, 18vh, 180px);
  left: 50%;
  transform: translateX(-50%);
}
.hero__eyebrow .line {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__eyebrow-text {
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-kicker);
  color: var(--gold);
  white-space: nowrap;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: var(--lh-display);
  margin: 0;
  display: grid;
  text-align: center;
  gap: clamp(4px, 0.8vw, 12px);
  font-variant-numeric: oldstyle-nums;
}
.hero__title-pre,
.hero__title-post {
  font-family: var(--f-label);
  font-size: clamp(13px, 1.2vw, 18px);
  letter-spacing: var(--t-label);
  color: var(--gold-bright);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}
.hero__title-pre { margin-bottom: var(--space-2); }
.hero__title-post { margin-top: var(--space-3); }
.hero__title-main {
  font-size: var(--fs-mega);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow:
    0 1px 0 oklch(70% 0.1 72 / 0.3),
    0 0 60px oklch(82% 0.13 82 / 0.25);
}
.hero__title-main em {
  color: var(--gold-bright);
  display: inline-block;
  text-shadow:
    0 0 1px oklch(92% 0.11 92 / 0.9),
    0 0 32px oklch(82% 0.14 82 / 0.45),
    0 0 80px oklch(75% 0.14 78 / 0.25);
}
.dash {
  display: inline-block;
  width: clamp(28px, 4vw, 56px);
  height: 1px;
  background: var(--gold);
}

.hero__kor {
  font-family: var(--f-body);
  font-size: clamp(14px, 1.1vw, 17px);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-top: var(--space-5);
  text-align: center;
  font-weight: 300;
  font-style: italic;
}

.hero__bottom {
  position: absolute;
  bottom: clamp(80px, 10vh, 130px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(760px, 84vw);
  gap: var(--space-6);
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-kicker);
  color: var(--ink-soft);
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gold);
}
.hero__scroll svg {
  width: 12px;
  height: 22px;
  animation: scrollNudge 2.2s ease-in-out infinite;
}
@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 1.4s cubic-bezier(0.2, 0.7, 0.1, 1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes reveal {
  0% { opacity: 0; transform: translateY(18px); letter-spacing: 0.04em; }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: normal; }
}

/* =====================================================================
   Marquee
   ===================================================================== */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-2);
  padding: var(--space-5) 0;
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 58s linear infinite;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(28px, 4vw, 64px);
  color: var(--gold);
  letter-spacing: 0.02em;
  opacity: 0.62;
}
.marquee__track span { white-space: nowrap; padding-right: var(--space-6); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =====================================================================
   Photo slide band (dual-direction field archive)
   ===================================================================== */
.slide-band {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(var(--space-8), 10vw, var(--space-11)) 0 clamp(var(--space-8), 10vw, var(--space-11));
  background:
    radial-gradient(120% 60% at 50% 0%, oklch(14% 0.020 70 / 0.8) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  overflow: hidden;
  isolation: isolate;
}
.slide-band::before,
.slide-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, oklch(60% 0.060 82 / 0.35) 20%, oklch(80% 0.120 82 / 0.55) 50%, oklch(60% 0.060 82 / 0.35) 80%, transparent 100%);
  z-index: 2;
}
.slide-band::before { top: 0; }
.slide-band::after { bottom: 0; }

.slide-band__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: 0 var(--space-6) var(--space-7);
  color: var(--ink-2);
  font-family: var(--f-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
}
.slide-band__meta .eyebrow {
  color: var(--gold);
}
.slide-band__sep {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(80% 0.12 82 / 0.5), transparent);
}
.slide-band__kor {
  font-family: var(--f-body);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
  color: var(--ink-3);
}

.slide-row {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.slide-row + .slide-row {
  margin-top: var(--space-5);
}
.slide-row__track {
  display: flex;
  gap: var(--space-5);
  width: max-content;
  will-change: transform;
}
.slide-row--left .slide-row__track {
  animation: slide-left 64s linear infinite;
}
.slide-row--right .slide-row__track {
  animation: slide-right 78s linear infinite;
}
.slide-row:hover .slide-row__track {
  animation-play-state: paused;
}

.slide-card {
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 340px);
  height: clamp(150px, 15vw, 230px);
  margin: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid oklch(38% 0.035 78 / 0.5);
  border-radius: 2px;
  box-shadow:
    0 0 0 1px oklch(18% 0.020 70) inset,
    0 12px 30px -18px oklch(8% 0.010 65 / 0.9);
  background: oklch(12% 0.015 70);
  transition: transform 600ms var(--ease), border-color 600ms var(--ease), box-shadow 600ms var(--ease);
}
.slide-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, oklch(8% 0.010 65 / 0.55) 100%),
    linear-gradient(180deg, oklch(10% 0.015 65 / 0.15) 0%, transparent 40%);
  pointer-events: none;
  transition: opacity 600ms var(--ease);
}
.slide-card:hover {
  border-color: oklch(78% 0.12 82 / 0.75);
  box-shadow:
    0 0 0 1px oklch(78% 0.12 82 / 0.3) inset,
    0 18px 40px -18px oklch(8% 0.010 65 / 1),
    0 0 32px -8px oklch(82% 0.14 82 / 0.35);
}
.slide-card:hover::after { opacity: 0.4; }
.slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.78) contrast(1.05) brightness(0.92);
  transition: filter 800ms var(--ease), transform 1200ms var(--ease);
}
.slide-card:hover img {
  filter: saturate(0.92) contrast(1.08) brightness(1);
  transform: scale(1.04);
}

@keyframes slide-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes slide-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .slide-row--left .slide-row__track,
  .slide-row--right .slide-row__track {
    animation: none;
  }
}

@media (max-width: 640px) {
  .slide-band__meta {
    flex-direction: column;
    gap: var(--space-2);
    padding-bottom: var(--space-6);
  }
  .slide-band__sep { width: 40px; }
  .slide-row + .slide-row { margin-top: var(--space-4); }
  .slide-row__track { gap: var(--space-4); }
  .slide-row--left .slide-row__track { animation-duration: 48s; }
  .slide-row--right .slide-row__track { animation-duration: 58s; }
}

/* =====================================================================
   Chapter common
   ===================================================================== */
.chapter {
  position: relative;
  padding: clamp(var(--space-9), 14vw, var(--space-12)) var(--space-6);
  max-width: 1440px;
  margin-inline: auto;
}
.chapter--dark {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 20%, var(--bg) 100%);
}

.chapter__header {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  column-gap: var(--space-5);
  row-gap: var(--space-2);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
}
.chapter__kicker {
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-kicker);
  color: var(--gold);
}
.chapter__numeral {
  font-family: var(--f-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}
.chapter__numeral em {
  font-style: italic;
  text-shadow: 0 0 24px oklch(82% 0.14 82 / 0.3);
}
.chapter__diamond {
  color: var(--gold);
  width: clamp(60px, 12vw, 120px);
}
.chapter__diamond svg { width: 100%; height: auto; }
.chapter__title {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-align: right;
}
.chapter__title em {
  font-style: italic;
  color: var(--gold);
}

/* =====================================================================
   Chapter I — Origin
   ===================================================================== */
.origin {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
}
.origin__lead {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
  margin: 0;
  position: relative;
}
.origin__lead img {
  width: 100%;
  height: clamp(420px, 68vh, 780px);
  object-fit: cover;
  filter: saturate(0.92) brightness(0.92);
}

.origin__body {
  grid-column: 9 / span 4;
  grid-row: 1 / span 1;
  align-self: end;
  padding-bottom: var(--space-4);
}
.origin__body .eyebrow {
  display: block;
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--gold);
  margin: 0 0 var(--space-3);
}
.display-h2 {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: var(--lh-display);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--space-5);
}
.display-h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.origin__prose p {
  margin: 0 0 var(--space-4);
  max-width: 32ch;
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.origin__prose p.small {
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--ink-mute);
  margin-top: var(--space-5);
  max-width: none;
}

.dropcap::first-letter {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 4.6em;
  line-height: 0.85;
  float: left;
  padding: 0.12em var(--space-3) 0 0;
  color: var(--gold);
  text-shadow: 0 0 18px oklch(82% 0.14 82 / 0.35);
}

.origin__side {
  grid-column: 9 / span 4;
  grid-row: 2 / span 1;
  margin: 0;
  align-self: start;
}
.origin__side img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.9);
}

.origin__wide {
  grid-column: 3 / span 10;
  grid-row: 3;
  margin: var(--space-8) 0 0;
}
.origin__wide img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.94);
}

.origin__inset {
  grid-column: 1 / span 3;
  grid-row: 4;
  margin: calc(var(--space-8) * -1) 0 0;
  z-index: 3;
  position: relative;
}
.origin__inset img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  outline: 1px solid var(--hairline-2);
  outline-offset: -8px;
}

.origin__stats {
  grid-column: 5 / span 8;
  grid-row: 4;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-top: var(--space-8);
}
.stat {
  padding: 0 var(--space-4);
  border-right: 1px solid var(--hairline);
  text-align: left;
}
.stat:last-child { border-right: 0; }
.stat__label {
  display: block;
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--ink-mute);
  margin-bottom: var(--space-2);
}
.stat__value {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.stat__value em {
  font-style: italic;
  font-size: 0.6em;
  color: var(--ink-soft);
  margin-left: 0.2em;
  font-weight: 400;
}

figcaption {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-top: var(--space-3);
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--ink-mute);
}
.fig__num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0;
}

/* =====================================================================
   Chapter II — Refinement
   ===================================================================== */
.refinement {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-6);
}
.refinement__intro {
  grid-column: 1 / span 5;
  padding-top: var(--space-4);
}
.refinement__intro .eyebrow {
  display: block;
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--gold);
  margin: 0 0 var(--space-4);
}
.display-h2--stack {
  display: grid;
  line-height: 0.92;
  font-size: clamp(56px, 7.2vw, 140px);
  gap: 0;
}
.display-h2--stack em:nth-child(1) { transform: translateX(-0.12em); }
.display-h2--stack span      { color: var(--ink); font-style: normal; transform: translateX(0.3em); }
.display-h2--stack em:nth-child(3) { transform: translateX(0.6em); }

/* Korean display heading — safe sizes + no synthetic italic on CJK */
.display-h2--kor {
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.display-h2--kor em {
  font-style: normal;
  color: var(--gold-bright);
  font-weight: 500;
  text-shadow: 0 0 20px oklch(82% 0.14 82 / 0.4);
}

.refinement__lede {
  margin-top: var(--space-6);
  color: var(--ink-soft);
  max-width: 42ch;
  font-size: var(--fs-lg);
  line-height: 1.55;
}

.refinement__video {
  grid-column: 7 / span 6;
  position: relative;
  margin: 0;
  align-self: start;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  outline: 1px solid var(--hairline-2);
  outline-offset: 10px;
}
.refinement__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.08) brightness(1.05);
}
.refinement__label {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: oklch(8% 0.01 60 / 0.72);
  backdrop-filter: blur(4px);
  border: 1px solid var(--hairline-2);
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: var(--t-kicker);
  color: var(--ink);
}
.tick {
  color: var(--gold-bright);
  font-size: 8px;
  animation: tickPulse 1.6s ease-in-out infinite;
}
@keyframes tickPulse {
  0%, 100% { opacity: 1;   filter: drop-shadow(0 0 4px var(--gold)); }
  50%      { opacity: 0.3; filter: drop-shadow(0 0 10px var(--gold-bright)); }
}

.refinement__plan {
  grid-column: 1 / span 8;
  position: relative;
  margin: var(--space-9) 0 0;
}
.refinement__plan img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.9) contrast(1.05);
}
.refinement__anno {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gold);
  pointer-events: none;
}

.spec-grid {
  grid-column: 1 / -1;
  justify-self: center;
  margin: var(--space-8) auto 0;
  max-width: 760px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  padding: 1px;
  border: 1px solid var(--hairline-2);
}
.spec {
  background: var(--bg);
  padding: var(--space-5);
  display: grid;
  gap: var(--space-2);
}
.spec dt {
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: var(--t-kicker);
  color: var(--ink-mute);
  margin: 0;
}
.spec dd {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 500;
  color: var(--gold);
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.15em;
}
.spec dd em {
  font-style: italic;
  text-shadow: 0 0 16px oklch(82% 0.14 82 / 0.3);
}
.spec__u {
  font-family: var(--f-label);
  font-size: 0.35em;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  align-self: start;
  margin-top: 0.5em;
}
.spec__sub {
  font-size: 0.36em;
  color: var(--ink-soft);
  align-self: flex-end;
  margin-bottom: 0.15em;
  font-style: normal;
  font-family: var(--f-display);
}
.spec small {
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--ink-faint);
}

/* =====================================================================
   Chapter III — AUG
   ===================================================================== */
.chapter--aug {
  max-width: none;
  padding: 0;
  background: oklch(8% 0.012 62);
}
.chapter--aug .chapter__header {
  padding: var(--space-9) var(--space-6) var(--space-6);
  margin-bottom: 0;
  max-width: 1440px;
  margin-inline: auto;
  border-bottom-color: oklch(80% 0.14 82 / 0.25);
}
.chapter__header--light { color: var(--ink); }

.aug {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  padding: var(--space-12) var(--space-6);
  display: grid;
  place-items: center;
}
.aug__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.55) saturate(1.3) contrast(1.1) hue-rotate(-6deg);
}
.aug__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 20%, oklch(6% 0.01 60 / 0.72) 90%),
    linear-gradient(to bottom, oklch(6% 0.01 60 / 0.35), oklch(6% 0.01 60 / 0.6) 100%);
}
.aug__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  display: grid;
  gap: var(--space-5);
}
.eyebrow--light { color: var(--gold-bright); }
.aug__word {
  font-family: var(--f-display);
  font-size: clamp(128px, 22vw, 320px);
  font-weight: 500;
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.03em;
  color: var(--gold);
  filter: drop-shadow(0 0 40px oklch(82% 0.14 82 / 0.45));
}
.aug__word em {
  font-style: italic;
  color: var(--gold-bright);
  text-shadow:
    0 0 1px oklch(96% 0.1 95 / 0.9),
    0 0 28px oklch(82% 0.14 82 / 0.55),
    0 0 72px oklch(72% 0.14 75 / 0.35);
}
.aug__tagline {
  font-family: var(--f-label);
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: var(--t-kicker);
  color: var(--gold-bright);
  margin: 0;
}
.aug__body {
  font-family: var(--f-body);
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: var(--space-3) auto 0;
  font-style: italic;
  font-weight: 300;
}

.aug__pillars {
  list-style: none;
  margin: var(--space-9) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid oklch(80% 0.14 82 / 0.25);
  border-bottom: 1px solid oklch(80% 0.14 82 / 0.25);
}
.aug__pillars li {
  padding: var(--space-6) var(--space-4);
  display: grid;
  gap: var(--space-2);
  text-align: left;
  border-right: 1px solid oklch(80% 0.14 82 / 0.18);
}
.aug__pillars li:last-child { border-right: 0; }
.aug__pillar-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(28px, 2.6vw, 40px);
  color: var(--gold);
  line-height: 1;
}
.aug__pillar-title {
  font-family: var(--f-label);
  font-size: var(--fs-small);
  letter-spacing: var(--t-label);
  color: var(--ink);
}
.aug__pillar-desc {
  font-family: var(--f-body);
  font-size: var(--fs-small);
  color: var(--ink-mute);
  line-height: 1.55;
}

/* =====================================================================
   Sub-page (News / Gallery)
   ===================================================================== */
body.sub-page { background: var(--bg); }
body.sub-page .nav {
  position: sticky;
  top: 0;
  background: oklch(10% 0.010 65 / 0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  z-index: 80;
}
.nav__links a.is-active {
  color: var(--gold-bright);
}
.nav__links a.is-active span {
  color: var(--gold);
}

.sub-main {
  padding-top: var(--space-9);
}
.sub-hero {
  max-width: 1360px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-7) var(--space-9);
  display: grid;
  gap: var(--space-6);
  position: relative;
  border-bottom: 1px solid var(--hairline);
}
.sub-hero::before {
  content: "";
  position: absolute;
  left: var(--space-7);
  top: var(--space-6);
  width: 72px;
  height: 1px;
  background: var(--gold);
}
.sub-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-kicker);
  color: var(--gold);
}
.sub-hero__eyebrow .line {
  width: 44px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 50%, transparent);
}
.sub-hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: grid;
  gap: var(--space-3);
}
.sub-hero__title-en {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 38px);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-bright);
  letter-spacing: 0;
}
.sub-hero__lede {
  margin: 0;
  max-width: 58ch;
  font-family: var(--f-body);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.7;
  color: var(--ink-soft);
}
.sub-hero__lede em {
  color: var(--gold-bright);
  font-style: italic;
}

/* =====================================================================
   News · 회사소식
   ===================================================================== */
.news {
  padding: var(--space-11) var(--space-7) var(--space-10);
  max-width: 1360px;
  margin-inline: auto;
  position: relative;
}
.news__header {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
  padding-bottom: var(--space-7);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--hairline);
}
.news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.news__item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: var(--space-7);
  align-items: start;
  padding: var(--space-7) var(--space-4);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition:
    background 0.5s ease,
    transform 0.5s cubic-bezier(0.2,0.7,0.1,1);
}
.news__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.news__item:hover {
  background: oklch(16% 0.020 70 / 0.5);
  transform: translateX(4px);
}
.news__item:hover::before {
  opacity: 1;
}
.news__item:hover .news__arrow {
  color: var(--gold);
  transform: translateX(4px);
}
.news__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding-top: 4px;
  font-family: var(--f-display);
  border-right: 1px solid var(--hairline);
  padding-right: var(--space-5);
}
.news__day {
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 0.9;
  color: var(--ink);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.news__month {
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-kicker);
  color: var(--gold);
  margin-top: var(--space-2);
}
.news__year {
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
}
.news__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 72ch;
}
.news__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: var(--t-kicker);
  color: var(--gold-bright);
  padding: 4px 10px;
  border: 1px solid var(--hairline-2);
  border-radius: 1px;
  background: oklch(18% 0.025 72 / 0.6);
}
.news__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.news__title em {
  color: var(--gold-bright);
  font-style: italic;
}
.news__excerpt {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-small);
  color: var(--ink-mute);
  line-height: 1.65;
}
.news__arrow {
  color: var(--ink-faint);
  transition:
    color 0.4s ease,
    transform 0.4s cubic-bezier(0.2,0.7,0.1,1);
  align-self: center;
}
.news__arrow svg { width: 28px; height: 28px; }

/* =====================================================================
   Gallery · 갤러리
   ===================================================================== */
.gallery {
  padding: var(--space-11) var(--space-7) var(--space-10);
  max-width: 1480px;
  margin-inline: auto;
  background:
    radial-gradient(ellipse at top, oklch(14% 0.018 68 / 0.5), transparent 70%);
}
.gallery__header { margin-bottom: var(--space-7); }
.gallery__lede {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 26px);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 64ch;
  line-height: 1.55;
  margin: 0 0 var(--space-8);
}
.gallery__lede em {
  color: var(--gold-bright);
  font-style: italic;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: var(--space-3);
}
.gallery__cell {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--hairline);
  background: var(--bg-2);
  transition:
    border-color 0.5s ease,
    transform 0.6s cubic-bezier(0.2,0.7,0.1,1);
}
.gallery__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.5s ease;
}
.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.88);
  transition:
    filter 0.8s ease,
    transform 1.2s cubic-bezier(0.2,0.7,0.1,1);
}
.gallery__cell:hover {
  border-color: var(--hairline-2);
  transform: translateY(-2px);
}
.gallery__cell:hover::after {
  box-shadow: inset 0 0 0 1px var(--hairline-2);
}
.gallery__cell:hover img {
  filter: saturate(1.05) brightness(1);
  transform: scale(1.04);
}
.gallery__cell--tall { grid-row: span 2; }
.gallery__cell--wide { grid-column: span 2; }
.gallery__cell figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-5) var(--space-4) var(--space-4);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--ink);
  background: linear-gradient(to top, oklch(6% 0.006 60 / 0.85), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.2,0.7,0.1,1);
}
.gallery__cell:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}
.gallery__cell figcaption .fig__num {
  color: var(--gold-bright);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
}

/* =====================================================================
   Closing
   ===================================================================== */
.closing {
  padding: var(--space-12) var(--space-6) var(--space-10);
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  display: grid;
  gap: var(--space-7);
  place-items: center;
}
.closing__logo {
  margin: 0;
  width: clamp(120px, 15vw, 200px);
  opacity: 0.92;
}
.closing__logo img {
  width: 100%;
  filter: brightness(1.02);
}
.closing__quote {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
  max-width: 20ch;
}
.closing__quote em {
  font-style: italic;
}
.closing__quote cite {
  display: block;
  margin-top: var(--space-5);
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-kicker);
  color: var(--gold);
  font-style: normal;
}
.closing__quote cite span {
  color: var(--ink-mute);
  font-family: var(--f-display);
  font-style: italic;
}

.closing__soon {
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-kicker);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  margin: 0;
}

/* =====================================================================
   Footer
   ===================================================================== */
.footer {
  border-top: 1px solid var(--hairline);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--ink-mute);
  background: oklch(9% 0.008 62);
}
.footer__col p { margin: 4px 0 0; color: var(--ink-faint); }
.footer__mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gold);
}
.footer__mark svg { width: 9px; height: 9px; }
.footer__mark span {
  color: var(--ink);
  letter-spacing: 0.32em;
}
.footer__col--mid {
  text-align: center;
  color: var(--gold);
  letter-spacing: var(--t-kicker);
  font-style: italic;
  font-family: var(--f-display);
}
.footer__col--end { text-align: right; }

/* =====================================================================
   Intersection reveal (sections)
   ===================================================================== */
.is-in {
  --_delay: var(--d, 0ms);
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1.2s cubic-bezier(0.2,0.7,0.1,1),
    transform 1.2s cubic-bezier(0.2,0.7,0.1,1);
  transition-delay: var(--d, 0ms);
}
.reveal-on-scroll.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__region { display: none; }

  .chapter { padding: var(--space-9) var(--space-5); }
  .chapter__header {
    grid-template-columns: auto auto;
    grid-auto-rows: auto;
    gap: var(--space-3);
  }
  .chapter__title { grid-column: 1 / -1; text-align: left; }
  .chapter__diamond { display: none; }

  .origin,
  .refinement {
    grid-template-columns: repeat(6, 1fr);
  }
  .origin__lead { grid-column: 1 / -1; grid-row: auto; }
  .origin__lead img { height: clamp(360px, 55vh, 560px); }
  .origin__body { grid-column: 1 / -1; grid-row: auto; }
  .origin__side { grid-column: 1 / span 3; grid-row: auto; }
  .origin__inset { grid-column: 4 / -1; grid-row: auto; margin-top: 0; }
  .origin__wide { grid-column: 1 / -1; grid-row: auto; margin-top: var(--space-6); }
  .origin__stats { grid-column: 1 / -1; grid-row: auto; }

  .refinement__intro,
  .refinement__video,
  .refinement__plan,
  .spec-grid {
    grid-column: 1 / -1;
  }
  .refinement__video { aspect-ratio: 16 / 10; }

  .hero__eyebrow { top: 100px; width: 90vw; }
  .hero__bottom { gap: var(--space-3); }

  .corner { display: none; }

  /* News + Gallery */
  .news, .gallery { padding: var(--space-9) var(--space-5); }
  .news__item {
    grid-template-columns: 96px 1fr;
    gap: var(--space-5);
    padding: var(--space-6) var(--space-2);
  }
  .news__arrow { display: none; }
  .news__day { font-size: clamp(36px, 7vw, 52px); }
  .news__date { padding-right: var(--space-4); }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: var(--space-2);
  }
  .gallery__cell--wide { grid-column: span 2; }
  .gallery__cell figcaption {
    opacity: 1;
    transform: none;
    padding: var(--space-3);
  }
}

@media (max-width: 640px) {
  :root {
    --fs-mega: clamp(60px, 18vw, 120px);
  }
  .nav { padding: var(--space-3) var(--space-4); }
  .nav__logo { height: 44px; }
  .chapter { padding: var(--space-8) var(--space-4); }
  .aug { padding: var(--space-9) var(--space-4); }

  .origin__stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--hairline); padding: var(--space-4) var(--space-3); }
  .stat:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }

  .spec-grid { grid-template-columns: 1fr; }

  .aug__pillars { grid-template-columns: 1fr; border-top: 1px solid oklch(80% 0.14 82 / 0.25); }
  .aug__pillars li { border-right: 0; border-bottom: 1px solid oklch(80% 0.14 82 / 0.18); }
  .aug__pillars li:last-child { border-bottom: 0; }

  .footer { grid-template-columns: 1fr; text-align: left; }
  .footer__col--mid, .footer__col--end { text-align: left; }

  .hero__bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
    bottom: var(--space-7);
  }

  .marquee__track { font-size: clamp(24px, 9vw, 40px); }
}

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__video { animation: none; }
  .marquee__track { animation: none; }
  .tick { animation: none; }
  .hero__scroll svg { animation: none; }
}

/* =====================================================================
   Selection / focus
   ===================================================================== */
::selection {
  background: oklch(78% 0.14 82 / 0.55);
  color: oklch(12% 0.01 55);
}
a:focus-visible, button:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* =====================================================================
   ─────────────────── CLIENT LAYOUT INTEGRATION ─────────────────────
   Hero slogan · Mine figures · AUG lead / Project title ·
   RWA buttons · Genie Bot · Exchange marquee
   ===================================================================== */

/* ────────── Hero — Korean slogan ────────── */
.hero__title--kor {
  display: grid;
  gap: var(--space-4);
  text-align: center;
  max-width: min(1040px, 92vw);
  margin: 0 auto;
}
.hero__slogan {
  font-family: var(--f-display);
  font-size: clamp(30px, 5.4vw, 88px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  word-break: keep-all;
}
.hero__slogan em {
  /* Korean — no synthetic italic */
  font-style: normal;
  color: var(--gold-bright);
  text-shadow:
    0 0 1px oklch(92% 0.11 92 / 0.7),
    0 0 22px oklch(82% 0.14 82 / 0.4);
}
.hero__slogan-en {
  font-family: var(--f-label);
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: var(--t-kicker);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.hero__slogan-en em {
  font-family: var(--f-display);
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  text-transform: none;
}

/* ────────── Chapter I — MINE ────────── */
.mine {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
}
.mine__lead {
  grid-column: 1 / span 7;
  grid-row: 1 / span 1;
  margin: 0;
  position: relative;
}
.mine__lead img {
  width: 100%;
  height: clamp(440px, 68vh, 780px);
  object-fit: cover;
  filter: saturate(0.9) brightness(0.9);
}
.mine__body {
  grid-column: 9 / span 4;
  grid-row: 1 / span 1;
  align-self: center;
  padding-bottom: var(--space-4);
}
.mine__body .eyebrow {
  display: block;
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--gold);
  margin: 0 0 var(--space-3);
}
.mine__prose p {
  margin: 0 0 var(--space-4);
  max-width: 36ch;
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.mine__prose p em {
  font-style: normal;
  color: var(--gold-bright);
  font-variant-numeric: oldstyle-nums;
}
.mine__prose p.small {
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--ink-mute);
  margin-top: var(--space-5);
  max-width: none;
}

.mine__figures {
  grid-column: 1 / span 12;
  margin: var(--space-9) 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
}
.figure {
  padding: var(--space-6) var(--space-5);
  border-right: 1px solid var(--hairline);
  display: grid;
  gap: var(--space-2);
  position: relative;
}
.figure:last-child { border-right: 0; }
.figure__label {
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: var(--t-kicker);
  color: var(--ink-mute);
}
.figure__value {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 5.6vw, 88px);
  line-height: 0.95;
  color: var(--gold);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}
.figure__value > span {
  font-size: 0.6em;
  margin-left: 0.04em;
  color: var(--gold-bright);
}
.figure__value em {
  font-size: 0.5em;
  color: var(--ink-soft);
  font-family: var(--f-label);
  font-style: normal;
  letter-spacing: 0.08em;
  margin-left: 0.2em;
  align-self: flex-end;
  margin-bottom: 0.3em;
}
.figure__unit {
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--ink-soft);
}
.figure__unit em {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--ink-mute);
  margin-left: var(--space-1);
}

.mine__wide {
  grid-column: 1 / span 12;
  margin: var(--space-5) 0 0;
}
.mine__wide img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.9);
}

/* ────────── Chapter II — Operations / two-track business ────────── */
.operations {
  grid-column: 1 / -1;
  margin: var(--space-9) auto 0;
  text-align: center;
  max-width: 820px;
  padding: 0 var(--space-4);
}
.operations .eyebrow {
  display: block;
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-kicker);
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.operations__head {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--space-6);
}
.operations__head em {
  font-style: normal;
  color: var(--gold-bright);
  text-shadow: 0 0 22px oklch(82% 0.14 82 / 0.35);
}

.operations__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.operations__list li {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.75;
  color: var(--ink-soft);
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--hairline);
}
.operations__list li em {
  font-style: normal;
  color: var(--gold-bright);
  font-weight: 400;
  font-variant-numeric: oldstyle-nums;
  letter-spacing: 0.01em;
}
.operations__list li small {
  font-family: var(--f-body);
  color: var(--ink-mute);
  font-size: 0.85em;
  font-style: italic;
  margin-left: 0.3em;
  font-weight: 300;
}

.operations__jv {
  margin: var(--space-5) 0 0;
  font-family: var(--f-label);
  font-size: var(--fs-small);
  letter-spacing: var(--t-label);
  color: var(--gold);
}

.operations__fig {
  grid-column: 1 / -1;
  margin: var(--space-8) 0 0;
}
.operations__fig img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.92) contrast(1.05);
}
.operations__fig figcaption {
  justify-content: center;
  text-align: center;
  margin-top: var(--space-4);
}

/* ────────── Capability · 제련 기술력 + 현지 네트워크 ────────── */
.capability {
  max-width: 960px;
  margin: var(--space-10) auto 0;
  padding: 0 var(--space-5);
  text-align: center;
}

.capability__video {
  position: relative;
  margin: 0 auto;
  aspect-ratio: 16 / 8.5;
  max-width: 100%;
  overflow: hidden;
  outline: 1px solid var(--hairline-2);
  outline-offset: 10px;
  background: oklch(6% 0.01 60);
  isolation: isolate;
}
.capability__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.06) brightness(1.02);
}
.capability__video::before {
  /* subtle vignette so badge reads cleanly */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(8% 0.01 60 / 0.25) 0%,
    transparent 20%,
    transparent 70%,
    oklch(8% 0.01 60 / 0.55) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.capability__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: oklch(8% 0.01 60 / 0.78);
  backdrop-filter: blur(4px);
  border: 1px solid var(--hairline-2);
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: var(--t-kicker);
  color: var(--gold-bright);
}
.capability__badge svg {
  width: 9px;
  height: 9px;
  color: var(--gold);
}

.capability__panel {
  margin-top: var(--space-9);
  max-width: 720px;
  margin-inline: auto;
}

.capability__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.capability__list li {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.75;
  color: var(--ink-soft);
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--hairline);
  word-break: keep-all;
}
.capability__list li em {
  font-style: normal;
  color: var(--gold-bright);
  font-weight: 400;
  font-variant-numeric: oldstyle-nums;
  letter-spacing: 0.01em;
}

.capability__list--ph li:first-child {
  /* Phil. network heading */
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink);
  font-style: italic;
  padding: var(--space-4) var(--space-2);
}
.capability__list--ph li:first-child em {
  font-style: italic;
  color: var(--gold);
  text-shadow: 0 0 16px oklch(82% 0.14 82 / 0.3);
}

.capability__divider {
  margin: var(--space-6) auto var(--space-4);
  width: 80px;
  height: 12px;
  color: var(--gold);
  opacity: 0.75;
}

/* ────────── Chapter III — AUG lead (gallery + project title) ────────── */
.aug-lead {
  display: grid;
  gap: var(--space-7);
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-9);
}
.aug-lead--intro {
  max-width: 1100px;
  margin: var(--space-11) auto var(--space-9);
  padding: 0 var(--space-5);
}
.aug-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  width: min(900px, 100%);
  margin: 0 auto;
}
.aug-gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.aug-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.9);
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.1, 1), filter 1.4s ease;
}
.aug-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px oklch(80% 0.14 82 / 0.3);
  pointer-events: none;
}
.aug-gallery figure:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1);
}

.aug-lead__location {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  gap: var(--space-4);
  margin: 0;
  font-family: var(--f-label);
  font-size: var(--fs-small);
  letter-spacing: var(--t-kicker);
  color: var(--gold);
}
.aug-lead__location em {
  font-family: var(--f-display);
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  font-size: clamp(18px, 1.8vw, 26px);
}
.aug-lead__tag {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.5vw, 22px);
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 auto;
  line-height: 1.55;
  font-weight: 300;
}
.aug-lead__tag em {
  font-style: italic;
  color: var(--gold);
  font-family: var(--f-display);
  font-weight: 500;
}

.aug-lead__title {
  margin: var(--space-5) 0 0;
  display: grid;
  justify-items: center;
  gap: clamp(-16px, -0.8vw, -4px);
  line-height: 0.9;
}
.aug-lead__title-word {
  font-family: var(--f-display);
  font-size: clamp(96px, 18vw, 260px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 0.9;
  text-shadow:
    0 0 1px oklch(94% 0.01 80 / 0.6),
    0 0 60px oklch(82% 0.14 82 / 0.2);
}
.aug-lead__title-word--italic {
  font-style: italic;
  color: var(--gold-bright);
  text-shadow:
    0 0 1px oklch(92% 0.11 92 / 0.9),
    0 0 44px oklch(82% 0.14 82 / 0.55),
    0 0 96px oklch(72% 0.14 75 / 0.35);
  transform: translateX(0.3em);
}

/* ────────── RWA (AUG body) ────────── */
.rwa {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(var(--space-9), 12vw, var(--space-11)) clamp(var(--space-5), 4vw, var(--space-8));
  display: grid;
  place-items: center;
  /* full-viewport bleed, escaping the chapter container */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: var(--space-9);
}
.rwa__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5) saturate(1.3) contrast(1.1) hue-rotate(-8deg);
}
.rwa__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 20%, oklch(6% 0.01 60 / 0.78) 92%),
    linear-gradient(180deg, oklch(6% 0.01 60 / 0.25), oklch(6% 0.01 60 / 0.65) 100%);
}
.rwa__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
  display: grid;
  gap: var(--space-5);
}
.rwa__headline {
  margin: var(--space-2) 0 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.rwa__headline em {
  font-style: normal;
  color: var(--gold-bright);
  text-shadow: 0 0 24px oklch(82% 0.14 82 / 0.45);
}
.rwa__body {
  font-family: var(--f-body);
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto;
  font-weight: 300;
}
.rwa__body em {
  font-style: normal;
  color: var(--gold-bright);
  font-weight: 400;
}

.rwa__pillars {
  list-style: none;
  margin: var(--space-7) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid oklch(80% 0.14 82 / 0.28);
  border-bottom: 1px solid oklch(80% 0.14 82 / 0.28);
}
.rwa__pillars li {
  padding: var(--space-6) var(--space-4);
  display: grid;
  gap: var(--space-2);
  text-align: left;
  border-right: 1px solid oklch(80% 0.14 82 / 0.18);
}
.rwa__pillars li:last-child { border-right: 0; }
.rwa__pillar-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(28px, 2.6vw, 40px);
  color: var(--gold);
  line-height: 1;
}
.rwa__pillar-title {
  font-family: var(--f-label);
  font-size: var(--fs-small);
  letter-spacing: var(--t-label);
  color: var(--ink);
}
.rwa__pillar-desc {
  font-family: var(--f-body);
  font-size: var(--fs-small);
  color: var(--ink-mute);
  line-height: 1.55;
}
.rwa__pillar-desc em {
  font-style: normal;
  color: var(--gold);
  font-weight: 400;
}

/* ────────── Button group (RWA + Genie CTAs) ────────── */
.rwa__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  margin: var(--space-7) 0 0;
}

.btn {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--hairline-2);
  color: var(--ink);
  font-family: var(--f-label);
  background: oklch(10% 0.01 60 / 0.3);
  backdrop-filter: blur(4px);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.5s ease,
    background 0.5s ease,
    color 0.4s ease,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom right, oklch(80% 0.14 82 / 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.btn:hover {
  border-color: var(--gold);
  background: oklch(18% 0.03 72 / 0.55);
  transform: translateY(-2px);
}
.btn:hover::before { opacity: 1; }

.btn__label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink);
  line-height: 1.2;
}
.btn__meta {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0;
  color: var(--ink-mute);
  margin-top: var(--space-1);
}
.btn__arrow {
  width: 16px;
  height: 16px;
  align-self: center;
  color: var(--gold);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.btn:hover .btn__arrow {
  transform: translateX(6px);
}

.btn--primary {
  border-color: var(--gold);
  background: oklch(26% 0.06 75 / 0.5);
}
.btn--primary .btn__label { color: var(--gold-bright); }
.btn--primary .btn__meta  { color: var(--gold); }
.btn--primary:hover {
  background: oklch(32% 0.08 75 / 0.65);
  border-color: var(--gold-bright);
}

.btn--ghost {
  opacity: 0.62;
  border-style: dashed;
  cursor: not-allowed;
}
.btn--ghost:hover { opacity: 1; transform: translateY(0); }
.btn--ghost .btn__meta { color: var(--gold); font-style: italic; }

.btn--lg {
  padding: var(--space-5) var(--space-7);
  min-width: 300px;
}
.btn--lg .btn__label { font-size: 15px; }
.btn--lg .btn__meta  { font-size: 12px; }

/* ────────── Chapter IV — Genie Bot ────────── */
.genie {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-6);
  align-items: start;
}

/* Centered stack layout matching client mockup */
.genie--stack {
  grid-template-columns: 1fr;
  gap: var(--space-7);
  justify-items: center;
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
}
.genie--stack .genie__video {
  grid-column: 1;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
}
.genie--stack .genie__exchanges {
  grid-column: 1;
  margin-top: 0;
  width: 100%;
  padding: var(--space-5) 0;
}

.genie__text {
  max-width: 720px;
  margin-top: var(--space-3);
}
.genie__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  word-break: keep-all;
  margin: 0 0 var(--space-4);
}
.genie__text p {
  margin: 0 0 var(--space-2);
  color: var(--ink-soft);
  font-size: var(--fs-lg);
  line-height: 1.65;
  font-weight: 300;
  word-break: keep-all;
}

.genie__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: oklch(8% 0.01 60 / 0.78);
  backdrop-filter: blur(4px);
  border: 1px solid var(--hairline-2);
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: var(--t-kicker);
  color: var(--gold-bright);
}
.genie__badge svg { width: 9px; height: 9px; color: var(--gold); }

.genie__cta {
  margin-top: var(--space-4);
  justify-self: center;
}
.genie__intro {
  grid-column: 1 / span 5;
  padding-top: var(--space-4);
}
.genie__intro .eyebrow {
  display: block;
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-label);
  color: var(--gold);
  margin: 0 0 var(--space-4);
}
.genie__lede {
  margin: var(--space-5) 0 var(--space-7);
  color: var(--ink-soft);
  max-width: 42ch;
  font-size: var(--fs-lg);
  line-height: 1.65;
}
.genie__lede em {
  font-style: normal;
  color: var(--gold-bright);
  font-weight: 400;
}

.genie__video {
  grid-column: 7 / span 6;
  position: relative;
  margin: 0;
  align-self: start;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  outline: 1px solid var(--hairline-2);
  outline-offset: 10px;
  background: oklch(6% 0.01 60);
}
.genie__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(0.88) hue-rotate(-6deg);
}
.genie__label {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: oklch(8% 0.01 60 / 0.78);
  backdrop-filter: blur(4px);
  border: 1px solid var(--hairline-2);
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: var(--t-kicker);
  color: var(--ink);
}

.genie__exchanges {
  grid-column: 1 / span 12;
  margin-top: var(--space-9);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  position: relative;
}
.genie__exchanges-kicker {
  display: block;
  font-family: var(--f-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--t-kicker);
  color: var(--gold);
  text-align: center;
  margin: 0 0 var(--space-5);
}

.exch-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 48s linear infinite;
  font-family: var(--f-label);
  font-size: clamp(16px, 1.8vw, 24px);
  letter-spacing: 0.28em;
  color: var(--gold);
}
.exch-track span {
  display: inline-flex;
  align-items: center;
  padding: 0 clamp(var(--space-6), 4vw, var(--space-8));
  border-right: 1px solid oklch(80% 0.14 82 / 0.22);
  white-space: nowrap;
  line-height: 1;
  height: 40px;
}

/* =====================================================================
   Chapter Shift · Heritage ↔ Technology transition
   ===================================================================== */
.chapter-shift {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 960px;
  margin: var(--space-9) auto;
  padding: 0 var(--space-5);
  color: var(--gold);
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.36em;
}
.chapter-shift__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, oklch(80% 0.14 82 / 0.4), transparent);
}
.chapter-shift__mark {
  color: var(--gold);
}
.chapter-shift__mark svg { width: 40px; height: 12px; }
.chapter-shift__label {
  white-space: nowrap;
  color: var(--gold-bright);
  text-shadow: 0 0 10px oklch(80% 0.14 82 / 0.3);
}

/* =====================================================================
   GenieX · Terminal Chapter (isolated tech aesthetic)
   ===================================================================== */
.geniex {
  --neon: oklch(72% 0.22 310);     /* violet accent, borrowed from video */
  --neon-2: oklch(78% 0.18 260);   /* cyan-ish */
  --term-bg: oklch(8% 0.012 260);  /* cool near-black */
  --term-bg-2: oklch(11% 0.016 264);
  --term-edge: oklch(72% 0.14 285 / 0.22);
  --term-edge-2: oklch(72% 0.18 290 / 0.45);
  --term-ink: oklch(92% 0.020 260);
  --term-mute: oklch(62% 0.025 270);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", Menlo, monospace;

  position: relative;
  isolation: isolate;
  background: var(--term-bg);
  color: var(--term-ink);
  padding: var(--space-10) clamp(var(--space-4), 3vw, var(--space-6)) var(--space-10);
  width: 100%;
  max-width: none;
  margin: 0;
  border-top: 1px solid var(--term-edge);
  border-bottom: 1px solid var(--term-edge);
  border-left: 0;
  border-right: 0;
  overflow: hidden;
}
.geniex::before {
  /* subtle vignette edge */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 80% 0%, oklch(72% 0.22 310 / 0.10), transparent 45%),
    radial-gradient(ellipse at 0% 100%, oklch(78% 0.18 260 / 0.08), transparent 50%);
}
.geniex__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, oklch(72% 0.14 285 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(72% 0.14 285 / 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 85% at center, black 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 70% 85% at center, black 40%, transparent 95%);
}
.geniex__scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    oklch(100% 0 0 / 0.018) 2px,
    oklch(100% 0 0 / 0.018) 3px
  );
  mix-blend-mode: overlay;
}
.geniex > * { position: relative; z-index: 2; }

.geniex__head {
  max-width: 880px;
  margin: 0 auto var(--space-8);
  text-align: center;
  display: grid;
  gap: var(--space-5);
  justify-items: center;
}
.geniex__meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--term-mute);
  padding: 6px 14px;
  border: 1px solid var(--term-edge);
  background: oklch(12% 0.02 262 / 0.6);
}
.geniex__prompt { color: var(--neon); }
.geniex__path { color: var(--term-ink); }
.geniex__pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(75% 0.22 145);
  box-shadow: 0 0 10px oklch(75% 0.22 145 / 0.9);
  animation: geniexPulse 1.4s ease-in-out infinite;
}
.geniex__status {
  color: oklch(82% 0.18 145);
  letter-spacing: 0.3em;
}
@keyframes geniexPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.geniex__title-tag {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--neon);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}
.geniex__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--term-ink);
  word-break: keep-all;
}
.geniex__title em {
  font-style: italic;
  color: var(--term-ink);
}
.geniex__sub {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.04em;
  color: var(--term-mute);
  max-width: 60ch;
  line-height: 1.7;
}
.geniex__sub-prefix {
  color: var(--neon-2);
  margin-right: var(--space-2);
}
.geniex__sub em {
  font-style: normal;
  color: var(--term-ink);
  padding: 1px 6px;
  background: oklch(72% 0.22 310 / 0.12);
  border: 1px solid oklch(72% 0.22 310 / 0.35);
}

/* Console / video frame */
.geniex__console {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1680px;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--term-edge-2);
  box-shadow:
    0 0 0 8px oklch(10% 0.015 262),
    0 0 0 9px var(--term-edge),
    0 40px 120px -30px oklch(72% 0.22 310 / 0.35);
  overflow: hidden;
}
.geniex__console video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* lean INTO violet rather than fight it */
  filter: saturate(1.15) contrast(1.08);
}
.geniex__bracket {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--neon);
  opacity: 0.85;
  z-index: 3;
}
.geniex__bracket--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.geniex__bracket--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.geniex__bracket--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.geniex__bracket--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.geniex__hud {
  position: absolute;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--term-ink);
  z-index: 3;
  text-transform: uppercase;
  text-shadow: 0 0 8px oklch(0% 0 0 / 0.8);
}
.geniex__hud--top { top: 18px; }
.geniex__hud--bot { bottom: 18px; justify-content: flex-end; color: var(--term-mute); }
.geniex__hud-sep {
  width: 14px;
  height: 1px;
  background: var(--neon);
  opacity: 0.5;
}
.geniex__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(68% 0.25 28);
  box-shadow: 0 0 10px oklch(68% 0.25 28 / 0.9);
  animation: geniexPulse 1.2s ease-in-out infinite;
}

/* Stats row */
.geniex__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1680px;
  margin: var(--space-8) auto 0;
  border: 1px solid var(--term-edge);
  background: oklch(10% 0.014 262 / 0.6);
}
.geniex__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: var(--space-5) var(--space-5);
  border-right: 1px solid var(--term-edge);
  position: relative;
}
.geniex__stat:last-child { border-right: 0; }
.geniex__stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--neon);
}
.geniex__stat-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--term-mute);
}
.geniex__stat-v {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1;
  color: var(--term-ink);
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* Exchange feed */
.geniex__feed {
  margin: var(--space-8) auto 0;
  max-width: 1680px;
  border: 1px solid var(--term-edge);
  background:
    linear-gradient(to right,
      oklch(10% 0.014 262) 0%,
      oklch(10% 0.014 262) 6%,
      transparent 14%,
      transparent 86%,
      oklch(10% 0.014 262) 94%,
      oklch(10% 0.014 262) 100%),
    oklch(10% 0.014 262 / 0.5);
  overflow: hidden;
}
.geniex__feed-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--term-edge);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--term-mute);
}
.geniex__feed-head .geniex__dot { background: oklch(75% 0.22 145); box-shadow: 0 0 10px oklch(75% 0.22 145 / 0.9); }
.geniex__feed-count {
  margin-left: auto;
  color: var(--neon);
}
.geniex__feed-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--mono);
  font-size: clamp(14px, 1.25vw, 18px);
  letter-spacing: 0.18em;
  color: var(--term-ink);
  padding: var(--space-4) 0;
}
.geniex__feed-track span {
  display: inline-flex;
  align-items: center;
  padding: 0 clamp(var(--space-5), 3vw, var(--space-7));
  white-space: nowrap;
  position: relative;
}
.geniex__feed-track span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--neon);
  opacity: 0.5;
}
.geniex__feed-track span:nth-child(2n) { color: var(--neon); }

/* CTA — terminal command */
.geniex__cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 1680px;
  margin: var(--space-8) auto 0;
  padding: var(--space-5) var(--space-6);
  background: oklch(10% 0.014 262 / 0.6);
  border: 1px solid var(--term-edge-2);
  color: var(--term-ink);
  font-family: var(--mono);
  text-decoration: none;
  transition:
    border-color 0.4s ease,
    background 0.4s ease,
    transform 0.4s cubic-bezier(0.2,0.7,0.1,1);
  position: relative;
  overflow: hidden;
}
.geniex__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, oklch(72% 0.22 310 / 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.2,0.7,0.1,1);
}
.geniex__cta:hover {
  border-color: var(--neon);
  background: oklch(14% 0.02 266 / 0.7);
  transform: translateY(-2px);
}
.geniex__cta:hover::before { transform: translateX(100%); }
.geniex__cta:hover .geniex__cta-arrow { transform: translateX(6px); color: var(--neon); }
.geniex__cta-prompt {
  color: var(--neon);
  font-size: 22px;
  font-weight: 600;
}
.geniex__cta-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.geniex__cta-cmd {
  font-size: clamp(15px, 1.35vw, 19px);
  letter-spacing: 0.18em;
  color: var(--term-ink);
  font-weight: 500;
}
.geniex__cta-sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--term-mute);
  text-transform: uppercase;
}
.geniex__cta-arrow {
  width: 24px;
  height: 24px;
  color: var(--term-mute);
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.1,1), color 0.4s ease;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .geniex { padding: var(--space-8) var(--space-4); }
  .geniex__stats { grid-template-columns: repeat(2, 1fr); }
  .geniex__stat:nth-child(2) { border-right: 0; }
  .geniex__stat:nth-child(-n+2) { border-bottom: 1px solid var(--term-edge); }
  .geniex__hud { left: 14px; right: 14px; font-size: 9px; letter-spacing: 0.16em; }
  .geniex__hud--top { top: 12px; }
  .geniex__hud--bot { bottom: 12px; }
  .geniex__cta { flex-wrap: wrap; padding: var(--space-4); }
  .chapter-shift { margin: var(--space-7) auto; font-size: 9px; letter-spacing: 0.28em; }
}

/* ────────── Responsive — new sections ────────── */
@media (max-width: 1024px) {
  .mine { grid-template-columns: repeat(6, 1fr); }
  .mine__lead { grid-column: 1 / -1; }
  .mine__lead img { height: clamp(320px, 55vh, 520px); }
  .mine__body { grid-column: 1 / -1; }
  .mine__figures { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(2) { border-right: 0; }
  .figure:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }

  .genie { grid-template-columns: repeat(6, 1fr); }
  .genie__intro,
  .genie__video,
  .genie__exchanges { grid-column: 1 / -1; }

  .rwa__pillars { grid-template-columns: 1fr; }
  .rwa__pillars li { border-right: 0; border-bottom: 1px solid oklch(80% 0.14 82 / 0.18); }
  .rwa__pillars li:last-child { border-bottom: 0; }

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

@media (max-width: 640px) {
  .hero__slogan { font-size: clamp(26px, 7.2vw, 42px); }
  .hero__slogan br { display: none; }

  .mine__figures { grid-template-columns: 1fr; }
  .figure { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .figure:last-child { border-bottom: 0; }

  .aug-gallery { grid-template-columns: 1fr; }

  .rwa__actions { grid-template-columns: 1fr; }

  .exch-track { font-size: 15px; letter-spacing: 0.2em; }
  .exch-track span { padding: 0 var(--space-5); height: 32px; }
}
