/* ==========================================================================
   Brooklyn Ashley — brand system
   --------------------------------------------------------------------------
   One stylesheet. No framework, no build step, no external fonts.

   The surface is warm alabaster rather than white on purpose. Stark white makes
   linen look grey; a warm ground makes it look like cloth. Type is set large,
   with a lot of air, because that is what separates an editorial page from a
   catalog page.
   ========================================================================== */

:root {
  /* Neutrals, warm */
  --paper:      #F8F4ED;
  --paper-deep: #F1EADF;
  --card:       #FDFBF7;
  --oat:        #EFE7DA;
  --linen:      #E4DACA;
  --sand:       #D6C8B2;
  --clay:       #BCAB91;
  --stone:      #948877;
  --bark:       #6B6153;

  /* Ink */
  --ink:        #2E2A25;
  --ink-soft:   #524B41;
  --ink-mute:   #857B6C;

  /* Accents */
  --brass:      #9C7C4A;
  --brass-deep: #7E6339;
  --eucalypt:   #6E7F72;
  --success:    #4F6B54;
  --warn:       #9A6B3A;
  --error:      #8C3F3A;

  /* Type */
  --display: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua',
             Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
          Arial, sans-serif;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 64px);
  --page:   1360px;
  --narrow: 760px;
  --section: clamp(64px, 9vw, 132px);

  --radius: 2px;
  --radius-lg: 4px;

  --shadow-sm: 0 1px 2px rgba(46, 42, 37, .05), 0 6px 18px rgba(46, 42, 37, .05);
  --shadow-md: 0 2px 6px rgba(46, 42, 37, .06), 0 18px 44px rgba(46, 42, 37, .09);
  --shadow-lg: 0 30px 80px rgba(46, 42, 37, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --slow: 700ms var(--ease);
  --med:  420ms var(--ease);
  --fast: 200ms var(--ease);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*, *::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-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 3.7vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.72rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

hr {
  border: 0;
  border-top: 1px solid var(--linen);
  margin: var(--section) 0;
}

::selection { background: var(--sand); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Anything that only exists for screen readers. */
.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-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 20px;
  transition: top var(--fast);
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.wrap-mid    { max-width: 1080px; }

.section { padding-block: var(--section); }
.section-sm { padding-block: clamp(40px, 6vw, 76px); }
.section-tint { background: var(--paper-deep); }
.section-deep { background: var(--oat); }
.section-ink  { background: var(--ink); color: var(--paper); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--paper); }

.grid { display: grid; gap: clamp(20px, 2.6vw, 40px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-auto { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.center-x { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.1rem;
}
.section-ink .eyebrow { color: var(--sand); }

.lede {
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section-ink .lede { color: var(--linen); }

.muted { color: var(--ink-mute); }
.small { font-size: .875rem; }
.tiny  { font-size: .78rem; letter-spacing: .04em; }

.rule {
  width: 46px; height: 1px; background: var(--brass);
  margin: 0 0 1.6rem; border: 0;
}
.rule-center { margin-inline: auto; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; font-size: 1.28rem; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 2em 0; padding: .3em 0 .3em 1.6em;
  border-left: 2px solid var(--brass);
  font-family: var(--display); font-size: 1.28rem; line-height: 1.5;
  color: var(--ink);
}
.prose a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.02em 2.1em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  cursor: pointer; text-align: center;
  transition: background var(--fast), color var(--fast), border-color var(--fast),
              transform var(--fast), box-shadow var(--fast);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); }

.btn-light { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.6); }
.btn-ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

.btn-brass { --btn-bg: var(--brass); --btn-fg: #fff; --btn-bd: var(--brass); }
.btn-brass:hover { --btn-bg: var(--brass-deep); --btn-bd: var(--brass-deep); }

.btn-quiet {
  --btn-bg: transparent; --btn-fg: var(--ink-soft); --btn-bd: var(--linen);
  font-weight: 500; letter-spacing: .08em;
}
.btn-quiet:hover { --btn-bd: var(--clay); --btn-fg: var(--ink); }

.btn-sm { padding: .72em 1.35em; font-size: .7rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .45; pointer-events: none;
}

/* A text link with a rule that draws itself on hover. */
.link-rule {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  padding-bottom: .45em; position: relative; color: var(--ink);
}
.link-rule::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(.34); transform-origin: left;
  transition: transform var(--med); opacity: .6;
}
.link-rule:hover::after { transform: scaleX(1); opacity: 1; }
.link-rule .arrow { transition: transform var(--med); }
.link-rule:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Artwork
   -------------------------------------------------------------------------- */

.art-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.figure {
  position: relative; overflow: hidden;
  background: var(--linen); border-radius: var(--radius);
}
.figure .art, .figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.1s var(--ease);
}
.figure-zoom:hover .art, .figure-zoom:hover img { transform: scale(1.045); }

.ratio-square  { aspect-ratio: 1 / 1; }
.ratio-portrait{ aspect-ratio: 4 / 5; }
.ratio-tall    { aspect-ratio: 3 / 4.4; }
.ratio-land    { aspect-ratio: 4 / 3; }
.ratio-wide    { aspect-ratio: 16 / 9; }
.ratio-hero    { aspect-ratio: 16 / 10; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.announce {
  background: var(--ink); color: var(--linen);
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  text-align: center; padding: .78em var(--gutter);
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Preview mode bar: shown on every page while the site is "coming soon". */
.coming-soon-bar {
  background: var(--brass); color: #fff;
  text-align: center; padding: .7em var(--gutter);
  font-size: .8rem; line-height: 1.5;
}
.coming-soon-bar strong {
  display: inline-block; margin-right: .8em;
  letter-spacing: .22em; text-transform: uppercase; font-size: .86rem;
}

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background var(--med), border-color var(--med), box-shadow var(--med);
}
.site-header.is-stuck {
  border-bottom-color: var(--linen);
  box-shadow: 0 1px 20px rgba(46, 42, 37, .06);
}

/* Over a full-bleed hero the header floats and inverts. */
.site-header.is-over {
  position: fixed; left: 0; right: 0; background: transparent; color: #fff;
}
.site-header.is-over .wordmark { color: #fff; }
.site-header.is-over .nav-link { color: rgba(255,255,255,.94); }
.site-header.is-over .icon-btn { color: #fff; }
.site-header.is-over.is-stuck {
  position: sticky; background: var(--paper); color: var(--ink);
}
.site-header.is-over.is-stuck .wordmark,
.site-header.is-over.is-stuck .nav-link,
.site-header.is-over.is-stuck .icon-btn { color: var(--ink); }

.header-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 20px; min-height: 84px;
}

.wordmark { width: 152px; height: auto; color: var(--ink); }
.brand-link { display: inline-block; justify-self: center; }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.nav-right { justify-content: flex-end; }

.nav-link {
  font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); padding: 8px 0; position: relative; white-space: nowrap;
  transition: color var(--fast);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--med);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.icon-btn {
  display: inline-flex; align-items: center; gap: .45em;
  background: none; border: 0; padding: 8px; cursor: pointer;
  color: var(--ink-soft); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
}
.icon-btn:hover { color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; }

.cart-count {
  display: inline-grid; place-items: center; min-width: 19px; height: 19px;
  padding: 0 5px; border-radius: 10px; background: var(--brass); color: #fff;
  font-size: .66rem; font-weight: 700; letter-spacing: 0;
}

/* Mega menu */
.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-8px);
  width: min(880px, calc(100vw - 40px));
  background: var(--card); border: 1px solid var(--linen);
  box-shadow: var(--shadow-md); padding: 34px 38px;
  display: grid; grid-template-columns: repeat(3, 1fr) 240px; gap: 30px;
  opacity: 0; visibility: hidden; transition: opacity var(--med), transform var(--med), visibility var(--med);
  color: var(--ink); z-index: 95;
}
.has-menu:hover .mega, .has-menu:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega h4 {
  font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 1.1em;
}
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li { margin-bottom: .62em; }
.mega li a {
  font-size: .95rem; color: var(--ink-soft);
  transition: color var(--fast), padding-left var(--fast);
}
.mega li a:hover { color: var(--ink); padding-left: 4px; }
.mega-feature { border-left: 1px solid var(--linen); padding-left: 30px; }
.mega-feature .figure { margin-bottom: 14px; }

.nav-toggle { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--paper); color: var(--ink);
  transform: translateX(-100%); transition: transform var(--med);
  overflow-y: auto; padding: 22px var(--gutter) 60px;
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  padding: 15px 0; border-bottom: 1px solid var(--linen);
  font-family: var(--display); font-size: 1.42rem;
}
.drawer .sub a {
  font-family: var(--sans); font-size: .95rem; padding: 10px 0 10px 16px;
  color: var(--ink-soft); border-bottom: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 940px);
  display: grid; align-items: end;
  overflow: hidden;
  color: #fff;
}
.hero .art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  animation: heroSettle 2.4s var(--ease) both;
}
@keyframes heroSettle {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(30, 26, 22, .70) 0%, rgba(30, 26, 22, .28) 42%, rgba(30, 26, 22, .06) 72%),
    linear-gradient(to right, rgba(30, 26, 22, .34), rgba(30, 26, 22, 0) 62%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding-block: clamp(56px, 9vw, 108px);
  max-width: 720px;
}
.hero h1 {
  color: #fff; font-size: clamp(2.7rem, 6.2vw, 5.2rem);
  letter-spacing: -0.02em; margin-bottom: .3em;
  text-shadow: 0 2px 30px rgba(0,0,0,.22);
}
.hero .lede { color: rgba(255,255,255,.92); font-size: clamp(1.05rem, 1.7vw, 1.32rem); }
.hero .eyebrow { color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

/* --------------------------------------------------------------------------
   Editorial modules
   -------------------------------------------------------------------------- */

.split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: clamp(28px, 5vw, 84px);
}
.split-flip > .split-media { order: 2; }
.split-body { max-width: 30rem; }

.feature-band {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: var(--linen);
}
.feature-tile {
  position: relative; overflow: hidden; min-height: clamp(320px, 42vw, 560px);
  display: grid; align-items: end; color: #fff;
}
.feature-tile .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,26,22,.68), rgba(30,26,22,.06) 62%);
  transition: background var(--med);
}
.feature-tile:hover::after { background: linear-gradient(to top, rgba(30,26,22,.75), rgba(30,26,22,.14) 68%); }
.feature-tile-body { position: relative; z-index: 2; padding: clamp(24px, 3.4vw, 46px); }
.feature-tile h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: .35em; }
.feature-tile p { color: rgba(255,255,255,.86); max-width: 34ch; }

.quote-band {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.1vw, 2.35rem);
  line-height: 1.38; max-width: 22ch; margin-inline: auto;
  letter-spacing: -0.01em;
}
.quote-attrib {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-mute); margin-top: 2rem;
}

/* Numbered value list */
.values { counter-reset: v; }
.value-item { position: relative; padding-top: 26px; border-top: 1px solid var(--linen); }
.value-item::before {
  counter-increment: v; content: counter(v, decimal-leading-zero);
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  color: var(--brass); position: absolute; top: -.05em; left: 0;
  transform: translateY(-140%);
}
.value-item h3 { font-size: 1.2rem; margin-bottom: .5em; }
.value-item p { color: var(--ink-soft); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.card-grid { display: grid; gap: clamp(22px, 2.4vw, 40px) clamp(16px, 1.8vw, 30px); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .figure { margin-bottom: 16px; background: var(--oat); }
.product-card .figure::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(46,42,37,0); transition: background var(--med);
}
.product-card:hover .figure::after { background: rgba(46,42,37,.04); }

.product-card h3 {
  font-family: var(--sans); font-size: .98rem; font-weight: 600; letter-spacing: -0.005em;
  line-height: 1.4; margin: 0 0 .3em;
}
.product-card .card-meta {
  font-size: .8rem; color: var(--ink-mute); margin: 0 0 .55em;
}
.product-card .card-price {
  font-size: .95rem; color: var(--ink); display: flex; align-items: baseline; gap: .5em;
  flex-wrap: wrap;
}
.card-price .was { color: var(--ink-mute); text-decoration: line-through; font-size: .85rem; }
.card-price .from { color: var(--ink-mute); font-size: .8rem; }

.swatches { display: flex; gap: 6px; margin-top: .7em; }
.swatch {
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid rgba(46,42,37,.22);
  box-shadow: inset 0 0 0 2px var(--card);
}
.swatch-more { font-size: .72rem; color: var(--ink-mute); align-self: center; }

.badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--card); color: var(--ink);
  font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .5em .85em; border-radius: var(--radius);
}
.badge-trade { background: var(--ink); color: var(--paper); }
.badge-brass { background: var(--brass); color: #fff; }
.badge-demo  { background: var(--eucalypt); color: #fff; }

.stretch::after { content: ''; position: absolute; inset: 0; z-index: 2; }

/* --------------------------------------------------------------------------
   Product page
   -------------------------------------------------------------------------- */

.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.pdp-gallery { display: grid; gap: 10px; position: sticky; top: 104px; }
.pdp-main { background: var(--oat); }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pdp-thumb {
  padding: 0; border: 1px solid transparent; background: var(--oat); cursor: pointer;
  overflow: hidden; transition: border-color var(--fast), opacity var(--fast);
  opacity: .72;
}
.pdp-thumb:hover { opacity: 1; }
.pdp-thumb[aria-selected="true"] { border-color: var(--ink); opacity: 1; }

.pdp-info { padding-top: 6px; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.2vw, 2.85rem); margin-bottom: .25em; }

.price-row { display: flex; align-items: baseline; gap: .8em; flex-wrap: wrap; margin: 1.1rem 0 .3rem; }
.price-now { font-size: 1.55rem; font-family: var(--display); }
.price-was { color: var(--ink-mute); text-decoration: line-through; }
.price-note { font-size: .8rem; color: var(--ink-mute); }

.trade-price-card {
  border: 1px solid var(--brass); background: rgba(156,124,74,.06);
  padding: 16px 18px; border-radius: var(--radius); margin: 1.2rem 0;
}
.trade-price-card .label {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-deep); margin-bottom: .35em;
}

.option-group { margin: 1.7rem 0; }
.option-group .option-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: .8em;
}
.option-label .chosen { color: var(--ink); font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: .84rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: .68em 1.15em; border: 1px solid var(--linen); background: var(--card);
  border-radius: var(--radius); cursor: pointer; font-size: .85rem;
  transition: border-color var(--fast), background var(--fast), color var(--fast);
}
.chip:hover { border-color: var(--clay); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.color-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.color-chip {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 1px solid rgba(46,42,37,.2);
  box-shadow: inset 0 0 0 3px var(--paper);
  transition: box-shadow var(--fast), border-color var(--fast);
}
.color-chip[aria-pressed="true"] {
  border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 1px var(--ink);
}

.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--linen);
  border-radius: var(--radius); background: var(--card);
}
.qty button {
  width: 46px; height: 50px; border: 0; background: none; cursor: pointer;
  font-size: 1.1rem; color: var(--ink-soft);
}
.qty button:hover { color: var(--ink); background: var(--oat); }
.qty input {
  width: 60px; height: 50px; border: 0; background: none; text-align: center;
  font-size: 1rem; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}

.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 1.6rem 0 1rem; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 220px; }

.volume-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: .8rem; }
.volume-table th, .volume-table td {
  padding: .62em .4em; text-align: left; border-bottom: 1px solid var(--linen);
}
.volume-table th {
  font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute);
}
.volume-table td:last-child, .volume-table th:last-child { text-align: right; }
.volume-table tr.is-active td { background: rgba(156,124,74,.09); font-weight: 600; }

.stock-line { font-size: .84rem; display: flex; align-items: center; gap: .5em; margin-top: .4rem; }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.stock-dot.low { background: var(--warn); }
.stock-dot.out { background: var(--error); }
.stock-dot.info { background: var(--eucalypt); }

/* Accordion */
.accordion { border-top: 1px solid var(--linen); margin-top: 2.4rem; }
.acc-item { border-bottom: 1px solid var(--linen); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 1.25em 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.acc-head .plus { position: relative; width: 13px; height: 13px; flex: 0 0 auto; }
.acc-head .plus::before, .acc-head .plus::after {
  content: ''; position: absolute; background: var(--ink-soft);
  transition: transform var(--med), opacity var(--med);
}
.acc-head .plus::before { left: 0; top: 6px; width: 13px; height: 1px; }
.acc-head .plus::after  { left: 6px; top: 0; width: 1px; height: 13px; }
.acc-head[aria-expanded="true"] .plus::after { transform: rotate(90deg); opacity: 0; }
.acc-body { display: none; padding-bottom: 1.6em; color: var(--ink-soft); font-size: .95rem; }
.acc-body.is-open { display: block; animation: fadeIn var(--med) both; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.spec-list { display: grid; gap: 0; }
.spec-list div {
  display: grid; grid-template-columns: 40% 1fr; gap: 12px;
  padding: .62em 0; border-bottom: 1px solid var(--oat); font-size: .9rem;
}
.spec-list dt { color: var(--ink-mute); }
.spec-list dd { margin: 0; }

/* --------------------------------------------------------------------------
   Collection / listing
   -------------------------------------------------------------------------- */

.page-head { padding-block: clamp(40px, 6vw, 90px) clamp(28px, 3.6vw, 52px); }
.page-head h1 { margin-bottom: .28em; }

.editorial-head {
  position: relative; min-height: clamp(360px, 46vw, 560px);
  display: grid; align-items: center; color: #fff; overflow: hidden;
}
.editorial-head .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.editorial-head::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(30,26,22,.66), rgba(30,26,22,.16) 76%);
}
.editorial-head-body { position: relative; z-index: 2; max-width: 620px; padding-block: 48px; }
.editorial-head h1 { color: #fff; }
.editorial-head .lede { color: rgba(255,255,255,.9); }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 0; border-block: 1px solid var(--linen); flex-wrap: wrap;
  position: sticky; top: 84px; background: var(--paper); z-index: 40;
}
.toolbar .count { font-size: .82rem; color: var(--ink-mute); }
.toolbar-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.select {
  appearance: none; border: 1px solid var(--linen); background: var(--card);
  padding: .66em 2.4em .66em 1em; border-radius: var(--radius); font-size: .84rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23857B6C' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9em center; background-size: 11px;
}

.listing { display: grid; grid-template-columns: 232px 1fr; gap: clamp(26px, 3.4vw, 56px); align-items: start; }

.filters { position: sticky; top: 156px; }
.filter-group { border-bottom: 1px solid var(--linen); padding: 1.35rem 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 {
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1em;
}
.filter-group ul { list-style: none; margin: 0; padding: 0; }
.filter-group li { margin-bottom: .5em; }
.filter-group li a { font-size: .9rem; color: var(--ink-soft); transition: color var(--fast); }
.filter-group li a:hover { color: var(--ink); }
.filter-group li a.is-on { color: var(--ink); font-weight: 600; }
.filter-swatches { display: flex; flex-wrap: wrap; gap: 9px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 3.4rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: inline-grid; place-items: center;
  border: 1px solid var(--linen); font-size: .86rem; border-radius: var(--radius);
}
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.empty-state { text-align: center; padding: clamp(50px, 9vw, 110px) 0; }
.empty-state h2 { margin-bottom: .4em; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.field { margin-bottom: 1.15rem; }
.field label, .label {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: .55em;
}
.input, .textarea, select.input {
  width: 100%; padding: .92em 1.05em;
  border: 1px solid var(--linen); border-radius: var(--radius);
  background: var(--card); color: var(--ink); font-size: .98rem;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.input:hover, .textarea:hover { border-color: var(--clay); }
.input:focus, .textarea:focus {
  outline: 0; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(156,124,74,.14);
}
.textarea { min-height: 130px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--error); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.help { font-size: .78rem; color: var(--ink-mute); margin-top: .45em; }

.check { display: flex; gap: .7em; align-items: flex-start; font-size: .9rem; margin-bottom: .7rem; }
.check input { margin-top: .3em; width: 16px; height: 16px; accent-color: var(--ink); flex: 0 0 auto; }
.check label { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 400; color: var(--ink-soft); margin: 0; }

fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
legend {
  font-family: var(--display); font-size: 1.25rem; margin-bottom: 1rem; padding: 0;
}

.form-card {
  background: var(--card); border: 1px solid var(--linen);
  padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg);
}

/* Messages */
.notice {
  padding: 1em 1.2em; border-radius: var(--radius); margin-bottom: 1.2rem;
  font-size: .92rem; border-left: 3px solid var(--brass); background: var(--oat);
}
.notice-ok    { border-left-color: var(--success); background: rgba(79,107,84,.10); }
.notice-error { border-left-color: var(--error);   background: rgba(140,63,58,.09); }
.notice-info  { border-left-color: var(--eucalypt); background: rgba(110,127,114,.10); }

.toast-stack {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 40px));
}
.toast {
  background: var(--ink); color: var(--paper); padding: 14px 18px;
  border-radius: var(--radius); box-shadow: var(--shadow-md); font-size: .9rem;
  animation: toastIn var(--med) both;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Cart and checkout
   -------------------------------------------------------------------------- */

.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: clamp(30px, 4vw, 66px); align-items: start; }

.cart-line {
  display: grid; grid-template-columns: 108px 1fr auto; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--linen); align-items: start;
}
.cart-line .figure { background: var(--oat); }
.cart-line h3 { font-family: var(--sans); font-size: .98rem; font-weight: 600; margin-bottom: .25em; }
.cart-line .line-meta { font-size: .82rem; color: var(--ink-mute); }
.cart-line .line-total { text-align: right; font-size: .98rem; white-space: nowrap; }
.cart-line-actions { display: flex; align-items: center; gap: 14px; margin-top: .8em; flex-wrap: wrap; }
.remove-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .78rem; color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px;
}
.remove-link:hover { color: var(--error); }

.summary {
  background: var(--card); border: 1px solid var(--linen);
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius-lg);
  position: sticky; top: 104px;
}
.summary h2 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.sum-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: .5em 0; font-size: .92rem;
}
.sum-row.total {
  border-top: 1px solid var(--linen); margin-top: .6em; padding-top: 1em;
  font-size: 1.16rem; font-family: var(--display);
}
.sum-row .save { color: var(--success); }

.progress-ship { margin: 1rem 0 1.4rem; }
.progress-ship .bar { height: 3px; background: var(--linen); border-radius: 2px; overflow: hidden; }
.progress-ship .bar span { display: block; height: 100%; background: var(--brass); transition: width var(--slow); }
.progress-ship p { font-size: .8rem; color: var(--ink-mute); margin: .6em 0 0; }

.checkout-steps { display: grid; grid-template-columns: 1fr 400px; gap: clamp(30px, 4vw, 66px); align-items: start; }
.step-head {
  display: flex; align-items: baseline; gap: .75em; margin-bottom: 1.4rem;
  padding-bottom: .8rem; border-bottom: 1px solid var(--linen);
}
.step-num {
  font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  color: var(--brass);
}
.step-head h2 { font-size: 1.35rem; margin: 0; }

.mini-line { display: flex; gap: 14px; padding: 12px 0; align-items: center; }
.mini-line .figure { width: 62px; flex: 0 0 62px; background: var(--oat); }
.mini-line .mini-name { font-size: .88rem; line-height: 1.4; }
.mini-line .mini-meta { font-size: .78rem; color: var(--ink-mute); }
.mini-line .mini-total { margin-left: auto; font-size: .88rem; white-space: nowrap; }

.pay-note {
  display: flex; gap: .7em; align-items: flex-start; font-size: .82rem;
  color: var(--ink-mute); margin-top: 1.2rem; line-height: 1.55;
}
.pay-note svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; stroke: var(--eucalypt); fill: none; stroke-width: 1.4; }

/* --------------------------------------------------------------------------
   Calculator
   -------------------------------------------------------------------------- */

.calc-shell { display: grid; grid-template-columns: 420px 1fr; gap: clamp(28px, 4vw, 70px); align-items: start; }
.calc-panel {
  background: var(--card); border: 1px solid var(--linen);
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  position: sticky; top: 104px;
}
.bed-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px;
  padding: .85rem 0; border-bottom: 1px solid var(--oat);
}
.bed-row:last-of-type { border-bottom: 0; }
.bed-row .bed-name { font-size: .96rem; }
.bed-row .bed-note { font-size: .76rem; color: var(--ink-mute); }

.par-choices { display: grid; gap: 10px; }
.par-choice {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  border: 1px solid var(--linen); background: var(--card);
  padding: 14px 16px; border-radius: var(--radius); cursor: pointer;
  transition: border-color var(--fast), background var(--fast);
}
.par-choice:hover { border-color: var(--clay); }
.par-choice input { margin-top: .3em; accent-color: var(--ink); }
.par-choice.is-on { border-color: var(--ink); background: var(--oat); }
.par-choice .par-title { font-weight: 600; font-size: .95rem; display: flex; gap: .6em; align-items: baseline; }
.par-choice .par-tag {
  font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brass); border: 1px solid var(--brass); padding: .15em .5em; border-radius: 2px;
}
.par-choice .par-blurb { font-size: .82rem; color: var(--ink-mute); margin-top: .25em; }

.result-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  flex-wrap: wrap; padding-bottom: 1.4rem; border-bottom: 1px solid var(--linen);
}
.result-stats { display: flex; gap: clamp(20px, 3vw, 46px); flex-wrap: wrap; }
.stat .stat-num { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; }
.stat .stat-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: .55em;
}

.result-line {
  display: grid; grid-template-columns: 76px 1fr 120px auto; gap: 18px;
  align-items: center; padding: 16px 0; border-bottom: 1px solid var(--oat);
}
.result-line .figure { background: var(--oat); }
.result-line .rl-name { font-size: .97rem; font-weight: 600; }
.result-line .rl-why { font-size: .79rem; color: var(--ink-mute); margin-top: .2em; }
.result-line .rl-total { text-align: right; font-size: .95rem; white-space: nowrap; }

.par-explainer {
  background: var(--oat); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px); margin-top: 2.4rem;
}

/* --------------------------------------------------------------------------
   Trade
   -------------------------------------------------------------------------- */

.trade-hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: clamp(440px, 60vh, 700px); display: grid; align-items: center;
}
.trade-hero .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.trade-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(24,21,18,.78), rgba(24,21,18,.28));
}
.trade-hero-body { position: relative; z-index: 2; max-width: 660px; padding-block: 60px; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 48px); }
.benefit h3 { font-size: 1.12rem; margin-bottom: .45em; }
.benefit p { font-size: .93rem; color: var(--ink-soft); }
.benefit .mark {
  width: 34px; height: 34px; margin-bottom: 1.1rem;
  stroke: var(--brass); fill: none; stroke-width: 1.2;
}

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier {
  border: 1px solid var(--linen); background: var(--card);
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius-lg);
}
.tier.is-highlight { border-color: var(--brass); box-shadow: var(--shadow-sm); }
.tier .tier-name { font-family: var(--display); font-size: 1.35rem; margin-bottom: .3em; }
.tier .tier-disc { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.tier ul { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.tier li { font-size: .9rem; padding-left: 1.4em; position: relative; margin-bottom: .6em; color: var(--ink-soft); }
.tier li::before {
  content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--brass);
}

.portal-nav { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--linen); margin-bottom: 2.4rem; }
.portal-nav a {
  padding: .9em 1.2em; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.portal-nav a:hover { color: var(--ink); }
.portal-nav a.is-on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.table th, .table td { padding: .85em .8em; text-align: left; border-bottom: 1px solid var(--linen); vertical-align: top; }
.table th {
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-mute); white-space: nowrap;
}
.table tbody tr:hover { background: var(--card); }
.table .num { text-align: right; white-space: nowrap; }

.pill {
  display: inline-block; padding: .32em .75em; border-radius: 20px;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em;
  background: var(--oat); color: var(--ink-soft); white-space: nowrap;
}
.pill-ok    { background: rgba(79,107,84,.16);  color: #3B5240; }
.pill-warn  { background: rgba(154,107,58,.16); color: #7A5227; }
.pill-error { background: rgba(140,63,58,.14);  color: #7A3733; }
.pill-info  { background: rgba(110,127,114,.18); color: #4B5A4F; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: var(--linen); padding-block: clamp(56px, 7vw, 96px) 36px; }
.site-footer h4 {
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--sand); margin-bottom: 1.3em;
}
.site-footer a { color: var(--linen); font-size: .92rem; transition: color var(--fast); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .65em; }

.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 50px);
}
.footer-brand .wordmark { width: 178px; color: var(--paper); margin-bottom: 1.4rem; }
.footer-brand p { color: var(--stone); font-size: .92rem; max-width: 32ch; }

.subscribe { display: flex; gap: 8px; margin-top: 1.4rem; max-width: 340px; }
.subscribe input {
  flex: 1; padding: .82em 1em; border: 1px solid rgba(228,218,202,.28);
  background: transparent; color: var(--paper); font-size: .9rem; border-radius: var(--radius);
}
.subscribe input::placeholder { color: var(--stone); }
.subscribe input:focus { outline: 0; border-color: var(--sand); }
.subscribe button {
  padding: .82em 1.3em; border: 1px solid var(--sand); background: var(--sand); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; border-radius: var(--radius);
}
.subscribe button:hover { background: #fff; border-color: #fff; }

.footer-base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 66px); padding-top: 26px;
  border-top: 1px solid rgba(228,218,202,.16);
  font-size: .8rem; color: var(--stone);
}
.footer-base a { font-size: .8rem; color: var(--stone); }
.footer-base nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Admin
   -------------------------------------------------------------------------- */

.admin-shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.admin-side {
  background: var(--ink); color: var(--linen); padding: 26px 0 40px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-side .brand { padding: 0 22px 26px; border-bottom: 1px solid rgba(228,218,202,.14); margin-bottom: 18px; }
.admin-side .brand .wordmark { width: 132px; color: var(--paper); }
.admin-side h5 {
  font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--stone); padding: 18px 22px 8px; margin: 0;
}
.admin-side a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: .68em 22px; font-size: .9rem; color: var(--linen);
  border-left: 2px solid transparent;
}
.admin-side a:hover { background: rgba(255,255,255,.05); color: #fff; }
.admin-side a.is-on { background: rgba(255,255,255,.08); border-left-color: var(--brass); color: #fff; }
.admin-side .tally {
  background: var(--brass); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .1em .5em; border-radius: 10px; min-width: 20px; text-align: center;
}

.admin-main { padding: clamp(22px, 3vw, 40px); background: var(--paper); min-width: 0; }
.admin-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  flex-wrap: wrap; margin-bottom: 2rem;
}
.admin-head h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 2.4rem; }
.stat-card {
  background: var(--card); border: 1px solid var(--linen); padding: 20px 22px; border-radius: var(--radius-lg);
}
.stat-card .n { font-family: var(--display); font-size: 1.95rem; line-height: 1; }
.stat-card .l { font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute); margin-top: .6em; }

.panel {
  background: var(--card); border: 1px solid var(--linen);
  border-radius: var(--radius-lg); margin-bottom: 1.8rem; overflow: hidden;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 22px; border-bottom: 1px solid var(--linen); flex-wrap: wrap;
}
.panel-head h2 { font-size: 1.1rem; margin: 0; }
.panel-body { padding: 22px; }
.panel-body.flush { padding: 0; }
.panel .table { min-width: 0; }
.panel .table th:first-child, .panel .table td:first-child { padding-left: 22px; }
.panel .table th:last-child,  .panel .table td:last-child  { padding-right: 22px; }

.demo-banner {
  background: rgba(110,127,114,.14); border: 1px solid var(--eucalypt);
  padding: 14px 18px; border-radius: var(--radius); margin-bottom: 1.6rem; font-size: .9rem;
}

/* --------------------------------------------------------------------------
   Motion — subtle, and off when the visitor asks for it to be
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.reveal-1 { transition-delay: 90ms; }
.reveal-2 { transition-delay: 180ms; }
.reveal-3 { transition-delay: 270ms; }
.reveal-4 { transition-delay: 360ms; }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .card-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .listing { grid-template-columns: 200px 1fr; }
}

@media (max-width: 960px) {
  .nav-main { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-bar { grid-template-columns: auto 1fr auto; min-height: 72px; }
  .brand-link { justify-self: center; }

  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .cart-layout, .checkout-steps { grid-template-columns: 1fr; }
  .summary { position: static; }
  .calc-shell { grid-template-columns: 1fr; }
  .calc-panel { position: static; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; margin-bottom: 2rem; }
  .filter-toggle { display: inline-flex !important; }
  .benefit-grid, .tier-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-flip > .split-media { order: 0; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .toolbar { top: 72px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .card-grid-4, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-band { grid-template-columns: 1fr; }
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .result-line { grid-template-columns: 56px 1fr auto; }
  .result-line .rl-total { grid-column: 2 / -1; text-align: left; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .hero { min-height: 74vh; }
  .buy-row .btn { flex: 1 1 100%; }
  .mega { display: none; }
}

@media (max-width: 560px) {
  /* On a phone the text links crowd the logo out of the header; the menu drawer has them. */
  .nav-right .nav-link { display: none; }
  .nav-right { gap: 10px; }
}

@media (max-width: 460px) {
  .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 80px 1fr; }
  .cart-line .line-total { grid-column: 2; text-align: left; margin-top: .5em; }
  .footer-grid { grid-template-columns: 1fr; }
  .toolbar { position: static; }
  .result-stats { gap: 22px; }
}

/* --------------------------------------------------------------------------
   Print — receipts, quotes and packing lists
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .announce, .coming-soon-bar, .toolbar, .drawer, .toast-stack,
  .no-print, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .wrap { max-width: none; padding: 0; }
  .summary, .panel, .form-card { border: 1px solid #ccc; box-shadow: none; }
  a[href]::after { content: ''; }
  .figure { display: none; }
}
