/* ============================================================
   Thrive With Rye — custom additions on top of the compiled
   theme (theme.css + Tailwind chunks)
   ============================================================ */
:root {
  scroll-padding-top: 96px;
}
html {
  scroll-behavior: smooth;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- Brand wordmark ---------- */
.rye-wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.rye-wordmark .rye-wm-top {
  font-family: var(--font-heading, "Space Grotesk", sans-serif);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  color: #072f20;
  white-space: nowrap;
}
.rye-wordmark .rye-wm-top em {
  font-style: normal;
  color: #13a05f;
}
.rye-wordmark .rye-wm-sub {
  margin-top: 4px;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #0d8244;
}
.rye-wordmark--light .rye-wm-top { color: #f4fdf9; }
.rye-wordmark--light .rye-wm-top em { color: #3dd37c; }
.rye-wordmark--light .rye-wm-sub { color: #7ef2b0; }

/* ---------- Hero portrait (circular headshot) ---------- */
.rye-hero-portrait-wrap {
  position: absolute;
  bottom: 20px;
  z-index: 6;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 78vw);
  aspect-ratio: 1 / 1;
  animation: alHeroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.rye-hero-portrait {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  object-fit: cover;
  border: 5px solid rgba(61, 211, 124, 0.9);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.85),
    0 0 90px rgba(19, 160, 95, 0.45),
    0 30px 70px -18px rgba(3, 47, 32, 0.45);
  user-select: none;
}

/* ---------- Who I am portrait ---------- */
.rye-who-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 26px;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.al-who-card:hover .rye-who-portrait {
  transform: scale(1.04);
}

/* ---------- Award rows ---------- */
.award-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-top: 1px solid rgba(35, 42, 38, 0.1);
  padding: 1.1rem 0.25rem;
  transition: background 0.4s ease;
}
.award-row:hover {
  background: rgba(19, 160, 95, 0.06);
}
.award-medal {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #072f20;
  color: #ffd791;
}

/* ---------- Partner wordmark cards ---------- */
.partner-card {
  display: flex;
  height: 88px;
  width: 240px;
  margin: 0 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 20px;
  border: 1px solid rgba(61, 211, 124, 0.28);
  background: #06231a;
  padding: 10px 18px;
  text-align: center;
  transition: all 0.5s ease;
}
.partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 211, 124, 0.6);
  box-shadow: 0 16px 40px rgba(61, 211, 124, 0.18);
}
.partner-card .pc-name {
  font-family: var(--font-heading, "Space Grotesk", sans-serif);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #f4fdf9;
  line-height: 1.25;
}
.partner-card .pc-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3dd37c;
}

/* ---------- Mobile menu ---------- */
.rye-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  background: rgba(3, 47, 32, 0.97);
  backdrop-filter: blur(10px);
  padding: 5rem 2rem 3rem;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.rye-mobile-menu.open {
  transform: translateY(0);
}
.rye-mobile-menu a {
  font-family: var(--font-heading, "Space Grotesk", sans-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #f4fdf9;
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 242, 176, 0.18);
  padding-bottom: 0.9rem;
}
.rye-mobile-menu a span {
  color: #3dd37c;
  font-size: 0.65em;
  vertical-align: super;
  margin-right: 0.75rem;
}
.rye-mm-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  border: 1px solid rgba(244, 253, 249, 0.3);
  color: #f4fdf9;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

/* ---------- Demo disclaimer ---------- */
.demo-note {
  font-size: 11px;
  color: rgba(244, 253, 249, 0.38);
  letter-spacing: 0.02em;
}

/* ---------- Newsletter success ---------- */
.newsletter-thanks {
  margin-top: 0.5rem;
  font-size: 13px;
  color: #7ef2b0;
  font-weight: 600;
}

/* ---------- Program card inquire link ---------- */
.inquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
