/* ============================================================
   Ben Randall, PhD — Personal Website
   styles.css — shared across all pages
   Blue Lotus + Plum palette · Lora + Lato typography
   ============================================================ */

:root {
  --blue:    #7BAFD4;
  --lav:     #B4A0D4;
  --pink:    #F4C2C2;
  --plum:    #9D3E5E;
  --text:    #2C3E50;
  --muted:   #6B7A8F;
  --tint:    #F6FAFD;
  --white:   #ffffff;
  --concept: #EAF3FA;
  --practice:#EFE9F7;
  --aware:   #FCE9E9;
  color-scheme: light;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Lato', Calibri, sans-serif; color: var(--text); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif; color: var(--text); line-height: 1.25; }
h1 { font-size: 2.6rem; font-weight: 700; }
h2 { font-size: 1.9rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.35rem; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--text); color: var(--white); }

/* ── Navigation ── */
.nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 2px solid var(--blue); box-shadow: 0 1px 6px rgba(123,175,212,0.15); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 0.75rem 1.5rem; gap: 1rem; }
.nav__brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; flex-shrink: 0; }
.nav__logo { width: 30px; height: 30px; }
.nav__name { font-family: 'Lora', Georgia, serif; font-size: 1rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: 0.2rem; list-style: none; padding: 0; flex-wrap: wrap; }
.nav__links a { font-family: 'Lato', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--muted); padding: 0.4rem 0.65rem; border-radius: 4px; transition: color 0.15s, background 0.15s; text-decoration: none; white-space: nowrap; }
.nav__links a:hover, .nav__links a.active { color: var(--blue); background: var(--concept); }
.nav__cta { font-family: 'Lato', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--white); background: var(--blue); padding: 0.4rem 1rem; border-radius: 20px; text-decoration: none; white-space: nowrap; transition: background 0.15s; }
.nav__cta:hover { background: var(--plum); text-decoration: none; }

/* ── Hero ── */
.hero { text-align: center; padding: 5rem 1.5rem 4rem; background: linear-gradient(160deg, var(--tint) 0%, var(--white) 60%); }
.hero__mark { width: 90px; height: 90px; margin: 0 auto 1.5rem; }
.hero__title { font-size: 3rem; font-weight: 700; margin-bottom: 0.5rem; }
.hero__tagline { font-family: 'Lato', sans-serif; font-size: 1.15rem; color: var(--muted); font-style: italic; margin-bottom: 1.5rem; letter-spacing: 0.04em; }
.hero__bio { max-width: 640px; margin: 0 auto 2rem; font-size: 1.05rem; color: var(--muted); }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn { display: inline-block; font-family: 'Lato', sans-serif; font-size: 0.95rem; font-weight: 700; padding: 0.65rem 1.6rem; border-radius: 24px; text-decoration: none; transition: background 0.15s, color 0.15s; }
.btn--primary   { background: var(--blue);  color: var(--white); }
.btn--primary:hover   { background: #5a9ac0; text-decoration: none; }
.btn--secondary { background: var(--practice); color: var(--plum); }
.btn--secondary:hover { background: var(--lav); color: var(--white); text-decoration: none; }
.btn--plum      { background: var(--plum);  color: var(--white); }
.btn--plum:hover      { background: #7a2f49; text-decoration: none; }
.btn--outline   { border: 2px solid var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: var(--white); text-decoration: none; }

/* ── Pillar cards ── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar-card { background: var(--white); border-radius: 10px; border-top: 5px solid var(--blue); padding: 1.75rem 1.5rem; box-shadow: 0 2px 12px rgba(44,62,80,0.08); display: flex; flex-direction: column; gap: 0.75rem; }
.pillar-card--lav   { border-top-color: var(--lav); }
.pillar-card--plum  { border-top-color: var(--plum); }
.pillar-card__icon  { font-size: 1.8rem; line-height: 1; display: block; align-self: center; }
.pillar-card__title { font-size: 1.2rem; }
.pillar-card__body  { color: var(--muted); font-size: 0.95rem; flex: 1; }
.pillar-card__link  { font-size: 0.9rem; font-weight: 700; color: var(--blue); }
.pillar-card--lav  .pillar-card__link { color: var(--lav); }
.pillar-card--plum .pillar-card__link { color: var(--plum); }

/* ── Page header ── */
.page-header { background: linear-gradient(135deg, var(--concept) 0%, var(--tint) 100%); padding: 3.5rem 1.5rem 2.5rem; border-bottom: 3px solid var(--blue); }
.page-header--lav  { background: linear-gradient(135deg, var(--practice) 0%, var(--tint) 100%); border-bottom-color: var(--lav); }
.page-header--plum { background: linear-gradient(135deg, var(--aware) 0%, var(--tint) 100%); border-bottom-color: var(--plum); }
.page-header__eyebrow { font-family: 'Lato', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.4rem; }
.page-header--lav  .page-header__eyebrow { color: var(--lav); }
.page-header--plum .page-header__eyebrow { color: var(--plum); }
.page-header__title { font-size: 2.4rem; margin-bottom: 0.5rem; }
.page-header__sub   { font-size: 1.05rem; color: var(--muted); font-style: italic; }

/* ── Prose ── */
.prose { max-width: 740px; }
.prose h2 { margin: 2rem 0 0.75rem; font-size: 1.5rem; }
.prose h3 { margin: 1.5rem 0 0.5rem; color: var(--blue); }
.prose p  { color: var(--muted); }
.label { display: inline-block; font-family: 'Lato', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); background: var(--concept); padding: 0.15rem 0.55rem; border-radius: 10px; margin-bottom: 0.4rem; }
.label--lav  { color: var(--lav);  background: var(--practice); }
.label--plum { color: var(--plum); background: var(--aware); }

/* ── Info cards ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.info-card { background: var(--white); border-radius: 8px; border-left: 4px solid var(--blue); padding: 1.25rem 1.25rem 1.25rem 1.35rem; box-shadow: 0 1px 8px rgba(44,62,80,0.07); }
.info-card--lav  { border-left-color: var(--lav); }
.info-card--plum { border-left-color: var(--plum); }
.info-card__title { font-size: 1rem; margin-bottom: 0.35rem; }
.info-card__body  { font-size: 0.92rem; color: var(--muted); }

/* ── Subject grid ── */
.subject-group { margin-bottom: 2.25rem; }
.subject-group__label { font-family: 'Lato', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); border-bottom: 2px solid var(--concept); padding-bottom: 0.4rem; margin-bottom: 0.8rem; }
.subject-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.subject-list li { font-size: 0.88rem; background: var(--tint); color: var(--text); padding: 0.3rem 0.75rem; border-radius: 16px; border: 1px solid rgba(123,175,212,0.25); margin: 0; }

/* ── Schedule table ── */
.schedule-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.schedule-table th { font-family: 'Lato', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); border-bottom: 2px solid var(--blue); padding: 0.5rem 0.75rem; text-align: left; }
.schedule-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(123,175,212,0.15); color: var(--muted); }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td:first-child { font-weight: 700; color: var(--text); }

/* ── Workshop cards ── */
.workshop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.workshop-card { background: var(--tint); border-radius: 10px; padding: 1.5rem; border-top: 4px solid var(--lav); box-shadow: 0 1px 8px rgba(44,62,80,0.07); }
.workshop-card__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lav); margin-bottom: 0.5rem; }
.workshop-card__title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.workshop-card__body  { font-size: 0.9rem; color: var(--muted); }

/* ── Module grid ── */
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.module-card { background: var(--white); border-radius: 8px; padding: 1.25rem; box-shadow: 0 1px 8px rgba(44,62,80,0.07); border-top: 3px solid var(--blue); }
.module-card--lav  { border-top-color: var(--lav); }
.module-card--pink { border-top-color: var(--pink); }
.module-card--plum { border-top-color: var(--plum); }
.module-card__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.4rem; }
.module-card--lav  .module-card__label { color: var(--lav); }
.module-card--plum .module-card__label { color: var(--plum); }
.module-card__title { font-size: 1.05rem; margin-bottom: 0.5rem; }
.module-card__sections { font-size: 0.85rem; color: var(--muted); list-style: none; padding: 0; }
.module-card__sections li { padding: 0.15rem 0; }
.module-card__sections li::before { content: "-- "; color: var(--blue); }

/* ── Contact form ── */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.form-group input, .form-group textarea { width: 100%; font-family: 'Lato', sans-serif; font-size: 0.95rem; color: var(--text); background: var(--tint); border: 1.5px solid rgba(123,175,212,0.35); border-radius: 6px; padding: 0.6rem 0.85rem; transition: border-color 0.15s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── Social links ── */
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; font-weight: 700; color: var(--muted); background: var(--tint); border: 1px solid rgba(123,175,212,0.3); padding: 0.45rem 0.9rem; border-radius: 20px; text-decoration: none; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.social-link:hover { color: var(--blue); border-color: var(--blue); background: var(--concept); text-decoration: none; }

/* ── Two-column ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.two-col--wide { grid-template-columns: 3fr 2fr; }

/* ── Misc ── */
.divider { border: none; border-top: 1px solid rgba(123,175,212,0.2); margin: 2.5rem 0; }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }

/* ── Footer ── */
.footer { background: var(--text); color: rgba(255,255,255,0.75); padding: 2.5rem 1.5rem; }
.footer__inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; }
.footer__brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.footer__logo { width: 26px; height: 26px; opacity: 0.85; }
.footer__name { font-family: 'Lora', Georgia, serif; font-size: 0.95rem; font-weight: 700; color: var(--white); }
.footer__copy { font-size: 0.8rem; }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a { font-size: 0.82rem; color: rgba(255,255,255,0.65); text-decoration: none; padding: 0.3rem 0.5rem; border-radius: 4px; transition: color 0.15s; }
.footer__social a:hover { color: var(--white); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .pillars     { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .two-col, .two-col--wide { grid-template-columns: 1fr; gap: 1.5rem; }
  h1 { font-size: 2rem; }
  .hero__title { font-size: 2.2rem; }
  .page-header__title { font-size: 1.9rem; }
}
@media (max-width: 600px) {
  .nav__links { display: none; }
  .nav__inner { padding: 0.6rem 1rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .section { padding: 2.5rem 0; }
  .container { padding: 0 1rem; }
}

/* ── Career path ── */
.career-path { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; margin: 1.5rem 0 0.5rem; }
.career-path__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; flex: 1 1 0; min-width: 0; }
.career-path__icon { width: 60px; height: 60px; min-width: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(44,62,80,0.12); }
.career-path__icon svg { width: 28px; height: 28px; }
.career-path__icon--blue { background: var(--blue); color: var(--white); }
.career-path__icon--lav  { background: var(--lav);  color: var(--white); }
.career-path__icon--pink { background: var(--pink); color: var(--plum); }
.career-path__icon--plum { background: var(--plum); color: var(--white); }
.career-path__title { font-family: 'Lora', Georgia, serif; font-size: 0.95rem; margin: 0; }
.career-path__sub   { font-size: 0.78rem; color: var(--muted); margin: 0; }
.career-path__arrow { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--stone, var(--muted)); padding-top: 18px; opacity: 0.6; }
.career-path__arrow svg { width: 22px; height: 22px; }

@media (max-width: 700px) {
  .career-path { flex-direction: column; align-items: stretch; gap: 1rem; }
  .career-path__step { flex-direction: row; text-align: left; justify-content: flex-start; gap: 1rem; }
  .career-path__sub { margin-top: 0.15rem; }
  .career-path__arrow { transform: rotate(90deg); padding: 0; align-self: center; }
}

/* ── Pet gallery ── */
.pet-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 8px rgba(44,62,80,0.07); display: flex; flex-direction: column; border-top: 4px solid var(--lav); }
.pet-card--blue { border-top-color: var(--blue); }
.pet-card--pink { border-top-color: var(--pink); }
.pet-card__photo { aspect-ratio: 4/3; background: var(--tint); border-bottom: 2px dashed rgba(123,175,212,0.35); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 0.85rem; padding: 1rem; }
.pet-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pet-card__body { padding: 1rem 1.25rem 1.25rem; }
.pet-card__name { font-family: 'Lora', Georgia, serif; font-size: 1.05rem; margin: 0 0 0.35rem; }
.pet-card__bio  { font-size: 0.9rem; color: var(--muted); margin: 0; }
