@font-face {
    font-family: "Aritaburi";
    src: url("/AritaBuriKR-Medium-full.woff2?v=20261008-full-kr") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

/* Use one regular face within each sentence, retaining component sizes. */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-weight: 400;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

strong, b {
    font-weight: inherit;
}

button, input, select, textarea {
    font-family: inherit;
    font-weight: inherit;
}

:root {
    --charcoal: #242424;
    --charcoal-deep: #171918;
    --charcoal-soft: #303230;
    --brand-dark: #06352d;
    --brand-green: #0c5146;
    --brand-mid: #3f806b;
    --brand-mint: #9edacc;
    --paper: #f1f1ef;
    --muted: #a9aaa7;
}

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

html {
    background: var(--charcoal);
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--charcoal);
    color: var(--paper);
    font-family: "Aritaburi", AppleMyungjo, "Noto Serif KR", Batang, serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;
}

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

a {
    text-decoration: none;
}

button {
    border: 0;
}

button:focus-visible,
a:focus-visible,
.product-stage:focus-visible {
    outline: 2px solid var(--brand-mint);
    outline-offset: 4px;
}

.site-header {
    position: relative;
    z-index: 50;
    height: 92px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(36, 36, 36, 0.97);
}

.site-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78px;
    height: 78px;
    transform: translate(-50%, -50%);
}

.site-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-kicker {
    position: absolute;
    top: 50%;
    left: clamp(22px, 4vw, 68px);
    transform: translateY(-50%);
    color: #838783;
    font-family: inherit;
    font-size: 9px;
    letter-spacing: 0.25em;
}

.auth-nav {
    position: absolute;
    top: 50%;
    right: clamp(22px, 4vw, 68px);
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateY(-50%);
    color: #d3d3cf;
    font-size: 12px;
    letter-spacing: 0.06em;
}

.auth-nav button {
    padding: 0;
    background: none;
    cursor: pointer;
}

.auth-nav a,
.auth-nav button {
    transition: color 180ms ease, opacity 180ms ease;
}

.auth-nav a:hover,
.auth-nav button:hover {
    color: var(--brand-mint);
}

.hero {
    position: relative;
    height: clamp(500px, 68vw, 780px);
    max-height: calc(100vh - 92px);
    min-height: 500px;
    overflow: hidden;
    background: #d8d8d8;
    touch-action: pan-y;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    z-index: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
    transform: scale(1.015);
    transition: transform 8s ease-out;
}

.hero-slide.is-active img {
    transform: scale(1.055);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 14, 12, 0.47) 0%, rgba(9, 14, 12, 0.05) 48%, rgba(9, 14, 12, 0.18) 100%),
        linear-gradient(0deg, rgba(9, 14, 12, 0.55) 0%, transparent 45%);
}

.hero-copy {
    position: absolute;
    z-index: 2;
    left: clamp(38px, 8vw, 150px);
    bottom: clamp(58px, 10vw, 130px);
    display: flex;
    max-width: 520px;
    flex-direction: column;
    color: #fff;
    opacity: 0;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 450ms ease;
}

.hero-slide.is-active .hero-copy {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 420ms;
}

.hero-index {
    margin-bottom: 14px;
    font-family: inherit;
    font-size: 10px;
    letter-spacing: 0.35em;
}

.hero-copy strong {
    font-size: clamp(34px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.06em;
    word-break: keep-all;
}

.hero-copy > span:last-child {
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(13px, 1.25vw, 17px);
    letter-spacing: 0.08em;
}

.hero-arrow,
.product-arrow {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    background: transparent;
    cursor: pointer;
}

.hero-arrow {
    top: 50%;
    width: 64px;
    height: 82px;
    transform: translateY(-50%);
}

.hero-arrow--prev {
    left: clamp(10px, 2.5vw, 42px);
}

.hero-arrow--next {
    right: clamp(10px, 2.5vw, 42px);
}

.hero-arrow span,
.product-arrow span {
    display: block;
    width: 24px;
    height: 24px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.hero-arrow--prev span,
.product-arrow--prev span {
    transform: rotate(-135deg);
}

.hero-arrow--next span,
.product-arrow--next span {
    transform: rotate(45deg);
}

.hero-arrow {
    color: rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
    transition: color 180ms ease, transform 180ms ease;
}

.hero-arrow:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 12px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 9px;
    height: 9px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    background: rgba(36, 36, 36, 0.38);
    cursor: pointer;
    transition: width 220ms ease, border-radius 220ms ease, background 220ms ease;
}

.hero-dots button.is-active {
    width: 30px;
    border-radius: 999px;
    background: #fff;
}

.collection {
    position: relative;
    min-height: 780px;
    padding: 96px 0 88px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 58%, rgba(63, 128, 107, 0.14), transparent 34%),
        var(--charcoal);
}

.collection::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.05;
    background-image: url("/email-header-pattern.png");
    background-size: 760px auto;
    mix-blend-mode: screen;
}

.collection-heading {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    text-align: center;
}

.collection-heading > p {
    color: var(--brand-mint);
    font-family: inherit;
    font-size: 10px;
    letter-spacing: 0.36em;
}

.collection-heading h1 {
    margin-top: 14px;
    font-size: clamp(28px, 3.3vw, 44px);
    font-weight: 400;
    letter-spacing: 0.08em;
}

.collection-heading > span {
    display: block;
    margin-top: 13px;
    color: #8f918e;
    font-size: 13px;
    letter-spacing: 0.06em;
}

.product-carousel {
    position: relative;
    z-index: 2;
    width: min(100%, 1500px);
    height: 560px;
    margin: 30px auto 0;
}

.product-stage {
    position: absolute;
    inset: 0 80px;
    overflow: visible;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.product-stage.is-dragging {
    cursor: grabbing;
}

.product-track {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1400px;
    transform-style: preserve-3d;
}

.product-card {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    display: grid;
    width: min(31vw, 410px);
    min-width: 300px;
    height: 490px;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #ececea;
    color: #14231f;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 30px 64px rgba(0, 0, 0, 0.34);
    transform: translate(-50%, -50%) scale(0.62);
    transition:
        transform 560ms cubic-bezier(0.22, 0.8, 0.2, 1),
        opacity 420ms ease,
        filter 420ms ease;
    -webkit-user-drag: none;
}

.product-card[data-position="0"] {
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
}

.product-card[data-position="-1"] {
    z-index: 4;
    opacity: 0.75;
    pointer-events: auto;
    filter: brightness(0.8);
    transform: translate(calc(-50% - 72%), -50%) scale(0.84) rotateY(13deg);
}

.product-card[data-position="1"] {
    z-index: 4;
    opacity: 0.75;
    pointer-events: auto;
    filter: brightness(0.8);
    transform: translate(calc(-50% + 72%), -50%) scale(0.84) rotateY(-13deg);
}

.product-card[data-position="-2"] {
    z-index: 3;
    opacity: 0.35;
    transform: translate(calc(-50% - 132%), -50%) scale(0.7) rotateY(20deg);
}

.product-card[data-position="2"] {
    z-index: 3;
    opacity: 0.35;
    transform: translate(calc(-50% + 132%), -50%) scale(0.7) rotateY(-20deg);
}

.product-card__visual {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: #e7e7e6;
}

.product-card__visual > img:not([width="82"]) {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.product-card--available:hover .product-card__visual > img {
    transform: scale(1.035);
}

.product-card__body {
    min-height: 118px;
    padding: 22px 24px 20px;
    background: #efefed;
}

.product-card__body p {
    color: #557068;
    font-family: inherit;
    font-size: 9px;
    letter-spacing: 0.24em;
}

.product-card__body h2 {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.06em;
}

.product-card__body > span {
    display: block;
    margin-top: 10px;
    color: #6c716e;
    font-size: 12px;
}

.product-card__link::after {
    display: inline-block;
    margin-left: 7px;
    content: "→";
    transition: transform 180ms ease;
}

.product-card--available:hover .product-card__link::after {
    transform: translateX(4px);
}

.product-card__visual--pattern,
.product-card__visual--line,
.product-card__visual--dark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    color: rgba(216, 240, 232, 0.72);
    font-family: inherit;
    font-size: 9px;
    letter-spacing: 0.32em;
}

.product-card__visual--pattern {
    background-color: var(--brand-mid);
    background-image: linear-gradient(rgba(6, 53, 45, 0.13), rgba(6, 53, 45, 0.13)), url("/email-header-pattern.png");
    background-position: center;
    background-size: cover;
}

.product-card__visual--soft {
    filter: saturate(0.45) brightness(1.08);
}

.product-card__visual--dark {
    background: var(--brand-dark);
}

.product-card__visual--dark img {
    width: 98px;
    height: 98px;
    object-fit: contain;
}

.product-card__visual--line {
    background:
        linear-gradient(135deg, transparent 49.7%, rgba(158, 218, 204, 0.22) 50%, transparent 50.3%),
        var(--brand-green);
    background-size: 34px 34px;
}

.product-card__mark {
    display: grid;
    width: 128px;
    height: 128px;
    place-items: center;
    border: 1px solid var(--brand-mint);
    border-radius: 50%;
    color: var(--brand-mint);
    font-family: "Aritaburi", serif;
    font-size: 24px;
    letter-spacing: 0.14em;
}

.product-arrow {
    top: 50%;
    width: 60px;
    height: 80px;
    color: #b8bab6;
    transform: translateY(-50%);
    transition: color 180ms ease, transform 180ms ease;
}

.product-arrow--prev {
    left: 18px;
}

.product-arrow--next {
    right: 18px;
}

.product-arrow:hover {
    color: var(--brand-mint);
    transform: translateY(-50%) scale(1.08);
}

.product-status {
    position: absolute;
    bottom: 0;
    left: 50%;
    color: #8b8e8a;
    font-family: inherit;
    font-size: 10px;
    letter-spacing: 0.18em;
    transform: translateX(-50%);
}

.sealing-intro {
    background: #2a2a2a;
}

.sealing-intro img {
    display: block;
    width: 100%;
    max-width: 1080px;
    height: auto;
    margin: 0 auto;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px 50px;
    padding: 58px clamp(24px, 6vw, 110px) 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: var(--charcoal-deep);
    color: #a1a39f;
}

.footer-brand strong {
    color: #e7e7e3;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.11em;
}

.footer-brand strong span {
    margin-left: 5px;
    font-size: 15px;
}

.footer-brand p {
    margin-top: 10px;
    font-size: 12px;
}

.site-footer nav {
    display: flex;
    align-items: start;
    gap: 20px;
    font-size: 11px;
}

.site-footer nav a:hover {
    color: var(--brand-mint);
}

.footer-info {
    grid-column: 1 / -1;
    font-family: inherit;
    font-size: 10px;
    line-height: 1.7;
    color: black;
}

.kakao-floating-stack {
    position: fixed;
    right: clamp(18px, 2.4vw, 36px);
    bottom: clamp(18px, 3vw, 40px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.kakao-consult-button {
    position: fixed;
    z-index: 1000;
    right: auto;
    left: max(clamp(18px, 2.4vw, 36px), env(safe-area-inset-left));
    bottom: max(clamp(18px, 3vw, 40px), env(safe-area-inset-bottom));
    display: block;
    width: 62px;
    height: 62px;
    overflow: hidden;
    border-radius: 50%;
    background: #2bae70;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.kakao-consult-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.09);
}

.kakao-consult-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.34);
}

.kakao-popup {
    position: relative;
    opacity: 1;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.kakao-popup.is-closing {
    opacity: 0;
}

.kakao-popup__dialog {
    position: relative;
    width: min(22vw, 220px);
    min-width: 190px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
    pointer-events: auto;
    transition: transform 180ms ease;
}

.kakao-popup.is-closing .kakao-popup__dialog {
    transform: scale(0.98);
}

.kakao-popup__link,
.kakao-popup__image {
    display: block;
}

.kakao-popup__image {
    width: 100%;
    height: auto;
}

.kakao-popup__close {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 1;
    width: 22px;
    aspect-ratio: 1;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}

.kakao-popup__close img {
    display: block;
    width: 100%;
    height: 100%;
}

.kakao-consult-button:focus-visible,
.kakao-popup__link:focus-visible,
.kakao-popup__close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .site-kicker {
        display: none;
    }

    .product-stage {
        right: 56px;
        left: 56px;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-footer nav,
    .footer-info {
        grid-column: 1;
    }
}

@media (max-width: 680px) {
    .site-header {
        height: 76px;
    }

    .site-logo {
        width: 60px;
        height: 60px;
    }

    .auth-nav {
        right: 14px;
        gap: 8px;
        font-size: 9px;
        letter-spacing: 0;
    }

    .hero {
        height: min(68vh, 620px);
        max-height: none;
        min-height: 470px;
    }

    .hero-slide img {
        object-position: 55% center;
    }

    .hero-copy {
        left: 26px;
        right: 26px;
        bottom: 74px;
    }

    .hero-copy strong {
        font-size: clamp(30px, 10vw, 45px);
    }

    .hero-arrow {
        top: 48%;
        width: 42px;
        height: 64px;
    }

    .hero-arrow span,
    .product-arrow span {
        width: 17px;
        height: 17px;
    }

    .hero-arrow--prev {
        left: 2px;
    }

    .hero-arrow--next {
        right: 2px;
    }

    .collection {
        min-height: 680px;
        padding: 70px 0 60px;
    }

    .collection-heading h1 {
        font-size: 27px;
        line-height: 1.45;
        word-break: keep-all;
    }

    .collection-heading > span {
        font-size: 11px;
    }

    .product-carousel {
        height: 500px;
        margin-top: 26px;
    }

    .product-stage {
        inset: 0 34px;
    }

    .product-card {
        width: min(75vw, 320px);
        min-width: 0;
        height: 425px;
    }

    .product-card[data-position="-1"] {
        transform: translate(calc(-50% - 82%), -50%) scale(0.78) rotateY(12deg);
    }

    .product-card[data-position="1"] {
        transform: translate(calc(-50% + 82%), -50%) scale(0.78) rotateY(-12deg);
    }

    .product-card[data-position="-2"] {
        transform: translate(calc(-50% - 150%), -50%) scale(0.62) rotateY(18deg);
    }

    .product-card[data-position="2"] {
        transform: translate(calc(-50% + 150%), -50%) scale(0.62) rotateY(-18deg);
    }

    .product-card__body {
        min-height: 108px;
        padding: 18px 20px;
    }

    .product-card__body h2 {
        font-size: 19px;
    }

    .product-arrow {
        z-index: 8;
        top: auto;
        bottom: 8px;
        width: 48px;
        height: 48px;
        transform: none;
    }

    .product-arrow--prev {
        left: calc(50% - 78px);
    }

    .product-arrow--next {
        right: calc(50% - 78px);
    }

    .product-arrow:hover {
        transform: scale(1.06);
    }

    .product-status {
        bottom: 24px;
    }

    .site-footer {
        padding: 46px 24px 36px;
    }

    .site-footer nav {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .kakao-floating-stack {
        right: 12px;
        bottom: 16px;
        gap: 10px;
    }

    .kakao-consult-button {
        left: max(12px, env(safe-area-inset-left));
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 54px;
        height: 54px;
    }

    .kakao-popup__dialog {
        width: min(44vw, 180px);
        min-width: 150px;
    }

    .kakao-popup__close {
        top: 7px;
        right: 7px;
        width: 19px;
    }
}

@media (max-height: 540px) {
    .kakao-consult-button {
        width: 48px;
        height: 48px;
    }

    .kakao-popup__dialog {
        width: min(42vh, 190px);
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-slide,
    .hero-slide img,
    .product-card,
    .kakao-consult-button,
    .kakao-popup,
    .kakao-popup__dialog {
        transition: none;
    }
}
