/* ============================================================
   AUDIAS — Auditory & Multisensory Experience Design
   Design system / global stylesheet
   ============================================================ */

/* ---- Fonts ------------------------------------------------ */
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

/* ---- Tokens ----------------------------------------------- */
:root {
  /* Base */
  --ink: #0a0a0c;          /* jet black */
  --ink-2: #111218;        /* raised black */
  --navy: #0d1626;         /* deep navy */
  --navy-2: #111d33;       /* raised navy */
  --line: rgba(242, 241, 237, 0.12);
  --line-soft: rgba(242, 241, 237, 0.07);

  /* Light */
  --off: #f3f2ee;          /* off white */
  --off-dim: rgba(243, 242, 238, 0.62);
  --off-faint: rgba(243, 242, 238, 0.40);

  /* Accent */
  --ro: #ff4a26;           /* AUDIAS red-orange */
  --ro-bright: #ff6a44;
  --ro-deep: #e23c1c;
  --blue: #4178ff;         /* airy blue — sparse */

  /* Greys */
  --cool-grey: #5a5d66;
  --metal-grey: #3a3c43;

  /* Type */
  --font-en: "Inter", -apple-system, system-ui, sans-serif;
  --font-kr: "Pretendard", "Inter", -apple-system, system-ui, sans-serif;

  /* Layout */
  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.55s;
}

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  font-family: var(--font-en);
  background: var(--ink);
  color: var(--off);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:lang(ko), .kr { font-family: var(--font-kr); }
/* Korean: break on word boundaries (어절), never mid-word; nicer rag */
.kr, [lang="ko"] { word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
::selection { background: var(--ro); color: #fff; }

/* ---- Typography ------------------------------------------- */
.display {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ro);
}
.kr { line-height: 1.78; letter-spacing: -0.01em; font-weight: 400; }

/* ---- Layout ----------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 168px); position: relative; }
.section--navy { background: var(--navy); }
.section--ink { background: var(--ink); }
.divline { height: 1px; background: var(--line); border: 0; }

/* ============================================================
   Header
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10, 10, 12, 0.62);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s var(--ease);
}
.nav__inner { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__logo { height: 23px; width: auto; display: block; transition: opacity 0.3s var(--ease); }
.brand:hover .brand__logo { opacity: 0.82; }
.brand__mark { width: 26px; height: 26px; }
.foot__brand .brand__logo { height: 34px; }
.brand__word {
  font-weight: 700; font-size: 1.18rem; letter-spacing: 0.02em;
}
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-size: 0.92rem; font-weight: 500; color: var(--off-dim);
  position: relative; padding: 6px 0; transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ro); transition: width 0.35s var(--ease);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--off); }
.nav__link.is-active { color: var(--off); }
.nav__link.is-active::after { width: 100%; }
/* underline follows the hovered item (and retracts the active one) */
.nav__link:hover::after, .nav__link:focus-visible::after { width: 100%; }
.nav__links:hover .nav__link.is-active:not(:hover)::after { width: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em;
  padding: 0.72em 1.25em; border-radius: 100px;
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--off); background: transparent;
  border: 1px solid var(--ro);
  transition: transform 0.3s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
/* orange fill that wipes up on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ro); border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover { color: #fff; border-color: var(--ro); transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }
/* primary: same animated behaviour, starts outlined like the rest */
.btn--primary { color: var(--off); }
.btn--primary:hover { color: #fff; }
.btn--ghost { border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ro); }
.btn--lg { font-size: 1rem; padding: 0.95em 1.7em; }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.nav__burger { display: none; width: 30px; height: 30px; position: relative; }
.nav__burger span {
  position: absolute; left: 3px; right: 3px; height: 1.6px; background: var(--off);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav__burger span:nth-child(1) { top: 10px; }
.nav__burger span:nth-child(2) { bottom: 10px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu sheet */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 90;
  max-height: calc(100dvh - var(--nav-h));
  background: var(--ink); border-bottom: 1px solid var(--line);
  box-shadow: 0 26px 50px rgba(0,0,0,0.5);
  padding: clamp(16px, 3vh, 28px) var(--gutter) clamp(22px, 4vh, 32px);
  display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
/* dim backdrop — homepage stays visible behind the menu, tap to close */
body.menu-open::after {
  content: ""; position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; z-index: 89;
  background: rgba(8, 9, 12, 0.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  animation: backdropIn 0.3s var(--ease);
}
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu a:not(.btn) {
  font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; text-align: center;
  padding: 14px 0; color: var(--off-dim); border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a.is-active { color: var(--ro); }
/* "Start a Project" duplicates Contact — hide it in the mobile menu */
.mobile-menu .btn { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 96px)); padding-bottom: clamp(60px, 9vw, 120px); position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(3rem, 8.2vw, 7.2rem);
}
.hero__title .line2 { color: var(--off-faint); }
.hero__lead { max-width: 30em; margin-top: 28px; color: var(--off-dim); font-size: clamp(1rem, 1.25vw, 1.18rem); }
.hero__kr { max-width: 30em; margin-top: 18px; font-size: 0.96rem; color: var(--off-faint); }
.hero__cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

/* keyword row */
.kwrow { display: flex; flex-wrap: wrap; gap: 10px 8px; margin-top: 44px; }
.kw {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.03em;
  color: var(--off-faint); padding: 2px 2px; position: relative;
  transition: color 0.35s var(--ease);
}
.kw::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px;
  background: var(--ro); transition: right 0.4s var(--ease);
}
.kwrow .kw + .kw::before { content: "·"; color: var(--off-faint); margin-right: 8px; opacity: 0.5; }
.kw.is-active { color: var(--ro); }
.kw.is-active::after { right: 0; }

/* ============================================================
   Resonance visual (abstract — air / vibration / spun lines)
   ============================================================ */
.reson {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, var(--navy-2) 0%, var(--ink) 78%);
  isolation: isolate;
}
/* spun radial blades (real element, no mask — robust render) */
.reson__blades {
  position: absolute; inset: -8%; z-index: 0;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(255, 90, 55, 0) 0deg,
    rgba(255, 116, 78, 0.95) 0.6deg,
    rgba(255, 74, 38, 0.18) 1.2deg,
    rgba(255, 74, 38, 0) 1.9deg);
  animation: spin 90s linear infinite;
  transition: filter 0.6s var(--ease);
}
/* radial veil carves a donut + hides blade convergence */
.reson__veil {
  position: absolute; inset: -2%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 50%,
    var(--ink) 0%, var(--navy-2) 13%, rgba(13,22,38,0) 30%,
    rgba(13,22,38,0) 66%, var(--ink) 90%);
}
.reson__rings {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 50%,
    rgba(243, 242, 238, 0) 0px,
    rgba(243, 242, 238, 0.14) 1px,
    rgba(243, 242, 238, 0) 2px,
    rgba(243, 242, 238, 0) 9px);
  opacity: 0.45; animation: breathe 9s var(--ease) infinite;
}
.reson__core {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.reson__core svg { width: 26%; height: auto; filter: drop-shadow(0 10px 50px rgba(255,74,38,0.55)); }
.reson__core::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,74,38,0.32), transparent 70%); }
.reson__cap {
  position: absolute; left: 0; right: 0; bottom: 8%; z-index: 3; text-align: center;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--off-dim);
}
.reson__cap b { color: var(--ro); }
/* hue tint variants driven by active concept in the hero group */
.hero__grid[data-active="hear"] .reson__blades { filter: none; }
.hero__grid[data-active="feel"] .reson__blades { filter: hue-rotate(-14deg) saturate(1.25); }
.hero__grid[data-active="sense"] .reson__blades { filter: hue-rotate(16deg) brightness(1.08); }
.hero__grid[data-active="remember"] .reson__blades { filter: hue-rotate(-30deg) brightness(1.14); }
.hero__grid[data-active="sense"] .reson__rings { opacity: 0.62; }
.reson__cap-panel { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease); }
.reson__cap-panel.is-active { opacity: 1; visibility: visible; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.42; } 50% { transform: scale(1.045); opacity: 0.6; } }
@media (prefers-reduced-motion: reduce) {
  .reson::before, .reson::after { animation: none; }
}

/* ============================================================
   Shift statement
   ============================================================ */
.shift-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.shift-aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.shift__statements { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
.statement {
  font-size: clamp(1.7rem, 4.4vw, 3.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06;
  max-width: 20ch; color: var(--off);
}
.statement .dim { color: var(--off-faint); }
.statement.statement--accent { color: var(--ro); }
.shift__kr {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 32px; border-top: 1px solid var(--line);
  max-width: 40em; color: var(--off-dim); font-size: 1.05rem;
}

/* ============================================================
   Section heading block
   ============================================================ */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.shead__title { font-size: clamp(2.2rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.shead__sub { max-width: 32em; color: var(--off-dim); font-size: 1.02rem; }

/* ============================================================
   Interactive areas (large typographic menu + panel)
   ============================================================ */
.iface { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.imenu { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.imenu__item {
  display: block; width: 100%; text-align: left;
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line);
  position: relative; transition: opacity 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.imenu__num { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; color: var(--off-faint); }
.imenu__name {
  display: flex; align-items: center; gap: 0.5em; white-space: nowrap;
  font-size: clamp(1.7rem, 3.6vw, 3.1rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04;
  margin-top: 6px; transition: color 0.35s var(--ease);
}
.imenu__name .arr { opacity: 0; transform: translateX(-8px); color: var(--ro); transition: all 0.4s var(--ease); font-size: 0.6em; }
.imenu__item.is-active { padding-left: 14px; }
.imenu__item.is-active .imenu__name { color: var(--off); }
.imenu__item.is-active .imenu__name .arr { opacity: 1; transform: none; }
.imenu__item.is-active .imenu__num { color: var(--ro); }
.imenu:not(:hover) .imenu__item:not(.is-active) .imenu__name,
.imenu__item:not(.is-active) .imenu__name { color: var(--off-faint); }
.imenu:hover .imenu__item:not(.is-active) { opacity: 0.45; }
.imenu__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--ro); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.imenu__item.is-active .imenu__bar { transform: scaleY(1); }

/* Panel */
.ipanels { position: relative; }
.ipanel {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transform: translateY(14px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
  display: flex; flex-direction: column;
}
.ipanel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease) 0.05s, transform 0.5s var(--ease) 0.05s; position: relative; }
.ipanel__media {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
}
.ipanel__kr { margin-top: 22px; font-size: 1.06rem; color: var(--off); font-weight: 500; }
.ipanel__desc { margin-top: 12px; color: var(--off-dim); font-size: 0.98rem; max-width: 38em; }
.ipanel__kw { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  font-size: 0.8rem; font-weight: 500; padding: 0.5em 0.95em; border-radius: 100px;
  border: 1px solid var(--line); color: var(--off-dim);
}
.ipanel.is-active .chip { border-color: rgba(255,74,38,0.35); color: var(--off); }

.ipanel__outputs { margin-top: 24px; }
.ipanel__outputs h5 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--off-faint); font-weight: 600; margin-bottom: 12px; }
.ipanel__outputs ul { list-style: none; display: grid; gap: 1px; }
.ipanel__outputs li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); color: var(--off-dim); font-size: 0.96rem; display: flex; align-items: center; gap: 10px; }
.ipanel__outputs li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ro); flex: none; }
.ipanel__cta { margin-top: 26px; }
.ipanel__title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }

/* Services layout: narrower menu, roomier panel — columns fixed (minmax 0) so
   the right column width never shifts between panels of different text length */
.iface--services { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); align-items: start; column-gap: clamp(60px, 9vw, 150px); }
.iface--services .ipanel__media { aspect-ratio: 16 / 9; }
/* keep long menu labels + hover arrow comfortably inside the menu column */
.iface--services .imenu__name { font-size: clamp(1.5rem, 2.9vw, 2.5rem); }
@media (max-width: 980px) {
  .iface--services { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Real image treatment (auto brand tone) -----------------
   Drop <img class="media-img"> as the FIRST child of .ipanel__media.
   It is desaturated, darkened toward navy, and gets an orange
   resonance glow + bottom gradient so any photo matches the brand. */
.ipanel__media .media-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.96) contrast(1.02) brightness(0.94);
}
.ipanel__media:has(.media-img) .amedia { mix-blend-mode: screen; opacity: 0.5; background: transparent; }
/* navy wash + bottom fade for cohesion */
.ipanel__media .media-tone {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,12,18,0.0) 55%, rgba(13,22,38,0.35) 100%);
  mix-blend-mode: normal;
}
.ipanel__media .media-tone::after { content: none; }
.ipanel__media .media-cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.7rem;
  letter-spacing: 0.04em; color: var(--off-dim); display: flex; align-items: center; gap: 7px;
}
.ipanel__media .media-cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ro); flex: none; }
/* hide the dev filename labels on real images */
.media-cap, .amedia__tag { display: none !important; }
/* hide tone/cap until a real image is present */
.ipanel__media:not(:has(.media-img)) .media-tone,
.ipanel__media:not(:has(.media-img)) .media-cap { display: none; }

/* Abstract media placeholder (resonance field) */
.amedia { position: absolute; inset: 0; background: var(--navy); overflow: hidden; }
.amedia::before {
  content: ""; position: absolute; inset: -30%;
  background: repeating-conic-gradient(from 0deg at 30% 70%,
    rgba(255,74,38,0) 0deg, rgba(255,74,38,0.5) 0.16deg, rgba(255,74,38,0) 1deg);
  -webkit-mask: radial-gradient(circle at 30% 70%, #000 0%, transparent 62%);
  mask: radial-gradient(circle at 30% 70%, #000 0%, transparent 62%);
  animation: spin 80s linear infinite;
}
.amedia--2::before { background: repeating-conic-gradient(from 0deg at 72% 30%, rgba(65,120,255,0) 0deg, rgba(255,74,38,0.45) 0.16deg, rgba(255,74,38,0) 1deg); -webkit-mask: radial-gradient(circle at 72% 30%, #000 0%, transparent 60%); mask: radial-gradient(circle at 72% 30%, #000 0%, transparent 60%); }
.amedia--3::before { background: repeating-radial-gradient(circle at 50% 60%, rgba(255,74,38,0) 0px, rgba(255,74,38,0.42) 1px, rgba(255,74,38,0) 26px); -webkit-mask: radial-gradient(circle at 50% 60%, #000 10%, transparent 80%); mask: radial-gradient(circle at 50% 60%, #000 10%, transparent 80%); animation: breathe 11s ease-in-out infinite; }
.amedia__tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.7rem;
  letter-spacing: 0.04em; color: var(--off-faint); display: flex; align-items: center; gap: 7px;
}
.amedia__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ro); }

/* ============================================================
   Method
   ============================================================ */
.method { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mstep {
  display: grid; grid-template-columns: 0.5fr 1fr 1.1fr; gap: clamp(16px, 3vw, 48px);
  align-items: start; padding: clamp(28px, 4vw, 52px) 0; border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease); position: relative;
}
.mstep__num { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -0.04em; color: var(--off-faint); transition: color 0.4s var(--ease); line-height: 0.9; }
.mstep__name { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.mstep__body { color: var(--off-dim); font-size: 1rem; }
.mstep__kr { margin-top: 10px; font-size: 0.92rem; color: var(--off-faint); }
.mstep__kw { display: none; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.mstep.is-active .mstep__kw { display: flex; }
.mstep.is-active .mstep__num { color: var(--ro); }
.mstep.is-active::before { content: ""; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 0; bottom: 0; background: linear-gradient(90deg, rgba(255,74,38,0.05), transparent 60%); pointer-events: none; }

/* ============================================================
   Research-based (keyword list + panel)
   ============================================================ */
.rblock { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.rlist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rlist__item {
  text-align: left; width: 100%; padding: clamp(16px, 2.2vw, 26px) 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; color: var(--off-faint);
  display: flex; align-items: center; gap: 0.5em; transition: color 0.35s var(--ease), padding-left 0.35s var(--ease);
}
.rlist__item .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.4; transition: all 0.35s var(--ease); }
.rlist__item.is-active { color: var(--off); padding-left: 12px; }
.rlist__item.is-active .dot { background: var(--ro); opacity: 1; }
.rpanel-wrap { position: relative; min-height: 200px; }
.rpanel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.rpanel.is-active { opacity: 1; visibility: visible; transform: none; position: relative; }
.rpanel__label { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ro); font-weight: 600; }
.rpanel__text { margin-top: 18px; font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.32; color: var(--off); }
.rpanel__kr { margin-top: 16px; font-size: clamp(0.95rem, 1.3vw, 1.05rem); font-weight: 400; line-height: 1.75; color: var(--off-dim); }

/* Research page — representative image band (reuses media treatment) */
.media-band { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 20 / 7; border: 1px solid var(--line); }
.media-band .media-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) contrast(1.03) brightness(0.82); }
.media-band .media-tone { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,12,18,0.1) 0%, rgba(10,12,18,0) 45%, rgba(13,22,38,0.45) 100%); }
.media-band .media-tone::after { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: color; opacity: 0.3; }
.media-band .media-cap { position: absolute; left: 18px; bottom: 15px; z-index: 3; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.7rem; letter-spacing: 0.04em; color: var(--off-dim); display: flex; align-items: center; gap: 7px; }
.media-band .media-cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ro); flex: none; }
@media (max-width: 700px) { .media-band { aspect-ratio: 4 / 3; } }

/* Research & Validation capability block */
.rcap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.rcap__lead { font-size: 1.05rem; color: var(--off-dim); margin-top: 18px; max-width: 32em; }
.rcap__kr { margin-top: 14px; font-size: 0.95rem; color: var(--off-faint); line-height: 1.75; max-width: 34em; }
.rcap__kw { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.rcap__outputs h5 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--off-faint); font-weight: 600; margin-bottom: 14px; }
.rcap__outputs ul { list-style: none; display: grid; gap: 1px; }
.rcap__outputs li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); color: var(--off-dim); font-size: 1rem; display: flex; align-items: center; gap: 12px; }
.rcap__outputs li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ro); flex: none; }
@media (max-width: 880px) { .rcap { grid-template-columns: 1fr; } }

/* ============================================================
   Studies cards
   ============================================================ */
.studies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.study {
  border: 1px solid var(--line); border-radius: 16px; padding: 28px; min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: var(--ink-2); transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.study:hover { border-color: rgba(255,74,38,0.45); transform: translateY(-4px); background: #14151c; }
.study__no { font-family: ui-monospace, monospace; font-size: 0.74rem; color: var(--off-faint); letter-spacing: 0.05em; }
.study__title { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.28; }
.study__tag { font-size: 0.8rem; color: var(--ro); font-weight: 500; }

/* ============================================================
   Contact CTA / selector
   ============================================================ */
.cta-band { text-align: center; }
.cta-band__title { font-size: clamp(2.4rem, 7vw, 5.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; }
.cta-band__body { max-width: 36em; margin: 26px auto 0; color: var(--off-dim); font-size: 1.05rem; }
.cta-band__btns { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.inquiry { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; text-align: left; }
.inq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.inq-item {
  text-align: left; width: 100%; padding: clamp(14px, 2vw, 22px) 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.03em; color: var(--off-faint);
  display: flex; justify-content: space-between; align-items: center; gap: 1em; transition: color 0.35s var(--ease), padding-left 0.35s var(--ease);
}
.inq-item .plus { color: var(--ro); opacity: 0; transition: opacity 0.35s var(--ease); font-size: 0.7em; }
.inq-item.is-active { color: var(--off); padding-left: 10px; }
.inq-item.is-active .plus { opacity: 1; }
.inq-panel-wrap { position: relative; min-height: 120px; }
.inq-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease); }
.inq-panel.is-active { opacity: 1; visibility: visible; position: relative; }
.inq-panel p { font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.4; color: var(--off); }
.inq-panel .inq-panel__kr { font-size: clamp(0.92rem, 1.3vw, 1.05rem); font-weight: 400; color: var(--off-dim); margin-top: 12px; line-height: 1.7; }

/* ============================================================
   Contact layout
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-side .inq-list { margin-top: 24px; }
.contact-side .inq-panel-wrap { margin-top: 28px; min-height: 90px; }
.contact-direct { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-direct h5 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--off-faint); font-weight: 600; margin-bottom: 12px; }
.contact-direct a { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; color: var(--off); border-bottom: 2px solid var(--ro); padding-bottom: 2px; }
.form-card { border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 3.5vw, 44px); background: var(--ink-2); }
/* success state */
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(12px, 2vw, 28px) 0; }
.form-success__mark { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ro); }
.form-success__mark svg { width: 30px; height: 30px; }
.form-success__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; }
.form-success__body { color: var(--off-dim); font-size: 1rem; max-width: 34em; }
.form-success__kr { color: var(--off-faint); font-size: 0.92rem; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Forms
   ============================================================ */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--off-faint); font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--off); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: 12px 2px; transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--ink); color: var(--off); }
.field input::placeholder, .field textarea::placeholder { color: var(--off-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ro); }
.form__actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form__note { font-size: 0.88rem; color: var(--off-faint); }
.form__note a { color: var(--off); border-bottom: 1px solid var(--ro); padding-bottom: 1px; }

/* ============================================================
   Footer
   ============================================================ */
.foot { background: var(--ink); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 92px); }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

/* Brand column */
.foot__brand .brand__logo { height: 30px; }
.foot__tag { margin-top: 20px; color: var(--off); font-size: 0.96rem; font-weight: 500; letter-spacing: -0.01em; }
.foot__tag.kr { margin-top: 3px; color: var(--off-dim); font-weight: 400; font-size: 0.92rem; }
.foot__biz { margin-top: 28px; display: flex; flex-direction: column; gap: 5px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.foot__biz p { font-size: 0.86rem; color: var(--off-dim); line-height: 1.5; }

/* Link columns */
.foot__col h4 { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--off-faint); margin-bottom: 16px; font-weight: 600; }
.foot__col a { display: block; padding: 6px 0; color: var(--off-dim); font-size: 0.95rem; transition: color 0.3s var(--ease); width: fit-content; }
.foot__col a:hover { color: var(--off); }

/* Bottom bar */
.foot__bottom { margin-top: clamp(44px, 6vw, 68px); padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; justify-content: flex-end; align-items: center; }
.foot__legal { font-size: 0.82rem; color: var(--off-faint); letter-spacing: 0.01em; }

/* Footer — center everything on phones */
@media (max-width: 640px) {
  .foot__top { text-align: center; }
  .foot__brand .brand { justify-content: center; }
  .foot__biz { align-items: center; }
  .foot__col h4 { margin-top: 4px; }
  .foot__col a { width: fit-content; margin-inline: auto; }
  .foot__bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.phero { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(40px, 5vw, 72px); }
.phero__title { font-size: clamp(2.8rem, 8vw, 6.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; }
.phero__intro { max-width: 62em; margin-top: 26px; color: var(--off-dim); font-size: clamp(1.05rem, 1.4vw, 1.25rem); text-wrap: pretty; }
.phero__kr { max-width: 56em; margin-top: 12px; color: var(--off-faint); font-size: clamp(0.95rem, 1.2vw, 1.05rem); line-height: 1.7; text-wrap: pretty; }

/* reveal on scroll */
.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; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Selected Collaborations — dual marquee
   ============================================================ */
.collab__intro { max-width: 30em; }
.collab__statement {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.12; max-width: 18ch; margin-top: 18px;
}
.collab__body { margin-top: 22px; color: var(--off-dim); font-size: 1.02rem; max-width: 38em; }
.collab__kr { margin-top: 12px; color: var(--off-faint); font-size: 0.95rem; max-width: 40em; }

.marquee {
  margin-top: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: clamp(14px, 2vw, 24px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__row { display: flex; overflow: hidden; }
.marquee__track {
  display: flex; flex: none; align-items: center; gap: clamp(40px, 6vw, 96px);
  padding-right: clamp(40px, 6vw, 96px);
  will-change: transform;
}
.marquee__row--1 .marquee__track { animation: marqueeL 50s linear infinite; }
.marquee__row--2 .marquee__track { animation: marqueeR 58s linear infinite; }

@keyframes marqueeL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.logo-item {
  flex: none; height: 88px;
  display: grid; place-items: center; padding: 0 6px;
  min-width: 150px;
}
.logo-item .logo {
  max-height: 40px; max-width: 200px; width: auto; height: auto; object-fit: contain;
  opacity: 0.62;
}
/* graceful text fallback when an image is missing */
.logo-item__fallback {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; color: var(--off);
  opacity: 0.55; white-space: nowrap;
}

@media (max-width: 980px) {
  .marquee__row--1 .marquee__track { animation-duration: 64s; }
  .marquee__row--2 .marquee__track { animation-duration: 72s; }
  .logo-item { height: 76px; min-width: 130px; }
  .logo-item .logo { max-height: 34px; max-width: 168px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__row--1 .marquee__track, .marquee__row--2 .marquee__track { animation-duration: 120s; }
}

/* ============================================================
   Custom cursor (Konpo-inspired) — desktop / fine pointer only
   ============================================================ */
.has-cursor, .has-cursor a, .has-cursor button,
.has-cursor [data-item], .has-cursor label { cursor: none; }
.has-cursor .nav__link { display: inline-block; }
.has-cursor .btn, .has-cursor .nav__link, .has-cursor .foot__col a, .has-cursor .study {
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(243, 242, 238, 0.55);
  display: grid; place-items: center;
  opacity: 0; mix-blend-mode: difference;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), padding 0.3s var(--ease),
              border-radius 0.3s var(--ease), background 0.28s var(--ease),
              border-color 0.28s var(--ease), opacity 0.3s var(--ease);
  will-change: transform;
}
.cursor-ring.is-visible { opacity: 1; }
.cursor-ring__label {
  font-family: var(--font-en); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.01em;
  color: #fff; opacity: 0; transform: scale(0.7); text-align: center; line-height: 1.18; max-width: 86px;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.cursor-dot {
  position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ro); opacity: 0; transition: opacity 0.25s var(--ease);
  will-change: transform;
}
.cursor-dot.is-visible { opacity: 1; }
.cursor-dot.is-hidden { opacity: 0; }
/* reveal toggle (interactive, not a link): orange outline grows, no label */
.cursor-ring.is-hover { width: 58px; height: 58px; border-color: var(--ro); background: rgba(255, 74, 38, 0.10); mix-blend-mode: normal; }
/* clickable text link: circular orange disc showing the link's own label */
.cursor-ring.is-link {
  width: 104px; height: 104px; padding: 0 10px;
  background: var(--ro); border-color: var(--ro); mix-blend-mode: normal;
}
.cursor-ring.is-link .cursor-ring__label { opacity: 1; transform: none; }
/* over a button: cursor disappears (button itself sticks/magnetic) */
.cursor-ring.is-gone { opacity: 0 !important; }
.cursor-dot.is-gone { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) { .cursor-ring { transition: opacity 0.3s; } }


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .shift-grid { grid-template-columns: 1fr; gap: 28px; }
  .shift-aside { position: static; }
  .statement { max-width: 24ch; }
}
@media (max-width: 980px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 440px; }
  .iface { grid-template-columns: 1fr; }
  .rblock { grid-template-columns: 1fr; }
  .inquiry { grid-template-columns: 1fr; }
  .mstep { grid-template-columns: auto 1fr; }
  .mstep__body { grid-column: 1 / -1; }
  .studies { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; gap: 32px; }
  .form { grid-template-columns: 1fr; }
  /* mobile: panels become stacked (accordion-like), menu shows all active states via JS tap */
  .ipanels { margin-top: 8px; }
}
@media (max-width: 560px) {
  .hero__cta .btn, .cta-band__btns .btn { flex: 1 1 auto; justify-content: center; }
}

/* Mobile accordion mode for interactive menus */
.imenu__panel-inline { display: none; }
@media (max-width: 980px) {
  .iface--accordion .ipanels { display: none; }
  .imenu__panel-inline { display: none; padding: 0 0 26px; }
  .imenu__item.is-open + .imenu__panel-inline { display: block; }
}
