/* ============================================
   JenniRay — jenniray.ai
   Brand: dark teal #085041 · terracotta #C4512B · jade #1D9E75
   ============================================ */

:root {
  --teal: #085041;
  --teal-deep: #04342C;
  --terra: #C4512B;
  --terra-dark: #A8431F;
  --jade: #1D9E75;
  --jade-light: #5DCAA5;
  --sage: #A1BCB6;
  --cream: #F7F3EC;
  --cream-dark: #EFE9DD;
  --ink: #2C2C2A;
  --ink-soft: #5B5B55;
  --ink-muted: #7A7469;
  --white: #FFFFFF;
  --border: #E2DCCF;
  --font-serif: "Fraunces", Georgia, serif;
  --font-script: "Caveat", cursive;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.nav-logo img { height: 62px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--terra); }

.nav-cta {
  background: var(--terra);
  color: var(--white) !important;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--terra-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--teal);
  font-size: 1.6rem;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 4.5rem 0 3.5rem;
}

.mic-stage {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.6rem;
}

.mic-circle {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--jade);
  opacity: 0;
  animation: pulse 2.8s ease-out infinite;
}

.pulse-ring:nth-child(2) { animation-delay: 0.9s; border-color: var(--sage); }
.pulse-ring:nth-child(3) { animation-delay: 1.8s; border-color: var(--terra); }

@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.1); opacity: 0; }
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.08;
  color: var(--teal-deep);
  min-height: 1.15em;
}

.type-cursor {
  color: var(--jade);
  font-weight: 400;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--jade);
  line-height: 1.1;
  margin: 0.4rem 0 1.2rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 470px;
  margin: 0 auto 1.6rem;
}

.hero-offer {
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--teal-deep);
  font-weight: 500;
  max-width: 480px;
  margin: 0 auto 1.1rem;
}

.hero-offer strong { color: var(--terra); font-weight: 500; }

/* ---------- Email signup ---------- */
.signup-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 0.7rem;
}

.signup-form input {
  flex: 1;
  border: 1px solid #DDD5C5;
  background: var(--white);
  border-radius: 12px;
  padding: 0 16px;
  height: 52px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
}

.signup-form input:focus {
  outline: 2px solid var(--jade);
  outline-offset: -1px;
}

.btn-primary {
  background: var(--terra);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 0 24px;
  height: 52px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover { background: var(--terra-dark); }
.btn-primary:active { transform: scale(0.98); }

.signup-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 2.2rem;
}

.form-message {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--jade);
  min-height: 1.4em;
  margin-bottom: 0.5rem;
}

/* ---------- Waveform ---------- */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 48px;
  margin-bottom: 1rem;
}

.waveform span {
  width: 4px;
  border-radius: 4px;
  background: var(--teal);
  animation: eq 1.1s ease-in-out infinite;
}

.waveform span:nth-child(even) { background: var(--jade); }
.waveform span:nth-child(3n)  { background: var(--sage); }

@keyframes eq {
  0%, 100% { height: 8px; }
  50%      { height: 40px; }
}

/* ---------- Sections ---------- */
section { padding: 4rem 0; }

.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.7rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--teal-deep);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ---------- Try-it demo ---------- */
.demo-section { padding-top: 1rem; }

.demo-card {
  background: var(--white);
  border: 1px solid #ECE5D6;
  border-radius: 20px;
  padding: 1.6rem;
  max-width: 560px;
  margin: 0 auto;
}

.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.chip {
  background: var(--cream);
  border: 1px solid #E0D8C6;
  color: var(--teal);
  border-radius: 24px;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}

.chip:hover, .chip.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.demo-answer-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0.6rem;
}

.demo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.demo-avatar svg { width: 21px; height: 27px; }

.demo-name {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--teal);
}

.name-ray { color: var(--terra); }

.demo-answer {
  background: var(--cream);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
  min-height: 3.2em;
}

.demo-answer .placeholder { color: #A49D8D; }
.demo-answer .cur { color: var(--jade); animation: blink 1s step-end infinite; }

.cred-aside {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-style: italic;
  text-align: center;
  margin-top: 1.8rem;
}

/* ---------- Recognition ("this is for you") ---------- */
.recognition { background: var(--teal); border-radius: 0; }

.recognition .section-kicker { color: var(--jade-light); }
.recognition .section-title  { color: var(--cream); }

.recog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.recog-card {
  background: rgba(247, 243, 236, 0.07);
  border: 1px solid rgba(161, 188, 182, 0.25);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  color: var(--cream);
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.recog-card.visible { opacity: 1; transform: translateY(0); }

.recog-card em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.35rem;
  color: var(--jade-light);
  display: block;
  margin-bottom: 0.3rem;
}

.recog-close {
  text-align: center;
  color: var(--sage);
  font-size: 0.95rem;
  margin-top: 2.2rem;
}

.recog-close strong {
  color: var(--cream);
  font-weight: 500;
}

/* ---------- Story teaser ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}

.story-photo {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.story-copy .section-kicker,
.story-copy .section-title { text-align: left; }

.story-copy p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.story-copy .signature {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--terra);
  margin-top: 0.8rem;
}

.text-link {
  color: var(--terra);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1.5px solid var(--terra);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.text-link:hover { opacity: 0.75; }

/* ---------- Work with me / training ---------- */
.training {
  background: var(--cream-dark);
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.training-type {
  background: var(--white);
  border: 1px solid #ECE5D6;
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.training-type em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.4rem;
  color: var(--terra);
  display: block;
  margin-bottom: 0.25rem;
}

.training-form {
  background: var(--white);
  border: 1px solid #ECE5D6;
  border-radius: 20px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.training-form input,
.training-form select,
.training-form textarea {
  border: 1px solid #DDD5C5;
  background: var(--cream);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--ink);
  width: 100%;
}

.training-form select { height: 48px; }
.training-form select:invalid { color: var(--ink-muted); }

.training-form textarea { resize: vertical; }

.training-form input:focus,
.training-form select:focus,
.training-form textarea:focus {
  outline: 2px solid var(--jade);
  outline-offset: -1px;
}

.training-form .btn-primary { width: 100%; }
.training-form .form-message { text-align: center; margin-bottom: 0; }
.training-form .signup-note { text-align: center; }

/* ---------- The Voice / final CTA ---------- */
.voice-cta {
  text-align: center;
  padding-bottom: 5rem;
}

.voice-card {
  background: var(--white);
  border: 1px solid #ECE5D6;
  border-radius: 24px;
  padding: 3rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}

.voice-card .waveform { height: 36px; margin-bottom: 1.4rem; }
.voice-card .waveform span { animation-duration: 1.3s; }

.voice-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2rem;
  color: var(--teal-deep);
  margin-bottom: 0.6rem;
}

.voice-desc {
  color: var(--ink-soft);
  max-width: 440px;
  margin: 0 auto 1.8rem;
  font-size: 0.98rem;
}

/* ---------- About page ---------- */
.about-hero { padding: 3.5rem 0 1rem; }

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--teal-deep);
  margin: 0.4rem 0 1rem;
}

.about-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-portrait {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.about-stats-section { padding: 2.5rem 0; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: var(--white);
  border: 1px solid #ECE5D6;
  border-radius: 16px;
  padding: 1.4rem 1rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.1rem;
  color: var(--terra);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.about-block { padding: 3rem 0; }
.about-block.alt { background: var(--cream-dark); }

.about-narrow { max-width: 680px; }

.section-title.left { text-align: left; }

.about-block p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.company {
  background: var(--white);
  border: 1px solid #ECE5D6;
  border-radius: 12px;
  padding: 1rem;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-weight: 500;
  color: var(--teal);
  font-size: 0.98rem;
}

.company-logo {
  max-height: 34px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
}

.scope-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}

.scope-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.scope-list li:last-child { border-bottom: none; }
.scope-list i { color: var(--jade); font-size: 20px; flex: 0 0 auto; margin-top: 2px; }

.cred-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.cred-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--teal-deep);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cred-heading i { color: var(--terra); font-size: 22px; }

.cred-list { list-style: none; }

.cred-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.cred-list li:last-child { border-bottom: none; }

.cred-list strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
}

.cred-list span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

.about-stitch {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--jade);
  margin-top: 1.5rem !important;
}

.degree { display: flex; align-items: center; gap: 16px; }
.degree-logo { width: 46px; max-height: 54px; height: auto; object-fit: contain; flex: 0 0 auto; }
.degree-text { display: flex; flex-direction: column; }

.scope-list li svg { flex: 0 0 auto; margin-top: 2px; }

.social { display: flex; justify-content: center; gap: 16px; margin-bottom: 1rem; }
.social-link { color: var(--sage); display: inline-flex; transition: color 0.2s; }
.social-link:hover { color: var(--jade-light); }

.story-exits { padding-top: 3rem; padding-bottom: 5rem; }

.exit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.exit-card {
  background: var(--white);
  border: 1px solid #ECE5D6;
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  text-align: center;
}

.exit-card .section-kicker { margin-bottom: 0.4rem; }

.exit-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--teal-deep);
  margin-bottom: 0.5rem;
}

.exit-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--terra);
  border: 1.5px solid var(--terra);
}

.btn-outline:hover { background: var(--terra); color: var(--white); }

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-deep);
  color: var(--sage);
  padding: 2.2rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer .foot-script {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--jade-light);
  margin-bottom: 0.4rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.85rem;
}

.site-footer a:hover { color: var(--jade-light); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.2rem 0;
    gap: 1.1rem;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero { padding: 3rem 0 2.5rem; }

  .signup-form { flex-direction: column; }
  .signup-form input, .btn-primary { width: 100%; }

  .story-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .story-photo { max-width: 380px; margin: 0 auto; }

  .training-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .form-row { grid-template-columns: 1fr; }

  .about-hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-portrait { max-width: 340px; order: -1; margin: 0 auto; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .company-grid { grid-template-columns: 1fr 1fr; }
  .cred-columns { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-ring, .waveform span, .type-cursor, .demo-answer .cur { animation: none; }
  .reveal, .recog-card { opacity: 1; transform: none; transition: none; }
}
