@charset "UTF-8";
/* ==================================================================
   행복한코딩나라 v3 — 디자인 시스템
   레이어: reset → tokens → base → components → sections → motion
   ================================================================== */
@layer reset, tokens, base, components, sections, motion, overrides;

@font-face {
  font-family: "Pretendard";
  src: url("/pretendard.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

/* 애니메이션 가능한 커스텀 프로퍼티 */
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --glow-x {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --glow-y {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

/* ------------------------------------------------------------------
   RESET
------------------------------------------------------------------ */
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
  }
  body {
    margin: 0;
    min-height: 100svh;
  }
  h1,
  h2,
  h3,
  p,
  ul,
  ol,
  figure,
  pre,
  fieldset {
    margin: 0;
  }
  ul,
  ol {
    padding: 0;
    list-style: none;
  }
  fieldset {
    padding: 0;
    border: 0;
    min-inline-size: 0;
  }
  legend {
    padding: 0;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button,
  input,
  textarea {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
  }
  button {
    cursor: pointer;
    border: 0;
    background: none;
    padding: 0;
    text-align: inherit;
  }
  img,
  svg,
  canvas {
    display: block;
    max-width: 100%;
  }
  summary {
    list-style: none;
    cursor: pointer;
  }
  summary::-webkit-details-marker {
    display: none;
  }
  :focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    border-radius: 6px;
  }
}

/* ------------------------------------------------------------------
   TOKENS (oklch)
------------------------------------------------------------------ */
@layer tokens {
  :root {
    color-scheme: light;

    /* 표면 */
    --bg: oklch(97.4% 0.012 95);
    --bg-2: oklch(94.5% 0.018 100);
    --surface: oklch(99.2% 0.006 95);
    --surface-2: oklch(96% 0.014 100);
    --surface-glass: oklch(99% 0.006 95 / 0.64);

    /* 잉크 */
    --ink: oklch(23% 0.035 160);
    --ink-2: oklch(42% 0.03 160);
    --muted: oklch(58% 0.025 160);
    --line: oklch(23% 0.035 160 / 0.12);
    --line-strong: oklch(23% 0.035 160 / 0.3);

    /* 브랜드 */
    --green: oklch(37% 0.085 160);
    --green-2: oklch(48% 0.1 158);
    --green-soft: oklch(91% 0.04 155);
    --lime: oklch(91% 0.19 118);
    --lime-2: oklch(96% 0.1 118);
    --orange: oklch(72% 0.15 45);
    --accent: var(--green);
    --accent-fg: #fff;

    /* 컴포넌트 */
    --btn-bg: var(--green);
    --btn-fg: #fff;
    --card: var(--surface);
    --card-line: var(--line);
    --header-bg: oklch(97.4% 0.012 95 / 0.7);
    --contact-bg: oklch(30% 0.07 160);
    --contact-ink: oklch(96% 0.02 120);
    --code-bg: oklch(22% 0.04 160);
    --code-ink: oklch(92% 0.02 120);
    --focus: var(--orange);
    --cursor: var(--green);
    --particle: 31, 74, 55;

    /* 셰이더(JS가 hex로 읽음) */
    --gl-bg: #f7f5ee;
    --gl-1: #dbe9cf;
    --gl-2: #d9ef73;
    --gl-3: #2e6a4e;

    --shadow-lg: 0 40px 90px -36px oklch(23% 0.035 160 / 0.4);
    --shadow-md: 0 20px 50px -24px oklch(23% 0.035 160 / 0.32);
    --shadow-sm: 0 8px 24px -14px oklch(23% 0.035 160 / 0.3);

    --font:
      "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", -apple-system,
      BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono:
      "JetBrains Mono", "SFMono-Regular", "Cascadia Code", "Fira Code", Menlo,
      Consolas, monospace;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --header-h: 72px;
    --gutter: clamp(16px, 4vw, 48px);
    --radius: 24px;
    --radius-sm: 14px;
  }

  :root[data-theme="dark"] {
    color-scheme: dark;
    --bg: oklch(13% 0.018 160);
    --bg-2: oklch(17% 0.022 160);
    --surface: oklch(19% 0.024 160);
    --surface-2: oklch(23% 0.026 160);
    --surface-glass: oklch(19% 0.024 160 / 0.6);
    --ink: oklch(95% 0.012 120);
    --ink-2: oklch(80% 0.02 140);
    --muted: oklch(66% 0.02 150);
    --line: oklch(95% 0.012 120 / 0.12);
    --line-strong: oklch(95% 0.012 120 / 0.3);
    --green-soft: oklch(28% 0.045 158);
    --accent: oklch(86% 0.12 150);
    --accent-fg: oklch(13% 0.018 160);
    --btn-bg: var(--lime);
    --btn-fg: oklch(18% 0.03 160);
    --header-bg: oklch(13% 0.018 160 / 0.66);
    --contact-bg: oklch(24% 0.05 160);
    --code-bg: oklch(15% 0.02 160);
    --focus: var(--lime);
    --cursor: var(--lime);
    --particle: 216, 239, 98;
    --gl-bg: #0b120e;
    --gl-1: #16311f;
    --gl-2: #2e6a4e;
    --gl-3: #d9ef73;
    --shadow-lg: 0 40px 90px -36px oklch(0% 0 0 / 0.8);
    --shadow-md: 0 20px 50px -24px oklch(0% 0 0 / 0.7);
    --shadow-sm: 0 8px 24px -14px oklch(0% 0 0 / 0.6);
  }
}

/* ------------------------------------------------------------------
   BASE
------------------------------------------------------------------ */
@layer base {
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "cv01";
  }
  /* 질감 */
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    background: url("/noise.svg") repeat;
    opacity: 0.08;
    mix-blend-mode: multiply;
  }
  :root[data-theme="dark"] body::after {
    mix-blend-mode: screen;
    opacity: 0.05;
  }
  /* 테마 전환 뷰 트랜지션 */
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
  }
  ::view-transition-old(root) {
    z-index: 1;
  }
  ::view-transition-new(root) {
    z-index: 2;
  }

  h1,
  h2,
  h3 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-wrap: balance;
  }
  h2 {
    font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  }
  h3 {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
  }
  p {
    text-wrap: pretty;
  }
  .container {
    width: min(1240px, 100% - var(--gutter) * 2);
    margin-inline: auto;
  }
  .section {
    padding-block: clamp(96px, 12vw, 180px);
  }
  .skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 999px;
    translate: 0 -200%;
    transition: translate 0.3s var(--ease-out);
  }
  .skip-link:focus-visible {
    translate: 0 0;
  }
  .icon {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
  }
  .spark {
    width: 14px;
    height: 14px;
    display: inline-block;
    background: currentColor;
    clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  }
  ::selection {
    background: var(--lime);
    color: oklch(18% 0.03 160);
  }
}

/* ------------------------------------------------------------------
   COMPONENTS
------------------------------------------------------------------ */
@layer components {
  /* 버튼 */
  .button {
    --bg: var(--btn-bg);
    --fg: var(--btn-fg);
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    background: var(--bg);
    color: var(--fg);
    overflow: hidden;
    transition:
      transform 0.4s var(--ease-spring),
      box-shadow 0.4s var(--ease-out),
      background-color 0.3s;
    will-change: transform;
  }
  .button-lg {
    padding: 17px 28px;
    font-size: 1.02rem;
  }
  .button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
      120px 120px at var(--glow-x) var(--glow-y),
      oklch(100% 0 0 / 0.28),
      transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s;
  }
  .button:hover::before {
    opacity: 1;
  }
  .button:hover {
    box-shadow: var(--shadow-md);
  }
  .button:active {
    transform: scale(0.97);
  }
  .button .icon {
    transition: transform 0.4s var(--ease-spring);
  }
  .button:hover .icon {
    transform: translate(2px, -2px);
  }
  .button-primary {
    --bg: var(--btn-bg);
    --fg: var(--btn-fg);
  }
  .button-ghost {
    --bg: transparent;
    --fg: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--line-strong);
  }
  .button-ghost:hover {
    background: var(--surface);
  }
  .button-ghost:hover .icon {
    transform: translateY(2px);
  }
  .button-lime {
    --bg: var(--lime);
    --fg: oklch(18% 0.03 160);
  }
  .button-outline {
    --bg: transparent;
    --fg: var(--contact-ink);
    box-shadow: inset 0 0 0 1.5px oklch(96% 0.02 120 / 0.35);
  }
  .button-outline:hover {
    background: oklch(96% 0.02 120 / 0.1);
  }

  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent);
    padding: 0;
    position: relative;
  }
  .text-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease-out);
  }
  .text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  .text-link .icon {
    transition: transform 0.4s var(--ease-spring);
  }
  .text-link:hover .icon {
    transform: translate(3px, -3px);
  }

  /* 라벨류 */
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
  .eyebrow.light {
    color: oklch(96% 0.02 120 / 0.75);
  }
  .eyebrow-sep {
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
  }
  .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 var(--orange);
    animation: pulse 2.4s infinite;
  }
  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
  }
  .section-label .num {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    font-weight: 600;
  }
  .pill {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--accent);
    margin-bottom: 18px;
  }
  .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }
  .live-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 10px var(--lime);
    animation: pulse 1.8s infinite;
  }
  .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.86rem;
    font-weight: 500;
    transition:
      border-color 0.3s,
      background-color 0.3s,
      transform 0.4s var(--ease-spring);
  }
  .tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }
  .tag:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
  }

  /* 커서 */
  .cursor {
    display: none;
  }
  @media (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .cursor {
      display: block;
      position: fixed;
      inset: 0;
      z-index: 9500;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.3s;
    }
    body.has-cursor .cursor {
      opacity: 1;
    }
    .cursor-dot,
    .cursor-ring {
      position: absolute;
      top: 0;
      left: 0;
      border-radius: 50%;
      will-change: transform;
    }
    .cursor-dot {
      width: 6px;
      height: 6px;
      background: var(--cursor);
    }
    .cursor-ring {
      width: 36px;
      height: 36px;
      border: 1.5px solid var(--cursor);
      opacity: 0.7;
      transition:
        width 0.35s var(--ease-out),
        height 0.35s var(--ease-out),
        opacity 0.3s,
        background-color 0.3s;
    }
    body.cursor-hover .cursor-ring {
      width: 64px;
      height: 64px;
      opacity: 0.25;
      background: var(--cursor);
    }
    body.cursor-text .cursor-ring {
      width: 4px;
      height: 32px;
      border-radius: 2px;
      opacity: 0.5;
    }
  }

  /* 진행 바 */
  .progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--lime));
    transform-origin: left;
    transform: scaleX(var(--progress, 0));
    pointer-events: none;
  }

  /* 헤더 */
  .site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1100;
    height: var(--header-h);
    transition:
      background-color 0.4s,
      box-shadow 0.4s,
      border-color 0.4s;
    border-bottom: 1px solid transparent;
  }
  .site-header.is-scrolled {
    background: var(--header-bg);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-color: var(--line);
  }
  .header-inner {
    width: min(1320px, 100% - var(--gutter) * 2);
    margin-inline: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    flex: none;
    transition: transform 0.6s var(--ease-spring);
  }
  .brand:hover .brand-mark {
    transform: rotate(-8deg) scale(1.08);
  }
  .brand-mark rect {
    fill: var(--green);
  }
  :root[data-theme="dark"] .brand-mark rect {
    fill: var(--lime);
  }
  .brand-stroke {
    fill: none;
    stroke: var(--lime);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .brand-stroke.thin {
    stroke-width: 3;
  }
  .brand-eye {
    fill: var(--lime);
  }
  :root[data-theme="dark"] .brand-stroke,
  :root[data-theme="dark"] .brand-eye {
    stroke: var(--green);
    fill: var(--green);
  }
  :root[data-theme="dark"] .brand-stroke {
    fill: none;
  }
  .nav {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: border-color 0.4s;
  }
  .site-header.is-scrolled .nav {
    border-color: var(--line);
  }
  .nav-link {
    position: relative;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-2);
    transition:
      color 0.3s,
      background-color 0.3s;
  }
  .nav-link:hover {
    color: var(--ink);
    background: var(--surface-2);
  }
  .nav-link.is-active {
    color: var(--ink);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .theme-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--surface-glass);
    transition:
      transform 0.5s var(--ease-spring),
      border-color 0.3s;
  }
  .theme-toggle:hover {
    transform: rotate(20deg) scale(1.06);
    border-color: var(--line-strong);
  }
  .theme-toggle svg {
    position: absolute;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition:
      transform 0.6s var(--ease-spring),
      opacity 0.3s;
  }
  .theme-toggle .moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
  }
  :root[data-theme="dark"] .theme-toggle .sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
  }
  :root[data-theme="dark"] .theme-toggle .moon {
    opacity: 1;
    transform: none;
  }
  .menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface-glass);
    position: relative;
  }
  .menu-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    top: calc(50% - 4px);
    transition: transform 0.4s var(--ease-out);
  }
  .menu-toggle span + span {
    top: calc(50% + 2px);
  }

  /* 모바일 메뉴 (popover) */
  .menu {
    margin: 0;
    padding: 0;
    border: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    background: var(--bg);
    color: var(--ink);
    opacity: 0;
    translate: 0 -8px;
    transition:
      opacity 0.4s var(--ease-out),
      translate 0.4s var(--ease-out),
      display 0.4s allow-discrete,
      overlay 0.4s allow-discrete;
  }
  .menu:popover-open {
    opacity: 1;
    translate: 0 0;
  }
  @starting-style {
    .menu:popover-open {
      opacity: 0;
      translate: 0 -8px;
    }
  }
  .menu-inner {
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
  }
  .menu-eyebrow {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 12px;
  }
  .menu-link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    translate: 0 14px;
    transition:
      opacity 0.5s var(--ease-out) calc(var(--i, 0) * 60ms + 80ms),
      translate 0.5s var(--ease-out) calc(var(--i, 0) * 60ms + 80ms);
  }
  .menu:popover-open .menu-link {
    opacity: 1;
    translate: 0 0;
  }
  .menu-link span {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--muted);
  }
  .menu-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--ink-2);
  }

  /* 토스트 · 맨 위로 */
  .toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 9600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-size: 0.92rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    translate: -50% 20px;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.4s var(--ease-out),
      translate 0.5s var(--ease-spring);
  }
  .toast.is-visible {
    opacity: 1;
    translate: -50% 0;
  }
  .toast .icon {
    color: var(--lime);
  }
  .to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    translate: 0 12px;
    pointer-events: none;
    transition:
      opacity 0.3s,
      translate 0.4s var(--ease-spring),
      transform 0.3s;
  }
  .to-top.is-visible {
    opacity: 1;
    translate: 0 0;
    pointer-events: auto;
  }
  .to-top:hover {
    transform: translateY(-3px);
  }

  /* 3D 틸트 */
  .tilt {
    transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.6s var(--ease-out);
    transform-style: preserve-3d;
  }
  .tilt.is-tilting {
    transition: transform 0.12s linear;
  }

  /* 스포트라이트 카드 */
  .spot {
    position: relative;
    overflow: hidden;
  }
  .spot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      380px circle at var(--mx, 50%) var(--my, 50%),
      oklch(from var(--accent) l c h / 0.14),
      transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
  }
  .spot:hover::before {
    opacity: 1;
  }

  /* 다이얼로그 */
  .composer {
    border: 0;
    padding: 0;
    margin: auto;
    width: min(620px, calc(100% - 32px));
    max-height: min(92svh, 900px);
    border-radius: 28px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    translate: 0 24px;
    scale: 0.98;
    transition:
      opacity 0.4s var(--ease-out),
      translate 0.5s var(--ease-spring),
      scale 0.5s var(--ease-spring),
      display 0.4s allow-discrete,
      overlay 0.4s allow-discrete;
  }
  .composer[open] {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
  @starting-style {
    .composer[open] {
      opacity: 0;
      translate: 0 24px;
      scale: 0.98;
    }
  }
  .composer::backdrop {
    background: oklch(10% 0.02 160 / 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition:
      opacity 0.4s,
      display 0.4s allow-discrete,
      overlay 0.4s allow-discrete;
  }
  .composer[open]::backdrop {
    opacity: 1;
  }
  @starting-style {
    .composer[open]::backdrop {
      opacity: 0;
    }
  }
  .composer-inner {
    padding: clamp(24px, 5vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
  }
  .composer h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .composer-help {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: -8px;
  }
  .composer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    transition:
      transform 0.4s var(--ease-spring),
      background-color 0.3s;
  }
  .composer-close:hover {
    transform: rotate(90deg);
    background: var(--surface-2);
  }
  .composer-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
  }
  .composer-field label,
  .composer-field legend {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 4px;
  }
  .composer-field label small {
    font-weight: 400;
    color: var(--muted);
  }
  .composer-field input,
  .composer-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    background: var(--bg);
    resize: vertical;
    transition:
      border-color 0.3s,
      box-shadow 0.3s;
  }
  .composer-field input:focus,
  .composer-field textarea:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px oklch(from var(--accent) l c h / 0.15);
  }
  .composer-count {
    position: absolute;
    right: 4px;
    bottom: -20px;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
  }
  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .chip {
    position: relative;
    cursor: pointer;
  }
  .chip input {
    position: absolute;
    opacity: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  .chip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    font-size: 0.9rem;
    font-weight: 500;
    transition:
      background-color 0.3s,
      color 0.3s,
      border-color 0.3s,
      transform 0.4s var(--ease-spring);
  }
  .chip span::before {
    content: "";
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--lime);
    transition: all 0.3s var(--ease-spring);
  }
  .chip:has(input:checked) span {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
    transform: translateY(-1px);
  }
  .chip:has(input:checked) span::before {
    width: 8px;
    height: 8px;
  }
  .chip:has(input:focus-visible) span {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
  }
  .composer-preview {
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-2);
    border: 1px dashed var(--line-strong);
  }
  .composer-preview small {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--muted);
  }
  .composer-preview pre {
    font-family: var(--font);
    font-size: 0.88rem;
    white-space: pre-wrap;
    color: var(--ink-2);
    margin-top: 6px;
    max-height: 140px;
    overflow: auto;
  }
  .composer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
  }
}

/* ------------------------------------------------------------------
   SECTIONS
------------------------------------------------------------------ */
@layer sections {
  /* ===== HERO ===== */
  .hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding-top: var(--header-h);
    overflow: clip;
    isolation: isolate;
  }
  .hero-gl,
  .hero-fallback {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
  }
  .hero-fallback {
    background:
      radial-gradient(60% 60% at 20% 20%, oklch(from var(--lime) l c h / 0.45), transparent 60%),
      radial-gradient(50% 50% at 80% 30%, oklch(from var(--green-2) l c h / 0.35), transparent 60%),
      radial-gradient(60% 50% at 50% 100%, var(--bg), var(--bg));
  }
  .hero.has-gl .hero-fallback {
    display: none;
  }
  .hero-gl {
    opacity: 0;
    transition: opacity 1.2s ease;
  }
  .hero.has-gl .hero-gl {
    opacity: 1;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    z-index: -1;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
  }
  .hero-inner {
    width: min(1320px, 100% - var(--gutter) * 2);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding-block: 48px 96px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .display {
    font-size: clamp(2.9rem, 2rem + 5.4vw, 6.4rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    font-weight: 800;
  }
  .display .line {
    display: block;
  }
  .display .ch {
    display: inline-block;
    will-change: transform, opacity;
  }
  .display .accent {
    font-style: normal;
    position: relative;
    display: inline-block;
    color: var(--accent);
  }
  .display .accent::after {
    content: "";
    position: absolute;
    left: -0.05em;
    right: -0.05em;
    bottom: 0.08em;
    height: 0.32em;
    z-index: -1;
    background: var(--lime);
    border-radius: 0.1em;
    transform: scaleX(0);
    transform-origin: left;
    animation: underline 0.9s var(--ease-out) 1.1s both;
  }
  :root[data-theme="dark"] .display .accent::after {
    background: oklch(from var(--lime) l c h / 0.22);
  }
  .display .period {
    color: var(--orange);
  }
  .hero-lead {
    font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem);
    color: var(--ink-2);
    max-width: 36ch;
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  [data-hero] {
    opacity: 0;
    translate: 0 18px;
  }
  body.is-ready [data-hero] {
    animation: rise 0.9s var(--ease-out) forwards;
    animation-delay: calc(var(--i, 0) * 110ms + 0.5s);
  }

  /* 히어로 스테이지 */
  .hero-stage {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
  }
  .stage-card {
    position: relative;
    width: min(100%, 520px);
    border-radius: var(--radius);
    padding: 10px;
    background: var(--surface-glass);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
    z-index: 2;
  }
  .stage-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(
      from var(--angle),
      transparent 0 20%,
      var(--lime) 35%,
      transparent 50%,
      oklch(from var(--accent) l c h / 0.6) 75%,
      transparent 90%
    );
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin 6s linear infinite;
    pointer-events: none;
  }
  .stage-glow {
    position: absolute;
    inset: 20% 10% -10%;
    z-index: -1;
    background: radial-gradient(closest-side, oklch(from var(--lime) l c h / 0.5), transparent);
    filter: blur(30px);
  }
  .code-window {
    background: var(--code-bg);
    color: var(--code-ink);
    border-radius: 18px;
    overflow: hidden;
    font-family: var(--mono);
    font-size: clamp(0.72rem, 0.6rem + 0.5vw, 0.86rem);
    line-height: 1.75;
  }
  .window-top,
  .window-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: oklch(92% 0.02 120 / 0.6);
    background: oklch(0% 0 0 / 0.18);
  }
  .window-bottom {
    background: oklch(0% 0 0 / 0.28);
  }
  .window-dots {
    display: inline-flex;
    gap: 6px;
  }
  .window-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
  }
  .window-dots i:nth-child(2) {
    background: #febc2e;
  }
  .window-dots i:nth-child(3) {
    background: #28c840;
  }
  .code {
    padding: 18px 18px 14px;
    overflow-x: auto;
    white-space: normal;
    font-family: inherit;
  }
  .ln {
    display: block;
    min-height: 1.75em;
    white-space: pre;
  }
  .ln.is-pending {
    visibility: hidden;
  }
  .ln.is-typing {
    visibility: visible;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typing var(--dur, 1s) steps(var(--steps, 20)) forwards;
  }
  .c {
    color: oklch(70% 0.03 140);
    font-style: italic;
  }
  .k {
    color: oklch(85% 0.15 320);
  }
  .f {
    color: oklch(88% 0.17 118);
  }
  .s {
    color: oklch(85% 0.1 60);
  }
  .caret {
    display: inline-block;
    width: 0.55em;
    height: 1.1em;
    vertical-align: text-bottom;
    background: var(--lime);
    margin-left: 2px;
    animation: blink 1s steps(2) infinite;
  }
  .build-log {
    color: var(--lime);
  }

  /* 궤도 칩 */
  .orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
  }
  .orbit-chip {
    position: absolute;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
    translate: calc(var(--px, 0) * -1px) calc(var(--py, 0) * -1px);
    transition: translate 0.5s var(--ease-out);
  }
  .chip-a {
    top: 6%;
    left: 2%;
    animation: float 6s ease-in-out infinite;
  }
  .chip-b {
    top: 18%;
    right: -2%;
    background: var(--lime);
    color: oklch(18% 0.03 160);
    animation: float 7s ease-in-out infinite 0.8s;
  }
  .chip-c {
    bottom: 10%;
    left: -4%;
    background: var(--orange);
    color: #fff;
    animation: float 8s ease-in-out infinite 1.6s;
  }

  /* 스티커 */
  .sticker {
    position: absolute;
    z-index: 4;
    translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
    transition: translate 0.5s var(--ease-out);
  }
  .sticker-sun {
    top: -12%;
    right: -5%;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: oklch(88% 0.17 90);
    display: grid;
    place-items: center;
    box-shadow:
      0 0 0 6px oklch(88% 0.17 90 / 0.3),
      var(--shadow-md);
    animation: float 5s ease-in-out infinite;
    transition: transform 0.5s var(--ease-spring);
  }
  .sticker-sun:hover {
    transform: rotate(12deg) scale(1.06);
  }
  .sticker-sun svg {
    width: 60px;
    height: 60px;
    fill: none;
    stroke: oklch(35% 0.08 50);
    stroke-width: 3;
    stroke-linecap: round;
  }
  .sticker-sun circle {
    fill: oklch(35% 0.08 50);
    stroke: none;
  }
  .sticker-sun .wink {
    opacity: 0;
  }
  .sticker-sun.is-winking .eye-l {
    opacity: 0;
  }
  .sticker-sun.is-winking .wink {
    opacity: 1;
  }
  .sticker-note {
    bottom: -4%;
    right: -2%;
    padding: 14px 18px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    rotate: 4deg;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: float 7s ease-in-out infinite 1s;
  }
  .sticker-note small {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    color: var(--muted);
  }
  .sticker-note strong {
    font-size: 0.9rem;
    letter-spacing: -0.01em;
  }
  .scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    translate: -50% 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0;
    animation: fade 1s ease 1.8s forwards;
  }
  .scroll-cue i {
    width: 1px;
    height: 44px;
    background: linear-gradient(var(--muted), transparent);
    position: relative;
    overflow: hidden;
  }
  .scroll-cue i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    animation: cue 1.8s var(--ease-in-out) infinite;
  }

  /* ===== MARQUEE ===== */
  .marquee {
    position: relative;
    overflow: hidden;
    padding-block: 18px;
    border-block: 1px solid var(--line);
    background: var(--bg-2);
    transform: skewY(var(--skew, 0deg));
    transition: transform 0.2s;
  }
  .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite;
  }
  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
  .marquee-group {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
    font-size: clamp(1.2rem, 1rem + 1.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
  .marquee-group .en {
    font-family: var(--mono);
    font-weight: 500;
    letter-spacing: 0.12em;
    font-size: 0.7em;
    color: var(--accent);
  }
  .marquee-group .spark {
    color: var(--orange);
    width: 18px;
    height: 18px;
    animation: spin 8s linear infinite;
  }

  /* ===== ABOUT ===== */
  .manifesto {
    font-size: clamp(1.6rem, 1rem + 2.6vw, 3.1rem);
    line-height: 1.32;
    letter-spacing: -0.03em;
    font-weight: 600;
    max-width: 24ch;
    color: var(--ink);
  }
  .manifesto em {
    font-style: normal;
    color: var(--accent);
  }
  .about-sub {
    margin-top: 28px;
    max-width: 52ch;
    color: var(--ink-2);
    font-size: 1.08rem;
  }
  .bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: clamp(48px, 7vw, 96px);
  }
  .bento-card {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--card-line);
    box-shadow: var(--shadow-sm);
    transition:
      transform 0.6s var(--ease-out),
      box-shadow 0.6s var(--ease-out),
      border-color 0.4s;
  }
  .bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
  }
  .card-1 {
    grid-column: span 3;
  }
  .card-2 {
    grid-column: span 3;
  }
  .card-3 {
    grid-column: span 4;
  }
  .card-4 {
    grid-column: span 2;
    background: var(--ink);
    color: var(--bg);
    border-color: transparent;
  }
  .card-index {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--muted);
  }
  .card-4 .card-index {
    color: oklch(from var(--bg) l c h / 0.6);
  }
  .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--accent);
    font-size: 20px;
    margin-top: 6px;
  }
  .bento-card p {
    color: var(--ink-2);
    max-width: 44ch;
  }
  .card-4 p {
    color: oklch(from var(--bg) l c h / 0.75);
  }
  .card-visual {
    margin-top: auto;
    padding-top: 18px;
  }
  .clock {
    font-family: var(--mono);
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    margin-top: auto;
  }
  .clock-sub {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.86rem;
  }
  /* 컨테이너 쿼리: 카드가 넓으면 가로 배치 */
  @container (min-width: 460px) {
    .bento-card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto auto 1fr;
      column-gap: 24px;
    }
    .bento-card .card-index,
    .bento-card .card-icon,
    .bento-card h3,
    .bento-card p {
      grid-column: 1;
    }
    .bento-card .card-visual {
      grid-column: 2;
      grid-row: 1 / -1;
      padding-top: 0;
      align-self: center;
    }
  }
  .focus-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .focus-visual i {
    aspect-ratio: 1;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    transition:
      background-color 0.4s,
      transform 0.5s var(--ease-spring);
  }
  .focus-visual i:nth-child(5) {
    background: var(--lime);
    border-color: transparent;
    transform: scale(1.08);
  }
  .bento-card:hover .focus-visual i:not(:nth-child(5)) {
    transform: scale(0.86);
    opacity: 0.6;
  }
  .chat-visual {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .bubble {
    max-width: 85%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 0.82rem;
    line-height: 1.45;
    background: var(--surface-2);
    border: 1px solid var(--line);
    opacity: 0;
    translate: 0 6px;
    animation: rise 0.6s var(--ease-out) forwards;
    animation-delay: calc(var(--n, 0) * 0.5s + 0.3s);
  }
  .bubble:nth-child(1) {
    --n: 0;
  }
  .bubble:nth-child(2) {
    --n: 1;
  }
  .bubble:nth-child(3) {
    --n: 2;
  }
  .bubble.me {
    align-self: flex-end;
    background: var(--ink);
    color: var(--bg);
    border-color: transparent;
    border-bottom-right-radius: 4px;
  }
  .bubble.them {
    border-bottom-left-radius: 4px;
  }
  .grow-visual svg {
    width: 100%;
    height: 90px;
  }
  .grow-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    transition: stroke-dashoffset 1.6s var(--ease-out);
  }
  .grow-fill {
    fill: oklch(from var(--accent) l c h / 0.12);
    opacity: 0;
    transition: opacity 1s 0.6s;
  }
  .bento-card.in-view .grow-line {
    stroke-dashoffset: 0;
  }
  .bento-card.in-view .grow-fill {
    opacity: 1;
  }

  /* ===== SERVICES (pinned horizontal scroll) ===== */
  .services {
    background: var(--bg-2);
    border-block: 1px solid var(--line);
  }
  .services-pin {
    position: relative;
  }
  .services-sticky {
    overflow: hidden;
    padding-block: clamp(64px, 8vw, 110px) 0;
  }
  .services-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 16px;
    margin-bottom: clamp(32px, 4vw, 56px);
  }
  .services-head .section-label {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
  .services-dots {
    display: flex;
    gap: 8px;
    padding-bottom: 10px;
  }
  .services-dots i {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: var(--line-strong);
    overflow: hidden;
    position: relative;
  }
  .services-dots i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform-origin: left;
    transform: scaleX(0);
  }
  .services-track {
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 6vw, 96px);
    width: min(1240px, 100% - var(--gutter) * 2);
    margin-inline: auto;
    padding-bottom: clamp(96px, 12vw, 180px);
  }
  .service-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
  }
  .service-copy h3 {
    font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
    margin-bottom: 16px;
  }
  .service-copy > p {
    color: var(--ink-2);
    max-width: 46ch;
  }
  .service-list {
    margin-block: 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
  }
  .service-list li::before {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex: none;
    background: var(--green-soft) url("/check.svg") center / 12px no-repeat;
  }
  .service-visual {
    position: relative;
    display: grid;
    place-items: center;
    padding: clamp(20px, 3vw, 40px);
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    min-height: 380px;
    overflow: hidden;
  }
  .service-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(60% 50% at 80% 10%, oklch(from var(--lime) l c h / 0.35), transparent 70%),
      radial-gradient(40% 40% at 10% 90%, oklch(from var(--accent) l c h / 0.18), transparent 70%);
    pointer-events: none;
  }
  .visual-caption {
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    color: var(--muted);
  }

  /* 웹 목업 */
  .mock-browser {
    position: relative;
    width: min(100%, 440px);
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateZ(30px);
  }
  .mock-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
  }
  .mock-toolbar .url {
    flex: 1;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--bg-2);
  }
  .mock-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    padding: 24px 20px 12px;
  }
  .mock-body small {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    color: var(--muted);
  }
  .mock-body strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 8px 0 14px;
  }
  .mock-body em {
    font-style: normal;
    color: var(--accent);
  }
  .mock-button {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-size: 0.7rem;
    font-weight: 600;
  }
  .abstract-shape {
    position: relative;
    aspect-ratio: 1;
  }
  .abstract-shape i {
    position: absolute;
    border-radius: 50%;
    background: var(--lime);
    animation: morph 7s ease-in-out infinite;
  }
  .abstract-shape i:nth-child(1) {
    inset: 10% 20% 30% 10%;
  }
  .abstract-shape i:nth-child(2) {
    inset: 30% 0 10% 40%;
    background: var(--green-2);
    animation-delay: -2s;
    mix-blend-mode: multiply;
  }
  :root[data-theme="dark"] .abstract-shape i:nth-child(2) {
    mix-blend-mode: screen;
  }
  .abstract-shape i:nth-child(3) {
    inset: 50% 50% 0 5%;
    background: var(--orange);
    animation-delay: -4s;
    opacity: 0.85;
  }
  .mock-skeleton {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 8px 20px 20px;
  }
  .mock-skeleton i {
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--bg-2) 25%, var(--surface-2) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: shimmer 2.2s linear infinite;
  }

  /* 앱 목업 */
  .phone-mock {
    position: relative;
    width: 250px;
    padding: 46px 18px 20px;
    border-radius: 36px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow:
      inset 0 0 0 6px var(--ink),
      var(--shadow-lg);
    transform: translateZ(30px);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .phone-island {
    position: absolute;
    top: 14px;
    left: 50%;
    translate: -50% 0;
    width: 80px;
    height: 22px;
    border-radius: 999px;
    background: var(--ink);
  }
  .phone-status {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--muted);
  }
  .phone-greeting {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 6px;
  }
  .phone-heading {
    font-size: 1.2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }
  .phone-today {
    margin-block: 8px;
    padding: 14px;
    border-radius: 16px;
    background: var(--ink);
    color: var(--bg);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .phone-today small {
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    opacity: 0.6;
  }
  .phone-today strong {
    font-size: 0.9rem;
    line-height: 1.25;
  }
  .phone-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg-2);
    font-size: 0.78rem;
    font-weight: 500;
    transition:
      background-color 0.3s,
      transform 0.3s var(--ease-spring);
  }
  .phone-item:hover {
    transform: translateX(2px);
  }
  .phone-item i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
    display: grid;
    place-items: center;
    transition:
      background-color 0.3s,
      border-color 0.3s;
    flex: none;
  }
  .phone-item i::after {
    content: "";
    width: 10px;
    height: 10px;
    background: url("/check.svg") center / contain no-repeat;
    opacity: 0;
    transform: scale(0.4);
    transition:
      opacity 0.3s,
      transform 0.4s var(--ease-spring);
  }
  .phone-item.is-done i {
    background: var(--lime);
    border-color: var(--lime);
  }
  .phone-item.is-done i::after {
    opacity: 1;
    transform: none;
  }
  .phone-item.is-done span {
    text-decoration: line-through;
    color: var(--muted);
  }
  .phone-bar {
    margin-top: 8px;
    display: flex;
    justify-content: space-around;
    color: var(--muted);
    font-size: 0.9rem;
  }

  /* 자동화 목업 */
  .flow {
    position: relative;
    width: min(100%, 400px);
    padding: 18px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateZ(30px);
  }
  .flow-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 14px;
  }
  .flow-node {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--bg);
    transition:
      border-color 0.4s,
      background-color 0.4s,
      transform 0.4s var(--ease-spring);
  }
  .flow-node small {
    display: block;
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    color: var(--muted);
  }
  .flow-node strong {
    font-size: 0.86rem;
  }
  .flow-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--accent);
    flex: none;
  }
  .flow-node .state {
    margin-left: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
    display: grid;
    place-items: center;
    transition: all 0.3s;
  }
  .flow-node.is-active {
    border-color: var(--accent);
    transform: translateX(3px);
  }
  .flow-node.is-active .state {
    border-color: var(--accent);
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
  }
  .flow-node.is-done .state {
    background: var(--lime);
    border-color: var(--lime);
  }
  .flow-node.is-done .state::after {
    content: "";
    width: 10px;
    height: 10px;
    background: url("/check.svg") center / contain no-repeat;
  }
  .flow-line {
    display: block;
    width: 2px;
    height: 16px;
    margin: 0 0 0 29px;
    background: var(--line-strong);
    position: relative;
    overflow: hidden;
  }
  .flow-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-out);
  }
  .flow-line.is-done::after {
    transform: scaleY(1);
  }
  .flow-stats {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--muted);
  }
  .flow-stats b {
    color: var(--accent);
    font-weight: 600;
  }

  /* ===== PROCESS ===== */
  .process-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
  }
  .process-intro {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
  .process-intro p {
    margin-top: 18px;
    color: var(--ink-2);
  }
  .process-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .process-steps::before,
  .process-steps::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: var(--line);
    border-radius: 2px;
  }
  .process-steps::after {
    background: linear-gradient(var(--accent), var(--lime));
    transform: scaleY(var(--p, 0));
    transform-origin: top;
  }
  .process-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    align-items: start;
    padding: 24px 24px 24px 0;
    border-radius: var(--radius);
    transition: background-color 0.4s;
  }
  .process-step > div {
    padding-top: 12px;
  }
  .step-number {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-weight: 600;
    background: var(--surface);
    border: 2px solid var(--line);
    transition:
      background-color 0.5s,
      color 0.5s,
      border-color 0.5s,
      transform 0.5s var(--ease-spring);
  }
  .process-step.is-active .step-number {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
    transform: scale(1.08);
  }
  .process-step h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  .process-step p {
    color: var(--ink-2);
    max-width: 48ch;
  }
  .step-tag {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
  }

  /* ===== FAQ ===== */
  .faq {
    background: var(--bg-2);
    border-block: 1px solid var(--line);
  }
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
  }
  .faq-intro {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
  .faq-intro p {
    margin-top: 18px;
    color: var(--ink-2);
  }
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .faq-item {
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    transition:
      border-color 0.3s,
      box-shadow 0.3s;
  }
  .faq-item[open] {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
  }
  .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .faq-item summary::-webkit-details-marker {
    display: none;
  }
  .plus {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    flex: none;
    transition:
      transform 0.5s var(--ease-spring),
      background-color 0.3s;
  }
  .plus::before,
  .plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: currentColor;
    translate: -50% -50%;
  }
  .plus::after {
    rotate: 90deg;
  }
  .faq-item[open] .plus {
    transform: rotate(135deg);
    background: var(--lime);
    color: oklch(18% 0.03 160);
    border-color: transparent;
  }
  .faq-a {
    padding: 0 22px 22px;
    color: var(--ink-2);
    max-width: 60ch;
  }
  /* 네이티브 details 열림 애니메이션 */
  .faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition:
      block-size 0.5s var(--ease-out),
      content-visibility 0.5s allow-discrete;
  }
  .faq-item[open]::details-content {
    block-size: auto;
  }
  @supports (interpolate-size: allow-keywords) {
    :root {
      interpolate-size: allow-keywords;
    }
  }

  /* ===== CONTACT ===== */
  .contact-panel {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    background: var(--contact-bg);
    color: var(--contact-ink);
    padding: clamp(40px, 6vw, 88px);
    isolation: isolate;
  }
  .contact-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(50% 60% at 90% 0%, oklch(from var(--lime) l c h / 0.25), transparent 70%),
      radial-gradient(40% 50% at 0% 100%, oklch(from var(--orange) l c h / 0.18), transparent 70%);
  }
  .contact-bg {
    position: absolute;
    inset: auto 0 -0.1em;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    white-space: nowrap;
  }
  .contact-big {
    display: inline-block;
    font-size: clamp(5rem, 16vw, 14rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: oklch(96% 0.02 120 / 0.06);
    animation: marquee 40s linear infinite;
    padding-right: 0.5em;
  }
  .contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
  }
  .contact-main h2 {
    font-size: clamp(2.2rem, 1.4rem + 3.8vw, 4rem);
    margin-block: 18px;
  }
  .contact-main .q {
    color: var(--lime);
    display: inline-block;
    animation: wiggle 3s ease-in-out infinite;
  }
  .contact-main > p {
    color: oklch(96% 0.02 120 / 0.78);
    font-size: 1.05rem;
  }
  .contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
  }
  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: 22px;
    background: oklch(96% 0.02 120 / 0.06);
    border: 1px solid oklch(96% 0.02 120 / 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .contact-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid oklch(96% 0.02 120 / 0.12);
  }
  .contact-row > span {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    opacity: 0.6;
  }
  .contact-row a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .contact-row a:hover {
    color: var(--lime);
  }
  .contact-row > div {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .icon-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid oklch(96% 0.02 120 / 0.25);
    transition:
      background-color 0.3s,
      transform 0.4s var(--ease-spring);
  }
  .icon-button:hover {
    background: var(--lime);
    color: oklch(18% 0.03 160);
    transform: scale(1.08);
  }
  .contact-note {
    font-size: 0.86rem;
    opacity: 0.7;
    margin-top: 2px;
  }

  /* ===== FOOTER ===== */
  .site-footer {
    padding-block: 56px 40px;
    border-top: 1px solid var(--line);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    gap: 40px;
    align-items: start;
  }
  .footer-brand p {
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    line-height: 1.7;
  }
  .footer-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 12px;
  }
  .tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .tech-list li {
    font-family: var(--mono);
    font-size: 0.68rem;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--ink-2);
    cursor: help;
    transition:
      border-color 0.3s,
      background-color 0.3s,
      transform 0.4s var(--ease-spring);
  }
  .tech-list li:hover {
    border-color: var(--accent);
    background: var(--green-soft);
    transform: translateY(-2px);
  }
  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--ink-2);
  }
  .to-top-link {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
  .to-top-link:hover {
    color: var(--accent);
  }
}

/* ------------------------------------------------------------------
   MOTION
------------------------------------------------------------------ */
@layer motion {
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 color-mix(in oklch, currentColor 50%, transparent);
    }
    70% {
      box-shadow: 0 0 0 10px transparent;
    }
    100% {
      box-shadow: 0 0 0 0 transparent;
    }
  }
  @keyframes rise {
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
  @keyframes fade {
    to {
      opacity: 1;
    }
  }
  @keyframes underline {
    to {
      transform: scaleX(1);
    }
  }
  @keyframes spin {
    to {
      --angle: 360deg;
      rotate: 360deg;
    }
  }
  @keyframes float {
    0%,
    100% {
      transform: translateY(0) rotate(0);
    }
    50% {
      transform: translateY(-10px) rotate(2deg);
    }
  }
  @keyframes blink {
    50% {
      opacity: 0;
    }
  }
  @keyframes typing {
    to {
      width: 100%;
    }
  }
  @keyframes cue {
    0% {
      transform: translateY(-100%);
    }
    100% {
      transform: translateY(100%);
    }
  }
  @keyframes marquee {
    to {
      transform: translateX(-50%);
    }
  }
  @keyframes morph {
    0%,
    100% {
      border-radius: 50%;
      transform: scale(1);
    }
    33% {
      border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
      transform: scale(1.08) rotate(10deg);
    }
    66% {
      border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%;
      transform: scale(0.94) rotate(-8deg);
    }
  }
  @keyframes shimmer {
    to {
      background-position: -200% 0;
    }
  }
  @keyframes wiggle {
    0%,
    100% {
      rotate: 0deg;
    }
    50% {
      rotate: 12deg;
    }
  }
  @keyframes reveal {
    from {
      opacity: 0;
      translate: 0 32px;
      filter: blur(6px);
    }
    to {
      opacity: 1;
      translate: 0 0;
      filter: blur(0);
    }
  }
  @keyframes grow-x {
    to {
      transform: scaleX(1);
    }
  }
  @keyframes fill-text {
    from {
      background-position: 100% 0;
    }
    to {
      background-position: 0 0;
    }
  }
  @keyframes slide-track {
    to {
      transform: translateX(calc(100vw - 100% - var(--gutter)));
    }
  }
  @keyframes dot-1 {
    0%,
    33% {
      transform: scaleX(1);
    }
    34%,
    100% {
      transform: scaleX(1);
    }
  }
  @keyframes dot-fill {
    to {
      transform: scaleX(1);
    }
  }

  /* --- 스크롤 드리븐 애니메이션 (지원 브라우저) --- */
  @supports (animation-timeline: view()) {
    [data-reveal] {
      animation: reveal 1s var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
    [data-reveal]:nth-child(2) {
      animation-range: entry 5% entry 50%;
    }
    [data-reveal]:nth-child(3) {
      animation-range: entry 10% entry 55%;
    }
    [data-reveal]:nth-child(4) {
      animation-range: entry 15% entry 60%;
    }
    .progress {
      transform: scaleX(0);
      animation: grow-x linear both;
      animation-timeline: scroll(root);
    }
    /* 매니페스토: 스크롤하면 글자가 차오름 */
    .manifesto {
      background: linear-gradient(
        90deg,
        var(--ink) 0 50%,
        color-mix(in oklch, var(--ink) 22%, transparent) 50% 100%
      );
      background-size: 200% 100%;
      background-position: 100% 0;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation:
        reveal 1s var(--ease-out) both,
        fill-text linear both;
      animation-timeline: view(), view();
      animation-range:
        entry 0% entry 45%,
        entry 40% cover 55%;
    }
    .manifesto em {
      background: linear-gradient(
        90deg,
        var(--accent) 0 50%,
        color-mix(in oklch, var(--accent) 30%, transparent) 50% 100%
      );
      background-size: 200% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: fill-text linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 55%;
    }
    /* 진행 과정 선 */
    .process-steps {
      animation: fill-p linear both;
      animation-timeline: view();
      animation-range: entry 30% exit 10%;
    }
    @keyframes fill-p {
      to {
        --p: 1;
      }
    }
  }

  /* 서비스 가로 핀 스크롤 (데스크톱 + 지원 브라우저) */
  @supports (animation-timeline: view()) {
    @media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
      .services-pin {
        height: 320vh;
        view-timeline: --svc block;
      }
      .services-sticky {
        position: sticky;
        top: 0;
        height: 100svh;
        display: flex;
        flex-direction: column;
        padding-top: calc(var(--header-h) + 32px);
      }
      .services-head {
        margin-bottom: 28px;
      }
      .services-track {
        flex-direction: row;
        width: max-content;
        margin-inline: 0;
        padding-left: max(var(--gutter), (100vw - 1240px) / 2);
        padding-bottom: 0;
        gap: clamp(64px, 8vw, 140px);
        flex: 1;
        animation: slide-track linear both;
        animation-timeline: --svc;
        animation-range: contain 0% contain 100%;
        will-change: transform;
      }
      .service-panel {
        width: min(1240px, 100vw - var(--gutter) * 2);
        flex: none;
        align-content: center;
      }
      .services-dots i:nth-child(1)::after {
        animation: dot-fill linear both;
        animation-timeline: --svc;
        animation-range: contain 0% contain 33%;
      }
      .services-dots i:nth-child(2)::after {
        animation: dot-fill linear both;
        animation-timeline: --svc;
        animation-range: contain 33% contain 66%;
      }
      .services-dots i:nth-child(3)::after {
        animation: dot-fill linear both;
        animation-timeline: --svc;
        animation-range: contain 66% contain 100%;
      }
    }
  }

  /* --- 폴백: IntersectionObserver 클래스 --- */
  @supports not (animation-timeline: view()) {
    [data-reveal] {
      opacity: 0;
      translate: 0 28px;
      transition:
        opacity 0.9s var(--ease-out),
        translate 0.9s var(--ease-out);
      transition-delay: calc(var(--i, 0) * 80ms);
    }
    [data-reveal].in-view {
      opacity: 1;
      translate: 0 0;
    }
    .process-steps {
      transition: --p 0.2s linear;
    }
  }

  /* --- 모션 최소화 --- */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
    [data-hero],
    [data-reveal],
    .scroll-cue,
    .bubble {
      opacity: 1 !important;
      translate: 0 0 !important;
      filter: none !important;
    }
    .manifesto,
    .manifesto em {
      background: none !important;
      color: var(--ink) !important;
    }
    .manifesto em {
      color: var(--accent) !important;
    }
    .display .accent::after {
      transform: scaleX(1);
    }
    .ln.is-pending,
    .ln.is-typing {
      visibility: visible;
      width: auto;
      animation: none;
    }
    .marquee-track,
    .contact-big {
      animation: none;
    }
    .hero-gl {
      display: none;
    }
    .hero.has-gl .hero-fallback {
      display: block;
    }
    .grow-line {
      stroke-dashoffset: 0;
    }
    .grow-fill {
      opacity: 1;
    }
    .services-pin {
      height: auto;
    }
    .services-sticky {
      position: static;
      height: auto;
    }
    .services-track {
      flex-direction: column;
      width: min(1240px, 100% - var(--gutter) * 2);
      margin-inline: auto;
      padding-left: 0;
      animation: none;
    }
  }
}

/* ------------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------------ */
@layer overrides {
  @media (max-width: 1023px) {
    .services-head {
      grid-template-columns: 1fr;
    }
    .services-dots {
      display: none;
    }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
    .footer-right {
      grid-column: 1 / -1;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid var(--line);
      padding-top: 20px;
    }
  }
  @media (max-width: 900px) {
    :root {
      --header-h: 64px;
    }
    .nav,
    .header-cta {
      display: none;
    }
    .menu-toggle {
      display: block;
    }
    .hero-inner {
      grid-template-columns: 1fr;
      padding-block: 24px 72px;
    }
    .hero-stage {
      min-height: 0;
      margin-top: 24px;
    }
    .sticker-sun {
      width: 72px;
      height: 72px;
      top: -22px;
      right: 0;
    }
    .sticker-note {
      bottom: -18px;
      right: 0;
    }
    .orbit-chip {
      display: none;
    }
    .bento {
      grid-template-columns: 1fr 1fr;
    }
    .card-1,
    .card-2,
    .card-3,
    .card-4 {
      grid-column: span 2;
    }
    .service-panel,
    .process-layout,
    .faq-layout,
    .contact-inner {
      grid-template-columns: 1fr;
    }
    .process-intro,
    .faq-intro {
      position: static;
    }
    .service-visual {
      min-height: 320px;
    }
    .contact-panel {
      border-radius: 28px;
    }
  }
  @media (max-width: 600px) {
    .section {
      padding-block: 80px;
    }
    .hero .eyebrow > :nth-child(n + 3) {
      display: none;
    }
    .display {
      font-size: clamp(2.5rem, 12vw, 3.6rem);
    }
    .process-step {
      grid-template-columns: 48px 1fr;
      gap: 16px;
      padding-right: 0;
    }
    .step-number {
      width: 48px;
      height: 48px;
      font-size: 0.85rem;
    }
    .process-steps::before,
    .process-steps::after {
      left: 23px;
    }
    .footer-grid {
      grid-template-columns: 1fr;
    }
    .contact-actions .button {
      width: 100%;
      justify-content: center;
    }
    .mock-body {
      grid-template-columns: 1fr;
    }
    .abstract-shape {
      display: none;
    }
    .to-top {
      right: 14px;
      bottom: 14px;
    }
  }
}
