/* URBANMINT SELECTORA — Select Desk */
:root {
  --ink: #0f1714;
  --ink-mid: #1a2620;
  --paper: #e7f2ec;
  --paper-bright: #f4faf7;
  --mint: #1fa97a;
  --mint-bright: #2fd49a;
  --graphite: #15201b;
  --chalk: #e8f4ef;
  --text: #15201b;
  --text-soft: #3d5248;
  --radius: 10px;
  --shadow: 0 18px 48px rgba(15, 23, 20, 0.12);
  --font-display: "Syne", system-ui, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper-bright);
  background-image:
    linear-gradient(165deg, var(--paper-bright) 0%, var(--chalk) 42%, var(--paper) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(31, 169, 122, 0.04) 47px,
      rgba(31, 169, 122, 0.04) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(15, 23, 20, 0.03) 47px,
      rgba(15, 23, 20, 0.03) 48px
    );
  background-attachment: fixed;
}

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

a {
  color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink-mid);
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper-bright);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 250, 247, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 20, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img,
.brand-lockup {
  width: auto;
  height: 44px;
  max-width: min(240px, 52vw);
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.footer-brand .brand-lockup {
  height: 52px;
  max-width: 280px;
  margin-bottom: 0.75rem;
}

@media (max-width: 540px) {
  .brand-lockup {
    height: 36px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.index-trigger {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(15, 23, 20, 0.15);
  border-radius: 999px;
  background: var(--paper-bright);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.index-trigger:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-bright) !important;
}

.nav-cta:hover {
  background: var(--ink-mid);
  color: var(--paper-bright) !important;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    background: var(--paper-bright);
    border-bottom: 1px solid rgba(15, 23, 20, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(15, 23, 20, 0.06);
  }
}

/* Index drawer */
.index-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.index-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.index-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 20, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.index-drawer.is-open .index-backdrop {
  opacity: 1;
}

.index-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 100%);
  height: 100%;
  background: var(--paper-bright);
  border-left: 1px solid rgba(15, 23, 20, 0.1);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}

.index-drawer.is-open .index-panel {
  transform: translateX(0);
}

.index-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.index-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--mint);
  margin: 0 0 0.25rem;
}

.index-head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  color: var(--ink);
}

.index-close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-soft);
}

.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.index-list li {
  border-bottom: 1px solid rgba(15, 23, 20, 0.08);
}

.index-list a {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.index-list span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--mint);
  min-width: 2rem;
}

/* Hero — full bleed */
.hero-select {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 20, 0.35) 0%,
    rgba(15, 23, 20, 0.15) 40%,
    rgba(15, 23, 20, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3.5rem;
  color: var(--paper-bright);
  max-width: 40rem;
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mint-bright);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.hero-brand em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: 0.02em;
  color: var(--mint-bright);
  text-transform: none;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  max-width: 28ch;
  margin: 0 0 0.85rem;
  line-height: 1.2;
}

.hero-headline em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--mint-bright);
}

.hero-lede {
  max-width: 34rem;
  font-size: 1.02rem;
  margin: 0 0 1.5rem;
  line-height: 1.45;
  color: rgba(244, 250, 247, 0.92);
}

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

.stamp-pulse {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--mint-bright);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
  animation: stamp-pulse 2.8s ease-in-out infinite;
}

@keyframes stamp-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stamp-pulse {
    animation: none;
    opacity: 0.4;
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .button:hover {
    transform: none;
  }
}

.button-primary {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}

.button-primary:hover {
  background: var(--mint-bright);
}

.button-ghost {
  background: transparent;
  color: var(--paper-bright);
  border-color: rgba(244, 250, 247, 0.45);
}

.button-ghost:hover {
  border-color: var(--paper-bright);
  color: var(--paper-bright);
}

.button-dark {
  background: var(--ink);
  color: var(--paper-bright);
}

.button-dark:hover {
  background: var(--ink-mid);
}

.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Sections */
.chapter {
  padding: 4.5rem 0;
}

.chapter-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--mint);
  margin: 0 0 0.5rem;
}

.chapter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.12;
}

.chapter-lede {
  max-width: 38rem;
  color: var(--text-soft);
  margin: 0 0 2rem;
}

.chapter--ink {
  background: linear-gradient(160deg, var(--ink) 0%, var(--graphite) 100%);
  color: var(--chalk);
}

.chapter--ink h2,
.chapter--ink .chapter-label {
  color: var(--mint-bright);
}

.chapter--ink .chapter-lede {
  color: rgba(232, 244, 239, 0.82);
}

.chapter--ink .contact-aside a,
.chapter--ink .checkbox-field a {
  color: var(--mint-bright);
}

.chapter--ink .contact-aside h2 {
  color: var(--paper-bright);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.chapter--paper {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-bright) 100%);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Approach */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.approach-copy p {
  margin: 0 0 1rem;
}

.approach-still {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 20, 0.08);
}

.approach-still figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  background: var(--paper-bright);
  color: var(--text-soft);
}

@media (max-width: 768px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

/* Collections */
.collection-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.collection-card {
  padding: 1.35rem;
  background: rgba(244, 250, 247, 0.06);
  border: 1px solid rgba(232, 244, 239, 0.12);
  border-radius: var(--radius);
}

.collection-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--paper-bright);
}

.collection-card p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(232, 244, 239, 0.78);
}

.collection-card a {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mint-bright);
  text-decoration: none;
}

@media (max-width: 640px) {
  .collection-cards {
    grid-template-columns: 1fr;
  }
}

/* Catalog filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 20, 0.12);
  background: var(--paper-bright);
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-chip.is-active,
.filter-chip:hover {
  background: var(--ink);
  color: var(--paper-bright);
  border-color: var(--ink);
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sheet-card {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  background:
    linear-gradient(135deg, rgba(47, 212, 154, 0.07), transparent 42%),
    var(--paper-bright);
  border: 1px solid rgba(15, 23, 20, 0.1);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 20, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sheet-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 169, 122, 0.45);
  box-shadow: 0 16px 36px rgba(15, 23, 20, 0.08);
}

.sheet-card.is-hidden {
  display: none;
}

.sheet-card--pass {
  background:
    linear-gradient(135deg, rgba(31, 169, 122, 0.16), transparent 50%),
    var(--paper-bright);
  border-color: rgba(31, 169, 122, 0.35);
}

.sheet-rail {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem 0.4rem;
  background: linear-gradient(180deg, var(--ink) 0%, #1a2e26 100%);
  color: var(--mint-bright);
}

.sheet-rail span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.sheet-main {
  padding: 1.25rem 1.35rem 1.35rem;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
}

.sheet-meta {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.sheet-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  margin: 0;
  line-height: 1.15;
}

.sheet-title a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--mint), var(--mint));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 0.2s ease, color 0.2s ease;
}

.sheet-title a:hover,
.sheet-title a:focus-visible {
  color: var(--mint);
  background-size: 100% 2px;
}

.sheet-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  background: rgba(47, 212, 154, 0.18);
  border: 1px solid rgba(31, 169, 122, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  line-height: 1;
}

.sheet-blurb {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
  max-width: 48rem;
  font-size: 0.98rem;
}

.sheet-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.1rem;
}

.sheet-facts > div {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(231, 242, 236, 0.75);
  border: 1px solid rgba(15, 23, 20, 0.06);
}

.sheet-facts dt {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 0.25rem;
}

.sheet-facts dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.35;
}

.sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.button-ghost-ink {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(15, 23, 20, 0.22);
}

.button-ghost-ink:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .sheet-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .sheet-card {
    grid-template-columns: 3rem 1fr;
  }

  .sheet-main {
    padding: 1rem;
  }

  .sheet-head {
    flex-direction: column;
    gap: 0.55rem;
  }
}

/* Product / resource pages */
.product-body {
  background: var(--paper);
}

.product-page {
  padding: 2rem 0 4rem;
}

.product-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.product-crumb a {
  color: var(--mint);
  text-decoration: none;
  font-weight: 600;
}

.product-crumb a:hover {
  text-decoration: underline;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.25rem;
  align-items: start;
}

.product-media {
  position: relative;
  margin: 0;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 20, 0.1);
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(15, 23, 20, 0.12);
}

.product-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-media figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: rgba(232, 244, 239, 0.85);
  background: rgba(15, 23, 20, 0.92);
}

.product-stamp {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  background: var(--mint-bright);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.product-shelf {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}

.product-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.product-price {
  margin: 0 0 1rem;
}

.product-price span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(47, 212, 154, 0.2);
  border: 1px solid rgba(31, 169, 122, 0.4);
  color: var(--ink);
}

.product-lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  margin: 0 0 1.25rem;
  max-width: 38rem;
}

.product-facts {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.product-facts > div {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--paper-bright);
  border: 1px solid rgba(15, 23, 20, 0.08);
}

.product-facts dt {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 0.25rem;
}

.product-facts dd {
  margin: 0;
  color: var(--ink);
}

.product-who {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Desk Stack */
.desk-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.stack-picker {
  padding: 1.25rem;
  background: var(--paper-bright);
  border: 1px solid rgba(15, 23, 20, 0.08);
  border-radius: var(--radius);
}

.stack-picker h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.stack-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.stack-items {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 280px;
  overflow-y: auto;
}

.stack-item-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(15, 23, 20, 0.1);
  border-radius: 8px;
  background: var(--chalk);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.stack-item-btn:hover {
  border-color: var(--mint);
}

.stack-item-btn.is-on {
  background: rgba(31, 169, 122, 0.15);
  border-color: var(--mint);
  box-shadow: inset 0 0 0 1px var(--mint);
}

.stack-item-btn span:last-child {
  font-weight: 700;
  color: var(--mint);
  white-space: nowrap;
}

.stack-tray {
  padding: 1.25rem;
  background: linear-gradient(145deg, var(--ink-mid) 0%, var(--graphite) 100%);
  color: var(--chalk);
  border-radius: var(--radius);
  position: relative;
}

.tray-chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--mint-bright);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(232, 244, 239, 0.15);
}

.tray-tick {
  animation: tray-tick 3s steps(1) infinite;
}

@keyframes tray-tick {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tray-tick {
    animation: none;
  }
}

.tray-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  min-height: 4rem;
}

.tray-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(232, 244, 239, 0.12);
}

.tray-empty {
  color: rgba(232, 244, 239, 0.5);
  font-style: italic;
}

.tray-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tray-stat {
  padding: 0.65rem;
  background: rgba(15, 23, 20, 0.35);
  border-radius: 8px;
}

.tray-stat label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 244, 239, 0.6);
  margin-bottom: 0.2rem;
}

.tray-stat b {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--mint-bright);
}

.tray-summary {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(232, 244, 239, 0.85);
  margin: 0 0 1rem;
}

@media (max-width: 860px) {
  .desk-stack {
    grid-template-columns: 1fr;
  }
}

/* Access */
.access-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.access-item {
  padding: 1.15rem;
  background: var(--paper-bright);
  border: 1px solid rgba(15, 23, 20, 0.08);
  border-radius: var(--radius);
}

.access-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.access-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

@media (max-width: 768px) {
  .access-list {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--paper-bright);
  border: 1px solid rgba(15, 23, 20, 0.08);
  border-radius: var(--radius);
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
}

.contact-aside p {
  margin: 0 0 0.75rem;
  color: var(--text-soft);
}

.contact-aside a {
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  border: 1px solid rgba(15, 23, 20, 0.15);
  border-radius: 8px;
  background: var(--paper-bright);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.checkbox-field {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.88rem;
}

.checkbox-field input {
  margin-top: 0.25rem;
}

.form-toast {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  display: none;
}

.form-toast.is-visible {
  display: block;
}

.form-toast.is-success {
  background: rgba(31, 169, 122, 0.15);
  border: 1px solid var(--mint);
  color: var(--ink-mid);
}

.form-toast.is-error {
  background: rgba(180, 50, 50, 0.1);
  border: 1px solid #b43232;
  color: #5a1a1a;
}

@media (max-width: 768px) {
  .contact-grid,
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--ink);
  color: rgba(232, 244, 239, 0.78);
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  width: 48px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--paper-bright);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-craft {
  max-width: 28rem;
  line-height: 1.5;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.footer-links a {
  color: var(--mint-bright);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 244, 239, 0.12);
  font-size: 0.82rem;
  color: rgba(232, 244, 239, 0.55);
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Policy pages */
.policy-back {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.policy-back:hover {
  color: var(--mint);
}

.policy-body {
  max-width: 42rem;
  padding: 2rem 0 4rem;
}

.policy-body h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.policy-body .lede {
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.policy-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.policy-body p,
.policy-body li {
  color: var(--text-soft);
}

.policy-body ul {
  padding-left: 1.25rem;
}

.policy-toc {
  padding: 1rem 1.25rem;
  background: var(--chalk);
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
  font-size: 0.92rem;
}

.policy-toc ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.policy-toc a {
  color: var(--ink-mid);
}
