/* ============================================================
   Emily Fowler Portfolio — Design System
   Direction: Field notebook / trusted independent professional
   ============================================================ */

/* --- Fonts --- */
/* DM Serif Display + Lora loaded via <link> in HTML (non-blocking) */

/* --- Custom Properties --- */
:root {
  --bg-base:        #F5F1E8;
  --bg-surface:     #EDE9DE;
  --bg-dark:        #1C1917;

  --text-primary:   #1C1917;
  --text-secondary: #57534E;
  --text-muted:     #A8A29E;
  --text-on-dark:   #F5F1E8;

  --accent:         #B84A39;
  --accent-dark:    #8C3228;
  --border:         #E2DACB;
  --border-dark:    rgba(226,218,203,0.15);

  --radius-sm:  4px;
  --radius-md:  8px;

  --shadow-sm:  0 1px 4px rgba(28,25,23,0.08);
  --shadow-md:  0 4px 20px rgba(28,25,23,0.12);
  --shadow-lg:  0 12px 48px rgba(28,25,23,0.14);

  --max-width: 1100px;
  --transition: 0.22s ease;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-body:  'Lora', Georgia, serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}
a:hover { opacity: 0.72; }

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

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 36px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,241,232,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 36px;
  height: 64px;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.nav-brand:hover { opacity: 0.75; }

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

.nav-links a {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  opacity: 1;
}

.nav-links .nav-active {
  color: var(--text-primary);
}

.nav-links .nav-cta {
  color: var(--accent);
  border: 1px solid rgba(184,74,57,0.3);
  border-radius: var(--radius-sm);
  padding: 5px 16px;
}

.nav-links .nav-cta:hover {
  background: rgba(184,74,57,0.06);
  color: var(--accent);
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: url('photos/canyon-mist.png') center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28,25,23,0.78) 0%,
    rgba(28,25,23,0.55) 60%,
    rgba(28,25,23,0.30) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(245,241,232,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-on-dark);
  max-width: 680px;
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(245,241,232,0.8);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(245,241,232,0.4);
}

.btn-secondary:hover {
  border-color: rgba(245,241,232,0.7);
  color: var(--text-on-dark);
  background: rgba(245,241,232,0.08);
  opacity: 1;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: 88px 0;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.section-tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: -28px;
  margin-bottom: 40px;
  max-width: 480px;
}

.section-intro {
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 52px;
  font-size: 1rem;
  line-height: 1.8;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 36px;
  max-width: calc(var(--max-width) - 72px);
  margin-left: auto;
  margin-right: auto;
}

.section-footer-link {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding: 72px 36px 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-header-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* ============================================================
   STORY / PROJECT ITEMS (homepage + about alternating layout)
   ============================================================ */
.story-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.story-item:first-of-type {
  padding-top: 0;
}

.story-item:last-of-type {
  border-bottom: none;
}

.story-reverse .story-img-wrap {
  order: 2;
}

.story-reverse .story-content {
  order: 1;
}

.story-img-wrap {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--bg-surface);
  transition: box-shadow var(--transition), transform var(--transition);
}

.story-img-wrap:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s ease;
}

.story-img-wrap:hover img {
  transform: scale(1.03);
}

.story-content {
  display: flex;
  flex-direction: column;
}

.story-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.story-content h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.15;
}

.story-pull {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.85;
}

.story-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 24px;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap var(--transition), opacity var(--transition);
}

.story-link:hover {
  gap: 8px;
  opacity: 0.8;
}

/* ============================================================
   HOME PHOTOGRAPHY GRID
   ============================================================ */
.home-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.home-photo-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition), transform 0.4s ease;
  opacity: 0.88;
}

.home-photo-grid img:hover {
  opacity: 1;
  transform: scale(1.01);
}

/* ============================================================
   HOME ABOUT PREVIEW
   ============================================================ */
.about-preview {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

.about-preview-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-preview-body p:last-of-type {
  margin-bottom: 0;
}

/* ============================================================
   HOME CONTACT
   ============================================================ */
.home-contact {
  max-width: 560px;
}

.home-contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.1;
}

.home-contact p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.75;
}

.home-contact-email {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent);
  border-bottom: 1px solid rgba(184,74,57,0.35);
  padding-bottom: 4px;
  margin-bottom: 16px;
  transition: border-color var(--transition), opacity var(--transition);
}

.home-contact-email:hover {
  opacity: 0.8;
  border-color: var(--accent);
}

.home-contact-note {
  font-size: 0.875rem !important;
  font-style: italic;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   FEATURED GRID (legacy — kept for projects page)
   ============================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.featured-card:first-child {
  grid-column: 1 / -1;
}

.featured-card:first-child .featured-img-wrap {
  aspect-ratio: 2.6 / 1;
}

.featured-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.featured-card:hover {
  border-color: rgba(184,74,57,0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
  opacity: 1;
}

.featured-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-surface);
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.55s ease;
}

.featured-card:hover .featured-img-wrap img {
  transform: scale(1.04);
}

.featured-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 24px;
}

.featured-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.featured-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.featured-card:first-child h3 {
  font-size: 1.4rem;
}

.featured-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  flex: 1;
}

.featured-card-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.7;
  transition: opacity var(--transition);
  margin-top: auto;
}

.featured-card:hover .featured-card-link {
  opacity: 1;
}

/* ============================================================
   TAG
   ============================================================ */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(28,25,23,0.05);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   PHOTO STRIP (legacy)
   ============================================================ */
.photo-strip {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.7);
}

.photo-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(245,241,232,0.4) 0%, transparent 50%, rgba(245,241,232,0.4) 100%);
  pointer-events: none;
}

/* ============================================================
   PHOTOGRAPHY PAGE
   ============================================================ */
.photo-category-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.photo-category-section:last-of-type {
  border-bottom: none;
}

.photo-category-section h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.photo-category-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.photo-grid {
  columns: 3;
  column-gap: 12px;
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-surface);
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, opacity var(--transition);
  opacity: 0.88;
}

.photo-item:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.photo-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.photo-hire-cta {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  text-align: center;
  margin-top: 64px;
}

.photo-hire-cta h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.photo-hire-cta p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-main {
  grid-column: 1 / -1;
}

.about-main p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-main p:last-child { margin-bottom: 0; }

.about-main strong {
  color: var(--text-primary);
  font-weight: 600;
}

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

.highlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.highlight-card:hover {
  border-color: rgba(184,74,57,0.2);
  box-shadow: var(--shadow-md);
}

.highlight-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.highlight-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.highlight-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   SKILLS PAGE
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.skill-category h3 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-secondary);
  background: rgba(28,25,23,0.05);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 5px 15px;
  transition: all var(--transition);
}

.pill:hover {
  border-color: rgba(184,74,57,0.3);
  color: var(--text-primary);
  background: rgba(184,74,57,0.05);
}

.pill-accent {
  color: var(--accent);
  border-color: rgba(184,74,57,0.28);
  background: rgba(184,74,57,0.06);
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.project-card:hover {
  border-color: rgba(184,74,57,0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-surface);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.45s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.04);
}

.project-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-primary);
  padding: 20px 24px 0;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 14px;
  padding: 0 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  padding: 0 24px;
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding: 0 24px 24px;
}

.project-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(184,74,57,0.07);
  border: 1px solid rgba(184,74,57,0.2);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  transition: all var(--transition);
}

.project-link:hover {
  background: rgba(184,74,57,0.14);
  border-color: rgba(184,74,57,0.38);
  color: var(--accent);
  opacity: 1;
}

.project-link.ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.project-link.ghost:hover {
  color: var(--text-primary);
  background: rgba(28,25,23,0.05);
  border-color: rgba(28,25,23,0.2);
  opacity: 1;
}

.project-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: var(--bg-surface);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.project-placeholder-icon {
  font-size: 2rem;
  opacity: 0.25;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-section {
  padding: 80px 0;
}

.contact-inner {
  max-width: 560px;
}

.contact-inner h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.contact-inner .section-intro {
  margin-bottom: 36px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-link:hover {
  border-color: rgba(184,74,57,0.28);
  color: var(--accent);
  background: rgba(184,74,57,0.05);
  transform: translateY(-1px);
  opacity: 1;
}

.contact-link .link-icon { font-size: 1rem; }
.contact-email-cta { margin-top: 8px; }

/* ============================================================
   EDUCATION / MISC
   ============================================================ */
.edu-list {
  display: grid;
  gap: 16px;
}

.edu-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.edu-icon {
  font-size: 1.4rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.edu-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.edu-body .edu-org {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2px;
}

.edu-body .edu-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ============================================================
   CARD BASE
   ============================================================ */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: rgba(184,74,57,0.2);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 32px;
  text-align: center;
  background: var(--bg-surface);
}

.site-footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   MISSION / MISC PAGES
   ============================================================ */
.mission-header {
  text-align: center;
  padding: 80px 32px 56px;
  border-bottom: 1px solid var(--border);
}

.mission-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 16px;
}

.mission-header p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   HERO PILLS (legacy — hero redesigned but kept for safety)
   ============================================================ */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.hero-pill {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(245,241,232,0.7);
  border: 1px solid rgba(245,241,232,0.25);
  border-radius: 30px;
  padding: 5px 16px;
  letter-spacing: 0.04em;
}
