/* =========================================
   Sarah Jean Wellness — e-Portfolio styles
   Warm, modern, responsive
   ========================================= */

:root {
  --cream: #FAF6EF;
  --cream-soft: #F3EBDD;
  --blush: #EBC9B0;
  --terracotta: #C2734F;
  --terracotta-deep: #A0563B;
  --sage: #8A9A7B;
  --sage-deep: #6B7B5E;
  --warm-brown: #3F3328;
  --warm-brown-light: #5C4D3E;
  --text: #2D2521;
  --muted: #6F6055;
  --shadow: 0 8px 32px rgba(63, 51, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(63, 51, 40, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--warm-brown);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.5rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1rem; margin-top: 2.2rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.6rem; margin-top: 1.4rem; color: var(--terracotta-deep); }

p { margin-bottom: 1.1rem; }

a {
  color: var(--terracotta-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--warm-brown); text-decoration: underline; }

/* ========== NAV ========== */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(250, 246, 239, 0.92);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--warm-brown);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--terracotta-deep); text-decoration: none; }
.brand .brand-accent { color: var(--terracotta); font-style: italic; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: var(--warm-brown);
  cursor: pointer;
}

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

.nav-links a {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  color: var(--warm-brown-light);
  font-family: 'Lora', Georgia, serif;
  font-size: 0.97rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--cream-soft);
  color: var(--terracotta-deep);
  text-decoration: none;
}

/* Dropdown for "More" */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 240px;
  list-style: none;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }

.dropdown a {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
}

/* ========== LAYOUT ========== */
main { min-height: 70vh; }

.page-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.page-wrap.wide { max-width: 1100px; }

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-soft);
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--blush);
  border-radius: calc(var(--radius-lg) + 8px);
  pointer-events: none;
  z-index: -1;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text .eyebrow {
  display: inline-block;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.8rem;
}

.hero-text h1 { margin-bottom: 0.4rem; }
.hero-text .credential {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
  font-style: italic;
}

/* Page header (non-hero pages) */
.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.page-header .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.page-header h1 { margin-bottom: 0.3rem; }
.page-header .lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Quote / pull quote */
.pull-quote {
  border-left: 3px solid var(--terracotta);
  padding: 1rem 0 1rem 1.4rem;
  margin: 2rem 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--warm-brown);
  line-height: 1.5;
}
.pull-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-style: normal;
  color: var(--muted);
}

/* Card */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.2rem;
}

.contact-card {
  background: var(--cream-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}
.contact-card .label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.15rem;
}

/* Buttons */
.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  background: var(--terracotta);
  color: #fff !important;
  border-radius: 999px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--terracotta);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(160, 86, 59, 0.25);
}
.btn.btn-outline {
  background: transparent;
  color: var(--terracotta-deep) !important;
}
.btn.btn-outline:hover {
  background: var(--terracotta);
  color: #fff !important;
}
.btn.btn-sage {
  background: var(--sage);
  border-color: var(--sage);
}
.btn.btn-sage:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  box-shadow: 0 6px 18px rgba(107, 123, 94, 0.25);
}

/* Two-column layout (e.g., career goals page) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.split .image-frame {
  position: sticky;
  top: 6rem;
}
.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.image-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.image-frame figcaption {
  padding: 0.7rem 1rem;
  background: #fff;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* Objectives & artifacts list */
.objective {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.6rem;
  border-left: 4px solid var(--terracotta);
}
.objective:nth-child(even) { border-left-color: var(--sage); }

.objective h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--warm-brown);
  font-size: 1.15rem;
}
.objective .obj-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 50%;
  font-size: 0.95rem;
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  flex-shrink: 0;
}
.objective:nth-child(even) .obj-num { background: var(--sage); }

.artifact-links {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}
.artifact-links a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: var(--cream);
  border-radius: 8px;
  color: var(--warm-brown);
  text-decoration: none;
  transition: all 0.2s ease;
}
.artifact-links a:hover {
  background: var(--cream-soft);
  color: var(--terracotta-deep);
  text-decoration: none;
  transform: translateX(2px);
}
.artifact-links .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--terracotta);
}

/* Rich artifact entry with rationale above link */
.artifact-entries {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.2rem;
}
.artifact-entry {
  border-top: 1px solid var(--cream-soft);
  padding-top: 1.3rem;
}
.artifact-entry:first-child {
  border-top: 0;
  padding-top: 0;
}
.artifact-entry .artifact-label {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.objective:nth-child(even) .artifact-entry .artifact-label { color: var(--sage-deep); }
.artifact-entry h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--warm-brown);
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}
.artifact-entry .rationale {
  margin: 0 0 0.85rem 0;
  color: var(--text);
  line-height: 1.65;
}
.artifact-entry .doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  background: var(--cream);
  border-radius: 999px;
  color: var(--warm-brown);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.artifact-entry .doc-link:hover {
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  transform: translateX(2px);
}
.artifact-entry .doc-link .icon { color: var(--terracotta); }
.artifact-entry .doc-link:hover .icon { color: #fff; }
.artifact-entry .note {
  margin-top: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: #FFF7E6;
  border-left: 3px solid #D4A24C;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--warm-brown);
}

/* Practice Resources section (below the Objectives) */
.practice-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--blush);
}
.practice-header {
  text-align: center;
  margin-bottom: 2rem;
}
.practice-header .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}
.practice-header h2 {
  margin-top: 0.2rem;
}
.practice-entries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  margin-top: 0;
}
.practice-entries .artifact-entry {
  background: #fff;
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--terracotta);
  display: flex;
  flex-direction: column;
}
.practice-entries .artifact-entry:nth-child(2) { border-top-color: var(--sage); }
.practice-entries .artifact-entry:nth-child(3) { border-top-color: var(--terracotta-deep); }
.practice-entries .artifact-entry .rationale:last-of-type {
  flex-grow: 1;
}
.practice-entries .artifact-entry .btn {
  align-self: flex-start;
  margin-top: 0.4rem;
}
.practice-entries .artifact-entry:nth-child(2) .btn {
  background: var(--sage);
  border-color: var(--sage);
}
.practice-entries .artifact-entry:nth-child(2) .btn:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  box-shadow: 0 6px 18px rgba(107, 123, 94, 0.25);
}

/* Slide-style for reflection presentation */
.slide {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.4rem;
  border-top: 4px solid var(--terracotta);
}
.slide:nth-child(even) { border-top-color: var(--sage); }
.slide h3 {
  margin-top: 0;
  color: var(--warm-brown);
  font-size: 1.3rem;
}
.slide ul {
  margin-left: 1.4rem;
  margin-top: 0.5rem;
}
.slide ul li { margin-bottom: 0.3rem; }
.slide ul ul {
  margin-top: 0.3rem;
}

/* Embed PDF */
.pdf-embed {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

/* Footer */
.site-footer {
  background: var(--warm-brown);
  color: var(--cream-soft);
  padding: 2.5rem 1.5rem 1.6rem;
  margin-top: 4rem;
  text-align: center;
}
.site-footer .footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.site-footer .footer-tag {
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 1.2rem;
}
.site-footer .footer-meta {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 1rem;
  border-top: 1px solid rgba(250, 246, 239, 0.15);
  padding-top: 1rem;
}
.site-footer a { color: var(--blush); }

/* Lists in prose */
.prose ul, .prose ol { margin: 0 0 1.2rem 1.4rem; }
.prose ul li, .prose ol li { margin-bottom: 0.4rem; }

/* Responsive */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2rem;
  }
  .hero-photo {
    max-width: 320px;
    margin: 0 auto;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split .image-frame {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 0.7rem;
    box-shadow: var(--shadow-lg);
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0.9rem; }
  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    padding: 0 0 0 1rem;
    background: var(--cream);
  }
  .has-dropdown:hover .dropdown { display: block; }
}

@media (max-width: 480px) {
  .page-wrap { padding: 2rem 1rem 3rem; }
  .objective { padding: 1.4rem 1.2rem; }
  .slide { padding: 1.4rem 1.2rem; }
  .card { padding: 1.4rem 1.2rem; }
}
