/* =============================================
   RESET & BASE
   ============================================= */

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

::selection {
    background-color: var(--dark);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--dark);
    color: var(--white);
}

html {
    font-size: 16px;
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'neue-haas-unica', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background-color: #98a7f4;
    color: var(--dark);
    overflow-x: hidden;
}

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}


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

ul { list-style: none; }

img, video {
    display: block;
    max-width: 100%;
}

/* =============================================
   CSS VARIABLES
   ============================================= */

:root {

    --font-sans: 'neue-haas-unica', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-serif: 'eb-garamond', serif;

    --white:      #edecea;
    --off-white:  #edecea;
    --grey-100:   #f0efed;
    --grey-200:   #e2e1df;
    --grey-300:   #c4c4c4;
    --grey-500:   #777777;
    --grey-600:   #333333;
    --dark:       #0a0a0a;
    --dark-soft:  #1a1a1a;

    --nav-height: 60px;

    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --tr-fast:   0.2s ease;
    --tr-med:    0.4s ease;
    --tr-slow:   0.8s var(--ease-out);

    --container: 1560px;
    --pad-x: 20px;
    --pad-section: 15vw;

    --hero-indent-2: 2.8em;
    --hero-indent-3: 6.2em;
}

/* =============================================
   UTILITIES
   ============================================= */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}


/* =============================================
   TYPOGRAPHY
   ============================================= */

.section-heading {
    font-size: clamp(44px, 5.63vw, 120px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.0;
    color: var(--dark);
    display: flex;
}


.section-heading--full {
    margin-bottom: clamp(56px, 7.5vw, 100px);
}

.body-text {
    font-size: clamp(16px, 1.25vw, 32px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--grey-600);
    letter-spacing: -0.01em;
    word-break: keep-all;
}

/* =============================================
   NAVIGATION
   ============================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: auto;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0);
    opacity: 0;
    transition: border-color var(--tr-med),
                backdrop-filter var(--tr-med),
                opacity var(--tr-med);
}

.nav.scrolled {
    opacity: 1;
    background-color: rgba(152, 167, 244, 0.75);
    border-bottom-color: rgba(152, 167, 244, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 var(--pad-x);
}

.nav__logo {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--dark);
    flex-shrink: 0;
    transition: opacity var(--tr-fast);
}

.nav__logo:hover { opacity: 0.55; }

.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 1.6vw, 40px);
    margin-left: auto;
}

.nav__links li {
    display: flex;
    align-items: center;
}

.nav__link {
    font-size: clamp(12px, 0.8vw, 16px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--dark);
    opacity: 0.5;
    transition: opacity var(--tr-fast);
}

.nav__link:hover { opacity: 1; }

.nav__lang {
    font-size: clamp(12px, 0.8vw, 16px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--dark);
    opacity: 0.45;
    transition: opacity var(--tr-fast);
    flex-shrink: 0;
}

.nav__lang:hover { opacity: 1; }

[data-lang-label] { transition: opacity var(--tr-fast); }
html[data-lang="ko"] [data-lang-label="en"],
html[data-lang="en"] [data-lang-label="ko"] { opacity: 0.35; }

main { transition: opacity 0.6s ease; }
main.lang-fade { opacity: 0; }

.nav__menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    overflow: visible;
}

.nav__menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--dark);
    transition: transform var(--tr-med), opacity var(--tr-fast);
}

.nav__menu-btn.open span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.nav__menu-btn.open span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* =============================================
   MOBILE MENU
   ============================================= */

.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: #98a7f4;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--tr-med);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu__links a {
    font-size: clamp(28px, 7vw, 48px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--dark);
    transition: opacity var(--tr-fast);
}

.mobile-menu__links a:hover { opacity: 0.4; }

.mobile-menu__lang {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--grey-600);
    transition: color var(--tr-fast);
}

.mobile-menu__lang:hover { color: var(--dark); }

/* =============================================
   HERO
   ============================================= */

.hero {
    position: relative;
    height: 100vh;
    min-height: 580px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
}

.hero__body {
    flex: 1;
    position: relative;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--pad-x);
    display: flex;
    align-items: center;
}

/* All phases sit in the same space */
.hero__cnc,
.hero__tag {
    position: absolute;
    left: var(--pad-x);
    right: var(--pad-x);
}

.hero__sum {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0 var(--pad-x);
}

/* ── Phase 1: CNC ──────────────────────────── */

.hero__cnc-logo {
    font-family: var(--font-sans);
    font-size: clamp(48px, 9vw, 150px);
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    padding-bottom: 0.25em;
    margin-bottom: 0;
    margin-left: -0.08em;
}

.hero__cnc-logo-inner {
    display: block;
    letter-spacing: -0.03em;
    opacity: 0;
    transition: opacity 1.2s var(--ease-out);
}

.hero__cnc-logo.on .hero__cnc-logo-inner {
    opacity: 1;
}

.hero__cnc {
    transition: opacity 0.9s ease, transform 1.0s var(--ease-out);
}

.hero__cnc.out {
    opacity: 0;
    transform: translateY(-36px);
    pointer-events: none;
}

.hero__cnc-line {
    display: flex;
    align-items: baseline;
    gap: 0.44em;
    line-height: 1.06;
    margin-bottom: 0.75em;
    margin-left: -0.05em;
}

.hero__cnc-line:last-child {
    margin-bottom: 0;
}

.hero__cnc-line--2 { padding-left: 0; }
.hero__cnc-line--3 { padding-left: 0; }

.hero__cnc-key {
    font-family: var(--font-sans);
    font-size: clamp(16px, 2.8vw, 52px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--dark);
    white-space: nowrap;
    display: inline-block;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.hero__cnc-key.on {
    opacity: 1;
    transform: translateY(0);
}

.hero__cnc-word {
    font-family: var(--font-sans);
    font-size: clamp(16px, 2.8vw, 52px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--dark);
    white-space: nowrap;
    display: inline-block;
    text-transform: uppercase;
    opacity: 0;
}

.hero__cnc-cursor {
    display: inline-block;
    width: 0.055em;
    height: 0.78em;
    background-color: var(--grey-600);
    margin-left: 0.04em;
    vertical-align: -0.04em;
    animation: cursor-blink 0.65s step-end infinite;
    transition: opacity 0.35s ease;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ── Phase 2: Tagline ──────────────────────── */

.hero__tag {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 1.1s ease, transform 1.1s var(--ease-out);
}

.hero__tag.on {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hero__tag.out {
    opacity: 0;
    transform: translateY(-24px);
    pointer-events: none;
}

.hero__tag p {
    font-family: var(--font-sans);
    font-size: clamp(20px, 2.55vw, 42px);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--dark);
    line-height: 1.15;
    text-align: center;
}

/* ── Phase 3: Brand Summary ─────────────────── */

.hero__sum {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(40px, 3.2vw, 80px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

.hero__sum.on {
    opacity: 1;
    pointer-events: auto;
}

.hero__sum-logo {
    font-family: var(--font-sans);
    font-size: clamp(36px, 9vw, 130px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--dark);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

.hero__sum.on .hero__sum-logo {
    opacity: 1;
    transform: translateY(0);
}

.hero__sum-desc {
    font-family: var(--font-sans);
    font-size: clamp(16px, 2.2vw, 24px);
    font-weight: 500;
    color: var(--dark);
    line-height: 1.5;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

.hero__sum-desc strong {
    font-weight: 700;
}

.hero__sum-svcs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 1.2vw, 18px);
}

.hero__sum-svcs span {
    font-family: var(--font-sans);
    font-size: clamp(14px, 1.4vw, 22px);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.hero__sum.on .hero__sum-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.65s;
}

.hero__sum.on .hero__sum-svcs span:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 1.3s; }
.hero__sum.on .hero__sum-svcs span:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 1.6s; }
.hero__sum.on .hero__sum-svcs span:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 1.9s; }
.hero__sum.on .hero__sum-svcs span:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 2.2s; }


/* ── Scroll Cue ─────────────────────────────── */

.hero__cue {
    position: absolute;
    bottom: clamp(24px, 3vw, 44px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero__cue.on { opacity: 1; }

.hero__cue.bob {
    animation: cue-bob 2.2s ease-in-out infinite;
}

@keyframes cue-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}

.hero__cue-arrow {
    display: block;
    width: clamp(36px, 5vw, 72px);
    height: auto;
}

/* =============================================
   WHO WE ARE
   ============================================= */

.who-we-are {
    padding-top: clamp(32px, 6vw, 80px);
    padding-bottom: var(--pad-section);
}

.wwa__grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: var(--pad-section);
}

.wwa__body {
    max-width: 720px;
}

.wwa__subtitle {
    font-size: clamp(20px, 2.2vw, 40px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: clamp(24px, 3vw, 44px);
}

/* =============================================
   LOGO STRIP
   ============================================= */

.logo-strip {
    overflow: hidden;
    padding: 120px 0;
    background-color: transparent;
}

.logo-strip__track {
    display: flex;
    align-items: center;
    gap: clamp(64px, 9vw, 140px);
    white-space: nowrap;
    width: max-content;
    animation: logo-scroll 32s linear infinite;
}

.logo-strip__item {
    height: clamp(20px, 2.4vw, 34px);
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* Per-logo height correction (SVG aspect ratios differ widely) */
.logo-strip__item[alt="Sisley"]        { height: clamp(13px, 1.5vw, 18px); }
.logo-strip__item[alt="Benetton Group"]{ height: clamp(22px, 2.6vw, 36px); }
.logo-strip__item[alt="Maje Paris"]    { height: clamp(28px, 3.4vw, 46px); }
.logo-strip__item[alt="Duvetica"]      { height: clamp(13px, 1.6vw, 22px); }
.logo-strip__item[alt="F&F"]           { height: clamp(22px, 2.6vw, 36px); }
.logo-strip__item[alt="ID Look Ltd"]   { height: clamp(11px, 1.3vw, 18px); }
.logo-strip__item[alt="Published"]     { height: clamp(16px, 1.9vw, 26px); }

@keyframes logo-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   WHAT WE DO
   ============================================= */

.what-we-do {
    padding-bottom: var(--pad-section);
}

.what-we-do .container {
    display: block;
}

.svc {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: clamp(16px, 3vw, 40px);
    padding-bottom: clamp(28px, 3.5vw, 44px);
    align-items: start;
}

.svc-list {
  width: 50%;
}

.svc-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out),
                transform 0.9s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.svc-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay, 0s);
}

.svc__num {
    font-size: clamp(20px, 1.88vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--dark);
    line-height: 1.2;
    display: block;
}

.svc__title {
    font-size: clamp(20px, 1.88vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 14px;
}

.svc__title em {
    font-style: italic;
    font-weight: 300;
}

.svc__desc {
    font-size: clamp(16px, 1.25vw, 24px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: var(--grey-600);
    word-break: keep-all;
}

.svc__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--grey-100);
    margin-top: 24px;
    overflow: hidden;
}

.svc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Agency platform link */
.agency-platform {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.21vw;
    padding: 20px 0;
}

.agency-platform__link {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 0.52vw, 16px);
    line-height: 1;
    font-size: clamp(16px, 1.25vw, 24px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--dark);
    opacity: 1;
    transition: opacity var(--tr-fast);
    flex-shrink: 0;
}

.agency-platform__link:hover { opacity: 0.55; }

.agency-platform__icon {
    width: clamp(18px, 1.6vw, 30px);
    height: clamp(18px, 1.6vw, 30px);
    display: block;
    flex-shrink: 0;
}

.agency-platform__sub {
    font-size: clamp(12px, 1vw, 16px);
    color: var(--grey-600);
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* =============================================
   OUR WORKS
   ============================================= */

.our-works {
    padding-bottom: var(--pad-section);
}

.our-works__sticky {
    position: relative;
    height: auto;
    overflow: visible;
    display: block;
}

.works-edge { display: none; }

.our-works .container {
    display: block;
    width: 100%;
}

.our-works .section-heading {
    margin-bottom: clamp(48px, 6vw, 90px);
}

.works-list {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 5vw, 72px);
    padding-bottom: clamp(24px, 3vw, 40px);
}

.work-cat {
    min-width: auto;
    width: 100%;
    flex-shrink: 1;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding-top: 0;
    padding-bottom: 0;
    align-items: start;
}

/* display:contents → num, title-group이 work-cat 그리드에 직접 참여 */
.work-cat__header {
    display: contents;
}

.work-cat__num {
    font-size: clamp(20px, 1.88vw, 42px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.work-cat__title {
    font-size: clamp(20px, 1.88vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--dark);
    margin-bottom: 14px;
}

.work-cat__lead {
    font-size: clamp(16px, 1.25vw, 24px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--grey-600);
    word-break: keep-all;
}

/* work-cases → grid column 2 아래, border 구분 */
.work-cases {
    grid-column: 2;
    margin-top: 20px;
}

/* work-case → svc 행과 동일한 구조 */
.work-case {
    padding-bottom: clamp(16px, 2vw, 24px);
}

.work-case__meta {
    display: flex;
    align-items: baseline;
    gap: clamp(12px, 1.5vw, 24px);
    margin-bottom: 8px;
}

.work-case__origin {
    font-size: clamp(12px, 1.25vw, 20px);
    color: var(--dark);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

.work-case__tag {
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--grey-600);
}

.work-case__desc {
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--grey-600);
    word-break: keep-all;
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-section {
    background-color: transparent;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}

.contact-section__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--pad-section) var(--pad-x);
}

.contact-heading {
    font-size: clamp(44px, 5.63vw, 120px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.0;
    color: var(--dark);
    margin-bottom: clamp(40px, 5vw, 72px);
    text-align: center;
}

.contact-brand {
    font-size: clamp(13px, 1.4vw, 18px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--dark);
    margin-bottom: clamp(28px, 3.5vw, 48px);
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 3vw, 40px);
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.contact-links a {
    font-size: clamp(13px, 1.2vw, 16px);
    font-weight: 300;
    color: rgba(10, 10, 10, 0.5);
    letter-spacing: 0.01em;
    transition: color var(--tr-fast);
}

.contact-links a:hover { color: var(--dark); }

.contact-phones {
    display: flex;
    gap: clamp(28px, 4vw, 56px);
}

.contact-phone {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: clamp(12px, 1.1vw, 15px);
    color: rgba(10, 10, 10, 0.45);
}

.contact-phone__cc {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(10, 10, 10, 0.3);
}

.contact-footer {
    padding: 20px var(--pad-x);
    border-top: 1px solid rgba(10, 10, 10, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-footer span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--grey-500);
}

/* =============================================
   REWIND BUTTON
   ============================================= */

.rewind-btn {
    position: absolute;
    bottom: clamp(20px, 2.5vw, 36px);
    left: clamp(16px, 2vw, 32px);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px 9px 11px;
    background-color: var(--dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: clamp(10px, 0.7vw, 12px);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.45s ease,
                transform 0.45s var(--ease-out),
                background-color var(--tr-fast);
    white-space: nowrap;
    user-select: none;
}

.rewind-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rewind-btn:hover { background-color: #2a2a2a; }

.rewind-btn__icon {
    font-size: 16px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.5s var(--ease-out);
}

.rewind-btn:hover .rewind-btn__icon {
    transform: rotate(-360deg);
}

/* =============================================
   HEADING MASK SLIDE REVEAL
   ============================================= */

.section-heading.reveal-up,
.section-heading.reveal-up-light,
.contact-heading.reveal-up-light,
.recap__logo.reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
}

.what-we-do .section-heading.reveal-up {
    align-self: start;
}

/* 클리핑은 heading-clip이 전담 — display 타입에 무관하게 동작 */
.heading-clip {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.heading-inner {
    display: block;
    transform: translateY(112%);
    transition: transform 1.1s var(--ease-out);
}

.reveal-up.visible .heading-inner,
.reveal-up-light.visible .heading-inner {
    transform: translateY(0);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1.5s var(--ease-out),
                transform 1.5s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay, 0s);
}

.reveal-up:not(.visible) {
    transition-delay: 0s;
}

.reveal-up-light {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.4s var(--ease-out),
                transform 1.4s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.reveal-up-light.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay, 0s);
}

.reveal-up-light:not(.visible) {
    transition-delay: 0s;
}

/* =============================================
   COLOR VARIATION WIDGET (TEMP)
   ============================================= */


/* =============================================
   RESPONSIVE — 1024px
   ============================================= */

@media (max-width: 1024px) {
    .work-cases {
        margin-top: 8px;
    }
}

/* =============================================
   RESPONSIVE — 768px
   ============================================= */

@media (max-width: 768px) {
    :root { --nav-height: 52px; }

    .nav__links,
    .nav__lang {
        display: none;
    }

    .nav__menu-btn {
        display: flex;
    }

    .work-cat {
        min-width: auto;
        width: 100%;
        scroll-snap-align: none;
        grid-template-columns: 28px 1fr;
    }

    /* Reveal — 모바일에 맞게 축소 */
    .reveal-up {
        transform: translateY(20px);
        transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    }

    .reveal-up-light {
        transform: translateY(16px);
        transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    }

    .svc,
    .work-cat {
        grid-template-columns: 20px 1fr;
    }

    .svc-list {
        width: 100%;
    }

    .work-cases {
        grid-column: 2;
    }

    .contact-phones {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .agency-platform {
        flex-direction: column;
        gap: 8px;
    }

    .hero__cnc-logo {
        font-size: calc((100vw - 40px) / 8.3);
        white-space: nowrap;
        padding-bottom: 0.5em;
    }

}

/* =============================================
   RESPONSIVE — 480px
   ============================================= */

@media (max-width: 768px) {
    .work-cases {
        grid-template-columns: 1fr;
    }

    .work-case__top {
        flex-direction: row;
        gap: 20px;
    }

    .work-case__meta {
        align-items: flex-start;
    }

    .work-case__origin {
        text-align: left;
    }
}
