/* =============================================================
   Boon - Customer Stories Page (/customers/)
   Editorial magazine layout matching /about/: warm cream paper,
   terracotta brick accents, hairline rules, Fraunces display +
   Instrument Serif italic + Satoshi body. Zero animations or
   backdrop filters for zero Opera/Chrome flicker.
   ============================================================= */

:root {
  --cust-canvas: #FBFAF6;
  --cust-stone: #F4EFE6;
  --cust-ink: #0F0E0C;
  --cust-body: #2A251F;
  --cust-muted: #5A5247;
  --cust-accent: #A65233;
  --cust-accent-deep: #7C3A21;
  --cust-rule: rgba(15, 14, 12, 0.10);
  --cust-rule-strong: rgba(15, 14, 12, 0.16);
  --cust-dark-cream: #FBFAF6;
  --cust-dark-muted: #D5CCC0;
  --cust-dark-subtle: #A39889;
}

body.cust-page {
  background: var(--cust-canvas);
  color: var(--cust-ink);
}

.cust-wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .cust-wrap {
    padding-inline: 40px;
  }
}

.cust-page :focus-visible {
  outline: 2px solid var(--cust-accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.cust-closing :focus-visible {
  outline-color: var(--cust-dark-cream);
}

/* =============================================================
   0. FIXED TOP NAVIGATION (matches /about/)
   ============================================================= */
.cust-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--cust-rule);
}

.cust-nav__inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .cust-nav__inner {
    padding: 14px 40px;
  }
}

.cust-nav__left {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.cust-nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.cust-nav__logo img {
  height: 21px;
  width: auto;
  display: block;
}

@media (min-width: 640px) {
  .cust-nav__logo img {
    height: 23px;
  }
}

.cust-nav__sep {
  width: 1px;
  height: 16px;
  background: var(--cust-rule-strong);
  flex-shrink: 0;
}

.cust-nav__home {
  font-family: 'Satoshi', 'Inter Tight', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--cust-muted);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 180ms ease;
}

.cust-nav__home:hover {
  color: var(--cust-ink);
}

.cust-nav__cta {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .cust-nav__cta {
    min-height: 42px;
    padding: 10px 20px;
    font-size: 14.5px;
  }
}

/* =============================================================
   SHARED EDITORIAL TYPOGRAPHY & LINKS
   ============================================================= */
.cust-kicker {
  font-family: 'Satoshi', 'Inter Tight', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--cust-accent-deep);
  margin: 0 0 16px;
}

.cust-italic {
  font-family: 'Instrument Serif', 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--cust-accent);
}

.cust-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Satoshi', 'Inter Tight', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--cust-accent-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 58, 33, 0.32);
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}

.cust-text-link:hover {
  color: var(--cust-ink);
  border-bottom-color: var(--cust-ink);
}

/* =============================================================
   1. EDITORIAL HERO
   ============================================================= */
.cust-hero {
  padding: 104px 0 56px;
}

@media (min-width: 768px) {
  .cust-hero {
    padding: 120px 0 72px;
  }
}

.cust-hero__title {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 400;
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--cust-ink);
  max-width: 15ch;
  margin: 0 0 22px;
}

.cust-hero__lead {
  font-size: 17.5px;
  line-height: 1.66;
  color: var(--cust-body);
  max-width: 58ch;
  margin: 0;
}

@media (min-width: 768px) {
  .cust-hero__lead {
    font-size: 18.5px;
  }
}

.cust-hero__stat {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 32, "SOFT" 30;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--cust-ink);
}

/* =============================================================
   2. FEATURED CLIENT STORY (MAGAZINE 2-COLUMN FEATURE)
   ============================================================= */
.cust-feature {
  padding: 56px 0 72px;
  border-top: 1px solid var(--cust-rule);
}

@media (min-width: 768px) {
  .cust-feature {
    padding: 72px 0 88px;
  }
}

.cust-feature__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .cust-feature__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 64px;
  }
}

.cust-feature__stat-col {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--cust-rule);
}

@media (min-width: 900px) {
  .cust-feature__stat-col {
    padding-bottom: 0;
    padding-right: 48px;
    border-bottom: 0;
    border-right: 1px solid var(--cust-rule);
  }
}

.cust-feature__figure {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  font-size: clamp(3.5rem, 6.2vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--cust-ink);
  margin: 0 0 10px;
}

.cust-feature__figure-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--cust-muted);
  margin: 0 0 28px;
}

.cust-feature__meta {
  margin: 0;
  border-top: 1px solid var(--cust-rule);
}

.cust-feature__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cust-rule);
  font-size: 14px;
  line-height: 1.45;
}

.cust-feature__meta-row dt {
  color: var(--cust-muted);
  font-weight: 400;
}

.cust-feature__meta-row dd {
  margin: 0;
  color: var(--cust-ink);
  font-weight: 500;
  text-align: right;
}

.cust-feature__title {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 400;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--cust-ink);
  max-width: 24ch;
  margin: 0 0 18px;
}

.cust-feature__body {
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--cust-body);
  max-width: 56ch;
  margin: 0 0 24px;
}

.cust-feature__quote {
  margin: 0 0 28px;
  padding: 18px 0 18px 22px;
  border-left: 2px solid var(--cust-accent);
}

.cust-feature__quote p {
  font-family: 'Instrument Serif', 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.1vw, 1.55rem);
  line-height: 1.32;
  color: var(--cust-ink);
  margin: 0 0 10px;
}

.cust-feature__quote cite {
  display: block;
  font-style: normal;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--cust-muted);
}

/* =============================================================
   3. QUIET HELPER STRIP (FOR YOUR BOARD + ABOUT)
   ============================================================= */
.cust-helpers {
  padding: 44px 0 68px;
  border-top: 1px solid var(--cust-rule);
}

@media (min-width: 768px) {
  .cust-helpers {
    padding: 52px 0 80px;
  }
}

.cust-helpers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .cust-helpers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }
}

.cust-helper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.cust-helper__label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--cust-muted);
}

.cust-helper__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--cust-body);
  max-width: 44ch;
}

/* =============================================================
   4. CLOSING INVITATION (SOLID WARM ESPRESSO, MATCHES /about/)
   ============================================================= */
.cust-closing {
  background: var(--cust-ink);
  color: var(--cust-dark-cream);
  padding: 76px 0 84px;
}

@media (min-width: 768px) {
  .cust-closing {
    padding: 96px 0 104px;
  }
}

.cust-closing__inner {
  max-width: 680px;
}

.cust-closing__kicker {
  font-family: 'Satoshi', 'Inter Tight', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #D7987E;
  margin: 0 0 16px;
}

.cust-closing__title {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--cust-dark-cream);
  margin: 0 0 20px;
}

.cust-closing__body {
  font-size: 17.5px;
  line-height: 1.66;
  color: var(--cust-dark-muted);
  max-width: 56ch;
  margin: 0 0 28px;
}

@media (min-width: 768px) {
  .cust-closing__body {
    font-size: 18px;
  }
}

.cust-closing__host {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
}

.cust-closing__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #2A251F;
  border: 1px solid rgba(251, 247, 240, 0.22);
  display: block;
}

.cust-closing__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 64% 18%;
  transform: scale(1.85);
  transform-origin: 62% 24%;
}

.cust-closing__host-name {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--cust-dark-cream);
  line-height: 1.35;
}

.cust-closing__host-role {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--cust-dark-subtle);
  line-height: 1.35;
}

.cust-closing__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--cust-dark-cream);
  color: var(--cust-ink);
  font-family: 'Satoshi', 'Inter Tight', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1),
              background 180ms ease;
}

.cust-closing__btn:hover {
  background: #F4EFE6;
  transform: translateY(-2px);
}

.cust-closing__btn:active {
  transform: translateY(0);
}

.cust-closing__terms {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--cust-dark-subtle);
}

.cust-closing__terms a {
  color: var(--cust-dark-muted);
  text-decoration: underline;
  text-decoration-color: rgba(213, 204, 192, 0.45);
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.cust-closing__terms a:hover {
  color: var(--cust-dark-cream);
  text-decoration-color: var(--cust-dark-cream);
}

@media (prefers-reduced-motion: reduce) {
  .cust-closing__btn,
  .cust-text-link,
  .cust-nav__home,
  .arrow {
    transition: none;
  }
  .cust-closing__btn:hover {
    transform: none;
  }
}
