/* ═══════════════════════════════════════════════════════════════
   WEALTH WISE 브랜드홈 — "딥네이비 에디토리얼 브랜드 저널"
   2026-07-24 전면 리빌드 (자체 완결 CSS — ../css/style.css 비의존)
   팔레트: Deep Navy #0B132B · Charcoal #1C2541 · Warm Paper #F7F5F0
           Gold #C5A059 (포인트 전용 — 배경 사용 금지)
   타이포: MaruBuri(국문 디스플레이) + Pretendard(본문/UI)
           + Cormorant Garamond(영문 에디토리얼 킥커)
   ═══════════════════════════════════════════════════════════════ */

/* Pretendard Variable — 로컬 호스팅 (2026-07-25, CDN 탈피) */
@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/PretendardVariable.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'MaruBuri';
  font-weight: 400;
  src: url('/fonts/MaruBuri-Regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'MaruBuri';
  font-weight: 600;
  src: url('/fonts/MaruBuri-SemiBold.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'MaruBuri';
  font-weight: 700;
  src: url('/fonts/MaruBuri-Bold.woff2') format('woff2');
  font-display: swap;
}

:root {
  --navy: #0B132B;
  --navy-deep: #070E1F;
  --charcoal: #1C2541;
  --paper: #F7F5F0;
  --white: #FFFFFF;
  --ink: #171B26;
  --ink-soft: #4A5164;
  --gold: #C5A059;
  --gold-bright: #D9BC72;
  --gold-dim: rgba(197, 160, 89, 0.35);
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-paper: rgba(23, 27, 38, 0.12);
  --serif-en: 'Cormorant Garamond', 'MaruBuri', serif;
  --serif-kr: 'MaruBuri', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  --hub-h: 34px;
  --hdr-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hub-h) + var(--hdr-h)); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; }

/* ── 리빌 ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.42s; }
.reveal.d5 { transition-delay: 0.55s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════ GLOBAL HUB BAR ═══════════ */
.hubbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--hub-h);
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.hubbar__in {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 18px;
}
.hubbar a {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55); transition: color 0.25s;
  display: inline-flex; align-items: center; gap: 7px;
}
.hubbar a:hover { color: var(--gold-bright); }
.hubbar__group.is-active { color: var(--gold); }
.hubbar__mark { width: 6px; height: 6px; background: var(--gold); display: inline-block; }
.hubbar__div { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.15); }
.hubbar__app.is-active { color: #fff; }

/* ═══════════ HEADER ═══════════ */
.hdr {
  position: fixed; top: var(--hub-h); left: 0; right: 0; z-index: 55;
  height: var(--hdr-h);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid {
  background: rgba(7, 14, 31, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(4, 8, 18, 0.35);
}
.hdr__in {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 28px;
}
.hdr__logo {
  display: flex; align-items: center; gap: 11px;
  color: #fff; font-weight: 800; letter-spacing: 0.16em; font-size: 0.95rem;
}
.hdr__logo svg { width: 30px; height: 30px; color: var(--gold); }
.hdr__logo-w { color: #fff; }
.hdr__nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.hdr__nav > a {
  color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; font-weight: 600;
  padding: 6px 0; position: relative; transition: color 0.25s;
}
.hdr__nav > a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.hdr__nav > a:hover { color: #fff; }
.hdr__nav > a:hover::after { transform: scaleX(1); }

/* 앱 드롭다운 */
.hdr__apps { position: relative; padding: 6px 0; }
.hdr__apps-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--gold-bright); cursor: default;
  display: inline-flex; align-items: center; gap: 6px;
}
.hdr__apps-label::after {
  content: ''; width: 7px; height: 7px;
  border-right: 1.4px solid var(--gold-bright); border-bottom: 1.4px solid var(--gold-bright);
  transform: rotate(45deg) translateY(-2px); transition: transform 0.25s;
}
.hdr__apps > .hdr__app-link { display: none; }
.hdr__apps:hover > .hdr__app-link, .hdr__apps:focus-within > .hdr__app-link { display: block; }
.hdr__apps::before {
  content: ''; position: absolute; top: 100%; left: -20px; right: -20px; height: 16px;
}
.hdr__app-link {
  position: absolute; top: calc(100% + 14px); left: 50%; margin-left: -110px;
  width: 220px; padding: 14px 18px;
  background: var(--navy-deep); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff; font-weight: 700; font-size: 0.92rem;
  transition: border-color 0.25s, background 0.25s;
}
.hdr__app-link + .hdr__app-link { top: calc(100% + 14px + 62px); }
.hdr__app-link em {
  display: block; font-style: normal; font-weight: 500;
  font-size: 0.74rem; color: rgba(255, 255, 255, 0.5); margin-top: 2px;
  letter-spacing: 0.02em;
}
.hdr__app-link:hover { border-color: var(--gold); background: #0E1834; }
.hdr__cta {
  border: 1px solid var(--gold); color: var(--gold-bright);
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 10px 22px; transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.hdr__cta:hover { background: var(--gold); color: var(--navy-deep); }
.hdr__burger { display: none; }

/* ═══════════ 공통 요소 ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 0.94rem; letter-spacing: 0.03em;
  padding: 15px 30px; transition: all 0.3s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform 0.3s; }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(197, 160, 89, 0.32); }
.btn--line { border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--ghost { color: rgba(255, 255, 255, 0.72); padding-left: 8px; padding-right: 8px; }
.btn--ghost:hover { color: var(--gold-bright); }
.btn--full { width: 100%; }

.sec-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.28em;
  color: var(--ink-soft); margin-bottom: 22px;
}
.sec-label b { font-family: var(--serif-en); font-size: 1.05rem; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; }
.sec-label::after { content: ''; flex: 0 0 44px; height: 1px; background: var(--gold-dim); }
.sec-label--center { justify-content: center; }
.sec-label--center::before { content: ''; flex: 0 0 44px; height: 1px; background: var(--gold-dim); }
.sec-label--light { color: rgba(255, 255, 255, 0.55); }

.sec-title {
  font-family: var(--serif-kr); font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.32;
  color: var(--ink); letter-spacing: -0.01em;
}
.sec-title--light { color: #fff; }
.sec-lede { color: var(--ink-soft); font-size: 1.02rem; margin-top: 16px; }

/* ═══════════ 1. HERO ═══════════ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(168deg, var(--navy-deep) 0%, var(--navy) 46%, #13204A 100%);
  padding: calc(var(--hub-h) + var(--hdr-h) + 96px) 24px 90px;
  min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
}
.hero__atmo {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 60% at 82% 18%, rgba(197, 160, 89, 0.13), transparent 70%),
    radial-gradient(52% 70% at 8% 88%, rgba(62, 92, 184, 0.16), transparent 72%);
}
.hero__atmo::after {
  content: ''; position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
}
.hero__gridlines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
}
.hero__in { position: relative; max-width: 1192px; margin: 0 auto; width: 100%; }
.hero__kicker {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em;
  margin-bottom: 34px;
}
.hero__kicker i {
  font-family: var(--serif-en); font-style: italic; font-weight: 500;
  font-size: 1.05rem; letter-spacing: 0.04em; color: var(--gold-bright);
}
.hero__kicker-line { width: 52px; height: 1px; background: var(--gold-dim); }
.hero__title {
  font-family: var(--serif-kr); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.22; color: #fff; letter-spacing: -0.015em;
  margin-bottom: 30px;
}
.hero__title span { display: block; }
.hero__title em { font-style: normal; color: var(--gold-bright); position: relative; }
.hero__title em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: 1px; background: var(--gold-dim);
}
.hero__lede {
  color: rgba(255, 255, 255, 0.72); font-size: 1.06rem; line-height: 1.85;
  margin-bottom: 44px; max-width: 640px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__facts { display: flex; border-top: 1px solid var(--line-dark); max-width: 640px; }
.hero__facts > div { flex: 1; padding: 20px 20px 0 0; }
.hero__facts > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero__facts dt {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45); margin-bottom: 6px;
}
.hero__facts dd {
  font-family: var(--serif-en); font-weight: 600; font-size: 1.9rem;
  color: #fff; line-height: 1; display: flex; align-items: baseline; gap: 7px;
}
.hero__facts dd i {
  font-family: var(--sans); font-style: normal; font-weight: 600;
  font-size: 0.76rem; color: var(--gold-bright); letter-spacing: 0.06em;
}
.hero__scroll {
  position: absolute; right: 34px; bottom: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.64rem; letter-spacing: 0.3em; font-weight: 600;
  writing-mode: vertical-rl;
}
.hero__scroll span {
  width: 1px; height: 52px;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════ 2. FEATURED STORY ═══════════ */
.story { padding: 130px 24px; background: var(--paper); position: relative; overflow: hidden; }
.story::before {
  content: 'PHILOSOPHY'; position: absolute; top: 60px; right: -20px;
  font-family: var(--serif-en); font-weight: 600; font-size: clamp(4rem, 10vw, 8.5rem);
  letter-spacing: 0.08em; color: rgba(23, 27, 38, 0.04);
  pointer-events: none; white-space: nowrap;
}
.story__in {
  max-width: 1192px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 84px;
  align-items: center;
}
.story__fig { position: relative; }
.story__fig img {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover;
  filter: saturate(0.86);
}
.story__fig::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(20deg, rgba(11, 19, 43, 0.38), transparent 55%);
  pointer-events: none;
}
.story__fig figcaption {
  position: absolute; left: 22px; bottom: 20px; z-index: 1;
  color: #fff; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em;
  display: flex; flex-direction: column; gap: 3px;
}
.story__fig figcaption i {
  font-family: var(--serif-en); font-style: italic; font-weight: 500;
  color: var(--gold-bright); font-size: 0.95rem;
}
.story__title {
  font-family: var(--serif-kr); font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.3;
  margin-bottom: 30px;
}
.story__pull {
  font-family: var(--serif-kr); font-weight: 600;
  font-size: 1.18rem; line-height: 1.75; color: var(--charcoal);
  border-left: 2px solid var(--gold); padding-left: 22px;
  margin-bottom: 30px;
}
.story__copy p { color: var(--ink-soft); font-size: 0.99rem; line-height: 1.9; }
.story__copy p + p { margin-top: 16px; }
.story__copy strong { color: var(--ink); font-weight: 700; }

/* ═══════════ 3. OUR ECOSYSTEM 모자이크 ═══════════ */
.eco { padding: 120px 24px 140px; background: var(--white); text-align: center; }
.eco__in { max-width: 1192px; margin: 0 auto; }
.eco .sec-lede { margin-bottom: 64px; }
.eco__mosaic {
  display: grid; text-align: left;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 118px; gap: 18px;
}
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line-paper);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
a.tile:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 24px 48px rgba(11, 19, 43, 0.14);
}
a.tile:hover .tile__go svg { transform: translateX(5px); }
.tile__body { position: relative; z-index: 2; padding: 30px; display: flex; flex-direction: column; flex: 1; }
.tile__tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.tile__chip {
  background: var(--gold); color: var(--navy-deep);
  font-size: 0.62rem; letter-spacing: 0.12em; padding: 2px 8px;
}
.tile__name {
  font-family: var(--serif-en); font-weight: 600;
  font-size: 1.7rem; line-height: 1.14; letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.tile__name span {
  display: block; font-family: var(--sans); font-weight: 600;
  font-size: 0.84rem; letter-spacing: 0.1em; margin-top: 7px; opacity: 0.62;
}
.tile__desc { font-size: 0.92rem; line-height: 1.75; max-width: 400px; }
.tile__go {
  margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.06em;
}
.tile__go svg { width: 16px; height: 16px; transition: transform 0.3s; }

/* MEOWLIFE 대형 */
.tile--meow { grid-column: span 8; grid-row: span 3; background: var(--navy); color: #fff; }
.tile--meow .tile__media { position: absolute; inset: 0; }
.tile--meow .tile__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%;
  opacity: 0.5; filter: saturate(0.8);
}
.tile--meow .tile__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(76deg, var(--navy) 30%, rgba(11, 19, 43, 0.55) 62%, rgba(11, 19, 43, 0.15));
}
.tile--meow .tile__body { padding: 40px; justify-content: flex-end; }
.tile--meow .tile__tag { color: var(--gold-bright); }
.tile--meow .tile__desc { color: rgba(255, 255, 255, 0.78); }
.tile--meow .tile__go { color: var(--gold-bright); }

/* NEOMIND */
.tile--neo { grid-column: span 4; grid-row: span 3; background: #101B3C; color: #fff; }
.tile--neo .tile__pattern {
  position: absolute; right: -34px; top: -34px; width: 190px; height: 190px;
  color: rgba(120, 156, 240, 0.3);
}
.tile--neo .tile__pattern svg { width: 100%; height: 100%; animation: slowSpin 40s linear infinite; }
@keyframes slowSpin { to { transform: rotate(360deg); } }
.tile--neo .tile__tag { color: #9FB8F2; }
.tile--neo .tile__desc { color: rgba(255, 255, 255, 0.74); }
.tile--neo .tile__go { color: #B9CDF8; }
.tile--neo .tile__chip { background: #3E70D8; color: #fff; }

/* PERFUME */
.tile--scent { grid-column: span 5; grid-row: span 3; background: #131313; color: #fff; }
.tile--scent .tile__media { position: absolute; inset: 0; }
.tile--scent .tile__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; opacity: 0.6;
}
.tile--scent .tile__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(8deg, rgba(10, 10, 10, 0.92) 26%, rgba(10, 10, 10, 0.3) 60%, transparent);
}
.tile--scent .tile__body { justify-content: flex-end; }
.tile--scent .tile__tag { color: var(--gold-bright); }
.tile--scent .tile__desc { color: rgba(255, 255, 255, 0.75); }
.tile--scent .tile__go { color: var(--gold-bright); }

/* AI */
.tile--ai { grid-column: span 7; grid-row: span 3; background: var(--charcoal); color: #fff; }
.tile--ai .tile__pattern--dots {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(120deg, transparent 42%, #000);
  -webkit-mask-image: linear-gradient(120deg, transparent 42%, #000);
}
.tile--ai .tile__tag { color: var(--gold-bright); }
.tile--ai .tile__desc { color: rgba(255, 255, 255, 0.75); }

/* ═══════════ 4. BRAND STORIES 레일 ═══════════ */
.stories { padding: 120px 0 130px; background: var(--paper); }
.stories__head { max-width: 1192px; margin: 0 auto 52px; padding: 0 24px; }
.stories__rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 380px);
  gap: 22px; overflow-x: auto; padding: 6px 24px 26px;
  scroll-snap-type: x mandatory;
  max-width: 1240px; margin: 0 auto;
  scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent;
}
.stories__rail::-webkit-scrollbar { height: 4px; }
.stories__rail::-webkit-scrollbar-thumb { background: var(--gold-dim); }
.scard {
  scroll-snap-align: start; position: relative;
  background: var(--white); border: 1px solid var(--line-paper);
  padding: 0 0 26px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  display: flex; flex-direction: column;
}
.scard:hover {
  transform: translateY(-6px); border-color: var(--gold);
  box-shadow: 0 20px 44px rgba(11, 19, 43, 0.12);
}
.scard:hover .scard__arrow { background: var(--gold); color: var(--navy-deep); }
.scard__img { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 24px; }
.scard__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.82); transition: transform 0.6s var(--ease);
}
.scard:hover .scard__img img { transform: scale(1.05); }
.scard__cat {
  font-family: var(--serif-en); font-style: italic; font-weight: 500;
  color: var(--gold); font-size: 1rem; letter-spacing: 0.04em;
  padding: 0 26px; margin-bottom: 10px;
}
.scard h3 {
  font-family: var(--serif-kr); font-weight: 700;
  font-size: 1.32rem; line-height: 1.45; padding: 0 26px; margin-bottom: 12px;
}
.scard__line { color: var(--ink-soft); font-size: 0.88rem; padding: 0 26px; }
.scard__arrow {
  position: absolute; right: 22px; bottom: 20px;
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 1rem; transition: background 0.3s, color 0.3s;
}

/* ═══════════ 5. FUTURE HORIZON ═══════════ */
.horizon {
  padding: 120px 24px;
  background: linear-gradient(150deg, var(--navy-deep), var(--navy) 55%, #122048);
  position: relative; overflow: hidden;
}
.horizon::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 55% at 88% 8%, rgba(197, 160, 89, 0.1), transparent 70%);
}
.horizon__in { max-width: 1192px; margin: 0 auto; position: relative; }
.horizon .sec-title { margin-bottom: 54px; }
.horizon__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.horizon__grid li {
  padding: 30px 26px 34px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s;
}
.horizon__grid li:hover { background: rgba(255, 255, 255, 0.035); }
.horizon__grid i {
  display: block; font-family: var(--serif-en); font-style: italic;
  font-weight: 500; color: var(--gold-bright); font-size: 0.94rem;
  margin-bottom: 12px; letter-spacing: 0.04em;
}
.horizon__grid b { display: block; color: #fff; font-size: 1.06rem; font-weight: 700; margin-bottom: 6px; }
.horizon__grid span { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; }

/* ═══════════ 6. TRUST & PARTNERSHIP ═══════════ */
.partner { padding: 130px 24px; background: var(--paper); }
.partner__in {
  max-width: 1192px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px;
  align-items: start;
}
.partner .sec-lede { margin-bottom: 38px; }
.partner__list { border-top: 1px solid var(--line-paper); margin-bottom: 38px; }
.partner__list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 18px 4px; border-bottom: 1px solid var(--line-paper);
}
.partner__list b { font-size: 1.02rem; font-weight: 700; white-space: nowrap; }
.partner__list span { color: var(--ink-soft); font-size: 0.86rem; text-align: right; }
.partner__direct { display: flex; flex-direction: column; gap: 10px; }
.partner__direct a, .partner__direct p {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 0.95rem; font-weight: 600; color: var(--ink);
}
.partner__direct a:hover { color: var(--gold); }
.partner__direct i {
  font-style: normal; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--ink-soft); flex: 0 0 74px;
}
.partner__direct p { font-weight: 500; color: var(--ink-soft); font-size: 0.88rem; }

/* 폼 카드 */
.form-card {
  background: var(--white); border: 1px solid var(--line-paper);
  border-top: 3px solid var(--gold);
  padding: 42px 40px 36px;
  box-shadow: 0 24px 56px rgba(11, 19, 43, 0.08);
}
.form-card h3 {
  font-family: var(--serif-kr); font-weight: 700; font-size: 1.5rem; margin-bottom: 8px;
}
.form-card > p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 0.94rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-paper);
  padding: 13px 14px; min-width: 0; width: 100%;
  transition: border-color 0.25s, background 0.25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.agree {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.8rem; color: var(--ink-soft); margin: 20px 0 22px;
  cursor: pointer; line-height: 1.6;
}
.agree input { margin-top: 3px; accent-color: var(--gold); }
.agree a { text-decoration: underline; }
.form-note { margin-top: 14px; font-size: 0.76rem; color: var(--ink-soft); text-align: center; }

/* ═══════════ 7. FOOTER ═══════════ */
.ftr { background: var(--navy-deep); color: rgba(255, 255, 255, 0.6); padding: 70px 24px 34px; }
.ftr__in { max-width: 1192px; margin: 0 auto; }
.ftr__top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.ftr__logo {
  font-weight: 800; letter-spacing: 0.18em; color: #fff; font-size: 1.05rem;
  display: flex; align-items: baseline; gap: 10px;
}
.ftr__logo span { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; color: var(--gold); }
.ftr__slogan { margin: 12px 0 22px; font-size: 0.88rem; }
.ftr__apps { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr__apps a {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5); border-bottom: 1px solid transparent;
  padding-bottom: 2px; transition: color 0.25s, border-color 0.25s;
}
.ftr__apps a:hover { color: var(--gold-bright); border-color: var(--gold-dim); }
.ftr__info { font-size: 0.82rem; line-height: 2; }
.ftr__info b { color: rgba(255, 255, 255, 0.85); }
.ftr__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding-top: 26px;
}
.ftr__links { display: flex; gap: 22px; flex-wrap: wrap; }
.ftr__links a { font-size: 0.8rem; transition: color 0.25s; }
.ftr__links a:hover { color: var(--gold-bright); }
.ftr__copy { font-size: 0.74rem; }
.ftr__copy span { margin-left: 14px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.35); }

/* ═══════════ TOAST ═══════════ */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: var(--navy-deep); color: #fff; border: 1px solid var(--gold-dim);
  padding: 14px 26px; font-size: 0.9rem; font-weight: 600;
  opacity: 0; pointer-events: none; z-index: 90;
  transition: opacity 0.35s, transform 0.35s;
  max-width: min(90vw, 480px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ═══════════════════ 반응형 ═══════════════════ */
@media (max-width: 1080px) {
  .hdr__nav {
    position: fixed; inset: calc(var(--hub-h) + var(--hdr-h)) 0 0 0;
    background: var(--navy-deep);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 26px 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    display: flex; margin-left: 0;
  }
  .hdr__nav.is-open { transform: translateX(0); }
  .hdr__nav > a { font-size: 1.15rem; padding: 15px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .hdr__nav > a::after { display: none; }
  .hdr__apps { width: 100%; padding: 20px 0 0; }
  .hdr__apps-label::after { display: none; }
  .hdr__apps > .hdr__app-link,
  .hdr__apps:hover > .hdr__app-link { display: block; position: static; width: 100%; margin: 12px 0 0; }
  .hdr__cta { margin-left: auto; margin-right: 16px; padding: 8px 16px; font-size: 0.78rem; }
  .hdr__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 40px; height: 40px; align-items: center;
  }
  .hdr__burger span { width: 22px; height: 2px; background: #fff; transition: transform 0.3s, opacity 0.3s; }
  .hdr__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .hdr__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .eco__mosaic { grid-auto-rows: 104px; }
  .tile--meow { grid-column: span 12; }
  .tile--neo { grid-column: span 12; grid-row: span 2; }
  .tile--scent { grid-column: span 6; }
  .tile--ai { grid-column: span 6; }
}

@media (max-width: 860px) {
  .story__in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .story__fig img { aspect-ratio: 16 / 11; }
  .partner__in { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .horizon__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero { min-height: auto; padding-bottom: 74px; }
  .hero__scroll { display: none; }
  .hero__facts { max-width: none; }
}

@media (max-width: 620px) {
  .story, .eco, .partner { padding-top: 90px; padding-bottom: 90px; }
  .stories { padding-top: 90px; padding-bottom: 96px; }
  .horizon { padding-top: 90px; padding-bottom: 90px; }
  .eco__mosaic { grid-auto-rows: auto; gap: 14px; }
  .tile--meow, .tile--neo, .tile--scent, .tile--ai { grid-column: span 12; grid-row: auto; min-height: 300px; }
  .tile--meow .tile__body, .tile__body { padding: 28px 24px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts dd { font-size: 1.5rem; }
  .form-card { padding: 30px 22px 26px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .stories__rail { grid-auto-columns: minmax(258px, 82vw); }
  .horizon__grid { grid-template-columns: minmax(0, 1fr); }
  .partner__list span { text-align: left; }
  .partner__list li { flex-direction: column; gap: 4px; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .hubbar__in { gap: 12px; padding: 0 14px; }
  .hubbar a { font-size: 0.6rem; letter-spacing: 0.08em; }
  .hdr__in { padding: 0 14px; gap: 10px; }
  .hdr__logo span { font-size: 0.8rem; letter-spacing: 0.1em; }
  .hdr__cta { display: none; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .hero__facts > div + div { padding-left: 14px; }
  .hero__facts > div { padding-right: 10px; }
  .story, .eco, .partner, .horizon { padding-left: 18px; padding-right: 18px; }
  .stories__head { padding-left: 18px; padding-right: 18px; }
  .stories__rail { padding-left: 18px; padding-right: 18px; }
  .tile__name { font-size: 1.4rem; }
}

/* ═══ HERO 브랜드 영상 (Seedance 2.0 4K, 2026-07-24) ═══ */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.62; filter: saturate(0.85) brightness(0.92);
}
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,14,31,0.92) 0%, rgba(7,14,31,0.6) 42%, rgba(11,19,43,0.22) 100%),
    linear-gradient(180deg, rgba(7,14,31,0.6) 0%, transparent 28%, transparent 68%, rgba(7,14,31,0.85) 100%);
}
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

/* ═══ EDITORIAL GALLERY — 풀블리드 포토 모자이크 (v2, 2026-07-24) ═══ */
.gal { padding: 120px 0 0; background: var(--white); }
.gal__head { max-width: 1192px; margin: 0 auto 60px; padding: 0 24px; text-align: center; }
.gal__grid {
  display: grid; gap: 6px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, 26vw);
}
.ptile { position: relative; overflow: hidden; grid-column: span 4; display: block; }
.ptile--wide { grid-column: span 8; grid-row: span 2; }
.ptile--tall { grid-column: span 4; grid-row: span 2; }
.ptile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.88);
  transition: transform 0.8s var(--ease), filter 0.5s;
}
a.ptile:hover img { transform: scale(1.045); filter: saturate(1); }
.ptile__ov {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px 32px;
  background: linear-gradient(200deg, transparent 40%, rgba(7, 14, 31, 0.24) 66%, rgba(7, 14, 31, 0.82) 100%);
}
.ptile__cat {
  font-family: var(--serif-en); font-style: italic; font-weight: 500;
  color: var(--gold-bright); font-size: 1rem; letter-spacing: 0.05em;
  margin-bottom: 8px; display: flex; align-items: center; gap: 10px;
}
.ptile__chip {
  font-family: var(--sans); font-style: normal; font-weight: 800;
  font-size: 0.58rem; letter-spacing: 0.12em;
  background: #3E70D8; color: #fff; padding: 2px 7px;
}
.ptile__title {
  color: #fff; font-weight: 700; letter-spacing: 0.06em;
  font-family: var(--serif-en); font-size: 1.5rem; line-height: 1.2;
}
.ptile__title span {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: 0.87rem; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82); margin-top: 6px;
}
.ptile__arrow {
  position: absolute; right: 26px; bottom: 26px;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55); color: #fff;
  font-size: 1.05rem; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
a.ptile:hover .ptile__arrow { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
@media (max-width: 1080px) {
  .gal__grid { grid-auto-rows: minmax(220px, 34vw); }
  .ptile--wide { grid-column: span 12; grid-row: span 1; }
  .ptile--tall { grid-column: span 6; grid-row: span 1; }
  .ptile { grid-column: span 6; }
}
@media (max-width: 620px) {
  .gal { padding-top: 90px; }
  .gal__grid { grid-auto-rows: minmax(240px, 64vw); gap: 4px; }
  .ptile, .ptile--wide, .ptile--tall { grid-column: span 12; grid-row: span 1; }
  .ptile__ov { padding: 22px 20px; }
}

/* ═══════════════════════════════════════════════════
   어워드급 업그레이드 v3 (2026-07-24 밤, 보드 §8 수렴)
   디스플레이=Paperlogy 8EB (히어로·대제목만) / 인용·철학=마루부리 유지
   ═══════════════════════════════════════════════════ */
@font-face {
  font-family: 'Paperlogy';
  font-weight: 800;
  src: url('/fonts/Paperlogy-8ExtraBold.woff2') format('woff2');
  font-display: swap;
}
:root { --display: 'Paperlogy', 'Pretendard Variable', sans-serif; }

/* ── 액션1: 히어로 오버사이즈 타입 + 진입 키네틱 ── */
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.7rem, 7.2vw, 6.6rem);
  line-height: 1.06; letter-spacing: -0.02em;
}
.hero__title em::after { bottom: 0.1em; height: 2px; }
.hero__title .reveal {
  letter-spacing: 0.05em; filter: blur(10px);
  transition: opacity 1s var(--ease), transform 1s var(--ease),
              letter-spacing 1.2s var(--ease), filter 0.9s var(--ease);
}
.hero__title .reveal.is-in { letter-spacing: -0.02em; filter: blur(0); }
.sec-title, .story__title { font-family: var(--display); font-weight: 800; letter-spacing: -0.015em; }
.sec-title { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.story__title { font-size: clamp(2rem, 4.2vw, 3.2rem); }
/* 인용문(철학 풀쿼트)은 마루부리 유지 — .story__pull 그대로 */

/* 히어로 영상 스크롤 슬로우 줌 */
@supports (animation-timeline: scroll()) {
  .hero__video {
    animation: heroZoom linear both;
    animation-timeline: scroll();
    animation-range: 0px 640px;
  }
  @keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.05); } }
}

/* ── 액션2: 모자이크 스크롤 오픈 + 포커스 링 ── */
@supports (animation-timeline: view()) {
  .gal__grid .ptile.reveal { opacity: 1; transform: none; transition: none; }
  .ptile {
    animation: tileOpen linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  @keyframes tileOpen {
    from { clip-path: inset(14% 5% 2% 5%); opacity: 0.3; }
    to   { clip-path: inset(0 0 0 0); opacity: 1; }
  }
}
a.ptile::after {
  content: ''; position: absolute; inset: 0; z-index: 3;
  border: 1px solid transparent; pointer-events: none;
  transition: border-color 0.35s;
}
a.ptile:hover::after, a.ptile:focus-visible::after { border-color: var(--gold); }
a.ptile:focus-visible { outline: none; }

/* ── 액션3: 철학 스토리 스티키 에디토리얼 (데스크탑만) ── */
@media (min-width: 861px) {
  .story__in { align-items: start; }
  .story__fig { position: sticky; top: 140px; }
  @supports (animation-timeline: view()) {
    .story__fig img {
      animation: figDrift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes figDrift { from { transform: scale(1.04); } to { transform: scale(1); } }
  }
}

/* ── 액션6: Future Horizon 리듬 ── */
.horizon__grid { counter-reset: hz; }
.horizon__grid li { counter-increment: hz; position: relative; overflow: hidden; }
.horizon__grid li::before {
  content: counter(hz, decimal-leading-zero);
  position: absolute; right: 16px; top: 10px;
  font-family: var(--serif-en); font-weight: 600; font-size: 3.6rem; line-height: 1;
  color: rgba(197, 160, 89, 0.13); pointer-events: none;
}
.horizon__grid li::after {
  content: ''; position: absolute; left: 0; top: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s var(--ease) 0.2s;
}
.horizon__grid li.is-in::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .hero__title .reveal { letter-spacing: -0.02em; filter: none; transition: none; }
  .hero__video, .ptile, .story__fig img { animation: none !important; }
  .horizon__grid li::after { transition: none; transform: scaleX(1); }
}
