:root {
    color-scheme: light;
    --ink: #141414;
    --paper: #f7f7f5;
    --line: #dededb;
    --accent: #d90e24;
    --accent-on-dark: #ff5264;
    --muted: #656565;
    --focus: #ff6e7b;
    --wide: 1200px;
    --gutter: clamp(20px, 5vw, 72px);
    --header-height: 66px;
    --logo-height: 40px;
    --section-space: clamp(72px, 9vw, 130px);
    --card-pad: 32px;
    --stack-gap: 18px;
    --hero-min: clamp(530px, 47vw, 690px);
    --hero-position: 56% 62%;
    --title-size: clamp(44px, 3.8vw, 56px);
    --hero-title-size: clamp(44px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

button { font: inherit; color: inherit; cursor: pointer; }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 40;
    background: #fff;
    padding: 0.5rem 0.75rem;
}

.skip:focus { top: 0.5rem; }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--header-height);
    background: #fff;
    border-bottom: 1px solid #eee;
}

.bar {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-right: auto;
    color: inherit;
    text-decoration: none;
}

.brand img {
    height: var(--logo-height);
    width: auto;
    max-width: 46vw;
    object-fit: contain;
}

.header-phone,
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.header-phone { font-size: 14px; }

.nav-toggle {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 14px;
}

.site-nav { display: none; }

.site-nav[data-open="true"] {
    display: block;
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow: auto;
    background: #fff;
    padding: 8px var(--gutter) 24px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.nav-level { list-style: none; margin: 0; padding: 0; }

.nav-level a,
.nav-group > button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    text-align: left;
    text-decoration: none;
    font-weight: 800;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 0;
}

.submenu { display: none; padding-left: 0.85rem; }

.nav-group > button[aria-expanded="true"] + .submenu { display: block; }

main { margin: 0; padding: 0; }

.hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #171313;
    color: #fff;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: var(--hero-position);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 8, 9, 0.94), rgba(7, 8, 9, 0.6) 48%, rgba(7, 8, 9, 0.08) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding-block: 50px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero .eyebrow,
.contact .eyebrow { color: var(--accent-on-dark); }

.hero h1,
.page h1,
.section-heading h2,
.intro h2,
.contact h2 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.055em;
    word-break: keep-all;
}

.hero h1 {
    max-width: 12em;
    font-size: clamp(30px, 9vw, 40px);
}

.hero p {
    max-width: 34rem;
    margin: 22px 0 28px;
    color: #f2f2f2;
    font-size: 17px;
    line-height: 1.6;
    word-break: keep-all;
}

.actions,
.company-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.button-quiet {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.hero .button-quiet {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
}

.button-dark {
    background: var(--ink);
    color: #fff;
}

.section { padding-block: var(--section-space); }

.section-heading { margin-bottom: 38px; }

.section-heading h2,
.intro h2,
.contact h2 { font-size: clamp(30px, 8vw, 40px); }

.categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.category {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: var(--paper);
}

.category::before {
    content: "";
    position: absolute;
    z-index: 0;
    right: -170px;
    bottom: -190px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(217, 14, 36, 0.7);
    border-radius: 50%;
    pointer-events: none;
}

.category:nth-child(2)::before {
    right: -190px;
    bottom: -180px;
    width: 300px;
    height: 300px;
    border-color: #8f8e89;
}

.category:nth-child(3)::before {
    right: -160px;
    bottom: -170px;
    border-color: #b4b4ae;
}

.category-index {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
}

.category h3 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.06em;
    word-break: keep-all;
}

.category-copy p {
    margin: 0;
    max-width: 36rem;
    color: #555;
    word-break: keep-all;
}

.category-links {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 22px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.category-links a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    background: var(--paper);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.category-links a::after {
    content: "→";
    margin-left: auto;
}

.category-links a:hover { color: var(--accent); }

.intro { background: var(--paper); }

.intro-grid { display: grid; gap: 34px; }

.intro p:not(.eyebrow) {
    max-width: 34rem;
    margin: 18px 0 0;
    color: #444;
    font-size: 18px;
    word-break: keep-all;
}

.intro .button { margin-top: 22px; }

.intro-art {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 250px;
    padding: 32px;
    background: var(--ink);
    color: #fff;
}

.intro-art::before {
    content: "";
    position: absolute;
    top: -280px;
    right: -155px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.045), 0 0 0 120px rgba(255, 255, 255, 0.035);
}

.intro .intro-art p {
    position: relative;
    z-index: 1;
    max-width: 11em;
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.05em;
}

.contact {
    background: var(--ink);
    color: #fff;
}

.contact-inner { display: block; }

.contact-copy {
    max-width: 36rem;
    margin: 18px 0 0;
    color: #d0d0d0;
    font-size: 18px;
}

.contact-direct {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin: 8px 0 0;
}

.contact-direct a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.contact-inner > .button { margin-top: 28px; }

.site-footer {
    max-width: none;
    margin: 0;
    padding: 36px 0 48px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #0d0d0d;
    color: #e9e9e9;
}

.footer-inner {
    display: block;
}

.footer-name {
    margin: 0 0 8px;
    color: #fff;
    font-weight: 800;
}

.site-footer p { margin: 0.25rem 0; color: #aaa; overflow-wrap: anywhere; }

.site-footer a { color: inherit; text-decoration: none; }

.footer-nav { margin-top: 14px; }

.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #fff;
    font-weight: 800;
}

.site-footer [data-site-policy="footer"] {
    width: min(var(--wide), calc(100% - 2 * var(--gutter)));
    margin: 16px auto 0;
    padding: 0;
    background: transparent;
    color: #aaa;
}

.page {
    width: min(var(--wide), calc(100% - 2 * var(--gutter)));
    margin-inline: auto;
    padding-block: clamp(48px, 7vw, 96px);
}

.page h1 { font-size: clamp(32px, 7vw, 48px); }

.lead {
    max-width: 16em;
    margin: 12px 0 0;
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.04em;
    word-break: keep-all;
}

.company-story {
    max-width: 40rem;
    margin-top: clamp(28px, 4vw, 40px);
    color: #444;
    font-size: 18px;
    line-height: 1.75;
}

.company-story p { margin: 0 0 1.15rem; word-break: keep-all; }

.company-meta { margin-top: clamp(64px, 9vw, 120px); }

.company-meta h2,
.page h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.facts {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: clamp(24px, 4vw, 40px);
    background: var(--paper);
}

.facts div { display: grid; gap: 0.2rem; }

.facts dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.facts dd { margin: 0; }

.facts a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 800;
    text-decoration: none;
}

.company-actions { margin-top: 22px; }

.text-links { margin-top: 28px; }

.text-links ul { list-style: none; margin: 0; padding: 0; }

.text-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-weight: 800;
    text-decoration: none;
}

.text-links a:hover,
.facts a:hover,
.header-phone:hover,
.nav-level a:hover,
.nav-group > button:hover { color: var(--accent); }

.plain { white-space: pre-wrap; }

.source-note,
.empty-note p,
.page .source-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.empty-note {
    margin-top: 1rem;
    padding: 1.15rem 1.2rem;
    background: var(--paper);
}

.brand-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0;
}

.brand-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.2rem 0.8rem;
    border: 1px solid var(--line);
    background: #fff;
    text-decoration: none;
}

.brand-tabs a[aria-current="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.sample-banner {
    margin: 0 0 14px;
    padding: 10px 12px;
    background: #fff1f2;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    word-break: keep-all;
}

.filter-status {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

.story-block { margin: 0 0 28px; }

.story-block h2 { margin: 0 0 8px; font-size: 1.35rem; }

.story-block p { margin: 0 0 10px; line-height: 1.75; word-break: keep-all; }

.collection-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--stack-gap);
    margin-top: 1.25rem;
}

.entry-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    padding: 16px;
    background: var(--paper);
}

.entry-card .sample-banner { margin: -16px -16px 12px; }

.entry-media { display: block; margin: 0 0 14px; color: inherit; }

.entry-media img,
.collection-list img[data-list-image] {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #e7e4df;
}

.entry-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }

.entry-card h2 { margin: 0; font-size: 1.2rem; line-height: 1.35; word-break: keep-all; }

.entry-card a { text-decoration: none; font-weight: 800; }

.entry-card p { margin: 0; }

.entry-meta { color: var(--muted); font-size: 0.95rem; word-break: keep-all; }

.entry-price { margin-top: 8px; font-size: 1.2rem; font-weight: 800; }

.entry-more {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 12px;
    color: var(--accent);
}

.product-layout { display: grid; gap: 22px; }

.product-summary h1 { margin-top: 0; }

.product-summary p { margin: 0.25rem 0; }

.option-panel {
    margin: 18px 0;
    padding: 4px 16px 8px;
    background: var(--paper);
    border: 1px solid var(--line);
}

.option-panel h2 { margin: 12px 0 0; font-size: 1rem; }

.option-panel ul { list-style: none; margin: 8px 0 0; padding: 0; }

.option-panel li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.detail-actions .button { margin-top: 0; }

.detail-photo { margin: 0; }

.product-layout .detail-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #e7e4df;
}

.detail-long { margin-top: 28px; }

.detail-long img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    background: var(--paper);
}

.detail-long figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.back-link { margin-bottom: 12px; }

.back-link a { font-weight: 800; text-decoration: none; }

form p { margin: 0 0 0.8rem; }

input,
textarea,
button { font: inherit; max-width: 100%; }

input[type="text"],
input:not([type]),
textarea,
form input[name] {
    width: min(100%, 36rem);
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
}

textarea { min-height: 8rem; }

.hp { position: absolute; left: -10000px; }

.error { color: var(--accent); font-weight: 800; }

#fields,
#company,
#inquiry { scroll-margin-top: calc(var(--header-height) + 12px); }

@media (min-width: 800px) {
    .categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--stack-gap); }

    .category { min-height: 310px; padding: var(--card-pad); }

    .category h3 { font-size: clamp(25px, 2.2vw, 34px); }

    .intro-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: clamp(40px, 6vw, 100px);
        align-items: center;
    }

    .intro-art { min-height: 380px; padding: 42px; }

    .contact-inner {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 40px;
    }

    .contact-inner > .button { margin-top: 0; flex: none; }

    .footer-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .footer-nav { margin-top: 0; }

    .collection-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }

    .product-layout { grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); align-items: start; }

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

    .facts div:last-child { grid-column: 1 / -1; }
}

@media (min-width: 1040px) {
    :root {
        --header-height: 82px;
        --logo-height: 52px;
        --hero-position: 56% 62%;
        --hero-title-size: clamp(44px, 5vw, 64px);
        --title-size: clamp(44px, 3.8vw, 56px);
    }

    .header-phone { margin-right: 4px; font-size: 15px; }

    .nav-toggle { display: none; }

    .site-nav,
    .site-nav[data-open="false"],
    .site-nav[data-open="true"] {
        display: block;
        position: static;
        width: auto;
        max-height: none;
        overflow: visible;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-level-1 {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(4px, 1vw, 18px);
    }

    .nav-level-1 > li { position: relative; }

    .nav-level-1 > li > a,
    .nav-level-1 > .nav-group > button {
        width: auto;
        min-height: 44px;
        border: 0;
        font-size: 15px;
        white-space: nowrap;
    }

    .nav-level-1 > .nav-group > button::after {
        content: "";
        width: 0.4rem;
        height: 0.4rem;
        margin-left: 0.4rem;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
    }

    .nav-level-1 > .nav-group > .submenu {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        min-width: 16rem;
        max-height: min(70vh, 32rem);
        overflow: auto;
        padding: 0.35rem 0.9rem;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    }

    .nav-group:hover > .submenu,
    .nav-group:focus-within > .submenu,
    .nav-group > button[aria-expanded="true"] + .submenu { display: block; }

    .submenu .submenu {
        position: static;
        min-width: 0;
        max-height: none;
        margin: 0;
        padding: 0 0 0.35rem 0.75rem;
        border: 0;
        box-shadow: none;
    }

    .submenu .nav-group > button,
    .submenu a { font-size: 15px; }

    .hero {
        min-height: var(--hero-min);
        align-items: center;
    }

    .hero::after {
        background: linear-gradient(90deg, rgba(7, 8, 9, 0.93) 0%, rgba(7, 8, 9, 0.8) 30%, rgba(7, 8, 9, 0.22) 71%, rgba(7, 8, 9, 0.1) 100%);
    }

    .hero-inner { padding-block: 90px; }

    .hero h1 { font-size: var(--hero-title-size); }

    .hero p {
        margin: 28px 0 38px;
        font-size: clamp(17px, 1.6vw, 21px);
    }

    .section-heading h2,
    .intro h2,
    .contact h2 { font-size: var(--title-size); }

    .page h1 { font-size: clamp(44px, 4vw, 56px); }
}

@media (max-width: 719px) {
    :root { --hero-position: 36% 58%; }
}

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