/* ==========================================================================
   SMART MODULAR SOLUTION — design system
   White canvas, near-black ink, no accent colour in the layout. Photography
   is the only colour on the page. Everything below is spacing, type and rules.
   ========================================================================== */

/* --- tokens -------------------------------------------------------------- */
/* Dark green on off-white. Green carries the type, rules and dark surfaces;
   off-white is the canvas. Photography supplies everything else. */
:root {
  --ink:        #14342a;   /* deep forest — body copy, headings, buttons */
  --ink-deep:   #0d241d;   /* footer and hero scrim */
  --ink-70:     #3d5a4f;
  --muted:      #62766c;
  --faint:      #94a29a;
  --line:       #dcd8cc;
  --line-soft:  #e9e5da;
  --paper:      #faf7f0;   /* off-white canvas */
  --wash:       #f2eee3;   /* alternating section band */
  --wash-deep:  #e8e3d5;
  /* Used only for tiny marks — never for large areas. */
  --gold:       #97803f;

  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --header-h: 84px;
  --gutter:   clamp(20px, 4vw, 64px);
  --maxw:     1600px;
  --section:  clamp(64px, 9vw, 148px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- 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(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

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

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}

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

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: #fff; }

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

/* --- utilities ----------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 940px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 92px); }
.section--wash { background: var(--wash); }

.visually-hidden {
  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; top: -100px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* Eyebrow / kicker — the small tracked label used throughout the site. */
.kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 18px;
}
.kicker--ink { color: var(--ink); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 62ch;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 34px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--ink); color: #fff; }

.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #000; }

.btn--light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--wide { width: 100%; }

/* Text link with an underline that draws in on hover. */
.link {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 4px;
}
.link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link--drawn::after { transform: scaleX(1); }
.link--drawn:hover::after { transform: scaleX(0); transform-origin: right; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
/* Over a hero image the bar is transparent and the contents go white. */
.header.is-over {
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
}
.header.is-over .logo { color: #fff; }
.header.is-over .icon-btn { color: #fff; }

.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 52px);
}

/* Two-line lockup — the brand name is too long for a single tracked line. */
.logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  line-height: 1;
  color: var(--ink);
  transition: color .4s var(--ease);
}
.logo-mark {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  /* The tracking adds trailing space; pull it back so the mark optically aligns. */
  margin-right: -0.22em;
}
.logo-sub {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  opacity: .72;
  margin-right: -0.44em;
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 38px); margin-left: 10px; }

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  padding: 30px 0;
  white-space: nowrap;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 24px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover::after,
.nav__item.is-open .nav__link::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header__spacer { flex: 1 1 auto; }

.header__tools { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; color: var(--muted);
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
.icon-btn:hover { color: var(--ink); }
.header.is-over .icon-btn:hover { color: #fff; opacity: .7; }
.icon-btn svg { width: 17px; height: 17px; }

.burger { display: none; width: 34px; height: 34px; }
.burger span {
  display: block; width: 20px; height: 1.5px; background: currentColor; margin: 4px auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
/* Burger becomes a cross while the drawer is open. */
body.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* The drawer sits below the bar so the burger stays reachable, which means the
   bar can no longer be transparent over the hero. */
body.nav-open .header {
  background: var(--paper);
  border-bottom-color: var(--line);
  color: var(--ink);
}
body.nav-open .header .logo,
body.nav-open .header .icon-btn { color: var(--ink); }

/* --- mega menu ----------------------------------------------------------- */
.nav__item { position: static; }

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
  box-shadow: 0 24px 48px -32px rgba(22,22,25,.22);
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }

.mega__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 52px var(--gutter) 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 44px;
}
.mega__col-title {
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--faint);
  margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.mega__list li + li { margin-top: 11px; }
.mega__list a {
  font-size: 14.5px; color: var(--ink-70);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
  display: inline-block;
}
.mega__list a:hover { color: var(--ink); padding-left: 6px; }
.mega__count { color: var(--faint); font-size: 12px; margin-left: 4px; }

.mega__feature {
  grid-column: span 1;
  border-left: 1px solid var(--line);
  padding-left: 40px;
}
.mega__feature img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 18px; }
.mega__feature h4 { font-size: 17px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.mega__feature p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* --- mobile drawer ------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: var(--paper);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
  padding: calc(var(--header-h) + 24px) var(--gutter) 60px;
  display: none;
}
.drawer.is-open { transform: translateX(0); }

.drawer__group + .drawer__group { margin-top: 8px; border-top: 1px solid var(--line); }
.drawer__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; text-align: left;
}
.drawer__toggle span:last-child { font-size: 18px; font-weight: 400; transition: transform .3s var(--ease); }
.drawer__group.is-open .drawer__toggle span:last-child { transform: rotate(45deg); }
.drawer__panel { display: none; padding: 0 0 22px; }
.drawer__group.is-open .drawer__panel { display: block; }
.drawer__panel h4 {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin: 18px 0 10px;
}
.drawer__panel li + li { margin-top: 10px; }
.drawer__panel a { font-size: 15px; color: var(--ink-70); }
.drawer__foot { margin-top: 36px; display: flex; gap: 18px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: grid;
  isolation: isolate;
  background: var(--wash);
}
.hero--short { min-height: min(66svh, 620px); }

.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }

.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.hero__slide.is-active .hero__media img { transform: scale(1); }
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,26,20,.66) 0%, rgba(9,26,20,.38) 42%, rgba(9,26,20,.08) 78%),
    linear-gradient(180deg, rgba(9,26,20,.44) 0%, rgba(9,26,20,0) 34%);
}

.hero__body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--header-h) + 40px) 96px;
  color: #fff;
}
.hero__title {
  font-size: clamp(36px, 6.2vw, 94px);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.015em;
  white-space: pre-line;
  max-width: 16ch;
  margin: 0 0 34px;
  text-wrap: balance;
}
.hero__cta { align-self: flex-start; }

.hero__nav {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}
.hero__dots { display: flex; gap: 10px; }
.hero__dot {
  width: 30px; height: 2px; background: rgba(255,255,255,.4);
  transition: background .35s var(--ease);
}
.hero__dot.is-active { background: #fff; }
.hero__arrows { display: flex; gap: 4px; }
.hero__arrow {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4); color: #fff;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.hero__arrow:hover { background: #fff; color: var(--ink); }
.hero__arrow svg { width: 13px; height: 13px; }

/* Inner-page banner (no slider). */
.banner {
  position: relative;
  padding-block: calc(var(--header-h) + clamp(56px, 8vw, 110px)) clamp(48px, 7vw, 96px);
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.banner__title {
  font-size: clamp(32px, 5vw, 68px);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.banner .lede { max-width: 66ch; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12px; color: var(--faint); margin: 0 0 26px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink); }
.crumbs .sep { opacity: .5; }

/* ==========================================================================
   Collections carousel
   ========================================================================== */
.rail {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Without this, mandatory snapping jumps past the rail's own start padding
     and clips the first card against the viewport edge. */
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
}
.rail::-webkit-scrollbar { display: none; }

.rail__item {
  position: relative;
  flex: 0 0 clamp(250px, 24vw, 380px);
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--wash);
  isolation: isolate;
}
.rail__item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.rail__item:hover img { transform: scale(1.05); }
.rail__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,26,20,.04) 28%, rgba(9,26,20,.72) 100%);
}
.rail__body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 28px; color: #fff;
}
.rail__name {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  margin: 0 0 4px;
}
.rail__sub { font-size: 12.5px; opacity: .8; margin: 0 0 14px; }

.rail-controls { display: flex; gap: 4px; }
.rail-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.rail-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-btn svg { width: 13px; height: 13px; }

/* ==========================================================================
   Section headers
   ========================================================================== */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sec-head__title {
  font-size: clamp(26px, 3.4vw, 46px);
  text-transform: uppercase;
  margin: 0;
}
.sec-head__note { color: var(--muted); font-size: 15px; margin: 10px 0 0; max-width: 52ch; }

/* ==========================================================================
   Product grid
   ========================================================================== */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(30px, 3vw, 52px) clamp(18px, 2vw, 32px);
}

.card { display: block; position: relative; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--wash);
  margin-bottom: 18px;
}
/* Supplied photography runs from 0.56 to 1.78 in aspect ratio. `cover` would
   slice a wide sofa shot down to its middle third, so the whole frame is shown
   and letterboxed against the card instead. */
.card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}
.card__media img + img { opacity: 0; }
.card:hover .card__media img { transform: scale(1.04); }
.card:hover .card__media img + img { opacity: 1; }

.card__name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600; letter-spacing: -0.005em;
  margin: 0 0 5px;
}
.card__meta {
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600; letter-spacing: .20em; text-transform: uppercase;
  color: var(--faint);
  margin: 0;
}
.card__tags { margin-top: 9px; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Filter bar
   ========================================================================== */
/* Stacked filter rows share one border set, so the gaps stay even. */
.filterbar {
  border-top: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 10px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.chip {
  border: 1px solid var(--line);
  padding: 9px 18px;
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters__spacer { flex: 1 1 auto; }
.filters__count { font-size: 13px; color: var(--faint); white-space: nowrap; }

.search-row { display: flex; gap: 0; max-width: 420px; width: 100%; }
.search-row input {
  flex: 1; border: 1px solid var(--line); border-right: 0; padding: 11px 14px;
  font-size: 14px; background: var(--paper);
}
.search-row button {
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  padding: 0 20px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 600;
}

/* Compact select used in the filter bar. */
.select {
  border: 1px solid var(--line);
  padding: 9px 34px 9px 14px;
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f6a63' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 10px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.select:focus { outline: none; border-color: var(--ink); color: var(--ink); }

/* ==========================================================================
   Product detail
   ========================================================================== */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: start;
  padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px));
  padding-bottom: var(--section);
}

.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--wash);
  overflow: hidden;
}
/* Same reasoning as the listing card — never crop a supplied photograph. */
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery__thumb {
  width: 84px; aspect-ratio: 1; background: var(--wash); overflow: hidden;
  border: 1px solid var(--line); padding: 0;
  transition: border-color .3s var(--ease), opacity .3s var(--ease);
  opacity: .78;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.is-on, .gallery__thumb:hover { opacity: 1; border-color: var(--ink); }

.pdp__title { font-size: clamp(30px, 3.6vw, 50px); margin: 0 0 8px; text-transform: uppercase; }
.pdp__collection {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 26px; display: inline-block;
}
.pdp__collection:hover { color: var(--ink); }
.pdp__desc { font-size: 16.5px; line-height: 1.68; color: var(--ink-70); margin: 0 0 40px; max-width: 56ch; }

.spec { margin: 0 0 34px; }
.spec__title {
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.spec__list { display: grid; gap: 9px; }
.spec__row { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 16px; font-size: 15px; }
.spec__row dt { color: var(--faint); }
.spec__row dd { margin: 0; color: var(--ink-70); }

.notes { display: flex; flex-wrap: wrap; gap: 8px; }
.note-pill {
  border: 1px solid var(--line); padding: 7px 15px; font-size: 13px; color: var(--ink-70);
  background: var(--wash);
}

/* Available sizes — one line per size, ruled like a spec sheet. */
.sizes { display: grid; gap: 0; font-size: 15px; color: var(--ink-70); }
.sizes li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums;
}
.sizes li:last-child { border-bottom: 0; }

.packs { display: flex; flex-wrap: wrap; gap: 8px; }
.pack-btn {
  border: 1px solid var(--line); padding: 11px 20px; font-size: 13.5px; color: var(--ink-70);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.pack-btn:hover { border-color: var(--ink); color: var(--ink); }
.pack-btn.is-on { border-color: var(--ink); color: var(--ink); background: var(--wash); }

.pdp__foot { margin-top: 8px; }
.pdp__hint { font-size: 13px; color: var(--faint); margin: 14px 0 0; }

/* ==========================================================================
   Editorial blocks
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.split__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--wash); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split__media { order: 2; }

.statement {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.9vw, 40px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin: 0;
}

.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.figure { background: var(--paper); padding: clamp(26px, 3vw, 44px); }
.figure__n {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 50px); font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 6px; line-height: 1;
}
.figure__l { font-size: 13px; color: var(--muted); margin: 0; }

/* Journal cards */
.grid-journal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 3vw, 48px);
}
.jcard__media { aspect-ratio: 3/2; overflow: hidden; background: var(--wash); margin-bottom: 18px; }
.jcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.jcard:hover .jcard__media img { transform: scale(1.04); }
.jcard__meta {
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 9px;
  display: flex; gap: 10px; align-items: center;
}
.jcard__title { font-size: 19px; font-weight: 600; margin: 0 0 9px; letter-spacing: -0.01em; }
.jcard__ex { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Numbered pagination, as on the reference site. */
.pager { display: flex; gap: 2px; justify-content: center; margin-top: clamp(36px, 4vw, 60px); }
.pager button {
  min-width: 38px; height: 38px; border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--muted);
  transition: all .25s var(--ease);
}
.pager button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.pager button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager button:disabled { opacity: .35; cursor: default; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 13px 15px;
  font-size: 15px;
  border-radius: 0;
  transition: border-color .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f6a63' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 11px;
  padding-right: 38px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink); outline: none; box-shadow: inset 0 0 0 1px var(--ink);
}
.field__hint { font-size: 12.5px; color: var(--faint); margin: 7px 0 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note {
  padding: 13px 16px; font-size: 14px; border-left: 2px solid var(--ink); background: var(--wash);
}
.form-note--bad { border-color: #b23b3b; background: #fdf5f5; color: #8f2f2f; }
.form-note--good { border-color: #2c7a4b; background: #f4f9f6; color: #22603a; }

/* ==========================================================================
   Modal / panel
   ========================================================================== */
.overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(22,22,25,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
  display: grid;
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* Side panel used by the enquiry form. */
.panel {
  justify-self: end;
  width: min(100%, 520px);
  height: 100%;
  background: var(--paper);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 52px);
  transform: translateX(24px);
  transition: transform .45s var(--ease);
}
.overlay.is-open .panel { transform: translateX(0); }

/* Centred dialog used by the newsletter popup. */
.dialog {
  place-self: center;
  width: min(100% - 32px, 940px);
  max-height: calc(100% - 48px);
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  transform: translateY(14px);
  transition: transform .45s var(--ease);
}
.overlay.is-open .dialog { transform: translateY(0); }
.dialog__media { background: var(--wash); }
.dialog__media img { width: 100%; height: 100%; object-fit: cover; }
.dialog__body { padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: center; }

.panel__head, .dialog__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  margin-bottom: 26px;
}
.panel__title { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.panel__sub { font-size: 14px; color: var(--muted); margin: 7px 0 0; }

.close-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  flex: 0 0 auto;
}
.close-btn:hover { color: var(--ink); }
.close-btn svg { width: 13px; height: 13px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink-deep); color: #b9c9bf; padding-top: clamp(56px, 6vw, 92px); }
.footer a { color: #b9c9bf; }
.footer a:hover { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(46px, 5vw, 76px);
}
.footer__mark {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: #fff;
  margin: 0 0 4px; margin-right: -0.22em; line-height: 1.2;
}
.footer__submark {
  font-family: var(--font-display); font-size: 9px; font-weight: 500;
  letter-spacing: .44em; text-transform: uppercase; color: #7f9689;
  margin: 0 0 20px; margin-right: -0.44em;
}
.footer__blurb { font-size: 14.5px; line-height: 1.68; max-width: 42ch; margin: 0 0 22px; }
.footer__mail { font-size: 14.5px; color: #fff; }

.footer__title {
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: #fff; margin: 0 0 18px;
}
.footer__list li + li { margin-top: 10px; }
.footer__list a { font-size: 14px; }

.footer__sub input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #33493f;
  padding: 11px 0; color: #fff; font-size: 14.5px;
}
.footer__sub input::placeholder { color: #6d8378; }
.footer__sub input:focus { outline: none; border-bottom-color: #fff; }
.footer__sub button {
  margin-top: 16px; border: 1px solid #33493f; color: #fff; padding: 12px 26px;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.footer__sub button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.footer__msg { font-size: 13px; margin: 12px 0 0; color: #fff; }

.footer__bar {
  border-top: 1px solid #1d382e;
  padding-block: 26px;
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center;
  font-size: 12.5px; color: #7f9689;
}
.footer__bar .footer__spacer { flex: 1 1 auto; }
.footer__social { display: flex; gap: 14px; }
.footer__social a { display: grid; place-items: center; width: 26px; height: 26px; }
.footer__social svg { width: 15px; height: 15px; }

/* ==========================================================================
   Motion
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.skeleton {
  background: linear-gradient(90deg, var(--wash) 25%, var(--wash-deep) 37%, var(--wash) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.empty {
  padding: clamp(48px, 7vw, 96px) 0;
  text-align: center;
  color: var(--muted);
}
.empty h3 { font-size: 20px; text-transform: uppercase; margin: 0 0 10px; color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .mega__feature { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .burger { display: block; }
  .drawer { display: block; }
  .header__tools .icon-btn.is-social { display: none; }
  .logo-mark { font-size: 13.5px; letter-spacing: .18em; margin-right: -0.18em; }
  .logo-sub { font-size: 8px; letter-spacing: .36em; margin-right: -0.36em; }
  .dialog { grid-template-columns: 1fr; }
  .dialog__media { display: none; }
  .split--reverse .split__media { order: 0; }
  .hero__nav { bottom: 26px; }
}

@media (max-width: 760px) {
  /* Wrapping 18 chips pushes the products a full screen down; swipe instead. */
  .filters--chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
  }
  .filters--chips::-webkit-scrollbar { display: none; }
  .search-row { max-width: none; }
}

@media (max-width: 620px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .card__name { font-size: 15px; }
  .gallery__thumb { width: 62px; }
  .spec__row { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .panel { width: 100%; }
}

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

@media print {
  .header, .footer, .overlay, .hero__nav, .rail-controls { display: none !important; }
}
