:root {
  --black: #000;
  --ink: #1d1d1f;
  --gray: #86868b;
  --gray-d: #6e6e73;
  --light: #f5f5f7;
  --white-text: #f5f5f7;
  --accent: #6FD8CE;      /* 어두운 바탕 위 강조 */
  --accent-d: #0B7A75;    /* 밝은 바탕 위 강조·단추 */
  --accent-d-hover: #096661;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --r: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 56px; }
body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--black);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
svg { display: block; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 60px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* 상단 메뉴 */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 52px;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--white-text);
}
.nav-in { max-width: 1120px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white-text); }
.wordmark { font-family: Sora, "Noto Sans KR", sans-serif; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.links { display: flex; gap: 28px; font-size: 14px; }
.links a { text-decoration: none; color: rgba(245, 245, 247, 0.8); }
.links a:hover { color: #fff; }

/* 첫 화면 */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: #000; color: var(--white-text); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 88%), linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 30%); }
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: 1120px; margin: 0 auto; padding: 120px 24px 96px; }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--accent); letter-spacing: 0.01em; margin-bottom: 18px; }
h1 { font-size: clamp(40px, 7.2vw, 92px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.sub { margin-top: 28px; font-size: clamp(18px, 2.1vw, 24px); line-height: 1.5; color: rgba(245, 245, 247, 0.82); max-width: 36em; text-wrap: pretty; letter-spacing: -0.01em; }
.cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

.pill { display: inline-block; background: var(--accent-d); color: #fff; text-decoration: none; font-size: 17px; font-weight: 500; padding: 12px 26px; border-radius: 980px; transition: background .2s; }
.pill:hover { background: var(--accent-d-hover); }
.more { color: var(--accent); text-decoration: none; font-size: 17px; font-weight: 500; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

.vtoggle { position: absolute; z-index: 3; right: 24px; bottom: 24px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.28); background: rgba(30,30,32,0.55); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vtoggle:hover { background: rgba(60,60,64,0.7); }
.vtoggle .i-play { display: none; }
.vtoggle.is-paused .i-pause { display: none; }
.vtoggle.is-paused .i-play { display: block; }

/* 구역 공통 */
section { position: relative; }
.dark { background: #000; color: var(--white-text); }
.light { background: var(--light); color: var(--ink); }
.white { background: #fff; color: var(--ink); }
.light, .white, .tech, .contact { padding: 120px 0; }

h2 { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.lede { margin-top: 22px; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--gray); max-width: 32em; letter-spacing: -0.01em; }
.light .eyebrow, .white .eyebrow { color: var(--accent-d); }
.light .lede, .white .lede { color: var(--gray-d); }

/* 한 줄 소개 */
.statement { padding: 140px 0; }
.big { font-size: clamp(26px, 4.4vw, 52px); line-height: 1.28; letter-spacing: -0.03em; font-weight: 700; color: #6e6e73; max-width: 22em; text-wrap: pretty; }
.big em { font-style: normal; color: var(--white-text); }

/* 타일 */
.tiles { margin-top: 64px; display: grid; gap: 20px; }
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tile { border-radius: var(--r); padding: 40px 36px 44px; min-width: 0; }
.tile h3 { font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 14px; }
.tile p { font-size: 17px; line-height: 1.6; }
.tile-dark { background: #1d1d1f; min-height: 340px; }
.tile-dark .no { display: block; font-family: var(--mono); font-size: 56px; line-height: 1; color: var(--accent); margin-bottom: 56px; }
.tile-dark p { color: #a1a1a6; }
.tile-light { background: #fff; }
.tile-light .tag { font-size: 14px; color: var(--gray-d); margin-bottom: 10px; }
.mono { font-family: var(--mono); font-weight: 500; }
.tile-light h3.mono { font-size: 34px; margin-bottom: 36px; letter-spacing: -0.02em; }
.tile-light dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid #d2d2d7; font-size: 16px; }
.tile-light dt { color: var(--gray-d); }
.tile-light dd { font-weight: 500; }
.tile-gray { background: var(--light); min-height: 260px; }
.tile-gray p { color: var(--gray-d); }

/* 문의 */
.contact { text-align: center; }
.contact .lede { margin-left: auto; margin-right: auto; }
.mail { margin-top: 56px; font-size: clamp(26px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.mail a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 2px no-repeat; padding-bottom: 6px; }
.mail a:hover { color: var(--accent); }
.addr { margin-top: 20px; font-size: 19px; color: var(--gray); }
.contact .pill { margin-top: 44px; }

/* 하단 */
.foot { background: var(--light); color: var(--gray-d); font-size: 13px; line-height: 1.9; padding: 36px 0 44px; }
.foot-name { color: var(--ink); font-weight: 500; font-size: 15px; margin-bottom: 6px; }

/* 스크롤 등장 */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .tiles .reveal:nth-child(2) { transition-delay: .08s; }
.js .tiles .reveal:nth-child(3) { transition-delay: .16s; }

/* 움직임 줄이기 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* 태블릿·휴대폰 */
@media (max-width: 900px) {
  .tiles-3 { grid-template-columns: 1fr; }
  .tile-dark { min-height: 0; }
  .tile-dark .no { margin-bottom: 28px; }
  .light, .white, .tech, .contact { padding: 88px 0; }
  .statement { padding: 96px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .nav-in, .hero-copy { padding-left: 20px; padding-right: 20px; }
  .links { gap: 16px; font-size: 13px; }
  .links a:nth-child(3) { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.2) 100%); }
  .hero { align-items: flex-end; }
  .hero-video { object-position: 68% 30%; }
  .hero-copy { padding-top: 96px; padding-bottom: 88px; }
  .br-d { display: none; }
  .tile { padding: 32px 26px 36px; }
  .vtoggle { right: 16px; bottom: 16px; }
}
