/* ============================================
   kristiedickinson.com
   ============================================
   TO REPAINT THE WHOLE SITE: edit only the
   8 color variables below. That's it.
   ============================================ */

:root {
  --cream:        #FFF8EE;
  --cream-dark:   #F5EDD8;
  --green:        #1E4535;
  --orange:       #E8672A;
  --raspberry:    #C83060;
  --blush:        #F2B8C0;
  --text:         #1E4535;
  --text-muted:   rgba(30, 69, 53, 0.55);

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --max-width:    1100px;
  --px:           clamp(24px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  padding: 18px var(--px);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-right: auto;
  color: var(--green);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  opacity: 0.65;
  transition: opacity 0.15s;
}

.nav-links a:hover { opacity: 1; }

/* ── Away strip ── */
.away-strip {
  background: var(--cream-dark);
  border-bottom: 1px solid rgba(30,69,53,0.08);
  padding: 9px var(--px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.away-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4CAF50;
  flex-shrink: 0;
}

#away-text {
  transition: opacity 0.4s;
}

/* ── Hero ── */
.hero {
  min-height: calc(100svh - 100px);
  padding: clamp(48px, 8vw, 96px) var(--px) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Scattered confetti dots — nod to old brand, very subtle */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--blush) 3px, transparent 3px),
    radial-gradient(circle, var(--orange) 2px, transparent 2px),
    radial-gradient(circle, var(--raspberry) 2px, transparent 2px),
    radial-gradient(circle, var(--green) 2px, transparent 2px);
  background-size: 320px 280px, 440px 380px, 280px 360px, 500px 420px;
  background-position: 5% 15%, 85% 70%, 60% 10%, 20% 85%;
  opacity: 0.18;
  pointer-events: none;
}

.hero-left {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.hero-greeting {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--raspberry);
  margin-bottom: 12px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--green);
  margin-bottom: 36px;
}

.hero-name em {
  font-style: italic;
  display: block;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 103, 42, 0.35);
}

/* Hero right */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  display: block;
}

.hero-blurb {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--green);
  font-weight: 600;
}

.hero-subhead {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--blush);
  color: var(--raspberry);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* ── Section base ── */
.section {
  padding: clamp(48px, 7vw, 96px) var(--px);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--raspberry);
  margin-bottom: 20px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--cream-dark);
}

/* ── Podcast ── */
.podcast-section { background: var(--cream); }

.podcast-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.podcast-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 400px;
}

.episode-card {
  background: var(--cream-dark);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.episode-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--raspberry);
}

.episode-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.35;
}

.episode-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.episode-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  transition: opacity 0.15s;
}

.episode-link:hover { opacity: 0.7; }

/* ── The Book ── */
.book-section {
  background: var(--green);
  color: var(--cream);
}

.book-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.book-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 20px;
}

.book-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--cream);
}

.book-body {
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 440px;
}

.book-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.book-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 103, 42, 0.4);
}

.book-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.book-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.55;
  opacity: 0.75;
  padding-left: 20px;
  border-left: 3px solid var(--raspberry);
}

/* ── Writing ── */
.writing-section { background: var(--cream); }

.writing-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.writing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.post-card {
  background: var(--cream-dark);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s;
  position: relative;
  cursor: pointer;
}

.post-card:hover { transform: translateY(-3px); }

.post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 4px;
}

.post-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--raspberry);
}

.post-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--green);
}

.post-excerpt {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.post-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: 4px;
}

.post-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.post-link:hover { text-decoration: underline; }

/* ── Teaching ── */
.teaching-section { background: var(--cream); }

.teaching-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.testimonial-card {
  background: var(--cream-dark);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 3px solid var(--raspberry);
}

.testimonial-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--green);
  flex: 1;
}

.testimonial-card cite {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonial-pull {
  background: var(--blush);
  border-radius: 20px;
  padding: clamp(36px, 5vw, 60px) clamp(32px, 5vw, 72px);
  margin-top: 32px;
  text-align: center;
}

.testimonial-pull p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 600;
  color: var(--green);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin: 0 auto 20px;
}

.testimonial-pull cite {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--raspberry);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.teaching-bio {
  margin-top: 48px;
  max-width: 640px;
}

.teaching-bio-placeholder {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--orange);
  font-style: italic;
  border-left: 3px solid var(--orange);
  padding-left: 16px;
  opacity: 0.75;
}

.teaching-cta-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange);
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.15s;
}

.teaching-cta-link:hover { opacity: 0.7; }

/* ── Buddy List ── */
.buddy-section {
  background: var(--cream-dark);
}

.buddy-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.buddy-description {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--text-muted);
}

.buddy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.buddy-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  transition: background 0.12s;
}

.buddy-item:hover { background: rgba(30,69,53,0.05); }

.buddy-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.buddy-status.online  { background: #4CAF50; }
.buddy-status.away    { background: #FFC107; }
.buddy-status.offline { background: #bbb; }

.buddy-name {
  font-weight: 600;
  color: var(--green);
}

.buddy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: auto;
  font-style: italic;
}

/* ── Newsletter ── */
.newsletter-section {
  background: var(--raspberry);
  color: #fff;
  text-align: center;
}

.newsletter-inner {
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.newsletter-subhead {
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}

.newsletter-form .newsletter-input {
  flex: 1;
  min-width: 0;
}

.newsletter-success {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  opacity: 0.9;
  margin-top: 12px;
}

.newsletter-error {
  font-size: 0.88rem;
  opacity: 0.75;
  margin-top: 12px;
}

.newsletter-privacy {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 14px;
}

.newsletter-input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 100px;
  border: none;
  font-size: 0.88rem;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.2);
  color: #fff;
  outline: none;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.65); }

.newsletter-input:focus { background: rgba(255,255,255,0.28); }

.newsletter-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.newsletter-btn:hover { transform: translateY(-1px); }

/* ── Footer ── */
.site-footer {
  background: var(--green);
  color: var(--cream);
  padding: 40px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 0.8rem;
  opacity: 0.65;
}

.footer-links a:hover { opacity: 1; }

.footer-copy {
  font-size: 0.75rem;
  opacity: 0.45;
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero,
  .book-inner,
  .buddy-inner,
  .podcast-inner {
    grid-template-columns: 1fr;
  }

  .writing-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .nav-links { display: none; }

  .hero-left {
    flex-direction: column;
    align-items: flex-start;
  }
}
