:root {
  --color-espresso: #171310;
  --color-brown: #34241b;
  --color-terracotta: #a45432;
  --color-copper: #bc744c;
  --color-cream: #f4f0e8;
  --color-tan: #c9ae8c;
  --color-ink: #11100e;
  --color-white: #fff;
  --color-line: rgba(23, 19, 16, .18);
  --max-width: 1600px;
  --header-height: 116px;
  --pad: clamp(20px, 3.2vw, 56px);
  --display: "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--color-ink); background: var(--color-cream); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
body.menu-open, body.modal-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: #fff; padding: 12px 18px; }
.skip-link:focus { top: 16px; }
.eyebrow { display: block; margin-bottom: 16px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.section-title { margin: 0; font-family: var(--display); font-size: clamp(2.7rem, 6vw, 6.8rem); font-weight: 400; line-height: .9; letter-spacing: -.04em; text-transform: uppercase; }
.arrow-link { display: inline-flex; align-items: center; gap: 22px; border-bottom: 1px solid currentColor; padding: 0 0 7px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.arrow-link span { transition: transform .25s ease; }
.arrow-link:hover span { transform: translateX(6px); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border: 1px solid currentColor; padding: 0 26px; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; transition: .25s; }
.button:hover, .button:focus-visible { background: var(--color-cream); color: var(--color-ink); }
.button--dark { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.button--dark:hover { background: var(--color-terracotta); border-color: var(--color-terracotta); color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }

.announcement { height: 30px; display: grid; place-items: center; background: var(--color-terracotta); color: white; font-size: .65rem; letter-spacing: .15em; text-align: center; }
.site-header { position: relative; z-index: 40; background: var(--color-espresso); color: white; }
.header-main { height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); }
.header-actions { display: flex; align-items: center; gap: 23px; }
.header-actions--right { justify-content: flex-end; }
.icon-button, .text-button { border: 0; background: transparent; padding: 8px 0; cursor: pointer; color: inherit; }
.icon-button { width: 28px; height: 28px; display: grid; place-items: center; }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.text-button { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.brand-logo { width: 174px; height: 72px; overflow: hidden; display: block; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cart-button { position: relative; }
.cart-count { position: absolute; top: -1px; right: -9px; display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--color-terracotta); color: white; font-size: .58rem; }
.secondary-nav { height: 48px; display: flex; align-items: center; justify-content: center; gap: clamp(26px, 4vw, 70px); border-top: 1px solid rgba(255,255,255,.15); }
.secondary-nav a { position: relative; font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.secondary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: white; transition: .25s; }
.secondary-nav a:hover::after, .secondary-nav a[aria-current="page"]::after { right: 0; }
.mobile-toggle { display: none; }

.hero-section { position: relative; min-height: calc(100svh - 30px); display: flex; align-items: flex-end; isolation: isolate; background: #1d1713; color: white; }
.hero-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,10,8,.88) 0%, rgba(14,10,8,.55) 38%, rgba(14,10,8,.05) 70%); }
.hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-content { width: min(860px, 75vw); padding: 11vh var(--pad) 9vh; }
.hero-title { margin: 0 0 24px; font-family: var(--display); font-size: clamp(3.2rem, 7.2vw, 8rem); line-height: .84; letter-spacing: -.05em; font-weight: 400; text-transform: uppercase; }
.hero-copy { max-width: 520px; margin: 0 0 30px; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 42px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }

.feature-panels { display: grid; grid-template-columns: 1fr 1fr; background: #111; }
.feature-panel { position: relative; min-height: 78vh; overflow: hidden; color: white; }
.feature-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,10,8,.8), transparent 58%); }
.feature-panel img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .8s ease; }
.feature-panel:hover img { transform: scale(1.025); }
.feature-panel-content { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 7vh; }
.feature-panel h2 { max-width: 570px; margin: 0 0 24px; font-family: var(--display); font-size: clamp(2.8rem, 5vw, 5.7rem); line-height: .88; font-weight: 400; letter-spacing: -.04em; }

.category-section, .products-section, .trade-section { padding: clamp(82px, 10vw, 160px) var(--pad); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(42px, 6vw, 84px); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--color-line); border-left: 1px solid var(--color-line); }
.category-card { border-right: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); min-width: 0; }
.category-image { aspect-ratio: 4/5; overflow: hidden; background: #d4c3ae; }
.category-image img { height: 100%; object-fit: cover; transition: transform .55s ease; }
.category-card:hover .category-image img { transform: scale(1.035); }
.category-meta { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 25px; }
.category-meta h3 { margin: 0; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.category-meta span { opacity: 0; transform: translateX(-8px); transition: .25s; }
.category-card:hover .category-meta span { opacity: 1; transform: none; }

.brand-manifesto { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 86vh; background: var(--color-espresso); color: var(--color-cream); }
.manifesto-image { min-height: 600px; }
.manifesto-image img { height: 100%; object-fit: cover; }
.manifesto-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(52px, 8vw, 140px); }
.manifesto-copy h2 { margin: 0 0 35px; font-family: var(--display); font-size: clamp(3rem, 6vw, 7rem); font-weight: 400; line-height: .86; letter-spacing: -.045em; }
.manifesto-copy p { max-width: 610px; margin: 0 0 18px; font-size: clamp(1rem, 1.3vw, 1.2rem); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--color-line); border-top: 1px solid var(--color-line); }
.product-card { position: relative; border-right: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); background: #f7f4ee; }
.product-visual { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #e3ddd3; }
.product-visual img { height: 100%; object-fit: cover; transition: .5s; }
.product-card:hover .product-visual img { transform: scale(1.025); }
.product-swatch { position: absolute; inset: 22% 20%; border-radius: 50% 50% 44% 44%; background: var(--swatch, #8e6c4f); box-shadow: 0 30px 60px rgba(0,0,0,.18); transform: rotate(-8deg); }
.product-swatch::before, .product-swatch::after { content: ""; position: absolute; background: rgba(255,255,255,.2); }
.product-swatch::before { inset: 0 47%; }
.product-swatch::after { left: 0; right: 0; top: 24%; height: 2px; }
.product-info { min-height: 168px; padding: 20px 16px; }
.product-brand { display: block; margin-bottom: 5px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.product-name { margin: 0 0 8px; font-size: .86rem; font-weight: 600; }
.product-price { margin: 0; font-size: .82rem; }
.rating { margin-top: 7px; font-size: .64rem; letter-spacing: .1em; }
.quick-add { position: absolute; left: 15px; right: 15px; bottom: 15px; min-height: 42px; border: 0; background: var(--color-ink); color: white; cursor: pointer; opacity: 0; transform: translateY(8px); transition: .25s; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.product-card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add.is-added { opacity: 1; transform: none; background: var(--color-terracotta); }

.power-systems { padding: clamp(90px, 11vw, 175px) var(--pad); background: var(--color-brown); color: white; }
.system-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 60px; border: 1px solid rgba(255,255,255,.25); }
.system-card { min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-right: 1px solid rgba(255,255,255,.25); background: linear-gradient(150deg, rgba(255,255,255,.07), transparent 60%); transition: .3s; }
.system-card:last-child { border-right: 0; }
.system-card:hover { background: var(--color-terracotta); }
.system-number { font-family: var(--display); font-size: 7rem; line-height: 1; color: rgba(255,255,255,.13); }
.system-card h3 { margin: 0 0 6px; font-family: var(--display); font-size: 2.1rem; font-weight: 400; }
.system-card p { margin: 0; opacity: .72; font-size: .82rem; }

.trade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-line); border: 1px solid var(--color-line); }
.trade-card { min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; background: var(--color-cream); transition: .25s; }
.trade-card:hover { background: var(--color-tan); }
.trade-card .index { margin-bottom: auto; font-family: var(--display); font-size: 4rem; color: rgba(0,0,0,.18); }
.trade-card h3 { margin: 0; font-family: var(--display); font-size: clamp(2rem,3.2vw,3.6rem); font-weight: 400; line-height: 1; }
.trade-card p { margin: 12px 0 0; font-size: .82rem; }

.page-hero { min-height: 64vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--color-espresso); color: white; }
.page-hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(56px, 8vw, 120px) var(--pad); }
.page-hero h1 { margin: 0; max-width: 780px; font-family: var(--display); font-size: clamp(3.8rem, 7vw, 8rem); line-height: .84; font-weight: 400; letter-spacing: -.05em; }
.page-hero p { max-width: 520px; margin: 30px 0 0; }
.page-hero img { height: 100%; min-height: 520px; object-fit: cover; }
.shop-toolbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px var(--pad); border-bottom: 1px solid var(--color-line); background: rgba(244,240,232,.95); backdrop-filter: blur(12px); }
.shop-toolbar nav { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.shop-toolbar a { white-space: nowrap; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.filter-toggle { border: 0; background: transparent; cursor: pointer; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.filter-panel { max-height: 0; overflow: hidden; background: #e6ded1; transition: max-height .35s ease; }
.filter-panel.is-open { max-height: 270px; }
.filter-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; padding: 30px var(--pad); }
.filter-inner label { display: grid; gap: 8px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.filter-inner select { min-height: 42px; border: 0; border-bottom: 1px solid var(--color-ink); background: transparent; }
.collection { padding: clamp(60px,8vw,120px) var(--pad); }
.collection-intro { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.collection-intro h2 { margin: 0; font-family: var(--display); font-size: clamp(2.8rem,5vw,5rem); font-weight: 400; }
.collection-intro p { max-width: 520px; }
.collection .product-grid { grid-template-columns: repeat(4, 1fr); }
.editorial-strip { display: grid; grid-template-columns: 1fr 1fr; min-height: 72vh; }
.editorial-strip > * { min-height: 520px; }
.editorial-strip img { height: 100%; object-fit: cover; }
.editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px,8vw,130px); background: var(--color-tan); }
.editorial-copy h2 { margin: 0 0 28px; font-family: var(--display); font-size: clamp(3rem,6vw,6rem); font-weight: 400; line-height: .9; }

.site-footer { background: var(--color-espresso); color: var(--color-cream); padding: 72px var(--pad) 28px; }
.footer-top { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: clamp(30px,4vw,78px); }
.footer-brand .brand-logo { width: 260px; height: 198px; margin-top: -50px; }
.footer-brand p { max-width: 270px; margin: -35px 0 0; font-family: var(--display); font-size: 1.55rem; line-height: 1.1; }
.footer-group h2 { margin: 0 0 18px; font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-group a { display: block; margin: 9px 0; font-size: .78rem; opacity: .72; }
.footer-group a:hover { opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: .63rem; letter-spacing: .09em; text-transform: uppercase; }

.mobile-drawer, .search-overlay, .email-modal { position: fixed; inset: 0; z-index: 90; visibility: hidden; opacity: 0; transition: .25s; }
.mobile-drawer.is-open, .search-overlay.is-open, .email-modal.is-open { visibility: visible; opacity: 1; }
.mobile-drawer { display: flex; justify-content: flex-start; background: rgba(0,0,0,.5); }
.drawer-panel { width: min(430px, 92vw); height: 100%; padding: 30px; background: var(--color-espresso); color: white; transform: translateX(-100%); transition: .3s; }
.mobile-drawer.is-open .drawer-panel { transform: none; }
.drawer-panel nav { display: grid; margin-top: 65px; }
.drawer-panel nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.17); font-family: var(--display); font-size: 2rem; }
.overlay-close { float: right; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1.8rem; }
.search-overlay { display: grid; place-items: start center; padding-top: 16vh; background: rgba(23,19,16,.96); color: white; }
.search-box { width: min(780px, calc(100vw - 40px)); }
.search-box input { width: 100%; border: 0; border-bottom: 1px solid white; padding: 18px 0; background: transparent; color: white; font-family: var(--display); font-size: clamp(2rem,5vw,4rem); outline: none; }
.search-box p { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.email-modal { display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.6); }
.modal-card { position: relative; width: min(900px, 96vw); max-height: 92vh; display: grid; grid-template-columns: .9fr 1.1fr; overflow: auto; background: var(--color-cream); }
.modal-card > img { height: 100%; min-height: 520px; object-fit: cover; }
.modal-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px,6vw,74px); }
.modal-content h2 { margin: 0 0 16px; font-family: var(--display); font-size: clamp(3rem,6vw,5.2rem); line-height: .88; font-weight: 400; }
.modal-content input { width: 100%; min-height: 48px; margin: 20px 0 10px; border: 0; border-bottom: 1px solid; background: transparent; }
.fine-print { font-size: .68rem; opacity: .65; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 2; border: 0; background: transparent; cursor: pointer; font-size: 1.5rem; }
.success-state { display: none; }
.modal-card.is-success .signup-state { display: none; }
.modal-card.is-success .success-state { display: block; }
.code { display: inline-block; margin: 16px 0 26px; border: 1px dashed; padding: 10px 18px; font-size: 1.4rem; letter-spacing: .2em; }

@media (max-width: 1024px) {
  .header-actions .text-button, .header-actions--right > a { display: none; }
  .secondary-nav { gap: 25px; }
  .category-grid, .product-grid, .collection .product-grid { grid-template-columns: repeat(2,1fr); }
  .system-grid { grid-template-columns: repeat(2,1fr); }
  .system-card:nth-child(2) { border-right: 0; }
  .system-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.25); }
  .trade-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1.5fr repeat(2,1fr); }
  .footer-group:nth-child(n+4) { margin-top: 20px; }
}

@media (max-width: 768px) {
  :root { --header-height: 88px; }
  .announcement { height: 34px; padding: 0 12px; font-size: .58rem; }
  .header-main { height: 76px; }
  .secondary-nav { display: none; }
  .mobile-toggle { display: grid; }
  .mobile-toggle + .icon-button { display: none; }
  .header-main > .header-actions:first-child .text-button { display: none; }
  .brand-logo { width: 116px; height: 64px; }
  .hero-section { min-height: 82svh; }
  .hero-section::after { background: linear-gradient(0deg, rgba(14,10,8,.88) 0%, rgba(14,10,8,.18) 78%); }
  .hero-media { object-position: 66% center; }
  .hero-content { width: 100%; padding-bottom: 7vh; }
  .hero-title { font-size: clamp(3.15rem, 14vw, 5rem); }
  .hero-copy { max-width: 340px; }
  .hero-actions .button { flex: 1 1 220px; }
  .hero-note { display: none; }
  .feature-panels, .brand-manifesto, .page-hero, .editorial-strip { grid-template-columns: 1fr; }
  .feature-panel { min-height: 72vh; }
  .brand-manifesto { display: flex; flex-direction: column-reverse; }
  .manifesto-image { min-height: 70vh; }
  .manifesto-copy { padding: 70px var(--pad); }
  .page-hero img { min-height: 52vh; }
  .page-hero-copy { min-height: 48vh; }
  .trade-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .trade-card { min-width: 78vw; scroll-snap-align: start; }
  .filter-inner { grid-template-columns: 1fr 1fr; }
  .filter-panel.is-open { max-height: 420px; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-card > img { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand .brand-logo { margin-top: -44px; }
}

@media (max-width: 430px) {
  .header-main { grid-template-columns: 48px 1fr 48px; padding: 0 14px; }
  .header-actions { gap: 0; }
  .header-actions .icon-button:not(.mobile-toggle), .header-actions--right .icon-button:not(.cart-button) { display: none; }
  .brand-logo { margin: auto; }
  .section-head, .collection-intro { align-items: flex-start; flex-direction: column; }
  .category-section, .products-section, .trade-section, .collection { padding-left: 14px; padding-right: 14px; }
  .category-grid, .product-grid, .collection .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-meta { padding: 12px 8px 18px; }
  .category-meta h3 { font-size: .66rem; }
  .product-info { min-height: 145px; padding: 14px 9px; }
  .quick-add { position: static; width: calc(100% - 18px); margin: 0 9px 10px; opacity: 1; transform: none; }
  .system-grid { grid-template-columns: 1fr; }
  .system-card { min-height: 320px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand, .footer-group { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .shop-toolbar { align-items: flex-start; flex-direction: column; }
  .shop-toolbar nav { width: 100%; }
  .filter-inner { grid-template-columns: 1fr; }
  .filter-panel.is-open { max-height: 650px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
