:root {
    color-scheme: light;
    --ink: #18241d;
    --muted: #515b50;
    --paper: #fbf9f3;
    --white: #fff;
    --line: #dddcd1;
    --brand: #193c30;
    --brand-dark: #102b22;
    --yellow: #f5dc82;
    --cream: #e7e0ce;
    --focus: #2f6c55;
    --radius: 12px;
    --display: Inter, "Segoe UI", Arial, sans-serif;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: .25em; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.wrap { width: min(100% - 64px, 1280px); margin-inline: auto; }
p { margin: 0; line-height: 1.55; }
h1, h2 { margin: 0; line-height: 1.07; text-wrap: balance; }
h1 { font: 900 clamp(2.15rem, 5vw, 4.15rem)/1.03 var(--display); letter-spacing: -.068em; }
h2 { font-size: 1.15rem; letter-spacing: -.025em; }
.sr-only, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 10; inset: 12px auto auto 12px; padding: 12px 16px; background: var(--white); }

.shipping-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 36px;
    padding: 6px 16px;
    background: var(--yellow);
    font-size: .79rem;
    font-weight: 650;
    text-align: center;
}
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    min-height: 78px;
    align-items: center;
    gap: 24px;
}
.wordmark { width: fit-content; font: 900 clamp(1.45rem, 3vw, 2rem)/1 var(--display); letter-spacing: -.075em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--brand); }
.header-nav, .header-tools, .site-footer nav {
    display: flex;
    align-items: center;
    gap: clamp(13px, 2.2vw, 30px);
    font-size: .88rem;
    font-weight: 650;
}
.header-nav a, .header-tools a, .site-footer nav a { text-decoration: none; }
.header-nav a:hover, .header-tools a:hover, .site-footer nav a:hover,
.header-nav a[aria-current="page"] { text-decoration: underline; }
.header-tools { justify-content: end; gap: 12px; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cart-link span {
    display: grid;
    min-width: 25px;
    height: 25px;
    padding-inline: 5px;
    place-items: center;
    border-radius: 50px;
    background: var(--brand);
    color: white;
    font-size: .72rem;
    font-weight: 750;
}

main.wrap { flex: 1; margin-block: clamp(1.65rem, 4vw, 3.5rem) clamp(3.75rem, 7vw, 6.75rem); }
main.landing { margin-top: 25px; }
.error { margin-bottom: 24px; padding: 14px 18px; border: 1px solid #e2ad9e; background: #fff0ed; color: #8b271d; border-radius: 9px; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--brand);
    color: var(--white);
    min-height: clamp(410px, 38vw, 540px);
}
.hero-simple { grid-template-columns: 1fr; }
.hero-copy { align-self: center; padding: clamp(2rem, 4.8vw, 4.4rem); }
.hero h1 {
    max-width: 10ch;
    font-size: clamp(3.05rem, 6vw, 5.65rem);
    line-height: .99;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
}
.hero p { max-width: 25rem; margin: 1.5rem 0 1.9rem; color: #e1e9dd; font-size: clamp(1rem, 1.55vw, 1.14rem); }
.hero-copy :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
.hero-feature {
    display: grid;
    grid-template: 1fr / 1fr;
    min-width: 0;
    overflow: hidden;
    position: relative;
    background: var(--cream);
    color: var(--ink);
    text-decoration: none;
    isolation: isolate;
}
.hero-feature img {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.hero-feature:hover img { transform: scale(1.025); }
.feature-caption {
    grid-area: 1 / 1;
    align-self: end;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 clamp(1rem, 3vw, 2rem) clamp(1rem, 2vw, 1.7rem);
    padding: .85rem 1rem;
    background: var(--paper);
    border-radius: 6px;
    align-items: center;
    overflow-wrap: anywhere;
    font-size: .88rem;
}
.feature-caption span { font-size: 1rem; }
.hero-feature:focus-visible { outline-offset: -5px; }

button, .button {
    display: inline-flex;
    min-height: 46px;
    padding: .72rem 1rem;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    border: 1px solid var(--brand);
    border-radius: 6px;
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    font-size: .89rem;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
}
button:hover:not(:disabled), .button:hover { background: var(--brand-dark); }
.button-bright { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.button-bright:hover { background: #fff0ab; border-color: #fff0ab; }
button:disabled { cursor: default; opacity: .5; }
.quiet { background: transparent; border-color: #b6b7ab; color: var(--ink); }
.quiet:hover:not(:disabled) { background: #eae9e0; }

.collection-section { margin-top: clamp(2.75rem, 5vw, 4.5rem); }
.section-title { font: 900 clamp(1.65rem, 4vw, 3.25rem)/1.05 var(--display); letter-spacing: -.061em; }
.collections {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.7rem, 2vw, 1.2rem);
    margin-top: 1.2rem;
}
.collection {
    position: relative;
    display: grid;
    align-content: end;
    min-width: 0;
    min-height: clamp(140px, 18vw, 230px);
    isolation: isolate;
    overflow: hidden;
    padding: 1rem;
    border-radius: 11px;
    text-decoration: none;
}
.collection-wear { background: #dfe7d7; }
.collection-carry { background: #eee0b6; }
.collection-home { background: #f0e2d8; }
.collection-heritage { background: #e3e7ec; }
.collection img {
    position: absolute;
    z-index: -1;
    width: 68%;
    height: 76%;
    left: 16%;
    bottom: 21%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .22s ease;
}
.collection:hover img { transform: translateY(-4px); }
.collection > span { display: flex; justify-content: space-between; gap: .6rem; font-size: clamp(.88rem, 1.5vw, 1rem); font-weight: 750; }
.collection:hover > span { text-decoration: underline; }

.catalog { scroll-margin-top: 1.5rem; }
.landing .catalog { margin-top: clamp(3.3rem, 6vw, 5rem); }
.shop-heading { display: flex; gap: 1rem; align-items: end; justify-content: space-between; margin-bottom: 1.5rem; }
.result-count { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
.search { display: flex; align-items: stretch; gap: .5rem; width: min(100%, 23rem); }
input, select {
    min-width: 0;
    max-width: 100%;
    min-height: 46px;
    padding: .72rem .8rem;
    border: 1px solid #b6b7ab;
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
}
.search input { flex: 1; }
.catalog-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.catalog-nav a { border: 1px solid var(--line); border-radius: 5px; padding: .55rem .7rem; font-size: .85rem; font-weight: 600; text-decoration: none; }
.catalog-nav a:hover { border-color: var(--ink); }
.catalog-nav a[aria-current="page"] { background: var(--brand); color: var(--white); border-color: var(--brand); }

.products { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); list-style: none; gap: 2.15rem clamp(.75rem, 2vw, 1.35rem); padding: 0; margin: 0; }
.products li { min-width: 0; }
.products a { display: block; text-decoration: none; }
.products a:hover strong { text-decoration: underline; }
.product-image {
    display: block;
    margin: 0 0 .85rem;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: #f0efe8;
}
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .22s ease; }
.products a:hover img { transform: scale(1.045); }
.product-caption { display: grid; gap: 5px; line-height: 1.35; }
.product-caption strong { font-size: .95rem; font-weight: 700; overflow-wrap: anywhere; }
.product-caption span { font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.breadcrumb { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem; font-size: .87rem; color: var(--muted); }
.detail, .cart-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(1.25rem, 5vw, 4.5rem); }
.detail-media { min-height: 160px; overflow: hidden; border-radius: var(--radius); background: #f0efe8; }
.detail img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.detail-content { padding-block: clamp(.2rem, 4vw, 3rem); }
.detail h1 { font-size: clamp(2rem, 4.1vw, 3.85rem); overflow-wrap: anywhere; }
.detail-price { margin-block: .85rem 1.55rem; font-size: 1.15rem; font-weight: 700; }
.product-description { white-space: pre-line; margin-top: 1.65rem; color: var(--muted); overflow-wrap: anywhere; }
.detail-policy { display: inline-block; margin-top: 1rem; font-size: .89rem; }
.stack { display: grid; gap: .85rem; justify-items: start; }
.stack label { display: grid; gap: .38rem; width: 100%; max-width: 100%; font-size: .9rem; font-weight: 650; }
.stack input { width: 6rem; }
.detail .stack > button { width: 100%; }

.cart-layout { margin-top: 1.4rem; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
.cart-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cart-list li { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; border-bottom: 1px solid var(--line); }
.cart-item { display: flex; align-items: center; gap: .9rem; min-width: 0; overflow-wrap: anywhere; }
.cart-image { flex: 0 0 clamp(48px, 10vw, 80px); aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #f0efe8; }
.cart-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-list p { color: var(--muted); font-size: .9rem; margin-top: .25rem; }
.cart-list .quiet { min-height: 40px; padding: .55rem .7rem; }
.panel { padding: clamp(1.1rem, 3.5vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow-wrap: anywhere; }
.panel > h1 { margin-bottom: 1rem; font-size: clamp(1.85rem, 3vw, 3rem); }
.panel > p, .panel > form, .panel > .button { margin-top: .9rem; }
.panel .stack { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.panel dl { margin: 1.25rem 0; }
.panel dl div { display: flex; justify-content: space-between; gap: .75rem; margin: .75rem 0; font-size: .9rem; }
.panel dd { margin: 0; white-space: nowrap; }
.panel dl div:last-child { padding-top: .85rem; border-top: 1px solid var(--line); font-size: 1rem; font-weight: 750; }
.panel form button[name="action"][value="begin"] { width: 100%; }
.empty-state .button { margin-top: .75rem; }
.cart-empty { margin-top: 1.3rem; }

.info-layout { display: grid; grid-template-columns: minmax(185px, .32fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.info-nav { display: grid; gap: .35rem; }
.info-nav a { border-radius: 6px; padding: .7rem .85rem; text-decoration: none; font-size: .92rem; }
.info-nav a[aria-current], .info-nav a:hover { background: #e9eee4; color: var(--brand); }
.info-article { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: clamp(1.25rem, 4.4vw, 3.75rem); }
.info-article h1 { font-size: clamp(2.2rem, 4.5vw, 4.2rem); }
.info-article p { max-width: 65ch; margin-top: 1.25rem; color: var(--muted); text-wrap: pretty; overflow-wrap: anywhere; }
.info-article > a { display: inline-flex; margin-top: 1.25rem; }
.info-article p.info-email { margin-top: .65rem; font-size: .93rem; }

.site-footer { margin-top: auto; background: var(--brand); color: var(--white); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.65fr) 1fr 1fr; gap: 2rem; padding-block: 3rem; }
.footer-brand p { margin-top: .75rem; color: #e1e9dd; }
.footer-group h2 { font-size: .96rem; margin-bottom: 1rem; }
.site-footer nav { display: grid; align-items: start; gap: .85rem; font-weight: 500; }
.site-footer .wordmark span { color: var(--yellow); }
.site-footer p { font-size: .83rem; }

@media (max-width: 930px) {
    .header-inner { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
    .wordmark { grid-column: 1; grid-row: 1; align-self: center; padding-block: 14px; }
    .header-tools { grid-column: 2; grid-row: 1; }
    .header-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; padding: 2px 0 13px; }
    .hero-copy { padding: 2rem; }
    .hero h1 { font-size: clamp(2.9rem, 7vw, 4.9rem); }
    .products { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .site-footer .wordmark { padding: 0; }
}
@media (max-width: 650px) {
    .wrap { width: calc(100% - 32px); }
    .header-nav { column-gap: 16px; row-gap: 8px; font-size: .78rem; }
    .header-tools { gap: 9px; font-size: .79rem; }
    main.landing { margin-top: 14px; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-copy { padding: 1.8rem 1.4rem 1.75rem; }
    .hero p { margin-block: 1rem 1.25rem; }
    .hero-feature { min-height: clamp(240px, 76vw, 400px); }
    .feature-caption { margin: .85rem; font-size: .81rem; }
    .collections { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .collection { min-height: 143px; padding: .7rem; }
    .collection img { width: 61%; height: 72%; left: 19.5%; bottom: 23%; }
    .shop-heading { flex-direction: column; align-items: flex-start; }
    .search { width: 100%; }
    .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem .7rem; }
    .product-caption strong { font-size: .86rem; }
    .detail, .cart-layout { grid-template-columns: minmax(0,1fr); }
    .info-layout { grid-template-columns: 1fr; }
    .info-nav { display: flex; gap: .35rem; flex-wrap: wrap; }
    .info-nav a { font-size: .82rem; padding: .6rem .7rem; }
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .001ms !important; }
}
