/* ==========================================================================
   Kultiflo — Field Ledger
   A compliance-grade aesthetic for South African cannabis clubs.
   ========================================================================== */

:root {
  /* Paper */
  --paper: #F5EFE4;
  --paper-warm: #EFE5D2;
  --paper-deep: #E5DBC3;

  /* Ink (deep emerald, matches logo stroke) */
  --ink: #0F3D2E;
  --ink-mid: #1F5A43;
  --ink-mist: #5A7264;

  /* Rules */
  --rule: #C9BB9E;
  --rule-soft: #DCD0B6;

  /* Seal (brand orange accent) */
  --seal: #F54900;
  --seal-deep: #C73A00;

  /* Positive mark */
  --mark: #016630;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max-w: 1280px;
}

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

*::selection {
  background: var(--seal);
  color: var(--paper);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  font-feature-settings: 'ss01' on, 'kern' on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Paper noise overlay (subtle multiplicative grain) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.4;
  mix-blend-mode: multiply;
  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%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.059 0 0 0 0 0.239 0 0 0 0 0.18 0 0 0 0.14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ambient light wash */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 5% 0%, rgba(245, 73, 0, 0.045), transparent 60%),
    radial-gradient(ellipse 80% 60% at 95% 100%, rgba(15, 61, 46, 0.05), transparent 60%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 200ms ease;
}

:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 3px;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  top: -64px;
  left: 12px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  z-index: 10000;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 12px;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72em;
}

/* ==========================================================================
   Navbar — Folio index
   ========================================================================== */

.folio-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.folio-nav {
  background: rgba(245, 239, 228, 0.82);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid var(--rule);
  transition: background 300ms ease, box-shadow 300ms ease;
}

.folio-nav.scrolled {
  background: rgba(245, 239, 228, 0.96);
  box-shadow: 0 1px 0 var(--rule), 0 8px 24px -12px rgba(15, 61, 46, 0.12);
}

.folio-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.folio-nav__edition {
  display: flex;
  gap: 1.25rem;
  color: var(--ink-mist);
}

.folio-nav__edition .mono {
  font-size: 10px;
}

.folio-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.folio-brand svg {
  flex: 0 0 auto;
}

.folio-nav__links {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  list-style: none;
  align-items: center;
}

.folio-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.folio-nav__links a .mono {
  color: var(--ink-mist);
  font-size: 9px;
}

.folio-nav__links a:not(.folio-nav__cta)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--seal);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 350ms cubic-bezier(0.65, 0, 0.35, 1);
}

.folio-nav__links a:not(.folio-nav__cta):hover::after {
  transform: scaleX(1);
}

.folio-nav__cta {
  padding: 11px 18px;
  background: var(--ink);
  color: var(--paper) !important;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  transition: background 220ms ease;
}

.folio-nav__cta:hover {
  background: var(--seal);
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--rule);
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 300ms ease, opacity 300ms ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 61, 46, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 99;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .folio-nav__inner {
    grid-template-columns: auto 1fr auto;
  }
  .folio-nav__edition {
    display: none;
  }
  .folio-nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 96px 32px 32px;
    gap: 1.75rem;
    background: var(--paper-warm);
    border-left: 1px solid var(--rule);
    transform: translateX(100%);
    transition: transform 350ms cubic-bezier(0.65, 0, 0.35, 1);
  }
  .folio-nav__links.active {
    transform: translateX(0);
  }
  .folio-nav__links li {
    width: 100%;
  }
  .folio-nav__links a {
    font-size: 17px;
  }
  .hamburger {
    display: flex;
  }
}

/* ==========================================================================
   Folio shared
   ========================================================================== */

.folio {
  position: relative;
}

.folio__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  color: var(--ink-mist);
  flex-wrap: wrap;
}

.folio__meta .mono {
  font-size: 11px;
}

/* ==========================================================================
   Hero (§ I)
   ========================================================================== */

.folio--hero {
  padding: clamp(3.5rem, 9vh, 7rem) 0 clamp(4rem, 10vh, 8rem);
  overflow: hidden;
  position: relative;
}

.display {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'wght' 400;
  font-size: clamp(2.4rem, 7.2vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 3rem;
  max-width: 16ch;
  font-weight: 400;
  position: relative;
}

.display em {
  font-style: italic;
  font-variation-settings: 'opsz' 9, 'SOFT' 100, 'wght' 300;
  color: var(--seal);
}

.hero__lede {
  display: flex;
  gap: 1.5rem;
  max-width: 680px;
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.drop-cap {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 500;
  font-size: 5rem;
  line-height: 0.82;
  color: var(--seal);
  flex: 0 0 auto;
  padding-top: 6px;
}

.hero__lede p {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  color: var(--ink-mid);
  font-weight: 400;
  padding-top: 8px;
}

.hero__cta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 2rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 300ms ease, transform 300ms cubic-bezier(0.65, 0, 0.35, 1);
}

.cta::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid var(--ink);
  pointer-events: none;
  transition: transform 300ms cubic-bezier(0.65, 0, 0.35, 1), border-color 300ms ease;
}

.cta:hover {
  background: var(--seal);
  transform: translate(-2px, -2px);
}

.cta:hover::before {
  transform: translate(5px, 5px);
  border-color: var(--seal);
}

.cta__arrow {
  font-family: var(--font-mono);
  transition: transform 300ms ease;
}

.cta:hover .cta__arrow {
  transform: translateX(4px);
}

.hero__footnote {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mid);
  max-width: 260px;
  font-weight: 500;
  position: relative;
  padding-left: 18px;
  border-left: 2px solid var(--seal);
}

.hero__footnote .mono {
  display: none;
}

.hero__footnote em {
  font-style: italic;
  color: var(--seal);
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 9, 'SOFT' 100, 'wght' 400;
}

.folio__botanical--hero {
  position: absolute;
  right: -6%;
  top: -4%;
  width: clamp(280px, 42vw, 620px);
  opacity: 0.055;
  pointer-events: none;
  transform: rotate(14deg);
  z-index: 0;
}

@media (max-width: 768px) {
  .folio__botanical--hero {
    right: -22%;
    top: 15%;
    width: 340px;
  }
  .drop-cap {
    font-size: 4rem;
  }
}

/* ==========================================================================
   Trust stamps
   ========================================================================== */

.stamps {
  padding: 4.5rem 0 6rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(to bottom, var(--paper-warm), var(--paper));
  position: relative;
}

.stamps__rule {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--ink-mist);
  position: relative;
}

.stamps__rule::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--rule);
  z-index: 0;
}

.stamps__rule .mono {
  background: var(--paper);
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
  font-size: 11px;
}

.stamps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stamp {
  position: relative;
  padding: 3rem 1.75rem 2rem;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'SOFT' 40, 'wght' 500;
  font-size: 1.25rem;
  line-height: 1.18;
  text-align: center;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  transform: rotate(var(--r, 0deg));
  transition: transform 400ms cubic-bezier(0.65, 0, 0.35, 1), box-shadow 400ms ease;
  box-shadow: 0 2px 0 var(--ink), 0 16px 36px -18px rgba(15, 61, 46, 0.28);
  letter-spacing: -0.015em;
}

.stamp::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--rule);
  pointer-events: none;
}

.stamp::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--seal);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--seal);
}

.stamp:nth-child(1) { --r: -2.2deg; }
.stamp:nth-child(2) { --r: 1.4deg; }
.stamp:nth-child(3) { --r: -1.1deg; }
.stamp:nth-child(4) { --r: 2deg; }

.stamp:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: 0 2px 0 var(--seal), 0 24px 44px -16px rgba(15, 61, 46, 0.35);
}

.stamp__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px !important;
  color: var(--seal);
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .stamps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* ==========================================================================
   Section shared
   ========================================================================== */

.folio--platform,
.folio--features,
.folio--how,
.folio--personas,
.folio--close {
  padding: clamp(5rem, 11vh, 8.5rem) 0;
  position: relative;
}

.folio--platform { background: var(--paper); }

.folio--features {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.folio--how { background: var(--paper); }

.folio--personas {
  background: var(--ink);
  color: var(--paper);
}

.folio--close {
  background: var(--paper);
}

.section-header {
  max-width: 820px;
  margin-bottom: 4.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 400;
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.028em;
  color: inherit;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.section-header h2 em {
  font-style: italic;
  font-variation-settings: 'opsz' 9, 'SOFT' 100, 'wght' 300;
  color: var(--seal);
}

.section-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-mid);
  line-height: 1.55;
  max-width: 62ch;
}

.folio--personas .section-sub { color: rgba(245, 239, 228, 0.72); }
.folio--personas .folio__meta { color: rgba(245, 239, 228, 0.55); }
.folio--personas .section-header h2 { color: var(--paper); }

/* ==========================================================================
   Platform grid
   ========================================================================== */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
  box-shadow: 0 1px 0 var(--rule-soft), 0 24px 48px -32px rgba(15, 61, 46, 0.18);
}

.platform-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 300ms ease;
}

.platform-card:nth-child(2n) { border-right: none; }
.platform-card:nth-child(n+3) { border-bottom: none; }

.platform-card:hover {
  background: var(--paper-warm);
}

.platform-card__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  color: var(--ink-mist);
}

.platform-card__head .mono {
  font-size: 10px;
}

.platform-card h3 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'SOFT' 30, 'wght' 500;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--ink);
}

.platform-card h3 em {
  display: block;
  color: var(--ink-mist);
  font-variation-settings: 'opsz' 9, 'SOFT' 100, 'wght' 300;
  font-style: italic;
  font-size: 0.72em;
  margin-top: 0.35rem;
  letter-spacing: -0.01em;
}

.platform-card p {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

.platform-card__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.stat {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mist);
  line-height: 1.2;
  gap: 4px;
}

.stat__n {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'wght' 500;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--seal);
  line-height: 0.9;
  font-style: italic;
}

@media (max-width: 900px) {
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card {
    border-right: none !important;
    border-bottom: 1px solid var(--rule) !important;
    padding: 2.5rem 2rem;
  }
  .platform-card:last-child { border-bottom: none !important; }
}

/* ==========================================================================
   Features — ledger entries
   ========================================================================== */

.features-list {
  border-top: 1px solid var(--rule);
}

.feature-entry {
  display: grid;
  grid-template-columns: 70px 1fr 150px;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.feature-entry__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--seal);
  letter-spacing: 0.1em;
  font-weight: 500;
  padding-top: 0.75rem;
  text-transform: uppercase;
}

.feature-entry h3 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'SOFT' 40, 'wght' 400;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--ink);
  font-weight: 400;
}

.feature-entry h3 em {
  font-style: italic;
  font-variation-settings: 'opsz' 9, 'SOFT' 100, 'wght' 300;
  color: var(--seal);
}

.feature-entry p {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.6;
  max-width: 64ch;
}

.feature-entry__ref {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mist);
  text-align: right;
  padding-top: 0.9rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.feature-entry__ref strong {
  display: block;
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 10px;
}

@media (max-width: 860px) {
  .feature-entry {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 2.25rem 0;
  }
  .feature-entry__ref {
    text-align: left;
    padding-top: 1rem;
    border-top: 1px dashed var(--rule);
    margin-top: 0.75rem;
  }
}

/* ==========================================================================
   How it works
   ========================================================================== */

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.how-step {
  padding: 2.75rem 2rem;
  border-right: 1px solid var(--rule);
  position: relative;
}

.how-step:last-child { border-right: none; }

.how-step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 400;
  font-size: 3.25rem;
  line-height: 0.85;
  color: var(--seal);
  margin-bottom: 1.75rem;
  font-style: italic;
}

.how-step h3 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 24, 'SOFT' 40, 'wght' 500;
  font-size: 1.3rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.how-step p {
  font-size: 0.95rem;
  color: var(--ink-mid);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-step {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .how-step:last-child { border-bottom: none; }
}

/* ==========================================================================
   Personas — dark pull-quote section
   ========================================================================== */

.folio--personas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--seal),
    var(--seal) 120px,
    transparent 120px,
    transparent 240px
  );
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(245, 239, 228, 0.18);
}

.persona {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(245, 239, 228, 0.18);
  border-bottom: 1px solid rgba(245, 239, 228, 0.18);
  transition: background 300ms ease;
}

.persona:nth-child(2n) { border-right: none; }
.persona:nth-child(n+3) { border-bottom: none; }

.persona:hover {
  background: rgba(245, 239, 228, 0.035);
}

.persona__role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--seal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.persona__quote {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'SOFT' 50, 'wght' 400;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: 1.75rem;
  letter-spacing: -0.015em;
  font-style: italic;
}

.persona__tools {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(245, 239, 228, 0.72);
}

.persona__tools strong {
  color: var(--paper);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 0.78em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 6px;
}

@media (max-width: 860px) {
  .personas-grid { grid-template-columns: 1fr; }
  .persona {
    border-right: none !important;
    padding: 2.25rem 2rem;
  }
}

/* ==========================================================================
   Product types strip
   ========================================================================== */

.products-strip {
  padding: 5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
}

.products-strip::before,
.products-strip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule);
}

.products-strip::before { top: 8px; }
.products-strip::after { bottom: 8px; }

.products-strip__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mist);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  display: block;
  text-align: center;
}

.products-catalogue {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}

.product-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem 1rem 2rem;
  border-right: 1px solid var(--rule);
  position: relative;
  text-align: center;
}

.product-entry:last-child {
  border-right: none;
}

.product-entry__num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--seal);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 500;
}

.product-entry__glyph {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.product-entry__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'SOFT' 40, 'wght' 500;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}

.product-entry__unit {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mist);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.products-strip__note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-mist);
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-style: italic;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 18, 'SOFT' 50, 'wght' 400;
}

@media (max-width: 900px) {
  .products-catalogue {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-entry {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 2rem 1rem 1.75rem;
  }
  .product-entry:nth-child(2n) { border-right: none; }
  .product-entry:nth-child(n+4) { border-bottom: none; }
  .product-entry:last-child {
    grid-column: 1 / -1;
    border-right: none;
  }
}

/* ==========================================================================
   Close — final CTA
   ========================================================================== */

.folio--close .container {
  max-width: 920px;
  text-align: center;
}

.folio--close .folio__meta {
  justify-content: center;
}

.folio--close h2 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 400;
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.028em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.folio--close h2 em {
  font-style: italic;
  font-variation-settings: 'opsz' 9, 'SOFT' 100, 'wght' 300;
  color: var(--seal);
}

.close__lines {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mist);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  flex-wrap: wrap;
}

.close__lines span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.close__lines span::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--seal);
}

.close__pricing {
  max-width: 64ch;
  margin: 0 auto 3.5rem;
  color: var(--ink-mid);
  line-height: 1.65;
  font-size: 1.05rem;
}

.close__pricing strong {
  color: var(--ink);
  font-weight: 500;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--seal);
  margin-right: 6px;
  vertical-align: 1px;
}

.close__price-anchor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 860px;
  margin: 0 auto 3.5rem;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  box-shadow: 0 3px 0 var(--ink);
}

.close__price-anchor > div {
  padding: 2.25rem 1.5rem;
  border-right: 1px solid var(--rule);
  text-align: center;
  position: relative;
}

.close__price-anchor > div:last-child { border-right: none; }

.close__price-anchor__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--seal);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.close__price-anchor__title {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'SOFT' 40, 'wght' 500;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

.close__price-anchor__title em {
  font-style: italic;
  font-variation-settings: 'opsz' 9, 'SOFT' 100, 'wght' 300;
  color: var(--seal);
}

.close__price-anchor__label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-mist);
  max-width: 24ch;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .close__price-anchor {
    grid-template-columns: 1fr;
  }
  .close__price-anchor > div {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .close__price-anchor > div:last-child { border-bottom: none; }
}

.close__cta {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'SOFT' 40, 'wght' 500;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--ink);
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: color 300ms ease, border-color 300ms ease, letter-spacing 300ms ease;
  min-width: 320px;
  justify-content: center;
  letter-spacing: -0.01em;
}

.close__cta:hover {
  color: var(--seal);
  border-color: var(--seal);
  letter-spacing: 0.005em;
}

.close__cta__arrow {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.85em;
  transition: transform 300ms ease;
}

.close__cta:hover .close__cta__arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Footer — colophon
   ========================================================================== */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--ink-mid);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--seal),
    var(--seal) 120px,
    transparent 120px,
    transparent 240px
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 239, 228, 0.12);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(245, 239, 228, 0.62);
  margin-top: 1.25rem;
  max-width: 38ch;
}

.footer-brand .folio-brand {
  color: var(--paper);
}

.footer-nav h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--seal);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.6rem;
}

.footer-nav a {
  font-size: 0.92rem;
  color: rgba(245, 239, 228, 0.78);
  transition: color 200ms ease;
  position: relative;
}

.footer-nav a:hover {
  color: var(--paper);
}

.footer-colophon {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(245, 239, 228, 0.12);
}

.colophon-stat {
  font-family: var(--font-display);
  color: rgba(245, 239, 228, 0.9);
}

.colophon-stat__n {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 500;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.9;
  font-style: italic;
  color: var(--seal);
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

.colophon-stat__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 239, 228, 0.72);
  line-height: 1.4;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(245, 239, 228, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom .verified {
  color: var(--seal);
}

.footer-bottom a:hover {
  color: var(--paper);
}

@media (max-width: 860px) {
  .footer-colophon {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .stamp {
    transform: none !important;
  }
}
