/* Lucian Hayes — Music & Visual Stories
   네이비 · 아이보리 · 실버 */

:root {
  --navy-0: #01061a;
  --navy-1: #030b20;
  --navy-2: #061029;
  --navy-3: #0c1834;
  --navy-4: #15244a;
  --disc: #020a21;

  --ivory: #eae8e2;
  --ivory-hi: #f6f3ec;
  --paper: #ebe6dc;
  --paper-2: #e1dbcf;
  --ink: #0a1328;
  --ink-2: #384056;
  --ink-3: #6a7185;

  --silver: #c4cdd9;
  --silver-2: #97a1b3;
  --silver-3: #6b7589;

  --serif: "Cormorant Garamond", "Noto Serif KR", Georgia, serif;
  --serif-ko: "Noto Serif KR", "Cormorant Garamond", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --display: "Montserrat", "Pretendard Variable", sans-serif;
  --ui: "Outfit", "Pretendard Variable", sans-serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --header-h: 72px;

  /* 어두운 구역 기본값 */
  --fg: var(--ivory);
  --fg-2: var(--silver);
  --fg-3: var(--silver-2);
  --rule: rgba(196, 205, 217, .14);
  --rule-2: rgba(196, 205, 217, .28);
  color-scheme: dark;
}

/* 언어 전환: 선택하지 않은 언어는 숨김 */
/* 번역이 비어 있는 보조 문구(영어일 때 작은 부제목 등)는 숨김 */
[data-i18n]:empty { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--navy-1);
  color: var(--fg-2);
  font: 400 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
:lang(ja) { line-break: strict; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { list-style: none; padding: 0; }
em { font-style: italic; }
::selection { background: rgba(196, 205, 217, .3); color: var(--ivory-hi); }
:focus-visible { outline: 1px solid var(--silver); outline-offset: 4px; border-radius: 2px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ivory); color: var(--ink); border-radius: 999px; font: 500 13px var(--ui); }
.skip:focus { top: 16px; }

/* 필름 그레인 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ───────── 머리글 ───────── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(3, 11, 32, .72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--rule);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%;
  max-width: calc(var(--maxw) + 80px);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); }
.brand img { width: 32px; height: auto; }
.brand span { font: 600 11.5px/1 var(--display); letter-spacing: .34em; text-transform: uppercase; }

.nav { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav a {
  position: relative;
  font: 400 12.5px/1 var(--ui);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--silver-2);
  padding: 8px 0;
  transition: color .3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ivory); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__tools { display: flex; align-items: center; gap: 14px; }
/* 언어 선택 (투명한 select 를 알약 모양 위에 겹쳐 둠) */
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 13px 0 12px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  color: var(--silver);
  font: 500 11px/1 var(--ui);
  letter-spacing: .16em;
  transition: border-color .3s, color .3s, background .3s;
}
.lang:hover, .lang:focus-within { color: var(--ivory); border-color: rgba(234, 232, 226, .55); background: rgba(234, 232, 226, .05); }
.lang:focus-within { outline: 1px solid var(--silver); outline-offset: 3px; }
.lang svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1; }
.lang .lang__caret { width: 8px; height: 6px; stroke-width: 1.2; opacity: .7; }
.lang__code { min-width: 2.1em; padding-top: 1px; }
.lang select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
}
.lang option { color: var(--ink); background: var(--ivory); }

.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn i {
  position: absolute;
  left: 10px; right: 10px;
  height: 1px;
  background: var(--ivory);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-btn i:nth-of-type(1) { top: 16px; }
.menu-btn i:nth-of-type(2) { top: 23px; }
.menu-btn[aria-expanded="true"] i:nth-of-type(1) { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-of-type(2) { top: 20px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: radial-gradient(120% 80% at 50% 0%, var(--navy-3), var(--navy-0) 70%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font: 300 clamp(40px, 11vw, 64px)/1.25 var(--serif);
  color: var(--ivory);
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
}
.menu nav a em { font: italic 400 15px var(--serif); color: var(--silver-3); width: 24px; }
.menu__foot { margin-top: 40px; font: 400 12px var(--ui); letter-spacing: .24em; color: var(--silver-3); text-transform: uppercase; }

/* ───────── 첫 화면 ───────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 46%, #071331 0%, transparent 70%),
    linear-gradient(180deg, #040c22 0%, var(--navy-1) 55%, var(--navy-0) 100%);
  isolation: isolate;
}
.silk { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 50% 47%, rgba(2, 8, 26, .9) 0%, rgba(2, 8, 26, .55) 45%, transparent 75%),
    radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(1, 4, 14, .75) 100%);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 120px;
}

.mark {
  position: relative;
  width: clamp(168px, 20vw, 236px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, #08163a 0%, var(--disc) 64%);
  box-shadow:
    0 0 0 1px rgba(196, 205, 217, .07),
    0 40px 140px -30px rgba(130, 160, 220, .35),
    inset 0 -20px 50px rgba(0, 0, 0, .55);
  margin-bottom: clamp(32px, 5vh, 52px);
}
.mark::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(196, 205, 217, .09);
}
.mark__orbit {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(226, 232, 242, .0) 64%, rgba(226, 232, 242, .7) 84%, transparent 86% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  animation: spin 16s linear infinite;
}
.mark__img, .mark__sheen { width: 64%; aspect-ratio: 424 / 412; }
.mark__img { filter: drop-shadow(0 0 18px rgba(200, 215, 240, .18)); }
.mark__sheen {
  position: absolute;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%) 0 0 / 300% 100% no-repeat;
  -webkit-mask: url("../img/monogram.png") center / contain no-repeat;
  mask: url("../img/monogram.png") center / contain no-repeat;
  animation: sheen 9s var(--ease) 2.4s infinite;
  background-position: 120% 0;
  opacity: .8;
}

.wordmark {
  font: 500 clamp(46px, 8.6vw, 112px)/1 var(--display);
  letter-spacing: .005em;
  color: var(--ivory);
  background: linear-gradient(180deg, var(--ivory-hi) 35%, #b9c2cf 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: .08em;
}
.hero__tagline {
  margin-top: clamp(16px, 2.4vh, 26px);
  font: 300 clamp(18px, 2.1vw, 26px)/1.3 var(--ui);
  letter-spacing: .07em;
  color: var(--silver);
}
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(36px, 6vh, 56px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font: 500 12.5px/1 var(--ui);
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, transform .4s var(--ease);
}
.btn--solid { background: var(--ivory); color: var(--ink); }
.btn--solid:hover { background: #fff; transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--rule-2); color: var(--ivory); }
.btn--ghost:hover { background: rgba(234, 232, 226, .07); border-color: rgba(234, 232, 226, .5); }

.hero__foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px;
  padding: 0 var(--gutter) 32px;
  font: 400 11px/1 var(--ui);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--silver-3);
}
.hero__foot > :last-child { text-align: right; }
.scroll-cue { display: block; width: 1px; height: 64px; background: rgba(196, 205, 217, .16); position: relative; overflow: hidden; }
.scroll-cue i { position: absolute; left: 0; top: 0; width: 1px; height: 24px; background: var(--ivory); animation: drip 2.4s var(--ease) infinite; }

/* 첫 화면 등장 */
.js [data-in] { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.js .is-ready [data-in] {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 1.4s var(--ease), transform 1.6s var(--ease), filter 1.4s var(--ease);
}
.js .is-ready [data-in="1"] { transition-delay: .15s; }
.js .is-ready [data-in="2"] { transition-delay: .45s; }
.js .is-ready [data-in="3"] { transition-delay: .7s; }
.js .is-ready [data-in="4"] { transition-delay: .95s; }
.js .is-ready [data-in="5"] { transition-delay: 1.3s; }

/* ───────── 구역 공통 ───────── */
.section { position: relative; padding: clamp(104px, 14vw, 184px) 0; }
.light {
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --rule: rgba(10, 19, 40, .12);
  --rule-2: rgba(10, 19, 40, .24);
  background: var(--paper);
  color: var(--fg-2);
}
.light ::selection { background: rgba(10, 19, 40, .14); color: var(--ink); }
.light :focus-visible { outline-color: var(--ink); }

.sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 11.5px/1 var(--ui);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.sec-head em { font: italic 400 17px/1 var(--serif); letter-spacing: 0; color: var(--fg-2); }
.sec-head::after { content: ""; flex: 0 0 56px; height: 1px; background: var(--rule-2); }
.sec-head--center { justify-content: center; }
.sec-head--center::before { content: ""; flex: 0 0 56px; height: 1px; background: var(--rule-2); }

.sec-intro { margin-bottom: clamp(56px, 7vw, 96px); }
.sec-intro--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

.title {
  margin-top: 28px;
  font: 300 clamp(38px, 5.4vw, 72px)/1.08 var(--serif);
  letter-spacing: -.012em;
  color: var(--fg);
}
.title em { color: var(--fg-3); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 400 13px/1 var(--ui);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule-2);
  transition: color .3s, border-color .3s;
}
.link-arrow::after { content: "↗"; font-size: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--fg); border-color: currentColor; }
.link-arrow:hover::after { transform: translate(3px, -3px); }

/* 스크롤 등장 */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ───────── 01 소개 ───────── */
.statement {
  margin-top: clamp(40px, 6vw, 72px);
  max-width: 17em;
  font: 300 clamp(38px, 6vw, 84px)/1.08 var(--serif);
  letter-spacing: -.018em;
  color: var(--ink);
}
.statement em { font-style: italic; color: #4a5470; }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 128px);
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--rule);
}
.about__text p { font-size: 16.5px; color: var(--ink-2); max-width: 36em; }
.about__text p + p { margin-top: 1.2em; }
.about__text .lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.8; color: var(--ink); }

.facts { display: grid; gap: 0; align-self: start; }
.facts > div { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.facts > div:first-child { padding-top: 0; }
.facts dt { font: 500 11px/1.6 var(--ui); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { font: 400 clamp(20px, 2vw, 24px)/1.3 var(--serif); color: var(--ink); }

/* ───────── 원칙 ───────── */
.principles { background: linear-gradient(180deg, var(--navy-1) 0%, var(--navy-2) 55%, var(--navy-0) 100%); }
.plist { counter-reset: p; border-bottom: 1px solid var(--rule); }
.plist li {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px clamp(24px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--rule);
}
.plist li::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--ivory), rgba(196, 205, 217, .2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.plist li:hover::before { transform: scaleX(1); }
.plist__no { font: italic 400 18px/1 var(--serif); color: var(--silver-3); }
.plist__title span {
  display: block;
  font: 300 clamp(28px, 3.4vw, 46px)/1.1 var(--serif);
  color: var(--ivory);
  transition: transform .8s var(--ease), color .4s;
}
.plist li:hover .plist__title span { transform: translateX(10px); color: #fff; }
.plist__title small, .steps h3 small, .styles small {
  display: block;
  margin-top: 10px;
  font: 400 13px/1.4 var(--sans);
  letter-spacing: .14em;
  color: var(--fg-3);
}
.plist__desc { font-size: 16px; line-height: 1.8; color: var(--silver); max-width: 30em; }

/* ───────── 02 작품 ───────── */
.works { background: var(--navy-0); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(16px, 2.4vw, 32px);
}
.work-grid.has-feature .work:first-child { grid-column: span 2; grid-row: span 2; }
.work { display: flex; flex-direction: column; }
.work__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy-3);
  isolation: isolate;
}
.work--vertical .work__media { aspect-ratio: 9 / 16; }
.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease), filter .8s var(--ease);
  filter: saturate(.9) brightness(.92);
}
.work__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(1, 6, 26, .55));
  pointer-events: none;
}
.work:hover .work__media img { transform: scale(1.07); filter: saturate(1) brightness(1); }
.work__play {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(2, 10, 33, .35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .6s var(--ease), background .4s;
}
.work__play::before {
  content: "";
  position: absolute;
  left: 26px; top: 21px;
  border-style: solid;
  border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent var(--ivory);
}
.work:hover .work__play { transform: scale(1.08); background: rgba(234, 232, 226, .16); }

.work__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font: 400 11px/1 var(--ui);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--silver-3);
}
.work__title { margin-top: 12px; font: 400 clamp(24px, 2.2vw, 30px)/1.15 var(--serif); color: var(--ivory); }
.work-grid.has-feature .work:first-child .work__title { font-size: clamp(30px, 3.2vw, 44px); }
.work__note { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--silver-2); }


/* 영상 재생 창 */
.player {
  width: min(1200px, 92vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.player.is-vertical { width: min(420px, 92vw); }
.player::backdrop { background: rgba(1, 4, 14, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.player.is-vertical .player__frame { aspect-ratio: 9 / 16; max-height: 86vh; margin: 0 auto; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__close {
  position: absolute;
  right: 0; top: -52px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule-2);
  color: var(--ivory);
  font: 300 24px/1 var(--ui);
}
.player__close:hover { background: rgba(255, 255, 255, .08); }
.player[open] { animation: rise .6s var(--ease); }

/* ───────── 03 제작 과정 ───────── */
.process { background: linear-gradient(180deg, var(--navy-0), var(--navy-2)); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 205, 217, .5), rgba(196, 205, 217, .08));
}
.steps li { position: relative; padding-top: 44px; }
.steps li::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--navy-1);
  border: 1px solid var(--silver);
  box-shadow: 0 0 0 4px var(--navy-1);
}
.steps li:hover::before { background: var(--ivory); }
.steps__no { display: block; font: italic 400 16px/1 var(--serif); color: var(--silver-3); }
.steps h3 { margin-top: 14px; }
.steps h3 span { font: 300 clamp(30px, 2.8vw, 40px)/1 var(--serif); color: var(--ivory); }
.steps h3 small { margin-top: 10px; }
.steps p { margin-top: 18px; font-size: 15px; line-height: 1.75; color: var(--silver-2); }


/* ───────── 04 아이덴티티 ───────── */
.identity__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: center;
}
.identity { overflow: hidden; } /* 회전하는 고리가 화면 밖으로 넓어지지 않게 */
.identity__visual { display: grid; place-items: center; }
.disc {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, #0b1c47 0%, var(--disc) 62%);
  box-shadow: 0 60px 120px -40px rgba(2, 10, 33, .55), 0 20px 40px -20px rgba(2, 10, 33, .4);
}
.disc img { width: 60%; }
.disc__ring {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(10, 19, 40, .14);
}
.disc__ring::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, transparent 0 70%, rgba(10, 19, 40, .55) 88%, transparent 90%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  animation: spin 22s linear infinite;
}


.styles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 44px;
  border-top: 1px solid var(--rule);
}
.styles li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.styles li:nth-child(odd) { padding-right: 16px; }
.styles span { font: 400 clamp(24px, 2.4vw, 30px)/1.1 var(--serif); color: var(--ink); }
.styles small { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }

/* ───────── 05 팔로우 ───────── */
.follow {
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(70% 70% at 50% 50%, #08163a, var(--navy-0) 75%);
  text-align: center;
}
.silk--soft { opacity: .7; }
.follow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(45% 55% at 50% 50%, rgba(1, 6, 26, .85), transparent 80%);
}
.follow__inner { display: flex; flex-direction: column; align-items: center; }
.follow__handle { margin-top: 36px; }
.copy {
  position: relative;
  font: italic 300 clamp(40px, 8.4vw, 124px)/1.05 var(--serif);
  letter-spacing: -.02em;
  background: linear-gradient(100deg, #f6f3ec 0%, #aeb7c6 38%, #f2f3f6 55%, #8d97a9 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.6s var(--ease);
  padding: 0 .08em .1em;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.copy:hover { background-position: 100% 0; }
.follow__copy { margin-top: 24px; max-width: 32em; font-size: clamp(16px, 1.4vw, 18px); color: var(--silver); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  font: 400 13px/1 var(--ui);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver);
  background: rgba(3, 11, 32, .4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: color .3s, background .4s var(--ease), border-color .3s;
}
.socials a::after { content: "↗"; font-size: 13px; opacity: .6; transition: transform .4s var(--ease); }
.socials a:hover { color: var(--ink); background: var(--ivory); border-color: var(--ivory); }
.socials a:hover::after { transform: translate(2px, -2px); opacity: 1; }

/* ───────── 바닥글 ───────── */
.footer { background: var(--navy-0); border-top: 1px solid var(--rule); padding: 44px 0 48px; }
.footer__inner {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 24px 40px;
  font-size: 13px;
  color: var(--silver-3);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 40px; }
.footer__brand strong { display: block; font: 600 11px/1.4 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--ivory); }
.footer__brand span { font: 300 13px/1.4 var(--ui); letter-spacing: .04em; color: var(--silver-2); }
.footer__copy { font: 400 12px var(--ui); letter-spacing: .12em; display: flex; gap: 20px; }
.to-top { color: var(--silver-2); transition: color .3s; }
.to-top:hover { color: var(--ivory); }

/* 알림 */
.toast {
  position: fixed;
  left: 50%; bottom: 32px;
  z-index: 80;
  transform: translate(-50%, 20px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--ink);
  font: 500 13px/1 var(--sans);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ───────── 애니메이션 ───────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sheen { 0% { background-position: 120% 0; } 45%, 100% { background-position: -20% 0; } }
@keyframes drip { 0% { transform: translateY(-24px); } 100% { transform: translateY(64px); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ───────── 언어별 글꼴 ─────────
   영어·스페인어·포르투갈어·인도네시아어는 기본(라틴) 글꼴 그대로,
   한국어·일본어·힌디어는 제목 글꼴과 크기·자간을 따로 맞춤 */
:root[data-lang="ko"] { --serif-local: "Noto Serif KR"; }
:root[data-lang="ja"] { --serif-local: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho"; }
:root[data-lang="hi"] { --serif-local: "Noto Serif Devanagari", "Kohinoor Devanagari"; }

:root[data-lang="ja"] body { font-family: "Pretendard Variable", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif; }
:root[data-lang="hi"] body { font-family: "Pretendard Variable", "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", system-ui, sans-serif; }

:root:is([data-lang="ko"], [data-lang="ja"], [data-lang="hi"]) :is(.title, .statement) { font-family: var(--serif-local), var(--serif); }
:root:is([data-lang="ko"], [data-lang="ja"]) .title { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.3; letter-spacing: -.03em; }
:root:is([data-lang="ko"], [data-lang="ja"]) .statement { max-width: 16em; font-size: clamp(27px, 4.2vw, 59px); line-height: 1.38; letter-spacing: -.035em; }
:root[data-lang="hi"] .title { font-size: clamp(28px, 3.8vw, 50px); line-height: 1.45; letter-spacing: 0; }
:root[data-lang="hi"] .statement { max-width: 18em; font-size: clamp(26px, 3.8vw, 52px); line-height: 1.5; letter-spacing: 0; }
:root:is([data-lang="ko"], [data-lang="ja"], [data-lang="hi"]) :is(.title, .statement) em {
  font-style: normal;
  color: inherit;
  background: linear-gradient(transparent 76%, rgba(120, 134, 160, .3) 76%, rgba(120, 134, 160, .3) 90%, transparent 90%);
}

:root:is([data-lang="ko"], [data-lang="ja"], [data-lang="hi"]) :is(.btn, .link-arrow) [data-i18n] { letter-spacing: .06em; font-family: var(--sans); font-size: 13.5px; }
:root:is([data-lang="ja"]) :is(.btn, .link-arrow) [data-i18n] { font-family: "Pretendard Variable", "Hiragino Sans", "Yu Gothic", sans-serif; }
:root:is([data-lang="ko"], [data-lang="ja"]) .hero__foot [data-i18n] { letter-spacing: .2em; }
:root:is([data-lang="ko"], [data-lang="ja"], [data-lang="hi"]) .facts dt { letter-spacing: .12em; font-family: inherit; font-size: 12px; }
:root:is([data-lang="ko"], [data-lang="ja"], [data-lang="hi"]) .facts dd[data-i18n] { font-family: inherit; font-size: 16px; line-height: 1.5; }

/* 힌디어(데바나가리)는 자간을 넣으면 글자가 깨지므로 0 */
:root[data-lang="hi"] :is([data-i18n], [data-i18n] *, .loc) { letter-spacing: 0 !important; }

/* ───────── 반응형 ───────── */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before { display: none; }
  .steps li { border-top: 1px solid var(--rule); padding-top: 32px; }
  .steps li::before { top: -7px; }
}

@media (max-width: 880px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .about__grid, .identity__grid { grid-template-columns: 1fr; }
  .identity__visual { order: -1; }
  .disc { width: min(72vw, 360px); }
  .plist li { grid-template-columns: 44px minmax(0, 1fr); }
  .plist__desc { grid-column: 2; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid.has-feature .work:first-child { grid-column: 1 / -1; grid-row: auto; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 600px) {
  .brand span { display: none; }
  .hero__veil {
    background:
      radial-gradient(90% 34% at 50% 52%, rgba(2, 8, 26, .88) 0%, rgba(2, 8, 26, .5) 55%, transparent 85%),
      radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(1, 4, 14, .75) 100%);
  }
  .hero__foot { grid-template-columns: 1fr auto; }
  .hero__foot > :first-child { display: none; }
  .hero__foot .scroll-cue { order: -1; }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { padding: 28px 0 32px 40px; }
  .steps li::before { left: 0; top: 34px; }
  .steps li { border-top: 0; border-left: 1px solid var(--rule); margin-left: 6px; }
  .steps li::before { left: -7px; }
  .steps h3 { margin-top: 10px; }
  .styles { grid-template-columns: 1fr; }
  .styles li:nth-child(odd) { padding-right: 0; }
  .facts > div { grid-template-columns: 104px 1fr; }
  .sec-head::after, .sec-head--center::before { flex-basis: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js [data-in], .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
