@font-face {
        font-family: "Pretendard";
        src: url("fonts/Pretendard-Regular.woff2") format("woff2");
        font-style: normal;
        font-weight: 400;
        font-display: swap;
      }

      @font-face {
        font-family: "Pretendard";
        src: url("fonts/Pretendard-Bold.woff2") format("woff2");
        font-style: normal;
        font-weight: 700;
        font-display: swap;
      }

      :root {
        --ink: #333333;
        --accent: #ff6a00;
        --grid-line: rgba(191, 191, 191, 0.08);
        --grid-step: 10px;
        --divider: rgba(191, 191, 191, 0.12);
        --ui-corner-radius: clamp(10px, min(1.0416667vw, 1.8518519svh), 24px);
        --story-heading-copy-gap: 2.604167cqw;
        --story-paragraph-gap: 3.125cqw;
        --story-section-gap: 8.333333cqw;
        --media-corner-radius: var(--ui-corner-radius);
        --media-stroke-width: min(0.0520833vw, 0.0925926vh);
        --media-stroke-width: min(0.0520833vw, 0.0925926svh);
        --media-stroke-color: rgba(51, 51, 51, 0.12);
        --media-item-gap: 1.041667cqw;
        --media-group-gap-offset: 3.125001cqw;
      }

      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }

      html,
      body {
        width: 100%;
        height: 100%;
      }

      html {
        background: #ffffff;
      }

      body {
        margin: 0;
        overflow: hidden;
        color: var(--ink);
        background-color: #ffffff;
        background-image:
          linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
          linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
        background-position: center;
        background-size: var(--grid-step) var(--grid-step);
        font-family: "Pretendard", Arial, Helvetica, sans-serif;
        -webkit-font-smoothing: antialiased;
        text-rendering: geometricPrecision;
      }

      ::selection {
        color: #ffffff;
        background: var(--accent);
      }

      a,
      button {
        color: inherit;
        font: inherit;
      }

      img {
        display: block;
        max-width: 100%;
        user-select: none;
        -webkit-user-drag: none;
      }

      .project-shell {
        position: relative;
        display: grid;
        grid-template-columns: 42.708333% 57.291667%;
        width: 100%;
        height: 100vh;
        height: 100svh;
        margin-inline: 0;
        overflow: hidden;
        container-type: inline-size;
        background-color: #ffffff;
        background-image:
          linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
          linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
        background-position: center;
        background-size: var(--grid-step) var(--grid-step);
      }

      .project-pane {
        position: relative;
        height: 100%;
        min-width: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
      }

      .project-pane::-webkit-scrollbar {
        display: none;
      }

      .project-pane:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: -2px;
      }

      .text-pane {
        z-index: 1;
      }

      .story-canvas {
        position: relative;
        width: 100%;
        min-height: 183.333333cqw;
      }

      .story-section {
        position: absolute;
        left: 2.604167cqw;
        width: 37.34375cqw;
      }

      .story-section--intro {
        top: 2.604167cqw;
      }

      .story-section--brief {
        top: 31.5625cqw;
      }

      .story-section--challenge {
        top: 66.770833cqw;
      }

      .story-section--development {
        top: 86.354167cqw;
      }

      .story-section--outcome {
        top: 137.1875cqw;
      }

      body[data-story-layout="flow"] .story-canvas {
        display: flex;
        min-height: 0;
        flex-direction: column;
      }

      body[data-story-layout="flow"] .story-section {
        position: static;
        left: auto;
        width: 37.34375cqw;
        margin-left: 2.604167cqw;
      }

      body[data-story-layout="flow"] .story-section:first-child {
        margin-top: 2.604167cqw;
      }

      body[data-story-layout="flow"] .story-section + .story-section {
        margin-top: var(--story-section-gap);
      }

      body[data-story-layout="flow"] .back-link {
        position: relative;
        top: auto;
        left: auto;
        align-self: flex-start;
        margin: 12.5cqw 0 5.208333cqw 2.083333cqw;
      }

      .story-heading,
      .story-copy,
      .story-copy p {
        margin: 0;
      }

      .story-heading {
        font-size: 3.333333cqw;
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: -0.03em;
      }

      .story-copy {
        margin-top: var(--story-heading-copy-gap);
        font-size: 2.083333cqw;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: -0.03em;
        overflow-wrap: normal;
        word-break: normal;
      }

      .story-copy p + p {
        margin-top: var(--story-paragraph-gap);
      }

      .project-details {
        font-style: normal;
      }

      .story-action {
        position: relative;
        z-index: 0;
        display: inline-block;
        margin-inline: -0.26em;
        padding-inline: 0.26em;
        border-radius: var(--ui-corner-radius);
        color: inherit;
        text-decoration: none;
        white-space: nowrap;
        isolation: isolate;
        transition: color 220ms ease;
      }

      .story-action::before {
        position: absolute;
        inset: -0.13em 0;
        z-index: -1;
        content: "";
        border-radius: var(--ui-corner-radius);
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      .story-action:hover,
      .story-action:focus-visible {
        color: #ffffff;
      }

      .story-action:hover::before,
      .story-action:focus-visible::before {
        transform: scaleX(1);
      }

      .story-action:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 3px;
      }

      .back-link {
        position: absolute;
        top: 177.604167cqw;
        left: 2.083333cqw;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        width: fit-content;
        padding: 0 0.520833cqw;
        border-radius: var(--ui-corner-radius);
        font-size: 2.083333cqw;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: -0.03em;
        text-decoration: none;
        isolation: isolate;
        transition: color 220ms ease;
      }

      .back-link::before {
        position: absolute;
        inset: -0.260417cqw 0;
        z-index: -1;
        content: "";
        border-radius: var(--ui-corner-radius);
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      .back-link:hover,
      .back-link:focus-visible {
        color: #ffffff;
      }

      .back-link:hover::before,
      .back-link:focus-visible::before {
        transform: scaleX(1);
      }

      .back-link:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 3px;
      }

      .media-pane {
        box-shadow: inset 1px 0 0 var(--divider);
      }

      .media-gallery {
        display: flex;
        width: 100%;
        min-height: 334.114583cqw;
        padding: 2.604167cqw;
        flex-direction: column;
        gap: var(--media-item-gap);
      }

      .media-frame {
        position: relative;
        isolation: isolate;
        flex: 0 0 auto;
        width: 100%;
        margin: 0;
        overflow: hidden;
        border: 0;
        border-radius: var(--media-corner-radius);
        background: #ffffff;
        background-clip: padding-box;
      }

      .media-frame.is-content-deferred {
        content-visibility: auto;
        contain-intrinsic-size: auto 1000px;
      }

      .scroll-reveal {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
        transition:
          opacity 520ms ease-out,
          transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      .scroll-reveal.is-revealing {
        will-change: opacity, transform;
      }

      .scroll-reveal.is-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
      }

      .media-frame::after {
        position: absolute;
        inset: 0;
        z-index: 2;
        border-radius: inherit;
        box-shadow: inset 0 0 0 var(--media-stroke-width) var(--media-stroke-color);
        content: "";
        pointer-events: none;
      }

      .media-frame--appendix-start,
      .media-frame--section-start {
        margin-top: var(--media-group-gap-offset);
      }

      .media-frame img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: inherit;
        transform: scale(var(--media-image-scale, 1));
        transform-origin: center;
      }

      body[data-project^="confidential-"] .media-frame img {
        filter: blur(35px);
      }

      .media-frame--embed {
        aspect-ratio: var(--media-aspect-ratio, 16 / 9);
        background: #ffffff;
      }

      .media-frame--embed iframe {
        position: absolute;
        inset: -1px;
        display: block;
        width: calc(100% + 2px);
        height: calc(100% + 2px);
        border: 0;
        border-radius: 0;
      }

      .media-frame--video {
        aspect-ratio: var(--media-aspect-ratio, 16 / 9);
        background: #ffffff;
      }

      .media-frame--video video {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: inherit;
        object-fit: cover;
      }

      .media-frame--video-edge-trim video {
        transform: scale(var(--media-video-edge-trim, 1.004));
      }

      .media-frame--video video[controls] {
        accent-color: var(--accent);
      }

      .media-frame--video video[controls]::-webkit-media-controls-panel {
        background-color: transparent;
        background-image: linear-gradient(
          to top,
          rgba(255, 106, 0, 0.92) 0%,
          rgba(255, 106, 0, 0.58) 42%,
          rgba(255, 106, 0, 0) 100%
        );
      }

      .cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--accent);
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, -50%);
        transition: opacity 160ms ease;
        will-change: left, top;
      }

      .cursor-dot.is-over-embed {
        opacity: 0 !important;
        transition-duration: 220ms;
        transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
      }

      @media (hover: hover) and (pointer: fine) {
        body,
        a {
          cursor: none;
        }

        .cursor-dot.is-visible {
          opacity: 1;
        }
      }

      @media (min-width: 901px) and (hover: hover) and (pointer: fine) {
        body[data-project^="confidential-"] .media-pane {
          overflow-y: hidden;
        }

        body[data-project^="confidential-"] .media-gallery {
          height: 100%;
          min-height: 0;
          align-items: center;
        }

        body[data-project^="confidential-"] .media-frame {
          width: min(100%, calc(100svh - 5.208334cqw));
        }
      }

      @media (max-width: 900px), (hover: none) and (pointer: coarse) {
        :root {
          --grid-line: rgba(191, 191, 191, 0.055);
          --grid-step: 6px;
          --story-heading-copy-gap: 28px;
          --story-paragraph-gap: 1.55em;
          --story-section-gap: 88px;
          --media-item-gap: 16px;
          --media-group-gap-offset: 48px;
        }

        html,
        body {
          width: 100%;
          height: auto;
        }

        body {
          overflow-x: hidden;
          overflow-y: auto;
          -webkit-tap-highlight-color: transparent;
        }

        .project-shell {
          position: relative;
          display: flex;
          width: 100%;
          height: auto;
          min-height: 100vh;
          min-height: 100svh;
          overflow: visible;
          flex-direction: column;
          container-type: normal;
        }

        .project-pane {
          position: relative;
          inset: auto;
          display: block;
          width: 100%;
          height: auto;
          overflow: visible;
        }

        .media-pane {
          order: 1;
        }

        .text-pane {
          order: 2;
        }

        .project-pane:focus-visible {
          outline: none;
        }

        .story-canvas {
          display: flex;
          min-height: 0;
          padding:
            64px
            max(20px, env(safe-area-inset-right))
            max(88px, calc(64px + env(safe-area-inset-bottom)))
            max(20px, env(safe-area-inset-left));
          flex-direction: column;
        }

        .story-section {
          position: static;
          width: 100%;
        }

        .story-section + .story-section {
          margin-top: var(--story-section-gap);
        }

        .story-heading {
          font-size: clamp(34px, 9.2308vw, 40px);
          line-height: 1.18;
          letter-spacing: -0.035em;
        }

        .story-copy {
          margin-top: var(--story-heading-copy-gap);
          font-size: clamp(17px, 4.6154vw, 20px);
          line-height: 1.55;
          letter-spacing: -0.02em;
          text-wrap: pretty;
        }

        .story-copy p + p {
          margin-top: var(--story-paragraph-gap);
        }

        .back-link {
          position: relative;
          top: auto;
          left: auto;
          align-self: flex-start;
          min-height: 44px;
          margin-top: 120px;
          margin-left: -10px;
          padding: 7px 10px;
          font-size: clamp(17px, 4.6154vw, 20px);
          line-height: 1.5;
        }

        body[data-story-layout="flow"] .story-canvas {
          min-height: 0;
        }

        body[data-story-layout="flow"] .story-section {
          width: 100%;
          margin-left: 0;
        }

        body[data-story-layout="flow"] .story-section:first-child {
          margin-top: 0;
        }

        body[data-story-layout="flow"] .story-section + .story-section {
          margin-top: var(--story-section-gap);
        }

        body[data-story-layout="flow"] .back-link {
          top: auto;
          margin: 120px 0 0 -10px;
        }

        .back-link::before,
        .story-action::before {
          display: none;
        }

        .back-link:hover,
        .back-link:active,
        .back-link:focus-visible,
        .story-action:hover,
        .story-action:active,
        .story-action:focus-visible {
          color: var(--ink);
        }

        .media-pane {
          box-shadow: none;
        }

        .text-pane {
          box-shadow: inset 0 1px 0 var(--divider);
        }

        .media-gallery {
          min-height: 0;
          padding:
            max(20px, env(safe-area-inset-top))
            max(20px, env(safe-area-inset-right))
            48px
            max(20px, env(safe-area-inset-left));
          gap: var(--media-item-gap);
        }

        .scroll-reveal {
          transform: translate3d(0, 12px, 0);
          transition-duration: 420ms, 460ms;
        }

        .scroll-reveal.is-visible {
          transform: translate3d(0, 0, 0);
        }

        body[data-project^="confidential-"] .media-frame img {
          filter: blur(10px);
        }

      }

      /*
       * Tablet visual system: mobile/touch interaction and single-column flow,
       * with the desktop story measure restored at approximately 18em.
       */
      @media (min-width: 601px) and (max-width: 900px),
        (min-width: 601px) and (hover: none) and (pointer: coarse) {
        :root {
          --grid-line: rgba(191, 191, 191, 0.07);
          --grid-step: 8px;
          --tablet-page-gutter: min(2.604167vw, 4.62963svh);
          --tablet-story-body: clamp(20px, 2.0833vw, 26px);
          --story-heading-copy-gap: clamp(30px, 3vw, 42px);
          --story-paragraph-gap: 1.55em;
          --story-section-gap: clamp(96px, 9vw, 128px);
          --media-item-gap: clamp(16px, 2vw, 24px);
          --media-group-gap-offset: clamp(48px, 6vw, 72px);
        }

        .story-canvas {
          padding:
            clamp(80px, 9vw, 120px)
            max(var(--tablet-page-gutter), env(safe-area-inset-right))
            max(120px, calc(96px + env(safe-area-inset-bottom)))
            max(var(--tablet-page-gutter), env(safe-area-inset-left));
        }

        .story-section,
        body[data-story-layout="flow"] .story-section {
          width: min(100%, 18em);
          max-width: 100%;
          font-size: var(--tablet-story-body);
        }

        .story-heading {
          font-size: clamp(36px, 3.3333vw, 46px);
          line-height: 1.2;
        }

        .story-copy {
          font-size: 1em;
          line-height: 1.55;
        }

        .back-link,
        body[data-story-layout="flow"] .back-link {
          margin-top: clamp(128px, 12vw, 160px);
          font-size: var(--tablet-story-body);
        }

        .media-gallery {
          padding:
            max(var(--tablet-page-gutter), env(safe-area-inset-top))
            max(var(--tablet-page-gutter), env(safe-area-inset-right))
            clamp(64px, 7vw, 96px)
            max(var(--tablet-page-gutter), env(safe-area-inset-left));
        }
      }

      @media (prefers-reduced-motion: reduce) {
        .back-link,
        .back-link::before,
        .story-action,
        .story-action::before,
        .cursor-dot {
          transition: none;
        }

        .scroll-reveal,
        .scroll-reveal.is-visible {
          opacity: 1;
          transform: none;
          transition: none;
        }
      }
