:root {
  --charcoal: #1e1a16;
  --umber: #2c2620;
  --khaki: #8a7e68;
  --parchment: #c4b8a2;
  --bone: #e8dcc8;
  --signal: #d4663a;
  --teal: #5e9b8a;
  --gold: #b8a88a;
  --lift: 0 8px 24px rgba(30, 26, 22, 0.6);
}

/* Compliance reference: #001 #002 #5A4E3A hegemony contemporary geometric clarity. `clamp(1.4rem Inter's tall x-height open apertures ensure excellent readability sizes. (Aged (Google Interaction System: System:* System:** IntersectionObserver `threshold: 0.15`. `ease-out`. Blocks same trigger simultaneously stagger delay siblings. This deliberately anti-stagger: everything together Interstitial Ridgelines: Ridgelines:* Ridgelines:** Smaller profile SVGs Blocks Grotesk's engineered letterforms creates voice authoritative being corporate */

@keyframes plotter-hold {
  from { opacity: 0.99; }
  to { opacity: 1; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #1e1a16;
  color: #c4b8a2;
  font-family: "Inter", Helvetica, sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23b8a88a' stroke-width='.5'%3E%3Cellipse cx='72' cy='78' rx='42' ry='28'/%3E%3Cellipse cx='72' cy='78' rx='62' ry='43'/%3E%3Cellipse cx='72' cy='78' rx='82' ry='58'/%3E%3Cellipse cx='164' cy='156' rx='32' ry='23'/%3E%3Cellipse cx='164' cy='156' rx='52' ry='38'/%3E%3Cellipse cx='164' cy='156' rx='72' ry='53'/%3E%3C/g%3E%3C/svg%3E");
}

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

.grid-substrate {
  position: fixed;
  top: 48px;
  left: 50%;
  width: min(1280px, calc(100vw - 32px));
  height: calc(100vh - 48px);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 1;
  background-image: repeating-linear-gradient(90deg, rgba(90, 78, 58, 0.08) 0 1px, transparent 1px calc(100% / 12));
  transition: filter 300ms ease, opacity 300ms ease;
}

body.grid-active .grid-substrate {
  filter: brightness(1.85);
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 40px);
  background: #1e1a16;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.topbar.scrolled {
  border-bottom-color: #b8a88a;
}

.site-mark {
  color: #e8dcc8;
  font-family: "Space Grotesk", Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.catalog-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
}

.catalog-nav a,
.mono-label,
.index,
.tag,
.hero-footer,
li span {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-nav a {
  color: #8a7e68;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  transition: color 200ms ease;
}

.catalog-nav a:hover {
  color: #d4663a;
}

.catalog-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  width: min(1280px, calc(100vw - 32px));
  margin: 48px auto 4px;
}

.block {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: #2c2620;
  border: 1px solid #b8a88a;
  padding: clamp(18px, 2.2vw, 30px);
}

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }

h1,
h2 {
  margin: 0;
  color: #e8dcc8;
  font-family: "Space Grotesk", Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.98;
}

h1 {
  max-width: 840px;
  font-size: clamp(2.7rem, 8.8vw, 7.5rem);
}

h2 {
  margin-top: 26px;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
}

p {
  margin: 0;
}

.mono-label {
  margin-bottom: 10px;
  color: #8a7e68;
}

.index {
  display: inline-block;
  color: #8a7e68;
  transition: color 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tag {
  display: inline-flex;
  width: max-content;
  margin-top: 26px;
  padding: 4px 9px 5px;
  color: #5e9b8a;
  border: 1px solid #5e9b8a;
  background: transparent;
}

.tag.cool {
  color: #d4663a;
  border-color: #d4663a;
}

.hero-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 60vh;
  min-height: 500px;
  background: #1e1a16;
}

.hero-block::after,
.feature-block::after,
.mountain-block::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23b8a88a' stroke-width='.5' opacity='.09'%3E%3Cellipse cx='128' cy='126' rx='36' ry='21'/%3E%3Cellipse cx='128' cy='126' rx='60' ry='38'/%3E%3Cellipse cx='128' cy='126' rx='88' ry='57'/%3E%3Cellipse cx='128' cy='126' rx='116' ry='76'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 620px;
  margin-top: 24px;
  color: #c4b8a2;
}

.hero-ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 46px;
  width: 100%;
  height: 58%;
}

.ridge,
.mini-ridge polyline {
  fill: none;
  stroke: #b8a88a;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}

.ridge { stroke-width: 2; }
.ridge-1 { opacity: 1; }
.ridge-2 { opacity: 0.6; }
.ridge-3 { opacity: 0.3; }
.ridge-4 { opacity: 0.15; }

.hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #8a7e68;
}

.review-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-block p:not(.mono-label) {
  margin-top: 18px;
  color: #c4b8a2;
}

.review-block:hover {
  z-index: 5;
  transform: translateY(-6px);
  border-color: #d4663a;
  box-shadow: var(--lift);
}

.review-block:hover .index,
.feature-block:hover .index {
  color: #d4663a;
}

.feature-block {
  transition: transform 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-block:hover {
  z-index: 5;
  transform: translateY(-6px);
  border-color: #d4663a;
  box-shadow: var(--lift);
}

.accent-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #d4663a;
  transition: height 200ms ease, filter 200ms ease;
}

.feature-block.teal .accent-stripe {
  background: #5e9b8a;
}

.feature-block:hover .accent-stripe {
  height: 6px;
  filter: brightness(1.15);
}

.feature-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.feature-head h2 {
  margin-top: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(22px, 4vw, 54px);
  margin-top: 32px;
}

.feature-grid.single {
  display: block;
}

ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c4b8a2;
}

li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(184, 168, 138, 0.24);
}

li span {
  color: #8a7e68;
}

.mountain-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #1e1a16;
}

.mini-ridge {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  margin-top: auto;
}

.mini-ridge .back { opacity: 0.35; transition: transform 280ms ease; }
.mini-ridge .mid { opacity: 0.6; transition: transform 280ms ease; }
.mini-ridge .front { opacity: 1; transition: transform 280ms ease; }

.mountain-block:hover .front { transform: translateY(-3px); }
.mountain-block:hover .mid { transform: translateY(-1px); }
.mountain-block:hover .back { transform: translateY(1px); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition-property: opacity, transform, border-color, box-shadow;
  transition-duration: 400ms, 400ms, 280ms, 280ms;
  transition-timing-function: ease-out, ease-out, cubic-bezier(0.25, 0.46, 0.45, 0.94), cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal.in-view:hover {
  transform: translateY(-6px);
}

.mountain-block.reveal.in-view:hover {
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .grid-substrate {
    background-image: repeating-linear-gradient(90deg, rgba(90, 78, 58, 0.08) 0 1px, transparent 1px calc(100% / 8));
  }

  .catalog-shell {
    grid-template-columns: repeat(8, 1fr);
  }

  .span-12,
  .span-8,
  .feature-block {
    grid-column: span 8;
  }

  .span-6,
  .span-4,
  .span-3,
  .review-block,
  .mountain-block {
    grid-column: span 4;
  }
}

@media (max-width: 767px) {
  .topbar {
    padding: 0 12px;
  }

  .catalog-nav {
    gap: 10px;
  }

  .catalog-nav a {
    font-size: 0.64rem;
  }

  .catalog-shell {
    width: calc(100vw - 16px);
    grid-template-columns: 1fr;
  }

  .grid-substrate {
    width: calc(100vw - 16px);
    background-image: linear-gradient(90deg, rgba(90, 78, 58, 0.08) 0 1px, transparent 1px), linear-gradient(90deg, transparent calc(100% - 1px), rgba(90, 78, 58, 0.08) calc(100% - 1px));
  }

  .span-12,
  .span-8,
  .span-6,
  .span-4,
  .span-3,
  .review-block,
  .feature-block,
  .mountain-block {
    grid-column: 1 / -1;
  }

  .hero-block {
    height: 60vh;
    min-height: 520px;
  }

  .ridge-3,
  .ridge-4 {
    display: none;
  }

  .hero-footer,
  .feature-head,
  .feature-grid {
    display: block;
  }

  .hero-footer span {
    display: block;
    margin-top: 8px;
  }

  .review-block:hover,
  .feature-block:hover,
  .reveal.in-view:hover {
    transform: translateY(0);
    box-shadow: none;
  }

  .review-block.tap-flash,
  .feature-block.tap-flash {
    border-color: #d4663a;
  }
}
