/* ============================================================
   EMBERLINE FORGE — dark industrial luxury
   Fraunces display · Archivo body · IBM Plex Mono spec data
   Crafted by Root to Peak Studio
   ============================================================ */

:root {
  --bg: #0B0A09;
  --panel: #14120F;
  --panel-2: #1C1915;
  --line: #2A2620;
  --line-2: #3A362E;
  --ink: #F2EDE6;
  --ink-2: #A89F93;
  --ink-3: #6E675C;
  --ember: #FF6B1A;
  --ember-2: #FFB13D;
  --ember-grad: linear-gradient(135deg, #FF6B1A 0%, #FFB13D 100%);
  --glow: 0 0 24px rgba(255, 107, 26, 0.35), 0 0 64px rgba(255, 107, 26, 0.15);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1360px;
  --pad: clamp(20px, 5vw, 72px);
  --display: 'Fraunces', serif;
  --body: 'Archivo', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 0.8 0 0 0 0 0.6 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: rgba(255, 107, 26, 0.35);
  color: var(--ink);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ------------------------------ buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ember-grad);
  color: #16100A;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 2px;
  border: 0;
  box-shadow: var(--glow);
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--spring);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(255, 107, 26, 0.55), 0 0 90px rgba(255, 107, 26, 0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid var(--line-2);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--spring);
}

.btn-ghost:hover {
  border-color: var(--ember);
  background: rgba(255, 107, 26, 0.06);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ------------------------------ header ------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(11, 10, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 8px rgba(255, 107, 26, 0.6));
}

.logo-word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-word em {
  font-style: normal;
  color: var(--ember-2);
}

.site-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.site-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--ink);
  border-color: var(--ember);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  flex-shrink: 0;
}

.cart-btn:hover {
  border-color: var(--ember);
  background: rgba(255, 107, 26, 0.06);
}

.cart-count {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  border-radius: 999px; /* status badge — pills allowed here only */
  background: var(--panel-2);
  color: var(--ink-2);
  padding: 0 5px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.cart-count.on {
  background: var(--ember-grad);
  color: #16100A;
  box-shadow: 0 0 12px rgba(255, 107, 26, 0.6);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--spring), opacity 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------ hero ------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* layered CSS motion behind/over the poster: ember drift + glints */
.hero-drift {
  position: absolute;
  inset: -20%;
  z-index: 1;
  background:
    radial-gradient(42% 34% at 72% 68%, rgba(255, 107, 26, 0.16), transparent 70%),
    radial-gradient(30% 26% at 62% 40%, rgba(255, 177, 61, 0.08), transparent 70%),
    radial-gradient(50% 40% at 80% 82%, rgba(255, 107, 26, 0.1), transparent 70%);
  animation: drift 16s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to { transform: translate3d(2%, -2%, 0) scale(1.06); }
}

.hero-glints {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-glints i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ember-2);
  box-shadow: 0 0 10px 2px rgba(255, 107, 26, 0.55);
  opacity: 0;
  animation: glint 7s linear infinite;
}

.hero-glints i:nth-child(1) { left: 58%; bottom: 18%; animation-delay: 0s; }
.hero-glints i:nth-child(2) { left: 72%; bottom: 10%; animation-delay: 1.4s; }
.hero-glints i:nth-child(3) { left: 66%; bottom: 26%; animation-delay: 2.8s; width: 3px; height: 3px; }
.hero-glints i:nth-child(4) { left: 84%; bottom: 20%; animation-delay: 4.2s; }
.hero-glints i:nth-child(5) { left: 48%; bottom: 12%; animation-delay: 5.6s; width: 3px; height: 3px; }

@keyframes glint {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.9; }
  60% { opacity: 0.4; }
  100% { transform: translateY(-46vh); opacity: 0; }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(11, 10, 9, 0.5) 0%, rgba(11, 10, 9, 0.22) 42%, rgba(11, 10, 9, 0.04) 72%, rgba(11, 10, 9, 0.2) 100%),
    linear-gradient(180deg, rgba(11, 10, 9, 0.45) 0%, rgba(11, 10, 9, 0.03) 32%, rgba(11, 10, 9, 0.78) 92%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 150px var(--pad) 84px;
}

.hero-copy {
  max-width: 520px;
  padding: 26px 44px 28px 24px;
  background: radial-gradient(150% 130% at 0% 100%, rgba(11, 10, 9, 0.85) 0%, rgba(11, 10, 9, 0.55) 52%, rgba(11, 10, 9, 0) 76%);
  border-left: 2px solid var(--ember);
}

.hero-eyebrow {
  color: var(--ember-2);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--ember-grad);
  box-shadow: 0 0 8px rgba(255, 107, 26, 0.8);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 13ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.65);
}

.hero h1 em {
  font-style: normal;
  background: var(--ember-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin-top: 16px;
  max-width: 40ch;
  font-size: 15px;
  color: #C9C1B4;
}

.hero-cta {
  margin-top: 26px;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-cta .btn { padding: 13px 24px; font-size: 13px; }
.hero-cta .btn-ghost { padding: 12px 22px; font-size: 13px; }

.hero-specline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid var(--line);
  background: rgba(11, 10, 9, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-specline .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 44px;
  padding-top: 16px;
  padding-bottom: 16px;
  color: var(--ink-3);
}

.hero-specline b {
  color: var(--ink-2);
  font-weight: 500;
}

/* ------------------------------ sections ------------------------------ */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

.section-alt {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-chamfer {
  clip-path: polygon(0 clamp(24px, 4vw, 56px), 100% 0, 100% 100%, 0 100%);
  padding-top: clamp(110px, 14vw, 190px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px 72px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-eyebrow {
  color: var(--ember-2);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--ember-grad);
  box-shadow: 0 0 8px rgba(255, 107, 26, 0.8);
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.section-lede {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 44ch;
  padding-bottom: 6px;
}

.section-foot {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  justify-content: flex-end;
}

/* ------------------------------ product cards ------------------------------ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--spring), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 107, 26, 0.07);
}

.card-media {
  position: relative;
  display: block;
  background: #0D0C0A;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s var(--spring);
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-specplate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  font-size: 10px;
  color: var(--ember-2);
  background: linear-gradient(180deg, rgba(11, 10, 9, 0) 0%, rgba(11, 10, 9, 0.92) 55%);
  transform: translateY(102%);
  transition: transform 0.45s var(--spring);
}

.card:hover .card-specplate,
.card:focus-within .card-specplate {
  transform: translateY(0);
}

.card-plate {
  padding: 18px 18px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-3);
}

.card-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.card-name a {
  transition: color 0.3s var(--ease);
}

.card-name a:hover {
  color: var(--ember-2);
}

.card-sub {
  font-size: 13px;
  color: var(--ink-2);
}

.card-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-price {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
}

.card-add {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: color 0.3s var(--ease), transform 0.35s var(--spring);
}

.card-add:hover {
  color: var(--ink);
  transform: translateX(3px);
}

/* ------------------------------ category band ------------------------------ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  padding: 26px 24px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  overflow: hidden;
  transition: transform 0.45s var(--spring);
}

.cat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 110%, rgba(255, 107, 26, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.cat-tile:hover {
  transform: translateY(-6px);
}

.cat-tile:hover::before {
  opacity: 1;
}

.cat-tile img {
  position: absolute;
  top: -6%;
  right: -14%;
  width: 74%;
  opacity: 0.85;
  transition: transform 0.6s var(--spring);
}

.cat-tile:hover img {
  transform: scale(1.06) rotate(-1.5deg);
}

.cat-num {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--ink-3);
  font-size: 11px;
}

.cat-tile h3 {
  position: relative;
  font-family: var(--display);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.cat-tile p {
  position: relative;
  color: var(--ink-2);
  font-size: 13px;
  margin-top: 6px;
}

.cat-link {
  position: relative;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ember-2);
  font-size: 11px;
}

/* ------------------------------ process ------------------------------ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px 24px 26px;
  overflow: hidden;
}

.step::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ember-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.step:hover::after {
  transform: scaleX(1);
}

.step-num {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  line-height: 1;
  display: block;
}

.step-label {
  margin-top: 20px;
  color: var(--ember-2);
  font-size: 11px;
}

.step h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  margin-top: 6px;
  letter-spacing: -0.01em;
}

.step p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 14px;
}

.step-spec {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  color: var(--ink-3);
  font-size: 10px;
}

/* ------------------------------ proof ------------------------------ */
.con-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.con-strip span {
  flex: 1 1 auto;
  text-align: center;
  padding: 20px 26px;
  color: var(--ink-3);
  border-right: 1px solid var(--line);
  white-space: nowrap;
  font-size: 11px;
}

.con-strip span:last-child {
  border-right: 0;
}

.con-strip b {
  color: var(--ink-2);
  font-weight: 500;
}

.quote-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-stars {
  color: var(--ember-2);
  letter-spacing: 0.3em;
  font-size: 13px;
  text-shadow: 0 0 12px rgba(255, 107, 26, 0.5);
}

.quote blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.quote figcaption {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 10px;
}

/* ------------------------------ signup ------------------------------ */
.signup {
  position: relative;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  padding: clamp(44px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px 72px;
  align-items: center;
  overflow: hidden;
}

.signup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 85% 100%, rgba(255, 107, 26, 0.16), transparent 70%);
  pointer-events: none;
}

.signup h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.signup p {
  margin-top: 14px;
  color: var(--ink-2);
  max-width: 46ch;
}

.signup form {
  position: relative;
  display: flex;
  gap: 12px;
}

.signup input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 15px 18px;
  transition: border-color 0.3s var(--ease);
}

.signup input::placeholder {
  color: var(--ink-3);
}

.signup input:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 1px var(--ember), 0 0 20px rgba(255, 107, 26, 0.25);
}

.signup-done {
  font-family: var(--display);
  font-size: 20px;
  color: var(--ember-2);
}

/* ------------------------------ footer ------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  background: #080706;
  padding: clamp(56px, 7vw, 90px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: clamp(48px, 6vw, 72px);
}

.footer-brand p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 14px;
  max-width: 34ch;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  color: var(--ink-2);
  font-size: 14px;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--ember-2);
}

.footer-legal {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer-legal .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--ink-3);
  font-size: 11px;
}

.credit a {
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.credit a:hover {
  color: var(--ember-2);
  border-color: var(--ember);
}

.credit .credit-cta {
  color: var(--ember-2);
  border-color: transparent;
}

/* ------------------------------ cart drawer ------------------------------ */
.drawer-veil {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(5, 4, 3, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.drawer-veil.open {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 960;
  width: min(440px, 100vw);
  background: var(--panel);
  border-left: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.42s var(--ease);
  box-shadow: -40px 0 90px rgba(0, 0, 0, 0.6);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.drawer-eyebrow {
  color: var(--ember-2);
  font-size: 10px;
}

.drawer-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.015em;
  margin-top: 4px;
}

.drawer-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 14px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.drawer-close:hover {
  border-color: var(--ember);
  background: rgba(255, 107, 26, 0.06);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 26px;
}

.drawer-empty {
  padding: 60px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.drawer-empty-title {
  font-family: var(--display);
  font-size: 23px;
}

.drawer-empty-sub {
  color: var(--ink-2);
  font-size: 14px;
  max-width: 30ch;
  margin-bottom: 12px;
}

.cart-line {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #0D0C0A;
  flex-shrink: 0;
}

.cart-info {
  flex: 1;
  min-width: 0;
}

.cart-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
}

.cart-variant {
  color: var(--ink-3);
  font-size: 10px;
  margin-top: 4px;
}

.cart-qty {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 2px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.qty-btn:hover {
  color: var(--ember-2);
  background: rgba(255, 107, 26, 0.07);
}

.qty-val {
  min-width: 30px;
  text-align: center;
  font-size: 12px;
}

.cart-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-price {
  font-family: var(--display);
  font-size: 17px;
}

.cart-remove {
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  transition: color 0.25s var(--ease);
}

.cart-remove:hover {
  color: var(--ember);
}

.drawer-foot {
  border-top: 1px solid var(--line-2);
  padding: 20px 26px 26px;
  background: var(--panel-2);
}

.drawer-sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--ink-2);
}

.drawer-subval {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
}

.drawer-note {
  margin: 8px 0 16px;
  color: var(--ink-3);
  font-size: 9px;
}

.drawer-demo {
  position: absolute;
  inset: 0;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 40px 34px;
  text-align: center;
  align-items: center;
}

.demo-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.015em;
}

.demo-text {
  color: var(--ink-2);
  font-size: 14px;
  max-width: 32ch;
}

.demo-credit {
  color: var(--ember-2);
  font-size: 10px;
  margin: 8px 0;
}

/* ------------------------------ toast ------------------------------ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 990;
  transform: translate(-50%, 20px);
  background: var(--panel-2);
  border: 1px solid var(--ember);
  border-radius: 2px;
  color: var(--ember-2);
  font-size: 11px;
  padding: 13px 22px;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--glow);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--spring);
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------ shop page ------------------------------ */
.page-head {
  padding: 150px 0 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.filter-btn {
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--ink-2);
  font-size: 11px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.filter-btn:hover {
  color: var(--ink);
  border-color: var(--ember);
}

.filter-btn.active {
  color: var(--ember-2);
  border-color: var(--ember);
  background: rgba(255, 107, 26, 0.07);
  box-shadow: 0 0 16px rgba(255, 107, 26, 0.15);
}

.shop-count {
  color: var(--ink-3);
  margin-bottom: 18px;
}

/* ------------------------------ PDP ------------------------------ */
.breadcrumbs {
  padding: 108px 0 0;
  color: var(--ink-3);
  font-size: 10px;
}

.breadcrumbs a {
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--ember-2);
}

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding-top: 34px;
  padding-bottom: clamp(70px, 9vw, 120px);
  align-items: start;
}

.gallery-main {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #0D0C0A;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-thumbs {
  margin-top: 14px;
  display: flex;
  gap: 12px;
}

.thumb {
  width: 72px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: #0D0C0A;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
  padding: 0;
}

.thumb img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.thumb:hover {
  opacity: 0.85;
}

.thumb.active {
  opacity: 1;
  border-color: var(--ember);
  box-shadow: 0 0 14px rgba(255, 107, 26, 0.3);
}

.pdp-cat {
  color: var(--ember-2);
  font-size: 11px;
}

.pdp-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 12px;
}

.pdp-sub {
  color: var(--ink-2);
  font-size: 16px;
  margin-top: 8px;
}

.pdp-price {
  font-family: var(--display);
  font-weight: 500;
  font-size: 34px;
  margin-top: 20px;
}

.pdp-price::after {
  content: ' USD';
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  vertical-align: middle;
}

.pdp-blurb {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 52ch;
}

.variant-wrap {
  margin-top: 30px;
}

.variant-label {
  color: var(--ink-3);
  font-size: 10px;
  margin-bottom: 12px;
}

.variant-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.variant {
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.variant:hover {
  border-color: var(--ember);
}

.variant.active {
  border-color: var(--ember);
  background: rgba(255, 107, 26, 0.06);
  box-shadow: 0 0 18px rgba(255, 107, 26, 0.14);
}

.variant-size {
  font-size: 12px;
  color: var(--ink);
}

.variant.active .variant-size {
  color: var(--ember-2);
}

.variant-note {
  font-size: 11px;
  color: var(--ink-3);
}

.variant-price {
  font-size: 11px;
  color: var(--ink-2);
  margin-top: 6px;
}

.pdp-buy {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--ink-3);
  font-size: 10px;
  margin-top: 6px;
}

.spec-block {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.spec-head {
  background: var(--panel);
  padding: 13px 18px;
  color: var(--ember-2);
  font-size: 10px;
  border-bottom: 1px solid var(--line);
}

.spec-table {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row dt {
  color: var(--ink-3);
  font-size: 10px;
}

.spec-row dd {
  color: var(--ink-2);
  font-size: 11px;
  text-align: right;
}

/* ------------------------------ reveal motion ------------------------------ */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

.rv:nth-child(2) { transition-delay: 0.07s; }
.rv:nth-child(3) { transition-delay: 0.14s; }
.rv:nth-child(4) { transition-delay: 0.21s; }

/* ------------------------------ reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-drift,
  .hero-glints i { animation: none; }
  .card,
  .card-media img,
  .cat-tile,
  .btn,
  .btn-ghost { transition: none; }
  .drawer,
  .drawer-veil,
  .toast { transition-duration: 0.01s; }
}

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 1060px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .signup { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-lede { padding-bottom: 0; }
  .quote-grid { grid-template-columns: 1fr; }
  .con-strip { flex-direction: column; gap: 0; }
  .con-strip span { border-right: 0; border-bottom: 1px solid var(--line); text-align: left; padding: 14px 4px; }
  .con-strip span:last-child { border-bottom: 0; }
  .hero-specline .wrap { gap: 6px 24px; }
  .hero-specline .spec-hide-m { display: none; }

  .nav-toggle { display: flex; }
  .header-inner { gap: 12px; }
  .logo { gap: 9px; }
  .logo-word { font-size: 16px; }
  .logo-mark { width: 26px; height: 26px; }
  .cart-btn { padding: 8px 10px; margin-left: auto; }
  .site-nav { margin-left: 0; }
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 890;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 10, 9, 0.97);
    border-bottom: 1px solid var(--line-2);
    padding: 8px 0 14px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .site-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav a {
    padding: 14px var(--pad);
    border-bottom: 0;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .card-plate { padding: 14px 14px 16px; }
  .card-name { font-size: 17px; }
  .card-add { font-size: 10px; white-space: nowrap; }
  .card-price { font-size: 16px; }
  .card-meta span:last-child { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .signup form { flex-direction: column; }
  .variant-row { grid-template-columns: 1fr; }
  .hero-cta .btn,
  .hero-cta .btn-ghost { width: 100%; }

  /* stacked mobile hero: video band on top, copy below on solid bg */
  .hero {
    min-height: 0;
    display: block;
    background: var(--bg);
  }
  .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    aspect-ratio: 16 / 9; /* matches hero.mp4 — zero crop, full frame visible */
    margin-top: 72px; /* clear the fixed header so the whole frame shows */
    overflow: hidden;
  }
  .hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* scrim only at the seam so the band melts into the page bg */
  .hero-shade {
    background: linear-gradient(180deg,
      rgba(11, 10, 9, 0.38) 0%,
      rgba(11, 10, 9, 0) 26%,
      rgba(11, 10, 9, 0) 58%,
      rgba(11, 10, 9, 0.55) 82%,
      rgba(11, 10, 9, 1) 100%);
  }
  .hero-inner {
    padding: 30px 20px 44px;
  }
  .hero-copy {
    max-width: none;
    padding: 0 0 0 16px;
    background: none;
  }
  .hero h1 { max-width: none; text-shadow: none; }
  .hero-specline { position: static; }
}
