:root {
  --ink: #17191b;
  --ink-soft: #25282b;
  --paper: #f3f0e9;
  --paper-deep: #e4ded4;
  --amber: #f1a43c;
  --amber-dark: #b86516;
  --steel: #9ba1a5;
  --line: rgba(23, 25, 27, 0.16);
  --max: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

.scroll-progress {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--amber);
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  background: var(--paper);
  padding: 0.65rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(10, 11, 12, 0.78), transparent);
  pointer-events: none;
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.header-inner {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(19, 21, 22, 0.7);
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(18, 20, 21, 0.76);
  color: #fff;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-weight: 750;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  padding: 0.65rem 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 760px;
  color: #fff;
  background: #141618;
  overflow: hidden;
}

.hero-picture,
.hero-picture::after,
.hero-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-picture {
  z-index: -2;
}

.hero-picture img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.035) translateY(var(--parallax-y, 0));
  transition: transform 100ms linear;
}

.hero-picture::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 11, 12, 0.94) 0%, rgba(10, 11, 12, 0.67) 34%, rgba(10, 11, 12, 0.08) 72%),
    linear-gradient(0deg, rgba(10, 11, 12, 0.82) 0%, transparent 52%);
}

.hero-content {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  padding: 10.5rem 0 5rem;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.3rem, 8vw, 7.3rem);
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: #1a140c;
  text-decoration: none;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease;
}

.button::after {
  content: "↗";
  margin-left: 0.7rem;
}

.button:hover {
  transform: translateY(-2px);
  background: #ffb755;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(18, 20, 21, 0.6);
  color: #fff;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section.dark {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 610px;
  margin-bottom: 0;
  color: #5c6062;
  font-size: 1.08rem;
}

.dark .section-heading p {
  color: rgba(255, 255, 255, 0.65);
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.discipline-card {
  position: relative;
  min-height: 440px;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  text-decoration: none;
  overflow: hidden;
}

.discipline-card::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 16rem;
  height: 16rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem transparent, 0 0 0 2.6rem var(--line), 0 0 0 5rem transparent, 0 0 0 5.1rem var(--line);
  transition: transform 300ms ease;
}

.discipline-card:hover::after {
  transform: scale(1.08) rotate(7deg);
}

.card-number,
.spec-label {
  color: var(--amber-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.discipline-card h3 {
  max-width: 420px;
  margin: 5rem 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -0.055em;
}

.discipline-card p {
  max-width: 450px;
  color: #666a6c;
}

.card-link {
  margin-top: 2rem;
  font-weight: 850;
}

.card-link::after {
  content: " →";
  color: var(--amber-dark);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.equipment-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: #ebe6dd;
  overflow: hidden;
}

.equipment-card::before {
  content: attr(data-machine);
  position: absolute;
  right: -0.04em;
  bottom: -0.2em;
  color: rgba(23, 25, 27, 0.055);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.09em;
  pointer-events: none;
}

.equipment-card h3 {
  max-width: 500px;
  margin: 2.8rem 0 1rem;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  letter-spacing: -0.055em;
}

.equipment-card p {
  position: relative;
  max-width: 520px;
  color: #5c6062;
}

.mini-specs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.mini-specs li {
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 750;
}

.machine-ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ink);
  color: #fff;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-set {
  display: flex;
  gap: 3rem;
  padding: 1rem 1.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-set span::before {
  content: "◆";
  margin-right: 1rem;
  color: var(--amber);
  font-size: 0.65rem;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.process-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.process-item,
.feature-item {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.process-item span {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.process-item h3,
.feature-item h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.45rem;
}

.process-item p {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 2.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner strong {
  color: #fff;
}

.page-hero {
  min-height: 620px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

.machine-tag {
  display: inline-flex;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(12, 14, 15, 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero.printing .hero-picture img {
  object-position: 60% center;
}

.page-hero.cnc .hero-picture img {
  object-position: 86% center;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.intro-grid h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
}

.intro-copy {
  font-size: 1.12rem;
  color: #54585a;
}

.spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.spec-list li {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  margin-top: 3rem;
}

.feature-item {
  border-color: var(--line);
}

.feature-item p {
  color: #64686a;
}

.spec-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.spec-tile {
  min-height: 180px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
}

.spec-value {
  display: block;
  margin-top: 1.5rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.spec-note {
  margin: 0.65rem 0 0;
  color: #666a6c;
  font-size: 0.88rem;
}

.material-lab {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.material-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.material-button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.72rem 0.9rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.material-button:hover,
.material-button[aria-pressed="true"] {
  border-color: var(--amber);
  background: var(--amber);
  color: #19130b;
}

.material-output {
  min-height: 255px;
  padding: clamp(1.6rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(241, 164, 60, 0.14), transparent 55%),
    var(--ink-soft);
}

.material-output h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
}

.material-output p {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.material-changed .material-output h3,
.material-changed .material-output p {
  animation: material-in 320ms ease both;
}

.material-changed .material-output p {
  animation-delay: 60ms;
}

@keyframes material-in {
  from { opacity: 0; transform: translateY(8px); }
}

.source-note {
  margin: 1.2rem 0 0;
  color: #74787a;
  font-size: 0.82rem;
}

.source-note a {
  text-underline-offset: 0.2em;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.75,.25,1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--amber);
  color: #1b140b;
  text-decoration: none;
}

.next-link small {
  display: block;
  margin-bottom: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.next-link strong {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.next-link > span:last-child {
  font-size: 3rem;
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 0.25rem);
    left: 1rem;
    right: 1rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(18, 20, 21, 0.97);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
  }

  .hero,
  .page-hero {
    min-height: 680px;
  }

  .hero-picture img {
    object-position: 62% center;
  }

  .hero-picture::after {
    background:
      linear-gradient(90deg, rgba(10, 11, 12, 0.9), rgba(10, 11, 12, 0.3)),
      linear-gradient(0deg, rgba(10, 11, 12, 0.88) 0%, rgba(10, 11, 12, 0.12) 74%);
  }

  .section-heading,
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .discipline-grid {
    grid-template-columns: 1fr;
  }

  .equipment-grid,
  .material-lab {
    grid-template-columns: 1fr;
  }

  .spec-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discipline-card {
    min-height: 360px;
  }

  .process-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    font-size: 0.93rem;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 5rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .spec-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .spec-dashboard {
    grid-template-columns: 1fr;
  }

  .spec-tile {
    min-height: 145px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-picture img {
    transform: none;
  }
}

/* Shop */
.shop-page {
  background: #ebe7df;
}

.shop-header {
  position: absolute;
}

.cart-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.35rem;
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
}

.cart-nav span {
  display: grid;
  min-width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-size: .72rem;
}

.shop-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  padding: 11rem 0 5rem;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.shop-hero::before {
  content: "";
  position: absolute;
  width: min(52vw, 700px);
  aspect-ratio: 1;
  right: -8vw;
  top: 2rem;
  border: 1px solid rgba(241,164,60,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(241,164,60,.025), 0 0 0 8vw rgba(241,164,60,.09), 0 0 0 16vw rgba(241,164,60,.02), 0 0 0 16.05vw rgba(241,164,60,.05);
}

.shop-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.shop-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.shop-hero-copy h1 {
  max-width: 850px;
}

.shop-hero-copy > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255,255,255,.67);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.shop-status {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(8px);
}

.shop-status > div {
  display: inline-flex;
  flex-direction: column;
  margin-left: .7rem;
}

.shop-status small,
.shop-status > span:last-child {
  color: rgba(255,255,255,.52);
  font: .68rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.shop-status > span:last-child {
  display: block;
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

.status-light {
  display: inline-block;
  width: .62rem;
  height: .62rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(241,164,60,.12);
  animation: shop-pulse 2s infinite;
}

@keyframes shop-pulse {
  50% { box-shadow: 0 0 0 10px rgba(241,164,60,0); }
}

.shop-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.shop-facts div {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem clamp(1rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
}

.shop-facts div:last-child { border-right: 0; }
.shop-facts span { color: var(--amber-dark); font: 700 .7rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.shop-facts strong { font-size: .93rem; }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.filter-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.filter-button {
  border: 1px solid var(--line);
  background: transparent;
  padding: .68rem .9rem;
  color: #575b5d;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}
.filter-button:hover,
.filter-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.product-result { color: #737779; font: .76rem ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(23,25,27,.1); }
.product-media {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ded8cf;
  background-image: linear-gradient(rgba(23,25,27,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(23,25,27,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.demo-badge,
.product-category {
  position: absolute;
  z-index: 1;
  top: 1rem;
  padding: .4rem .55rem;
  font: 800 .64rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.demo-badge { left: 1rem; background: var(--amber); }
.product-category { right: 1rem; border: 1px solid var(--line); background: rgba(243,240,233,.75); }

.product-shape { position: relative; width: 170px; height: 170px; filter: drop-shadow(18px 22px 13px rgba(23,25,27,.22)); transition: transform 260ms ease; }
.product-card:hover .product-shape { transform: rotate(-4deg) scale(1.04); }
.product-shape i { position: absolute; display: block; background: #25282b; }
.product-shape-clips i { width: 58px; height: 78px; border: 16px solid #25282b; background: transparent; border-radius: 30px 30px 12px 12px; }
.product-shape-clips i:nth-child(1){left:8px;top:10px}.product-shape-clips i:nth-child(2){right:8px;top:10px}.product-shape-clips i:nth-child(3){left:8px;bottom:0}.product-shape-clips i:nth-child(4){right:8px;bottom:0}
.product-shape-holder i:nth-child(1) { left: 18px; right: 18px; bottom: 10px; height: 30px; transform: skewX(-15deg); }
.product-shape-holder i:nth-child(2) { left: 30px; bottom: 35px; width: 24px; height: 115px; border-radius: 8px 8px 0 0; }
.product-shape-holder i:nth-child(3) { left: 72px; bottom: 35px; width: 24px; height: 88px; border-radius: 8px 8px 0 0; }
.product-shape-holder i:nth-child(4) { right: 30px; bottom: 35px; width: 24px; height: 132px; border-radius: 8px 8px 0 0; }
.product-shape-stand i:nth-child(1) { left: 23px; right: 23px; bottom: 8px; height: 28px; border-radius: 50%; }
.product-shape-stand i:nth-child(2) { width: 26px; height: 105px; bottom: 28px; left: 72px; transform: rotate(12deg); }
.product-shape-stand i:nth-child(3) { width: 110px; height: 34px; left: 41px; top: 26px; border-radius: 50% 50% 12px 12px; transform: rotate(12deg); }
.product-shape-stand i:nth-child(4) { width: 44px; height: 17px; left: 16px; top: 67px; border-radius: 10px; transform: rotate(-35deg); }

.product-info { padding: 1.45rem; }
.product-info h3 { margin-bottom: .7rem; font-size: 1.5rem; letter-spacing: -.035em; }
.product-info p { min-height: 78px; margin-bottom: 1rem; color: #626668; font-size: .92rem; }
.product-detail { color: var(--amber-dark); font: 800 .7rem ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .08em; }
.product-buy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.product-buy strong { font-size: 1.15rem; }
.product-buy button { border: 0; background: var(--ink); color: #fff; padding: .72rem .82rem; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.product-buy button:hover { background: var(--amber-dark); }
.product-buy button span { color: var(--amber); margin-left: .4rem; }

.custom-grid { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(2rem, 8vw, 8rem); align-items: end; }
.custom-grid h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); letter-spacing: -.055em; }
.custom-grid > div:last-child p { color: rgba(255,255,255,.65); font-size: 1.08rem; }

.cart-backdrop { position: fixed; z-index: 70; inset: 0; background: rgba(10,11,12,.64); backdrop-filter: blur(3px); }
.cart-drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  box-shadow: -30px 0 80px rgba(0,0,0,.28);
  transform: translateX(105%);
  transition: transform 280ms cubic-bezier(.2,.75,.25,1);
}
.cart-drawer[aria-hidden="false"] { transform: translateX(0); }
.cart-open { overflow: hidden; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem; border-bottom: 1px solid var(--line); }
.cart-head small { color: var(--amber-dark); font: 700 .67rem ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .1em; }
.cart-head h2 { margin: .25rem 0 0; font-size: 2rem; letter-spacing: -.04em; }
.cart-close { width: 2.8rem; height: 2.8rem; border: 1px solid var(--line); background: transparent; font-size: 1.8rem; cursor: pointer; }
.cart-items { overflow-y: auto; padding: 0 1.4rem; }
.cart-empty { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #606466; }
.cart-empty > span { display: grid; place-items: center; width: 5rem; height: 5rem; margin-bottom: 1.3rem; border: 1px solid var(--line); border-radius: 50%; color: var(--amber-dark); font-size: 2rem; font-weight: 900; }
.cart-empty h3 { margin-bottom: .5rem; color: var(--ink); }
.cart-empty p { max-width: 290px; }
.cart-item { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.cart-item-visual { display: grid; place-items: center; min-height: 100px; background: #ded8cf; overflow: hidden; }
.cart-item-visual .product-shape { transform: scale(.35); filter: none; }
.cart-item-copy > span { color: var(--amber-dark); font: 700 .62rem ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.cart-item-copy h3 { margin: .25rem 0; font-size: 1.1rem; }
.cart-item-copy > strong { font-size: .9rem; }
.quantity-control { display: flex; align-items: center; gap: .45rem; margin-top: .8rem; }
.quantity-control button { width: 1.8rem; height: 1.8rem; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.quantity-control span { min-width: 1.3rem; text-align: center; font-weight: 800; }
.quantity-control .remove-item { width: auto; margin-left: auto; border: 0; color: #7d4a2a; font-size: .7rem; text-decoration: underline; }
.cart-footer { padding: 1.4rem; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.cart-total strong { font-size: 1.25rem; }
.checkout-button { width: 100%; opacity: .55; cursor: not-allowed; }
.cart-footer p { margin: .8rem 0 0; color: #777b7d; font-size: .72rem; text-align: center; }
.shop-toast { position: fixed; z-index: 90; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); padding: .85rem 1.1rem; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 750; box-shadow: 0 12px 35px rgba(0,0,0,.28); transition: transform 220ms ease; }
.shop-toast.is-visible { transform: translate(-50%, 0); }
.shop-noscript { padding: 1rem; border: 1px solid var(--line); }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 800px) {
  .cart-nav { margin: .35rem 0 0; justify-content: space-between; }
  .shop-hero { min-height: 680px; }
  .shop-hero-inner, .custom-grid { grid-template-columns: 1fr; }
  .shop-status { max-width: 380px; }
  .shop-facts { grid-template-columns: 1fr; }
  .shop-facts div { min-height: 70px; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { min-height: 300px; }
  .product-info p { min-height: auto; }
}

@media (max-width: 520px) {
  .shop-toolbar { align-items: flex-start; flex-direction: column; }
  .filter-list { width: 100%; }
  .filter-button { flex: 1 1 calc(50% - .55rem); }
  .product-buy { align-items: stretch; flex-direction: column; }
  .product-buy button { min-height: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .status-light { animation: none; }
  .product-card:hover,
  .product-card:hover .product-shape { transform: none; }
  .cart-drawer,
  .shop-toast { transition: none; }
}
