/* ════════════════════════════════════════════════════════════
   aONE pack — Spectrum (full site)
   Dark, slick, studio-grade. Ring motif as ambient, not subject.
   ════════════════════════════════════════════════════════════ */

:root {
  --bg: #050507;
  --bg-2: #0a0a0f;
  --panel: #0f0f14;
  --panel-2: #14141a;
  --line: rgba(240,240,242,.08);
  --line-2: rgba(240,240,242,.16);
  --ink: #f0f0f2;
  --ink-2: rgba(240,240,242,.62);
  --ink-3: rgba(240,240,242,.34);
  --ink-4: rgba(240,240,242,.14);
  /* Single brand accent — pulled from business card cyan, desaturated */
  --accent: #7cd8ff;
  --accent-2: #5ac5f2;
  --accent-glow: rgba(124,216,255,.3);
  /* Ambient ring palette — from business card, used ONLY as atmosphere */
  --r1: #00b7e0;
  --r2: #d93f92;
  --r3: #e8b930;
  --r4: #3fb979;
  --r5: #e06b2e;
  --r6: #8b5ad9;
  --sans: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --kr: 'Noto Sans KR', sans-serif;
  --container: 1440px;
  --pad: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #000; }
em { font-style: normal; }

/* Noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.08 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ─── Loader ─── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  gap: 24px;
  grid-auto-flow: row;
  transition: opacity .7s ease, visibility .7s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-brand {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.loader-brand em { font-weight: 300; opacity: .5; }
.loader-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--r1), var(--r2), var(--r3), var(--r4), var(--r5), var(--r6), var(--r1));
  box-shadow: 0 0 14px var(--accent-glow);
  animation: spin 6s linear infinite;
}
.loader-bar {
  width: 280px; height: 2px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.loader-fill {
  width: 0; height: 100%;
  background: var(--accent);
  transition: width .2s ease-out;
}
.loader-pct {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--ink-3);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Ambient rings ─── */
.ambient {
  position: fixed;
  top: 50%; right: -20%;
  transform: translateY(-50%);
  width: 90vh; height: 90vh;
  max-width: 1100px; max-height: 1100px;
  z-index: 0;
  pointer-events: none;
  opacity: .38;
  filter: blur(.2px);
}
.ambient svg { width: 100%; height: 100%; overflow: visible; }
.ambient .r {
  fill: none;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 14px currentColor);
  transform-origin: center;
}
.ambient .r1 { stroke: var(--r1); color: var(--r1); animation: drift1 28s linear infinite; }
.ambient .r2 { stroke: var(--r2); color: var(--r2); animation: drift2 34s linear infinite reverse; }
.ambient .r3 { stroke: var(--r3); color: var(--r3); animation: drift1 42s linear infinite; }
.ambient .r4 { stroke: var(--r4); color: var(--r4); animation: drift2 50s linear infinite reverse; }
.ambient .r5 { stroke: var(--r5); color: var(--r5); animation: drift1 58s linear infinite; }
.ambient .r6 { stroke: var(--r6); color: var(--r6); animation: drift2 66s linear infinite reverse; }
@keyframes drift1 {
  0%,100% { transform: rotate(0deg) translate(0,0); }
  50%     { transform: rotate(180deg) translate(2%,-2%); }
}
@keyframes drift2 {
  0%,100% { transform: rotate(0deg) translate(0,0); }
  50%     { transform: rotate(-180deg) translate(-2%,2%); }
}

/* Content sits above ambient */
header.site-header, main, section, footer { position: relative; z-index: 2; }

/* ─── Header ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(5,5,7,.85), rgba(5,5,7,.45) 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.brand em { font-weight: 300; opacity: .55; }
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--r1), var(--r2), var(--r3), var(--r4), var(--r5), var(--r6), var(--r1));
  box-shadow: 0 0 12px var(--accent-glow);
}
.primary-nav {
  display: flex; gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.primary-nav a {
  padding: 8px 14px;
  border-radius: 100px;
  color: var(--ink-2);
  transition: color .3s, background .3s;
}
.primary-nav a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.header-right {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
}
.live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-2);
  text-transform: uppercase;
  font-size: 10px;
}
.live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #4ed98a; box-shadow: 0 0 8px #4ed98a;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.lang-toggle {
  display: flex; gap: 4px; align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: border-color .3s;
}
.lang-toggle:hover { border-color: var(--line-2); }
.lang-toggle .on { color: var(--ink); }
.lang-toggle .off { color: var(--ink-3); }
.lang-toggle .sep { color: var(--ink-3); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 24px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn .arr { transition: transform .3s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: var(--ink);
  color: #000;
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.btn-ghost {
  border-color: var(--ink-4);
  color: var(--ink-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  padding: 120px var(--pad) 48px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.hero-top .tag {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
  background: rgba(124,216,255,.06);
  border: 1px solid rgba(124,216,255,.22);
  padding: 8px 14px;
  border-radius: 100px;
}
.hero-top .chip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hero-middle {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.hero-title {
  font-weight: 500;
  font-size: clamp(3rem, 8.5vw, 9.5rem);
  line-height: .92;
  letter-spacing: -0.04em;
  display: flex; flex-direction: column;
}
.hero-title .line { display: block; }
.hero-title .gradient {
  background: linear-gradient(100deg, var(--ink) 0%, var(--accent) 55%, var(--ink) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink-2);
  font-weight: 300;
}
.hero-side {
  padding-bottom: 16px;
  display: flex; flex-direction: column; gap: 20px;
  max-width: 44ch;
}
.hero-lede {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}
.hero-kr {
  font-family: var(--kr);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.75;
}
.hero-ctas {
  display: flex; gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.meta-cell {
  background: var(--bg);
  padding: 24px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.meta-cell .k {
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.meta-cell .k em {
  font-family: var(--mono);
  font-size: .4em;
  font-weight: 500;
  color: var(--accent);
  margin-left: 4px;
  vertical-align: super;
}
.meta-cell .v {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.45;
}

/* ─── Marquee strip ─── */
.marquee-strip {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 24px 0;
  background: linear-gradient(180deg, transparent, rgba(124,216,255,.03), transparent);
}
.marquee-track {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  animation: scroll 50s linear infinite;
  width: max-content;
}
.marquee-track span:nth-child(odd) { color: var(--ink); }
.marquee-track span:nth-child(even) { color: var(--ink-3); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Block scaffolding ─── */
.block {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14vh var(--pad);
  border-top: 1px solid var(--line);
}
.block-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 72px;
  align-items: baseline;
}
.block-head .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
}
.block-head h2 {
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.block-head h2 em {
  color: var(--ink-2);
  font-weight: 300;
}
.block-head .head-sub {
  grid-column: 2;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 58ch;
}

/* ─── About ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
}
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy .big {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.about-copy .big strong {
  font-weight: 600;
  color: var(--accent);
}
.about-copy p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  max-width: 60ch;
  text-wrap: pretty;
}
.about-side {
  display: flex; flex-direction: column; gap: 12px;
}
.about-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  transition: border-color .3s;
}
.about-card:hover { border-color: var(--line-2); }
.about-card .card-h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.about-card .card-name {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.about-card .card-name .kr {
  font-family: var(--kr);
  font-weight: 300;
  color: var(--ink-3);
  margin-left: 8px;
  font-size: 14px;
}
.about-card .card-body {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ─── Capabilities ─── */
.cap-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.cap-row {
  display: grid;
  grid-template-columns: 80px 260px 1fr 240px;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding .4s cubic-bezier(.2,.8,.2,1), background .4s;
  cursor: default;
}
.cap-row:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(124,216,255,.04), transparent 70%);
}
.cap-idx {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .05em;
  padding-top: 4px;
}
.cap-title h3 {
  font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.cap-title .kr {
  font-family: var(--kr);
  font-weight: 300;
  color: var(--ink-3);
  font-size: 14px;
}
.cap-body {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  max-width: 54ch;
  text-wrap: pretty;
}
.cap-specs {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-2);
  padding-top: 6px;
}
.cap-specs span::before {
  content: '— ';
  color: var(--accent);
  margin-right: 6px;
}

/* ─── Case ─── */
.case-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.case-media {
  position: relative;
  min-height: 580px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 30%, rgba(124,216,255,.12), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(217,63,146,.08), transparent 55%),
    repeating-linear-gradient(45deg, rgba(240,240,242,.02) 0 2px, transparent 2px 14px),
    var(--panel);
  overflow: hidden;
  display: grid; place-items: center;
}
.case-media .media-mark {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--ink-2);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.case-media .media-mark::before {
  content: ''; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.case-media .media-label {
  position: absolute;
  bottom: 20px; left: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.case-media .media-rings {
  width: 60%;
  aspect-ratio: 1;
  opacity: .6;
}
.case-media .media-rings svg { width: 100%; height: 100%; overflow: visible; }
.case-media .media-rings .mr1 { color: var(--r1); animation: drift1 40s linear infinite; transform-origin: center; filter: drop-shadow(0 0 10px var(--r1)); }
.case-media .media-rings .mr2 { color: var(--r2); animation: drift2 48s linear infinite reverse; transform-origin: center; filter: drop-shadow(0 0 10px var(--r2)); }
.case-media .media-rings .mr3 { color: var(--r3); animation: drift1 56s linear infinite; transform-origin: center; filter: drop-shadow(0 0 10px var(--r3)); }

.case-info { display: flex; flex-direction: column; gap: 20px; }
.case-h {
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.case-h em { color: var(--accent); }
.case-p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  max-width: 58ch;
  text-wrap: pretty;
}
.case-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 8px;
}
.case-specs .s {
  background: var(--bg);
  padding: 18px 20px;
}
.case-specs .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.case-specs .v {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.case-specs .v .u {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

/* ─── Selected work ─── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.work-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s;
}
.work-item:hover { transform: translateY(-4px); border-color: var(--line-2); }
.work-item .work-media {
  width: 100%;
  aspect-ratio: var(--ratio, 4/5);
  background:
    radial-gradient(circle at 30% 30%, rgba(124,216,255,.1), transparent 60%),
    repeating-linear-gradient(45deg, rgba(240,240,242,.02) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #1a1a20, #0a0a0d);
  position: relative;
}
.work-item .work-media::after {
  content: attr(data-label);
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.work-item .work-meta {
  display: flex; justify-content: space-between;
  padding: 14px 18px 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.work-item .work-meta .cat { color: var(--accent); }
.work-item .work-meta .ref { color: var(--ink-3); }
.work-item .work-title {
  padding: 0 18px 18px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.work-item .work-title em { color: var(--ink-2); }
.w-tall { grid-column: span 4; --ratio: 3/4; }
.w-wide { grid-column: span 8; --ratio: 16/10; }
.w-sq   { grid-column: span 4; --ratio: 4/4; }
.selected-foot {
  margin-top: 48px;
  display: flex; justify-content: center;
}

/* ─── Process ─── */
.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.process-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  background: var(--bg);
  padding: 36px 32px;
  transition: background .3s;
  position: relative;
}
.process-item:hover { background: var(--panel); }
.process-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s ease;
}
.process-item:hover::before { transform: scaleY(1); }
.p-num {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.p-body h3 {
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.p-body p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  max-width: 72ch;
  margin-bottom: 12px;
}
.p-dur {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ─── Quote ─── */
.quote-block {
  padding: 16vh var(--pad);
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.quote-block blockquote {
  max-width: 32ch;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote p {
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.quote-block blockquote p em {
  color: var(--accent);
  font-style: normal;
}
.quote-block blockquote footer {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.quote-block blockquote footer .q-name { color: var(--ink); }

/* ─── Contact ─── */
.contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-left { padding-top: 8px; }
.contact-left .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.contact-left h2 {
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.contact-left h2 em {
  color: var(--ink-2);
  font-weight: 300;
}
.contact-lede {
  margin-top: 28px;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}
.contact-actions {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.contact-card .card-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.contact-card .c-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
}
.contact-card .c-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: #4ed98a;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.contact-card .c-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #4ed98a; box-shadow: 0 0 8px #4ed98a;
}
.contact-card .c-rows { display: grid; grid-template-columns: 1fr; }
.contact-card .c-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-card .c-row:last-child { border-bottom: 0; }
.contact-card .c-k {
  width: 22px; height: 22px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  display: grid; place-items: center;
  border-radius: 50%;
}
.contact-card .c-v {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: .02em;
}
.contact-card .c-addr {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-family: var(--kr);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
}
.contact-card .c-ceo {
  margin-top: 14px;
  font-weight: 500;
  font-size: 15px;
}
.contact-card .c-ceo .kr {
  font-family: var(--kr);
  font-weight: 300;
  color: var(--ink-3);
  margin-left: 8px;
}

/* ─── Footer ─── */
.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--pad) 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.footer-lockup {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  flex-wrap: wrap;
}
.footer-lockup .fl-brand {
  font-weight: 500;
  font-size: clamp(3rem, 10vw, 9rem);
  line-height: .9;
  letter-spacing: -0.04em;
}
.footer-lockup .fl-brand em { font-weight: 300; color: var(--ink-2); }
.footer-lockup .fl-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.fg .fg-h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.fg a {
  display: block;
  padding: 6px 0;
  color: var(--ink);
  font-size: 14px;
  transition: color .3s;
}
.fg a:hover { color: var(--accent); }
.footer-colophon {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .hero-middle { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-layout { grid-template-columns: 1fr; }
  .case-media { min-height: 420px; }
  .cap-row { grid-template-columns: 50px 1fr; grid-auto-rows: auto; gap: 12px 20px; padding: 24px 0; }
  .cap-row .cap-body, .cap-row .cap-specs { grid-column: 2; }
  .contact { grid-template-columns: 1fr; }
  .primary-nav { display: none; }
}
@media (max-width: 900px) {
  :root { --pad: 20px; }
  .hero { padding-top: 100px; gap: 32px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .meta-cell { padding: 18px 16px; gap: 12px; grid-template-columns: 1fr; }
  .block-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .block-head .head-sub { grid-column: 1; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .w-tall, .w-wide, .w-sq { grid-column: span 2; --ratio: 4/3; }
  .process-item { grid-template-columns: 1fr; gap: 12px; padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-specs { grid-template-columns: 1fr; }
  .hero-top { flex-direction: column; gap: 10px; align-items: flex-start; }
  .hero-top .doc-id { order: -1; }
  .footer-colophon { flex-direction: column; gap: 8px; }
  .live { display: none; }
}
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .w-tall, .w-wide, .w-sq { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-header { padding: 12px 16px; }
  .header-right .lang-toggle { padding: 5px 10px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ambient .r, .mr1, .mr2, .mr3, .marquee-track, .loader-dot, .hero-title .gradient {
    animation: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   Spectrum layer — vibrant colour integrated gracefully
   Each content block carries a distinct hue from the ring palette,
   so the page reads as a quiet rainbow rather than monochrome cyan.
   ════════════════════════════════════════════════════════════ */

/* Per-section accent overrides. Because almost every styled element
   (kicker, cap-idx, spec dashes, process num, left rule, c-k circle,
   fg-h, h2 em on hover-class helpers, etc.) already pulls from
   var(--accent), a single scoped override re-tints the whole block. */
.block.about        { --accent: #3fb979; --accent-2: #2fa56b; --accent-glow: rgba(63,185,121,.28); }
.block.capabilities { --accent: #7cd8ff; --accent-2: #5ac5f2; --accent-glow: rgba(124,216,255,.28); }
.block.case-block   { --accent: #e663a8; --accent-2: #d93f92; --accent-glow: rgba(230,99,168,.28); }
.block.selected     { --accent: #a07de8; --accent-2: #8b5ad9; --accent-glow: rgba(160,125,232,.28); }
.block.process      { --accent: #f0c84a; --accent-2: #e8b930; --accent-glow: rgba(240,200,74,.28); }
.block.contact      { --accent: #ef8452; --accent-2: #e06b2e; --accent-glow: rgba(239,132,82,.28); }
.quote-block        { --accent: #d08aff; --accent-glow: rgba(208,138,255,.28); }

/* Per-row hover wash uses the row's own accent, so the tint under
   the mouse matches the discipline's colour instead of a flat cyan. */
.cap-row:hover {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 9%, transparent),
    transparent 70%);
}

/* Each capability row gets its own hue. This is where the page feels
   the most vibrant — six colours cascading down, one per discipline. */
.cap-row:nth-child(1) { --accent: #7cd8ff; --accent-glow: rgba(124,216,255,.28); }
.cap-row:nth-child(2) { --accent: #e663a8; --accent-glow: rgba(230,99,168,.28); }
.cap-row:nth-child(3) { --accent: #f0c84a; --accent-glow: rgba(240,200,74,.28); }
.cap-row:nth-child(4) { --accent: #3fb979; --accent-glow: rgba(63,185,121,.28); }
.cap-row:nth-child(5) { --accent: #ef8452; --accent-glow: rgba(239,132,82,.28); }
.cap-row:nth-child(6) { --accent: #a07de8; --accent-glow: rgba(160,125,232,.28); }

/* Work tiles: rotate through the palette so each card's category
   label reads in its own colour. */
.work-item:nth-child(6n+1) { --accent: #7cd8ff; }
.work-item:nth-child(6n+2) { --accent: #e663a8; }
.work-item:nth-child(6n+3) { --accent: #f0c84a; }
.work-item:nth-child(6n+4) { --accent: #3fb979; }
.work-item:nth-child(6n+5) { --accent: #a07de8; }
.work-item:nth-child(6n+6) { --accent: #ef8452; }
/* And a matching hint behind each tile. */
.work-item .work-media {
  background:
    radial-gradient(circle at 30% 30%,
      color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    repeating-linear-gradient(45deg, rgba(240,240,242,.02) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #1a1a20, #0a0a0d);
}

/* Process items: each stage in its own colour, so the coloured left rule
   and the numeral read as a progression down the list. */
.process-item:nth-child(1) { --accent: #7cd8ff; }
.process-item:nth-child(2) { --accent: #e663a8; }
.process-item:nth-child(3) { --accent: #f0c84a; }
.process-item:nth-child(4) { --accent: #3fb979; }
.process-item:nth-child(5) { --accent: #a07de8; }

/* Hero stat cells: four different accent hues on the `em` subscripts. */
.hero-meta .meta-cell:nth-child(1) .k em { color: #7cd8ff; }
.hero-meta .meta-cell:nth-child(2) .k em { color: #e663a8; }
.hero-meta .meta-cell:nth-child(3) .k em { color: #f0c84a; }
.hero-meta .meta-cell:nth-child(4) .k em { color: #3fb979; }

/* Hero gradient line — rainbow sweep across the palette. Keeps the
   shimmer animation that was already on this class. */
.hero-title .gradient {
  background: linear-gradient(100deg,
    var(--ink) 0%,
    #7cd8ff 18%,
    #e663a8 36%,
    #f0c84a 54%,
    #3fb979 72%,
    #a07de8 88%,
    var(--ink) 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 10s ease-in-out infinite;
}

/* Marquee: let the odd-position tags cycle through the palette —
   subtle because the strip is already dim. */
.marquee-track span:nth-child(12n+1)  { color: #7cd8ff; }
.marquee-track span:nth-child(12n+3)  { color: #e663a8; }
.marquee-track span:nth-child(12n+5)  { color: #f0c84a; }
.marquee-track span:nth-child(12n+7)  { color: #3fb979; }
.marquee-track span:nth-child(12n+9)  { color: #a07de8; }
.marquee-track span:nth-child(12n+11) { color: #ef8452; }
.marquee-strip {
  background: linear-gradient(180deg,
    transparent,
    rgba(124,216,255,.025) 25%,
    rgba(230,99,168,.025) 50%,
    rgba(240,200,74,.025) 75%,
    transparent);
}

/* Footer columns: each column header in its own hue. */
.footer-grid .fg:nth-child(1) .fg-h { color: #7cd8ff; }
.footer-grid .fg:nth-child(2) .fg-h { color: #e663a8; }
.footer-grid .fg:nth-child(3) .fg-h { color: #f0c84a; }
.footer-grid .fg:nth-child(4) .fg-h { color: #3fb979; }

/* Footer anchor hover still uses the column's colour because --accent
   cascades down — no extra rule needed. Similarly every nth-child
   override on a parent block automatically colours the kicker,
   idx numbers, dashes, and left rules inside it. */

/* About copy: swap the single accent on <strong> for the green Studio hue,
   which we've already scoped. The <em> in the h2 now reads muted ink,
   so the coloured bits don't fight each other — the kicker + strong
   are enough punctuation. */
.about-copy .big strong { color: var(--accent); }

/* Case-media tint picks up the section's pink hue automatically via
   the scoped accent, but the hard-coded rgba in the original rule
   doesn't cascade. Replace those with accent-based mixes. */
.case-media {
  background:
    radial-gradient(circle at 30% 30%,
      color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(circle at 80% 80%,
      color-mix(in srgb, var(--accent) 10%, transparent), transparent 55%),
    repeating-linear-gradient(45deg, rgba(240,240,242,.02) 0 2px, transparent 2px 14px),
    var(--panel);
}

/* Hero tag chip — keep the cyan here, it's the brand's baseline colour
   outside the content blocks. Nothing to change. */

/* The Korean hero paragraph should vanish when the main lede is
   already Korean — JS sets the `hidden` attr, this makes sure that
   hidden wins over the flex-container display. */
.hero-kr[hidden] { display: none !important; }

/* Graceful fallback for browsers without color-mix() support: most
   evergreen browsers ship it since 2023, but if it ever fails the
   page still renders — the fallback is just a transparent gradient
   layer (no tint), which looks clean, not broken. */
@supports not (background: color-mix(in srgb, red, blue)) {
  .work-item .work-media,
  .case-media {
    background:
      radial-gradient(circle at 30% 30%, rgba(124,216,255,.1), transparent 60%),
      repeating-linear-gradient(45deg, rgba(240,240,242,.02) 0 2px, transparent 2px 14px),
      linear-gradient(180deg, #1a1a20, #0a0a0d);
  }
}
