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

:root {
    --cream: #fff8ed;
    --cream-deep: #faefd8;
    --paper: #fffdf6;
    --orange: #f35b2d;
    --orange-deep: #c94324;
    --brown: #482d26;
    --ink: #292724;
    --muted: #71695f;
    --mint: #d7f1cf;
    --pink: #ffcad9;
    --sky: #c9e3ef;
    --blue: #3c7ee8;
    --line: #e1cfb9;
    --header: 86px;
    --gutter: clamp(22px, 5.2vw, 110px);
    --max-width: 1690px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 12px);
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
}

body.is-locked {
    overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

img {
    height: auto;
}

i,
em {
    font-style: normal;
}

::selection {
    background: var(--orange);
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px;
}

button,
a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.site {
    overflow: clip;
}

.container {
    width: min(calc(100% - var(--gutter) * 2), var(--max-width));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: -100px;
    left: 20px;
    padding: 12px 20px;
    background: var(--orange);
    color: #fff;
}

.skip-link:focus {
    top: 14px;
}

.small-caps {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.45;
}

.section-count {
    color: var(--orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .11em;
}

.display-title {
    font-size: clamp(44px, 5.65vw, 106px);
    font-weight: 820;
    line-height: 1.18;
    letter-spacing: -.063em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    min-width: 205px;
    padding: 14px 24px;
    gap: 30px;
    border: 0;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 750;
    transition: translate .25s, box-shadow .25s, color .25s, background .25s;
}

.button > span {
    font-size: 24px;
    font-weight: 500;
}

.button-orange {
    color: #fff;
    background: var(--orange);
    box-shadow: 4px 6px 0 #b8371e;
}

.button-orange:hover {
    translate: 0 -3px;
    background: var(--orange-deep);
    box-shadow: 4px 9px 0 #a9311a;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 7px;
    border-bottom: 1px solid #988777;
    font-size: 16px;
    font-weight: 700;
}

.text-link:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.site-header {
    position: relative;
    z-index: 80;
    height: var(--header);
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 35px;
    height: 100%;
    width: min(calc(100% - var(--gutter) * 2), var(--max-width));
    margin-inline: auto;
}

.logo {
    width: 245px;
    flex-shrink: 0;
}

.logo a,
.logo img {
    display: block;
    width: 100%;
}

.edition-tag {
    margin-left: 8px;
    color: #7e675b;
    font-size: 10px;
    letter-spacing: .09em;
    line-height: 1.65;
}

.edition-tag strong {
    color: var(--orange);
    font-weight: 800;
}

.navigation {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.05vw, 40px);
    margin-left: auto;
}

.navigation > a {
    white-space: nowrap;
    font-size: 15px;
    font-weight: 680;
    transition: color .2s;
}

.navigation > a:hover {
    color: var(--orange);
}

.navigation > .nav-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 153px;
    padding: 12px 19px;
    gap: 24px;
    border: 2px solid var(--brown);
    border-radius: 50px;
    color: #fff;
    background: var(--brown);
}

.navigation > .nav-contact:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 44px;
    height: 44px;
    padding: 11px;
    margin-left: auto;
    border: 2px solid var(--ink);
    border-radius: 13px;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 3px auto;
    background: var(--ink);
    transition: transform .25s;
}

.menu-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.site-footer {
    padding-top: 24px;
    background: #faefd9;
    border-top: 2px solid var(--ink);
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-height: 132px;
}

.footer-logo {
    display: block;
    width: 230px;
    flex-shrink: 0;
}

.footer-logo img {
    width: 100%;
}

.footer-main > p {
    color: var(--orange);
    font-size: 17px;
    font-weight: 820;
    letter-spacing: -.025em;
    line-height: 1.35;
}

.footer-other {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--brown);
    font-size: 15px;
    font-weight: 700;
}

.footer-other:hover {
    color: var(--orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-block: 25px 34px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 580;
    letter-spacing: .035em;
}

/* Visual demo dialog */
.style-dialog {
    position: fixed;
    width: min(1140px, calc(100% - 35px));
    max-height: calc(100dvh - 35px);
    margin: auto;
    padding: 0;
    border: 2px solid var(--ink);
    border-radius: 25px;
    overflow: auto;
    color: var(--ink);
    background: var(--cream);
    box-shadow: 0 34px 95px rgb(45 21 12 / 25%);
}

.style-dialog::backdrop {
    background: rgb(24 14 10 / 68%);
    backdrop-filter: blur(6px);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 17px 25px;
    border-bottom: 2px solid var(--ink);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .09em;
}

.dialog-close {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: transparent;
    font-size: 19px;
}

.dialog-close:hover {
    color: #fff;
    background: var(--orange);
}

.dialog-body {
    display: grid;
    grid-template-columns: 1fr .9fr;
    min-height: 530px;
}

.dialog-art {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px;
    background: var(--pink);
}

.dialog-art-small {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.dialog-art-title {
    position: relative;
    z-index: 2;
    font-size: clamp(55px, 5vw, 88px);
    font-weight: 830;
    line-height: .94;
    letter-spacing: -.075em;
    white-space: pre-line;
}

.dialog-art-symbol {
    position: absolute;
    z-index: 0;
    right: -40px;
    top: 9%;
    color: #fff0e2;
    font-size: 410px;
    font-weight: 300;
    animation: dialog-wobble 15s linear infinite;
}

.dialog-art-pop {
    background: #ec5e40;
    color: #fff;
}

.dialog-art-natural {
    background: #a9b995;
    color: #24392b;
}

.dialog-art-classic {
    color: #fff;
    background: #252322;
}

.dialog-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
    padding: 55px;
}

.dialog-details .small-caps {
    color: var(--orange);
}

.dialog-details h2 {
    font-size: clamp(34px, 3.3vw, 57px);
    letter-spacing: -.05em;
    line-height: 1.16;
}

.dialog-details > p:not(.small-caps) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.dialog-note {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 14px !important;
}

.dialog-details .button {
    margin-top: 10px;
}

@keyframes dialog-wobble {
    to {
        rotate: 360deg;
    }
}

.reveal {
    opacity: 1;
    translate: 0 0;
}

.js-ready .reveal:not(.visible) {
    opacity: 0;
    translate: 0 22px;
    transition: opacity .8s ease, translate .8s ease;
}

.js-ready .reveal.visible {
    opacity: 1;
    translate: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }

    .js-ready .reveal {
        opacity: 1 !important;
        translate: none !important;
    }
}
