/* Georgia Wood Char — Brand System
   Carbon #151815 | Pine #234333 | Moss #6F7D46 | Clay #B45A32 | Sand #F4EFE7 | Ash #D8D3C8 | Paper #FAF7F1
*/

:root {
  --carbon: #151815;
  --pine: #234333;
  --pine-deep: #1A3228;
  --moss: #6F7D46;
  --clay: #B45A32;
  --clay-hover: #9A4C2A;
  --sand: #F4EFE7;
  --ash: #D8D3C8;
  --paper: #FAF7F1;
  --ink: #1F1D18;
  --muted: #6B665C;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(21, 24, 21, 0.08);
  --shadow-lg: 0 12px 40px rgba(21, 24, 21, 0.12);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip; /* clip does not break position:sticky like hidden can */
}

body {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.serif { font-family: 'Fraunces', Georgia, serif; font-optical-sizing: auto; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ========== SCROLL FADE-UP ANIMATION (obvious) ========== */
.fade-up {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.fade-up-delay-1 { transition-delay: 0.12s; }
.fade-up-delay-2 { transition-delay: 0.24s; }
.fade-up-delay-3 { transition-delay: 0.36s; }
.fade-up-delay-4 { transition-delay: 0.48s; }

/* ========== NAV ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ash);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link {
  background: transparent !important;
  display: flex;
  align-items: center;
}
.logo-link img {
  height: 90px;
  width: auto;
  background: transparent !important;
  mix-blend-mode: normal;
}
@media (max-width: 600px) {
  .logo-link img { height: 70px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clay);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--clay);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

.btn-clay:hover {
  background: var(--clay-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(180, 90, 50, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--pine);
  color: var(--pine);
}

.btn-outline:hover {
  background: var(--pine);
  color: var(--white);
  transform: translateY(-2px);
}

.cta-band .btn-outline,
.bg-carbon .btn-outline,
.hero .btn-outline,
.page-hero .btn-outline {
  border-color: var(--sand);
  color: var(--sand);
}

.cta-band .btn-outline:hover,
.bg-carbon .btn-outline:hover,
.hero .btn-outline:hover,
.page-hero .btn-outline:hover {
  background: var(--sand);
  color: var(--pine-deep);
  border-color: var(--sand);
}

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

.btn-white:hover {
  background: var(--sand);
  transform: translateY(-2px);
}

.nav-cta { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--carbon);
  margin: 5px 0;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  background: var(--carbon);
  color: var(--sand);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(180, 90, 50, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(35, 67, 51, 0.5), transparent 50%);
  pointer-events: none;
}

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

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--clay);
  font-weight: 300;
}

.hero .lead {
  font-size: 1.15rem;
  max-width: 52ch;
  color: var(--ash);
  margin-bottom: 36px;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.88rem;
  color: var(--ash);
  opacity: 0.75;
}

.hero-meta strong {
  color: var(--sand);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}




/* ========== PORE STRUCTURE HERO (from original staging) ========== */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  /* EXACT technique from original deploy: solid alternating bands */
  background:
    repeating-radial-gradient(
      circle at 32% 45%,
      #191b19 0 7px,
      #242724 7px 14px,
      #141614 14px 26px
    ),
    #151815 !important;
  color: #F4EFE7;
}

/* Disable the old faint overlay rings — gradient IS the texture */
.hero-circles {
  display: none !important;
}

.hero::after,
.page-hero::after {
  display: none !important; /* remove soft washes that hide rings */
}

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

.hero-fig {
  position: absolute;
  top: 28px;
  right: 32px;
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 231, 0.5);
  font-weight: 500;
  text-align: right;
  line-height: 1.5;
  pointer-events: none;
}
@media (max-width: 700px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero-fig { display: none; }
}

/* ========== SECTIONS ========== */
section { padding: 88px 0; }

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--carbon);
  margin-bottom: 16px;
  max-width: 22ch;
}

.section-intro {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 48px;
}

.bg-sand { background: var(--sand); }
.bg-carbon { background: var(--carbon); color: var(--sand); }
.bg-carbon .section-title { color: var(--sand); }
.bg-carbon .section-intro { color: var(--ash); }

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(180, 90, 50, 0.1);
  color: var(--clay);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--carbon);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ========== METRIC STRIP ========== */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.metric {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}

.metric .num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 8px;
}

.metric .label {
  font-size: 0.88rem;
  color: var(--ash);
}

/* ========== PROCESS / ABOUT ========== */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-content .section-title { max-width: none; }

.checklist {
  margin-top: 28px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--ink);
}

.checklist .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pine);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 1px;
}

.credit-box {
  background: var(--sand);
  border-left: 4px solid var(--clay);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--muted);
}

.credit-box strong { color: var(--carbon); }

/* ========== APPLICATIONS ========== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.app-card {
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition);
}

.app-card:hover { border-color: var(--clay); }

.app-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--carbon);
}

.app-card p { font-size: 0.92rem; color: var(--muted); flex-grow: 1; }

.app-card .tag {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clay);
  background: rgba(180, 90, 50, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

/* ========== CTA BAND ========== */
.cta-band {
  background: linear-gradient(135deg, var(--pine-deep) 0%, var(--pine) 100%);
  color: var(--sand);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}

.cta-band p {
  max-width: 48ch;
  margin: 0 auto 32px;
  color: var(--ash);
  font-size: 1.05rem;
}

.cta-band .btn-clay {
  box-shadow: 0 8px 24px rgba(180, 90, 50, 0.35);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--carbon);
  color: var(--ash);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; background: transparent !important; }

.footer-brand p {
  font-size: 0.9rem;
  max-width: 28ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--clay); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  opacity: 0.7;
}
.footer-bottom a {
  color: var(--sand);
}
.footer-bottom a:hover {
  color: var(--clay);
}

/* ========== PAGE HERO (inner) ========== */
.page-hero {
  background: var(--carbon);
  color: var(--sand);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(180, 90, 50, 0.15), transparent 40%);
  pointer-events: none;
}

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

.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 54ch;
  color: var(--ash);
  font-size: 1.08rem;
}

/* ========== FORMS ========== */
.form-grid {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--carbon);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ash);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(180, 90, 50, 0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }

/* ========== RESEARCH LIST ========== */
.research-list {
  display: grid;
  gap: 16px;
}

.research-item {
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: border-color var(--transition);
}

.research-item:hover { border-color: var(--clay); }

.research-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--carbon);
  margin-bottom: 4px;
}

.research-item p { font-size: 0.9rem; color: var(--muted); }

/* ========== TABLE ========== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ash);
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--ash);
}

.data-table th {
  background: var(--sand);
  font-weight: 600;
  color: var(--carbon);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table tr:last-child td { border-bottom: none; }

.data-table .highlight { color: var(--clay); font-weight: 600; }



/* ========== STICKY SPLIT (title left, scrolling content right) ========== */
.sticky-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.15fr;
  gap: 72px;
  align-items: start;
}

.sticky-split__left {
  position: sticky;
  top: 110px; /* clear sticky header */
  align-self: start;
  padding-bottom: 40px;
  z-index: 2;
}

.sticky-split__left .section-label {
  margin-bottom: 12px;
}

.sticky-split__left .section-title {
  max-width: 12ch;
  margin-bottom: 18px;
}

.sticky-split__left .section-intro {
  margin-bottom: 0;
  max-width: 34ch;
}

.sticky-split__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* tall enough that sticky left is noticeable while scrolling */
  min-height: 120vh;
}

.feature-item {
  position: relative;
  background: #ffffff;
  border: 1px solid #D8D3C8;
  border-radius: 20px;
  padding: 36px 40px 96px 36px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(21, 24, 21, 0.06);
  transition: border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-item:hover {
  border-color: rgba(180, 90, 50, 0.4);
  box-shadow: var(--shadow);
}

.feature-item__num {
  position: absolute;
  right: 16px;
  bottom: 10px;
  top: auto;
  transform: none;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(3.2rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--clay);
  opacity: 0.34;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  z-index: 0;
}

.feature-item__icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  display: block;
  font-size: 8rem;
  line-height: 1;
  opacity: 0.22;
  filter: grayscale(1);
  pointer-events: none;
  z-index: 0;
}

.feature-item h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--carbon);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 42ch;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .sticky-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sticky-split__left {
    position: static !important;
    top: auto !important;
  }
  .sticky-split__left .section-title {
    max-width: none;
  }
  .sticky-split__right {
    min-height: 0;
  }
  .feature-item__num {
    font-size: 3rem;
    opacity: 0.28;
    right: 12px;
    bottom: 8px;
    top: auto;
    transform: none;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .app-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 24px;
    border-bottom: 1px solid var(--ash);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .research-item { flex-direction: column; align-items: flex-start; }
}

/* Desktop only: sticky left column (never on mobile — causes overlap) */
@media (min-width: 901px) {
  .sticky-split__left {
    position: sticky !important;
    top: 110px !important;
    align-self: start !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    will-change: auto !important;
    z-index: 2;
  }
  .sticky-split {
    transform: none;
    filter: none;
    perspective: none;
    overflow: visible;
  }
}

/* Mobile/tablet: normal document flow — no sticky, no overlap */
@media (max-width: 900px) {
  .sticky-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    align-items: stretch !important;
  }
  .sticky-split__left {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    padding-bottom: 0 !important;
    transform: none !important;
  }
  .sticky-split__left .section-title {
    max-width: none !important;
  }
  .sticky-split__right {
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .feature-item {
    position: relative;
    z-index: 1;
  }
  .feature-item__num {
    font-size: 2.75rem !important;
    opacity: 0.28 !important;
    right: 12px;
    bottom: 8px;
    top: auto;
    transform: none;
  }
  .feature-item__icon {
    font-size: 5.5rem;
    opacity: 0.2;
  }
}

/* ========== ANIMATED LOGO ========== */
.logo-link {
  display: flex;
  align-items: center;
  background: transparent !important;
  text-decoration: none;
}
.logo-mark {
  position: relative;
  display: inline-block;
  width: auto;
  height: 90px;
  line-height: 0;
}
.logo-mark img {
  display: block;
  height: 90px;
  width: auto;
}
.logo-mark .logo-base {
  position: relative;
  z-index: 1;
}
.logo-mark .logo-flame {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  height: 90px;
  width: auto;
  transform-origin: 70% 85%;
  animation: flame-flicker 2.4s ease-in-out infinite;
  will-change: transform, opacity, filter;
}
.logo-mark--footer {
  height: 56px;
  margin-bottom: 16px;
}
.logo-mark--footer img,
.logo-mark--footer .logo-flame {
  height: 56px;
}
.logo-mark--footer .logo-flame {
  animation: none;
}
.footer-logo {
  height: 56px;
  width: auto;
  background: transparent;
  filter: none;
}

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

@keyframes flame-flicker {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
    filter: brightness(1);
  }
  18% {
    transform: translateY(-2px) scale(1.03, 1.06) rotate(-1.2deg);
    opacity: 0.95;
    filter: brightness(1.08);
  }
  36% {
    transform: translateY(-4px) scale(1.01, 1.1) rotate(1deg);
    opacity: 1;
    filter: brightness(1.12);
  }
  52% {
    transform: translateY(-2px) scale(1.04, 1.05) rotate(-0.6deg);
    opacity: 0.92;
    filter: brightness(1.05);
  }
  70% {
    transform: translateY(-5px) scale(1.02, 1.12) rotate(0.8deg);
    opacity: 1;
    filter: brightness(1.15);
  }
  85% {
    transform: translateY(-1px) scale(1.01, 1.04) rotate(-0.4deg);
    opacity: 0.96;
    filter: brightness(1.06);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
    filter: brightness(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-mark .logo-flame {
    animation: none;
  }
}

@media (max-width: 600px) {
  .logo-mark { height: 70px; }
  .logo-mark img,
  .logo-mark .logo-flame { height: 70px; }
  .logo-mark--footer { height: 48px; }
  .logo-mark--footer img,
  .logo-mark--footer .logo-flame { height: 48px; }
}


/* ========== PODCAST ARCHIVE ========== */
.podcast-subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.75rem;
}
.podcast-sub-btn {
  position: relative;
  background: #F4EFE7;
  color: #1e3d2f;
  border: 1px solid #F4EFE7;
  font-weight: 600;
}
.podcast-sub-btn:hover {
  background: #2f5c45;
  color: #F4EFE7;
  border-color: #2f5c45;
}
.podcast-sub-btn .soon {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-left: 6px;
}
.podcast-filters-sec {
  padding-top: 2.5rem;
  padding-bottom: 0.5rem;
}
.podcast-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.podcast-filter {
  border: 1px solid var(--ash, #e5e1d8);
  background: #fff;
  color: var(--carbon, #151815);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.podcast-filter:hover {
  border-color: var(--clay, #B45A32);
}
.podcast-filter.is-active {
  background: var(--carbon, #151815);
  border-color: var(--carbon, #151815);
  color: var(--sand, #F4EFE7);
}
.podcast-archive-sec {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}
.podcast-episode-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--ash, #e5e1d8);
}
.podcast-episode {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--ash, #e5e1d8);
  align-items: start;
}
.podcast-episode__num {
  display: block;
  font-family: var(--font-serif, Fraunces, Georgia, serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--clay, #B45A32);
  line-height: 1;
}
.podcast-episode__date {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #666);
}
.podcast-episode__title {
  font-family: var(--font-serif, Fraunces, Georgia, serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: var(--carbon, #151815);
}
.podcast-episode__desc {
  margin: 0 0 0.85rem;
  color: var(--muted, #555);
  max-width: 62ch;
  line-height: 1.55;
  font-size: 0.98rem;
}
.podcast-episode__cta {
  font-weight: 600;
  color: var(--clay, #B45A32);
  text-decoration: none;
  font-size: 0.92rem;
}
.podcast-episode__cta:hover {
  text-decoration: underline;
}
.podcast-archive-note {
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--muted, #666);
  max-width: 60ch;
}
@media (max-width: 700px) {
  .card-grid { grid-template-columns: 1fr; }
  .podcast-episode {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .podcast-episode__meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .podcast-episode__date { margin-top: 0; }
}



/* ========== PODCAST GUEST FORM ========== */
.guest-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.guest-form .form-group label,
.guest-form legend {
  color: var(--sand);
  font-family: 'Satoshi', system-ui, sans-serif;
}
.guest-form__radios {
  border: 0;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  color: var(--sand);
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 0.95rem;
}
.guest-form__radios legend {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  width: 100%;
}
.guest-form__radios label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--sand);
  font-weight: 500;
}
.cta-band .guest-form .form-group input,
.cta-band .guest-form .form-group textarea {
  background: var(--paper);
}

/* ========== MOBILE RESPONSIVE HARDENING ========== */
@media (max-width: 900px) {
  .container { width: min(1140px, 94%); }
  .nav { flex-wrap: nowrap; gap: 12px; }
  .nav-cta { display: none !important; }
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    z-index: 120;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    background: var(--paper, #FAF7F1);
    padding: 12px 6% 28px;
    border-bottom: 1px solid var(--ash, #D8D3C8);
    gap: 4px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
    z-index: 110;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a {
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav-links a.active::after { display: none; }
  .logo-mark { height: 56px; }
  .logo-mark img { height: 56px !important; width: auto; }
  .logo-link img { height: 56px !important; }
  .hero { padding: 64px 0 56px; }
  .page-hero { padding: 64px 0 48px; }
  .page-hero h1,
  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.4rem) !important;
    max-width: none;
  }
  .hero-fig { display: none !important; }
  .metric-strip {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }
  .card-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .card { padding: 24px; }
  .btn { width: auto; max-width: 100%; }
  .podcast-subscribe {
    flex-direction: column;
    align-items: stretch;
  }
  .podcast-sub-btn { width: 100%; justify-content: center; }
  .podcast-filters { gap: 6px; }
  .podcast-filter { font-size: 0.8rem; padding: 8px 12px; }
  .podcast-episode {
    grid-template-columns: 1fr !important;
    gap: 8px;
    padding: 1.25rem 0;
  }
  .form-grid { grid-template-columns: 1fr !important; }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .cta-band-inner { text-align: center; }
  .cta-band .btn { width: 100%; max-width: 320px; }
  .credit-box { padding: 20px; }
  .split { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .metric-strip { grid-template-columns: 1fr !important; }
  section { padding: 48px 0; }
  .container { width: 92%; }
}
