/* =====================================================================
   goforthmath.com
   Light, professional, but not plain — graph-paper grid + brand bar +
   layered card accents. Palette tied to cynthiagoforth.com.
   ===================================================================== */

:root {
  /* Brand colors — match the portfolio site */
  --primary: #6C3CE1;        /* signature purple */
  --primary-dark: #5429C4;
  --primary-darker: #2E1A5C; /* deep purple for headings */
  --primary-tint: #F4EFFF;
  --primary-tint-2: #EDE5FF;
  --accent: #00B894;         /* teal — slightly tamer than portfolio's #00D4AA */
  --accent-dark: #00997A;
  --accent-tint: #E0F8F2;

  /* Brand gradient — used sparingly for accents */
  --gradient: linear-gradient(135deg, #6C3CE1 0%, #00B894 100%);
  --gradient-soft: linear-gradient(135deg, rgba(108, 60, 225, 0.08) 0%, rgba(0, 184, 148, 0.06) 100%);

  /* Surfaces */
  --bg: #FBFAFD;
  --surface: #FFFFFF;
  --surface-alt: #F7F4FC;

  /* Text */
  --text: #1A1530;
  --text-muted: #5C5470;
  --text-subtle: #8E89A0;

  /* Lines & shadows */
  --border: #E8E2F2;
  --border-strong: #D9CFEC;
  --shadow-sm: 0 1px 2px rgba(46, 26, 92, 0.05);
  --shadow: 0 2px 8px rgba(46, 26, 92, 0.06), 0 1px 3px rgba(46, 26, 92, 0.04);
  --shadow-lg: 0 8px 24px rgba(46, 26, 92, 0.10), 0 2px 6px rgba(46, 26, 92, 0.05);

  /* Layout */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1120px;

  /* Fonts */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

/* ===== Brand bar at the very top of every page ===== */
body::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--gradient);
  position: sticky;
  top: 0;
  z-index: 200;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  /* Graph-paper grid — this is a math site, after all */
  background-image:
    linear-gradient(rgba(108, 60, 225, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 60, 225, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Header / Nav ===== */
.site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 4px; /* sits below the brand bar */
  z-index: 100;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-height: 68px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Mathematical mark next to the wordmark */
.site-logo::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--gradient);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(108, 60, 225, 0.25);
}

.site-logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
  color: var(--primary);
  background: var(--primary-tint);
}

.site-nav a.active {
  color: var(--primary-dark);
  background: var(--primary-tint);
  font-weight: 600;
}

/* ===== Hero ===== */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Denser graph paper inside the hero — pulls the math motif forward */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 60, 225, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 60, 225, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9), transparent 75%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9), transparent 75%);
  pointer-events: none;
}

/* Brighter color bloom in the hero corner */
.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(108, 60, 225, 0.32) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--primary-darker);
}

.hero .subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ===== Page Header (interior pages) ===== */
.page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 60, 225, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 60, 225, 0.11) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 75%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 75%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  top: -130px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 184, 148, 0.25) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
  color: var(--primary-darker);
  position: relative;
  z-index: 1;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

/* ===== Main Content ===== */
main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

section {
  margin-bottom: 3rem;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
  display: inline-block;
}

h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--primary-darker);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

/* Gradient pill underline on every h2 — pulls the brand colors in */
h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--primary-darker);
  margin-bottom: 0.6rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  color: var(--primary-darker);
  font-weight: 600;
}

code {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 0.92em;
  background: var(--primary-tint);
  color: var(--primary-dark);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* ===== Cards / Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

/* Top accent stripe — appears on hover (pulled from the portfolio site) */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin-top: 0;
  color: var(--primary-darker);
}

.card .card-meta {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.card a.card-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
  font-size: 0.95rem;
}

.card a.card-link:hover {
  color: var(--primary-dark);
}

.card a.card-link::after {
  content: " →";
  display: inline-block;
  transition: transform 0.15s;
}

.card a.card-link:hover::after {
  transform: translateX(3px);
}

/* ===== Stat cards (used on engineering / data page) ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
}

/* ===== Unit blocks ===== */
.unit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

/* Vertical gradient bar on the left edge of each unit */
.unit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient);
}

.unit:hover {
  box-shadow: var(--shadow);
  transform: translateX(2px);
}

.unit h3 {
  margin-top: 0;
  color: var(--primary-darker);
}

.unit .unit-tag {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-right: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.unit ul.resource-list {
  list-style: none;
  margin: 0.75rem 0 0 0;
  padding: 0;
}

.unit ul.resource-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
}

.unit ul.resource-list li:last-child {
  border-bottom: none;
}

.unit ul.resource-list li::before {
  content: "›";
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.6rem;
  font-size: 1.1em;
  flex-shrink: 0;
}

/* ===== About / Profile section ===== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}

.profile-photo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.profile-photo .photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  position: relative;
  overflow: hidden;
}

/* Subtle math-y decoration on the photo placeholder */
.profile-photo .photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

.profile-photo .photo-placeholder span {
  position: relative;
  z-index: 1;
}

.profile-photo p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

@media (max-width: 700px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
}

.btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(108, 60, 225, 0.3);
}

.btn-primary {
  background: var(--gradient);
}

.btn-primary:hover {
  background: var(--gradient);
  box-shadow: 0 6px 22px rgba(108, 60, 225, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--primary-tint);
  color: var(--primary-dark);
  border-color: var(--primary);
  box-shadow: none;
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}

/* ===== Callouts ===== */
.callout {
  background: var(--gradient-soft);
  border-left: 4px solid var(--primary);
  padding: 1.1rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  color: var(--text);
}

.callout strong {
  color: var(--primary-darker);
}

.callout-accent {
  background: var(--accent-tint);
  border-left-color: var(--accent);
}

.callout-accent strong {
  color: var(--accent-dark);
}

/* ===== Tables ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 1rem 0;
}

th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--primary-tint);
  color: var(--primary-darker);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) td {
  background: var(--surface-alt);
}

/* ===== Search / filter ===== */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  align-items: center;
}

.filter-bar input[type="search"] {
  flex: 1;
  min-width: 240px;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.filter-bar input[type="search"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.filter-tag {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.15s;
}

.filter-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tag.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

/* ===== Pill tags (used on research page for tech tags) ===== */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.7rem;
  background: var(--primary-tint);
  color: var(--primary-dark);
  border-radius: 999px;
  border: 1px solid rgba(108, 60, 225, 0.18);
}

.tag-accent {
  background: var(--accent-tint);
  color: var(--accent-dark);
  border-color: rgba(0, 184, 148, 0.2);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
  padding: 1.75rem 1.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--primary);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ===== Form fields ===== */
input[type="text"], input[type="email"], textarea {
  font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-tint);
}

/* ===== Animated background orbs (landing page) ===== */
/* Adapted from cynthiagoforth.com — same float pattern, light-mode opacity */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  animation: float 22s ease-in-out infinite;
  will-change: transform;
}

.bg-orbs .orb:nth-child(1) {
  width: 580px;
  height: 580px;
  background: #6C3CE1;
  top: -8%;
  left: -10%;
  animation-delay: 0s;
}

.bg-orbs .orb:nth-child(2) {
  width: 480px;
  height: 480px;
  background: #00B894;
  top: 38%;
  right: -12%;
  opacity: 0.26;
  animation-delay: -7s;
}

.bg-orbs .orb:nth-child(3) {
  width: 420px;
  height: 420px;
  background: #C77FE0; /* soft pink-purple — echoes portfolio's #FF6B9D, dialed back */
  bottom: -8%;
  left: 28%;
  opacity: 0.24;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(40px, -50px) scale(1.05); }
  50%      { transform: translate(-30px, 30px) scale(0.95); }
  75%      { transform: translate(50px, 40px) scale(1.03); }
}

/* When the orbs are present, the rest of the layout sits above them */
body:has(.bg-orbs) .site-header,
body:has(.bg-orbs) .hero,
body:has(.bg-orbs) main,
body:has(.bg-orbs) .site-footer {
  position: relative;
  z-index: 1;
}

/* On the landing page, let the orbs show through the hero (frosted glass) */
body:has(.bg-orbs) .hero {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
}

/* And let cards on the landing page sit on a subtle frosted background too */
body:has(.bg-orbs) main {
  background: rgba(251, 250, 253, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ===== Hero entrance animation ===== */
.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle drifting gradient on the photo placeholder */
.profile-photo .photo-placeholder {
  background-size: 200% 200%;
  animation: gradient-drift 14s ease-in-out infinite;
}

@keyframes gradient-drift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  .bg-orbs .orb,
  .hero-content > *,
  .profile-photo .photo-placeholder {
    animation: none;
  }
  .hero-content > * {
    opacity: 1;
    transform: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  body { font-size: 16px; }

  .hero {
    padding: 4rem 1.25rem 3.5rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .page-header h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  main {
    padding: 2rem 1.25rem;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
  }

  .site-nav ul {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }
}
