/* ================================================================
   ZagOps - brand-aligned styles
   Palette, type, and rules per ZagOps Brand & Design Guidelines 2026.
   Flat color only. No gradients, shadows, or glows.
   ================================================================ */
:root {
  /* primary */
  --dark: #222831; /* ZagOps Dark - dark backgrounds, logo dark variant */
  --gold: #b17a50; /* ZagOps Gold - accent lines, CTAs, key metrics (<=25%) */
  --white: #ffffff; /* backgrounds, space */
  /* secondary */
  --gray: #d6d6d6; /* secondary text, sublabels */
  --light-gray: #e5e5e5; /* section backgrounds, table rows */
  --tan: #d0af96; /* subtle highlights only - never dominant */
  /* derived (kept within palette family) */
  --gold-deep: #8a5f3d; /* gold for text/labels on light - contrast */
  --gold-hover: #9c6a44;
  --ink: #222831; /* headings on light */
  --body: #3a424b; /* body copy on light - readable, within dark family */
  --hair-l: rgba(34, 40, 49, 0.14);
  --hair-d: rgba(255, 255, 255, 0.14);

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --display: 'Alata', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  --label: 'Alata', 'Helvetica Neue', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* Clears the sticky nav, so #anchor targets aren't hidden under it. */
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--dark);
  color: var(--body);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
p {
  margin: 0;
}
a {
  color: inherit;
}
/* Inline branded link (gold), used for in-copy interoperability links. */
.link-gold {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.16s ease;
}
.link-gold:hover {
  color: var(--gold-hover);
}
.on-dark .link-gold,
.site-footer .link-gold {
  color: var(--gold);
}
.on-dark .link-gold:hover,
.site-footer .link-gold:hover {
  color: var(--tan);
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- eyebrow / labels (Alata, ALL CAPS, gold or dark) ---------- */
.eyebrow {
  font-family: var(--label);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: block;
}
.on-dark .eyebrow {
  color: var(--tan);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 15.5px;
  padding: 15px 24px;
  border-radius: 2px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}
.btn-ghost-d {
  color: #e9ebee;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost-d:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.btn-ghost-l {
  color: var(--ink);
  border-color: rgba(34, 40, 49, 0.28);
}
.btn-ghost-l:hover {
  border-color: var(--ink);
  background: rgba(34, 40, 49, 0.05);
}
.btn .arw {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  opacity: 0.8;
}
.btn .btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.8;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(34, 40, 49, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair-d);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.logo-mk {
  height: 30px;
  width: auto;
  flex: none;
  display: block;
}
.logo-tx {
  font-family: 'Drupadi', var(--display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--gray);
}
.nav-links a {
  text-decoration: none;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a[aria-current='page'] {
  color: #fff;
}
.nav .btn {
  padding: 11px 18px;
  font-size: 14.5px;
}
/* Hamburger toggle: hidden on desktop, shown on mobile. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--gray);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  /* Page CTA text varies per page and is long on mobile; the nav links
     (including Contact) live in the dropdown instead. */
  .nav .btn {
    display: none;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 6px 0 10px;
    background: var(--dark);
    border-bottom: 1px solid var(--hair-d);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px var(--pad);
    font-size: 16px;
  }
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
  }
}

/* ---------- dark shell (reserved for high-impact: hero, footer) ---------- */
.on-dark {
  background: var(--dark);
  color: var(--gray);
}
.on-dark h1,
.on-dark h2,
.on-dark h3 {
  color: #fff;
}

/* ---------- hero (cover - dark permitted) ---------- */
.hero {
  padding: clamp(52px, 7vw, 92px) 0 clamp(44px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--hair-d);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  color: #fff;
  margin: 22px 0 0;
  max-width: 15ch;
  line-height: 1.04;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--gray);
  margin-top: 22px;
  max-width: 46ch;
  line-height: 1.55;
}
.hero-sub--strong {
  color: #fff;
}
.hero-sub--strong + .hero-sub {
  margin-top: 14px;
}
.hero-copy {
  max-width: 60ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-note {
  font-family: var(--sans);
  font-size: 12.5px;
  color: #8c949c;
  margin-top: 20px;
  letter-spacing: 0.01em;
}
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- signature: stack diagram (flat fills) ---------- */
.stack {
  border: 1px solid var(--hair-d);
  background: #1b2027;
  padding: 16px 16px 14px;
}
.stack-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.stack-title {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8c949c;
}
.seg {
  display: flex;
  border: 1px solid var(--hair-d);
  border-radius: 2px;
  overflow: hidden;
}
.seg button {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gray);
  border: 0;
  padding: 7px 11px;
  cursor: pointer;
  transition: 0.18s;
}
.seg button[aria-pressed='true'] {
  background: var(--gold);
  color: #fff;
}
.seg button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.stack svg {
  display: block;
  width: 100%;
  height: auto;
}
/* Tech-transition animation (chaos -> structured), mounted when scrolled into view. */
.stack--anim {
  padding: 0;
  overflow: hidden;
  background: #222831;
}
.stack-anim {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #222831;
  position: relative;
}
.stack-anim iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.stack-anim iframe.in {
  opacity: 1;
}
.chip rect {
  fill: #252b33;
  stroke: #3a424b;
}
.chip text {
  font-family: var(--sans);
  font-size: 9.2px;
  fill: #c4c8cd;
  letter-spacing: 0.02em;
}
.tangle path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  opacity: 0.6;
}
.route path {
  fill: none;
  stroke: #9aa1a8;
  stroke-width: 1.4;
}
.rail {
  fill: #2c333c;
  stroke: var(--gold);
}
.rail-tx {
  font-family: var(--label);
  font-size: 10.5px;
  fill: var(--tan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.node {
  fill: #252b33;
  stroke: #4a525b;
}
.node-tx {
  font-family: var(--sans);
  font-size: 10px;
  fill: var(--gray);
  letter-spacing: 0.04em;
}
.stack-cap {
  font-family: var(--sans);
  font-size: 12px;
  color: #8c949c;
  margin-top: 10px;
  min-height: 1.5em;
  line-height: 1.4;
}

/* ---------- stakes / problem (light, large numeric emphasis) ---------- */
.stakes {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--white);
}
.stakes h2 {
  font-size: clamp(30px, 3.9vw, 46px);
  color: var(--ink);
  margin: 20px 0 0;
  max-width: 16ch;
}
.stakes-lede {
  color: var(--body);
  margin-top: 20px;
  max-width: 62ch;
}
.costs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(36px, 5vw, 54px);
  border-top: 2px solid var(--gold);
}
.cost {
  padding: 30px 28px 30px 0;
  border-right: 1px solid var(--hair-l);
}
.cost:last-child {
  border-right: 0;
}
.cost:not(:first-child) {
  padding-left: 28px;
}
.cost-fig {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 56px);
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}
.cost-fig span {
  font-size: 0.34em;
  letter-spacing: 0.12em;
  color: var(--ink);
  display: block;
  font-family: var(--label);
  font-weight: 400;
  margin-top: 14px;
  text-transform: uppercase;
}
.cost p {
  margin-top: 12px;
  color: var(--body);
  font-size: 15.5px;
}
@media (max-width: 860px) {
  .costs {
    grid-template-columns: 1fr;
  }
  .cost {
    border-right: 0;
    border-bottom: 1px solid var(--hair-l);
    padding: 26px 0;
  }
  .cost:not(:first-child) {
    padding-left: 0;
  }
}

/* ---------- value ---------- */
.value {
  padding: clamp(58px, 7.5vw, 104px) 0;
  background: var(--light-gray);
}
.value h2 {
  font-size: clamp(30px, 3.9vw, 48px);
  color: var(--ink);
  margin: 20px 0 0;
  max-width: 18ch;
}
.vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair-l);
  margin-top: clamp(36px, 5vw, 56px);
  border: 1px solid var(--hair-l);
}
.v {
  background: var(--white);
  padding: 32px 28px 34px;
}
.v-tag {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.v h3 {
  font-size: 23px;
  color: var(--ink);
  margin-top: 16px;
}
.v p {
  margin-top: 12px;
  color: var(--body);
  font-size: 15.5px;
}
@media (max-width: 860px) {
  .vgrid {
    grid-template-columns: 1fr;
  }
}

/* ---------- guide / why (light gray) ---------- */
.guide {
  padding: clamp(58px, 7.5vw, 104px) 0;
  background: var(--light-gray);
}
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 64px);
}
.guide h2 {
  font-size: clamp(30px, 3.9vw, 46px);
  color: var(--ink);
  margin: 20px 0 0;
  max-width: 15ch;
}
.guide-body {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--body);
  max-width: 52ch;
}
.guide-body strong {
  font-weight: 700;
}
.spec {
  background: var(--dark);
  color: var(--gray);
  padding: 28px 28px 8px;
}
.spec-h {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8c949c;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair-d);
}
.spec dl {
  margin: 0;
}
.spec-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair-d);
  align-items: baseline;
}
.spec-row:last-child {
  border-bottom: 0;
}
.spec dt {
  font-family: var(--label);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8c949c;
}
.spec dd {
  margin: 0;
  font-size: 15.5px;
  color: #eaecee;
  line-height: 1.45;
}
.spec dd b {
  color: var(--gold);
  font-weight: 700;
}
@media (max-width: 920px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

/* founder story */
.founder {
  margin-top: clamp(36px, 5vw, 64px);
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.founder-media {
  display: flex;
  flex-direction: column;
}
.founder-avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}
.founder-id .eyebrow {
  margin-top: 20px;
}
.founder-name {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 10px 0 4px;
}
.founder-meta {
  font-size: 14px;
  color: var(--body);
  margin: 0;
  max-width: 26ch;
}
.founder-body p {
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--body);
  max-width: 64ch;
}
.founder-body p:last-child {
  margin-bottom: 0;
}
.founder-body strong {
  color: var(--ink);
  font-weight: 700;
}
@media (max-width: 920px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- plan ---------- */
.plan {
  padding: clamp(58px, 7.5vw, 104px) 0;
  background: var(--white);
}
.plan h2 {
  font-size: clamp(30px, 3.9vw, 48px);
  color: var(--ink);
  margin: 20px 0 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(36px, 5vw, 56px);
}
.step {
  border-top: 2px solid var(--gold);
  padding-top: 20px;
}
.step:nth-child(2) {
  border-top-color: var(--tan);
}
.step:nth-child(3) {
  border-top-color: var(--gray);
}
.step-n {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.step h3 {
  font-size: 21px;
  color: var(--ink);
  margin-top: 10px;
}
.step p {
  margin-top: 10px;
  color: var(--body);
  font-size: 15.5px;
}
.plan-cta {
  margin-top: clamp(34px, 4vw, 48px);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- products (modular product rows - one block per product) ---------- */
.section {
  padding: clamp(58px, 7.5vw, 104px) 0;
  position: relative;
}
.products {
  background: var(--light-gray);
}
.section-head--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(44px, 6vw, 72px);
}
.section-head--center .eyebrow {
  justify-content: center;
}
.section-head--center h1,
.section-head--center h2 {
  font-size: clamp(30px, 3.9vw, 48px);
  color: var(--ink);
  margin: 18px auto 0;
  max-width: 20ch;
}
.lede {
  margin-top: 18px;
  color: var(--body);
  font-size: 17.5px;
  max-width: 60ch;
}
.section-head--center .lede {
  margin-left: auto;
  margin-right: auto;
}
.product-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}
.product-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--hair-l);
  border-top: 2px solid var(--gold);
}
.product-row:nth-child(even) {
  grid-template-columns: 1fr 300px;
}
.product-row:nth-child(even) .product-media {
  order: 2;
}
.product-media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--dark);
  color: var(--gold);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-media::after {
  content: attr(data-mark);
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(177, 122, 80, 0.7);
}
.product-glyph {
  width: 88px;
  height: 88px;
}
.product-glyph svg {
  width: 100%;
  height: 100%;
}
.product-body h3 {
  font-size: clamp(21px, 1rem + 1.2vw, 30px);
  color: var(--ink);
  margin: 14px 0;
  max-width: 22ch;
}
.product-body > p {
  color: var(--body);
  margin-bottom: 22px;
  max-width: 60ch;
  font-size: 15.5px;
}
.product-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.product-benefits li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--body);
}
.product-benefits li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}
@media (max-width: 820px) {
  .product-row,
  .product-row:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .product-row:nth-child(even) .product-media {
    order: 0;
  }
  .product-media {
    aspect-ratio: 16/7;
  }
}

/* ---------- lead magnet (light gray - gold kept as accent, not full block) ---------- */
.lead {
  padding: clamp(52px, 6vw, 88px) 0;
  background: var(--light-gray);
  color: var(--ink);
  border-top: 2px solid var(--gold);
}
.lead-in {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
.lead h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--ink);
  max-width: 17ch;
}
.lead p {
  margin-top: 16px;
  color: var(--body);
  font-size: 17px;
  max-width: 52ch;
}
.lead .btn {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.lead .btn:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}
.lead .lead-note,
.contact .lead-note {
  margin-top: 12px;
  font-size: 14.5px;
}
.lead-note a {
  color: var(--gold-deep);
}
.lead-kicker {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
@media (max-width: 820px) {
  .lead-in {
    grid-template-columns: 1fr;
  }
}

/* ---------- footer (dark anchor) ---------- */
.foot {
  background: var(--dark);
  color: var(--gray);
  padding: 48px 0 40px;
  font-size: 14.5px;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hair-d);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.foot-links a {
  text-decoration: none;
}
.foot-links a:hover {
  color: #fff;
}
.foot-bot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-family: var(--label);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8c949c;
}

/* ---------- motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- interoperability (dark - the distinction + hierarchy) ---------- */
.interop {
  padding: clamp(58px, 7.5vw, 104px) 0;
  overflow: hidden;
}
.interop-head {
  max-width: 900px;
}
.interop-statement {
  font-size: clamp(30px, 3.9vw, 52px);
  color: #fff;
  margin: 20px 0 0;
  max-width: 20ch;
}
.interop-statement em {
  font-style: normal;
  color: var(--gold);
}
.interop .lede {
  margin-top: 22px;
  color: var(--gray);
  max-width: 64ch;
}
.interop-video {
  margin: clamp(40px, 5vw, 64px) 0 0;
  border: 1px solid var(--hair-d);
  background: #1b2027;
}
.interop-video video {
  display: block;
  width: 100%;
  height: auto;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hair-d);
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--hair-d);
}
.compare-col {
  background: #1b2027;
  padding: 30px 28px 32px;
}
.compare-col--feature {
  background: #20262f;
  border-top: 2px solid var(--gold);
}
.compare-col h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.ctag {
  font-family: var(--label);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
}
.ctag--muted {
  background: rgba(255, 255, 255, 0.08);
  color: #8c949c;
}
.ctag--gold {
  background: var(--gold);
  color: #fff;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ticks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 13px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.5;
}
.ticks li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--sans);
  font-weight: 700;
}
.ticks--x li::before {
  content: '\00d7';
  color: #8c949c;
  font-size: 17px;
}
.ticks--check li::before {
  content: '\2713';
  color: var(--gold);
}

/* hierarchy diagram - top-down tree */
.arch {
  --arch-line: rgba(177, 122, 80, 0.55);
  --arch-gap: 18px;
  position: relative;
  margin: clamp(48px, 6vw, 76px) 0 0;
}
.arch-top {
  position: relative;
  text-align: center;
  border: 1px solid rgba(177, 122, 80, 0.5);
  border-top: 2px solid var(--gold);
  background: #20262f;
  padding: 24px clamp(20px, 4vw, 40px) 26px;
}
.arch-top-label {
  font-family: var(--display);
  font-size: clamp(18px, 1.4vw, 22px);
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.arch-top-label::before {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  margin: 0 auto 12px;
  background: var(--gold);
}
.arch-products {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.arch-products li {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  background: #161a20;
  border: 1px solid var(--hair-d);
  border-radius: 2px;
  padding: 7px 15px;
}
.arch-products b {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.arch-products span {
  font-size: 12.5px;
  color: var(--gray);
}
.arch-top-sub {
  font-size: 14px;
  color: var(--gray);
  max-width: 52ch;
  margin: 0 auto;
}
.arch-top::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 2px;
  height: 26px;
  background: var(--arch-line);
  transform: translateX(-50%);
}
.arch-tree {
  position: relative;
  margin-top: 26px;
  padding-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--arch-gap);
}
.arch-tree::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc((100% - 2 * var(--arch-gap)) / 6);
  right: calc((100% - 2 * var(--arch-gap)) / 6);
  height: 2px;
  background: var(--arch-line);
}
.arch-brand {
  position: relative;
  background: #1b2027;
  border: 1px solid var(--hair-d);
  padding: 18px 20px 20px;
}
.arch-brand::before {
  content: '';
  position: absolute;
  top: -26px;
  left: 50%;
  width: 2px;
  height: 26px;
  background: var(--arch-line);
  transform: translateX(-50%);
}
.arch-brand-name {
  display: block;
  font-family: var(--display);
  color: #fff;
  margin-bottom: 12px;
}
.arch-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.arch-stack li {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--gray);
  background: #161a20;
  border: 1px solid var(--hair-d);
  border-radius: 2px;
  padding: 4px 9px;
}
.arch figcaption {
  margin: 22px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: #8c949c;
  max-width: 60ch;
}
@media (max-width: 860px) {
  .compare {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .arch-tree {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 0;
    margin-top: 0;
  }
  .arch-tree::before {
    display: none;
  }
  .arch-brand {
    margin-top: 26px;
  }
  .arch-brand::before {
    top: -26px;
  }
}

/* ---------- hero toggle: cue the "With ZagOps" view until the user clicks it ---------- */
.seg button {
  transition:
    background 0.18s,
    color 0.18s;
}
.seg-arw {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  margin-left: 2px;
}
#btn-zag[aria-pressed='false'] {
  color: #fff;
  animation: zag-cue 1.5s ease-in-out infinite;
}
#btn-zag[aria-pressed='false'] .seg-arw {
  animation: zag-nudge 1.5s ease-in-out infinite;
}
@keyframes zag-cue {
  0%,
  100% {
    background: rgba(177, 122, 80, 0.18);
  }
  50% {
    background: rgba(177, 122, 80, 0.46);
  }
}
@keyframes zag-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #btn-zag[aria-pressed='false'] {
    animation: none;
    background: rgba(177, 122, 80, 0.3);
  }
  #btn-zag[aria-pressed='false'] .seg-arw {
    animation: none;
  }
}

/* ---------- hero logo marquee (apps above every vendor) ---------- */
.hero-marquee {
  margin-top: clamp(30px, 3.6vw, 44px);
  padding-top: 26px;
  border-top: 1px solid var(--hair-d);
}
.band-label {
  font-family: var(--label);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0 0 20px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}
/* Spacing is a margin on every chip, not gap, and the list has no padding, so
   -50% lands exactly on the first clone and the loop has no visible jump. */
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.logo-chip {
  flex: none;
  width: 152px;
  height: 78px;
  margin-right: 16px;
  display: grid;
  place-items: center;
  padding: 0 22px;
  background: #fff;
  border: 1px solid var(--hair-l);
  border-radius: 2px;
}
.logo-chip img {
  max-height: 40px;
  max-width: 108px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.92;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}
.logo-chip:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
  }
  .marquee-track {
    animation: none;
  }
}
@media (max-width: 620px) {
  .logo-chip {
    width: 132px;
    height: 70px;
  }
}

/* ---------- team ---------- */
.team {
  padding: clamp(58px, 7.5vw, 104px) 0;
  background: var(--white);
}
.team .section-head--center {
  margin-bottom: clamp(40px, 5vw, 60px);
}
.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair-l);
  border: 1px solid var(--hair-l);
}
.team-card {
  background: var(--white);
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.2s ease;
}
.team-card:hover {
  transform: translateY(-3px);
}
.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  object-position: center top;
  background: var(--light-gray);
  border: 1px solid var(--hair-l);
  outline: 4px solid rgba(177, 122, 80, 0.12);
  transition: outline-color 0.25s ease;
}
.team-card:hover .avatar {
  outline-color: rgba(177, 122, 80, 0.3);
}
.team-card h3 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
}
.team-card .role {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.team-card .bio {
  color: var(--body);
  font-size: 14.5px;
  margin-bottom: 18px;
  min-height: 44px;
}
.team-link {
  font-family: var(--label);
  font-size: 13px;
  color: var(--gold-deep);
  text-decoration: none;
}
.team-link:hover {
  color: var(--gold);
}
@media (max-width: 860px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card .bio {
    min-height: 0;
  }
}

/* ---------- grid texture (blueprint) ---------- */
.grid-tex {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--hair-l) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hair-l) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    120% 90% at 80% 0%,
    #000 0%,
    transparent 68%
  );
  mask-image: radial-gradient(120% 90% at 80% 0%, #000 0%, transparent 68%);
  opacity: 0.4;
}
.grid-tex--dark {
  background-image:
    linear-gradient(to right, var(--hair-d) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hair-d) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(
    120% 100% at 15% 0%,
    #000 0%,
    transparent 70%
  );
  mask-image: radial-gradient(120% 100% at 15% 0%, #000 0%, transparent 70%);
}
/* keep section content above the texture */
.interop,
.foot,
.contact {
  position: relative;
}
.hero > .wrap,
.interop > .wrap,
.foot > .wrap,
.contact > .wrap,
.ba > .wrap {
  position: relative;
  z-index: 1;
}

/* ---------- before / after comparison (dark) ---------- */
.ba {
  overflow: hidden;
}
.ba-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.ba-head .eyebrow {
  justify-content: center;
}
.ba-head h1,
.ba-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  color: #fff;
  margin: 18px auto 0;
  max-width: 22ch;
}
.ba-head .lede {
  margin: 18px auto 0;
  color: var(--gray);
  max-width: 60ch;
}
.compare-col > .ctag {
  display: inline-block;
  margin-bottom: 14px;
}
.ticks li b {
  color: #fff;
}
.ba-close {
  max-width: 760px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  text-align: center;
}
.ba-close-statement {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  color: #fff;
}
.ba-close .lede {
  margin: 16px auto 0;
  color: var(--gray);
}

/* ---------- story (long-form narrative sections) ---------- */
.story {
  padding: clamp(58px, 7.5vw, 104px) 0;
  background: var(--light-gray);
}
.story--white {
  background: var(--white);
}
.story-in {
  max-width: 760px;
}
.story h2 {
  font-size: clamp(30px, 3.9vw, 46px);
  max-width: 20ch;
}
.subhead {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.35;
  color: var(--gold-deep);
  max-width: 44ch;
}
.story-in > .subhead:first-child {
  margin-top: 0;
}
.story-body {
  margin-top: 20px;
  font-size: 17.5px;
  color: var(--body);
  max-width: 62ch;
}
.tool-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tool-list li {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hair-l);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  padding: 9px 14px;
}
.story-statement {
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
  color: var(--ink);
  max-width: 28ch;
}
.story-cta {
  margin-top: 32px;
}
.story-cta-note {
  margin-top: 14px;
  font-size: 15px;
  color: var(--body);
}
.story-cta-note + .story-cta-note {
  margin-top: 6px;
}
.story-cta-note a {
  color: var(--gold-deep);
}

/* products + team heads: left-align to match every other page's section heads */
.products .section-head--center,
.team .section-head--center {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.products .section-head--center .eyebrow,
.team .section-head--center .eyebrow {
  justify-content: flex-start;
}
.products .section-head--center h1,
.products .section-head--center h2,
.products .section-head--center .lede,
.team .section-head--center h2,
.team .section-head--center .lede {
  margin-left: 0;
  margin-right: 0;
}

/* ---------- contact ---------- */
.contact {
  padding: clamp(58px, 7.5vw, 104px) 0;
  background: #2c333c;
  border-top: 2px solid var(--gold);
}
.contact-in {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.contact-copy h2 {
  font-size: clamp(28px, 3.3vw, 40px);
  color: #fff;
  margin: 18px 0 0;
  max-width: 16ch;
}
.contact-copy p {
  margin-top: 16px;
  color: var(--gray);
  font-size: 16.5px;
  max-width: 44ch;
}
@media (max-width: 820px) {
  .contact-in {
    grid-template-columns: 1fr;
  }
}

/* ---------- footer (ported, v2-styled) ---------- */
.site-footer {
  background: var(--dark);
  color: var(--gray);
  padding: 64px 0 32px;
  position: relative;
}
.site-footer > .wrap {
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--hair-d);
}
.footer-brand .logo {
  display: inline-flex;
}
.footer-tag {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.5;
  color: #eaecee;
  margin: 18px 0 12px;
  max-width: 34ch;
}
.footer-cat {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tan);
}
.footer-col h4 {
  font-family: var(--label);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c949c;
  font-weight: 400;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
  color: #8c949c;
}
.footer-base-tag {
  font-family: var(--sans);
  max-width: 52ch;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-base {
    flex-direction: column;
    gap: 8px;
  }
}

/* ---------- partners (trusted partner logos) ---------- */
.partners {
  padding: clamp(58px, 7.5vw, 104px) 0;
  background: var(--white);
}
.partners h2 {
  font-size: clamp(28px, 3.3vw, 40px);
  color: var(--ink);
  margin: 18px 0 0;
}
.partners .lede {
  margin-top: 16px;
  max-width: 60ch;
}
.partner-logos {
  list-style: none;
  margin: clamp(36px, 5vw, 52px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 56px);
}
.partner-logos li {
  display: grid;
  place-items: center;
}
.partner-logos img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.partner-logos img.logo-visa {
  height: 34px;
}
@media (max-width: 760px) {
  .partner-logos {
    justify-content: center;
    gap: 40px;
  }
  .partner-logos img {
    height: 38px;
  }
  .partner-logos img.logo-visa {
    height: 30px;
  }
}

/* ================================================================
   BLOG  (ported from zagops-landing-links, flattened to v2 brand)
   Flat color only - no gradients, shadows, or glows.
   ================================================================ */
.blog-head {
  background: var(--dark);
  border-bottom: 1px solid var(--hair-d);
  padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 4vw, 56px);
}
.blog-head h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  margin-bottom: 18px;
  max-width: 20ch;
}
.blog-head .lede {
  max-width: 62ch;
}
.blog-head .lede {
  color: var(--gray);
}

.blog-list {
  background: var(--light-gray);
  padding-top: clamp(40px, 5vw, 64px);
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-card {
  position: relative;
  border: 1px solid var(--hair-l);
  background: var(--white);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s;
}
.post-card > a {
  display: block;
  padding: 30px;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.post-cat {
  display: inline-block;
  font-family: var(--label);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(177, 122, 80, 0.08);
  border: 1px solid var(--hair-l);
  border-radius: 100px;
  padding: 5px 13px;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.post-card:hover .post-cat {
  border-color: rgba(177, 122, 80, 0.4);
}
.post-title {
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}
.post-card:hover .post-title {
  color: var(--gold-deep);
}
.post-excerpt {
  color: var(--body);
  font-size: 15px;
  margin-bottom: 18px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--label);
  font-size: 12px;
  color: rgba(58, 66, 75, 0.62);
}
.post-meta > * {
  position: relative;
}
.post-meta > * + *::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(58, 66, 75, 0.62);
}
.post-author {
  color: var(--gold-deep);
}

/* ---------- article ---------- */
.post {
  background: var(--white);
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
}
.post-wrap {
  max-width: 740px;
}
.post-back {
  display: inline-block;
  font-family: var(--label);
  font-size: 13px;
  color: var(--gold-deep);
  margin-bottom: 32px;
}
.post-back:hover {
  color: var(--gold);
}
.post-header {
  border-bottom: 1px solid var(--hair-l);
  padding-bottom: 28px;
  margin-bottom: 36px;
}
.post-header h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  margin-bottom: 20px;
}

.prose > * + * {
  margin-top: 22px;
}
.prose .post-lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  color: var(--ink);
  font-weight: 700;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  color: var(--ink);
}
.prose h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  color: var(--ink);
}
.prose p {
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
}
.prose ul {
  margin: 0;
  padding-left: 22px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
}
.prose li + li {
  margin-top: 8px;
}
.prose blockquote {
  margin: 32px 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--gold);
  font-family: var(--sans);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
}

.post-cta {
  margin-top: 52px;
  padding: 34px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}
.post-cta h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 8px;
}
.post-cta p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 22px;
}

/* blog category filter chips */
.post-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.post-filters .chip {
  font-family: var(--label);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--body);
  background: var(--white);
  border: 1px solid var(--hair-l);
  border-radius: 100px;
  padding: 8px 17px;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.post-filters .chip:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}
.post-filters .chip[aria-pressed='true'] {
  background: var(--gold);
  border-color: transparent;
  color: #fff;
}

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

/* blog links: no underline (base a leaves browser default) */
.post-card a,
.post-back,
.post-cat {
  text-decoration: none;
}
