/* ==========================================================================
   WAVEON — Corporate Website
   Deep navy, warm ivory and a single brass accent. Hairlines instead of shadows.
   ========================================================================== */

:root {
  --dark: #0b1422;
  --dark-2: #101b2d;
  --dark-3: #17243a;
  --navy: #385383;       /* logo: WAVE */
  --sky: #5b95c3;        /* logo: ON */

  --gold: #c9b083;       /* on dark */
  --gold-ink: #80663a;   /* on light */

  --ink: #111a29;
  --ink-2: #3f4856;
  --ink-3: #6a7180;
  --line: #ddd8cc;
  --paper: #faf8f3;
  --bg-soft: #f1ede4;

  --d-text: rgba(255, 255, 255, .9);
  --d-dim: rgba(255, 255, 255, .6);
  --d-line: rgba(255, 255, 255, .13);
  --d-card: rgba(255, 255, 255, .02);

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

  --radius: 2px;
  --container: 1280px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { stroke-width: 1.25; }
::selection { background: var(--navy); color: #fff; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; background: var(--dark); color: #fff;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.grad-text { font-style: italic; color: var(--gold); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: height .5s var(--ease), background-color .5s, border-color .5s;
}
.header__bar {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; margin: 0 auto; max-width: var(--container);
}
.header.is-scrolled,
.header.is-open { height: 68px; background: var(--dark); border-bottom-color: var(--d-line); }

.logo img { height: 20px; width: auto; filter: brightness(0) invert(1); }

.gnb { display: flex; align-items: center; gap: 12px; }
.gnb > li { position: relative; }
.gnb > li > a {
  position: relative; display: block; padding: 10px 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em;
  color: rgba(255, 255, 255, .72); transition: color .3s;
}
.gnb > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.gnb > li > a:hover { color: #fff; }
.gnb > li > a:hover::after,
.gnb > li > a.is-active::after { transform: scaleX(1); }
.gnb > li > a.is-active { color: #fff; }
.gnb .btn-contact {
  margin-left: 16px; padding: 10px 22px;
  color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.gnb .btn-contact:hover,
.gnb .btn-contact.is-active { background: var(--gold); color: var(--dark) !important; box-shadow: inset 0 0 0 1px var(--gold); }
.gnb .btn-contact::after { display: none; }

.sub-menu {
  position: absolute; left: 50%; top: calc(100% + 14px);
  min-width: 170px; padding: 10px 0;
  background: var(--dark); box-shadow: inset 0 0 0 1px var(--d-line);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.gnb > li:hover .sub-menu,
.gnb > li:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-menu a {
  display: block; padding: 9px 22px;
  font-size: 14px; color: rgba(255, 255, 255, .68); white-space: nowrap; transition: color .2s;
}
.sub-menu a:hover { color: var(--gold); }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span {
  position: absolute; left: 11px; width: 22px; height: 1px; background: #fff;
  transition: transform .4s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.header.is-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.header.is-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons / common
   -------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 32px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; letter-spacing: .04em;
  transition: background-color .4s, box-shadow .4s, color .4s;
}
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(6px); }
.btn--primary { background: var(--gold); color: var(--dark); }
.btn--primary:hover { background: #dac59f; }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-3); }
.btn--white { background: var(--paper); color: var(--dark); }
.btn--white:hover { background: var(--gold); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--ink);
  border-bottom: 1px solid currentColor;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }
.section--dark .link-arrow { color: var(--gold); }

.section { position: relative; padding: 160px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: var(--d-text); overflow: hidden; isolation: isolate; }
.page-hero + .section--dark { border-top: 1px solid var(--d-line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--gold); }

.section-head { position: relative; margin-bottom: 88px; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-title {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 50px); line-height: 1.4; font-weight: 300; letter-spacing: -.025em;
}
.section-desc { margin-top: 24px; font-size: 16px; color: var(--ink-3); max-width: 640px; }
.section-head--center .section-desc { margin-left: auto; margin-right: auto; }
.section--dark .section-desc { color: var(--d-dim); }

/* spotlight card (mouse-follow glow) */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(460px circle at var(--x, 50%) var(--y, 50%), rgba(201, 176, 131, .08), transparent 60%);
  opacity: 0; transition: opacity .6s;
}
.spot:hover::before { opacity: 1; }

/* Wave lines (drawn by main.js) */
.waves { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 65%); mask-image: linear-gradient(90deg, transparent 10%, #000 65%); }

/* --------------------------------------------------------------------------
   Hero (main)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--dark); color: #fff; overflow: hidden; isolation: isolate;
}
.hero .container { position: relative; padding-top: calc(var(--header-h) + 48px); padding-bottom: 0; }
.hero__kicker {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .68);
}
.hero__kicker b { font-weight: 500; color: var(--gold); }
.hero__kicker b::after { content: ""; display: inline-block; width: 32px; height: 1px; margin-left: 16px; vertical-align: middle; background: var(--gold); }
.hero__title {
  margin-top: 32px;
  font-family: var(--display);
  font-size: clamp(60px, 10.4vw, 164px); line-height: 1; font-weight: 300; letter-spacing: -.025em;
}
.hero__rotator { display: block; height: 1.18em; overflow: hidden; position: relative; }
.hero__rotator span {
  position: absolute; left: 0; right: 0; top: 0; white-space: nowrap;
  transform: translateY(105%); opacity: 0;
  transition: transform 1.4s var(--ease), opacity 1.4s var(--ease);
}
.hero__rotator span.is-active { transform: translateY(0); opacity: 1; }
.hero__rotator span.is-leaving { transform: translateY(-105%); opacity: 0; }
.no-js .hero__rotator span:first-child { transform: none; opacity: 1; }
.hero__desc { margin-top: 28px; max-width: 620px; font-size: clamp(15px, 1.3vw, 17px); color: var(--d-dim); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  position: relative; margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--d-line);
}
.hero-stats > div { padding: 28px 28px 36px; }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div + div { border-left: 1px solid var(--d-line); }
.hero-stats strong { display: block; font-family: var(--display); font-size: clamp(36px, 3.6vw, 52px); line-height: 1.1; font-weight: 300; font-variant-numeric: lining-nums; }
.hero-stats strong small { font-family: var(--serif); font-size: .36em; margin-left: 4px; color: var(--d-dim); font-weight: 300; }
.hero-stats > div > span { display: block; margin-top: 6px; font-size: 13px; color: var(--d-dim); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { position: relative; overflow: hidden; padding: 24px 0; background: var(--dark); border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); }
.marquee__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 40px; padding-right: 40px;
  font-family: var(--display); font-size: 22px; font-style: italic; font-weight: 300; white-space: nowrap;
  color: rgba(255, 255, 255, .62);
}
.marquee__track span::after { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .7; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 160px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--dark), transparent); }

/* --------------------------------------------------------------------------
   Statement (word highlight on scroll)
   -------------------------------------------------------------------------- */
.statement { padding: 200px 0 180px; }
.statement__text {
  max-width: 1100px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 46px); line-height: 1.65; font-weight: 300; letter-spacing: -.025em;
}
.statement__text em { font-style: normal; color: var(--gold); }
.statement__text .w { color: rgba(255, 255, 255, .16); transition: color .6s; }
.statement__text .w.on { color: #fff; }
.statement__text .w.hl.on { color: var(--gold); }
.no-js .statement__text .w { color: #fff; }
.statement__foot { margin-top: 72px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.statement__foot p { color: var(--d-dim); max-width: 520px; }

/* --------------------------------------------------------------------------
   Bento (capabilities) — a ruled grid
   -------------------------------------------------------------------------- */
.bento {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(280px, auto); gap: 1px;
  background: var(--d-line); box-shadow: 0 0 0 1px var(--d-line);
}
.bento__item {
  position: relative; overflow: hidden;
  padding: 40px; background: var(--dark);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background-color .6s;
}
.bento__item:hover { background: var(--dark-2); }
.bento__item--a { grid-column: span 7; grid-row: span 2; }
.bento__item--b { grid-column: span 5; }
.bento__item--c { grid-column: span 5; }
.bento__item--d { grid-column: span 6; }
.bento__item--e { grid-column: span 6; }
.bento__head { display: flex; justify-content: space-between; align-items: flex-start; }
.bento__num { font-family: var(--display); font-size: 16px; font-style: italic; color: var(--gold); font-variant-numeric: lining-nums; }
.bento__icon { color: rgba(255, 255, 255, .78); }
.bento__icon svg { width: 34px; height: 34px; }
.bento__item h3 { margin-top: 28px; font-family: var(--display); font-size: 30px; line-height: 1.2; font-weight: 400; color: #fff; }
.bento__item h3 small { display: block; margin-top: 10px; font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--gold); }
.bento__item p { margin-top: 12px; font-size: 15px; color: var(--d-dim); max-width: 440px; }
.bento__item--a { padding: 0; justify-content: flex-end; }
.bento__media { position: absolute; inset: 0; z-index: -2; }
.bento__media img { width: 100%; height: 100%; object-fit: cover; opacity: .62; filter: saturate(.55); transform: scale(1.35); transform-origin: 100% 100%; transition: transform 2s var(--ease), opacity .8s; }
.bento__item--a:hover .bento__media img { transform: scale(1.4); opacity: .72; }
.bento__item--a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 20, 34, .15), rgba(11, 20, 34, .96) 78%); }
.bento__body { padding: 48px; }
.bento__item--a h3 { font-size: clamp(34px, 3.6vw, 50px); font-weight: 300; }
.bento__tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.bento__tags span { font-size: 13px; color: rgba(255, 255, 255, .78); }
.bento__tags span + span { position: relative; }
.bento__tags span + span::before { content: ""; position: absolute; left: -14px; top: 50%; width: 1px; height: 11px; margin-top: -5px; background: rgba(255, 255, 255, .3); }
.bento__devices { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.bento__devices span { position: relative; font-size: 14px; color: var(--d-dim); }
.bento__devices span + span::before { content: ""; position: absolute; left: -14px; top: 50%; width: 1px; height: 11px; margin-top: -5px; background: rgba(255, 255, 255, .3); }

/* --------------------------------------------------------------------------
   Services (sticky stack)
   -------------------------------------------------------------------------- */
.stack { display: grid; gap: 40px; }
.stack-card {
  position: sticky; top: calc(100px + var(--i, 0) * 24px);
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch;
  min-height: 480px; overflow: hidden;
  background: var(--paper); box-shadow: 0 0 0 1px var(--line);
}
.stack-card__body { padding: 56px; display: flex; flex-direction: column; }
.stack-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.stack-card__num { font-family: var(--display); font-size: 18px; font-style: italic; color: var(--gold-ink); font-variant-numeric: lining-nums; }
.stack-card__tag { font-size: 13px; color: var(--ink-3); }
.stack-card h3 { margin-top: auto; padding-top: 40px; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.3; font-weight: 300; letter-spacing: -.025em; }
.stack-card h3 small { display: block; margin-bottom: 14px; font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--gold-ink); }
.stack-card p { margin-top: 20px; color: var(--ink-2); font-size: 15px; }
.stack-card__media { position: relative; background: var(--bg-soft); border-left: 1px solid var(--line); }
.stack-card__media img { position: absolute; inset: 48px; width: calc(100% - 96px); height: calc(100% - 96px); object-fit: contain; }
.stack-card__media--contain img, .biz-item__media--contain img { mix-blend-mode: multiply; filter: brightness(1.08); }

/* --------------------------------------------------------------------------
   IP / patents
   -------------------------------------------------------------------------- */
.ip { display: grid; grid-template-columns: 1fr 1.3fr; gap: 96px; align-items: start; }
.ip__aside { position: sticky; top: 130px; }
.ip__big { margin-top: 48px; display: flex; align-items: baseline; gap: 14px; }
.ip__big strong { font-family: var(--display); font-size: clamp(96px, 11vw, 160px); line-height: .85; font-weight: 300; font-style: normal; font-variant-numeric: lining-nums; }
.ip__big > span { font-size: 15px; color: var(--d-dim); }
.ip__aside .link-arrow { margin-top: 48px; }
.ip__list li { border-top: 1px solid var(--d-line); }
.ip__list li:last-child { border-bottom: 1px solid var(--d-line); }
.ip__list a {
  display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; gap: 16px;
  padding: 28px 0; transition: padding .6s var(--ease);
}
.ip__list a:hover { padding-left: 12px; }
.ip__list em { font-family: var(--display); font-size: 18px; color: var(--gold); font-variant-numeric: lining-nums; }
.ip__list span { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.ip__list svg { width: 20px; height: 20px; color: var(--d-dim); transition: transform .5s var(--ease), color .3s; }
.ip__list a:hover svg { transform: translateX(4px); color: var(--gold); }

/* --------------------------------------------------------------------------
   Milestones (horizontal)
   -------------------------------------------------------------------------- */
.milestones { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--ink); }
.ms { position: relative; padding: 28px 24px 0 0; }
.ms__year { font-family: var(--display); font-size: 40px; font-weight: 300; line-height: 1; font-variant-numeric: lining-nums; }
.ms__dot { position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.ms:first-child .ms__dot { background: var(--gold-ink); }
.ms p { margin-top: 20px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.ms p + p { margin-top: 8px; }

.partners { margin-top: 112px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 40px; }
.partners > p { flex-shrink: 0; font-size: 11px; font-weight: 500; letter-spacing: .28em; color: var(--ink-3); }
.partners__wrap { position: relative; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partners .marquee__track { animation-duration: 60s; }
.partners .marquee__track span { padding-right: 72px; font-family: var(--serif); font-size: 16px; font-style: normal; color: var(--ink-3); }
.partners .marquee__track span::after { display: none; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding: 180px 0; border-top: 1px solid var(--d-line); background: var(--dark); color: #fff; text-align: center; isolation: isolate; }
.cta-band h2 { font-family: var(--display); font-size: clamp(48px, 7vw, 104px); line-height: 1.05; font-weight: 300; letter-spacing: -.02em; }
.cta-band p { margin-top: 28px; font-size: 16px; color: var(--d-dim); }
.cta-band .btn { margin-top: 48px; }

/* --------------------------------------------------------------------------
   Sub page hero / tabs
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 130px) 0 96px;
  background: var(--dark); color: #fff;
}
.page-hero .container { position: relative; }
.page-hero__label { font-size: 11px; font-weight: 500; letter-spacing: .28em; color: var(--gold); }
.page-hero__title { margin-top: 24px; font-family: var(--display); font-size: clamp(50px, 7.6vw, 112px); font-weight: 300; letter-spacing: -.025em; line-height: 1.04; }
.page-hero__desc { margin-top: 32px; font-size: 16px; color: var(--d-dim); max-width: 620px; }
.breadcrumb { position: absolute; right: 40px; bottom: 6px; display: flex; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: #fff; }

.tabs { position: sticky; top: 68px; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.tabs ul { display: flex; gap: 40px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { display: block; padding: 20px 0; font-size: 14px; color: var(--ink-3); white-space: nowrap; box-shadow: inset 0 -1px 0 transparent; transition: color .3s, box-shadow .3s; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { color: var(--ink); font-weight: 500; box-shadow: inset 0 -1px 0 var(--ink); }

/* --------------------------------------------------------------------------
   About: greeting & strengths
   -------------------------------------------------------------------------- */
.greeting { display: grid; grid-template-columns: 1.15fr 1fr; gap: 112px; align-items: center; }
.greeting__title { margin-top: 28px; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.65; font-weight: 300; letter-spacing: -.025em; }
.greeting__title em { font-style: normal; color: var(--gold-ink); }
.greeting__text p { margin-top: 20px; color: var(--ink-2); font-size: 16px; }
.greeting__text p:first-of-type { margin-top: 40px; }
.greeting__media { position: relative; }
.greeting__media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 50%; width: 100%; filter: saturate(.75); }

.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--d-line); box-shadow: 0 0 0 1px var(--d-line); }
.strength { padding: 44px 40px 48px; background: var(--dark); transition: background-color .6s; }
.strength:hover { background: var(--dark-2); }
.strength__num { font-family: var(--display); font-size: 18px; font-style: italic; color: var(--gold); font-variant-numeric: lining-nums; }
.strength h3 { margin-top: 56px; font-family: var(--serif); font-size: 20px; font-weight: 400; color: #fff; letter-spacing: -.02em; }
.strength p { margin-top: 12px; font-size: 14px; color: var(--d-dim); }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.card { padding: 40px 32px 44px; background: var(--paper); transition: background-color .5s; }
.card:hover { background: #fff; }
.card__icon { color: var(--navy); }
.card__icon svg { width: 34px; height: 34px; }
.card h3 { margin-top: 56px; font-family: var(--display); font-size: 25px; font-weight: 400; line-height: 1.2; }
.card p { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Vision / Mission
   -------------------------------------------------------------------------- */
.vision-statement { text-align: center; margin-bottom: 96px; }
.vision-statement p { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 38px); line-height: 1.7; font-weight: 300; letter-spacing: -.025em; }
.vision-statement p em { font-style: normal; color: var(--gold-ink); }

.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.value { position: relative; padding: 44px 24px; text-align: center; background: var(--paper); transition: background-color .5s; }
.value:hover { background: #fff; }
.value__icon { margin-bottom: 28px; color: var(--navy); }
.value__icon svg { width: 36px; height: 36px; margin: 0 auto; display: block; }
.value h3 { font-family: var(--serif); font-size: 15px; font-weight: 400; line-height: 1.7; }

.mission-wrap { display: grid; grid-template-columns: 1fr 280px 1fr; gap: 56px; align-items: center; }
.mission-col { display: grid; gap: 1px; background: var(--d-line); box-shadow: 0 0 0 1px var(--d-line); }
.mission-core {
  position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  padding: 36px; color: #fff; font-family: var(--serif); font-size: 17px; font-weight: 300; line-height: 1.8;
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 16px var(--dark), 0 0 0 17px rgba(201, 176, 131, .35), 0 0 0 32px var(--dark), 0 0 0 33px rgba(201, 176, 131, .15);
}
.mission-card { padding: 36px; background: var(--dark); }
.mission-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 400; color: #fff; }
.check-list { margin-top: 18px; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 1px; background: var(--gold-ink); }
.section--dark .check-list li { color: var(--d-dim); }
.section--dark .check-list li::before { background: var(--gold); }

/* --------------------------------------------------------------------------
   History timeline
   -------------------------------------------------------------------------- */
.tl-item { position: relative; display: grid; grid-template-columns: 320px 1fr; padding: 56px 0; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year { position: sticky; top: 170px; align-self: start; font-family: var(--display); font-size: clamp(56px, 6.4vw, 88px); line-height: .9; font-weight: 300; font-variant-numeric: lining-nums; color: var(--ink); }
.tl-body { display: grid; gap: 4px; }
.tl-body > li { position: relative; padding: 10px 0 10px 28px; font-size: 16px; color: var(--ink-2); }
.tl-body > li::before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 1px; background: var(--gold-ink); }
.tl-body li strong { color: var(--ink); font-weight: 500; }
.tl-body li ul { margin-top: 8px; display: grid; gap: 4px; }
.tl-body li ul li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-3); }
.tl-body li ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 1px; background: var(--ink-3); }

/* --------------------------------------------------------------------------
   Certificates
   -------------------------------------------------------------------------- */
.cert-group + .cert-group { margin-top: 112px; }
.cert-group__title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 24px; font-weight: 300; letter-spacing: -.02em; }
.cert-group__title span { font-family: var(--display); font-size: 22px; font-style: italic; color: var(--gold-ink); font-variant-numeric: lining-nums; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-grid--wide { grid-template-columns: repeat(3, 1fr); }
.cert { display: flex; flex-direction: column; text-align: left; width: 100%; }
.cert__img { position: relative; padding: 28px; background: var(--bg-soft); display: grid; place-items: center; aspect-ratio: 4 / 3.6; transition: background-color .5s; }
.cert-grid--wide .cert__img { aspect-ratio: 16 / 9; }
.cert__img img { position: absolute; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; filter: drop-shadow(0 6px 14px rgba(17, 26, 41, .14)); transition: transform .8s var(--ease); }
.cert:hover .cert__img { background: #e9e3d6; }
.cert:hover .cert__img img { transform: scale(1.03); }
.cert__body { display: block; padding: 18px 0 8px; }
.cert__body small { font-size: 11px; font-weight: 500; color: var(--gold-ink); letter-spacing: .14em; }
.cert__body strong { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--ink); }

.lightbox {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 40px;
  background: rgba(11, 20, 34, .94);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 900px; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; background: #fff; }
.lightbox figcaption { margin-top: 16px; color: #fff; font-size: 14px; }
.lightbox__close {
  position: absolute; right: 24px; top: 24px; width: 48px; height: 48px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; font-size: 26px; font-weight: 300; line-height: 48px;
}
.lightbox__close:hover { box-shadow: inset 0 0 0 1px #fff; }

/* --------------------------------------------------------------------------
   Business detail
   -------------------------------------------------------------------------- */
.biz-detail { display: grid; gap: 120px; }
.biz-item { display: grid; grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: center; }
.biz-item:nth-child(even) .biz-item__media { order: 2; }
.biz-item__media { position: relative; padding: 44px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.biz-item__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: contain; }
.biz-item__num { font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 300; font-style: italic; color: var(--gold-ink); font-variant-numeric: lining-nums; }
.biz-item__cat { margin-top: 24px; font-size: 13px; color: var(--ink-3); }
.biz-item h3 { margin-top: 10px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.5; font-weight: 300; letter-spacing: -.025em; }
.biz-item p:not(.biz-item__cat) { margin-top: 24px; color: var(--ink-2); font-size: 15px; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 88px; }
.split-head > p { color: var(--ink-2); font-size: 16px; }
.section--dark .split-head > p { color: var(--d-dim); }

.org { position: relative; display: grid; grid-template-columns: 1fr 200px 1fr; gap: 56px; align-items: center; }
.org-col { display: grid; gap: 1px; background: var(--d-line); box-shadow: 0 0 0 1px var(--d-line); }
.org-ceo {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-family: var(--display); font-size: 30px; font-weight: 300; letter-spacing: .12em;
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 16px var(--dark), 0 0 0 17px rgba(201, 176, 131, .35), 0 0 0 32px var(--dark), 0 0 0 33px rgba(201, 176, 131, .15);
}
.org-card { padding: 36px; background: var(--dark); }
.org-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 400; color: #fff; }
.org-card .check-list { grid-template-columns: 1fr 1fr; column-gap: 12px; }

.welfare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.welfare { padding: 40px 32px 44px; background: var(--paper); transition: background-color .5s; }
.welfare:hover { background: #fff; }
.welfare__icon { color: var(--navy); }
.welfare__icon svg { width: 34px; height: 34px; }
.welfare h3 { margin-top: 48px; font-family: var(--serif); font-size: 19px; font-weight: 400; letter-spacing: -.02em; }
.welfare h3 small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--gold-ink); letter-spacing: 0; }
.welfare p { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: stretch; }
.contact-list { display: grid; align-content: start; }
.contact-item { display: flex; gap: 24px; align-items: flex-start; padding: 28px 0; border-top: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-item__icon { flex-shrink: 0; color: var(--navy); }
.contact-item__icon svg { width: 26px; height: 26px; }
.contact-item small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--gold-ink); }
.contact-item p, .contact-item a { margin-top: 4px; font-size: 16px; color: var(--ink); line-height: 1.6; }
.contact-item a:hover { color: var(--gold-ink); }
.map { overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--bg-soft); min-height: 440px; }
.map .root_daum_roughmap { width: 100% !important; }
.map .root_daum_roughmap .cont { display: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { position: relative; padding: 96px 0 48px; background: var(--dark); color: var(--d-dim); font-size: 14px; border-top: 1px solid var(--d-line); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; }
.footer__logo img { height: 20px; width: auto; filter: brightness(0) invert(1); }
.footer__slogan { margin-top: 22px; max-width: 320px; font-family: var(--serif); font-size: 15px; font-weight: 300; }
.footer__nav { display: flex; gap: 88px; }
.footer__nav h4 { margin-bottom: 20px; font-size: 11px; font-weight: 500; letter-spacing: .26em; color: var(--gold); }
.footer__nav li + li { margin-top: 10px; }
.footer__nav a { transition: color .3s; }
.footer__nav a:hover { color: #fff; }
.footer__info { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--d-line); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer__info address { font-style: normal; font-size: 13px; line-height: 1.9; }
.footer__info address span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 12px; background: rgba(255, 255, 255, .2); }
.footer__info strong { color: #fff; font-weight: 500; }
.footer__info a:hover { color: #fff; }
.copyright { font-size: 12px; color: rgba(255, 255, 255, .5); }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--dark); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s, transform .5s var(--ease), visibility .4s, background-color .3s, color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--dark); }
.to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .statement__text .w { color: #fff; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .bento__item--a { grid-column: span 12; grid-row: auto; min-height: 460px; }
  .bento__item--b, .bento__item--c { grid-column: span 6; }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .welfare-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid--wide { grid-template-columns: repeat(2, 1fr); }
  .greeting, .ip { gap: 56px; }
  .stack-card__body { padding: 44px; }
  .milestones { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .tl-item { grid-template-columns: 220px 1fr; }
  .biz-item { gap: 56px; }
  .mission-wrap, .org { gap: 48px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header.is-scrolled, .header.is-open { height: 64px; }
  .header__bar { padding: 0 12px 0 24px; }
  .menu-toggle { display: block; }

  .nav {
    position: fixed; left: 0; right: 0; top: 64px;
    max-height: calc(100vh - 64px); overflow-y: auto;
    background: var(--dark);
    border-bottom: 1px solid var(--d-line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .4s var(--ease), visibility .25s;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .gnb { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 28px; }
  .gnb > li { border-bottom: 1px solid var(--d-line); }
  .gnb > li:last-child { border-bottom: 0; }
  .gnb > li > a { padding: 18px 0; font-size: 14px; color: #fff; }
  .gnb > li > a::after { display: none; }
  .gnb .btn-contact { margin: 20px 0 0; padding: 16px; text-align: center; }
  .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; padding: 0 0 16px; box-shadow: none; background: none;
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  }
  .sub-menu::before { display: none; }
  .gnb > li:hover .sub-menu, .gnb > li:focus-within .sub-menu { transform: none; }
  .sub-menu a { padding: 8px 0; }

  .section { padding: 112px 0; }
  .statement { padding: 130px 0 120px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .greeting, .split-head, .ip { grid-template-columns: 1fr; }
  .ip__aside { position: static; }
  .greeting__media { order: -1; max-width: 480px; }
  .stack-card { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .stack-card__media { aspect-ratio: 16 / 10; order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .stack-card__media img { inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); }
  .stack-card h3 { padding-top: 28px; }
  .biz-item { grid-template-columns: 1fr; gap: 36px; }
  .biz-item:nth-child(even) .biz-item__media { order: 0; }
  .biz-item__media { padding: 24px; }
  .biz-detail { gap: 96px; }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-wrap, .org { grid-template-columns: 1fr; }
  .mission-core, .org-ceo { width: 240px; margin: 44px auto 56px; order: -1; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { flex-direction: column; }
  .tabs { top: 64px; }
  .tl-item { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; }
  .tl-year { position: static; }
  .breadcrumb { position: static; margin-top: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div { padding-left: 24px; }
  .hero-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-stats > div:nth-child(n + 3) { border-top: 1px solid var(--d-line); }
  .partners { flex-direction: column; align-items: flex-start; gap: 20px; }
  .partners__wrap { width: 100%; }
}

@media (max-width: 600px) {
  .container { padding: 0 24px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 56px; }
  .bento__item--b, .bento__item--c, .bento__item--d, .bento__item--e { grid-column: span 12; }
  .bento { grid-auto-rows: auto; }
  .bento__item { padding: 32px 28px; gap: 36px; }
  .bento__item--a { padding: 0; }
  .bento__body { padding: 32px 28px; }
  .strength-grid, .welfare-grid, .card-grid, .cert-grid--wide { grid-template-columns: 1fr; }
  .strength { padding: 36px 28px; }
  .strength h3 { margin-top: 28px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cert__img img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
  .cert__body strong { font-size: 14px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value:last-child { grid-column: 1 / -1; }
  .stack-card__body { padding: 32px 28px 36px; }
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .ip__list a { grid-template-columns: 36px 1fr 20px; padding: 22px 0; }
  .ip__list span { font-size: 15px; }
  .page-hero { padding: calc(var(--header-h) + 72px) 0 72px; }
  .tabs ul { gap: 28px; }
  .footer__nav { gap: 40px; flex-wrap: wrap; }
  .footer__info address span { display: block; }
  .footer__info address span + span::before { display: none; }
  .hero__kicker { flex-wrap: wrap; gap: 8px 12px; letter-spacing: .18em; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-stats { margin-top: 56px; }
  .hero-stats > div { padding-top: 20px; padding-bottom: 24px; }
  .org-card .check-list { grid-template-columns: 1fr; }
  .cta-band { padding: 120px 0; }
  .marquee { padding: 18px 0; }
  .marquee__track span { font-size: 18px; }
  .marquee::before, .marquee::after { width: 60px; }
}
