/* ============================================================
   ETA SEOUL — Slate Navy
   Trust-leaning palette, refined editorial card system.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- Tokens ---------- */
:root {
  /* Slate Navy palette */
  --paper:      #f3f4f6;
  --paper-alt:  #fafbfd;
  --ink:        #0f1320;
  --accent:     oklch(0.36 0.08 255);
  --accent-soft:oklch(0.36 0.08 255 / 0.14);
  --muted:      #565b6a;
  --dim:        #9aa0ae;
  --line:       rgba(15,19,32,0.10);
  --line-2:     rgba(15,19,32,0.06);

  /* Type families */
  --sans: "Pretendard", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Inter", "Pretendard", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Utility ---------- */
.accent { color: var(--accent); }
.muted  { color: var(--muted); }
.dim    { color: var(--dim); }
.mono   { font-family: var(--mono); }
.display{ font-family: var(--display); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 56px;
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav__links {
  display: flex;
  gap: 40px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-current { color: var(--accent); }
.nav__lang {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.nav__lang .active { color: var(--accent); }
.nav__lang .inactive { color: var(--dim); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 144px 56px 128px;
}
.hero__title {
  font-family: var(--display);
  font-size: 124px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero__title .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  vertical-align: 18px;
  margin: 0 22px;
}
.hero__title .suffix {
  color: var(--accent);
  white-space: nowrap;
}
.hero__title .suffix .em {
  position: relative;
  z-index: 1;
}
.hero__title .suffix .em::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 8px;
  height: 14px;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 2px;
}

.hero__sub {
  margin-top: 96px;
}
.hero__sub p {
  font-size: 30px;
  line-height: 1.45;
  font-weight: 500;
  max-width: 760px;
  letter-spacing: -0.005em;
}
.hero__sub strong {
  color: var(--accent);
  font-weight: 700;
}
.hero__meta {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.85;
}
.hero__meta b {
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   SECTIONS (Owned · Client Work · People)
   ============================================================ */
.section {
  padding: 96px 56px;
}
.section--tight { padding-top: 32px; }

.section__title {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.section__title .accent-dot { color: var(--accent); }

/* ============================================================
   OWNED COMPOSITE
   Two adjacent cards (cream + dark) with an ink shadow shape
   offset behind them.
   ============================================================ */
.owned {
  position: relative;
  padding-right: 16px;
  padding-bottom: 16px;
  transition: transform 0.25s ease;
}
.owned:hover { transform: translate(-3px, -3px); }
.owned__shadow {
  position: absolute;
  z-index: 0;
  top: 16px;
  left: 16px;
  right: 0;
  bottom: 0;
  background: var(--ink);
}
.owned__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  min-height: 360px;
}

.owned__cream {
  background: var(--paper-alt);
  border: 1px solid var(--ink);
  border-right: 0;
  padding: 36px 44px 40px;
  display: flex;
  flex-direction: column;
}
.owned__live-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.pill {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 600;
}
.live {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.owned__name {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.owned__acq {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 14px;
  font-weight: 500;
}

.stack {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.stack__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.005em;
  transition: border-color 0.2s ease;
}
.chip:hover { border-color: var(--accent); }

.owned__dark {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.owned__dark .m-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-bottom: 16px;
}
.owned__dark .delta {
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--accent);
  text-transform: uppercase;
}
.owned__dark .flow {
  font-size: 20px;
  color: rgba(255,255,255,0.78);
  margin-top: 16px;
  font-variant-numeric: tabular-nums;
}
.owned__dark .flow .arrow { color: rgba(255,255,255,0.4); margin: 0 10px; }
.owned__dark .flow .to    { color: var(--accent); font-weight: 600; }
.owned__dark .caption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  margin-top: 14px;
}

/* ============================================================
   CLIENT WORK — desktop grid / mobile carousel
   ============================================================ */
.clients { position: relative; }
.clients__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.clients__nav { display: none; }

.client-card {
  min-height: 220px;
  padding: 28px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.client-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}
.client-card__ix {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.client-card__ix .ix__num { letter-spacing: 0.18em; }
.client-card__ix .ix__tag {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.client-card__ix .ix__tag::before {
  content: '—';
  margin-right: 8px;
  color: var(--dim);
}
.client-card__name {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 12px;
}
.client-card__desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 144px 56px 128px;
  text-align: center;
}
.cta__head {
  font-family: var(--display);
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 1000px;
  margin: 0 auto;
}
.cta__head .brand {
  color: var(--accent);
  font-weight: 700;
}
.cta__form {
  max-width: 520px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.cta__input {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.cta__input::placeholder { color: var(--dim); font-weight: 400; }
.cta__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.cta__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--accent);
  color: var(--paper);
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.cta__btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--accent-soft);
}
.cta__btn:disabled { opacity: 0.6; cursor: default; }
.cta__btn .arr {
  display: inline-block;
  transition: transform 0.2s ease;
}
.cta__btn:hover:not(:disabled) .arr { transform: translateX(4px); }

.cta__msg {
  max-width: 520px;
  margin: 24px auto 0;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  border: 1px solid var(--line);
}
.cta__msg--success {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: transparent;
}
.cta__msg--error {
  color: #a4262c;
  background: rgba(164, 38, 44, 0.06);
  border-color: rgba(164, 38, 44, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  display: flex;
  justify-content: space-between;
  padding: 32px 56px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

/* ============================================================
   PEOPLE
   ============================================================ */
.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 80px 56px 96px;
}
.person {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.person:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}
.person__role-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}
.person__role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
  font-weight: 600;
}
.person__ix {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
}
.person__name {
  font-family: var(--display);
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 32px;
}
.person__bio {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}
.person__focus {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.person__focus-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE (tablet)
   ============================================================ */
@media (max-width: 900px) {
  .nav      { padding: 18px 20px; }
  .nav__links { gap: 24px; font-size: 12.5px; }
  .nav__lang { font-size: 11px; }

  .hero     { padding: 80px 20px 72px; }
  .hero__title { font-size: 56px; }
  .hero__title .dot { width: 6px; height: 6px; vertical-align: 8px; margin: 0 12px; }
  .hero__title .suffix { white-space: normal; }
  .hero__title .suffix .em::after { bottom: 4px; height: 10px; }
  .hero__sub { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .hero__sub p { font-size: 20px; }
  .hero__meta { text-align: left; }

  .section, .section--tight { padding: 64px 20px; }
  .section__title { font-size: 36px; margin-bottom: 32px; }

  .owned__cards { grid-template-columns: 1fr; min-height: 0; }
  .owned__cream { border-right: 1px solid var(--ink); border-bottom: 0; padding: 28px 24px; }
  .owned__dark { padding: 32px 24px; }
  .owned__dark .delta { font-size: 52px; }
  .owned__name { font-size: 36px; }

  .clients__track {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin: 0 -20px;
    padding: 4px 32px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .clients__track::-webkit-scrollbar { display: none; }

  .client-card {
    flex: 0 0 calc(100vw - 64px);
    min-height: 220px;
    padding: 26px;
    scroll-snap-align: center;
  }
  .client-card__name { font-size: 26px; }

  .clients__nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
  }
  .clients__btn {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(15, 19, 32, 0.18);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    box-shadow:
      0 12px 28px rgba(15, 19, 32, 0.28),
      0 2px 6px rgba(15, 19, 32, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .clients__btn[data-clients-prev] { left: 14px; }
  .clients__btn[data-clients-next] { right: 14px; }
  .clients__btn:hover:not(:disabled) { background: rgba(255, 255, 255, 1); box-shadow: 0 14px 32px rgba(15, 19, 32, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
  .clients__btn:active:not(:disabled) { transform: translateY(-50%) scale(0.94); }
  .clients__btn:disabled { opacity: 0.35; cursor: default; box-shadow: 0 4px 10px rgba(15, 19, 32, 0.1); }

  .cta { padding: 80px 20px; }
  .cta__head { font-size: 32px; }
  .cta__form { margin-top: 40px; }
  .cta__btn { padding: 16px 26px; font-size: 15px; margin-top: 4px; }
  .cta__input { font-size: 15px; padding: 14px 16px; }

  .footer { padding: 24px 20px; flex-direction: column; gap: 8px; }

  .people { grid-template-columns: 1fr; padding: 48px 20px 64px; }
  .person { padding: 32px 24px; }
  .person__name { font-size: 56px; }
  .person__bio { font-size: 16px; }
}

/* ============================================================
   RESPONSIVE (mobile)
   ============================================================ */
@media (max-width: 520px) {
  .nav { padding: 14px 16px; }
  .nav__brand { font-size: 15px; }
  .nav__links { gap: 18px; font-size: 12px; }
  .nav__lang { font-size: 10.5px; letter-spacing: 0.12em; }

  .hero { padding: 56px 16px 52px; }
  .hero__title { font-size: 38px; line-height: 1.05; letter-spacing: -0.03em; }
  .hero__title .dot { width: 5px; height: 5px; vertical-align: 5px; margin: 0 8px; }
  .hero__title .suffix .em::after { bottom: 2px; height: 7px; }
  .hero__sub { margin-top: 36px; gap: 20px; }
  .hero__sub p { font-size: 17px; line-height: 1.5; }

  .section, .section--tight { padding: 48px 16px; }
  .section__title { font-size: 28px; margin-bottom: 24px; }

  .owned { padding-right: 8px; padding-bottom: 8px; }
  .owned__shadow { top: 8px; left: 8px; }
  .owned__cream { padding: 22px 18px; }
  .owned__dark { padding: 24px 18px; }
  .owned__dark .delta { font-size: 40px; }
  .owned__dark .flow { font-size: 16px; }
  .owned__dark .caption { font-size: 12px; }
  .owned__name { font-size: 28px; }
  .owned__live-row { margin-bottom: 20px; }
  .pill, .live { font-size: 11.5px; }
  .stack { margin-top: 22px; }
  .chip { font-size: 12px; padding: 6px 10px; }

  .clients__track { margin: 0 -16px; padding: 4px 24px; gap: 12px; }
  .client-card { flex-basis: calc(100vw - 48px); min-height: 200px; padding: 22px; }
  .client-card__name { font-size: 22px; }
  .client-card__desc { font-size: 14px; }
  .clients__btn { width: 38px; height: 38px; font-size: 14px; }
  .clients__btn[data-clients-prev] { left: 8px; }
  .clients__btn[data-clients-next] { right: 8px; }

  .cta { padding: 56px 16px; }
  .cta__head { font-size: 24px; line-height: 1.3; }
  .cta__form { margin-top: 32px; gap: 10px; }
  .cta__btn { padding: 14px 22px; font-size: 14px; margin-top: 2px; }
  .cta__input { font-size: 14px; padding: 12px 14px; }
  .cta__textarea { min-height: 100px; }
  .cta__msg { font-size: 14px; padding: 14px 16px; }

  .footer { padding: 20px 16px; font-size: 10.5px; }

  .people { padding: 32px 16px 48px; gap: 16px; }
  .person { padding: 26px 20px; }
  .person__role-row { margin-bottom: 24px; }
  .person__name { font-size: 40px; margin-bottom: 24px; }
  .person__bio { font-size: 15px; line-height: 1.65; }
  .person__focus { margin-top: 28px; padding-top: 20px; }
}
