/* The Oldfangled Leather Co — storefront · "bold & warm rustic" */
:root {
    --ink: #24170f;          /* dark leather */
    --ink-2: #4a3326;
    --muted: #6b5444;
    --paper: #f6efe3;        /* page */
    --sand: #e9dcc4;         /* blocks */
    --sand-2: #dccaa9;
    --card: #fffaf2;
    --line: #dcc9ab;
    --accent: #9a4f24;       /* cognac */
    --accent-dark: #7e3d18;
    --amber: #f3c98b;
    --ok: #2f6b3a;
    --err: #a3261b;
    --radius: 12px;
    --pill: 999px;
    --wrap: 1240px;
    --display: 'Bebas Neue', 'Archivo Black', Impact, 'Arial Narrow Bold', sans-serif;
    --heavy: 'Archivo Black', 'Arial Black', sans-serif;
    --sans: 'Karla', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --shadow: 0 2px 0 rgba(36, 23, 15, .08), 0 10px 30px rgba(36, 23, 15, .10);
    /* Leather grain: fine noise + soft mottling, used on dark & cognac blocks */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; font-weight: 600; }
a:hover { color: var(--accent-dark); }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: .01em; margin: 0 0 .45em; color: var(--ink); text-transform: uppercase; }
h1 { font-size: clamp(2.8rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
h3, h4 { font-family: var(--sans); font-weight: 800; line-height: 1.25; margin: 0 0 .5em; font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.narrow-wide { max-width: 1000px; }
.center { text-align: center; }
.small { font-size: .88rem; color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; color: var(--accent); margin-bottom: .8em; }
.eyebrow a { color: inherit; text-decoration: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* Buttons — chunky pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--accent); color: #fff; border: 2px solid var(--accent);
    padding: .8em 1.5em; border-radius: var(--pill); font-weight: 800; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
    cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; box-shadow: 0 3px 0 var(--accent-dark); }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--accent-dark); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-lg { padding: 1em 1.9em; font-size: 1rem; }
.btn-sm { padding: .5em 1em; font-size: .8rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff4e2; border-color: #fff4e2; box-shadow: none; }
.btn-ghost-light:hover { background: #fff4e2; color: var(--ink); border-color: #fff4e2; }
.btn-light { background: #fff4e2; color: var(--ink); border-color: #fff4e2; box-shadow: 0 3px 0 rgba(0,0,0,.25); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; }

/* Header — dark leather bar */
.announce { background: var(--accent) var(--grain); color: #fff4e2; text-align: center; font-size: .85rem; font-weight: 700; letter-spacing: .04em; padding: .5em 1em; }
.announce a { color: inherit; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.announce-dark { background: var(--ink) var(--grain); color: var(--amber); }
.announce-gold { background: var(--amber); color: var(--ink); }
.announce-green { background: #2f6b3a var(--grain); color: #fff4e2; }
.site-header { background: var(--ink) var(--grain); color: var(--sand); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 0 var(--accent); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--sand); flex-shrink: 0; }
.brand img { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent); }
.brand-text { font-family: var(--display); font-size: 1.85rem; line-height: .9; letter-spacing: .03em; display: flex; flex-direction: column; color: #fff4e2; font-weight: 400; }
.brand-the { font-family: var(--sans); font-size: .62rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--amber); }
.brand-sub { font-family: var(--sans); font-size: .66rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--amber); }
.site-nav { margin-left: auto; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav a { display: block; padding: .55em .85em; color: var(--sand); text-decoration: none; font-weight: 800; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--pill); }
.site-nav a:hover { background: rgba(233, 220, 196, .12); color: #fff4e2; }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: var(--card); border: 2px solid var(--ink);
    border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .95rem; border-radius: 8px; }
.sub a:hover { background: var(--sand); color: var(--ink); }
.header-actions { display: flex; gap: 4px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; color: var(--sand); cursor: pointer; }
.icon-btn:hover { background: rgba(233, 220, 196, .12); color: #fff4e2; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--amber); color: var(--ink); font-size: .74rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 11px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; border-radius: 2px; background: var(--sand); margin: 5px 0; transition: .2s; }
.search-bar { border-top: 1px solid rgba(233, 220, 196, .15); padding: 12px 0; }
.search-bar .wrap, .search-inline { display: flex; gap: 8px; }
.search-bar input, .search-inline input { flex: 1; }
.search-inline { max-width: 560px; margin: 0 auto 1.5em; }

@media (max-width: 1240px) {
    .nav-toggle { display: block; }
    .header-inner { gap: 6px; min-height: 68px; }
    .brand { margin-right: auto; }
    .brand img { width: 42px; height: 42px; }
    .brand-text { font-size: 1.5rem; }
    .site-nav { position: fixed; inset: 0 auto 0 0; width: min(86vw, 340px); background: var(--ink) var(--grain); transform: translateX(-100%); transition: transform .25s;
        padding: 90px 16px 24px; overflow-y: auto; box-shadow: var(--shadow); z-index: 60; margin: 0; }
    .site-nav.open { transform: none; }
    .site-nav > ul { flex-direction: column; }
    .site-nav a { padding: .8em .8em; font-size: 1rem; border-radius: 8px; }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; background: none; min-width: 0; }
    .sub a { color: var(--sand); font-size: .95rem; padding: .5em .8em; }
    .sub a:hover { background: rgba(233, 220, 196, .12); color: #fff4e2; }
    .nav-toggle { position: relative; z-index: 61; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 55; }
}

/* Notices & forms */
.notice { padding: 1em 1.2em; border-radius: var(--radius); margin: 1em 0; border: 2px solid var(--line); background: var(--card); font-weight: 600; }
.notice-success { border-color: #9cc5a3; background: #eef6ef; color: var(--ok); }
.notice-error { border-color: #e2a39b; background: #fbefed; color: var(--err); }
.notice-info { border-color: var(--sand-2); background: var(--sand); color: var(--ink-2); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=password], input:not([type]), select, textarea {
    width: 100%; padding: .75em 1em; border: 2px solid var(--line); border-radius: 10px; background: #fff; min-height: 50px; }
textarea { min-height: 0; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 3px solid rgba(154, 79, 36, .2); outline-offset: 0; }
[aria-invalid=true] { border-color: var(--err) !important; }
.field { margin-bottom: 1em; }
.field label, fieldset legend { display: block; font-weight: 800; font-size: .92rem; margin-bottom: .35em; }
.field-error { color: var(--err); font-size: .88rem; font-weight: 700; margin: .3em 0 0; }
fieldset { border: 0; padding: 0; margin: 0 0 1.8em; }
fieldset > legend { font-family: var(--display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; line-height: 1; margin-bottom: .6em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row3 { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .row2, .row3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: .6em; align-items: flex-start; margin: .5em 0; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); }
.check.has-error { color: var(--err); }
.hp { position: absolute; left: -9999px; }

/* Hero — cognac leather block */
.hero { position: relative; overflow: hidden; color: #fff4e2;
    background:
        var(--grain),
        radial-gradient(90% 120% at 85% 15%, rgba(255, 214, 160, .28) 0%, rgba(255, 214, 160, 0) 55%),
        radial-gradient(70% 90% at 0% 100%, rgba(36, 23, 15, .55) 0%, rgba(36, 23, 15, 0) 60%),
        linear-gradient(135deg, #a9592a 0%, #9a4f24 45%, #7e3d18 100%); }
.hero::after { content: ''; position: absolute; inset: 14px; border: 2px dashed rgba(255, 244, 226, .45); border-radius: 18px; pointer-events: none; }
.hero-has-img { background: linear-gradient(90deg, rgba(36,23,15,.9) 0%, rgba(36,23,15,.6) 50%, rgba(36,23,15,.15) 100%), var(--hero) center/cover no-repeat; }
.hero-inner { position: relative; z-index: 1; padding: clamp(32px, 4vw, 56px) 20px; max-width: var(--wrap); }
.hero h1 { color: #fff4e2; font-size: clamp(3.4rem, 9vw, 7.2rem); max-width: 11ch; margin-bottom: .3em; text-shadow: 0 3px 0 rgba(36, 23, 15, .35); }
.hero .lead { color: #fff4e2; max-width: 50ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); opacity: .95; }
.hero .eyebrow { color: var(--ink); background: var(--amber); padding: .4em .9em; border-radius: var(--pill); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }

.trust { background: var(--ink) var(--grain); color: var(--sand); }
.trust-list { list-style: none; margin: 0 auto; padding: 22px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-list li { display: flex; flex-direction: column; font-size: .9rem; padding-left: 14px; border-left: 3px solid var(--accent); }
.trust-list strong { font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: .03em; color: #fff4e2; line-height: 1.1; text-transform: uppercase; }
.trust-list span { color: var(--sand); opacity: .85; }
@media (max-width: 800px) { .trust-list { grid-template-columns: 1fr 1fr; } }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 1.4em; }
.section-head h2 { margin: 0; }
.section-head a { white-space: nowrap; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.page-head { margin: 1em 0 1.6em; }
.page-intro { color: var(--ink-2); max-width: 70ch; font-size: 1.08rem; }
.empty { padding: 36px; background: var(--sand); border: 2px dashed var(--sand-2); border-radius: var(--radius); text-align: center; color: var(--ink-2); font-weight: 600; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.cat-tile { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--accent) var(--grain); text-decoration: none; box-shadow: var(--shadow); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-name { position: absolute; inset: auto 0 0 0; padding: 60px 18px 16px; color: #fff4e2; font-family: var(--display); font-size: 2.1rem; line-height: 1; text-transform: uppercase; background: linear-gradient(transparent, rgba(36, 23, 15, .85)); }
.cat-name small { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--amber); margin-top: 4px; }

.story { background: var(--ink) var(--grain); color: var(--sand); margin-top: clamp(56px, 8vw, 96px); position: relative; }
.story::before, .story::after { content: ''; position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed rgba(243, 201, 139, .4); }
.story::before { top: 14px; } .story::after { bottom: 14px; }
.story-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; padding: clamp(56px, 8vw, 96px) 20px; align-items: center; }
.story h2 { color: #fff4e2; font-size: clamp(2.6rem, 5vw, 3.8rem); }
.story .eyebrow { color: var(--amber); }
.story p { color: var(--sand); }
.story .btn-ghost { color: #fff4e2; border-color: #fff4e2; }
.story .btn-ghost:hover { background: #fff4e2; color: var(--ink); }
.story-facts { display: grid; gap: 14px; }
.story-facts div { background: rgba(233, 220, 196, .07); border: 2px solid rgba(233, 220, 196, .15); border-radius: var(--radius); padding: 16px 20px; }
.story-facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2.8rem; line-height: 1; color: var(--amber); }
@media (max-width: 800px) { .story-inner { grid-template-columns: 1fr; } }

.band { padding-bottom: 0; }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; background: var(--sand); border: 2px dashed var(--accent); border-radius: 18px; padding: 36px; }
.band-inner p { margin: 0; max-width: 60ch; color: var(--ink-2); }
.band-ctas { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 800px) { .band-inner { flex-direction: column; align-items: flex-start; } }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; } }
.card { background: var(--card); border-radius: var(--radius); border: 2px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.card-link { display: block; text-decoration: none; color: inherit; font-weight: 400; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s, transform .5s; }
.card-alt { position: absolute; inset: 0; opacity: 0; }
.card-link:hover .has-alt .card-alt { opacity: 1; }
.card-link:hover .card-media > img:first-child { transform: scale(1.04); }
.card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: .45; }
.card-placeholder img { border-radius: 50%; }
.card-placeholder.big { aspect-ratio: 1; background: var(--sand); border-radius: var(--radius); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35em .8em; border-radius: var(--pill); }
.badge-tan { background: var(--amber); color: var(--ink); }
.badge-muted { background: var(--ink); color: var(--sand); }
.card-body { padding: 14px 16px 16px; }
.card-title { font-family: var(--sans); font-size: 1.02rem; font-weight: 800; margin: 0 0 .25em; line-height: 1.3; }
.card-price { margin: 0; font-weight: 800; color: var(--accent); font-size: 1.05rem; }
.card-price .price-was { color: var(--muted); }
.price-was { color: var(--muted); font-weight: 400; margin-right: .3em; }
.mini-swatches { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.mini-swatches li { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line); }
.mini-swatches .more { width: auto; height: auto; background: none; box-shadow: none; font-size: .78rem; font-weight: 700; color: var(--muted); }

.shop-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: .6em; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips a { padding: .5em 1.1em; border: 2px solid var(--ink); border-radius: var(--pill); text-decoration: none; color: var(--ink); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: transparent; }
.chips a:hover { background: var(--sand); }
.chips a[aria-current] { background: var(--ink); color: var(--paper); }
.sort-form { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; }
.sort-form select { width: auto; min-height: 44px; padding: .4em 2.2em .4em .9em; border-radius: var(--pill); }
.result-count { color: var(--muted); font-size: .9rem; font-weight: 700; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 44px 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; padding: .55em 1em; border: 2px solid var(--ink); border-radius: var(--pill); text-decoration: none; color: var(--ink); text-align: center; font-weight: 800; }
.pager span[aria-current] { background: var(--ink); color: var(--paper); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 22px 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--accent); }
.crumbs a { color: var(--muted); font-weight: 700; text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* Product page */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: 100px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery-main { border-radius: 18px; overflow: hidden; background: var(--sand); aspect-ratio: 1; border: 2px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.thumbs button { padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; width: 100%; }
.thumbs button[aria-current=true] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; background: var(--sand); }
.buy h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); margin-bottom: .2em; }
.buy-price { font-family: var(--heavy); font-size: 1.9rem; color: var(--accent); margin: .1em 0 .8em; }
.buy-price .price-was { font-family: var(--sans); font-size: 1.15rem; }
.buy-intro { color: var(--ink-2); font-size: 1.05rem; }
.options { margin: 1.4em 0; }
.option { margin-bottom: 1.2em; }
.option legend { font-family: var(--sans); font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6em; line-height: 1.4; }
.option-current { font-weight: 700; color: var(--accent); text-transform: none; letter-spacing: 0; font-size: .95rem; }
.option-values { display: flex; flex-wrap: wrap; gap: 10px; }
.option-values input { position: absolute; opacity: 0; pointer-events: none; }
.option-values label { min-width: 54px; min-height: 46px; padding: .55em 1.1em; border: 2px solid var(--line); border-radius: var(--pill); background: #fff; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; font-size: .92rem; font-weight: 800; transition: border-color .15s, background .15s, color .15s; }
.option-values label:hover { border-color: var(--ink); }
.option-values input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.option-values input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.option-values input.unavailable + label { color: #a8968a; text-decoration: line-through; background: var(--paper); }
.option-values label.swatch { width: 46px; min-width: 46px; padding: 0; border-radius: 50%; background: var(--sw); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.option-values input:checked + label.swatch { background: var(--sw); box-shadow: 0 0 0 3px var(--ink); }
.option-values input.unavailable + label.swatch { opacity: .35; background: var(--sw); }
.option select { max-width: 340px; }
.variant-fallback { margin: 1em 0; }
.personalise input { max-width: 380px; }
.buy-row { display: flex; gap: 12px; margin: 1.3em 0 .6em; }
.qty { display: flex; border: 2px solid var(--line); border-radius: var(--pill); background: #fff; overflow: hidden; }
.qty button { width: 44px; border: 0; background: none; font-size: 1.25rem; font-weight: 800; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--sand); }
.qty input { width: 48px; border: 0; text-align: center; padding: 0; min-height: 54px; font-weight: 800; -moz-appearance: textfield; }
.qty input:focus { outline: none; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-buy { flex: 1; }
.stock { font-size: .92rem; font-weight: 700; color: var(--ok); margin: 0 0 .4em; }
.form-msg { font-size: .95rem; font-weight: 700; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.buy-perks { list-style: none; padding: 16px 18px; margin: 1.2em 0; background: var(--sand); border-radius: var(--radius); font-size: .95rem; font-weight: 600; }
.buy-perks li { padding: .25em 0 .25em 1.6em; position: relative; }
.buy-perks li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.accordion details { border-bottom: 2px dashed var(--line); }
.accordion summary { cursor: pointer; padding: 1em 0; font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::after { content: '+'; font-family: var(--heavy); font-size: 1.2rem; color: var(--accent); }
.accordion details[open] summary::after { content: '–'; }
.accordion summary::-webkit-details-marker { display: none; }

/* Prose (rich text) */
.prose { line-height: 1.75; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.prose h3 { margin-top: 1.4em; font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); font-weight: 800; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.6em 0; padding: 1.1em 1.4em; background: var(--sand); border-left: 6px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; font-weight: 700; color: var(--ink-2); }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; }
.prose th { background: var(--sand); font-weight: 800; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius); }
.cta-box { margin: 2.6em 0; padding: 32px; background: var(--accent) var(--grain); color: #fff4e2; border-radius: 18px; position: relative; }
.cta-box::after { content: ''; position: absolute; inset: 8px; border: 2px dashed rgba(255, 244, 226, .45); border-radius: 12px; pointer-events: none; }
.cta-box h2 { color: #fff4e2; }
.cta-box .btn { margin: 4px 8px 4px 0; position: relative; z-index: 1; background: #fff4e2; color: var(--ink); border-color: #fff4e2; box-shadow: 0 3px 0 rgba(0,0,0,.25); }
.cta-box .btn-ghost { background: transparent; color: #fff4e2; border-color: #fff4e2; box-shadow: none; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.post-card { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.post-card a { display: block; color: inherit; text-decoration: none; font-weight: 400; }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--sand); }
.post-card a > :not(img):not(.post-ph) { margin-left: 18px; margin-right: 18px; }
.post-card a > :first-child:not(img):not(.post-ph) { margin-top: 18px; }
.post-card a > :last-child { margin-bottom: 18px; }
.post-card .small { margin-top: 14px; margin-bottom: 4px; font-weight: 700; }
.post-card h2, .post-card h3 { font-family: var(--sans); font-weight: 800; text-transform: none; font-size: 1.2rem; line-height: 1.3; letter-spacing: 0; margin-top: 12px; margin-bottom: .4em; }
.post-card a:hover h2, .post-card a:hover h3 { color: var(--accent); }
.post-card p { color: var(--ink-2); font-size: .95rem; }
.article-head { margin: 1em 0 1.6em; }
.article-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.article-head .small { font-weight: 700; }
.article-cover img { width: 100%; max-height: 580px; object-fit: cover; border-radius: 18px; }
.article-body { padding-top: 2em; font-size: 1.1rem; }
.link-list { padding-left: 1.2em; }

/* Cart & checkout */
.cart-lines { border-top: 2px solid var(--ink); }
.cart-line { display: grid; grid-template-columns: 100px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 2px dashed var(--line); }
.cart-thumb img { width: 100px; height: 100px; object-fit: contain; border-radius: 10px; background: var(--sand); }
.cart-name { font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.cart-info p { margin: .1em 0; }
.cart-qty { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cart-qty input { width: 76px; text-align: center; border-radius: var(--pill); font-weight: 800; }
.cart-total { font-weight: 800; min-width: 96px; text-align: right; color: var(--accent); }
@media (max-width: 600px) {
    .cart-line { grid-template-columns: 76px 1fr; }
    .cart-thumb img { width: 76px; height: 76px; }
    .cart-qty { flex-direction: row; grid-column: 2; }
    .cart-total { grid-column: 2; text-align: left; }
}
.cart-summary { max-width: 400px; margin: 26px 0 0 auto; background: var(--sand); padding: 24px; border-radius: 18px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: .45em 16px; margin: 1em 0; }
.totals dt, .totals dd { margin: 0; }
.totals dd { text-align: right; font-weight: 700; }
.totals .grand { font-family: var(--heavy); font-size: 1.25rem; border-top: 2px solid var(--ink); padding-top: .55em; }
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 44px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
.checkout-summary { position: sticky; top: 100px; background: var(--sand); border-radius: 18px; padding: 26px; }
.checkout-summary h2 { font-size: 2.1rem; }
.summary-lines { list-style: none; padding: 0; margin: 0; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: .7em 0; border-bottom: 2px dashed var(--sand-2); font-size: .95rem; font-weight: 600; }
.summary-lines small { display: block; color: var(--muted); font-weight: 400; }
.choices { display: grid; gap: 10px; margin-bottom: 1em; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .15s; }
.choice:hover { border-color: var(--ink-2); }
.choice:has(input:checked) { border-color: var(--accent); background: #fffaf2; box-shadow: inset 0 0 0 1px var(--accent); }
.choice input { margin-top: 4px; accent-color: var(--accent); width: 20px; height: 20px; }
.choice small { display: block; color: var(--muted); font-weight: 400; }
.choice-price { margin-left: auto; font-weight: 800; white-space: nowrap; color: var(--accent); }
.order-box { background: var(--sand); border-radius: 18px; padding: 26px; margin: 2em 0; }
.order-box h2 { font-size: 2rem; }
.bank { background: var(--card); border: 2px dashed var(--accent); padding: 18px 22px; border-radius: var(--radius); margin: 1em 0; font-weight: 600; }
.pay-redirect { display: flex; align-items: center; min-height: 100vh; }
.pay-redirect img { margin: 0 auto 1em; border-radius: 50%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details dt { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: 1.1em; }
.contact-details dd { margin: 0; }
.form-card { background: var(--sand); border-radius: 18px; padding: 30px; }
.form-card h2 { font-size: 2.2rem; }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); margin-top: 1.5em; }

/* Footer */
.site-footer { background: var(--ink) var(--grain); color: var(--sand); margin-top: clamp(64px, 9vw, 110px); font-size: .95rem; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 12px; left: 0; right: 0; border-top: 2px dashed rgba(243, 201, 139, .35); }
.site-footer a { color: #fff4e2; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding: 64px 20px 36px; }
.site-footer h2 { color: var(--amber); font-size: 1.7rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5em; }
.site-footer address { font-style: normal; margin-bottom: .6em; }
.site-footer .small { color: var(--sand); opacity: .75; }
.footer-logo { margin-bottom: 14px; border-radius: 50%; box-shadow: 0 0 0 3px var(--accent); }
.socials { display: flex; gap: 14px; margin-top: 1em !important; }
.socials a { border: 2px solid var(--sand); padding: .3em .9em; border-radius: var(--pill); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.socials a:hover { background: var(--sand); color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(233, 220, 196, .15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 20px; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 #1a9e4b, 0 8px 22px rgba(0,0,0,.25); z-index: 40; transition: transform .15s; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.page-checkout .wa-float, .page-cart .wa-float { display: none; }

.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; z-index: 70; font-size: .95rem; }
.consent p { margin: 0 0 12px; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Blog card placeholder when a post has no cover photo */
.post-ph { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; position: relative;
    background: var(--grain), linear-gradient(135deg, #a9592a 0%, #9a4f24 50%, #7e3d18 100%); }
.post-ph::after { content: ''; position: absolute; inset: 10px; border: 2px dashed rgba(255, 244, 226, .45); border-radius: 8px; }
.post-ph span { font-family: var(--display); font-size: 2rem; color: #fff4e2; letter-spacing: .04em; text-transform: uppercase; }
.post-card a > .post-ph { margin: 0; }

/* ── Centred layout ─────────────────────────────────────────
   Marketing sections are centred on every screen size; long reading
   text (articles, product details, forms) stays left-aligned for readability. */
.hero-inner { text-align: center; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 14ch; margin-left: auto; margin-right: auto; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero-ctas { justify-content: center; }

.trust-list { text-align: center; }
.trust-list li { border-left: 0; padding-left: 0; align-items: center; }
.trust-list li::before { content: ''; width: 34px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 10px; }

.section-head { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.page-head { text-align: center; }
.page-intro { margin-left: auto; margin-right: auto; }
.shop-bar { justify-content: center; }
.chips { justify-content: center; }
.result-count { text-align: center; }
.empty { max-width: 760px; margin-left: auto; margin-right: auto; }

.story-inner { text-align: center; grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; gap: 36px; }
.story-text p { max-width: 62ch; margin-left: auto; margin-right: auto; }
.story-facts { grid-template-columns: repeat(3, 1fr); }

.band-inner { flex-direction: column; text-align: center; }
.band-inner p { margin-left: auto; margin-right: auto; }
.band-ctas { justify-content: center; }

.article-head, .crumbs ol { text-align: center; justify-content: center; }
.footer-grid { text-align: left; }

@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .hero-inner { padding: 36px 16px 40px; }
    .hero::after { inset: 8px; }
    .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
    .hero-ctas .btn { width: 100%; }
    .trust-list { padding: 20px 16px; gap: 18px 12px; }
    .story-facts { grid-template-columns: 1fr; }
    .band-inner { padding: 26px 18px; }
    .band-ctas { flex-direction: column; width: 100%; }
    .band-ctas .btn { width: 100%; }
    .section-head h2, .page-head h1 { word-break: break-word; }
    .footer-grid { text-align: center; }
    .socials { justify-content: center; }
    .footer-bottom { justify-content: center; text-align: center; }
    .buy-row { flex-wrap: wrap; }
    .btn-buy { min-width: 200px; }
}
@media (max-width: 380px) {
    .brand-text { font-size: 1.3rem; }
    .brand img { width: 38px; height: 38px; }
    .icon-btn { width: 42px; height: 42px; }
}

/* Mobile/tablet menu: ☰ button in the top-right corner, menu slides in from the right */
@media (max-width: 1240px) {
    .brand { order: 1; margin-right: auto; }
    .header-actions { order: 2; }
    .nav-toggle { order: 3; margin-right: -6px; }
    .site-nav { order: 4; inset: 0 0 0 auto; transform: translateX(100%); box-shadow: none; visibility: hidden; transition: transform .25s, visibility 0s .25s; }
    .site-nav.open { transform: none; }
}
@media (max-width: 640px) {
    .footer-logo { margin-left: auto; margin-right: auto; }
    .story-inner { padding-top: 64px; padding-bottom: 64px; }
}
/* Keep the open menu above the dimmed backdrop */
.nav-open .site-header { z-index: 70; }
@media (max-width: 1240px) {
    .site-nav.open { visibility: visible; box-shadow: -10px 0 30px rgba(0,0,0,.35); transition: transform .25s; }
}

/* Centre page titles (body text stays left-aligned for easy reading) */
.wrap.narrow > h1, .wrap > h1 { text-align: center; }

/* Logo wordmark in Bell MT (fallback: Baskervville, a close free transitional serif) */
.brand-text { font-family: 'Bell MT', 'Baskervville', 'Baskerville Old Face', Baskerville, Georgia, serif; font-weight: 400; font-size: 1.75rem; line-height: 1.05;
    text-transform: none; letter-spacing: .01em; color: #fff4e2; display: block; max-width: none; }
.brand-nowrap { white-space: nowrap; }
@media (max-width: 1380px) and (min-width: 1241px) { .brand-text { font-size: 1.45rem; max-width: 9.5em; } }
@media (max-width: 1240px) { .brand-text { font-size: 1.45rem; } }
@media (max-width: 520px) { .brand-text { font-size: 1.15rem; max-width: 8.5em; } }
@media (max-width: 360px) { .brand-text { font-size: 1.02rem; } }

/* Keep menu items on one line next to the wider Bell MT wordmark */
.site-nav a { white-space: nowrap; }
@media (min-width: 1241px) and (max-width: 1480px) {
    .header-inner { gap: 14px; }
    .site-nav a { padding: .5em .55em; font-size: .76rem; letter-spacing: .06em; }
    .brand-text { font-size: 1.4rem; max-width: 7.2em; }
}
@media (min-width: 1481px) {
    .site-nav a { padding: .55em .7em; font-size: .82rem; letter-spacing: .08em; }
}
/* Smallest phones: make room for search, cart and the ☰ button */
@media (max-width: 380px) {
    .header-inner { gap: 4px; }
    .brand { gap: 8px; }
    .brand img { width: 36px; height: 36px; }
    .brand-text { font-size: .98rem; max-width: 7em; }
    .icon-btn { width: 38px; height: 38px; }
    .nav-toggle { width: 40px; height: 40px; padding: 9px; }
}

/* Header gets a little more room than page content so the full menu fits */
.site-header .wrap { max-width: 1480px; }

/* Photo description under the main product image */
.gallery-caption { margin: 12px 0 0; padding: 12px 16px; background: var(--sand); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0;
    font-size: .95rem; font-weight: 600; color: var(--ink-2); line-height: 1.5; white-space: pre-line; }

/* "Special Finds" hero button: same style as its neighbours, one shade warmer */
.btn-shade { background: #f1d3a4; border-color: #f1d3a4; }
.btn-shade:hover { background: #f7e0bb; border-color: #f7e0bb; color: var(--ink); }

/* Colour choices on the product page: named buttons with a small leather sample */
.option-values label.colour-choice { gap: 9px; padding-left: .55em; }
.colour-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--sw) center / cover no-repeat; flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 0 0 2px #fff; }
.option-values input:checked + label.colour-choice .colour-dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 0 0 2px var(--paper); }
.option-values input.unavailable + label.colour-choice .colour-dot { opacity: .4; }

/* WhatsApp question button on product pages */
.btn-whatsapp { display: flex; width: 100%; margin: 1.1em 0 1.2em; background: #187a42; border-color: #187a42; box-shadow: 0 3px 0 #0f5a30; color: #fff; }
.btn-whatsapp:hover { background: #0f5a30; border-color: #0f5a30; color: #fff; }

/* Cards that must stand out on the shop: On sale (red frame) and Limited stock (amber frame) */
.card-sale, .card-limited { position: relative; border-width: 3px; }
.card-sale { border-color: var(--accent); box-shadow: 0 6px 18px rgba(122, 36, 24, .18); }
.card-limited { border-color: #d39a3c; box-shadow: 0 6px 18px rgba(176, 120, 30, .2); }
.card-sale:hover { border-color: var(--accent); }
.card-limited:hover { border-color: #d39a3c; }
.card-flag { margin: 0; padding: .45em .8em; text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card-sale .card-flag { background: var(--accent); color: #fff; }
.card-limited .card-flag { background: var(--amber); color: var(--ink); }
.card-sale .card-body { background: #fbf1ee; }
.card-limited .card-body { background: #fdf6e8; }
.product-flags { display: flex; gap: 8px; margin: 0 0 .5em; }
.flag { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35em .9em; border-radius: var(--pill); }
.flag-sale { background: var(--accent); color: #fff; }
.flag-limited { background: var(--amber); color: var(--ink); }

/* Engraving: a button on the product page that opens a pop-up */
.engrave { margin: 1em 0; }
.engrave-open { gap: .4em; }
.engrave-summary { margin: .6em 0 0; padding: .6em .9em; border-radius: var(--radius); background: var(--sand); font-size: .92rem; }
.engrave-summary .linkish { margin-left: .6em; }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--accent); text-decoration: underline; cursor: pointer; }
.engrave-dialog { position: static; border: 2px solid var(--line); border-radius: var(--radius); padding: 0; background: var(--card); color: var(--ink); }
.engrave-dialog:modal { position: fixed; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 22px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.engrave-dialog:not(:modal) { padding: 14px 16px; }
.engrave-dialog::backdrop { background: rgba(20, 14, 8, .55); }
.engrave-dialog h2 { margin: 0 0 .6em; font-size: 1.3rem; }
.engrave-dialog input, .engrave-dialog select { width: 100%; }
.engrave-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* Long option choices (whole sentences, e.g. strap choices) as full-width cards instead of a one-line dropdown */
.option-values-list { flex-direction: column; gap: 8px; }
.option-values-list label { width: 100%; justify-content: flex-start; text-align: left; border-radius: 12px; padding: .7em 1em; font-weight: 600; line-height: 1.4; }

/* ── Corporate portfolio (/corporate-gifts and /corporate-gifts/{project}) ── */
.portfolio-section { padding-top: clamp(32px, 5vw, 56px); }
.portfolio-intro { max-width: 680px; color: var(--muted); margin: -.4em 0 1.4em; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px 20px; }
.work-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.work-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-link:hover .work-media > img { transform: scale(1.04); }
.work-meta { margin: 0 0 .3em; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.work-summary { margin: .4em 0 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.work-lead { font-size: 1.2rem; max-width: 760px; color: var(--ink-2); }
.work-facts { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 1.4em 0 2em; padding: 0; }
.work-facts div { background: var(--sand); border-radius: var(--radius); padding: .55em 1em; }
.work-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.work-facts dd { margin: 0; font-weight: 700; }
.work-photos { columns: 3 260px; column-gap: 16px; }
.work-photos figure, .work-videos figure { margin: 0 0 16px; break-inside: avoid; }
.work-photos a { display: block; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); background: var(--sand); cursor: zoom-in; }
.work-photos img { display: block; width: 100%; height: auto; transition: transform .4s; }
.work-photos a:hover img { transform: scale(1.03); }
.work-photos figcaption, .work-videos figcaption { font-size: .92rem; color: var(--muted); margin-top: .5em; line-height: 1.45; }
.work-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: 8px; }
.work-video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 0; }
video.work-video { height: auto; max-height: 80vh; }
.work-video iframe { width: 100%; height: 100%; border: 0; }
.work-story { max-width: 780px; margin-top: 2em; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 14, 8, .92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 20px; box-sizing: border-box; }
.lightbox img { max-width: 100%; max-height: calc(100% - 3em); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { color: #fff4e2; margin-top: .8em; text-align: center; max-width: 760px; }
.lightbox button { position: absolute; background: rgba(0, 0, 0, .45); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--accent); }
.lightbox [data-lb-close] { top: 12px; right: 12px; }
.lightbox [data-lb-prev] { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox [data-lb-next] { right: 12px; top: 50%; transform: translateY(-50%); }
.work-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: .2em 0 1.2em; }
.work-buy p { margin: 0; }
.work-price { font-family: var(--heavy); font-size: 1.7rem; color: var(--accent); }
.work-price span { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--muted); }
.work-card .card-price { margin: .2em 0 0; }
