/* ============================
   AVIS DESIGN PARTNERS
   Design System + Layout
   ============================ */

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Focus — 마우스는 숨김, 키보드는 표시 */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--accent-glow);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.nav__link--cta:focus-visible,
.works__dot:focus-visible { outline-offset: 4px; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Sans KR', 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  font-weight: 300;
  cursor: auto;
}

/* 커서 커스텀은 정밀 포인터에서만 */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
}

/* ---------- FULLPAGE SECTIONS ---------- */
.fp-section {
  height: 100vh; height: 100svh;

  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ---------- VIDEO / PARALLAX BACKGROUND ---------- */
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.section-bg__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.section-bg__parallax {
  position: absolute;
  inset: -60px;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.section-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.65);
  z-index: 1;
}

.section-bg + .section__inner,
.section-bg ~ * {
  position: relative;
  z-index: 2;
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: transparent;
  border-radius: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
  box-shadow: none;
}

/* Crosshair lines */
.cursor::before,
.cursor::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.8);
}

.cursor::before {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-0.5px);
}

.cursor::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-0.5px);
}

.cursor--trail {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  box-shadow: none;
  transition: transform 0.12s ease-out, width 0.3s, height 0.3s, opacity 0.3s, border-color 0.3s;
}

.cursor--hover {
  width: 32px;
  height: 32px;
  background: transparent;
  box-shadow: none;
}

.cursor--hover::before,
.cursor--hover::after {
  background: var(--accent-glow);
}

.cursor--trail.cursor--hover {
  width: 54px;
  height: 54px;
  border-color: rgba(91, 157, 229, 0.5);
}

/* Afterimage trails */
.cursor-ghost {
  position: fixed;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  animation: cursorFade 0.4s ease-out forwards;
}

@keyframes cursorFade {
  0%   { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(0); }
}

@media (pointer: coarse) {
  .cursor, .cursor--trail, .cursor-ghost { display: none !important; }
  body { cursor: auto; }
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; cursor: none; }
button { border: none; background: none; cursor: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- TOKENS ---------- */
:root {
  --bg:          #040810;
  --accent:      #0F2A4A;
  --accent-light:#3B7DD8;
  --accent-glow: #5B9DE5;
  --text:        #FFFFFF;
  --text-muted:  #8A9BB0;
  --surface:     #081428;
  --surface-2:   #0C1E38;

  --font-display: 'Outfit', 'Noto Sans KR', sans-serif;
  --font-body:    'Noto Sans KR', 'Outfit', sans-serif;

  --text-hero:    clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  --text-section: clamp(2.2rem, 1.2rem + 3.5vw, 4rem);
  --text-card:    clamp(1.4rem, 1rem + 1.5vw, 2rem);
  --text-body:    clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  --text-small:   clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
  --text-label:   clamp(0.75rem, 0.7rem + 0.15vw, 0.85rem);

  --space-section: clamp(5rem, 4rem + 6vw, 12rem);
  --space-lg:      clamp(2rem, 1.5rem + 2vw, 4rem);
  --space-md:      clamp(1rem, 0.8rem + 1vw, 2rem);
  --space-sm:      clamp(0.5rem, 0.4rem + 0.4vw, 1rem);

  --dur-fast:    150ms;
  --dur-normal:  300ms;
  --dur-slow:    600ms;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);

  --max-width:   1400px;
  --side-pad:    clamp(1.5rem, 1rem + 3vw, 6rem);
}

/* ---------- LOADING SPLASH ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #020408;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 1s ease, visibility 1s ease;
  overflow: hidden;
}

.splash--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 광원 — 로고 뒤 발광 */
.splash::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,125,216,0.35) 0%, rgba(59,125,216,0.08) 40%, transparent 70%);
  animation: splashGlow 2s ease forwards;
  pointer-events: none;
}

/* 파티클 컨테이너 */
.splash__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.splash__particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(91,157,229,0.8);
  border-radius: 50%;
  opacity: 0;
  animation: particleGather 2s var(--ease) forwards;
}

/* 도트 모임 후 가로 섬광 */
.splash::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(91,157,229,0.4),
    rgba(255,255,255,0.95),
    rgba(91,157,229,0.4),
    transparent
  );
  box-shadow:
    0 0 40px 8px rgba(91,157,229,0.4),
    0 0 100px 20px rgba(59,125,216,0.2);
  opacity: 0;
  z-index: 2;
  animation: splashFlash 0.8s var(--ease) 1.4s forwards;
}

@keyframes splashGlow {
  0%   { opacity: 0; transform: scale(0.3); }
  30%  { opacity: 1; transform: scale(0.8); }
  70%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0.4; transform: scale(1.8); filter: blur(30px); }
}

@keyframes particleGather {
  0%   { opacity: 0; transform: translate(var(--px), var(--py)) scale(0); }
  30%  { opacity: 0.8; transform: translate(var(--px), var(--py)) scale(1); }
  80%  { opacity: 1; transform: translate(0, 0) scale(1.2); }
  100% { opacity: 0; transform: translate(0, 0) scale(0); }
}

@keyframes splashFlash {
  0%   { width: 0; opacity: 0; }
  15%  { width: 80px; opacity: 1; }
  50%  { width: 60vw; opacity: 1; }
  80%  { width: 100vw; opacity: 0.6; }
  100% { width: 100vw; opacity: 0; }
}

.splash__logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.5rem + 4vw, 5rem);
  font-weight: 200;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0);
  position: relative;
  z-index: 1;
  animation: splashLogoReveal 2s ease forwards;
}

@keyframes splashLogoReveal {
  0%   { color: rgba(255,255,255,0); letter-spacing: 0.8em; filter: blur(8px); }
  40%  { color: rgba(255,255,255,0.9); letter-spacing: 0.5em; filter: blur(0); }
  70%  { color: #fff; text-shadow: 0 0 40px rgba(91,157,229,0.6), 0 0 80px rgba(59,125,216,0.3); }
  100% { color: #fff; text-shadow: 0 0 20px rgba(91,157,229,0.3); letter-spacing: 0.5em; }
}


/* ---------- HERO VIDEO HIDDEN UNTIL READY ---------- */
.hero__video--hidden {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__video--ready {
  opacity: 1;
}

/* ---------- HERO STAGGER ENTRANCE ---------- */
.hero-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.hero-stagger--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}

.reveal--up {
  transform: translateY(60px);
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ---------- UTILITY ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-title--center { text-align: center; position: relative; z-index: 2; }
.section-title--sm { font-size: var(--text-card); letter-spacing: 0.08em; font-weight: 300; }

.section-label {
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.section-label--center { text-align: center; }

.hero__title-en {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 0.7rem + 0.5vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-md);
}

.services__name-en {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.contact__heading-en {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--dur-normal) var(--ease);
  cursor: pointer;
}

.btn--primary {
  background: var(--accent-light);
  color: #fff;
  box-shadow:
    0 2px 8px rgba(59, 125, 216, 0.3),
    0 1px 2px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn--primary:hover {
  background: var(--accent-glow);
  box-shadow:
    0 4px 20px rgba(91, 157, 229, 0.4),
    0 2px 6px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow:
    0 1px 4px rgba(59, 125, 216, 0.25),
    inset 0 2px 4px rgba(0,0,0,0.15);
}

.btn--outline {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow:
    0 1px 4px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.btn--outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--text);
  background: rgba(0,0,0,0.4);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.3),
    0 1px 4px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.btn--outline:active {
  transform: translateY(0);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.15),
    inset 0 1px 3px rgba(0,0,0,0.1);
}

.btn--full { width: 100%; text-align: center; }

/* ============================
   NAVIGATION
   ============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--side-pad);
  transition: background var(--dur-normal) var(--ease),
              padding var(--dur-normal) var(--ease);
}

.nav--scrolled {
  background: rgba(5, 10, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav__logo-img {
  height: clamp(36px, 2rem + 1.5vw, 56px);
  width: auto;
  filter: invert(1);
  transition: opacity var(--dur-fast);
}

.nav__logo-img:hover {
  opacity: 0.8;
}

.nav__menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__link {
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--dur-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: width var(--dur-normal) var(--ease);
}

.nav__link:hover { color: var(--accent-light); }
.nav__link:hover::after { width: 100%; }

.nav__link--cta {
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--accent-light);
  color: var(--accent-light);
  transition: all var(--dur-normal) var(--ease);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
  background: var(--accent-light);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 125, 216, 0.25);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: transform var(--dur-normal) var(--ease),
              opacity var(--dur-normal) var(--ease);
}

.nav__hamburger--open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__hamburger--open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 10, 18, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease);
}

.mobile-menu--open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--dur-fast);
}

.mobile-menu__link:hover { color: var(--accent-light); }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ---------- HERO → NUMBERS 전환 섹션 ---------- */
.hero-transition {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-transition__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  transform: scale(1.05);
}

.hero-transition__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(4,8,16,0.2) 30%,
    rgba(4,8,16,0.2) 70%,
    var(--bg) 100%
  );
}

.hero-transition__text {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.8rem + 0.8vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
  backface-visibility: hidden;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  transform: translate(-50%, -50%) scale(1.08);
  object-fit: cover;
  will-change: transform, filter;
  backface-visibility: hidden;
  transition: filter 1.5s ease;
}

.hero__video--blurring {
  filter: blur(12px) brightness(0.85);
}

.hero__video--unblurring {
  filter: blur(0px) brightness(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(4,8,16,0.6) 0%,
    rgba(4,8,16,0.4) 50%,
    rgba(4,8,16,0.25) 100%
  );
  will-change: background;
  pointer-events: none;
}

/* Staggered scroll fade for hero elements */
.hero__tagline-en,
.hero__title,
.hero__title-en,
.hero__subtitle,
.hero__cta {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.hero__bottom-left,
.hero__bottom-right {
  will-change: transform, opacity;
}

.hero__content {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 2;
  padding-left: var(--side-pad);
  max-width: 800px;
}

.hero__tagline-en {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 0.65rem + 0.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 300;
  line-height: 2;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- HERO TITLE CHARACTER ANIMATION ---------- */
.hero__title-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-stagger--visible .hero__title-char {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- HERO TAGLINE LINE ---------- */
.hero__tagline-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent-light);
  vertical-align: middle;
  margin-right: 1rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease) 0.3s;
}

.hero-stagger--visible .hero__tagline-line {
  transform: scaleX(1);
}

/* ---------- HERO SERVICE TAGS ---------- */
.hero__services {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.hero__service-tag {
  font-size: var(--text-label);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color var(--dur-normal) var(--ease), color var(--dur-normal) var(--ease);
}

.hero__service-tag:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

/* ---------- HERO PORTFOLIO PREVIEW ---------- */
.hero__portfolio {
  position: fixed;
  top: 50%;
  right: var(--side-pad);
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__portfolio-card {
  width: clamp(140px, 10vw + 40px, 200px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform var(--dur-normal) var(--ease), border-color var(--dur-normal) var(--ease);
  pointer-events: auto;
  cursor: pointer;
  position: relative;
}

.hero__portfolio-card:hover {
  border-color: var(--accent-light);
  transform: translateX(-8px);
}

.hero__portfolio-card--1 { transform: translateX(10px); }
.hero__portfolio-card--2 { transform: translateX(30px); }
.hero__portfolio-card--3 { transform: translateX(20px); }

.hero-stagger--visible.hero__portfolio-card--1 { transform: translateX(10px); }
.hero-stagger--visible.hero__portfolio-card--2 { transform: translateX(30px); }
.hero-stagger--visible.hero__portfolio-card--3 { transform: translateX(20px); }

.hero__portfolio-img {
  width: 100%;
  aspect-ratio: 3/2;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}

.hero__portfolio-card:hover .hero__portfolio-img {
  transform: scale(1.08);
}

.hero__portfolio-label {
  display: block;
  padding: 0.5rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  background: rgba(4,8,16,0.8);
}

/* ---------- HERO BOTTOM STATS ---------- */
.hero__stats-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-label);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

.hero__stats-mini strong {
  color: var(--accent-light);
  font-weight: 400;
}

.hero__stat-divider {
  color: rgba(255,255,255,0.2);
}

/* Hero bottom elements */
.hero__bottom-left {
  position: absolute;
  bottom: 2.5rem;
  left: var(--side-pad);
  z-index: 2;
  pointer-events: none;
}

.hero__scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-light), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

.hero__scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  font-weight: 300;
}

.hero__bottom-right {
  position: absolute;
  bottom: 2.5rem;
  right: var(--side-pad);
  z-index: 2;
  pointer-events: none;
}

.hero__current-project {
  font-size: var(--text-small);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  transition: opacity var(--dur-slow);
}

/* ============================
   NUMBERS
   ============================ */
.numbers {
  height: 100vh; height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--side-pad);
  position: relative;
  overflow: hidden;
}

.numbers__grid {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.numbers__item {
  padding: var(--space-md) 0;
}

.numbers__value {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
}

.numbers__plus {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  font-weight: 300;
  color: var(--accent-light);
}

.numbers__label-en {
  font-size: var(--text-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1rem;
}

.numbers__label-kr {
  font-size: var(--text-small);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin-top: 0.4rem;
}

/* ============================
   WORKS — Fullpage Slideshow
   ============================ */
.works {
  height: 100vh; height: 100svh;

  position: relative;
  overflow: hidden;
}

.works__slideshow {
  position: absolute;
  inset: 0;
}

.works__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.works__slide--active {
  opacity: 1;
}

.works__slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: worksKenBurns 12s ease infinite alternate;
}

@keyframes worksKenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.works__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,10,18,0.9) 0%,
    rgba(5,10,18,0.3) 40%,
    rgba(5,10,18,0.15) 100%
  );
}

/* Slide content at bottom */
.works__slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem var(--side-pad);
  z-index: 2;
}

.works__slide-tag {
  font-size: var(--text-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.works__slide-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3vw, 4rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.works__slide-info {
  font-size: var(--text-body);
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}

/* Fixed header overlay */
.works__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 6rem var(--side-pad) 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.works__view-all {
  font-size: var(--text-small);
  color: var(--accent-light);
  letter-spacing: 0.05em;
  transition: color var(--dur-fast);
}

.works__view-all:hover { color: var(--accent-glow); }

/* Slide indicators */
.works__indicators {
  position: absolute;
  right: var(--side-pad);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.works__dot {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease);
  padding: 0;
}

.works__dot--active {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: scale(1.3);
}

/* Progress bar */
.works__progress {
  position: absolute;
  bottom: 3.5rem;
  left: var(--side-pad);
  right: var(--side-pad);
  height: 1px;
  background: rgba(255,255,255,0.15);
  z-index: 3;
}

.works__progress-bar {
  height: 100%;
  background: var(--accent-light);
  box-shadow: 0 0 8px rgba(91,157,229,0.4);
  transition: width 0.8s var(--ease);
  width: 16.66%;
}

/* ============================
   SERVICES — Magazine Cards
   ============================ */
.services {
  position: relative;
  padding: var(--space-section) 0;
  background: var(--bg);
}

.services__head {
  max-width: var(--max-width);
  margin: 0 auto var(--space-lg);
  padding: 0 var(--side-pad);
  text-align: center;
}

.services__subtitle {
  font-size: var(--text-body);
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

.services__cards {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 0.8rem + 1.2vw, 2rem);
}

.services__card {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: clamp(280px, 18vw + 120px, 400px);
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  /* 터치 타겟 44px 최소 보장 */
  min-height: 44px;
}

.services__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.35),
    0 8px 16px rgba(0,0,0,0.2);
}

.services__card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  will-change: transform;
  filter: brightness(0.55) saturate(0.8);
}

.services__card:hover .services__card-img {
  transform: scale(1.06);
  filter: brightness(0.7) saturate(1);
}

/* ---------- SERVICE CARD COLORS ---------- */
.services__card--arch { border-left: 3px solid rgba(59,125,216,0.6); }
.services__card--arch .services__card-title { color: #5B9DE5; }
.services__card--arch .services__card-gradient {
  background: linear-gradient(135deg, rgba(10,25,60,0.93) 0%, rgba(4,8,16,0.6) 50%, rgba(4,8,16,0.25) 100%);
}

.services__card--color { border-left: 3px solid rgba(216,160,59,0.6); }
.services__card--color .services__card-title { color: #D8A03B; }
.services__card--color .services__card-gradient {
  background: linear-gradient(135deg, rgba(50,35,10,0.93) 0%, rgba(4,8,16,0.6) 50%, rgba(4,8,16,0.25) 100%);
}

.services__card--interior { border-left: 3px solid rgba(168,130,100,0.6); }
.services__card--interior .services__card-title { color: #C8A882; }
.services__card--interior .services__card-gradient {
  background: linear-gradient(135deg, rgba(40,30,20,0.93) 0%, rgba(4,8,16,0.6) 50%, rgba(4,8,16,0.25) 100%);
}

.services__card--sign { border-left: 3px solid rgba(100,180,160,0.6); }
.services__card--sign .services__card-title { color: #7CBFAD; }
.services__card--sign .services__card-gradient {
  background: linear-gradient(135deg, rgba(15,40,35,0.93) 0%, rgba(4,8,16,0.6) 50%, rgba(4,8,16,0.25) 100%);
}

.services__card--brand { border-left: 3px solid rgba(180,100,180,0.6); }
.services__card--brand .services__card-title { color: #C88DC8; }
.services__card--brand .services__card-gradient {
  background: linear-gradient(135deg, rgba(40,15,40,0.93) 0%, rgba(4,8,16,0.6) 50%, rgba(4,8,16,0.25) 100%);
}

.services__card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4,8,16,0.93) 0%,
    rgba(4,8,16,0.72) 40%,
    rgba(4,8,16,0.35) 100%
  );
  z-index: 1;
  transition: background 0.5s var(--ease);
}

.services__card:hover .services__card-gradient {
  background: linear-gradient(
    135deg,
    rgba(4,8,16,0.85) 0%,
    rgba(4,8,16,0.55) 40%,
    rgba(4,8,16,0.2) 100%
  );
}

.services__card-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  width: 100%;
}

.services__card-sub {
  font-size: var(--text-label);
  font-weight: 300;
  color: var(--accent-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  transition: transform 0.5s var(--ease);
}

.services__card:hover .services__card-sub {
  transform: translateX(8px);
}

.services__card-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.8rem + 2.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.6rem;
  transition: transform 0.5s var(--ease);
}

.services__card:hover .services__card-title {
  transform: translateX(8px);
}

.services__card-desc {
  font-size: var(--text-small);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  opacity: 0.8;
}

.services__card:hover .services__card-desc {
  opacity: 1;
  transform: translateX(8px);
}

/* 카드 번호 인디케이터 — 우측 상단 */
.services__card::before {
  counter-increment: service-counter;
  content: "0" counter(service-counter);
  position: absolute;
  top: clamp(1rem, 0.5rem + 1vw, 1.5rem);
  right: clamp(1rem, 0.5rem + 1vw, 1.5rem);
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  z-index: 2;
  transition: color 0.5s var(--ease);
}

.services__card:hover::before {
  color: var(--accent-light);
}

.services__cards {
  counter-reset: service-counter;
}

/* ============================
   WHY AVIS
   ============================ */
.why {
  height: 100vh; height: 100svh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--side-pad);
  position: relative;
  overflow: hidden;
}

.why__grid {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: var(--space-lg) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.why__item {
  text-align: center;
  padding: var(--space-lg);
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(5,10,18,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--dur-normal) var(--ease), transform var(--dur-normal) var(--ease);
}

.why__item:hover {
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-4px);
}

/* ---------- WHY CARD — 세로 광원 등장 ---------- */
.why-card {
  opacity: 0;
  position: relative;
  overflow: hidden;
}

/* 세로 광선 — 중앙에서 위아래로 펼침 */
.why-card::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(91,157,229,0.6) 20%,
    rgba(255,255,255,0.9) 50%,
    rgba(91,157,229,0.6) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 20px 6px rgba(91,157,229,0.4),
    0 0 60px 10px rgba(59,125,216,0.15);
  transform: translateX(-50%) scaleY(0);
  transform-origin: center;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

/* 광선 먼저 등장 */
.why-card--reveal::before {
  animation: whyBeam 0.7s var(--ease) forwards;
}

/* 카드 본체 등장 — 광선 후 0.2s 딜레이 */
.why-card--reveal {
  animation: whyCardAppear 0.9s var(--ease) 0.15s forwards;
}

@keyframes whyBeam {
  0%   { opacity: 0; transform: translateX(-50%) scaleY(0); }
  50%  { opacity: 1; transform: translateX(-50%) scaleY(1); }
  85%  { opacity: 0.6; transform: translateX(-50%) scaleY(1); }
  100% { opacity: 0; transform: translateX(-50%) scaleY(1); }
}

@keyframes whyCardAppear {
  0%   { opacity: 0; }
  20%  { opacity: 0.2; border-color: rgba(91,157,229,0.6); }
  60%  { opacity: 0.8; }
  100% { opacity: 1; }
}

.why__icon {
  margin-bottom: 1.5rem;
}

.why__title {
  font-family: var(--font-display);
  font-size: var(--text-card);
  font-weight: 300;
  margin-bottom: 1rem;
}

.why__text {
  font-size: var(--text-body);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.why__stat {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: var(--text-label);
  letter-spacing: 0.12em;
  color: var(--accent-light);
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(59, 125, 216, 0.35);
}

/* ============================
   ABOUT
   ============================ */
.about {
  height: 100vh; height: 100svh;

  display: flex;
  align-items: center;
  padding: 0 var(--side-pad);
  position: relative;
  overflow: hidden;
}

.about__container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about__image {
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  max-height: 450px;
  filter: grayscale(0.2);
  transition: transform var(--dur-slow) var(--ease);
}

.about__image:hover img {
  transform: scale(1.03);
}

.about__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  font-weight: 400;
  line-height: 1.7;
  margin-top: var(--space-md);
}

.about__text--muted {
  font-size: var(--text-body);
  font-family: var(--font-body);
  color: var(--text-muted);
}

.about__values {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--accent-light);
}

.about__dot { color: rgba(255,255,255,0.35); }

/* ============================
   CONTACT — Dark Map + Card Overlay
   ============================ */
.contact {
  min-height: 100vh; min-height: 100svh;
  position: relative;
  overflow: hidden;
}

/* Full-bleed dark map background */
.contact__map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact__map-bg iframe {
  display: block;
  width: 100%;
  height: 100%;
  filter: invert(0.92) hue-rotate(180deg) grayscale(0.5) contrast(1.1) brightness(0.3);
}

.contact__container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-section) var(--side-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

/* Glass card for info & form */
.contact__card {
  background: rgba(4, 8, 16, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.contact__heading {
  font-family: var(--font-display);
  font-size: var(--text-card);
  font-weight: 300;
  line-height: 1.4;
}

.contact__desc {
  font-size: var(--text-small);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-top: var(--space-sm);
}

.contact__details {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__detail {
  display: flex;
  gap: 1.2rem;
}

.contact__detail-label {
  font-size: var(--text-label);
  color: var(--accent-light);
  letter-spacing: 0.1em;
  min-width: 3.5rem;
  flex-shrink: 0;
  font-weight: 400;
}

.contact__detail-value {
  font-size: var(--text-small);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact__field label {
  font-size: var(--text-label);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  font-weight: 400;
}

.contact__field input,
.contact__field select,
.contact__field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.9rem 1rem;
  color: var(--text);
  font-size: var(--text-body);
  font-weight: 300;
  transition: border-color var(--dur-normal) var(--ease);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus {
  border-color: var(--accent-light);
}

.contact__field select {
  cursor: pointer;
}

.contact__field select option {
  background: var(--surface);
  color: var(--text);
}

.contact__field textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================
   FOOTER
   ============================ */
.footer {

  padding: var(--space-section) var(--side-pad) var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer__logo-img {
  height: clamp(44px, 2.5rem + 1.5vw, 64px);
  width: auto;
  filter: invert(1);
}

.footer__logo-kr {
  font-size: var(--text-body);
  color: var(--text-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

.footer__tagline {
  font-size: var(--text-body);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-top: 1.2rem;
  font-style: italic;
}

.footer__links {
  display: flex;
  gap: var(--space-lg);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col-title {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.footer__col a {
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-muted);
  transition: color var(--dur-fast);
  line-height: 1.4;
}

.footer__col a:hover { color: var(--accent-light); }

.footer__bottom {
  max-width: var(--max-width);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: var(--text-small);
  color: var(--text-muted);
  font-weight: 300;
}

.footer__social {
  display: flex;
  gap: 1.5rem;
}

.footer__social a {
  font-size: var(--text-small);
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.04em;
  transition: color var(--dur-fast);
}

.footer__social a:hover { color: var(--accent-light); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .about__container {
    grid-template-columns: 1fr;
  }

  .about__image img {
    aspect-ratio: 16/9;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .hero { height: 100vh; }
  .hero__content { max-width: 100%; padding-right: var(--side-pad); }
  .hero__portfolio { display: none; }
  .hero__services { gap: 0.4rem; }
  .hero__service-tag { font-size: 0.65rem; padding: 0.3rem 0.7rem; }
  .hero__stats-mini { flex-wrap: wrap; gap: 0.5rem; font-size: 0.65rem; }

  /* 본문 최소 16px 보장 (UX: readable-font-size) */
  body { font-size: 16px; }

  .numbers, .why, .about {
    height: auto;
    min-height: auto;
    padding: var(--space-section) var(--side-pad);
  }

  .section-bg__overlay { background: rgba(5, 10, 18, 0.7); }

  .services, .contact { min-height: auto; }

  /* 서비스 카드 — 모바일 최적화 */
  .services__card {
    height: 220px;
    border-radius: 10px;
  }
  .services__card-desc { white-space: normal; }
  .services__card-title { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.5rem); }
  .services__card-gradient {
    background: linear-gradient(
      to top,
      rgba(4,8,16,0.9) 0%,
      rgba(4,8,16,0.4) 50%,
      rgba(4,8,16,0.05) 100%
    );
  }

  /* 네비게이션 */
  .nav__menu { display: none; }
  .nav__hamburger {
    display: flex;
    /* 터치 타겟 44px (UX: touch-target-size) */
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  /* 모바일 메뉴 링크 — 44px 터치 타겟 + 8px 간격 */
  .mobile-menu__link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .numbers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .works__indicators { display: none; }

  .why__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .why__item { padding: var(--space-md); }

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

  .contact { min-height: auto; }
  .contact__map-bg { position: relative; height: 280px; }
  .contact__container {
    grid-template-columns: 1fr;
    padding: var(--space-lg) var(--side-pad);
  }

  /* 폼 입력 — 44px 최소 높이 (UX: touch-target-size) */
  .contact__field input,
  .contact__field select,
  .contact__field textarea {
    min-height: 44px;
    font-size: 16px; /* iOS 줌 방지 */
  }

  /* 버튼 — 44px 최소 높이 */
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

  .footer__top { flex-direction: column; }
  .footer__col a { min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 480px) {
  .hero { height: 100vh; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { text-align: center; width: 100%; }

  .hero__bottom-left,
  .hero__bottom-right { display: none; }

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

  /* 서비스 카드 — 소형 모바일 */
  .services__card { height: 180px; }
  .services__card-title { font-size: 1.5rem; }
  .services__card::before { font-size: 0.7rem; }

  .works__slide-title { font-size: 1.6rem; }

  .contact__form-row { grid-template-columns: 1fr; }
  .footer__links { flex-direction: column; }
}

/* ---------- FORM STATUS ---------- */
.contact__status { margin-top: 1rem; font-size: var(--text-small); }
.contact__status--success { color: #6BCB77; }
.contact__status--error { color: #E94E4E; }

/* ---------- PRIVACY CHECKBOX ---------- */
.contact__field--checkbox { flex-direction: row; align-items: flex-start; gap: 0.5rem; }
.contact__checkbox { display: flex; gap: 0.5rem; align-items: flex-start; font-size: var(--text-small); color: rgba(255,255,255,0.75); cursor: pointer; }
.contact__checkbox input[type="checkbox"] { margin-top: 0.2rem; accent-color: var(--accent-light); }
.contact__checkbox a { color: var(--accent-light); text-decoration: underline; }

/* ---------- CONTACT DETAIL LINKS ---------- */
.contact__detail-value a {
  color: inherit;
  border-bottom: 1px dashed rgba(59, 125, 216, 0.4);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.contact__detail-value a:hover {
  color: var(--accent-light);
  border-bottom-color: var(--accent-light);
}

/* ---------- FOOTER LEGAL ---------- */
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: var(--text-small); color: var(--text-muted); }
.footer__legal a:hover { color: var(--accent-light); }

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 1rem 1.5rem;
  background: var(--accent-light);
  color: #fff;
  z-index: 10000;
  font-weight: 500;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__video { display: none; }
  .hero__video-wrap {
    background: var(--bg) center/cover;
  }
  .works__slide-img { animation: none !important; }
  .hero__scroll-line { animation: none; opacity: 0.6; }
  .cursor, .cursor--trail, .cursor-ghost { display: none !important; }
  body, a, button { cursor: auto !important; }
}
