:root {
    --ink: #171816;
    --muted: #686963;
    --paper: #f4f2ed;
    --paper-deep: #e8e4dc;
    --white: #fbfaf7;
    --signal: #d44b2b;
    --line: rgba(23, 24, 22, 0.18);
    --line-strong: rgba(23, 24, 22, 0.42);
    --shell: min(1400px, calc(100% - 64px));
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { width: var(--shell); margin-inline: auto; }
.narrow-shell { max-width: 920px; }
.screen-reader-text,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    background: var(--ink);
    color: var(--white);
    padding: 12px 16px;
}

.announcement {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: var(--ink);
    color: var(--white);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: .12em;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 242, 237, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.header-grid {
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}
.wordmark {
    justify-self: start;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1;
}
.primary-navigation ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.primary-navigation a,
.header-tools a {
    position: relative;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.primary-navigation a::after,
.header-tools a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -5px;
    height: 1px;
    background: currentColor;
    transition: right .3s var(--ease);
}
.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after,
.header-tools a:hover::after,
.header-tools a:focus-visible::after { right: 0; }
.header-tools {
    justify-self: end;
    display: flex;
    gap: 24px;
}
.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding-inline: 4px;
    margin-left: 4px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
}
.menu-toggle { display: none; }

.hero { min-height: calc(100dvh - 106px); display: grid; align-items: stretch; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(500px, 1.22fr);
    min-height: inherit;
}
.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px 7vw 96px 0;
}
.eyebrow {
    display: block;
    margin-bottom: 28px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
.hero h1,
.section-heading h2,
.collection-head h2,
.fit-copy h2,
.page-header h1,
.error-page h1 {
    margin-bottom: 28px;
    font-size: clamp(48px, 6.2vw, 92px);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.065em;
}
.hero-copy > p {
    max-width: 470px;
    margin-bottom: 40px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button,
button.button,
input.button,
.woocommerce a.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: 0 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    transition: color .3s var(--ease), background-color .3s var(--ease), transform .12s var(--ease);
    cursor: pointer;
}
.button:active,
button.button:active,
.woocommerce a.button:active { transform: translateY(1px); }
.button-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background: var(--ink);
    color: var(--white);
}
.button-primary:hover,
.button-primary:focus-visible,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--signal); border-color: var(--signal); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover,
.button-secondary:focus-visible { background: var(--ink); color: var(--white); }
.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 3px;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: border-color .3s var(--ease), color .3s var(--ease);
}
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover { color: var(--signal); border-color: var(--signal); }
.text-link:hover span { transform: translate(2px, -2px); }

.hero-object { min-width: 0; border-left: 1px solid var(--line); }
.bauhaus-field {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        var(--paper-deep);
    background-size: 72px 72px;
}
.bauhaus-field::before {
    content: "";
    position: absolute;
    width: min(30vw, 440px);
    aspect-ratio: 1;
    top: -12%;
    right: -8%;
    border-radius: 50%;
    background: var(--signal);
    opacity: .94;
}
.bauhaus-field::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    left: 7%;
    bottom: 8%;
    background: var(--ink);
}
.frame-drawing {
    position: relative;
    z-index: 2;
    width: 88%;
    color: var(--white);
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .16));
}
.measure,
.object-caption {
    position: absolute;
    z-index: 3;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: .12em;
}
.measure-top { top: 28px; left: 30px; }
.measure-side { right: -35px; top: 50%; transform: rotate(90deg); }
.object-caption { right: 28px; bottom: 24px; color: var(--white); }

.section-rule { border-top: 1px solid var(--line); }
.principles { padding: 120px 0; }
.section-heading {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 48px;
    margin-bottom: 72px;
}
.section-heading h2,
.collection-head h2,
.fit-copy h2 { font-size: clamp(42px, 5vw, 74px); }
.principle-list { border-top: 1px solid var(--ink); }
.principle-row {
    display: grid;
    grid-template-columns: 90px minmax(220px, .8fr) 1.2fr;
    gap: 32px;
    align-items: baseline;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}
.principle-index { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.principle-row h3 { margin: 0; font-size: 22px; font-weight: 520; letter-spacing: -.02em; }
.principle-row p { max-width: 560px; margin: 0; color: var(--muted); }

.collection { padding: 112px 0 128px; }
.collection-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 56px;
}
.collection-head h2 { margin-bottom: 0; }
.product-preview-grid,
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    list-style: none;
    margin: 0;
    padding: 0;
}
.product-preview,
.woocommerce ul.products li.product {
    min-width: 0;
    margin: 0;
    padding: 0 0 20px;
    background: var(--paper);
}
.product-image-wrap,
.woocommerce ul.products li.product > a:first-child {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--paper-deep);
}
.product-image-wrap img,
.woocommerce ul.products li.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s var(--ease);
}
.product-image-wrap:hover img,
.woocommerce ul.products li.product > a:first-child:hover img { transform: scale(1.025); }
.quick-view {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: translateY(calc(100% + 16px));
    padding: 13px 16px;
    background: var(--ink);
    color: var(--white);
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: transform .35s var(--ease);
}
.product-image-wrap:hover .quick-view { transform: translateY(0); }
.product-preview-meta,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
    padding-inline: 16px;
}
.product-preview-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; }
.product-preview-meta h3 { margin: 0; font-size: 14px; font-weight: 600; }
.product-preview-meta > span,
.woocommerce ul.products li.product .price { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 18px 0 6px; font-size: 14px; font-weight: 600; }
.woocommerce ul.products li.product .button { margin: 14px 16px 0; }
.collection-empty {
    min-height: 340px;
    display: grid;
    grid-template-columns: .5fr 1.2fr auto;
    align-items: end;
    gap: 32px;
    padding: 32px;
    border: 1px solid var(--line);
    background:
        linear-gradient(90deg, transparent 49.9%, var(--line) 50%, transparent 50.1%),
        linear-gradient(transparent 49.9%, var(--line) 50%, transparent 50.1%);
}
.collection-empty > span { align-self: start; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .12em; }
.collection-empty p { margin: 0; font-size: clamp(30px, 4vw, 56px); line-height: 1.02; letter-spacing: -.04em; }

.fit-section { padding: 120px 0; background: var(--ink); color: var(--white); }
.fit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; align-items: center; }
.fit-copy p { max-width: 520px; margin-bottom: 36px; color: rgba(251, 250, 247, .64); }
.fit-copy .button-secondary { border-color: var(--white); color: var(--white); }
.fit-copy .button-secondary:hover { background: var(--white); color: var(--ink); }
.fit-specimen {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 52px 38px;
    border: 1px solid rgba(251, 250, 247, .28);
}
.fit-specimen div { display: grid; text-align: center; }
.fit-specimen strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(42px, 5vw, 72px); font-weight: 400; line-height: 1; }
.fit-specimen span,
.fit-specimen small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .12em; }
.fit-specimen small { grid-column: 1 / -1; margin-top: 28px; color: rgba(251, 250, 247, .5); text-align: center; }
.fit-specimen i { font-style: normal; color: var(--signal); }

.region-strip { border-top: 1px solid rgba(251, 250, 247, .18); background: var(--ink); color: var(--white); }
.region-grid {
    min-height: 76px;
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    align-items: center;
    gap: 20px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.region-grid span:first-child { color: rgba(251, 250, 247, .48); }

.site-footer { padding: 88px 0 24px; border-top: 1px solid var(--line); background: var(--paper-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 72px; }
.wordmark-footer { display: inline-block; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 13px; }
.footer-label { margin-bottom: 12px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a { border-bottom: 1px solid transparent; }
.footer-column a:hover { border-color: currentColor; }
.footer-contact span:last-child { color: var(--muted); }
.legal-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.page-main,
.shop-main { min-height: 70vh; padding: 112px 0; }
.page-header { padding-bottom: 48px; border-bottom: 1px solid var(--ink); }
.page-header h1 { margin-bottom: 0; }
.page-content { padding: 48px 0; color: #343531; }
.page-content h2 { margin-top: 56px; font-size: 28px; font-weight: 520; letter-spacing: -.03em; }
.page-content h3 { margin-top: 36px; font-size: 18px; }
.page-content p,
.page-content li { max-width: 68ch; color: var(--muted); }
.page-content a { border-bottom: 1px solid var(--line-strong); }
.page-content table { width: 100%; border-collapse: collapse; margin: 32px 0; }
.page-content th,
.page-content td { padding: 16px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.error-page { padding: 15vh 0; }
.error-page p { color: var(--muted); margin-bottom: 32px; }

.woocommerce .woocommerce-breadcrumb { margin-bottom: 56px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 32px; }
.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    min-height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    padding: 10px 12px;
}
.woocommerce div.product { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7vw; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce div.product .product_title { font-size: clamp(38px, 5vw, 68px); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.woocommerce div.product p.price { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; }
.woocommerce div.product form.cart { display: flex; gap: 12px; margin: 36px 0; }
.woocommerce .quantity .qty { min-height: 48px; width: 70px; border: 1px solid var(--line-strong); background: transparent; text-align: center; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 72px; border-top: 1px solid var(--line); padding-top: 36px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 28px; list-style: none; padding: 0; border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: transparent; padding: 0; margin: 0; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { border: 1px solid var(--line); border-top: 3px solid var(--signal); background: var(--white); padding: 20px 24px; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-collapse: collapse; border-radius: 0; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 16px; border-bottom: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
::selection { background: var(--signal); color: var(--white); }

@media (max-width: 1024px) {
    :root { --shell: min(100% - 40px, 960px); }
    .header-grid { grid-template-columns: 1fr auto; }
    .primary-navigation { order: 3; grid-column: 1 / -1; display: none; }
    .primary-navigation.is-open { display: block; padding: 12px 0 24px; }
    .primary-navigation ul { align-items: flex-start; flex-direction: column; gap: 18px; }
    .menu-toggle {
        justify-self: end;
        display: grid;
        gap: 4px;
        width: 42px;
        height: 42px;
        place-content: center;
        border: 0;
        background: transparent;
    }
    .menu-toggle span:not(.screen-reader-text) { display: block; width: 20px; height: 1px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
    .header-tools { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { min-height: 620px; padding-right: 0; }
    .hero-object { min-height: 620px; border-left: 0; border-top: 1px solid var(--line); }
    .product-preview-grid,
    .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
    .footer-contact { grid-column: 2 / -1; }
}

@media (max-width: 720px) {
    :root { --shell: calc(100% - 32px); }
    .announcement { padding-inline: 16px; }
    .announcement-detail { display: none; }
    .header-grid { min-height: 66px; }
    .wordmark { font-size: 20px; }
    .hero { min-height: auto; }
    .hero-copy { min-height: auto; padding: 76px 0 64px; }
    .hero h1 { font-size: clamp(48px, 16vw, 68px); }
    .hero-copy > p { font-size: 16px; }
    .hero-object { min-height: 470px; }
    .bauhaus-field::before { width: 300px; right: -25%; }
    .bauhaus-field::after { width: 120px; height: 120px; }
    .principles,
    .collection,
    .fit-section { padding: 76px 0; }
    .section-heading { grid-template-columns: 1fr; gap: 0; margin-bottom: 48px; }
    .section-heading h2,
    .collection-head h2,
    .fit-copy h2 { font-size: 44px; }
    .principle-row { grid-template-columns: 42px 1fr; gap: 16px; }
    .principle-row p { grid-column: 2; }
    .collection-head { align-items: flex-start; flex-direction: column; }
    .product-preview-grid,
    .woocommerce ul.products { grid-template-columns: 1fr; }
    .collection-empty { min-height: 360px; grid-template-columns: 1fr; align-content: space-between; }
    .fit-grid { grid-template-columns: 1fr; gap: 56px; }
    .fit-specimen { padding-inline: 16px; gap: 9px; }
    .fit-specimen strong { font-size: 38px; }
    .region-grid { grid-template-columns: repeat(2, 1fr); padding-block: 26px; gap: 16px; }
    .region-grid span:first-child { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-contact { grid-column: 1 / -1; }
    .legal-row { flex-direction: column; }
    .page-main,
    .shop-main { padding: 76px 0; }
    .page-header h1 { font-size: 48px; }
    .woocommerce div.product { grid-template-columns: 1fr; }
}

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