:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f2f2f0;
  --color-navy: #0a1f2e;
  --color-navy-soft: #16324a;
  --color-text: #14181c;
  --color-text-muted: #565f66;
  --color-border: #d8dbdd;
  --color-accent: #1a6fb0;
  --color-accent-dark: #124f80;
  --color-orange: #e08a4b;
  --color-orange-dark: #c76f34;
  --color-orange-soft: #fbead9;
  --max-width: 1120px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-soft: 0 2px 10px rgba(10, 31, 46, 0.06);
  --shadow-med: 0 12px 32px rgba(10, 31, 46, 0.12);
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.15;
  font-weight: 500;
  margin: 0;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em 0;
  color: var(--color-text-muted);
}

a {
  color: var(--color-navy);
  text-decoration: none;
}

::selection {
  background: var(--color-orange);
  color: #fff;
}

/* Swipe-in reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="right"] {
  transform: translateX(36px);
}

[data-reveal="up"] {
  transform: translateY(28px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-navy);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--color-accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover {
  color: var(--color-accent);
}

.main-nav a.active {
  color: var(--color-navy);
  border-bottom-color: var(--color-accent);
}

.main-nav a.nav-contact {
  color: var(--color-orange-dark);
}

.main-nav a.nav-contact:hover,
.main-nav a.nav-contact.active {
  color: var(--color-orange-dark);
  border-bottom-color: var(--color-orange);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  width: 24px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-navy);
}

/* Hero */
.hero {
  padding: 120px 0 96px;
  background: var(--color-navy);
  color: #fff;
  border-bottom: 4px solid var(--color-orange);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--color-orange);
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 14px;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  margin-bottom: 20px;
  color: #fff;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 540px;
  margin: 0 0 28px;
  color: #cfd9e0;
  font-family: var(--font-serif);
  font-style: italic;
}

.article-date {
  font-size: 0.8rem;
  color: #9fabb4;
  margin-top: -8px;
  margin-bottom: 8px;
}

.article-card .article-date {
  color: var(--color-text-muted);
  margin: 0 0 6px;
  font-size: 0.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: #9fabb4;
}

.hero-meta strong {
  color: #f2f5f7;
  font-weight: 600;
}

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

.avatar-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy-soft);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 16px 16px 0 var(--color-orange), var(--shadow-med);
  position: relative;
  margin-right: 16px;
}

.avatar-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(224, 138, 75, 0.5);
  pointer-events: none;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-frame .monogram {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 500;
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(224, 138, 75, 0.3);
}

.btn-primary:hover {
  background: var(--color-orange-dark);
  box-shadow: 0 10px 24px rgba(224, 138, 75, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.btn-dark {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

.btn-dark:hover {
  background: var(--color-navy-soft);
}

/* Sections */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--color-border);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

/* Bio */
.bio-block {
  max-width: 720px;
  margin-bottom: 56px;
}

.bio-block p {
  font-size: 1.08rem;
  color: var(--color-text);
}

.bio-block a {
  font-weight: 600;
  color: var(--color-orange-dark);
  border-bottom: 1px solid var(--color-orange);
}

.bio-block a:hover {
  color: var(--color-orange-dark);
}

/* Artikelen teaser */
.articles-teaser {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.articles-teaser a {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-navy);
}

.articles-teaser a:hover {
  color: var(--color-orange-dark);
}

/* Uitgelicht artikel */
.featured-post {
  display: block;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-top: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-post:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-med);
}

.featured-post .eyebrow {
  color: var(--color-orange-dark);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
}

.featured-post h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.featured-post p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.featured-post .article-link {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-orange-dark);
}

/* Visie */
.vision-intro {
  max-width: 720px;
  margin-bottom: 40px;
}

.vision-intro p {
  font-size: 1.05rem;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
}

.vision-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vision-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-med);
}

.vision-card .vision-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.vision-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.vision-card p {
  font-size: 0.94rem;
  margin: 0;
}

/* Referenties */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.reference-quote {
  max-width: none;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reference-quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-med);
}

.reference-quote p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.reference-quote footer {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-orange-dark);
}

/* Artikel-pagina proza */
.article-prose {
  max-width: 740px;
}

.article-prose p {
  font-size: 1.08rem;
  color: var(--color-text);
  margin-bottom: 1.3em;
}

.article-prose h2,
.article-prose h3 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: 1.4rem;
  font-weight: 500;
}

.article-prose ul {
  margin: 0 0 1.3em;
  padding-left: 22px;
  color: var(--color-text);
}

.article-prose li {
  margin-bottom: 8px;
}

.article-prose a {
  font-weight: 600;
  color: var(--color-orange-dark);
  border-bottom: 1px solid var(--color-orange);
}

.article-prose a:hover {
  color: var(--color-accent-dark);
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.back-link:hover {
  color: var(--color-orange-dark);
}

.breadcrumb {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-orange-dark);
}

.breadcrumb span {
  color: var(--color-text-muted);
}

.related-articles {
  max-width: 740px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.related-articles h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.related-articles ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.related-articles a {
  display: block;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-articles a:hover {
  border-color: var(--color-orange);
  color: var(--color-orange-dark);
  transform: translateX(4px);
}

/* Credential card */
.credential-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 48px;
  box-shadow: var(--shadow-soft);
}

.credential-icon {
  width: 48px;
  height: 48px;
  background: var(--color-orange);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.credential-card h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--color-navy);
}

.credential-card p {
  margin: 0;
  font-size: 0.92rem;
}

/* Projects */
.project-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 56px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-med);
}

.project-feature .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange-dark);
  background: var(--color-orange-soft);
  border: 1px solid var(--color-orange);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.project-feature h3 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.project-feature ul {
  margin: 24px 0 32px;
  padding-left: 20px;
  color: var(--color-text-muted);
  font-size: 0.96rem;
}

.project-feature li {
  margin-bottom: 8px;
}

.project-visual {
  background: var(--color-navy);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  text-align: center;
  padding: 24px;
}

.project-visual img {
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
}

.project-visual-img {
  background: #fff;
  border: 1px solid var(--color-border);
}

.tag-soon {
  color: var(--color-text-muted);
  background: transparent;
  border-color: var(--color-border);
}

.project-visual-soon {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
}

.projects-more {
  margin-top: 32px;
  padding: 32px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* Insights / articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.article-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-med);
}

.article-meta {
  font-size: 0.72rem;
  color: var(--color-orange-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.article-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.article-card p {
  font-size: 0.94rem;
  flex-grow: 1;
}

.article-link {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
}

.article-link:hover {
  color: var(--color-orange-dark);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-navy);
}

.contact-info-list li {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.contact-info-list .label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-info-list .value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-navy);
  font-family: var(--font-serif);
}

.contact-form {
  width: 100%;
}

.form-row {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 16px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  color: var(--color-text);
  resize: vertical;
  transition: border-color 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.form-note {
  margin-top: 16px;
  font-size: 0.88rem;
}

/* Ervaring / timeline */
.timeline {
  border-top: 1px solid var(--color-border);
  margin-bottom: 64px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  padding-top: 5px;
}

.timeline-item-current .timeline-date {
  color: var(--color-orange-dark);
}

.timeline-role {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.timeline-bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.timeline-bullets li {
  margin-bottom: 6px;
}

/* Opleidingen */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.education-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.education-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-med);
}

.education-date {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-orange-dark);
  margin-bottom: 14px;
}

.education-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.education-card p {
  font-size: 0.88rem;
  margin: 0;
}

@media (max-width: 680px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-navy);
  padding: 40px 0;
  background: var(--color-navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  color: #9fabb4;
  justify-self: start;
}

.footer-links {
  display: flex;
  gap: 28px;
  grid-column: 2;
  justify-self: center;
}

@media (max-width: 500px) {
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    grid-column: 1;
  }
}

.footer-links a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cfd9e0;
}

.footer-links a:hover {
  color: var(--color-orange);
}

/* Closing CTA */
.closing-cta {
  text-align: center;
  background: var(--color-navy);
  color: #fff;
  border-bottom: none;
}

.closing-cta .section-title {
  color: #fff;
}

.closing-cta .section-intro {
  margin-left: auto;
  margin-right: auto;
  color: #cfd9e0;
}

.closing-cta .hero-actions {
  justify-content: center;
}

/* Floating contact CTA */
.floating-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-orange);
  color: #fff;
  padding: 15px 26px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(224, 138, 75, 0.4);
  z-index: 200;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-contact:hover {
  background: var(--color-orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(224, 138, 75, 0.5);
}

/* Responsive */
@media (max-width: 800px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .avatar-frame {
    order: -1;
    max-width: 260px;
    box-shadow: 10px 10px 0 var(--color-orange), var(--shadow-med);
    margin-right: 10px;
  }

  .avatar-frame .monogram {
    font-size: 2.2rem;
  }

  .project-feature {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .project-visual {
    order: -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    padding: 13px 20px;
    font-size: 0.72rem;
    bottom: 18px;
    right: 18px;
  }
}

@media (max-width: 680px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-navy);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 32px 16px;
    gap: 0;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 88px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .article-card,
  .featured-post,
  .reference-quote,
  .education-card {
    padding: 24px;
  }

  .project-feature {
    padding: 24px;
  }

  .credential-card {
    flex-direction: column;
    padding: 24px;
  }

  .related-articles a {
    padding: 14px 16px;
  }

  .floating-contact {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    padding: 12px 18px;
    font-size: 0.7rem;
  }

  .avatar-frame {
    max-width: 220px;
    box-shadow: 8px 8px 0 var(--color-orange), var(--shadow-med);
  }
}
