/* Pennington Sewing & Vacuum — site styles
   Palette: ink + navy, cranberry "thread", warm paper. Motif: dashed stitch lines. */
@view-transition { navigation: auto; }

:root {
  --ink: #1b2130;
  --navy: #1f3a5f;
  --navy-2: #2b4d78;
  --thread: #b3303a;
  --thread-2: #d2454f;
  --gold: #c9973a;
  --paper: #fbf7f0;
  --card: #ffffff;
  --line: #e6dfd2;
  --muted: #5e6575;
  --ok: #2f7d4f;
  --shadow: 0 1px 2px rgba(27,33,48,.06), 0 8px 24px rgba(27,33,48,.08);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --stitch: repeating-linear-gradient(90deg, var(--thread) 0 10px, transparent 10px 18px);
  color-scheme: light dark;
}
:root[data-theme="dark"] {
  --ink: #ece7de;
  --navy: #9cc0ec;
  --navy-2: #b9d3f3;
  --thread: #ef6b74;
  --thread-2: #ff8a92;
  --paper: #12161f;
  --card: #1a2030;
  --line: #2c3446;
  --muted: #a3abbc;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ece7de; --navy: #9cc0ec; --navy-2: #b9d3f3; --thread: #ef6b74; --thread-2: #ff8a92;
    --paper: #12161f; --card: #1a2030; --line: #2c3446; --muted: #a3abbc;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 1.0625rem; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--thread); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.stitch { height: 2px; background: var(--stitch); opacity: .7; border: 0; margin: 0; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--thread); margin-bottom: .6rem; display: inline-flex; gap: .5rem; align-items: center; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--stitch); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.25rem; border-radius: 999px; background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 700; font-size: .98rem; border: 2px solid var(--bg); cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s; font-family: inherit; line-height: 1.1; }
.btn:hover { transform: translateY(-1px); color: var(--fg); box-shadow: var(--shadow); }
.btn-thread { --bg: var(--thread); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--thread); border-color: var(--thread); }
.btn-sm { padding: .5rem .9rem; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.btn-ghost) { --bg: #2b4d78; } :root:not([data-theme="light"]) .btn-thread { --bg: #b3303a; } }
:root[data-theme="dark"] .btn:not(.btn-ghost) { --bg: #2b4d78; }
:root[data-theme="dark"] .btn-thread { --bg: #b3303a; }

/* Top bar */
.topbar { background: #1b2130; color: #e9e3d8; font-size: .86rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: space-between; padding: .45rem 0; }
.topbar a { color: #e9e3d8; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.status { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa3b5; box-shadow: 0 0 0 3px rgba(154,163,181,.25); }
.status.open .dot { background: #4cc27a; box-shadow: 0 0 0 3px rgba(76,194,122,.25); animation: pulse 2s infinite; }
.status.closed .dot { background: #e2646c; box-shadow: 0 0 0 3px rgba(226,100,108,.25); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(76,194,122,.05); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); view-transition-name: site-header; }
.header-row { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand svg { width: 48px; height: 48px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; display: block; }
.brand-tag { font-size: .78rem; color: var(--muted); font-style: italic; display: block; }
.header-actions { display: flex; gap: .5rem; align-items: center; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; position: relative; text-decoration: none; }
.icon-btn:hover { border-color: var(--thread); color: var(--thread); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--thread); color: #fff; font-size: .7rem; font-weight: 800; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 4px; }
.cart-count[data-n="0"] { display: none; }
.kbd { font: 600 .72rem var(--font-body); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: .1rem .35rem; color: var(--muted); }
.search-trigger { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 999px; padding: .55rem .9rem; cursor: pointer; font: inherit; font-size: .92rem; min-width: 210px; }
.search-trigger:hover { border-color: var(--navy); }
.search-trigger svg { width: 18px; height: 18px; }
.search-trigger .kbd { margin-left: auto; }

/* Nav */
.primary-nav { border-top: 1px solid var(--line); }
.primary-nav > .container > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem; }
.primary-nav li { position: relative; }
.primary-nav a, .primary-nav .sub-toggle { display: flex; align-items: center; gap: .3rem; padding: .7rem .8rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; background: none; border: 0; font-family: inherit; cursor: pointer; }
.primary-nav a:hover, .primary-nav .sub-toggle:hover, .primary-nav a[aria-current="page"] { color: var(--thread); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--thread); }
.primary-nav .sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.primary-nav .sub { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; z-index: 60; }
.primary-nav .sub a { padding: .55rem .7rem; border-radius: 8px; font-weight: 500; }
.primary-nav .sub a:hover { background: var(--paper); }
.primary-nav .sub .sub-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: .5rem .7rem .2rem; font-weight: 700; }
.primary-nav li.has-sub:hover > .sub, .primary-nav li.has-sub:focus-within > .sub, .primary-nav li.has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.primary-nav li.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.nav-toggle { display: none; }

@media (max-width: 1040px) {
  .search-trigger { min-width: 0; padding: .55rem; border-radius: 50%; width: 42px; height: 42px; justify-content: center; }
  .search-trigger span, .search-trigger .kbd { display: none; }
  .header-actions .btn-call-label { display: none; }
  .nav-toggle { display: inline-grid; }
  .primary-nav { display: none; border-top: 1px solid var(--line); max-height: calc(100dvh - 120px); overflow: auto; }
  .primary-nav.open { display: block; }
  .primary-nav > .container > ul { flex-direction: column; padding: .5rem 0 1rem; }
  .primary-nav a, .primary-nav .sub-toggle { padding: .8rem .2rem; width: 100%; justify-content: space-between; font-size: 1.02rem; }
  .primary-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; border-left: 2px dashed var(--line); border-radius: 0; margin-left: .4rem; background: transparent; }
  .primary-nav li.has-sub.open > .sub { display: block; }
  .primary-nav li.has-sub:hover > .sub { display: none; }
  .primary-nav li.has-sub.open:hover > .sub { display: block; }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .brand svg { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; }
  .header-actions .btn-order { display: none; }
  .topbar .tb-hide-sm, .topbar .tb-left > a { display: none; }
  .topbar .container { flex-wrap: nowrap; }
  .topbar .tb-left, .topbar .tb-right { flex-wrap: nowrap; }
}
@media (max-width: 700px) {
  .header-actions .search-trigger, .header-actions .btn-thread { display: none; }
  .header-row { gap: .5rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--navy) 16%, transparent), transparent 60%), radial-gradient(40rem 22rem at -10% 110%, color-mix(in srgb, var(--thread) 12%, transparent), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero h1 em { font-style: italic; color: var(--thread); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 1.4rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .9rem; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.trust-row li { display: inline-flex; gap: .4rem; align-items: center; }
.trust-row svg { width: 18px; height: 18px; color: var(--ok); }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 480px; justify-self: center; width: 100%; }
.hero-art .disc { position: absolute; inset: 6%; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); border: 2px dashed color-mix(in srgb, var(--thread) 45%, transparent); }
.hero-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .thread-path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: sew 3.2s ease-out .3s forwards; }
@keyframes sew { to { stroke-dashoffset: 0; } }
.hero-badge { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .6rem .8rem; font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.hero-badge small { display: block; font-weight: 500; color: var(--muted); }
.hero-badge.b1 { left: -2%; bottom: 14%; }
.hero-badge.b2 { right: -2%; top: 12%; }
.hero-badge svg { width: 26px; height: 26px; color: var(--thread); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 340px; } }

/* Page hero (inner pages) */
.page-hero { padding: 2.2rem 0 1.8rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--navy) 6%, transparent), transparent); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .7rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: var(--muted); }

/* Sections */
section { padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.8rem; }
.section-head p { margin: 0; }
.alt { background: color-mix(in srgb, var(--navy) 5%, var(--paper)); }
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 1px 0 rgba(0,0,0,.02); container-type: inline-size; }
.card h3 { margin-bottom: .35rem; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--thread) 12%, transparent); color: var(--thread); margin-bottom: .9rem; }
.card .icon svg { width: 26px; height: 26px; }
.card.stitched { border: 2px dashed color-mix(in srgb, var(--thread) 40%, var(--line)); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .3rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Scroll-driven reveal (progressive enhancement) */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* Carousel */
.carousel { position: relative; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; }
.slides::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; min-height: 250px; padding: clamp(1.6rem, 4vw, 3rem); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
.slide h3 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); margin-bottom: .4rem; }
.slide p { max-width: 52ch; opacity: .92; }
.slide .big { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; line-height: .9; opacity: .95; text-align: right; }
.slide .big small { display: block; font-size: .25em; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-body); }
.slide::after { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(255,255,255,.28); border-radius: 12px; pointer-events: none; }
.slide .btn { --bg: #fff; --fg: #1b2130; }
.slide .btn:hover { --fg: #1b2130; }
.s-navy { background: linear-gradient(120deg, #1f3a5f, #2e5b8c); }
.s-thread { background: linear-gradient(120deg, #8e1f28, #c23a44); }
.s-ink { background: linear-gradient(120deg, #1b2130, #34405a); }
.s-gold { background: linear-gradient(120deg, #7a5517, #c9973a); }
.s-green { background: linear-gradient(120deg, #1e5236, #2f7d4f); }
.carousel-ui { display: flex; justify-content: center; align-items: center; gap: .6rem; margin-top: .9rem; }
.dots { display: flex; gap: .4rem; }
.dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: width .2s, background .2s; }
.dots button[aria-current="true"] { width: 28px; background: var(--thread); }
.carousel-ui .icon-btn { width: 36px; height: 36px; }
@media (max-width: 640px) { .slide { grid-template-columns: 1fr; } .slide .big { text-align: left; } }

/* Feature tiles */
.tile { position: relative; border-radius: 18px; overflow: hidden; min-height: 260px; display: flex; align-items: end; padding: 1.6rem; color: #fff; text-decoration: none; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform .5s ease; }
.tile:hover::before { transform: scale(1.04); }
.tile.t1::before { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 40%), linear-gradient(135deg, #1f3a5f, #0f1d31); }
.tile.t2::before { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 40%), linear-gradient(135deg, #b3303a, #5d1419); }
.tile svg.tile-art { position: absolute; right: 1rem; top: 1rem; width: 46%; max-width: 220px; opacity: .9; z-index: -1; color: rgba(255,255,255,.85); }
.tile h3 { font-size: 1.7rem; margin-bottom: .3rem; }
.tile p { margin: 0 0 .8rem; opacity: .9; max-width: 34ch; }
.tile .link-arrow { color: #fff; }

/* Authorized band */
.auth-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.auth { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.auth .seal { width: 58px; height: 58px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .78rem; text-align: center; line-height: 1.05; color: #fff; background: var(--navy); border: 3px double rgba(255,255,255,.6); outline: 2px dashed color-mix(in srgb, var(--navy) 50%, transparent); outline-offset: 3px; }
.auth .seal.red { background: var(--thread); outline-color: color-mix(in srgb, var(--thread) 50%, transparent); }
.auth .seal.gold { background: var(--gold); outline-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.auth h3 { font-size: 1.05rem; margin: 0; }
.auth p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Brand cards */
.brand-card { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--thread); color: var(--ink); }
.wordmark { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.brand-card .kind { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .25rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--thread) 12%, transparent); color: var(--thread); width: fit-content; }
.badge.blue { background: color-mix(in srgb, var(--navy) 12%, transparent); color: var(--navy); }
.badge.green { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.badge.gray { background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted); }

/* Products */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.8rem; align-items: start; }
.filters { position: sticky; top: 150px; display: grid; gap: 1.2rem; }
.filters fieldset { border: 0; padding: 0; margin: 0; }
.filters legend { font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.filters label { display: flex; gap: .55rem; align-items: center; padding: .25rem 0; cursor: pointer; font-size: .95rem; }
.filters label .n { margin-left: auto; color: var(--muted); font-size: .8rem; }
.filters input[type=checkbox], .filters input[type=radio] { accent-color: var(--thread); width: 17px; height: 17px; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-bottom: 1.2rem; }
.shop-toolbar .count { margin-right: auto; color: var(--muted); font-size: .95rem; }
.input, select.input, textarea.input { width: 100%; font: inherit; font-size: 1rem; padding: .72rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
.input:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: transparent; }
.shop-toolbar .input { width: auto; }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
  .filters.open { display: grid; }
  .filter-toggle { display: inline-flex; }
}
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); gap: 1.1rem; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; position: relative; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: color-mix(in srgb, var(--thread) 40%, var(--line)); }
.product[hidden] { display: none; }
.p-media { aspect-ratio: 4 / 3; background: linear-gradient(160deg, color-mix(in srgb, var(--navy) 7%, var(--card)), color-mix(in srgb, var(--thread) 5%, var(--card))); display: grid; place-items: center; position: relative; border-bottom: 1px dashed var(--line); }
.p-media svg { width: 58%; height: 70%; color: var(--navy); opacity: .82; }
.p-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.p-media .badge { position: absolute; top: .7rem; left: .7rem; background: var(--card); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.p-media .off { position: absolute; top: .7rem; right: .7rem; background: var(--thread); color: #fff; font-weight: 800; font-size: .78rem; padding: .25rem .5rem; border-radius: 8px; }
.fav { position: absolute; bottom: .6rem; right: .6rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.fav svg { width: 18px; height: 18px; }
.fav[aria-pressed="true"] { color: var(--thread); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.p-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.p-brand { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-name { font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.3; margin: 0; }
.p-name button { all: unset; cursor: pointer; }
.p-name button:hover { color: var(--thread); }
.p-name button:focus-visible { outline: 3px solid var(--gold); }
.price { display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; margin-top: auto; padding-top: .4rem; }
.price .now { font-weight: 800; font-size: 1.15rem; }
.price .was { text-decoration: line-through; color: var(--muted); font-size: .9rem; }
.price .call { font-weight: 700; color: var(--navy); }
.price .now.sale { color: var(--thread); }
.p-actions { display: flex; gap: .4rem; margin-top: .6rem; }
.p-actions .btn { flex: 1; }
.empty { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: 16px; color: var(--muted); }

/* Dialogs */
dialog { border: 0; padding: 0; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); width: min(720px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); }
dialog::backdrop { background: rgba(15,20,30,.55); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .2s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); z-index: 1; }
.dlg-head h2 { font-size: 1.3rem; margin: 0; }
.dlg-body { padding: 1.3rem; }
.qv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.qv .p-media { border-radius: 14px; border: 1px solid var(--line); }
@media (max-width: 600px) { .qv { grid-template-columns: 1fr; } }

/* Command palette */
#palette { width: min(640px, calc(100% - 2rem)); margin-top: 10vh; }
.pal-input { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.pal-input svg { width: 20px; height: 20px; color: var(--muted); }
.pal-input input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1.1rem; color: var(--ink); outline: none; }
.pal-list { list-style: none; margin: 0; padding: .4rem; max-height: 55vh; overflow: auto; }
.pal-list .grp { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: .7rem .7rem .3rem; }
.pal-list a { display: flex; gap: .7rem; align-items: center; padding: .6rem .7rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.pal-list a small { margin-left: auto; color: var(--muted); }
.pal-list a[aria-selected="true"] { background: color-mix(in srgb, var(--navy) 10%, transparent); color: var(--navy); }
.pal-foot { display: flex; gap: 1rem; padding: .6rem 1rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }

/* Cart drawer */
#cart { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; border-radius: 18px 0 0 18px; width: min(440px, 100%); }
#cart[open] { animation: slidein .25s ease; display: flex; flex-direction: column; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.cart-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: .3rem .8rem; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; }
.cart-item .ci-name { font-weight: 700; font-size: .95rem; }
.qty { display: inline-flex; align-items: center; align-self: center; height: 34px; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; color: var(--ink); font-size: 1.1rem; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; padding: .8rem 0; border-top: 1px dashed var(--line); margin-top: 1rem; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .93rem; }
.form .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }
.form-status { padding: .8rem 1rem; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.form-status.err { display: block; background: color-mix(in srgb, var(--thread) 14%, transparent); color: var(--thread); }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; background: var(--card); }
.choice input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); }
.subscribe { display: flex; gap: .5rem; flex-wrap: wrap; }
.subscribe .input { flex: 1; min-width: 200px; }

/* Finder quiz */
.finder { background: var(--card); border: 2px dashed color-mix(in srgb, var(--thread) 40%, var(--line)); border-radius: 20px; padding: clamp(1.3rem, 4vw, 2.4rem); }
.finder-steps { display: flex; gap: .4rem; margin-bottom: 1.2rem; }
.finder-steps i { height: 5px; flex: 1; border-radius: 4px; background: var(--line); }
.finder-steps i.on { background: var(--thread); }
.finder .opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .7rem; margin-top: 1rem; }
.finder .opt { text-align: left; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, transform .15s; }
.finder .opt:hover { border-color: var(--thread); transform: translateY(-2px); }
.finder .opt strong { display: block; margin-bottom: .2rem; }
.finder .opt span { color: var(--muted); font-size: .9rem; }

/* Hours */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--thread); font-weight: 800; }
.map { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: 16px; filter: saturate(.9); }
:root[data-theme="dark"] .map { filter: invert(.9) hue-rotate(180deg) saturate(.7); }

/* Info strip */
.strip { background: #1b2130; color: #f1ece3; padding: 1.4rem 0; }
.strip .container { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.strip strong { font-family: var(--font-display); font-size: 1.3rem; }
.strip .btn { --bg: var(--thread); }

/* Table */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); }
table.data th { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* Footer */
.site-footer { background: #141925; color: #cfd5e1; padding: 3.2rem 0 1.4rem; margin-top: 2rem; }
.site-footer a { color: #e9edf5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8f99ad; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-brand { display: flex; gap: .7rem; align-items: center; margin-bottom: 1rem; }
.footer-brand svg { width: 48px; height: 48px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.footer-bottom { border-top: 1px solid #2a3142; margin-top: 2.4rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: #8f99ad; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%) translateY(140%); background: #1b2130; color: #fff; padding: .8rem 1.1rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.3); z-index: 200; font-weight: 600; transition: transform .25s ease, opacity .25s; opacity: 0; visibility: hidden; display: flex; gap: .8rem; align-items: center; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
.toast a { color: #ffd9a0; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); view-transition-name: mobile-bar; }
  .mobile-bar a, .mobile-bar button { display: grid; justify-items: center; gap: .1rem; padding: .5rem 0 .55rem; font-size: .72rem; font-weight: 700; color: var(--ink); text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .primary { color: var(--thread); }
  body { padding-bottom: 64px; }
  .toast { bottom: 76px; }
}

/* Misc */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .9rem; font-weight: 600; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .6rem; align-items: start; }
.check-list li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: .2rem; border-radius: 50%; background: color-mix(in srgb, var(--ok) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.install-banner { display: none; }
.install-banner.show { display: flex; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); border-radius: 0 12px 12px 0; }

/* ---------- Photography ---------- */
.hero-photo { position: relative; width: 100%; max-width: 520px; justify-self: center; aspect-ratio: 640 / 760; }
.hero-photo figure { margin: 0; position: absolute; overflow: hidden; border-radius: 22px; box-shadow: 0 20px 50px rgba(27,33,48,.22); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hp-main { inset: 0 0 0 8%; }
.hp-main::after { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(255,255,255,.55); border-radius: 14px; pointer-events: none; }
.hp-small { width: 44%; aspect-ratio: 360 / 300; left: -4%; bottom: -6%; border: 6px solid var(--paper); }
.hero-photo .hero-badge { z-index: 2; }
.hero-photo .b1 { left: auto; right: -4%; bottom: 24%; }
.hero-photo .b2 { right: auto; left: -2%; top: 8%; }
@media (max-width: 860px) { .hero-photo { max-width: 420px; margin-top: 1rem; } }
@media (max-width: 480px) { .hero-photo .b1 { right: 0; } .hero-photo .b2 { left: 0; } }

.page-hero.has-photo { padding: 1.8rem 0; }
.ph-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.ph-photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow); position: relative; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-photo::after { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255,255,255,.5); border-radius: 13px; pointer-events: none; }
@media (max-width: 860px) { .ph-grid { grid-template-columns: 1fr; gap: 1.2rem; } .page-hero .ph-photo { aspect-ratio: 16 / 9; } }

.brand-card.has-img { padding-top: 0; overflow: hidden; }
.bc-img { margin: 0 -1.4rem .6rem; aspect-ratio: 600 / 340; overflow: hidden; border-bottom: 1px dashed var(--line); }
.bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.brand-card:hover .bc-img img { transform: scale(1.05); }

.tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.tile:hover .tile-bg { transform: scale(1.05); }
.tile::before { z-index: -1 !important; }
.tile.t1::before { background: linear-gradient(180deg, rgba(15,29,49,.1) 20%, rgba(15,29,49,.88)) !important; }
.tile.t2::before { background: linear-gradient(180deg, rgba(93,20,25,.1) 20%, rgba(93,20,25,.9)) !important; }
.tile:hover::before { transform: none; }
.tile { min-height: 320px; }

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; } }
.cat-tile { position: relative; display: block; aspect-ratio: 520 / 640; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(20,25,37,.88)); }
.cat-tile::after { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(255,255,255,0); border-radius: 11px; transition: border-color .3s; }
.cat-tile:hover::after { border-color: rgba(255,255,255,.6); }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile span { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; display: grid; gap: .1rem; }
.cat-tile strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.15; }
.cat-tile small { font-size: .78rem; opacity: .85; }
.cat-tile:hover { color: #fff; }

/* ---------- Real product imagery ---------- */
.p-media { background: #fff; }
.p-media img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: transform .35s ease; }
.product:hover .p-media img { transform: scale(1.04); }
.p-name a { color: inherit; text-decoration: none; }
.p-name a:hover { color: var(--thread); }
.p-name a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.product .p-actions, .product .fav, .product .qv-btn, .product .p-media .badge, .product .off { position: relative; z-index: 2; }
.product .p-media .badge, .product .off { position: absolute; }
.product .fav { position: absolute; }
.qv-btn { position: absolute !important; left: 50%; bottom: .7rem; transform: translate(-50%, 8px); opacity: 0; transition: .2s; background: #1b2130; color: #fff; border: 0; border-radius: 999px; padding: .45rem .9rem; font: 700 .8rem var(--font-body); cursor: pointer; }
.product:hover .qv-btn, .qv-btn:focus-visible { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .qv-btn { display: none; } }
.qv .p-media { aspect-ratio: 1; }

/* Hero composition */
.hero-art { aspect-ratio: 1 / 1; }
.hero-art .disc { inset: 4%; background: radial-gradient(circle at 50% 40%, #fff, #f4efe6 70%); }
:root[data-theme="dark"] .hero-art .disc { background: radial-gradient(circle at 50% 40%, #fff, #e9e4da 70%); }
.hero-thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-prod { position: absolute; display: block; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 14px 40px rgba(27,33,48,.18); transition: transform .3s ease; }
.hero-prod:hover { transform: translateY(-4px) scale(1.02); }
.hero-prod img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.hp-1 { width: 62%; aspect-ratio: 1; left: 19%; top: 15%; border: 3px dashed color-mix(in srgb, var(--thread) 45%, #fff); box-shadow: none; background: transparent; }
.hp-1 img { padding: 6%; mix-blend-mode: multiply; }
.hp-2 { width: 33%; aspect-ratio: 1; right: 0; bottom: 6%; border: 5px solid var(--paper); }
.hp-3 { width: 26%; aspect-ratio: 1; left: 2%; bottom: 14%; border: 5px solid var(--paper); }
.hero-art .b1 { left: auto; right: -2%; top: 10%; bottom: auto; }
.hero-art .b2 { left: -3%; top: 16%; right: auto; }
@media (max-width: 480px) { .hero-art .b1 { right: 0; top: 2%; } .hero-art .b2 { left: 0; top: auto; bottom: 0; } }

/* Page-hero product showcase & illustrations */
.ph-show { margin: 0; position: relative; aspect-ratio: 5 / 4; background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 2px dashed color-mix(in srgb, var(--thread) 35%, var(--line)); }
.ph-show .sc-main { position: absolute; inset: 6% 18% 6% 6%; width: 76%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.ph-show .sc-sm { position: absolute; width: 30%; aspect-ratio: 1; right: -4%; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(27,33,48,.16); border: 5px solid var(--paper); overflow: hidden; }
.ph-show .sc-sm img { width: 100%; height: 100%; object-fit: contain; padding: 14%; }
.ph-show .sc-0 { top: 6%; }
.ph-show .sc-1 { bottom: 6%; right: 10%; width: 25%; }
.ph-illus { margin: 0; aspect-ratio: 4 / 3; border-radius: 22px; background: var(--card); border: 2px dashed color-mix(in srgb, var(--thread) 35%, var(--line)); display: grid; place-items: center; padding: 6%; }
.ph-illus svg { width: 100%; height: 100%; }
@media (max-width: 860px) { .page-hero .ph-show { max-width: 460px; width: 92%; } .page-hero .ph-illus { display: none; } }

/* Brand cards with product image */
.bc-img { background: #fff; }
.bc-img img { object-fit: contain !important; padding: 6%; mix-blend-mode: multiply; }

/* Category tiles (product cut-outs) */
.cat-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-tile { aspect-ratio: auto; display: flex; flex-direction: column; color: var(--ink); background: var(--card); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat-tile::before, .cat-tile::after { display: none; }
.cat-tile:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--thread); }
.cat-tile .ct-img { position: relative; display: block; aspect-ratio: 6 / 5; background: #fff; border-bottom: 1px dashed var(--line); overflow: hidden; }
.cat-tile .ct-img::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 10%; border-radius: 50%; background: var(--tone); opacity: .14; }
.cat-tile img { position: relative; inset: auto; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.cat-tile .ct-txt { position: static; padding: .8rem 1rem 1rem; display: grid; gap: .15rem; }
.cat-tile strong { font-size: 1.1rem; }
.cat-tile small { opacity: 1; color: var(--muted); }
.t-navy { --tone: #1f3a5f; } .t-thread { --tone: #b3303a; } .t-gold { --tone: #c9973a; } .t-green { --tone: #2f7d4f; }

/* Feature tile product bubble */
.tile-prod { position: absolute; right: 1.2rem; top: 1.2rem; width: 42%; max-width: 210px; aspect-ratio: 1; border-radius: 50%; background: #fff; z-index: -1; box-shadow: 0 10px 30px rgba(0,0,0,.25); border: 3px dashed rgba(255,255,255,.6); overflow: hidden; }
.tile-prod img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.tile .tile-art { width: 42%; }

/* Product detail page */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.pdp-media { position: sticky; top: 140px; background: #fff; border: 1px solid var(--line); border-radius: 22px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.pdp-media img { width: 100%; height: 100%; object-fit: contain; padding: 7%; }
.pdp-media svg { width: 60%; color: var(--navy); }
.pdp-tag { position: absolute; top: 1rem; left: 1rem; }
.pdp-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: .2rem 0 .6rem; }
.price.big .now { font-size: 2rem; } .price.big .was { font-size: 1.1rem; } .price.big .call { font-size: 1.3rem; }
.saving { color: var(--thread); font-weight: 700; margin: .2rem 0 .6rem; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1rem 0; }
.fav.static { position: static; width: 46px; height: 46px; }
.pdp-perks { list-style: none; padding: 1rem 0; margin: 0 0 1rem; display: grid; gap: .5rem; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); font-size: .95rem; }
.pdp-perks li { display: flex; gap: .6rem; align-items: center; }
.pdp-perks svg { width: 20px; height: 20px; color: var(--thread); flex: none; }
.pdp-desc { max-width: 65ch; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .pdp-media { position: static; } }
@media (max-width: 700px) { .page-hero .ph-show { max-width: 240px; margin: .4rem auto 0; aspect-ratio: 1; } .page-hero.has-photo { padding-bottom: 1.2rem; } }

/* =====================================================================
   SLEEK THEME — graphite + white, one crimson accent, modern sans type.
   (Overrides the earlier rules above.)
   ===================================================================== */
:root {
  --ink: #0e1116; --navy: #0e1116; --navy-2: #2a2f38;
  --thread: #e8283f; --thread-2: #ff4d61; --gold: #8a93a3;
  --paper: #ffffff; --card: #ffffff; --line: #e8eaee; --muted: #626b79; --ok: #16a34a;
  --alt-bg: #f6f7f9;
  --shadow: 0 1px 2px rgba(14,17,22,.04), 0 12px 32px -12px rgba(14,17,22,.16);
  --radius: 16px;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
:root[data-theme="dark"] { --ink: #eef0f3; --navy: #eef0f3; --navy-2: #c9ced6; --thread: #ff4257; --paper: #0c0e12; --card: #14171d; --line: #242833; --muted: #9aa3b2; --alt-bg: #101318; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #eef0f3; --navy: #eef0f3; --navy-2: #c9ced6; --thread: #ff4257; --paper: #0c0e12; --card: #14171d; --line: #242833; --muted: #9aa3b2; --alt-bg: #101318; } }

body { font-size: 1rem; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.035em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.08; }
h3 { letter-spacing: -.02em; }
.lead { font-size: 1.12rem; }
a { color: var(--ink); }
a:hover { color: var(--thread); }
.eyebrow { font-size: .74rem; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--thread); }
.stitch { background: var(--line); opacity: 1; height: 1px; }
.alt { background: var(--alt-bg); }

/* Buttons */
.btn { --bg: var(--ink); --fg: var(--paper); border-radius: 12px; font-weight: 600; padding: .8rem 1.25rem; letter-spacing: -.01em; }
.btn:hover { --fg: var(--paper); box-shadow: 0 8px 20px -8px rgba(14,17,22,.45); }
.btn-thread { --bg: var(--thread); --fg: #fff; }
.btn-thread:hover { --fg: #fff; box-shadow: 0 8px 20px -8px rgba(232,40,63,.6); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { border-radius: 10px; padding: .55rem .9rem; }
:root[data-theme="dark"] .btn:not(.btn-ghost):not(.btn-thread) { --bg: #eef0f3; --fg: #0c0e12; }
:root[data-theme="dark"] .btn-thread { --bg: var(--thread); --fg: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.btn-ghost):not(.btn-thread) { --bg: #eef0f3; --fg: #0c0e12; } :root:not([data-theme="light"]) .btn-thread { --bg: var(--thread); --fg: #fff; } }

/* Top bar + header */
.topbar { background: #0b0d11; color: #c7ccd4; font-size: .82rem; }
.topbar a { color: #c7ccd4; }
.site-header { background: color-mix(in srgb, var(--paper) 82%, transparent); border-bottom: 1px solid var(--line); }
.brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; }
.brand-tag { font-style: normal; }
.primary-nav { border-top: 0; }
.primary-nav a, .primary-nav .sub-toggle { font-weight: 500; font-size: .9rem; color: var(--muted); }
.primary-nav a:hover, .primary-nav .sub-toggle:hover, .primary-nav a[aria-current="page"] { color: var(--ink); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
.primary-nav .sub { border-radius: 14px; }
.search-trigger { border-radius: 12px; background: var(--alt-bg); border-color: transparent; }
.icon-btn { border-color: var(--line); }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }

/* Hero — dark showroom */
.hero { background: #0b0d11; color: #fff; }
.hero::before { background: radial-gradient(40rem 26rem at 78% 30%, rgba(232,40,63,.22), transparent 60%), radial-gradient(30rem 20rem at 10% 100%, rgba(255,255,255,.06), transparent 60%); }
.hero h1 em { font-style: normal; color: #ff4d61; }
.hero .lead { color: #aab1bd; }
.hero .eyebrow { color: #aab1bd; }
.hero .btn:not(.btn-thread):not(.btn-ghost) { --bg: #fff; --fg: #0b0d11; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero .trust-row { color: #aab1bd; }
.hero .trust-row svg { color: #4ade80; }
.hero-art .disc { inset: 6%; border: 0; background: radial-gradient(circle at 50% 42%, #ffffff 0, #eef0f3 62%, #d9dde3 100%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
:root[data-theme="dark"] .hero-art .disc { background: radial-gradient(circle at 50% 42%, #ffffff 0, #eef0f3 62%, #d9dde3 100%); }
.hp-1 { border: 0; }
.hp-2, .hp-3 { border: 4px solid #0b0d11; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); }
.hero-thread { opacity: .55; }
.hero-badge { border-radius: 14px; border-color: rgba(14,17,22,.06); color: #0e1116; background: #fff; }
.hero-badge small { color: #626b79; }
.hero-badge svg { color: #e8283f; }

/* Page hero */
.page-hero { background: var(--alt-bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.ph-show, .ph-illus { border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.ph-show .sc-sm { border: 4px solid var(--alt-bg); }

/* Cards */
.card { border-radius: var(--radius); border-color: var(--line); }
.card.stitched { border: 1px solid var(--line); background: linear-gradient(180deg, var(--card), var(--alt-bg)); }
.card .icon { background: var(--alt-bg); color: var(--ink); border-radius: 12px; }
.brand-card:hover, .cat-tile:hover, .product:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.wordmark { color: var(--ink); letter-spacing: -.04em; font-weight: 800; }
.badge { background: color-mix(in srgb, var(--thread) 10%, transparent); color: var(--thread); font-weight: 700; letter-spacing: .04em; border-radius: 8px; }
.badge.blue { background: var(--alt-bg); color: var(--ink); border: 1px solid var(--line); }
.badge.green { background: rgba(22,163,74,.1); color: var(--ok); }
.badge.gray { background: var(--alt-bg); color: var(--muted); }
.link-arrow { color: var(--ink); }

/* Authorized seals */
.auth { border-radius: var(--radius); }
.auth .seal, .auth .seal.red, .auth .seal.gold { background: var(--ink); color: var(--paper); border: 0; outline: 0; box-shadow: inset 0 0 0 2px var(--paper), 0 0 0 2px var(--ink); font-family: var(--font-display); }
.auth .seal.red { background: var(--thread); color: #fff; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--thread); }

/* Carousel — unified dark slides */
.slides { border-radius: 20px; }
.slide { background: #0b0d11 !important; }
.slide::before { content: ""; position: absolute; inset: 0; background: radial-gradient(36rem 20rem at 92% 50%, rgba(232,40,63,.28), transparent 60%); pointer-events: none; }
.slide::after { display: none; }
.slide > * { position: relative; }
.slide .eyebrow { color: #aab1bd !important; }
.slide p { color: #aab1bd; opacity: 1; }
.slide .big { font-family: var(--font-display); letter-spacing: -.05em; color: #fff; }
.slide .big small { color: #ff4d61; letter-spacing: .08em; }
.slide .btn { --bg: #fff; --fg: #0b0d11; }
.dots button { background: #d5d9df; }
.dots button[aria-current="true"] { background: var(--ink); }

/* Strips */
.strip { background: #0b0d11; }
.strip strong { font-family: var(--font-display); letter-spacing: -.03em; }
.sale-strip { background: linear-gradient(90deg, #0b0d11, #1a1d24); }
.sale-strip strong { font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; }
.sale-strip strong em { font-style: normal; color: #ff4d61; }

/* Feature tiles */
.tile { border-radius: 20px; }
.tile.t1::before { background: radial-gradient(28rem 18rem at 85% 20%, rgba(255,255,255,.08), transparent 60%), #14171d !important; }
.tile.t2::before { background: radial-gradient(28rem 18rem at 85% 20%, rgba(255,255,255,.14), transparent 60%), #e8283f !important; }
.tile-prod { border: 0; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); }

/* Category tiles — neutral */
.cat-tile { border-radius: 18px; }
.cat-tile .ct-img { background: var(--alt-bg); border-bottom: 1px solid var(--line); }
.cat-tile .ct-img::before { background: #fff; opacity: 1; box-shadow: 0 10px 30px -14px rgba(14,17,22,.25); }
:root[data-theme="dark"] .cat-tile .ct-img { background: #1b1f27; }
.cat-tile strong { font-family: var(--font-display); letter-spacing: -.02em; font-weight: 700; }

/* Products */
.product { border-radius: 16px; }
.p-media { border-bottom: 1px solid var(--line); }
.p-media .badge { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.p-media .off { background: var(--thread); border-radius: 8px; }
.p-brand { letter-spacing: .1em; font-weight: 600; }
.p-name { font-weight: 600; letter-spacing: -.01em; }
.price .now { font-family: var(--font-display); letter-spacing: -.02em; }
.price .call { color: var(--ink); }
.qv-btn { border-radius: 10px; }
.fav[aria-pressed="true"] { color: var(--thread); }

/* Finder, forms, filters */
.finder { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, var(--card), var(--alt-bg)); }
.finder .opt { border-radius: 14px; background: var(--card); }
.finder .opt:hover { border-color: var(--ink); }
.finder-steps i.on { background: var(--ink); }
.input, select.input, textarea.input { border-radius: 12px; background: var(--card); }
.input:focus { outline: 2px solid var(--ink); }
.choice span { border-radius: 10px; }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters input[type=checkbox], .filters input[type=radio] { accent-color: var(--ink); }
.notice { border-left-color: var(--thread); background: var(--alt-bg); }
.check-list li::before { background-color: rgba(22,163,74,.12); }
.hours tr.today td { color: var(--ink); }
.hours tr.today td:first-child::before { content: "● "; color: var(--thread); }
.cart-count { background: var(--thread); }
.pdp-media, .ph-show { border-color: var(--line); }
.pdp-perks svg { color: var(--ink); }
.saving { color: var(--thread); }

/* Footer */
.site-footer { background: #0b0d11; }
.site-footer h4 { color: #6f7785; font-weight: 600; }
.footer-bottom { border-top-color: #1d2129; }
.footer-brand strong { letter-spacing: -.02em; }
.toast { background: #0b0d11; border-radius: 12px; }

/* Mobile action bar */
.mobile-bar .primary { color: var(--thread); }
.cat-tile span.ct-img, .cat-tile span.ct-txt { position: relative; left: auto; right: auto; bottom: auto; }

/* ---------- Simplified layout ---------- */
.section-head { align-items: center; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; }
.hero { padding: clamp(3rem, 7vw, 6rem) 0; }
.hero .cta-row { margin-bottom: 0; }
.hero-art .disc { inset: 4%; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.perks > div { padding: 1.4rem 1.5rem; display: grid; gap: .25rem; }
.perks > div + div { border-left: 1px solid var(--line); }
.perks strong { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -.02em; }
.perks span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } .perks > div:nth-child(3) { border-left: 0; } .perks > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } .perks > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.site-footer { margin-top: 0; }

/* =====================================================================
   CALM LAYER — fewer effects, one-row header, follows device light/dark.
   ===================================================================== */
.reveal { animation: none !important; }
body { padding-bottom: 0 !important; }
.mobile-bar, .topbar { display: none !important; }

/* Header: logo · nav · actions on one row */
.site-header { background: color-mix(in srgb, var(--paper) 88%, transparent); }
.header-row { padding: .75rem 0; gap: 1.5rem; }
.brand { margin-right: 0; }
.brand svg { width: 40px; height: 40px; }
.brand-name { font-size: 1.02rem; white-space: nowrap; }
.primary-nav { display: block; margin-right: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.primary-nav a { padding: .5rem .7rem; border-radius: 10px; font-size: .92rem; font-weight: 500; color: var(--muted); }
.primary-nav a:hover { color: var(--ink); background: var(--alt-bg); }
.primary-nav a[aria-current="page"] { color: var(--ink); box-shadow: none; background: var(--alt-bg); }
.header-actions { gap: .4rem; }
.icon-btn { width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); border-radius: 10px; }
.icon-btn:hover { background: var(--alt-bg); color: var(--ink); }
.call-btn { gap: .45rem; }
.call-btn svg { width: 16px; height: 16px; }
.ti { display: none; } .ti svg { width: 20px; height: 20px; }
:root[data-mode="system"] .ti-system, :root[data-mode="light"] .ti-light, :root[data-mode="dark"] .ti-dark, :root:not([data-mode]) .ti-system { display: inline-grid; }
.nav-toggle { display: none; }
@media (max-width: 1080px) {
  .call-btn span { display: none; }
  .call-btn { width: 40px; height: 40px; padding: 0; }
}
@media (max-width: 940px) {
  .header-row { flex-wrap: wrap; gap: .5rem; }
  .brand { margin-right: auto; }
  .nav-toggle { display: inline-grid; }
  .primary-nav { display: none; order: 3; width: 100%; margin: 0; border: 0; max-height: none; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; padding: .4rem 0 .6rem; }
  .primary-nav a { display: block; padding: .75rem .6rem; font-size: 1rem; }
}
@media (max-width: 420px) { .brand-name { font-size: .92rem; white-space: normal; } }

/* Hero follows the theme (light on light devices, dark on dark) */
.hero { background: var(--alt-bg); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero::before { display: none; }
.hero .lead, .hero .eyebrow { color: var(--muted); }
.hero h1 em { color: var(--thread); }
.hero .btn-ghost { color: var(--ink); border-color: var(--line); background: var(--card); }
.hero .btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.hero-art .disc, :root[data-theme="dark"] .hero-art .disc { background: #fff; box-shadow: 0 30px 60px -30px rgba(14,17,22,.25); border: 1px solid var(--line); }
.hp-2, .hp-3 { border: 4px solid var(--alt-bg); box-shadow: 0 12px 30px -14px rgba(14,17,22,.35); }
@media (max-width: 860px) { .hero-art { max-width: 300px; } }

/* Plain page headers */
.page-hero { padding: 2.4rem 0 2rem; }
.page-hero .lead { margin-bottom: 0; }

/* Calm product cards */
.product { border-radius: 14px; box-shadow: none; transition: border-color .2s; position: relative; }
.product:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.product:hover .p-media img { transform: none; }
.p-media { aspect-ratio: 1; }
.p-body { padding: .9rem 1rem 1rem; gap: .2rem; }
.p-brand { font-size: .7rem; }
.p-name { font-size: .95rem; font-weight: 500; }
.price { padding-top: .3rem; }
.price .now { font-size: 1.05rem; font-weight: 600; }
.price .now.sale { color: var(--thread); }
.p-note { font-size: .8rem; color: var(--muted); }

/* Cards & tiles: no lift effects */
.brand-card:hover, .cat-tile:hover { transform: none; box-shadow: none; }
.cat-tile .ct-img::before { display: none; }
.cat-tile .ct-img { background: #fff; }
.bc-img img, .brand-card:hover .bc-img img { transform: none; }

/* Footer follows the theme */
.site-footer { background: var(--alt-bg); color: var(--ink); border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--thread); text-decoration: none; }
.site-footer h4 { color: var(--muted); font-size: .74rem; margin-bottom: .6rem; }
.site-footer p { margin: 0; line-height: 1.7; }
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer-brand { display: flex; gap: .6rem; align-items: center; margin-bottom: .6rem; }
.footer-brand svg { width: 36px; height: 36px; }
.footer-brand strong { color: var(--ink); font-size: 1rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; color: var(--muted); }
.footer-bottom a { color: var(--muted) !important; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.install-banner { display: none; } .install-banner.show { display: inline; }
.subscribe .input { min-width: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
/* dark-mode fixes */
:root[data-theme="dark"] .btn.btn-thread { --bg: var(--thread); --fg: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.btn-thread { --bg: var(--thread); --fg: #fff; } }
.brand svg, .footer-brand svg { border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
:root { --img-bg: #ffffff; }
:root[data-theme="dark"] { --img-bg: #eceef1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --img-bg: #eceef1; } }
.p-media, .cat-tile .ct-img, .bc-img, .pdp-media, .hero-art .disc, .hero-prod { background: var(--img-bg) !important; }
@media (max-width: 940px) {
  .header-row { flex-wrap: wrap; row-gap: 0; }
  .header-actions { gap: .15rem; }
  .icon-btn, .call-btn { width: 38px; height: 38px; }
}
@media (max-width: 520px) {
  .brand { gap: .5rem; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { white-space: normal; font-size: .9rem; line-height: 1.15; max-width: 118px; }
}
@media (max-width: 400px) { .header-actions [data-open-palette] { display: none; } }
