    :root {
      color-scheme: dark;
      --bg: #050b22;
      --bg-purple: #160d35;
      --text: #f4f8ff;
      --muted: rgba(244, 248, 255, 0.68);
      --line: rgba(213, 226, 255, 0.18);
      --slogan-right: clamp(1.25rem, 6vw, 5.25rem);
    }

    @property --mark-enter {
      syntax: "<number>";
      inherits: true;
      initial-value: 0;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      width: 100%;
      min-height: 100%;
      margin: 0;
      font-family: Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--text);
      background: var(--bg);
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      word-break: keep-all;
      overflow-wrap: normal;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .hero {
      display: none;
      position: relative;
      z-index: 1;
      min-height: 100svh;
      overflow: hidden;
      isolation: isolate;
      background: transparent;
    }

    .hero-video {
      position: fixed;
      inset: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      background: #020817 url("assets/flowing-poster.jpg") center / cover no-repeat;
      pointer-events: none;
    }

    .video-overlay {
      position: fixed;
      inset: 0;
      z-index: 0;
      background:
        radial-gradient(circle at 50% 42%, rgba(0, 72, 255, 0.09), transparent 32rem),
        linear-gradient(180deg, rgba(3, 8, 28, 0.16), rgba(3, 8, 28, 0.52)),
        rgba(0, 0, 0, 0.08);
      pointer-events: none;
    }

    .hero::before {
      content: none;
      position: absolute;
      top: -12%;
      right: -18%;
      bottom: -16%;
      left: -8%;
      z-index: -2;
      background-image: url("assets/welly-mark.png");
      background-repeat: no-repeat;
      background-position: 56% 51%;
      background-size: min(112rem, 136vw) auto;
      opacity: calc(0.18 * var(--mark-enter, 0) * var(--mark-opacity, 1));
      transform: rotate(-0.8deg) scale(calc(1.04 + (var(--mark-enter, 0) * 0.06)));
      animation: mark-float-in 2200ms cubic-bezier(0.19, 1, 0.22, 1) 180ms forwards;
    }

    .hero.is-scrolling::before {
      opacity: calc(0.18 * var(--mark-enter, 1) * var(--mark-opacity, 1));
      transform: rotate(-0.8deg) scale(calc(1.1 + (var(--hero-progress, 0) * 0.1)));
    }

    .hero::after {
      content: none;
      position: absolute;
      inset: 0;
      z-index: 0;
      background:
        radial-gradient(circle at 50% 42%, rgba(0, 72, 255, 0.12), transparent 32rem),
        linear-gradient(180deg, rgba(3, 8, 28, 0.32), rgba(3, 8, 28, 0.88)),
        rgba(0, 0, 0, 0.18);
      pointer-events: none;
    }

    .hero-edge-light {
      display: none;
      position: absolute;
      top: -12%;
      right: -18%;
      bottom: -16%;
      left: -8%;
      z-index: 0;
      pointer-events: none;
      opacity: 0;
      mix-blend-mode: screen;
      background:
        linear-gradient(112deg, transparent 34%, rgba(235, 246, 255, 0) 42%, rgba(238, 248, 255, 0.32) 47%, rgba(170, 206, 255, 0.42) 50%, rgba(122, 177, 255, 0.18) 54%, rgba(238, 248, 255, 0) 61%, transparent 68%);
      background-size: min(50rem, 62vw) 150%;
      background-position: 118% 50%;
      -webkit-mask-image: url("assets/welly-mark.png");
      mask-image: url("assets/welly-mark.png");
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: 56% 51%;
      mask-position: 56% 51%;
      -webkit-mask-size: min(112rem, 136vw) auto;
      mask-size: min(112rem, 136vw) auto;
      filter: none;
      transform: rotate(-0.8deg) scale(1.1);
      will-change: opacity, background-position;
      contain: paint;
      animation: hero-edge-glint 14000ms cubic-bezier(0.45, 0, 0.2, 1) 820ms infinite;
    }

    .nav {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 20;
      width: 100%;
      min-height: 5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.85rem clamp(1.25rem, 4vw, 4.5rem);
      border: 0;
      border-radius: 0;
      color: #f4f8ff;
      background: transparent;
      box-shadow: none;
      backdrop-filter: none;
      opacity: 1;
      pointer-events: auto;
      transform: none;
      transition: color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
    }

    .nav.is-scrolled {
      color: #071126;
      background: rgba(247, 251, 255, 0.92);
      box-shadow: 0 1.2rem 3rem rgba(48, 94, 160, 0.12);
      backdrop-filter: blur(18px);
    }

    .nav-logo {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      height: 2.8rem;
      color: inherit;
      background: transparent;
      flex: 0 0 auto;
    }

    .nav-logo img {
      display: block;
      width: 2.8rem;
      height: 2.8rem;
      overflow: hidden;
      border-radius: 8px;
      object-fit: cover;
    }

    .nav-logo span {
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: -0.02em;
      white-space: nowrap;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.35rem;
    }

    .nav-right {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.35rem;
    }

    .nav-menu a,
    .nav-language-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.5rem;
      padding: 0 0.8rem;
      border: 1px solid transparent;
      border-radius: 8px;
      color: rgba(244, 248, 255, 0.78);
      background: transparent;
      font-size: 0.92rem;
      font-weight: 850;
      font-family: inherit;
      white-space: nowrap;
      cursor: pointer;
      transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
    }

    .nav-menu a:hover,
    .nav-menu a:focus-visible,
    .nav-language-toggle:hover,
    .nav-language-toggle:focus-visible {
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.24);
      background: rgba(255, 255, 255, 0.08);
      outline: none;
    }

    .nav-language-toggle {
      min-width: 3.1rem;
      color: rgba(244, 248, 255, 0.86);
    }

    .nav.is-scrolled .nav-menu a,
    .nav.is-scrolled .nav-language-toggle {
      color: rgba(7, 17, 38, 0.7);
    }

    .nav.is-scrolled .nav-menu a:hover,
    .nav.is-scrolled .nav-menu a:focus-visible,
    .nav.is-scrolled .nav-language-toggle:hover,
    .nav.is-scrolled .nav-language-toggle:focus-visible {
      color: #071126;
      border-color: rgba(96, 151, 255, 0.22);
      background: rgba(255, 255, 255, 0.72);
    }

    .nav-toggle {
      display: none;
      place-items: center;
      width: 2.75rem;
      height: 2.75rem;
      border: 1px solid rgba(244, 248, 255, 0.22);
      border-radius: 8px;
      color: currentColor;
      background: rgba(255, 255, 255, 0.08);
      cursor: pointer;
    }

    .nav-toggle span {
      position: relative;
      display: block;
      width: 1.1rem;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transition: background-color 180ms ease;
    }

    .nav-toggle span::before,
    .nav-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
      width: 100%;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transition: transform 180ms ease, top 180ms ease;
    }

    .nav-toggle span::before {
      top: -0.38rem;
    }

    .nav-toggle span::after {
      top: 0.38rem;
    }

    .nav.is-open .nav-toggle span {
      background: transparent;
    }

    .nav.is-open .nav-toggle span::before {
      top: 0;
      transform: rotate(45deg);
    }

    .nav.is-open .nav-toggle span::after {
      top: 0;
      transform: rotate(-45deg);
    }

    .logo-button {
      display: inline-grid;
      place-items: center;
      width: clamp(8.5rem, 14vw, 13.75rem);
      aspect-ratio: 1200 / 500;
      border: 1px solid transparent;
      border-radius: 8px;
      background: transparent;
      transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    .logo-button:hover,
    .logo-button:focus-visible {
      transform: translateY(-2px);
      border-color: rgba(255, 255, 255, 0.34);
      box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.2);
      outline: none;
    }

    .logo-button img {
      display: block;
      width: 82%;
      height: auto;
    }

    .content {
      position: relative;
      z-index: 2;
      width: min(72rem, calc(100% - 2.5rem));
      min-height: 100svh;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 9rem 0 7rem;
      text-align: center;
    }

    .scroll-cue {
      position: absolute;
      right: calc(var(--slogan-right) + clamp(0.45rem, 1vw, 1rem));
      bottom: clamp(0.75rem, 1.8vw, 1.35rem);
      z-index: 3;
      display: grid;
      justify-items: center;
      gap: 0.45rem;
      color: rgba(244, 248, 255, 0.58);
      opacity: 0.5;
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      pointer-events: none;
    }

    .hero .scroll-cue {
      bottom: clamp(0.75rem, 1.8vw, 1.35rem);
    }

    .scroll-cue-track {
      position: relative;
      width: 0.08rem;
      height: 2.8rem;
      overflow: hidden;
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(244, 248, 255, 0), rgba(244, 248, 255, 0.18), rgba(244, 248, 255, 0));
    }

    .scroll-cue-drop {
      position: absolute;
      bottom: -0.55rem;
      left: 50%;
      width: 0.34rem;
      height: 0.34rem;
      border-radius: 999px;
      background: #eef8ff;
      box-shadow:
        0 0 0.85rem rgba(191, 226, 255, 0.9),
        0 0 1.6rem rgba(107, 167, 255, 0.34);
      opacity: 0;
      transform: translate(-50%, 0.4rem) scale(0.65);
      animation: scroll-light-drop 1800ms cubic-bezier(0.45, 0, 0.2, 1) infinite;
    }

    .scroll-cue-drop:nth-child(2) {
      animation-delay: 420ms;
    }

    .scroll-cue-drop:nth-child(3) {
      animation-delay: 840ms;
    }

    @keyframes scroll-light-drop {
      0% {
        opacity: 0;
        transform: translate(-50%, 0.45rem) scale(0.55);
      }

      18% {
        opacity: 1;
      }

      72% {
        opacity: 0.82;
      }

      100% {
        opacity: 0;
        transform: translate(-50%, -3.05rem) scale(1);
      }
    }

    .slogan {
      position: static;
      z-index: 2;
      width: 100%;
      max-width: none;
      margin: 0;
      color: rgba(255, 255, 255, 0.96);
      font-size: clamp(2.5rem, 5vw, 4.8rem);
      line-height: 1.12;
      font-weight: 850;
      letter-spacing: 0;
      word-break: keep-all;
      text-align: center;
    }

    .slogan .slogan-line {
      display: block;
      white-space: nowrap;
      opacity: 0;
      transform: translateY(0.46em);
      animation: hero-slogan-flash 1500ms cubic-bezier(0.19, 1, 0.22, 1) 180ms forwards;
    }

    .slogan .slogan-line.is-exiting {
      animation: none;
      opacity: var(--exit-opacity, 1);
      transform: translateY(calc(var(--exit-progress, 0) * -0.34em));
    }

    .slogan .slogan-line:nth-child(1) {
      animation-delay: 420ms;
    }

    .slogan .slogan-line:nth-child(2) {
      animation-delay: 860ms;
    }

    .slogan .slogan-line:nth-child(3) {
      animation-delay: 1300ms;
    }

    .copy {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: min(58rem, 100%);
      padding-top: 0;
      text-align: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      min-height: 2rem;
      padding: 0 0.9rem;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: rgba(210, 226, 255, 0.82);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0;
      background: rgba(255, 255, 255, 0.045);
    }

    h1 {
      width: 100%;
      margin: 1.05rem 0 0;
      font-size: clamp(1.65rem, 3.5vw, 3.1rem);
      line-height: 1.18;
      letter-spacing: 0;
      font-weight: 560;
      text-align: center;
    }

    h1 .line {
      display: inline-block;
      opacity: 0;
      transform: translateY(0.36em);
      animation: line-rise 820ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
    }

    h1 .line.is-exiting {
      animation: none;
      opacity: var(--exit-opacity, 1);
      transform: translateY(calc(var(--exit-progress, 0) * 0.34em));
    }

    h1 .line:nth-child(2) {
      animation-delay: 140ms;
    }

    h1 .line:nth-child(3) {
      animation-delay: 280ms;
    }

    h1 .sky {
      color: #d9ecff;
      text-shadow: 0 0 2.25rem rgba(113, 169, 255, 0.24);
      animation-name: line-rise, sky-bloom;
      animation-duration: 820ms, 980ms;
      animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1), ease;
      animation-fill-mode: forwards, forwards;
      animation-delay: 140ms, 460ms;
    }

    p {
      max-width: 34rem;
      margin: 1.5rem 0 0;
      color: var(--muted);
      font-size: clamp(1rem, 1.45vw, 1.28rem);
      line-height: 1.7;
      word-break: keep-all;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 3.4rem;
      opacity: 0;
      transform: translateY(0.85rem);
      animation: actions-rise 760ms cubic-bezier(0.19, 1, 0.22, 1) 620ms forwards;
    }

    .action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3rem;
      padding: 0 1.1rem;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 8px;
      color: #071126;
      background: #eef5ff;
      font-size: 0.95rem;
      font-weight: 800;
    }

    .action.secondary {
      color: rgba(244, 248, 255, 0.86);
      background: rgba(255, 255, 255, 0.06);
    }

    @keyframes line-rise {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes sky-bloom {
      from {
        color: #f4f8ff;
        text-shadow: 0 0 0 rgba(113, 169, 255, 0);
      }

      to {
        color: #b9dcff;
        text-shadow: 0 0 2.25rem rgba(113, 169, 255, 0.24);
      }
    }

    @keyframes actions-rise {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes mark-float-in {
      to {
        --mark-enter: 1;
      }
    }

    @keyframes hero-edge-glint {
      0% {
        opacity: 0;
        background-position: 118% 50%;
      }

      2% {
        opacity: 0;
      }

      7% {
        opacity: 0.34;
      }

      30% {
        opacity: 0.3;
        background-position: 50% 50%;
      }

      43% {
        opacity: 0.32;
      }

      72% {
        opacity: 0;
        background-position: -18% 50%;
      }

      100% {
        opacity: 0;
        background-position: -18% 50%;
      }
    }

    @keyframes slogan-line-enter {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes hero-slogan-flash {
      0% {
        opacity: 0;
        color: rgba(170, 184, 208, 0.72);
        text-shadow: none;
        transform: translateY(0.46em);
      }

      34% {
        opacity: 1;
        color: #ffffff;
        text-shadow:
          0 0 1rem rgba(255, 255, 255, 0.72),
          0 0 3.2rem rgba(148, 200, 255, 0.52);
        transform: translateY(0);
      }

      58% {
        color: #f4faff;
        text-shadow:
          0 0 0.75rem rgba(244, 250, 255, 0.42),
          0 0 2rem rgba(148, 200, 255, 0.28);
      }

      to {
        opacity: 1;
        color: #f8fbff;
        text-shadow:
          0 0 0.65rem rgba(244, 250, 255, 0.24),
          0 0 1.8rem rgba(148, 200, 255, 0.16);
        transform: translateY(0);
      }
    }

    @media (min-width: 721px) {
      :root {
        --slogan-right: max(5rem, calc((100vw - 58rem) / 2));
      }

      .hero::before {
        background-position: 52% 50%;
        background-size: min(112rem, 128vw) auto;
        transform: rotate(-0.8deg) scale(1.16);
      }

      .hero-edge-light {
        -webkit-mask-position: 52% 50%;
        mask-position: 52% 50%;
        -webkit-mask-size: min(112rem, 128vw) auto;
        mask-size: min(112rem, 128vw) auto;
        transform: rotate(-0.8deg) scale(1.16);
      }

      .hero.is-scrolling::before {
        transform: rotate(-0.8deg) scale(calc(1.16 + (var(--hero-progress, 0) * 0.1)));
      }

      .content {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: min(58rem, calc(100% - 4rem));
        min-height: 100svh;
        padding: 0;
        text-align: center;
      }

      .copy {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(50rem, 100%);
        padding-top: 0;
      }

      h1 {
        margin: 1.05rem 0 0;
        font-size: clamp(1.9rem, 3.1vw, 3.1rem);
      }

      .slogan {
        font-size: clamp(2.25rem, 3.9vw, 3.8rem);
      }

    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 1ms !important;
        animation-delay: 0ms !important;
        scroll-behavior: auto !important;
      }

      .hero-edge-light {
        display: none;
      }
    }

    @media (max-width: 720px) {
      .nav {
        top: 0;
        width: 100%;
        min-height: 4rem;
        padding: 0.6rem 1rem;
      }

      .nav-logo {
        height: 2.6rem;
      }

      .nav-logo img {
        width: 2.6rem;
        height: 2.6rem;
      }

      .nav-logo span {
        font-size: 0.94rem;
      }

      .nav-toggle {
        display: grid;
      }

      .nav-right {
        display: flex;
        align-items: center;
        gap: 0.4rem;
      }

      .nav-menu {
        position: absolute;
        top: calc(100% + 0.35rem);
        right: 1rem;
        width: min(15rem, calc(100vw - 2rem));
        display: grid;
        gap: 0.25rem;
        justify-content: stretch;
        justify-items: stretch;
        align-items: stretch;
        padding: 0.45rem;
        border: 1px solid rgba(7, 17, 38, 0.08);
        border-radius: 8px;
        background: rgba(247, 251, 255, 0.96);
        box-shadow: 0 1.2rem 3rem rgba(48, 94, 160, 0.14);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-0.4rem);
        transition: opacity 180ms ease, transform 180ms ease;
      }

      .nav .nav-menu a,
      .nav .nav-menu .nav-language-toggle,
      .nav.is-scrolled .nav-menu a,
      .nav.is-scrolled .nav-menu .nav-language-toggle {
        color: rgba(7, 17, 38, 0.72);
      }

      .nav .nav-menu a:hover,
      .nav .nav-menu a:focus-visible,
      .nav .nav-menu .nav-language-toggle:hover,
      .nav .nav-menu .nav-language-toggle:focus-visible,
      .nav.is-scrolled .nav-menu a:hover,
      .nav.is-scrolled .nav-menu a:focus-visible,
      .nav.is-scrolled .nav-menu .nav-language-toggle:hover,
      .nav.is-scrolled .nav-menu .nav-language-toggle:focus-visible {
        color: #071126;
        border-color: rgba(96, 151, 255, 0.22);
        background: rgba(96, 151, 255, 0.08);
      }

      .nav.is-open .nav-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }

    .nav-menu a {
        justify-content: center;
        width: 100%;
        min-height: 2.65rem;
        padding: 0 0.8rem;
        font-size: 0.9rem;
        text-align: center;
      }

      .nav-language-toggle {
        width: 100%;
        min-width: 0;
        min-height: 2.65rem;
      }

      .hero::before {
        top: -6%;
        right: -96%;
        bottom: -8%;
        left: -54%;
        background-position: 62% 40%;
        background-size: 64rem auto;
        opacity: calc(0.18 * var(--mark-enter, 0) * var(--mark-opacity, 1));
      }

      .hero.is-scrolling::before {
        opacity: calc(0.18 * var(--mark-enter, 1) * var(--mark-opacity, 1));
      }

      .hero::after {
        background:
          radial-gradient(circle at 50% 42%, rgba(0, 72, 255, 0.12), transparent 32rem),
          linear-gradient(180deg, rgba(3, 8, 28, 0.32), rgba(3, 8, 28, 0.88)),
          rgba(0, 0, 0, 0.18);
      }

      .hero-edge-light {
        top: -6%;
        right: -96%;
        bottom: -8%;
        left: -54%;
        background-size: 20rem 150%;
        -webkit-mask-position: 62% 40%;
        mask-position: 62% 40%;
        -webkit-mask-size: 64rem auto;
        mask-size: 64rem auto;
        filter: none;
        animation-duration: 9000ms;
        animation-delay: 520ms;
      }

      .after-line.ko {
        width: min(100%, 22.5rem);
        margin-inline: auto;
        font-size: clamp(1rem, 5vw, 1.42rem);
        line-height: 1.55;
        white-space: normal;
      }

      .after-brand {
        font-size: clamp(3.35rem, 15vw, 5rem);
      }

      .mobile-subline {
        display: block;
      }

      .logo-button {
        width: 9.25rem;
      }

      .content {
        width: min(100% - 2rem, 34rem);
        align-items: center;
        padding: 7rem 0 4.5rem;
      }

      .slogan {
        position: static;
        max-width: none;
        font-size: clamp(1.9rem, 7.8vw, 3.25rem);
        line-height: 1.12;
        text-align: center;
      }

      .copy {
        padding-top: 0;
        padding-bottom: 0;
      }

      .scroll-cue {
        right: auto;
        left: 50%;
        bottom: 1.05rem;
        top: auto;
        transform: translateX(-50%);
      }

      .actions {
        width: 100%;
      }

      .action {
        flex: 1 1 10rem;
      }
    }

    @media (max-width: 720px) and (display-mode: standalone) {
      .hero,
      .content {
        min-height: 100dvh;
        height: 100dvh;
      }

      .content {
        padding-top: calc(8rem + env(safe-area-inset-top));
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
      }

      .slogan {
        top: calc(7.4rem + env(safe-area-inset-top));
      }

      .copy {
        padding-bottom: calc(4.2rem + env(safe-area-inset-bottom));
      }
    }

    @media (max-width: 720px) and (display-mode: standalone) and (max-height: 720px) {
      .slogan {
        top: calc(6.75rem + env(safe-area-inset-top));
      }

      .copy {
        padding-bottom: calc(3.35rem + env(safe-area-inset-bottom));
      }
    }

    @media (max-width: 720px) {
      body.is-standalone .hero,
      body.is-standalone .content {
        min-height: 100dvh;
        height: 100dvh;
      }

      body.is-standalone .content {
        padding-top: calc(8rem + env(safe-area-inset-top));
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
      }

      body.is-standalone .slogan {
        top: calc(7.4rem + env(safe-area-inset-top));
      }

      body.is-standalone .copy {
        padding-bottom: calc(4.2rem + env(safe-area-inset-bottom));
      }
    }

    @media (max-width: 720px) and (max-height: 720px) {
      body.is-standalone .slogan {
        top: calc(6.75rem + env(safe-area-inset-top));
      }

      body.is-standalone .copy {
        padding-bottom: calc(3.35rem + env(safe-area-inset-bottom));
      }
    }

    .after {
      position: relative;
      z-index: 1;
      display: grid;
      place-items: center;
      min-height: 100svh;
      padding: 6rem 1.25rem;
      overflow: hidden;
      isolation: isolate;
      background: transparent;
      color: var(--text);
    }

    .after::before {
      content: none;
      position: absolute;
      inset: 0;
      z-index: 0;
      background:
        radial-gradient(circle at 50% 42%, rgba(0, 72, 255, 0.12), transparent 32rem),
        linear-gradient(180deg, rgba(3, 8, 28, 0.32), rgba(3, 8, 28, 0.88)),
        rgba(0, 0, 0, 0.18);
      pointer-events: none;
    }

    .after-copy {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: min(82rem, calc(100% - 2rem));
      max-width: none;
      margin: 0;
      color: rgba(244, 248, 255, 0.84);
      font-family: Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: clamp(1.05rem, 1.45vw, 1.42rem);
      font-weight: 400;
      line-height: 1.5;
      letter-spacing: 0;
      text-align: center;
      word-break: keep-all;
      opacity: 0;
      transform: translateY(2rem);
      transition: none;
    }

    .after-copy.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .after-copy.is-visible .after-brand {
      animation: brand-flash 980ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
    }

    .after-brand {
      display: block;
      margin-bottom: 2.05rem;
      color: rgba(225, 238, 255, 0.84);
      font-family: Pretendard, "Noto Sans KR", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: clamp(2.7rem, 6.2vw, 6.9rem);
      font-weight: 500;
      letter-spacing: 0;
      line-height: 0.98;
      white-space: nowrap;
      opacity: 0;
      transform: translateY(0.8rem);
      transform-origin: 50% 58%;
    }

    .after-line {
      display: block;
      opacity: 0;
      transform: translateY(0.8rem);
      white-space: nowrap;
    }

    .mobile-subline {
      display: inline;
    }

    .after-line.ko {
      margin-top: 0.35rem;
      color: rgba(244, 248, 255, 0.78);
      font-size: clamp(1rem, 1.45vw, 1.45rem);
      font-weight: 560;
    }

    @media (max-width: 720px) {
      .after-line.ko {
        width: min(100%, 22.5rem);
        margin-inline: auto;
        white-space: normal;
      }

      .after-line.ko .mobile-subline {
        display: block;
      }
    }

    .hero-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.65rem;
      min-height: 3.25rem;
      margin-top: 2.35rem;
      padding: 0 1.55rem;
      border: 1px solid rgba(232, 242, 255, 0.34);
      border-radius: 999px;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(10px);
      font-size: 0.98rem;
      font-weight: 760;
      opacity: 0;
      transform: translateY(0.8rem);
      transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
    }

    .hero-cta::after {
      content: "→";
      font-size: 1.25rem;
      line-height: 1;
    }

    .hero-cta:hover,
    .hero-cta:focus-visible {
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.62);
      background: rgba(255, 255, 255, 0.18);
      transform: translateY(-1px);
      outline: none;
    }

    .after-eyebrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 0 0 1.2rem;
      padding: 0;
      border: 0;
      border-radius: 0;
      color: rgba(232, 242, 255, 0.88);
      background: transparent;
      font-size: clamp(0.98rem, 1.25vw, 1.16rem);
      font-weight: 560;
      opacity: 0;
      transform: translateY(0.6rem);
    }

    .after-copy.is-visible .after-eyebrow {
      animation: after-line-rise 820ms cubic-bezier(0.19, 1, 0.22, 1) 120ms forwards;
    }

    .after-copy.is-visible .after-line {
      animation: after-line-rise 1000ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
    }

    .after-copy.is-visible .hero-cta {
      animation: after-line-rise 860ms cubic-bezier(0.19, 1, 0.22, 1) 620ms forwards;
    }

    .after-copy.is-visible .after-line:nth-of-type(2) {
      animation-delay: 420ms;
    }

    @keyframes brand-flash {
      0% {
        opacity: 0;
        color: rgba(112, 120, 138, 0.72);
        text-shadow: none;
        transform: translateY(0.8rem);
      }

      36% {
        opacity: 1;
        color: #f8fbff;
        text-shadow:
          0 0 1rem rgba(255, 255, 255, 0.72),
          0 0 3rem rgba(148, 200, 255, 0.5);
        transform: translateY(0);
      }

      58% {
        color: #eef7ff;
        text-shadow:
          0 0 0.6rem rgba(238, 247, 255, 0.36),
          0 0 1.8rem rgba(148, 200, 255, 0.24);
      }

      to {
        opacity: 1;
        color: #cfe5ff;
        text-shadow:
          0 0 0.55rem rgba(217, 236, 255, 0.14),
          0 0 1.4rem rgba(148, 200, 255, 0.12);
        transform: translateY(0);
      }
    }

    @keyframes after-line-rise {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .bird-scene {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      min-height: 100svh;
      overflow: hidden;
      padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem);
      background:
        radial-gradient(circle at 53% 38%, rgba(255, 224, 112, 0.24), transparent 24rem),
        radial-gradient(circle at 56% 43%, rgba(91, 166, 255, 0.2), transparent 34rem),
        radial-gradient(circle at 18% 76%, rgba(36, 192, 255, 0.1), transparent 26rem),
        linear-gradient(145deg, #020817 0%, #05122c 48%, #020716 100%);
    }

    .bird-scene::before {
      content: "";
      position: absolute;
      inset: -28% -34%;
      z-index: 0;
      background-image: url("assets/welly-mark.png");
      background-repeat: no-repeat;
      background-position: 64% 52%;
      background-size: min(98rem, 124vw) auto;
      opacity: 0.18;
      transform: scale(1);
      transform-origin: 64% 52%;
      filter: saturate(1.24) contrast(1.1) drop-shadow(0 0 3rem rgba(110, 180, 255, 0.28));
      pointer-events: none;
    }

    .bird-scene.is-visible::before {
      animation: bird-mark-dissolve 3600ms cubic-bezier(0.19, 1, 0.22, 1) 420ms forwards;
    }

    @keyframes bird-mark-dissolve {
      to {
        opacity: 0.14;
        transform: scale(1.18);
      }
    }

    .bird-content {
      position: relative;
      z-index: 2;
      width: min(76rem, 100%);
      margin: 0 auto;
      color: #f4f8ff;
    }

    .bird-kicker {
      margin: 0 0 1.25rem;
      color: rgba(173, 211, 255, 0.72);
      font-size: clamp(0.9rem, 1vw, 1rem);
      font-weight: 800;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .bird-title {
      margin: 0;
      color: rgba(218, 232, 255, 0.9);
      font-family: Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: clamp(1.55rem, 3.6vw, 3.85rem);
      font-weight: 850;
      line-height: 1.25;
      letter-spacing: 0;
      text-shadow:
        0 0 0.75rem rgba(255, 255, 255, 0.08),
        0 0 1.8rem rgba(95, 160, 255, 0.12);
    }

    .bird-title .title-line {
      display: block;
      opacity: 0;
      transform: translateY(0.34em);
    }

    .bird-scene.is-visible .bird-title .title-line {
      animation: title-settle 980ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
    }

    .bird-scene.is-visible .bird-title .title-line:nth-child(2) {
      animation-delay: 160ms;
    }

    .bird-intro {
      max-width: 34rem;
      margin: 1.35rem 0 0 0.9rem;
      color: rgba(218, 232, 255, 0.74);
      font-size: clamp(1rem, 1.35vw, 1.24rem);
      line-height: 1.75;
      opacity: 0;
      transform: translateY(0.65rem);
    }

    .bird-scene.is-visible .bird-intro {
      animation: intro-soft-rise 1200ms cubic-bezier(0.19, 1, 0.22, 1) 520ms forwards;
    }

    .work-list {
      position: relative;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      grid-template-rows: auto auto;
      gap: clamp(1rem, 2.1vw, 1.45rem);
      width: min(43rem, 100%);
      min-height: clamp(24rem, 32vw, 28rem);
      margin-top: 3rem;
      isolation: isolate;
    }

    .work-flow-lines {
      position: absolute;
      inset: 1.2rem 2rem 2.2rem;
      z-index: 0;
      width: calc(100% - 4rem);
      height: calc(100% - 3.4rem);
      overflow: visible;
      pointer-events: none;
    }

    .work-flow-lines path {
      fill: none;
      stroke: rgba(132, 184, 255, 0.22);
      stroke-width: 0.7;
      stroke-linejoin: round;
      transition: stroke 260ms ease, filter 260ms ease;
    }

    .work-flow-lines .flow-light {
      stroke: rgba(184, 225, 255, 0.98);
      stroke-width: 1.55;
      stroke-linecap: round;
      stroke-dasharray: 12 310;
      stroke-dashoffset: 0;
      filter:
        drop-shadow(0 0 0.55rem rgba(184, 225, 255, 0.88))
        drop-shadow(0 0 1.3rem rgba(70, 148, 255, 0.42));
      animation: flow-light-travel 7200ms cubic-bezier(0.55, 0, 0.2, 1) infinite;
    }

    .work-flow-lines .flow-light:nth-child(3) {
      animation-delay: 2400ms;
    }

    .work-flow-lines .flow-light:nth-child(4) {
      animation-delay: 4800ms;
    }

    @keyframes flow-light-travel {
      0% {
        opacity: 0;
        stroke-dashoffset: 0;
      }

      16% {
        opacity: 1;
      }

      58% {
        opacity: 1;
      }

      100% {
        opacity: 0;
        stroke-dashoffset: -322;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .work-flow-lines .flow-light {
        animation: none;
        opacity: 0;
      }
    }

    .work-item {
      position: relative;
      z-index: 3;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: min(14rem, 100%);
      min-height: 12.25rem;
      padding: 1.9rem 1.45rem 1.35rem;
      border: 1px solid rgba(184, 225, 255, 0.28);
      border-radius: 30px;
      overflow: hidden;
      background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.015) 38%),
        radial-gradient(circle at 50% 0%, rgba(82, 166, 255, 0.18), transparent 62%),
        rgba(5, 14, 34, 0.9);
      box-shadow:
        0 1.65rem 2.5rem rgba(0, 0, 0, 0.36),
        0 0.25rem 0 rgba(255, 255, 255, 0.06) inset,
        0 -0.9rem 2rem rgba(0, 0, 0, 0.24) inset,
        0 0 3.2rem rgba(58, 138, 255, 0.18);
      /* No backdrop-filter: on mobile it left the card's content unpainted
         during threaded/async scrolling (Galaxy Z Fold 7 etc.), so the card
         text appeared clipped. The opaque-ish background below keeps the card
         readable without sampling the blurred backdrop. */
      transform-origin: center bottom;
    }

    .work-item::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      border-radius: inherit;
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.14) inset,
        0 -1px 0 rgba(0, 0, 0, 0.18) inset;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 30%, transparent 70%, rgba(84, 160, 255, 0.08));
      pointer-events: none;
    }

    .work-item::after {
      content: "";
      position: absolute;
      top: -34%;
      left: -28%;
      z-index: 0;
      width: 58%;
      height: 58%;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
      transform: rotate(-18deg);
      pointer-events: none;
    }

    .work-item:nth-of-type(1) {
      grid-column: 2 / 4;
      grid-row: 1;
      justify-self: center;
      align-self: start;
    }

    .work-item:nth-of-type(2) {
      grid-column: 1 / 3;
      grid-row: 2;
      justify-self: start;
      align-self: end;
    }

    .work-item:nth-of-type(3) {
      grid-column: 3 / 5;
      grid-row: 2;
      justify-self: end;
      align-self: end;
    }

    .work-item h3 {
      position: relative;
      z-index: 1;
      margin: 0;
      color: transparent;
      background: linear-gradient(115deg, #1a65ff 0%, #30bfff 44%, #815cff 100%);
      -webkit-background-clip: text;
      background-clip: text;
      font-size: clamp(1.65rem, 2.25vw, 2.3rem);
      font-weight: 950;
      line-height: 1.18;
      text-align: center;
      word-break: keep-all;
    }

    .work-item:nth-of-type(2) h3 {
      background-image: linear-gradient(115deg, #0f8fef 0%, #10c7c7 44%, #27d27f 100%);
    }

    .work-item:nth-of-type(3) h3 {
      background-image: linear-gradient(115deg, #5f9cff 0%, #59c6ff 48%, #c4f0ff 100%);
    }

    .work-item p {
      position: relative;
      z-index: 1;
      max-width: none;
      margin: 1.1rem 0 0;
      color: rgba(218, 232, 255, 0.68);
      font-size: 0.9rem;
      line-height: 1.68;
      text-align: center;
      word-break: keep-all;
    }

    .mobile-bird-card {
      display: none;
    }

    .bird-stage {
      position: absolute;
      inset: auto 0 0;
      height: min(72svh, 46rem);
    }

    .sales-bird {
      position: absolute;
      left: min(60vw, calc(100% - 29rem));
      bottom: clamp(8.2rem, 17.5svh, 12rem);
      width: clamp(18.4rem, 33.7vw, 32.2rem);
      height: auto;
      z-index: 1;
      opacity: 0;
      transform: translateY(0) scale(0.96) rotate(0deg);
      filter:
        drop-shadow(0 2.7rem 3.8rem rgba(0, 0, 0, 0.48))
        drop-shadow(0 0 4.2rem rgba(89, 166, 255, 0.42));
      will-change: transform, opacity;
    }

    .bird-scene.is-visible .sales-bird {
      animation: bird-slide-in 4200ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
    }

    @keyframes bird-slide-in {
      0% {
        opacity: 0;
        transform: translateY(0) scale(0.96) rotate(0deg);
      }

      45% {
        opacity: 1;
      }

      100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
      }
    }

    @keyframes title-settle {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes intro-soft-rise {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (hover: hover) and (pointer: fine) {
      .work-list:hover .work-flow-lines path:not(.flow-light) {
        stroke: rgba(145, 201, 255, 0.48);
        filter: drop-shadow(0 0 1rem rgba(96, 175, 255, 0.46));
      }

      .work-list:hover .work-flow-lines .flow-light {
        stroke: rgba(231, 248, 255, 0.98);
      }

    }

    @media (min-width: 721px) and (max-width: 1200px) {
      .bird-scene {
        padding: 5rem clamp(1.75rem, 5vw, 3.5rem);
      }

      .bird-content {
        width: min(76rem, 100%);
        margin: 0 auto;
      }

      .bird-title {
        font-size: clamp(2.15rem, 4.85vw, 3.35rem);
      }

      .work-list {
        width: min(41rem, 100%);
        gap: 0.9rem;
      }

      .work-item {
        min-height: 11.25rem;
        padding: 1.45rem 1.15rem 1.2rem;
      }

      .sales-bird {
        right: clamp(1rem, 4vw, 3rem);
        left: auto;
        bottom: clamp(7.5rem, 16.5svh, 10.4rem);
        width: clamp(17.25rem, 32.2vw, 23rem);
      }

    }

    @media (min-width: 721px) and (max-width: 900px) {
      .bird-scene {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding: 5rem clamp(1.75rem, 5vw, 3.5rem) 5.5rem;
      }

      .work-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: min(40rem, 100%);
        min-height: 27.5rem;
        margin-top: 2rem;
      }

      .work-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: min(13.25rem, 100%);
        min-height: 10.5rem;
        aspect-ratio: auto;
      }

      .mobile-bird-card {
        display: none;
      }

      .bird-stage {
        display: none;
      }
    }

    @media (max-width: 720px) {
      .bird-scene {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: auto;
        padding: 4.75rem 1rem 4.5rem;
      }

      /* mobile: drop the heavy background wordmark + its motion entirely (perf) */
      .bird-scene::before {
        display: none;
      }

      .bird-content {
        position: relative;
        z-index: 3;
        width: 100%;
        margin-left: 0;
      }

      .bird-title {
        font-size: clamp(2.35rem, 5.4vw, 5.75rem);
        line-height: 1.46;
      }

      .bird-intro {
        max-width: 22rem;
        margin-left: 0;
        margin-right: 0;
      }

      .work-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
        min-height: 0;
        margin-top: 1.6rem;
      }

      .work-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
        padding: 1.45rem 1rem 1rem;
      }

      .work-flow-lines {
        display: block;
        position: absolute;
        inset: 0.85rem 0.55rem 0.95rem;
        width: calc(100% - 1.1rem);
        height: calc(100% - 1.8rem);
        padding: 0;
        aspect-ratio: auto;
        transform: scaleX(0.74);
        transform-origin: center;
      }

      .work-flow-lines path {
        stroke-width: 0.55;
      }

      /* mobile: keep only the static guide line; drop the traveling light + its motion */
      .work-flow-lines .flow-light {
        display: none;
      }

      .work-item:nth-of-type(1),
      .work-item:nth-of-type(2),
      .work-item:nth-of-type(3) {
        grid-column: auto;
        grid-row: auto;
        justify-self: stretch;
        align-self: stretch;
      }

      .work-item h3 {
        font-size: clamp(1.35rem, 5.8vw, 1.8rem);
        line-height: 1.18;
      }

      .work-item p {
        margin: 0.8rem 0 0;
        font-size: 0.76rem;
        line-height: 1.48;
      }

      .mobile-bird-card {
        display: grid;
        position: relative;
        place-items: center;
        aspect-ratio: 1 / 1;
        overflow: visible;
      }

      .mobile-bird-card img {
        width: min(45vw, 14.2rem);
        height: auto;
        position: relative;
        z-index: 1;
        opacity: 0;
        transform: translate(-0.45rem, -0.45rem) scale(0.96);
        filter:
          drop-shadow(0 1.25rem 1.7rem rgba(0, 0, 0, 0.24))
          drop-shadow(0 0 2.8rem rgba(96, 175, 255, 0.46));
        cursor: pointer;
      }

      .bird-scene.is-visible .mobile-bird-card img {
        animation: mobile-bird-soft-in 2600ms cubic-bezier(0.19, 1, 0.22, 1) 520ms forwards;
      }

      @keyframes mobile-bird-soft-in {
        0% {
          opacity: 0;
          transform: translate(-0.45rem, -0.45rem) scale(0.96);
        }

        45% {
          opacity: 1;
        }

        to {
          opacity: 1;
          transform: translate(-0.45rem, -0.45rem) scale(1);
        }
      }

      .mobile-bird-card img.is-tapping {
        animation: mobile-bird-tap 920ms ease both !important;
        transform-origin: 50% 58%;
      }

      @keyframes mobile-bird-tap {
        0% {
          opacity: 1;
          transform: translate(-0.45rem, -0.45rem) rotate(0deg);
        }

        24% {
          opacity: 1;
          transform: translate(-0.45rem, -1rem) rotate(-2.8deg) scale(1.055);
        }

        48% {
          opacity: 1;
          transform: translate(-0.45rem, -0.23rem) rotate(1.8deg) scale(0.985);
        }

        72% {
          opacity: 1;
          transform: translate(-0.45rem, -0.63rem) rotate(-0.8deg) scale(1.02);
        }

        100% {
          opacity: 1;
          transform: translate(-0.45rem, -0.45rem) rotate(0deg);
        }
      }

      .bird-stage {
        display: none;
      }

      @keyframes bird-slide-in {
        0% {
          opacity: 0;
          transform: translateX(32vw) translateY(0) scale(0.96) rotate(0deg);
        }

        45% {
          opacity: 1;
        }

        100% {
          opacity: 1;
          transform: translateX(32vw) translateY(0) scale(1) rotate(0deg);
        }
      }
    }

    /* Touch devices (phones AND tablets of any width — incl. Galaxy Tab in
       landscape >1200px) get the lightweight "What we do" treatment. The full
       desktop version drove some Samsung tablets to crash the page because of:
         1. a huge (2000x1000) wordmark upscaled to 124vw, blurred via
            drop-shadow AND scale-animated -> enormous GPU layer + memory;
         2. three blurred SVG glow paths animating forever;
         3. a 1093x1438 bird PNG with two big drop-shadows kept permanently
            promoted via will-change.
       The <=720px block already removes (1) and (2) for phones; this extends
       the same relief to every touch device and also trims (3). We key on
       any-pointer (touchscreen present) rather than pointer, because a Galaxy
       Tab with an S-Pen can report its PRIMARY pointer as fine. */
    @media (any-pointer: coarse) {
      .bird-scene::before {
        display: none;
      }

      .work-flow-lines .flow-light {
        display: none;
      }

      .sales-bird {
        will-change: auto;
        filter: drop-shadow(0 1.5rem 2rem rgba(0, 0, 0, 0.45));
      }
    }

    .portfolio {
      position: sticky;
      top: calc(var(--portfolio-pin-offset, 0px) * -1);
      z-index: 1;
      min-height: 100svh;
      padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem);
      background:
        radial-gradient(circle at 74% 24%, rgba(117, 170, 255, 0.16), transparent 24rem),
        linear-gradient(180deg, #bac9dc 0%, #aebed3 52%, #a2b2c9 100%);
      color: #071126;
      transition: none;
    }

    .portfolio-inner {
      width: min(76rem, 100%);
      margin: 0 auto;
      filter: blur(calc(var(--portfolio-fade, 0) * 14px));
      transform: scale(calc(1 - var(--portfolio-fade, 0) * 0.025));
      transform-origin: center bottom;
      transition: none;
    }

    .portfolio-kicker {
      margin: 0;
      color: rgba(7, 17, 38, 0.62);
      font-size: clamp(0.9rem, 1vw, 1rem);
      font-weight: 800;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .portfolio-title {
      margin: 1.8rem 0 0;
      color: #071126;
      font-family: Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: clamp(1.55rem, 3.6vw, 3.85rem);
      font-weight: 850;
      line-height: 1.4;
      letter-spacing: 0;
    }

    .portfolio-subtitle {
      max-width: 28rem;
      margin: 1.8rem 0 0 0.9rem;
      color: rgba(7, 17, 38, 0.62);
      font-size: clamp(1rem, 1.25vw, 1.2rem);
      line-height: 1.7;
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: clamp(1rem, 2vw, 1.35rem);
      margin-top: clamp(2rem, 5vw, 4rem);
    }

    .portfolio-more {
      position: relative;
      z-index: 3;
      display: flex;
      justify-content: center;
      margin-top: clamp(2rem, 4vw, 3rem);
    }

    .portfolio-more-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      min-height: 3.1rem;
      padding: 0 1.6rem;
      border: 1px solid rgba(47, 102, 233, 0.32);
      border-radius: 999px;
      color: #2f66e9;
      background: rgba(47, 102, 233, 0.06);
      font-size: 0.98rem;
      font-weight: 720;
      text-decoration: none;
      transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
    }

    .portfolio-more-link:hover {
      background: rgba(47, 102, 233, 0.12);
      border-color: rgba(47, 102, 233, 0.5);
      transform: translateY(-1px);
    }

    .portfolio-card {
      position: relative;
      z-index: 3;
      display: flex;
      min-height: 25rem;
      flex-direction: column;
      justify-content: space-between;
      padding: 1.25rem;
      border: 1px solid rgba(7, 17, 38, 0.12);
      border-radius: 8px;
      background: rgba(246, 250, 255, 0.9);
      box-shadow:
        0 1.6rem 4rem rgba(15, 37, 72, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.42) inset;
      opacity: 0;
      transform: translateY(1.6rem);
      transition: opacity 900ms cubic-bezier(0.19, 1, 0.22, 1), transform 900ms cubic-bezier(0.19, 1, 0.22, 1);
    }

    a.portfolio-card {
      cursor: pointer;
    }

    a.portfolio-card:focus-visible {
      outline: 2px solid rgba(96, 151, 255, 0.62);
      outline-offset: 4px;
    }

    .portfolio.is-visible .portfolio-card {
      opacity: 1;
      transform: translateY(0);
    }

    .portfolio.is-visible .portfolio-card:nth-child(2) {
      transition-delay: 90ms;
    }

    .portfolio.is-visible .portfolio-card:nth-child(3) {
      transition-delay: 180ms;
    }

    .portfolio.is-visible .portfolio-card:nth-child(4) {
      transition-delay: 270ms;
    }

    .portfolio.is-visible .portfolio-card:nth-child(5) {
      transition-delay: 360ms;
    }

    .portfolio.is-visible .portfolio-card:nth-child(6) {
      transition-delay: 450ms;
    }

    .portfolio.is-visible .portfolio-card:nth-child(7) {
      transition-delay: 540ms;
    }

    .portfolio.is-visible .portfolio-card:nth-child(8) {
      transition-delay: 630ms;
    }

    .portfolio-logo {
      display: grid;
      place-items: center;
      min-height: 15rem;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      border-radius: 6px;
      background: linear-gradient(145deg, rgba(230, 239, 250, 0.92), rgba(255, 255, 255, 0.96));
    }

    /* Image-based wordmarks (dark logos): back the panel with a raster image so
       Samsung Internet's forced dark mode leaves it light and the logo stays
       visible. Force-dark darkens background-colors/gradients but not raster
       background-images or <img> pixels. background-size: cover keeps it
       responsive. Text-based logo panels intentionally keep the gradient so
       force-dark can lighten their text for contrast. */
    .portfolio-logo.image-logo {
      background: #ffffff url("assets/portfolio-logo-bg.png") center / cover no-repeat;
    }

    .portfolio-logo.device-shot {
      background: #071126;
    }

    .portfolio-logo img {
      display: block;
      max-width: 88%;
      max-height: 7rem;
      object-fit: contain;
    }

    .portfolio-logo.device-shot img {
      width: 100%;
      height: 100%;
      max-width: none;
      max-height: none;
      object-fit: cover;
    }

    .portfolio-logo img.portfolio-logo-smaller {
      max-width: 75%;
      max-height: 5.95rem;
    }

    .portfolio-placeholder {
      color: #071126;
      font-size: clamp(1.55rem, 2.25vw, 2.35rem);
      font-weight: 900;
      letter-spacing: 0;
      text-align: center;
      text-shadow: 0 0.9rem 2.2rem rgba(48, 94, 160, 0.16);
    }

    .portfolio-placeholder.ain-logo {
      color: #05070d;
      font-size: clamp(1.75rem, 2.6vw, 2.75rem);
      font-weight: 900;
      letter-spacing: 0.02em;
      line-height: 1;
      text-shadow: none;
    }

    .portfolio-brand-mark {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.9rem;
    }

    .portfolio-brand-mark img {
      width: clamp(4rem, 6vw, 5.5rem);
      height: clamp(4rem, 6vw, 5.5rem);
      max-width: none;
      max-height: none;
      border-radius: 8px;
      object-fit: cover;
      box-shadow: 0 0.8rem 2rem rgba(38, 91, 180, 0.18);
    }

    .portfolio-brand-mark span {
      color: #071126;
      font-size: clamp(1.45rem, 2.1vw, 2.25rem);
      font-weight: 900;
      letter-spacing: 0;
      white-space: nowrap;
    }

    .portfolio-meta {
      margin-top: 1.25rem;
    }

    .portfolio-meta h3 {
      margin: 0;
      color: #071126;
      font-size: 1.12rem;
      font-weight: 650;
      letter-spacing: -0.01em;
    }

    .portfolio-meta p {
      max-width: none;
      margin: 0.65rem 0 0;
      color: rgba(7, 17, 38, 0.62);
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .portfolio-tag {
      display: inline-block;
      margin-top: 0.7rem;
      padding: 0.22rem 0.62rem;
      border-radius: 999px;
      background: rgba(7, 17, 38, 0.06);
      color: rgba(7, 17, 38, 0.55);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    @media (max-width: 720px) {
      .portfolio {
        padding: 4.75rem 1rem;
      }

      .portfolio-title {
        font-size: clamp(2.35rem, 5.4vw, 5.75rem);
        line-height: 1.46;
      }

      .portfolio-grid {
        grid-template-columns: 1fr;
      }

      .portfolio-card {
        min-height: 18rem;
      }

      .portfolio-logo {
        min-height: 10rem;
      }
    }

    .inquiry-section {
      position: relative;
      z-index: 2;
      padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem);
      background:
        radial-gradient(circle at 82% 18%, rgba(82, 131, 255, 0.16), transparent 28rem),
        radial-gradient(circle at 12% 86%, rgba(92, 202, 210, 0.12), transparent 30rem),
        linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
      color: #071126;
    }

    .inquiry-inner {
      display: grid;
      grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1fr);
      gap: clamp(2rem, 5vw, 4rem);
      width: min(76rem, 100%);
      margin: 0 auto;
      align-items: start;
    }

    .inquiry-kicker {
      margin: 0;
      color: rgba(7, 17, 38, 0.52);
      font-size: clamp(0.9rem, 1vw, 1rem);
      font-weight: 800;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .inquiry-title {
      margin: 1.8rem 0 0;
      color: #071126;
      font-family: Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: clamp(1.45rem, 2.8vw, 2.75rem);
      font-weight: 850;
      line-height: 1.4;
      letter-spacing: 0;
    }

    .inquiry-copy {
      max-width: 32rem;
      margin: 1.8rem 0 0;
      color: rgba(7, 17, 38, 0.62);
      font-size: clamp(1rem, 1.25vw, 1.2rem);
      line-height: 1.7;
      word-break: keep-all;
    }

    .inquiry-form {
      display: grid;
      gap: 0.85rem;
      padding: clamp(1.1rem, 2.4vw, 1.5rem);
      border: 1px solid rgba(7, 17, 38, 0.08);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.72);
      box-shadow: 0 1.4rem 3.8rem rgba(48, 94, 160, 0.1);
    }

    .inquiry-field {
      display: grid;
      gap: 0.42rem;
    }

    .inquiry-field label {
      color: rgba(7, 17, 38, 0.72);
      font-size: 0.88rem;
      font-weight: 800;
    }

    .inquiry-form input,
    .inquiry-form select,
    .inquiry-form textarea {
      width: 100%;
      min-height: 2.85rem;
      border: 1px solid rgba(7, 17, 38, 0.1);
      border-radius: 8px;
      padding: 0 0.85rem;
      color: #071126;
      background: rgba(255, 255, 255, 0.86);
      font: inherit;
      font-size: 0.95rem;
      outline: none;
      transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
    }

    .inquiry-form textarea {
      min-height: 9rem;
      padding-top: 0.85rem;
      resize: vertical;
      line-height: 1.65;
    }

    .inquiry-form input:focus,
    .inquiry-form select:focus,
    .inquiry-form textarea:focus {
      border-color: rgba(47, 102, 233, 0.55);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(47, 102, 233, 0.1);
    }

    .inquiry-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.85rem;
    }

    .turnstile-field {
      min-height: 4.1rem;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      overflow: hidden;
    }

    .inquiry-submit {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3rem;
      margin-top: 0.3rem;
      border: none;
      border-radius: 8px;
      color: #fff;
      background: #2f66e9;
      font: inherit;
      font-size: 0.95rem;
      font-weight: 850;
      cursor: pointer;
      transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
    }

    .inquiry-submit:hover,
    .inquiry-submit:focus-visible {
      transform: translateY(-2px);
      box-shadow: 0 1rem 2.4rem rgba(47, 102, 233, 0.22);
      outline: none;
    }

    .inquiry-submit:disabled {
      cursor: default;
      opacity: 0.58;
      transform: none;
      box-shadow: none;
    }

    .inquiry-status {
      min-height: 1.3rem;
      color: rgba(7, 17, 38, 0.64);
      font-size: 0.88rem;
      line-height: 1.5;
    }

    @media (max-width: 720px) {
      .inquiry-section {
        padding: 4.75rem 1rem;
      }

      .inquiry-inner,
      .inquiry-grid {
        grid-template-columns: 1fr;
      }

      .inquiry-title {
        font-size: clamp(1.85rem, 7.4vw, 2.45rem);
        line-height: 1.32;
      }

    }

    .final-cta {
      position: relative;
      z-index: 2;
      display: grid;
      place-items: center;
      min-height: 100svh;
      padding: clamp(5rem, 8vw, 8rem) 1.25rem;
      overflow: hidden;
      isolation: isolate;
      color: var(--text);
      background:
        radial-gradient(circle at 74% 22%, rgba(84, 123, 221, 0.22), transparent 26rem),
        radial-gradient(circle at 16% 84%, rgba(84, 190, 203, 0.1), transparent 30rem),
        linear-gradient(140deg, #030817 0%, #050b22 54%, #150d34 100%);
    }

    .final-cta::before {
      content: "";
      position: absolute;
      inset: -12% -18% -16% -8%;
      z-index: 0;
      background-image: url("assets/welly-mark.png");
      background-repeat: no-repeat;
      background-position: 52% 50%;
      background-size: min(112rem, 128vw) auto;
      opacity: 0.26;
      transform: rotate(-0.8deg) scale(1.16);
      filter: brightness(0.86) saturate(1.05) drop-shadow(0 0 3rem rgba(110, 170, 255, 0.18));
      pointer-events: none;
    }

    .final-cta::after {
      content: "";
      position: absolute;
      inset: -12% -18% -16% -8%;
      z-index: 1;
      pointer-events: none;
      opacity: 0;
      mix-blend-mode: screen;
      background:
        linear-gradient(112deg, transparent 34%, rgba(235, 246, 255, 0) 42%, rgba(238, 248, 255, 0.32) 47%, rgba(170, 206, 255, 0.42) 50%, rgba(122, 177, 255, 0.18) 54%, rgba(238, 248, 255, 0) 61%, transparent 68%);
      background-size: min(50rem, 62vw) 150%;
      background-position: 118% 50%;
      -webkit-mask-image: url("assets/welly-mark.png");
      mask-image: url("assets/welly-mark.png");
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: 52% 50%;
      mask-position: 52% 50%;
      -webkit-mask-size: min(112rem, 128vw) auto;
      mask-size: min(112rem, 128vw) auto;
      transform: rotate(-0.8deg) scale(1.16);
      will-change: opacity, background-position;
      contain: paint;
    }

    .final-cta.is-visible::after {
      animation: hero-edge-glint 14000ms cubic-bezier(0.45, 0, 0.2, 1) 820ms infinite;
    }

    .final-inner {
      position: relative;
      z-index: 3;
      width: min(86rem, 100%);
      text-align: center;
    }

    .final-title {
      display: none;
      margin: 0;
      color: rgba(244, 248, 255, 0.96);
      font-size: clamp(2.4rem, 5.6vw, 6.4rem);
      font-weight: 850;
      line-height: 0.98;
      letter-spacing: 0;
      white-space: nowrap;
      opacity: 0;
      transform: translateY(1.4rem);
      transition: opacity 1100ms cubic-bezier(0.19, 1, 0.22, 1), transform 1100ms cubic-bezier(0.19, 1, 0.22, 1);
    }

    .final-eyebrow {
      display: block;
      width: 100%;
      max-width: none;
      margin: 0 auto 1.15rem;
      color: rgba(218, 232, 255, 0.72);
      font-size: clamp(0.95rem, 1.2vw, 1.16rem);
      font-weight: 760;
      letter-spacing: 0.02em;
      text-align: center;
      opacity: 0;
      transform: translateY(1rem);
      transition:
        opacity 1000ms cubic-bezier(0.19, 1, 0.22, 1),
        transform 1000ms cubic-bezier(0.19, 1, 0.22, 1);
    }

    .final-copy {
      max-width: 54rem;
      margin: 0 auto;
      color: rgba(244, 248, 255, 0.9);
      font-size: clamp(1.3rem, 2.65vw, 2.85rem);
      font-weight: 780;
      line-height: 1.35;
      word-break: keep-all;
      opacity: 0;
      transform: translateY(2rem);
      filter: blur(10px);
      transition:
        opacity 1200ms cubic-bezier(0.19, 1, 0.22, 1) 180ms,
        transform 1200ms cubic-bezier(0.19, 1, 0.22, 1) 180ms,
        filter 1200ms cubic-bezier(0.19, 1, 0.22, 1) 180ms;
    }

    .final-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.75rem;
      margin-top: clamp(2.45rem, 4.7vw, 3.85rem);
      opacity: 0;
      transform: translateY(0.85rem);
      transition: opacity 900ms cubic-bezier(0.19, 1, 0.22, 1) 360ms, transform 900ms cubic-bezier(0.19, 1, 0.22, 1) 360ms;
    }

    .final-button,
    .final-static-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3.4rem;
      padding: 0 1.35rem;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 8px;
      color: rgba(244, 248, 255, 0.92);
      background: rgba(3, 8, 23, 0.72);
      box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.24);
      font-size: 1rem;
      font-weight: 850;
      transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
    }

    .final-static-button {
      cursor: default;
      user-select: text;
    }

    .final-phone-mobile {
      display: none;
    }

    .final-contact-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.75rem;
      flex-basis: 100%;
    }

    .final-cta.is-visible .final-title,
    .final-cta.is-visible .final-eyebrow,
    .final-cta.is-visible .final-copy,
    .final-cta.is-visible .final-actions {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }

    .final-button:hover,
    .final-button:focus-visible {
      color: #071126;
      background: #eef5ff;
      transform: translateY(-2px);
      box-shadow: 0 1.75rem 4.5rem rgba(0, 0, 0, 0.3);
      outline: none;
    }

    @media (min-width: 721px) and (max-width: 900px) {
      .final-cta {
        padding: 6rem clamp(2rem, 6vw, 3.5rem) 6.75rem;
      }

      .final-cta::before {
        inset: -18%;
        background-position: 50% 54%;
        background-size: min(72rem, 150vw) auto;
        opacity: 0.24;
        transform: rotate(-0.8deg) scale(1.08);
      }

      .final-cta::after {
        inset: -18%;
        -webkit-mask-position: 50% 54%;
        mask-position: 50% 54%;
        -webkit-mask-size: min(72rem, 150vw) auto;
        mask-size: min(72rem, 150vw) auto;
        transform: rotate(-0.8deg) scale(1.08);
      }

      .final-title {
        font-size: clamp(2.55rem, 5.6vw, 3.7rem);
      }

      .final-actions {
        width: min(31rem, 100%);
        margin-inline: auto;
      }

      .final-button {
        flex: 1 1 14rem;
      }

      .final-static-button {
        flex: 1 1 14rem;
      }

      .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 720px) {
      .final-cta {
        min-height: 100svh;
        padding: 6.5rem 1.25rem 7rem;
      }

      .final-cta::before {
        inset: -14% -24%;
        background-position: 62% 40%;
        background-size: 64rem auto;
        opacity: 0.26;
        transform: rotate(-0.8deg) scale(1.04);
      }

      .final-cta::after {
        inset: -14% -24%;
        background-size: 34rem 150%;
        -webkit-mask-position: 62% 40%;
        mask-position: 62% 40%;
        -webkit-mask-size: 64rem auto;
        mask-size: 64rem auto;
        transform: rotate(-0.8deg) scale(1.04);
      }

      .final-inner {
        display: grid;
        justify-items: center;
        width: min(100%, 23rem);
        margin-inline: auto;
      }

      .final-title {
        width: 100%;
        font-size: clamp(2.05rem, 9.2vw, 3.35rem);
        text-align: center;
      }

      .final-actions {
        width: 100%;
      }

      .final-button {
        width: 100%;
      }

      .final-static-button {
        width: 100%;
      }

      .final-phone-desktop {
        display: none;
      }

      .final-phone-mobile {
        display: inline-flex;
      }

      .final-copy {
        width: 100%;
        text-align: center;
      }
    }

    .site-footer {
      position: relative;
      z-index: 2;
      padding: 2.4rem clamp(1.25rem, 4vw, 4rem) calc(2.4rem + env(safe-area-inset-bottom));
      border-top: 1px solid rgba(213, 226, 255, 0.12);
      color: rgba(244, 248, 255, 0.58);
      background: #030817;
    }

    .site-footer-inner {
      display: grid;
      gap: 0.75rem;
      width: min(68rem, 100%);
      margin: 0 auto;
    }

    .footer-brand {
      margin: 0;
      color: rgba(244, 248, 255, 0.88);
      font-size: 0.95rem;
      font-weight: 850;
      letter-spacing: 0;
    }

    .footer-info,
    .footer-links,
    .footer-copy {
      margin: 0;
      font-size: 0.82rem;
      line-height: 1.8;
      word-break: keep-all;
    }

    .footer-info,
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.1rem 1rem;
    }

    .footer-info span,
    .footer-links a {
      display: inline-block;
    }

    .footer-info .footer-line-break {
      flex-basis: 100%;
    }

    .footer-copy {
      color: rgba(244, 248, 255, 0.38);
    }

    @media (max-width: 720px) {
      .site-footer {
        padding: 2rem 1.25rem calc(2.15rem + env(safe-area-inset-bottom));
      }

      .site-footer-inner {
        gap: 0.65rem;
      }

      .footer-info,
      .footer-links,
      .footer-copy {
        font-size: 0.76rem;
        line-height: 1.75;
      }

      .footer-info,
      .footer-links {
        display: grid;
        gap: 0.1rem;
      }

      .footer-info span,
      .footer-links a {
        display: block;
      }
    }

    .final-sign {
      position: absolute;
      right: clamp(1.25rem, 4vw, 4rem);
      bottom: clamp(1.25rem, 4vw, 3rem);
      z-index: 1;
      color: rgba(244, 248, 255, 0.42);
      font-size: 0.95rem;
      font-weight: 800;
    }

    /* ---- Mobile performance pass ----
       Phones (esp. tall/narrow foldables like the Galaxy Z Flip 7) have limited
       GPU layer budget, and several of these effects create composited layers
       that fail to repaint during threaded/async scrolling -> content gets
       clipped. Neutralize the heaviest GPU-compositing effects on mobile only;
       desktop keeps the full visual treatment. Decorative loss is negligible. */
    @media (max-width: 720px) {
      /* fixed nav: solid bg already, blur barely visible */
      .nav.is-scrolled {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
      }
      /* big full-section background-mark layers with drop-shadow/saturate
         (.bird-scene::before is display:none on mobile, so only .final-cta::before remains) */
      .final-cta::before {
        filter: none;
      }
      /* scroll-driven blur over the entire portfolio container (heaviest) */
      .portfolio-inner {
        filter: none;
      }
      /* drop the blur-in reveal; opacity/transform reveal stays */
      .final-copy {
        filter: none;
      }
      /* no need to pin compositing layers for these decorative glints */
      .final-cta::after,
      .sales-bird {
        will-change: auto;
      }
    }
