/* =================================================================
   SpecReady — Stylesheet
   Design direction: Refined minimal / architectural / B2B premium
   Inspired by Apple, Nike, high-end trade catalogues
   ================================================================= */

/* ----- Reset & base ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --color-bg: #fafaf8;
  --color-bg-dark: #0a0a0a;
  --color-bg-alt: #f2f1ed;
  --color-ink: #0a0a0a;
  --color-ink-soft: #4a4a4a;
  --color-mute: #8a8a8a;
  --color-line: #e5e3dc;
  --color-line-dark: #2a2a2a;
  --color-accent: #00855a;
  --color-accent-bright: #00d68f;
  --color-gold: #c9a245;
  --color-danger: #d94545;

  --font-display: 'Boska', 'Times New Roman', Georgia, serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --max-w: 1440px;
  --gutter: clamp(24px, 5vw, 64px);
  --section-pad: clamp(80px, 12vh, 160px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-ink);
  background: var(--color-bg);
  overflow-x: hidden;
}

/* Smoothly load Boska + Satoshi from Fontshare when available; system fallback otherwise */
@font-face {
  font-family: 'Satoshi';
  src: url('https://api.fontshare.com/v2/css?f[]=satoshi@700,500,400,300&display=swap');
  font-display: swap;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ----- Typography ----- */
.display-xl {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(54px, 10vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-mute);
}
.eyebrow--accent { color: var(--color-accent); }

.lede {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  color: var(--color-ink-soft);
  font-weight: 300;
}

.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em; }

/* ----- Container ----- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----- Nav ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0);
  transition: all 0.35s var(--ease-out);
}
.nav--scrolled {
  padding: 12px 0;
  border-bottom-color: var(--color-line);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 16px;
}
.nav__brand span { color: var(--color-accent); }
.nav__links {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-ink);
  transition: width 0.3s var(--ease-out);
}
.nav__links a:hover::after { width: 100%; }
.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  transition: all 0.2s;
}
.nav__cart:hover { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-bg); }
.nav__cart-count {
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .nav__links { display: none; }
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-bg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.svg');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  color: var(--color-accent-bright);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}
.hero__title {
  color: #fafafa;
  max-width: 1100px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.25s forwards;
}
.hero__title em {
  font-style: italic;
  color: var(--color-accent-bright);
}
.hero__sub {
  max-width: 640px;
  margin-top: 40px;
  color: #c0c0c0;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.4s forwards;
}
.hero__cta-row {
  margin-top: 64px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.55s forwards;
}
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #888;
  font-size: 12px;
  letter-spacing: 0.3em;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.8s forwards, floaty 2.5s ease-in-out 1.8s infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--color-ink);
  color: var(--color-bg);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.btn--light { background: var(--color-bg); color: var(--color-ink); border-color: var(--color-line); }
.btn--light:hover { background: var(--color-ink); color: var(--color-bg); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: currentColor; color: var(--color-bg); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-accent-bright); }
.btn--lg { padding: 20px 40px; font-size: 15px; }
.btn__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ----- Sections ----- */
section { padding: var(--section-pad) 0; }

.section-header {
  margin-bottom: 64px;
  max-width: 900px;
}
.section-header .eyebrow { margin-bottom: 24px; }
.section-header h2 { margin-bottom: 24px; }

/* ----- Values / differentiation ----- */
.values {
  background: var(--color-bg);
  position: relative;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}
.values__item {
  padding: 48px 40px;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease-out);
}
.values__item:hover { background: var(--color-bg-alt); }
.values__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-mute);
  margin-bottom: 24px;
  display: block;
  letter-spacing: 0.2em;
}
.values__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.values__body {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

/* ----- Products ----- */
.products {
  background: var(--color-bg-dark);
  color: var(--color-bg);
}
.products .section-header .eyebrow { color: var(--color-accent-bright); }
.products .section-header h2 { color: #fafafa; }
.products .section-header .lede { color: #bbb; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: #13171d;
  border: 1px solid #1f2630;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 30px 60px rgba(0, 214, 143, 0.12);
}
.product-card__media {
  aspect-ratio: 1 / 1.25;
  overflow: hidden;
  background: #0a0a0a;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.product-card:hover .product-card__media img { transform: scale(1.03); }

.product-card__body {
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-accent-bright);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.product-card__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  color: #fafafa;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.product-card__spec {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #1f2630;
}
.product-card__price {
  font-size: 24px;
  font-weight: 700;
  color: #fafafa;
}
.product-card__price small { font-size: 12px; color: #888; font-weight: 400; margin-left: 6px; }
.product-card__view {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
}

/* ----- PDP: Product Detail Page ----- */
.pdp {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}
.pdp__crumbs {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-mute);
  margin-bottom: 40px;
}
.pdp__crumbs a:hover { color: var(--color-ink); }

.pdp__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .pdp__layout { grid-template-columns: 1fr; gap: 40px; } }

.pdp__media {
  background: var(--color-bg-alt);
  border-radius: 8px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.pdp__media img { width: 100%; display: block; }

.pdp__info {
  padding: 8px 0;
}
.pdp__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.pdp__tag--accent { background: var(--color-accent); color: #fff; }
.pdp__tag--premium { background: var(--color-gold); color: #fff; }
.pdp__tag--tier1 { background: var(--color-accent-bright); color: var(--color-bg-dark); }

.pdp__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.pdp__sub {
  font-size: 17px;
  color: var(--color-ink-soft);
  margin-bottom: 40px;
  line-height: 1.5;
}
.pdp__price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 32px;
}
.pdp__price {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pdp__price-gst { font-size: 14px; color: var(--color-mute); }
.pdp__stock {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdp__stock::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 133, 90, 0.2);
}

.pdp__qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 20px;
  overflow: hidden;
}
.pdp__qty button {
  width: 44px; height: 44px;
  font-size: 20px;
  transition: background 0.2s;
}
.pdp__qty button:hover { background: var(--color-bg-alt); }
.pdp__qty input {
  width: 60px;
  text-align: center;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  background: transparent;
}

.pdp__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.pdp__cta {
  width: 100%;
  justify-content: center;
  padding: 20px;
}

/* ----- Spec dropdown (hide nasty URLs) ----- */
.spec-drop {
  position: relative;
  width: 100%;
}
.spec-drop__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: transparent;
  color: var(--color-ink);
  transition: all 0.3s;
}
.spec-drop__toggle:hover { border-color: var(--color-ink); }
.spec-drop__toggle[aria-expanded="true"] {
  border-radius: 24px 24px 0 0;
  border-bottom-color: transparent;
}
.spec-drop__icon {
  transition: transform 0.3s var(--ease-out);
}
.spec-drop__toggle[aria-expanded="true"] .spec-drop__icon {
  transform: rotate(180deg);
}
.spec-drop__menu {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-ink);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  padding: 8px;
  z-index: 5;
  display: none;
  max-height: 0;
  overflow: hidden;
}
.spec-drop[aria-expanded="true"] .spec-drop__menu,
.spec-drop__menu[aria-hidden="false"] {
  display: block;
  max-height: 400px;
  animation: dropIn 0.3s var(--ease-out);
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.spec-drop__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 14px;
  border-radius: 16px;
  transition: background 0.2s;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.spec-drop__item:hover { background: var(--color-bg-alt); }
.spec-drop__item-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--color-mute);
}
.spec-drop__item-meta {
  margin-left: auto;
  font-size: 12px;
  color: var(--color-mute);
  letter-spacing: 0.05em;
}

/* ----- Spec blocks on PDP ----- */
.pdp__details {
  margin-top: 64px;
}
.spec-table {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  font-size: 15px;
  margin-bottom: 48px;
}
.spec-table__row {
  display: contents;
}
.spec-table__row > * {
  padding: 18px 0;
  border-top: 1px solid var(--color-line);
}
.spec-table__row:last-child > * {
  border-bottom: 1px solid var(--color-line);
}
.spec-table__key {
  color: var(--color-mute);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.spec-table__val { font-weight: 500; }

.compliance-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}
.compliance-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.compliance-card__badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ----- Footer ----- */
.footer {
  background: var(--color-bg-dark);
  color: #c0c0c0;
  padding: 80px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__brand h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
}
.footer__brand p { font-size: 14px; color: #888; max-width: 360px; }
.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 12px; font-size: 14px; }
.footer__col a { color: #c0c0c0; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid #1f2630;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #666;
  flex-wrap: wrap;
  gap: 16px;
}

/* ----- Cart drawer ----- */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(480px, 100vw);
  height: 100vh;
  background: var(--color-bg);
  z-index: 200;
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.drawer--open { transform: translateX(0); }
.drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.drawer__backdrop--visible { opacity: 1; pointer-events: auto; }
.drawer__head {
  padding: 24px 32px;
  border-bottom: 1px solid var(--color-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer__head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
}
.drawer__close {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: background 0.2s;
}
.drawer__close:hover { background: var(--color-bg-alt); }
.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}
.drawer__empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-mute);
}
.drawer__foot {
  padding: 24px 32px;
  border-top: 1px solid var(--color-line);
  background: var(--color-bg-alt);
}
.drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}
.drawer__total-price { font-size: 24px; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
  align-items: center;
}
.cart-item__img {
  width: 80px; height: 80px;
  background: var(--color-bg-alt);
  border-radius: 6px;
  overflow: hidden;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cart-item__meta { font-size: 12px; color: var(--color-mute); }
.cart-item__ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 8px;
}
.cart-item__ctrl button {
  width: 24px; height: 24px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  font-size: 14px;
}
.cart-item__remove {
  font-size: 12px;
  color: var(--color-danger);
  margin-top: 6px;
  display: block;
}
.cart-item__price {
  text-align: right;
  font-weight: 600;
}

/* ----- Toast ----- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-ink);
  color: var(--color-bg);
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  z-index: 300;
  opacity: 0;
  transition: all 0.4s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast__check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-accent-bright);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 700;
}

/* ----- Legal pages ----- */
.legal {
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 780px;
  margin: 0 auto;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.legal .eyebrow { margin-bottom: 20px; }
.legal p { margin-bottom: 20px; font-size: 16px; line-height: 1.7; color: var(--color-ink-soft); }
.legal h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.legal h3 { font-size: 18px; font-weight: 600; margin: 32px 0 12px; }
.legal ul { margin: 16px 0 20px 24px; }
.legal li { margin-bottom: 8px; color: var(--color-ink-soft); }

/* ----- Contact form ----- */
.form-wrap {
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 640px;
  margin: 0 auto;
}
.form-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.form-wrap .lede { margin-bottom: 48px; }
.field {
  margin-bottom: 24px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mute);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-bg);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--color-ink);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ----- Feedback widget (bottom right) ----- */
.feedback-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-ink);
  color: var(--color-bg);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 50;
  transition: all 0.3s var(--ease-out);
  display: flex; align-items: center; gap: 10px;
}
.feedback-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.25); }
.feedback-launcher::before {
  content: 'AI';
  background: var(--color-accent-bright);
  color: var(--color-ink);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.feedback-modal {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 400px;
  max-width: calc(100vw - 48px);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  z-index: 51;
  padding: 24px;
  display: none;
  animation: fadeUp 0.3s var(--ease-out);
}
.feedback-modal--visible { display: block; }
.feedback-modal h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}
.feedback-modal p { font-size: 13px; color: var(--color-mute); margin-bottom: 16px; }
.feedback-modal textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  min-height: 100px;
  resize: vertical;
}
.feedback-modal__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.feedback-modal__meta {
  font-size: 11px;
  color: var(--color-mute);
}

/* ----- Reveal on scroll ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback: if JS hasn't initialised within 500ms, show everything anyway */
html.no-js [data-reveal],
html.reveals-fallback [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ----- Manifesto / story section (Apple-style big type block) ----- */
.manifesto {
  background: var(--color-bg);
  padding: var(--section-pad) 0;
  position: relative;
}
.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 1100px;
}
.manifesto__text strong { font-weight: 600; }
.manifesto__text em { color: var(--color-accent); font-style: italic; }
.manifesto__signature {
  margin-top: 80px;
  font-size: 14px;
  color: var(--color-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ----- Stats strip ----- */
.stats {
  background: var(--color-bg-alt);
  padding: 80px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
@media (max-width: 768px) { .stats__grid { grid-template-columns: 1fr 1fr; } }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-mute);
}

/* ----- Category/products listing page ----- */
.catalog-head {
  padding: 140px var(--gutter) 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.catalog-head h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.catalog-grid {
  padding: 40px var(--gutter) 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.catalog-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.catalog-filter {
  padding: 10px 20px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.catalog-filter:hover {
  border-color: var(--color-ink);
}
.catalog-filter--active {
  background: var(--color-ink);
  color: var(--color-bg);
  border-color: var(--color-ink);
}
.catalog-filter--active:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}

/* =========================================================================
   PDP hero card — multi-photo gallery frame
   Used on every product PDP. `.is-premium` modifier swaps green accent → gold.
   ========================================================================= */
.pdp__media--hero {
  position: relative;
  background: #f4f2ec;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 0;
  isolation: isolate;
  border: 1px solid rgba(10,10,10,0.06);
}
.pdp__media--hero .bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(255,255,255,0.5), transparent 70%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(10,10,10,0.06), transparent 60%);
  pointer-events: none;
}
.pdp__media--hero .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, rgba(0,0,0,0.9), transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, rgba(0,0,0,0.9), transparent 80%);
  pointer-events: none;
}
.pdp__media--hero::before {
  content: "";
  position: absolute;
  top: 64px; left: 24px;
  width: 40px; height: 1px;
  background: var(--color-accent);
  z-index: 2;
}
.pdp__media--hero.is-premium::before { background: var(--color-gold); }

.pdp__media--hero .stage {
  position: absolute;
  inset: 88px 32px 84px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px 18px;
  align-items: center;
}
.pdp__media--hero figure {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
  height: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
}
.pdp__media--hero .stage__primary { grid-column: 1 / 2; }
.pdp__media--hero .stage__primary img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.04) saturate(1.02);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pdp__media--hero .stage__primary:hover img { transform: scale(1.02); }
.pdp__media--hero .stage__primary::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%;
  bottom: 4%;
  height: 24px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(10,10,10,0.22), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}
.pdp__media--hero .stage__secondary {
  grid-column: 2 / 3;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}
.pdp__media--hero .stage__secondary img {
  width: 100%;
  max-height: 55%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.06);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pdp__media--hero .stage__secondary:hover img { transform: scale(1.03); }
.pdp__media--hero .stage__caption {
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(10,10,10,0.15);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  line-height: 1.6;
}
.pdp__media--hero .stage__caption strong {
  display: block;
  color: var(--color-ink);
  font-weight: 500;
  margin-bottom: 4px;
}
.pdp__media--hero .zoom-hint {
  position: absolute;
  bottom: 8px; right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(10,10,10,0.85);
  color: #fafaf8;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.pdp__media--hero figure:hover .zoom-hint { opacity: 1; }

.pdp__media--hero .sku {
  position: absolute;
  top: 28px; left: 72px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-mute);
  z-index: 2;
}
.pdp__media--hero .tier {
  position: absolute;
  top: 22px; right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--color-ink);
  color: #fafaf8;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 8px 16px -4px rgba(10,10,10,0.2);
}
.pdp__media--hero .tier::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent-bright);
  box-shadow: 0 0 10px rgba(0,214,143,0.7);
}
.pdp__media--hero.is-premium .tier::before {
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(201,162,69,0.8);
}
.pdp__media--hero .meta {
  position: absolute;
  left: 32px; right: 32px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(10,10,10,0.15);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  z-index: 2;
}
.pdp__media--hero .meta span { white-space: nowrap; }

@media (max-width: 600px) {
  .pdp__media--hero { aspect-ratio: 3 / 4; }
  .pdp__media--hero .stage { inset: 80px 20px 76px 20px; gap: 12px; }
  .pdp__media--hero .meta { font-size: 9px; letter-spacing: 0.15em; }
  .pdp__media--hero .sku { left: 52px; }
  .pdp__media--hero::before { left: 20px; }
}

/* =========================================================================
   Lightbox gallery — shared across all PDPs
   ========================================================================= */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__stage {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f2ec;
  border-radius: 8px;
  padding: 40px;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(250,250,248,0.3);
  color: #fafaf8;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover { background: rgba(250,250,248,0.1); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(250,250,248,0.08);
  border: 1px solid rgba(250,250,248,0.2);
  color: #fafaf8;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__nav:hover { background: rgba(250,250,248,0.18); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__caption {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  text-align: center;
  color: rgba(250,250,248,0.8);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lightbox__count {
  display: inline-block;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(250,250,248,0.3);
  color: rgba(250,250,248,0.55);
}

/* =========================================================================
   Product listing card — hero variant
   Used on products.html + category pages for SKUs that have real photography.
   `.is-premium` modifier swaps green dot → gold for SIGN-ACC-SS.
   ========================================================================= */
.product-card--hero .product-card__media {
  position: relative;
  background: #f4f2ec;
  overflow: hidden;
}
.product-card--hero .product-card__media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(255,255,255,0.5), transparent 70%),
    linear-gradient(rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, rgba(0,0,0,0.9), transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, rgba(0,0,0,0.9), transparent 80%);
  pointer-events: none;
}
.product-card--hero .product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  mix-blend-mode: multiply;
  filter: contrast(1.04) saturate(1.02);
}
.product-card--hero .product-card__tier {
  position: absolute;
  top: 16px; right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  background: var(--color-ink);
  color: #fafaf8;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 6px 14px -4px rgba(10,10,10,0.22);
}
.product-card--hero .product-card__tier::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent-bright);
  box-shadow: 0 0 8px rgba(0,214,143,0.7);
}
.product-card--hero.is-premium .product-card__tier::before {
  background: var(--color-gold);
  box-shadow: 0 0 8px rgba(201,162,69,0.8);
}
.product-card--hero .product-card__sku {
  position: absolute;
  top: 18px; left: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-mute);
  z-index: 2;
}
.product-card--hero .product-card__sku::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1px;
  background: rgba(10,10,10,0.35);
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 2px;
}
