/* ================================================================
   COFFEE & TALKS — Visual Layer v4
   Refined coffeehouse: espresso, crema, walnut, terracotta
   ================================================================ */

/* --- Type Scale (fluid) --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 600px;
  --content-default: 840px;
  --content-wide: 1120px;

  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
}

/* ================================================================
   LIGHT PALETTE — warm ivory / espresso / crema / terracotta
   ================================================================ */
:root, [data-theme="light"] {
  /* Warm ivory base — not white, not gray */
  --color-bg:           #F5EDE0;
  --color-white:        #FDFBF7;
  --color-white-surface:#F6F3EE;
  --color-surface:      #EFE6D8;
  --color-surface-2:    #E8DED0;
  --color-surface-3:    #F2EAE0;
  --color-surface-rich: #3C2A1A;
  --color-border:       #D4C9B6;
  --color-divider:      #DDD2C2;

  /* Text on warm surfaces */
  --color-text:         #2A1F14;
  --color-text-muted:   #6B5D4F;
  --color-text-faint:   #A69882;
  --color-text-on-dark: #F5EDE0;

  /* Espresso primary */
  --color-primary:      #4A2C17;
  --color-primary-hover:#352010;

  /* Crema accent + terracotta secondary */
  --color-accent:       #C08B5C;
  --color-accent-soft:  rgba(192, 139, 92, 0.15);
  --color-terracotta:   #B5714A;
  --color-terracotta-soft: rgba(181, 113, 74, 0.10);
  --color-olive:        #7A7A52;

  /* Warm glow for hero */
  --color-glow:         rgba(192, 139, 92, 0.15);
  --color-glow-strong:  rgba(192, 139, 92, 0.25);

  --shadow-sm: 0 1px 3px rgba(42, 31, 20, 0.06);
  --shadow-md: 0 2px 8px rgba(42, 31, 20, 0.07), 0 8px 24px rgba(42, 31, 20, 0.05);
  --shadow-lg: 0 8px 32px rgba(42, 31, 20, 0.12);
  --shadow-card: 0 1px 2px rgba(42, 31, 20, 0.06), 0 4px 16px rgba(42, 31, 20, 0.04);

  /* Paper texture noise — subtle grain overlay */
  --texture-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ================================================================
   DARK PALETTE — deep espresso / walnut / golden crema
   ================================================================ */
[data-theme="dark"] {
  --color-bg:           #151110;
  --color-white:        #1A1512;
  --color-white-surface:#1E1915;
  --color-surface:      #1C1714;
  --color-surface-2:    #231D18;
  --color-surface-3:    #191412;
  --color-surface-rich: #C08B5C;
  --color-border:       #382E25;
  --color-divider:      #2D251E;

  --color-text:         #E2D6C6;
  --color-text-muted:   #9C8B79;
  --color-text-faint:   #5E5347;
  --color-text-on-dark: #151110;

  --color-primary:      #C08B5C;
  --color-primary-hover:#D4A070;

  --color-accent:       #A07A52;
  --color-accent-soft:  rgba(160, 122, 82, 0.15);
  --color-terracotta:   #C4825A;
  --color-terracotta-soft: rgba(196, 130, 90, 0.12);
  --color-olive:        #8A8A62;

  --color-glow:         rgba(192, 139, 92, 0.08);
  --color-glow-strong:  rgba(192, 139, 92, 0.15);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.15);

  --texture-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:           #151110;
    --color-white:        #1A1512;
    --color-white-surface:#1E1915;
    --color-surface:      #1C1714;
    --color-surface-2:    #231D18;
    --color-surface-3:    #191412;
    --color-surface-rich: #C08B5C;
    --color-border:       #382E25;
    --color-divider:      #2D251E;
    --color-text:         #E2D6C6;
    --color-text-muted:   #9C8B79;
    --color-text-faint:   #5E5347;
    --color-text-on-dark: #151110;
    --color-primary:      #C08B5C;
    --color-primary-hover:#D4A070;
    --color-accent:       #A07A52;
    --color-accent-soft:  rgba(160, 122, 82, 0.15);
    --color-terracotta:   #C4825A;
    --color-terracotta-soft: rgba(196, 130, 90, 0.12);
    --color-olive:        #8A8A62;
    --color-glow:         rgba(192, 139, 92, 0.08);
    --color-glow-strong:  rgba(192, 139, 92, 0.15);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.15);
    --texture-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  }
}

/* ================================================================
   GLOBAL TEXTURE — subtle paper grain on body
   ================================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--texture-noise);
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 9999;
}

/* ================================================================
   LAYOUT
   ================================================================ */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}

.container--narrow {
  max-width: var(--content-narrow);
}

.container--default {
  max-width: var(--content-default);
}

/* ================================================================
   HEADER / NAV
   ================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-4) 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.logo-img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

/* Dark mode: brighten the logo so it reads on dark backgrounds */
[data-theme="dark"] .logo-img,
[data-theme="dark"] .hero__logo,
[data-theme="dark"] .footer__logo {
  filter: brightness(1.8) saturate(0.85);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo-img,
  :root:not([data-theme]) .hero__logo,
  :root:not([data-theme]) .footer__logo {
    filter: brightness(1.8) saturate(0.85);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.theme-toggle {
  color: var(--color-text-faint);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}
.theme-toggle:hover {
  color: var(--color-text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--color-primary-hover);
}

/* ================================================================
   HERO — atmospheric, warm glow, decorative elements
   ================================================================ */

.hero {
  position: relative;
  padding: clamp(var(--space-20), 14vw, var(--space-32)) 0 clamp(var(--space-16), 10vw, var(--space-24));
  text-align: center;
  overflow: hidden;
}

/* Warm radial glow behind hero content — deep, enveloping warmth */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110vw;
  height: 100%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(192, 139, 92, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 35% 60%, rgba(181, 113, 74, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 65% 55%, rgba(192, 139, 92, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(192, 139, 92, 0.06) 60%, rgba(192, 139, 92, 0.10) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Second coffee ring watermark — bottom left, balances the hero__ring */
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-accent);
  opacity: 0.05;
  pointer-events: none;
}

/* Large coffee ring motif — centered behind headline, visible watermark */
.hero__ring {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: clamp(380px, 58vw, 620px);
  height: clamp(380px, 58vw, 620px);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-accent);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.hero__ring::before {
  content: '';
  position: absolute;
  top: -12%;
  left: -12%;
  right: -12%;
  bottom: -12%;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-accent);
  opacity: 0.35;
}
.hero__ring::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent);
  opacity: 0.55;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--color-text);
  max-width: 15ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.hero__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 44ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

/* Logo image above hero headline */
.hero__logo {
  display: block;
  height: clamp(100px, 14vw, 140px);
  width: auto;
  margin: 0 auto var(--space-10);
}

/* ================================================================
   BUTTONS — richer, more premium
   ================================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  text-decoration: none;
  min-height: 52px;
  box-shadow: 0 2px 8px rgba(74, 44, 23, 0.2);
  position: relative;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 16px rgba(74, 44, 23, 0.3);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

.hero__secondary {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 3px;
}
.hero__secondary:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

/* ================================================================
   SECTION DEFAULTS
   ================================================================ */

.section {
  position: relative;
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0;
}

.section--alt {
  background: var(--color-surface);
}

.section--warm {
  background: var(--color-surface-3);
}

.section--white {
  background: var(--color-white);
}

/* Curved separator between sections */
.section--wave-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}

.section__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-terracotta);
  margin-bottom: var(--space-5);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-8);
  max-width: 24ch;
}

.section__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 56ch;
}

.section__body + .section__body {
  margin-top: var(--space-5);
}

/* ================================================================
   DECORATIVE DIVIDER — coffee bean / dot motif
   ================================================================ */

.divider {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-8);
  border: none;
  height: auto;
  width: auto;
  background: none;
}

.divider::before {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, var(--color-terracotta), transparent);
  opacity: 0.5;
}

.divider::after {
  content: '·';
  font-size: 1.2rem;
  color: var(--color-terracotta);
  opacity: 0.4;
}

/* ================================================================
   TOPIC CARDS — warmer, more tactile
   ================================================================ */

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.topic-card {
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle inner warmth glow on cards */
.topic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, var(--color-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.topic-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.topic-card:hover::before {
  opacity: 1;
}

.section--alt .topic-card {
  background: var(--color-surface-2);
}

.section--white .topic-card {
  background: var(--color-white-surface);
  border-color: #E8E3DB;
}
[data-theme="dark"] .section--white .topic-card {
  border-color: var(--color-border);
}

.topic-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: var(--text-sm);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.topic-card__title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.topic-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ================================================================
   WHO IT'S FOR — TAGS
   ================================================================ */

.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.who-tag {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  background: var(--color-white);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.who-tag:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
}

.section--alt .who-tag {
  background: var(--color-surface-2);
}

.section--white .who-tag {
  background: var(--color-white-surface);
}

/* ================================================================
   WHY PEOPLE COME BACK
   ================================================================ */

.reasons-list {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 56ch;
}

.reason {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.reason__marker {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.65em;
  border-radius: var(--radius-full);
  background: var(--color-terracotta);
}

.reason__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.reason__text strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ================================================================
   LOGISTICS — warm card layout
   ================================================================ */

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.logistic-item {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.section--alt .logistic-item {
  background: var(--color-surface-2);
}

.section--white .logistic-item {
  background: var(--color-white-surface);
  border-color: #E8E3DB;
}
[data-theme="dark"] .section--white .logistic-item {
  border-color: var(--color-border);
}

.logistic-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-terracotta-soft);
  color: var(--color-terracotta);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  font-style: italic;
}

.logistic-item__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.logistic-item__detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ================================================================
   ETHOS — rich atmospheric quote
   ================================================================ */

.ethos {
  position: relative;
  padding: clamp(var(--space-20), 10vw, var(--space-32)) 0;
  text-align: center;
  background: var(--color-surface-rich);
  color: var(--color-text-on-dark);
  overflow: hidden;
}

/* Coffee ring watermark decoration — larger, more atmospheric */
.ethos::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border-radius: var(--radius-full);
  border: 1.5px solid currentColor;
  opacity: 0.07;
  pointer-events: none;
}

.ethos::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: var(--radius-full);
  border: 1px solid currentColor;
  opacity: 0.04;
  pointer-events: none;
}

.ethos__text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-on-dark);
  max-width: 22ch;
  margin-inline: auto;
  letter-spacing: -0.015em;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  padding: var(--space-10) var(--space-8);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .ethos__text {
  color: var(--color-text-on-dark);
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}

.ethos__mark {
  display: block;
  width: 48px;
  height: 2px;
  background: currentColor;
  margin: 0 auto var(--space-10);
  opacity: 0.3;
  border-radius: 1px;
  position: relative;
  z-index: 1;
}

/* Decorative quotation marks flanking ethos text */
.ethos__text::before {
  content: '\201C';
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 3vw, 5rem);
  font-style: normal;
  line-height: 0.6;
  opacity: 0.12;
  margin-bottom: var(--space-4);
  color: currentColor;
}

/* ================================================================
   JOIN — warm, inviting, latte-tinted
   ================================================================ */

.join-section {
  position: relative;
  padding: clamp(var(--space-20), 12vw, var(--space-32)) 0;
  text-align: center;
  overflow: hidden;
  background: var(--color-white);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

/* Warm atmospheric glow — rich latte warmth */
.join-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90%;
  background:
    radial-gradient(ellipse 55% 50% at 50% 45%, rgba(192, 139, 92, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 55%, rgba(181, 113, 74, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

/* Decorative coffee ring behind join form — more visible */
.join-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: clamp(300px, 45vw, 460px);
  height: clamp(300px, 45vw, 460px);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent);
  opacity: 0.10;
  pointer-events: none;
}

.join-section .container {
  position: relative;
  z-index: 1;
}

.join__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.join__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 42ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  line-height: 1.75;
}

/* Decorative cup icon before the form */
.join__icon {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-8);
  color: var(--color-accent);
  opacity: 0.3;
}

.join-form {
  max-width: 380px;
  margin-inline: auto;
}

.join-form__fields {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.join-form__input {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-white-surface);
  font-size: var(--text-sm);
  text-align: center;
  min-height: 52px;
  box-shadow: inset 0 1px 3px rgba(42, 31, 20, 0.04);
}

.join-form__input::placeholder {
  color: var(--color-text-faint);
}

.join-form__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 12%, transparent), inset 0 1px 3px rgba(42, 31, 20, 0.04);
}

.join-form__btn {
  width: 100%;
}

.join-form__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 34ch;
  margin-top: var(--space-4);
  line-height: 1.55;
}

/* Confirmation */
.join-form__confirmation {
  display: none;
  text-align: center;
  padding: var(--space-8) 0;
}

.join-form__confirmation.is-visible {
  display: block;
}

.join-form__confirmation p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 40ch;
  margin-inline: auto;
  line-height: 1.75;
}

.join-form__fields.is-hidden {
  display: none;
}

/* ================================================================
   FOOTER — warm, minimal
   ================================================================ */

.site-footer {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.footer__logo {
  height: 72px;
  width: auto;
  display: block;
  margin: 0 auto var(--space-3);
}

.footer__text {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

/* ================================================================
   CONVERSATION DIAGRAMS — editorial brand motif
   Abstract circles, rings, and connecting lines representing
   conversation, trust, and relationships forming around a table.
   Styled like a watermark on premium café stationery.
   ================================================================ */

.diagram {
  position: absolute;
  pointer-events: none;
  color: var(--color-accent);
  opacity: 0.12;
  z-index: 0;
}

/* Hero diagram — large, offset right to frame the headline */
.diagram--hero {
  width: clamp(500px, 68vw, 880px);
  height: auto;
  top: 48%;
  right: -12%;
  transform: translateY(-50%);
}

/* Why diagram — right-aligned, vertically centered */
.diagram--why {
  width: clamp(360px, 50vw, 640px);
  height: auto;
  top: 50%;
  right: 0%;
  transform: translateY(-50%);
  opacity: 0.10;
}

/* Join diagram — centered behind the form */
.diagram--join {
  width: clamp(420px, 60vw, 720px);
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.10;
}

/* Dark mode — slightly softer */
[data-theme="dark"] .diagram {
  opacity: 0.06;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .diagram {
    opacity: 0.06;
  }
}

/* Mobile — scale down and re-center to avoid overflow */
@media (max-width: 768px) {
  .diagram--hero {
    width: 120%;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
  }

  .diagram--why {
    width: 110%;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.06;
  }

  .diagram--join {
    width: 110%;
    opacity: 0.07;
  }
}

/* ================================================================
   SECTION ORNAMENTS — decorative coffee motifs
   ================================================================ */

/* Horizontal ornament between sections */
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-2) 0;
  color: var(--color-accent);
  opacity: 0.2;
}

.section-ornament::before,
.section-ornament::after {
  content: '';
  width: 48px;
  height: 1px;
  background: currentColor;
}

/* ================================================================
   REVEAL ANIMATIONS
   ================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-children > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-children.is-visible > *:nth-child(2) { transition-delay: 60ms; }
.reveal-children.is-visible > *:nth-child(3) { transition-delay: 120ms; }
.reveal-children.is-visible > *:nth-child(4) { transition-delay: 180ms; }
.reveal-children.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.reveal-children.is-visible > *:nth-child(6) { transition-delay: 300ms; }

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

/* ================================================================
   RESPONSIVE
   ================================================================ */

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

  .logistics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero::after {
    width: 140px;
    height: 140px;
    bottom: -40px;
    left: -40px;
  }
}

@media (max-width: 640px) {
  .hero__headline {
    font-size: var(--text-2xl);
    max-width: 18ch;
  }

  .hero__steam {
    width: 56px;
    height: 38px;
  }

  .hero__ring {
    width: 300px;
    height: 300px;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .topic-card {
    padding: var(--space-6) var(--space-5);
  }

  .logistics-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .logistic-item {
    padding: var(--space-6) var(--space-4);
  }

  .nav-cta {
    padding: var(--space-2) var(--space-4);
    font-size: clamp(0.65rem, 0.6rem + 0.2vw, 0.75rem);
  }

  .section {
    padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
  }

  .ethos {
    padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
  }

  .ethos::before {
    width: 200px;
    height: 200px;
  }

  .ethos::after {
    width: 240px;
    height: 240px;
  }
}

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