:root {
  --ink: #2a3f38;
  --muted: #57585d;
  --paper: #f1f0ed;
  --paper-warm: #ffffff;
  --panel: #ffffff;
  --line: #c9ccc8;
  --sage: #8df688;
  --sage-soft: #e8fde7;
  --teal: #2a3f38;
  --teal-dark: #2a3f38;
  --gold: #f650bd;
  --clay: #562f54;
  --coral: #f650bd;
  --signal: #f650bd;
  --sky: #57585d;
  --lemon: #8df688;
  --petal: #f650bd;
  --ink-soft: #57585d;
  --charcoal: #2a3f38;
  --shadow: 0 24px 70px rgba(42, 63, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 112px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(42, 63, 56, 0.09) 1px, transparent 1.5px),
    radial-gradient(circle at 85% 14%, rgba(246, 80, 189, 0.09), transparent 22%),
    radial-gradient(circle at 12% 70%, rgba(141, 246, 136, 0.08), transparent 24%),
    var(--paper);
  background-size: 42px 42px, auto, auto, auto;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

.site-header {
  --header-alpha: 0.96;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(24px, calc((100vw - 1320px) / 2 + 32px));
  background: rgba(255, 255, 255, var(--header-alpha));
  border-bottom: 1px solid rgba(42, 63, 56, 0.12);
  box-shadow: 0 16px 42px rgba(42, 63, 56, 0.08);
  backdrop-filter: blur(16px);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(42, 63, 56, 0.08);
  box-shadow: 0 10px 28px rgba(42, 63, 56, 0.06);
}

.brand,
.site-nav,
.hero-actions,
.contact-actions,
.article-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 850;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  background: var(--teal-dark);
  border-radius: 8px;
  font-weight: 900;
}

.site-nav {
  gap: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.site-nav a {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--sage-soft);
  outline: none;
}

.site-nav a:last-child {
  color: #ffffff;
  background: var(--charcoal);
}

.site-nav a:last-child:hover,
.site-nav a:last-child:focus-visible {
  color: #ffffff;
  background: var(--teal-dark);
}

.mobile-contact {
  position: absolute;
  top: 10px;
  right: 16px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  color: #ffffff;
  background: var(--charcoal);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 850;
}

@media (min-width: 521px) {
  .mobile-contact {
    display: none !important;
  }
}

.hero {
  position: relative;
  display: grid;
  min-height: auto;
  align-items: start;
  padding: 112px 32px 70px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 24%, rgba(246, 80, 189, 0.12), transparent 18%),
    radial-gradient(circle at 86% 8%, rgba(141, 246, 136, 0.24), transparent 18%),
    linear-gradient(135deg, #e7e8e5 0%, #f2f1ee 58%, #ffffff 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 52%);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1320px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 64px;
  background:
    radial-gradient(circle at 1px 1px, rgba(42, 63, 56, 0.07) 1px, transparent 1.5px),
    #e4e5e1;
  background-size: 34px 34px, auto;
}

.hero-inner > * {
  min-width: 0;
}

.hero-content {
  position: relative;
  max-width: none;
  min-width: 0;
  min-height: 560px;
  padding: 56px 38px 98px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(42, 63, 56, 0.98), rgba(42, 63, 56, 0.94)),
    var(--charcoal);
  box-shadow: 0 22px 48px rgba(42, 63, 56, 0.2);
}

.hero-content::before {
  position: absolute;
  top: 0;
  bottom: 48px;
  left: 0;
  width: 12px;
  content: "";
  background: linear-gradient(180deg, var(--signal), var(--clay), var(--sage));
}

.eyebrow,
.section-kicker,
.timeline-label,
.post-meta,
.article-meta {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero h1,
.page-hero h1,
.article-hero h1 {
  margin: 0;
  font-size: 5.2rem;
  line-height: 0.95;
  font-weight: 900;
}

.hero h1 {
  color: #ffffff;
  max-width: 580px;
  font-size: clamp(5rem, 8.8vw, 7.8rem);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 560px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.28rem;
  line-height: 1.42;
}

.page-hero-copy,
.article-deck {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.22rem;
}

.hero-meta {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.hero-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 48px;
  align-items: center;
  padding: 0 18px;
  overflow: hidden;
  color: #ffffff;
  background: var(--clay);
  border-top: 5px solid var(--sage);
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.hero-tags span + span::before {
  display: none;
  content: "";
}

.hero-tags span:nth-child(2),
.hero-tags span:nth-child(3) {
  background: transparent;
}

.hero-actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .button-primary {
  color: var(--charcoal);
  background: var(--sage);
}

.hero .button-primary:hover,
.hero .button-primary:focus-visible {
  color: var(--charcoal);
  background: #ffffff;
}

.hero .button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.38);
}

.hero .button-secondary:hover,
.hero .button-secondary:focus-visible {
  color: var(--charcoal);
  background: #ffffff;
}

.hero-portrait {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  align-content: center;
  align-self: stretch;
  margin: 0;
  min-width: 0;
  min-height: 0;
  padding: 30px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(86, 47, 84, 0.98), rgba(42, 63, 56, 0.96) 58%, rgba(42, 63, 56, 0.98)),
    var(--charcoal);
  border: 1px solid rgba(42, 63, 56, 0.18);
  border-radius: 0;
  box-shadow: 0 22px 48px rgba(42, 63, 56, 0.18);
  transform: none;
}

.hero-portrait::before {
  position: absolute;
  inset: 22px 20px 74px 42px;
  z-index: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(141, 246, 136, 0.2), rgba(246, 80, 189, 0.12)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: translate(14px, -14px);
}

.hero-portrait::after {
  position: absolute;
  right: 28px;
  bottom: 86px;
  z-index: 2;
  width: min(190px, 34%);
  height: 7px;
  content: "";
  background: var(--sage);
}

.hero-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: 50% 50%;
  border: 6px solid rgba(255, 255, 255, 0.86);
  border-radius: 0;
  filter: saturate(0.92) contrast(1.03);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

.portrait-caption {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 18px 18px 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
}

.button-primary {
  color: #ffffff;
  background: var(--charcoal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
  outline: none;
}

.button-secondary {
  color: var(--charcoal);
  background: transparent;
  border-color: rgba(42, 63, 56, 0.22);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 250, 245, 0.5);
  outline: none;
}

.button-subtle {
  color: var(--teal-dark);
  background: var(--sage-soft);
  border-color: rgba(42, 63, 56, 0.16);
}

.signature-strip {
  display: grid;
  width: min(100%, 1120px);
  margin: -20px auto 0;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 1.5px),
    var(--charcoal);
  background-size: 32px 32px, auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signature-strip p {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: 0.96;
}

.signature-points {
  display: grid;
  gap: 10px;
}

.signature-points span {
  display: block;
  padding: 10px 12px;
  color: var(--charcoal);
  background: #f0efed;
  border-left: 6px solid var(--signal);
  border-radius: 8px;
  font-weight: 900;
}

.signature-points span:nth-child(2) {
  border-left-color: var(--gold);
}

.signature-points span:nth-child(3) {
  border-left-color: var(--teal);
}

.section {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 88px 32px;
}

.section-compact {
  padding-top: 56px;
}

.intro,
.professional-overview,
.contact-band,
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
}

.section h2,
.page-section h2 {
  max-width: 780px;
  margin: 0;
  color: var(--charcoal);
  font-size: 2.3rem;
  line-height: 1.12;
}

.section-heading {
  margin-bottom: 36px;
}

.section-lede {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.intro-copy p,
.timeline-item p,
.focus-card p,
.overview-card p,
.post-card p,
.project-card p,
.tool-cluster p,
.essay-card p {
  margin: 0;
  color: var(--muted);
}

.intro-copy p + p {
  margin-top: 18px;
}

.editorial-note {
  padding: 28px;
  color: var(--charcoal);
  background: rgba(255, 250, 245, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.editorial-note p {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.55;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
}

.professional-overview {
  align-items: start;
  padding-top: 48px;
}

.app-ecosystem-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: center;
  padding-top: 42px;
}

.ecosystem-panel {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(42, 63, 56, 0.08) 1px, transparent 1.5px),
    radial-gradient(circle at 92% 8%, rgba(246, 80, 189, 0.13), transparent 18%),
    #fffaf5;
  background-size: 30px 30px, auto, auto;
  border: 1px solid rgba(42, 63, 56, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(42, 63, 56, 0.13);
}

.ecosystem-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: #ffffff;
  background: var(--charcoal);
  border-radius: 8px;
}

.ecosystem-note span {
  color: var(--lemon);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ecosystem-note p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.45;
}

.app-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-cloud span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(247, 241, 234, 0.9);
  border: 1px solid rgba(42, 63, 56, 0.12);
  border-radius: 999px;
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 850;
}

.app-cloud span:nth-child(4n + 1) {
  border-color: rgba(246, 80, 189, 0.38);
}

.app-cloud span:nth-child(4n + 2) {
  border-color: rgba(42, 63, 56, 0.36);
}

.app-cloud span:nth-child(4n + 3) {
  border-color: rgba(86, 47, 84, 0.38);
}

.overview-grid,
.post-grid,
.project-grid,
.focus-grid {
  display: grid;
  gap: 16px;
}

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

.post-grid,
.focus-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.overview-card,
.metric-card,
.focus-card,
.post-card,
.project-card,
.tool-cluster,
.essay-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 250, 245, 0.92);
  border: 1px solid rgba(42, 63, 56, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(42, 63, 56, 0.1);
}

.overview-card,
.focus-card,
.post-card,
.project-card,
.tool-cluster,
.essay-card {
  padding: 24px;
}

.overview-card {
  min-height: 186px;
  border-left: 4px solid var(--sage);
}

.metric-card {
  min-height: 150px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(246, 80, 189, 0.11), transparent 48%),
    rgba(255, 250, 245, 0.92);
}

.metric-card span {
  display: block;
  color: var(--teal-dark);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.metric-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.42;
}

.focus-card,
.post-card {
  min-height: 216px;
}

.focus-card {
  padding-top: 24px;
}

.card-signal {
  display: block;
  margin: 0 0 14px;
  padding-bottom: 10px;
  color: var(--gold);
  border-bottom: 2px solid rgba(42, 63, 56, 0.12);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.project-card {
  min-height: 270px;
  padding-top: 24px;
  border-top: 0;
}

.focus-card h3,
.overview-card h3,
.post-card h3,
.timeline-item h3,
.project-card h3,
.tool-cluster h3,
.essay-card h3 {
  margin: 0 0 10px;
  color: var(--charcoal);
  font-size: 1.12rem;
  line-height: 1.25;
}

.post-card {
  border-top: 0;
}

.post-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--signal), var(--gold));
}

.post-card:first-child {
  grid-column: span 2;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(42, 63, 56, 0.96), rgba(86, 47, 84, 0.88)),
    var(--charcoal);
}

.post-card:first-child h3,
.post-card:first-child p {
  color: #ffffff;
}

.post-card:first-child .post-meta {
  color: #f0efed;
}

.post-card:first-child h3 {
  max-width: 620px;
  font-size: 1.72rem;
}

.post-card a,
.essay-card a {
  display: grid;
  gap: 8px;
  height: 100%;
}

.post-card:hover,
.essay-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease;
}

.work-band {
  width: 100%;
  max-width: none;
  padding-right: max(32px, calc((100vw - 1120px) / 2 + 32px));
  padding-left: max(32px, calc((100vw - 1120px) / 2 + 32px));
  color: #ffffff;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.13) 1px, transparent 1.5px),
    linear-gradient(135deg, rgba(42, 63, 56, 0.98), rgba(42, 63, 56, 0.94) 58%, rgba(246, 80, 189, 0.56));
  background-size: 40px 40px, auto;
}

.work-band h2,
.work-band h3 {
  color: #ffffff;
}

.work-band .section-kicker,
.work-band .timeline-label {
  color: #f0efed;
}

.timeline {
  display: grid;
  gap: 2px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.76);
}

.timeline-marker {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(246, 80, 189, 0.18);
}

.projects {
  padding-bottom: 56px;
}

.tool-clusters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-band {
  align-items: center;
  margin-bottom: 48px;
  padding: 58px 48px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 14%, rgba(141, 246, 136, 0.22), transparent 18%),
    radial-gradient(circle at 10% 86%, rgba(246, 80, 189, 0.18), transparent 18%),
    var(--charcoal);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-band h2 {
  max-width: 620px;
  color: #ffffff;
}

.contact-band .section-kicker {
  color: #f0efed;
}

.contact-note {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  gap: 4px;
  min-height: 82px;
  justify-content: start;
  padding: 18px 20px;
  color: var(--charcoal);
  background: #f0efed;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 7px solid var(--petal);
  border-radius: 8px;
}

.contact-link:nth-child(2) {
  border-left-color: var(--sky);
}

.contact-link span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-link strong {
  color: var(--charcoal);
  font-size: 1.08rem;
  line-height: 1.2;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.page-hero,
.article-hero {
  padding: 84px 32px 70px;
  color: var(--charcoal);
  background: #d7d8d6;
}

.page-hero-inner,
.article-hero-inner {
  width: min(100%, 960px);
  margin: 0 auto;
}

.page-hero h1,
.article-hero h1 {
  max-width: 860px;
  font-size: 4.2rem;
}

.page-hero-copy,
.article-deck {
  color: rgba(42, 63, 56, 0.74);
}

.page-section,
.article-body {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 76px 32px;
}

.essay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.essay-card {
  min-height: 220px;
}

.essay-card.featured {
  grid-column: span 2;
}

.article-body {
  display: grid;
  gap: 28px;
  color: var(--ink);
  font-size: 1.07rem;
}

.article-body h2 {
  margin: 18px 0 0;
  font-size: 1.85rem;
  line-height: 1.18;
}

.article-body p {
  margin: 0;
  color: #24263f;
}

.article-callout {
  padding: 24px;
  background: #fffaf5;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(42, 63, 56, 0.07);
}

.article-nav {
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px;
  }

  .hero-portrait {
    transform: none;
  }

  .hero-portrait img {
    height: auto;
  }

  .project-grid,
  .metrics,
  .tool-clusters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 10px 16px;
    transform: none;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-nav a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero {
    min-height: auto;
    padding: 116px 20px 64px;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    padding: 20px;
  }

  .hero-content {
    min-height: auto;
    padding: 42px 24px 24px;
  }

  .hero-tags {
    position: static;
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
    min-height: 0;
    margin: 32px -24px -24px;
    padding: 8px 18px;
  }

  .hero-tags span {
    justify-content: flex-start;
    min-height: 34px;
    padding: 5px 0;
    text-align: left;
    white-space: normal;
  }

  .hero-tags span + span::before {
    content: "";
    margin: 0;
  }

  .hero-portrait {
    padding: 28px 24px 24px;
  }

  .hero-portrait img {
    width: min(100%, 520px);
    height: auto;
    margin: 0 auto;
  }

  .hero h1,
  .page-hero h1,
  .article-hero h1 {
    font-size: 3.35rem;
  }

  .hero-copy,
  .page-hero-copy,
  .article-deck {
    font-size: 1.08rem;
  }

  .section,
  .page-section,
  .article-body {
    padding: 64px 20px;
  }

  .intro,
  .professional-overview,
  .app-ecosystem-section,
  .signature-strip,
  .toolkit,
  .contact-band,
  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section h2,
  .page-section h2 {
    font-size: 1.9rem;
  }

  .overview-grid,
  .focus-grid,
  .post-grid,
  .project-grid,
  .tool-clusters,
  .essay-grid {
    grid-template-columns: 1fr;
  }

  .essay-card.featured {
    grid-column: span 1;
  }

  .post-card:first-child {
    grid-column: span 1;
  }

  .focus-card,
  .overview-card,
  .post-card,
  .project-card,
  .essay-card {
    min-height: auto;
  }

  .work-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .contact-band {
    width: calc(100% - 40px);
    margin-right: 20px;
    margin-left: 20px;
    padding: 42px 28px;
  }

  .ecosystem-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .metrics {
    grid-template-columns: 1fr;
  }

  .site-header {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    align-items: center;
    flex-direction: row;
    overflow: hidden;
  }

  .site-nav {
    display: none;
  }

  .mobile-contact {
    position: absolute;
    top: 10px;
    right: 16px;
    display: inline-flex !important;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    color: #ffffff;
    background: var(--charcoal);
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 850;
  }

  .mobile-contact:hover,
  .mobile-contact:focus-visible {
    color: #ffffff;
    background: var(--teal-dark);
    outline: none;
  }

  .site-nav a {
    min-height: 32px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 6px 4px;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 128px;
    padding-right: 0;
    padding-left: 0;
  }

  .hero-inner {
    width: 100vw;
    max-width: 100vw;
    padding: 18px;
    overflow: hidden;
  }

  .hero-content {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    padding: 34px 18px 18px;
  }

  .hero .eyebrow {
    width: 280px;
    max-width: calc(100vw - 74px);
    font-size: 0.7rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: 3rem;
  }

  .hero-copy {
    width: 300px;
    max-width: calc(100vw - 72px);
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .hero-meta {
    width: 300px;
    max-width: calc(100vw - 72px);
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 300px;
    max-width: calc(100vw - 72px);
  }

  .hero-tags span {
    flex: 0 1 auto;
  }

  .hero-actions .button {
    width: 100%;
    flex: none;
  }

  .hero-tags {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    margin: 28px -18px -18px;
  }

  .hero-portrait {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    transform: rotate(0deg);
  }

  .hero-portrait img {
    height: auto;
    max-height: none;
  }

  .signature-strip {
    width: calc(100vw - 36px);
    margin-top: -8px;
    padding: 24px 20px;
  }

  .signature-strip p {
    font-size: 2.2rem;
  }

  .ecosystem-panel {
    padding: 18px;
  }

  .app-cloud span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .contact-link strong {
    font-size: 0.98rem;
    overflow-wrap: anywhere;
  }
}
