/* =========================================
   MrsFischer.com — Stylesheet
   Aesthetic: Warm editorial meets garden journal
   Fonts: Playfair Display + Lato + Dancing Script
   ========================================= */

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

:root {
  --cream:       #faf7f2;
  --cream-dark:  #f0ebe0;
  --cream-med:   #e8e0d0;
  --sage:        #7a9e7e;
  --sage-light:  #a8c5ac;
  --sage-dark:   #4a7050;
  --rust:        #c05c35;
  --rust-light:  #e8845f;
  --gold:        #c9943a;
  --gold-light:  #e5ba70;
  --navy:        #2c3e50;
  --navy-light:  #415f7a;
  --text-dark:   #2a2118;
  --text-mid:    #5a4a3a;
  --text-light:  #8a7a6a;
  --white:       #ffffff;
  --border:      rgba(90, 74, 58, 0.15);
  --border-med:  rgba(90, 74, 58, 0.25);
  --wi-blue:     #003f91;
  --wi-red:      #c5050c;
  --ok-red:      #cc0000;
  --ok-green:    #007a3d;
  --shadow-sm:   0 2px 8px rgba(60,40,20,0.08);
  --shadow-md:   0 4px 20px rgba(60,40,20,0.12);
  --shadow-lg:   0 8px 40px rgba(60,40,20,0.16);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Navigation ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: var(--rust);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--rust); background: var(--cream-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-mid);
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--rust);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--rust-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--rust);
  color: var(--rust);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: 40px;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover { background: var(--rust); color: var(--white); }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 6rem 2rem 4rem;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(122, 158, 126, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(192, 92, 53, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 60% 30%, rgba(201, 148, 58, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

/* Decorative leaves */
.hero-bg-pattern::before {
  content: '';
  position: absolute;
  top: 10%; right: 5%;
  width: 300px; height: 300px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100 10 Q150 60 140 120 Q130 160 100 180 Q70 160 60 120 Q50 60 100 10Z' fill='%237a9e7e' opacity='0.08'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}
.hero-bg-pattern::after {
  content: '';
  position: absolute;
  bottom: 10%; left: 3%;
  width: 200px; height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='80' fill='%23c9943a' opacity='0.06'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  color: var(--sage);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}
.hero-dot { color: var(--rust); }

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.6s forwards;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.8s forwards;
}

.badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 40px;
  border: 1.5px solid;
}
.badge-green  { background: rgba(122,158,126,0.12); border-color: var(--sage); color: var(--sage-dark); }
.badge-blue   { background: rgba(44,62,80,0.08); border-color: var(--navy-light); color: var(--navy); }
.badge-amber  { background: rgba(201,148,58,0.12); border-color: var(--gold); color: #7a5010; }
.badge-red    { background: rgba(192,92,53,0.1); border-color: var(--rust); color: var(--rust); }
.badge-cheese { background: rgba(255,220,80,0.18); border-color: #d4a820; color: #7a5a00; }



/* ---- Intro Strip ---- */
.intro-strip {
  background: var(--cream-dark);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.intro-card {
  text-align: center;
  padding: 1.5rem;
}
.intro-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}
.intro-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.intro-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ---- Section Shared ---- */
.section { padding: 6rem 0; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow {
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem;
  color: var(--sage);
  display: block;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Our Life Section ---- */
.section-life { background: var(--white); }

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.story-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}
.story-text p { color: var(--text-mid); margin-bottom: 1rem; line-height: 1.8; }
.story-text em { color: var(--rust); font-style: italic; }

.photo-frame {
  background: var(--cream-dark);
  border: 3px solid var(--cream-med);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.photo-frame--tilt-left { transform: rotate(-2deg); }
.photo-placeholder {
  padding: 3rem 2rem;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.photo-placeholder span { font-size: 3rem; margin-bottom: 1rem; }
.photo-placeholder p { font-family: 'Playfair Display', serif; color: var(--text-mid); margin-bottom: 0.5rem; }
.photo-placeholder small { font-size: 0.8rem; color: var(--text-light); }

/* Pets */
.pets-section { padding-top: 1rem; }
.pets-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.pets-subheading { text-align: center; color: var(--text-mid); margin-bottom: 2.5rem; font-style: italic; }

.pets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.pet-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--cream);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pet-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pet-card-icon { font-size: 2.2rem; flex-shrink: 0; }
.pet-card h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 0.4rem; }
.pet-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 0.75rem; }
.pet-tag {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--cream-dark);
  color: var(--text-mid);
  padding: 0.2rem 0.6rem;
  border-radius: 40px;
  border: 1px solid var(--border-med);
}

/* ---- Garden Section ---- */
.section-garden {
  position: relative;
  background: var(--sage-dark);
  color: var(--white);
}
.garden-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(74,112,80,0.8) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(42,60,30,0.6) 0%, transparent 60%);
  pointer-events: none;
}
.section-garden .container { position: relative; z-index: 1; }
.section-header--light .section-eyebrow { color: var(--sage-light); }
.section-header--light .section-title { color: var(--white); }
.section-header--light .section-subtitle { color: rgba(255,255,255,0.75); }

.garden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.garden-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.garden-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.garden-card-emoji { font-size: 2.5rem; margin-bottom: 0.75rem; }
.garden-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--white);
}
.garden-card p { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.7; }

.garden-quote {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.garden-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.garden-quote cite { font-size: 0.85rem; color: var(--sage-light); font-style: normal; }

/* ---- Tech Section ---- */
.section-tech { background: var(--cream); }

.tech-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}
.tech-bio-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.tech-bio-text p { color: var(--text-mid); margin-bottom: 1rem; line-height: 1.8; }

.tech-skills-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.tech-skills-panel h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.skill-tag {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 40px;
  background: var(--cream-dark);
  color: var(--text-mid);
  border: 1px solid var(--border-med);
}
.skill-tag--primary {
  background: rgba(192, 92, 53, 0.1);
  color: var(--rust);
  border-color: rgba(192, 92, 53, 0.3);
}

.ai-callout {
  background: linear-gradient(135deg, rgba(122,158,126,0.15), rgba(201,148,58,0.10));
  border: 1px solid rgba(122,158,126,0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.ai-callout h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--sage-dark); }
.ai-callout p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; }

/* Timeline */
.timeline-section { max-width: 780px; margin: 0 auto; }
.timeline-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.timeline-subheading {
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--rust), var(--sage), var(--gold));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}
.timeline-dot {
  position: absolute;
  left: -0.45rem;
  top: 4px;
  width: 12px; height: 12px;
  background: var(--rust);
  border: 2px solid var(--cream);
  border-radius: 50%;
}
.timeline-dot--fun { background: var(--gold); }
.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rust);
  display: block;
  margin-bottom: 0.3rem;
}
.timeline-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.timeline-content p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ---- Wisconsin Section ---- */
.section-wisconsin { background: var(--cream-dark); }

.wisconsin-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}
.wi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.wi-card-header {
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--wi-blue);
  color: var(--white);
}
.wi-card--ok .wi-card-header { background: var(--ok-green); }
.wi-list { list-style: none; padding: 1.25rem 1.5rem; }
.wi-list li { padding: 0.5rem 0; font-size: 0.9rem; color: var(--text-mid); border-bottom: 1px solid var(--border); }
.wi-list li:last-child { border-bottom: none; }

.wi-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 3rem;
}
.wi-arrow {
  font-size: 2rem;
  color: var(--rust);
}
.wi-divider p { font-size: 0.75rem; text-align: center; color: var(--text-light); font-style: italic; writing-mode: horizontal-tb; }

.wi-missing h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.miss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.miss-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.5;
}

/* ---- Contact Section ---- */
.section-contact { background: var(--white); }

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.contact-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--rust);
}
.contact-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.contact-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.contact-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.5; }

.contact-form-area h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mid); }
.form-row input,
.form-row textarea {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-med);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text-dark);
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--rust); }
.btn-submit { align-self: flex-start; }

.form-success {
  background: rgba(122,158,126,0.12);
  border: 1px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  color: var(--sage-dark);
  font-weight: 700;
}
.form-error {
  background: rgba(192,92,53,0.1);
  border: 1px solid var(--rust);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: var(--rust);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-tagline { font-size: 0.82rem; line-height: 1.7; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--rust-light); }
.footer-meta { text-align: right; font-size: 0.8rem; line-height: 1.8; }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5) translateY(-50%); }
  50%       { opacity: 1; transform: scaleY(1) translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .story-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .tech-bio { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .wisconsin-grid { grid-template-columns: 1fr; }
  .wi-divider { flex-direction: row; padding-top: 0; }
  .wi-arrow { font-size: 1.5rem; }
}

@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--border); padding: 1rem; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 500px) {
  .container { padding: 0 1.25rem; }
  .hero { padding: 5rem 1.25rem 3rem; }
  .section { padding: 4rem 0; }
}
