:root {
  --ink: #071817;
  --muted: #5e706f;
  --line: rgba(7, 24, 23, 0.12);
  --paper: #f7faf7;
  --white: #ffffff;
  --brand: #123f3c;
  --brand-soft: #e8f0ec;
  --hero-dim: rgba(0, 16, 28, 0.42);
  --hero-deep: rgba(0, 8, 18, 0.68);
  --radius-lg: 30px;
  --radius-md: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans KR", Pretendard, "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  font-weight: 400;
  letter-spacing: -.015em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(22px, 5vw, 72px);
  color: #fff;
  transition: background .35s ease, color .35s ease, padding .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
  color: var(--ink);
  background: rgba(247, 250, 247, .88);
  border-bottom: 1px solid rgba(7, 24, 23, .08);
  backdrop-filter: blur(18px);
}
.site-logo {
  display: inline-flex;
  align-items: center;
  width: min(240px, 42vw);
  min-width: 168px;
}
.site-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .32));
  transition: filter .35s ease, opacity .35s ease;
}
.site-header.is-scrolled .site-logo img {
  filter: brightness(0) saturate(100%) opacity(.78);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
}
.site-nav a {
  opacity: .86;
  transition: opacity .25s ease;
}
.site-nav a:hover { opacity: 1; }

.ap-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #06192b;
  isolation: isolate;
}
.ap-hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #06192b;
}

.ap-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity .9s var(--ease),
    transform 5.8s ease;
  pointer-events: none;
}

.ap-hero__video.is-active {
  opacity: 1;
  transform: scale(1.035);
}
.ap-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 70% 42%, rgba(40, 161, 255, .18), transparent 34%),
    linear-gradient(90deg, var(--hero-deep) 0%, var(--hero-dim) 42%, rgba(0, 16, 28, .16) 100%);
}
.ap-hero__slides,
.ap-hero__slide {
  position: absolute;
  inset: 0;
}
.ap-hero__slide {
  display: grid;
  align-items: center;
  padding: 120px clamp(22px, 6vw, 92px) 110px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.ap-hero__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.ap-hero__content {
  width: min(720px, 92vw);
  padding-top: 4vh;
}
.ap-hero__eyebrow {
  margin: 0 0 18px;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .78);
}
.ap-hero h1,
.ap-hero h2 {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.13;
  letter-spacing: -.055em;
  font-weight: 500;
  text-wrap: balance;
}
.ap-hero__desc {
  width: min(590px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.82;
  font-weight: 350;
}
.ap-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--light {
  color: var(--ink);
  border-color: #fff;
  background: #fff;
}
.btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.46);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--dark {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}
.ap-hero__control {
  position: absolute;
  left: clamp(22px, 6vw, 92px);
  right: clamp(22px, 6vw, 92px);
  bottom: clamp(26px, 5vh, 54px);
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(520px, calc(100% - 44px));
}
.ap-hero__dot {
  position: relative;
  height: 42px;
  padding: 0;
  color: rgba(255,255,255,.58);
  border: 0;
  border-top: 1px solid rgba(255,255,255,.25);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.ap-hero__dot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}
.ap-hero__dot.is-active::before {
  animation: heroProgress var(--hero-progress-duration, 5800ms) linear forwards;
}
@keyframes heroProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.ap-hero__dot span {
  display: block;
  padding-top: 13px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
}
.ap-hero__dot.is-active { color: #fff; }
.ap-hero__scroll {
  position: absolute;
  right: clamp(22px, 6vw, 92px);
  bottom: clamp(30px, 5vh, 58px);
  z-index: 4;
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: rgba(255,255,255,.64);
}

.section,
.brand-section {
  padding: clamp(82px, 11vw, 150px) clamp(22px, 6vw, 92px);
}
.section__eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section--intro {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  background: #fff;
}
.section--intro h2,
.brand-section h2,
.section--contact h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 62px);
  line-height: 1.16;
  letter-spacing: -.052em;
  font-weight: 500;
}
.section--intro > p:last-child {
  margin-top: 28px;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(15px, 1.16vw, 18px);
  line-height: 1.85;
  font-weight: 350;
}

.brand-section {
  background: var(--paper);
}
.brand-section__head {
  max-width: 920px;
  margin-bottom: clamp(34px, 5.5vw, 66px);
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 22px);
}
.brand-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(7, 24, 23, .09);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 24, 23, .055);
  transition: transform .36s var(--ease), box-shadow .36s var(--ease), border-color .36s ease;
}
.brand-card:hover {
  transform: translateY(-8px);
  border-color: rgba(18, 63, 60, .22);
  box-shadow: 0 26px 62px rgba(7, 24, 23, .095);
}
.brand-card__num {
  position: absolute;
  left: 20px;
  top: 18px;
  z-index: 3;
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(7, 24, 23, .46);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
}
.brand-card__media {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--brand-soft);
}
.brand-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 23, .04), rgba(7, 24, 23, .08));
  pointer-events: none;
}
.brand-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .5s var(--ease);
}
.brand-card:hover .brand-card__media img { transform: scale(1.055); }
.brand-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(22px, 2.3vw, 30px);
}
.brand-card h3 {
  margin: 0 0 14px;
  font-size: clamp(21px, 2vw, 32px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 500;
}
.brand-card h3 a {
  transition: color .25s ease;
}
.brand-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 350;
}
.brand-card p a {
  display: inline-flex;
  align-items: center;
  margin-left: .35em;
  color: var(--brand);
  font-weight: 500;
  border-bottom: 1px solid rgba(18, 63, 60, .3);
}
.brand-card__more {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 28px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 500;
}
.brand-card__more::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.brand-card:hover .brand-card__more::after {
  transform: translateX(3px) rotate(45deg);
}
.section--contact {
  background: #fff;
  text-align: center;
}
.section--contact h2 {
  max-width: 860px;
  margin-inline: auto;
}
.section--contact .btn {
  margin-top: 34px;
}

@media (max-width: 1440px) {
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-card { min-height: 410px; }
}

@media (max-width: 900px) {
  .site-header { padding: 20px 22px; }
  .site-logo { width: min(210px, 48vw); min-width: 150px; }
  .site-nav { gap: 18px; font-size: 13px; }
  .ap-hero__slide {
    align-items: end;
    padding: 112px 22px 132px;
  }
  .ap-hero__content { width: 100%; padding-top: 0; }
  .ap-hero h1,
  .ap-hero h2 {
    font-size: clamp(32px, 9.6vw, 56px);
    line-height: 1.18;
    letter-spacing: -.052em;
  }
  .ap-hero__desc { margin-top: 20px; font-size: 15px; line-height: 1.78; }
  .ap-hero__actions { margin-top: 28px; }
  .ap-hero__control {
    left: 22px;
    right: 22px;
    bottom: 28px;
    width: auto;
  }
  .ap-hero__scroll { display: none; }
  .section--intro {
    grid-template-columns: 1fr;
  }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-card { min-height: 390px; }
}

@media (max-width: 640px) {
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { min-height: auto; }
}

@media (max-width: 560px) {
  .site-logo { width: min(178px, 54vw); min-width: 136px; }
  .site-nav a:nth-child(2) { display: none; }
  .ap-hero__overlay {
    background:
      radial-gradient(circle at 70% 30%, rgba(40, 161, 255, .15), transparent 36%),
      linear-gradient(180deg, rgba(0, 8, 18, .23) 0%, rgba(0, 8, 18, .86) 78%);
  }
  .ap-hero__slide { padding-top: 96px; }
  .ap-hero__eyebrow { margin-bottom: 14px; }
  .ap-hero__desc { font-size: 14.5px; }
  .btn { width: 100%; min-height: 47px; }
  .section,
  .brand-section { padding: 72px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ap-hero__video { animation: none; }
}
