:root {
  color-scheme: dark;
  --bg: #070707;
  --surface: #111111;
  --surface-2: #171717;
  --text: #f5f3ef;
  --muted: #aaa8a3;
  --line: rgba(255, 255, 255, 0.15);
  --electric: #5b6cff;
  --ember: #ff5a1f;
  --lime: #c9ff32;
  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Noto Sans KR", sans-serif;
  font-size: 1rem;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--lime); color: #080808; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }

.site-header {
  position: fixed; z-index: 30; top: 0; left: 0; width: 100%; height: 5.5rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad);
  border-bottom: 1px solid transparent; transition: background .4s ease, border-color .4s ease;
}
.site-header.scrolled { background: rgba(7,7,7,.82); backdrop-filter: blur(18px); border-color: var(--line); }
.brand { width: 8.2rem; height: 2.8rem; overflow: hidden; display: flex; align-items: center; }
.brand { z-index: 2; }
.brand, .footer-brand { position: relative; }
.brand img, .footer-brand img { position: absolute; left: 50%; top: 50%; width: 14rem; max-width: none; filter: invert(1); mix-blend-mode: screen; transform: translate(-50%, -83.5%); }
.desktop-nav { display: flex; gap: 2rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.desktop-nav a { color: #cbc9c4; transition: color .2s ease; }
.desktop-nav a:hover { color: white; }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 1.2rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; transition: background .25s ease, color .25s ease; }
.header-cta:hover { background: var(--text); color: #080808; }
.menu-button, .mobile-menu { display: none; }

.hero { min-height: 100svh; position: relative; isolation: isolate; padding: 9rem var(--pad) 2.5rem; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.eyebrow { margin: 0 0 2rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #c4c2bd; }
.hero-title { position: relative; z-index: 2; margin: 0; font-size: clamp(4rem, 10.7vw, 10.5rem); line-height: .82; letter-spacing: -.075em; font-weight: 600; }
.title-line { display: block; }
.title-line:nth-child(2) { margin-left: 10vw; }
.title-outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.62); }
.hero-footer { position: relative; z-index: 2; margin-top: 3rem; margin-left: 52%; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.hero-footer p { margin: 0; color: #c3c1bc; line-height: 1.7; font-size: .95rem; }
.circle-link { width: 6.5rem; height: 6.5rem; border-radius: 50%; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; font-size: .7rem; text-transform: uppercase; transition: background .3s ease, color .3s ease, transform .3s ease; }
.circle-link:hover { background: var(--lime); color: #070707; transform: rotate(-8deg); }
.circle-link .arrow { font-size: 1.2rem; }
.hero-index { position: absolute; left: var(--pad); bottom: 2.5rem; color: #676767; font-size: .72rem; letter-spacing: .12em; }
.hero-glow { position: absolute; inset: 0; z-index: -1; transform: translate3d(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 14px), 0); transition: transform .3s ease-out; }
.hero-core { position: absolute; top: 48%; left: 55%; width: min(55vw, 48rem); aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.13) 0 2%, rgba(95,108,255,.24) 12%, rgba(255,76,22,.18) 31%, transparent 67%); filter: blur(12px); }
.orbital { position: absolute; top: 48%; left: 55%; width: min(66vw, 58rem); aspect-ratio: 1; transform: translate(-50%,-50%) rotate(-24deg); border-radius: 50%; border: clamp(2px,.35vw,5px) solid transparent; background: linear-gradient(var(--bg),var(--bg)) padding-box, conic-gradient(from 10deg, transparent 0 17%, var(--electric) 27%, #80eaff 38%, transparent 50%, var(--ember) 67%, #ffc06a 76%, transparent 91%) border-box; filter: drop-shadow(0 0 1.2rem rgba(91,108,255,.75)) drop-shadow(0 0 2.3rem rgba(255,90,31,.34)); animation: orbit 16s linear infinite; opacity: .92; }
.orbital-two { width: min(54vw,46rem); transform: translate(-50%,-50%) rotate(28deg); opacity: .45; animation-direction: reverse; animation-duration: 21s; }
@keyframes orbit { to { transform: translate(-50%,-50%) rotate(336deg); } }

.section { padding: clamp(7rem, 12vw, 11rem) var(--pad); border-top: 1px solid var(--line); }
.section-kicker { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; margin-bottom: clamp(4rem,8vw,7rem); color: #aaa8a3; font-size: .72rem; text-transform: uppercase; letter-spacing: .17em; }
.manifesto { background: #efeee9; color: #0b0b0b; }
.manifesto .section-kicker { color: #5f5f5b; }
.manifesto-grid { display: grid; grid-template-columns: 1.6fr .6fr; gap: 8vw; align-items: end; }
.display-copy { margin: 0; font-size: clamp(3rem,7.2vw,7.2rem); line-height: 1.04; letter-spacing: -.06em; font-weight: 500; }
.display-copy span { color: transparent; -webkit-text-stroke: 1.5px #111; }
.manifesto-copy p { margin: 0; font-size: clamp(1rem,1.3vw,1.25rem); line-height: 1.8; word-break: keep-all; }
.manifesto-copy .micro-copy { margin-top: 3rem; font-size: .7rem; letter-spacing: .12em; line-height: 1.6; }

.services { background: var(--bg); }
.service-list { border-top: 1px solid var(--line); }
.service-row { min-height: 9rem; display: grid; grid-template-columns: 4rem 1fr 1fr auto; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: padding .35s var(--ease); }
.service-row::before { content: ""; position: absolute; inset: 0; background: var(--text); transform: translateY(102%); transition: transform .45s var(--ease); z-index: 0; }
.service-row > * { position: relative; z-index: 1; }
.service-row:hover, .service-row:focus { color: #080808; padding-inline: 1.25rem; outline: none; }
.service-row:hover::before, .service-row:focus::before { transform: translateY(0); }
.service-number { font-size: .7rem; color: var(--muted); }
.service-row h3 { margin: 0; font-size: clamp(1.6rem,3.2vw,3.5rem); letter-spacing: -.05em; font-weight: 500; }
.service-row p { color: var(--muted); font-size: .9rem; }
.service-row:hover p, .service-row:hover .service-number, .service-row:focus p, .service-row:focus .service-number { color: #4b4b4b; }
.service-arrow { font-size: 1.8rem; }

.work { background: #0b0b0b; }
.work-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 4rem; }
.work-heading h2 { margin: 0; font-size: clamp(4rem,10vw,9rem); line-height: .84; letter-spacing: -.07em; font-weight: 600; }
.work-heading p { max-width: 16rem; color: var(--muted); line-height: 1.6; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem) 1rem; }
.project-large { grid-column: 1 / -1; }
.project-visual { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #171717; isolation: isolate; }
.project-large .project-visual { aspect-ratio: 16/8; }
.project-meta { display: flex; justify-content: space-between; padding-top: 1.1rem; }
.project-meta h3 { margin: 0 0 .4rem; font-size: 1rem; font-weight: 600; }
.project-meta p, .project-meta > span { margin: 0; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.visual-a { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #282828, #0d0d0d 65%); }
.project-glyph { font-size: min(34vw,28rem); font-weight: 600; line-height: 1; letter-spacing: -.2em; transform: translateX(-.08em); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.32); }
.signal-ring { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; border: 3px solid transparent; background: linear-gradient(#171717,#171717) padding-box, conic-gradient(from 90deg,var(--ember),transparent 28%,var(--electric),transparent 70%,var(--ember)) border-box; filter: drop-shadow(0 0 1.5rem var(--ember)) drop-shadow(0 0 2rem var(--electric)); animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08) rotate(18deg); filter: drop-shadow(0 0 2.5rem var(--ember)) drop-shadow(0 0 3rem var(--electric)); } }
.visual-b { display: flex; align-items: center; justify-content: center; background: var(--lime); color: #080808; }
.kinetic-word { font-size: clamp(4rem,11vw,9rem); font-weight: 700; letter-spacing: -.09em; transform: rotate(-9deg); }
.kinetic-word.ghost { position: absolute; color: transparent; -webkit-text-stroke: 1px #080808; transform: rotate(-9deg) translateY(50%); opacity: .55; }
.visual-c { background: radial-gradient(circle at center,#232745,#0d0d12 60%); }
.v-beam { position: absolute; width: 8px; height: 100%; left: 33%; top: -18%; background: linear-gradient(transparent,#fff 30%,var(--electric) 65%,transparent); transform: rotate(-25deg); filter: blur(1px) drop-shadow(0 0 18px var(--electric)); }
.v-beam-right { left: auto; right: 33%; transform: rotate(25deg); background: linear-gradient(transparent,#fff 30%,var(--ember) 65%,transparent); filter: blur(1px) drop-shadow(0 0 18px var(--ember)); }

.contact { min-height: 92svh; padding: 8rem var(--pad); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.contact h2 { margin: 0; font-size: clamp(4rem,12vw,11rem); line-height: .83; letter-spacing: -.08em; font-weight: 600; }
.contact h2 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.65); }
.contact-copy { color: var(--muted); line-height: 1.8; margin: 3rem 0; }
.contact-link { display: flex; justify-content: space-between; align-items: center; width: min(32rem, 100%); border-bottom: 1px solid white; padding: 1rem 0; font-size: clamp(1rem,2vw,1.5rem); transition: color .2s ease; }
.contact-link:hover { color: var(--lime); border-color: var(--lime); }
.contact-orbit { position: absolute; width: min(78vw,70rem); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 8rem rgba(91,108,255,.11), inset 0 0 8rem rgba(255,90,31,.06); pointer-events: none; }

.site-footer { min-height: 9rem; padding: 2rem var(--pad); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; color: #8c8a86; font-size: .66rem; letter-spacing: .1em; }
.footer-brand { width: 7rem; height: 2.5rem; overflow: hidden; display: flex; align-items: center; }
.site-footer p { margin: 0; }
.site-footer p:last-child { justify-self: end; display: flex; gap: 2rem; }
.site-footer a:hover { color: white; }

.reveal { opacity: 0; transform: translateY(2.5rem); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.title-line:nth-child(2).reveal { transition-delay: .12s; }
@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; }
}

@media (max-width: 800px) {
  .site-header { height: 4.75rem; grid-template-columns: 1fr auto; }
  .brand { width: 6.7rem; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { justify-self: end; display: grid; gap: .38rem; width: 2.7rem; height: 2.7rem; place-content: center; background: transparent; color: white; border: 1px solid var(--line); border-radius: 50%; z-index: 2; }
  .menu-button span { width: 1rem; height: 1px; background: currentColor; transition: transform .3s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(.2rem) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-.2rem) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 0; background: #0b0b0b; padding: 8rem var(--pad) 3rem; flex-direction: column; gap: 1.2rem; }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu a { font-size: clamp(2.2rem,11vw,4rem); line-height: 1.05; letter-spacing: -.05em; }
  .mobile-menu a:last-child { margin-top: auto; font-size: 1rem; letter-spacing: 0; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .hero { padding-top: 7rem; justify-content: center; }
  .hero-title { font-size: clamp(3.6rem,18vw,7rem); }
  .title-line { white-space: nowrap; }
  .title-line:nth-child(2) { margin-left: 0; }
  .hero-glow { opacity: .8; }
  .orbital { width: 120vw; left: 56%; }
  .orbital-two { width: 90vw; }
  .hero-core { width: 100vw; }
  .hero-footer { margin-left: 0; margin-top: 3rem; align-items: center; gap: .75rem; }
  .hero-footer p { max-width: 9.5rem; }
  .circle-link { width: 4.75rem; height: 4.75rem; flex: 0 0 auto; }
  .hero-index { display: none; }
  .section-kicker { margin-bottom: 3.5rem; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .display-copy { font-size: clamp(2.8rem,13vw,5rem); }
  .service-row { grid-template-columns: 2.5rem 1fr auto; min-height: 7.5rem; }
  .service-row p { display: none; }
  .work-heading { display: block; }
  .work-heading p { margin-top: 2rem; }
  .project-grid { grid-template-columns: 1fr; }
  .project-large { grid-column: auto; }
  .project-large .project-visual, .project-visual { aspect-ratio: 4/3; }
  .contact { min-height: 80svh; }
  .contact-copy br { display: none; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p:nth-child(2) { display: none; }
  .site-footer p:last-child { display: block; text-align: right; line-height: 2; }
  .site-footer p:last-child a { display: block; }
}

@media (max-width: 420px) {
  .hero-title { font-size: clamp(2.8rem,15vw,4rem); }
  .hero-footer p { font-size: .82rem; }
  .section { padding-block: 6rem; }
}
