/* ============================================
   Design tokens
   ============================================ */
:root {
  --bg: #fbfaf9;
  --surface: #f3eef7;
  --ink: #221c2c;
  --ink-soft: #5c5566;
  --ink-faint: #8b8494;
  --accent: #6e4c8c;
  --accent-soft: #a98bc4;
  --accent-dark: #4a3161;
  --line: #e3dce8;
  --card-shadow: 0 2px 6px rgba(74, 49, 97, 0.06), 0 10px 28px rgba(74, 49, 97, 0.07);
  --card-shadow-hover: 0 6px 16px rgba(74, 49, 97, 0.10), 0 18px 40px rgba(74, 49, 97, 0.12);
  --max-width: 900px;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p {
  text-align: justify;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

/* ============================================
   Scroll-reveal (see script.js)
   ============================================ */
.reveal,
.ledger-row,
.highlight-block,
.stat-band,
.stat-callout {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view,
.ledger-row.in-view,
.highlight-block.in-view,
.stat-band.in-view,
.stat-callout.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Header / nav
   ============================================ */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 249, 0.88);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.nav-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

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

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 28px; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 100px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 420px;
}

.hero-photo {
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  height: 260px;
}

.hero-photo .hero-blob {
  position: absolute;
  top: -34px;
  left: -34px;
  width: 328px;
  height: 328px;
  z-index: 0;
  opacity: 0.6;
}

.hero-photo .portrait {
  position: relative;
  z-index: 1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 5px solid #fff;
  box-shadow: var(--card-shadow-hover);
}

@media (max-width: 700px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 32px;
  }
  .hero-text .hero-kicker { justify-content: center; }
  .hero-text h1 { max-width: none; }
  .hero-text p.lede { margin: 0 auto; }
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-kicker .rule {
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  max-width: 15ch;
  opacity: 0;
  animation: rise 0.8s ease forwards;
}

.fun-fact-section {
  padding: 34px 0 0;
  border-top: 0;
}

.home-hero { padding-top: 48px; }

.fun-fact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 30px;
  overflow: hidden;
  border: 1px solid rgba(169, 139, 196, 0.3);
  border-radius: 22px;
  background: linear-gradient(120deg, #f3eef7 0%, #fff8ed 100%);
  box-shadow: var(--card-shadow);
  opacity: 0;
  animation: fun-fact-enter 0.85s cubic-bezier(0.2, 0.75, 0.3, 1) 0.55s forwards;
}

.fun-fact-card::after {
  position: absolute;
  top: -48px;
  right: -26px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  content: "";
  pointer-events: none;
}

.fun-fact-emoji {
  z-index: 1;
  display: grid;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 16px rgba(74, 49, 97, 0.12);
  font-size: 2rem;
  animation: fun-fact-float 3s ease-in-out 1.4s infinite;
}

.fun-fact-copy {
  z-index: 1;
}

.fun-fact-label {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fun-fact-copy p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: left;
}

.fun-fact-inline-smile { white-space: nowrap; }

@keyframes fun-fact-enter {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fun-fact-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-5px) rotate(-5deg); }
}

.hero p.lede {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1.55;
  opacity: 0;
  animation: rise 0.8s ease 0.15s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .fun-fact-card {
    gap: 16px;
    padding: 20px;
  }
  .fun-fact-emoji {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fun-fact-card {
    opacity: 1;
    animation: none;
  }
  .fun-fact-emoji { animation: none; }
}

/* ============================================
   Sections
   ============================================ */
section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.85rem;
  margin: 0;
}

.section-head .see-all {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color 0.2s ease;
}

.section-head .see-all:hover { border-color: var(--accent); }

/* ============================================
   Ledger list (projects / articles) — card style
   ============================================ */
.ledger {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.6s ease;
}

a.ledger-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent-soft);
}

.ledger-meta {
  color: var(--ink-faint);
  font-size: 0.9rem;
  font-weight: 600;
  padding-top: 2px;
}

.ledger-body h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 8px;
  transition: color 0.2s ease;
}

.ledger-body p {
  color: var(--ink-soft);
  margin: 0 0 10px;
  max-width: 62ch;
}

.ledger-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--surface);
  padding: 4px 11px;
  border-radius: 20px;
}

.ext-label {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

a.ledger-row:hover .ledger-body h3 {
  color: var(--accent);
}

.category-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-label .rule {
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.category-label.is-second {
  margin-top: 44px;
}

/* ============================================
   Data highlights — card style with icons
   ============================================ */
.highlights-intro {
  color: var(--ink-soft);
  max-width: 62ch;
  margin: -8px 0 36px;
}

.highlight-block {
  padding: 32px 32px 36px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
}

.highlight-block:hover {
  box-shadow: var(--card-shadow-hover);
}

.highlight-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.highlight-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight-block h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0;
}

.highlight-source {
  color: var(--ink-faint);
  font-size: 0.88rem;
  margin: 10px 0 20px;
  padding-left: 56px;
}

.highlight-source a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
}

.hbar-chart {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 22px 0 24px;
}

.hbar-row {
  display: grid;
  grid-template-columns: 190px 1fr 58px;
  align-items: center;
  gap: 12px;
}

.hbar-label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.hbar-track {
  background: var(--surface);
  border-radius: 20px;
  height: 12px;
  overflow: hidden;
}

.hbar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-soft) 0%, var(--accent) 100%);
  border-radius: 20px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.in-view .hbar-fill {
  transform: scaleX(1);
}

.hbar-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hbar-caveat {
  color: var(--accent);
}

.crew-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 22px 0 24px;
}

.crew-group {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px 18px;
}

.crew-group h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 10px;
  color: var(--ink);
}

.crew-item {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.crew-item:first-of-type { border-top: none; }

.crew-item .crew-time {
  color: var(--accent-dark);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.highlight-interp {
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 0;
}

.highlight-interp + .highlight-interp { margin-top: 10px; }

/* ============================================
   Strategic recommendations callout
   ============================================ */
.exec-recommend {
  margin: 24px 0 4px;
  padding: 22px 24px 20px;
  background: linear-gradient(135deg, rgba(110, 76, 140, 0.055) 0%, rgba(74, 49, 97, 0.025) 100%);
  border: 1px solid var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}

.exec-recommend h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 14px;
  color: var(--accent-dark);
  letter-spacing: 0.01em;
}

.exec-recommend h4::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.exec-recommend ol,
.exec-recommend ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.exec-recommend li {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}

.exec-recommend li strong {
  color: var(--ink);
}

.stat-callout {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 24px 0;
  padding: 24px;
  background: var(--surface);
  border-radius: 14px;
}

.stat-callout .stat {
  min-width: 140px;
}

.stat-callout .stat-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.1rem;
  color: var(--accent-dark);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.stat-callout .stat-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ============================================
   Real chart gallery (extracted report visuals)
   ============================================ */
.chart-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 22px 0 24px;
}

.chart-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 14px;
}

.chart-card.wide {
  grid-column: 1 / -1;
}

.chart-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  background: #fff;
}

.chart-caption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 10px;
  text-align: center;
}

@media (max-width: 560px) {
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .highlight-source { padding-left: 0; }
}

/* ============================================
   Bold stat band (homepage)
   ============================================ */
.stat-band {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  border-top: none;
  padding: 52px 0;
}

.stat-band .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.stat-band .band-stat {
  color: #fff;
}

.stat-band .band-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-band .band-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
}

/* ============================================
   Skills strip
   ============================================ */
.skills {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.skills-row span {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent-dark);
}

/* ============================================
   Bio / about
   ============================================ */
.bio p {
  max-width: 62ch;
  color: var(--ink-soft);
}

.hrci-photo-wrap {
  margin: 20px 0 28px;
  width: min(100%, 760px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  background: var(--surface);
}

.hrci-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.philanthropy-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 760px);
  margin: 20px 0 0;
}

.philanthropy-photo-wrap {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.philanthropy-photo {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.about-portrait-wrap {
  position: relative;
  display: block;
  width: clamp(180px, 25vw, 300px);
  height: clamp(180px, 25vw, 300px);
  margin: 0 auto 32px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(110, 76, 140, 0.08);
  box-shadow: 0 10px 26px rgba(74, 49, 97, 0.10);
  overflow: visible;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.about-portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(110, 76, 140, 0.6);
  opacity: 0;
  transition: opacity 0.5s ease-out 0.4s;
}

.about-portrait {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--surface);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65);
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.about-portrait-wrap.in-view,
.about-portrait-wrap.in-view .about-portrait {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-portrait-wrap.in-view::before {
  opacity: 1;
}

.bio p + p { margin-top: 16px; }

@media (max-width: 820px) {
  .about-portrait-wrap {
    width: clamp(180px, 38vw, 220px);
    height: clamp(180px, 38vw, 220px);
    margin-bottom: 28px;
  }

  .philanthropy-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-portrait-wrap {
    width: clamp(170px, 46vw, 220px);
    height: clamp(170px, 46vw, 220px);
    margin-bottom: 22px;
  }

  .philanthropy-gallery {
    grid-template-columns: 1fr;
  }

  .philanthropy-photo {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-portrait-wrap,
  .about-portrait,
  .about-portrait-wrap::before {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.credentials {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credentials li {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ============================================
   Contact
   ============================================ */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.contact-list a {
  display: inline-block;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-list a:first-child { border-top: none; }

.contact-list a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.contact-form-section {
  padding: 0 0 80px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
}

.contact-panel-copy {
  padding: 8px 8px 8px 0;
}

.contact-panel-copy h2 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-weight: 600;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(110, 76, 140, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  align-self: flex-start;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: #fff;
  padding: 14px 22px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(74, 49, 97, 0.18);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(74, 49, 97, 0.22);
}

@media (max-width: 700px) {
  .contact-panel {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .contact-form button {
    width: 100%;
  }
}

/* ============================================
   Article page
   ============================================ */
.article-header {
  padding: 64px 0 32px;
}

.article-header .back {
  color: var(--ink-faint);
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 24px;
}

.article-header .back:hover { color: var(--accent); }

.article-header h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  line-height: 1.12;
  margin: 0 0 14px;
}

.article-meta {
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.article-body {
  padding-bottom: 64px;
  max-width: 68ch;
}

.article-body p {
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.45rem;
  margin: 36px 0 16px;
  color: var(--ink);
}

/* ============================================
   Footer
   ============================================ */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--ink-faint);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer .footer-links {
  display: flex;
  gap: 20px;
}

footer a { transition: color 0.2s ease; }
footer a:hover { color: var(--accent); }
