:root {
  --paper: #f4ede2;
  --paper-strong: #efe3d3;
  --surface: rgba(255, 250, 243, 0.78);
  --surface-strong: rgba(251, 244, 235, 0.96);
  --ink: #1f2b24;
  --ink-soft: #435248;
  --ink-muted: #6f7d72;
  --line: rgba(31, 43, 36, 0.14);
  --line-strong: rgba(31, 43, 36, 0.22);
  --accent: #aa5b2f;
  --accent-soft: rgba(170, 91, 47, 0.12);
  --accent-strong: #8e4420;
  --forest: #244435;
  --forest-soft: rgba(36, 68, 53, 0.1);
  --shadow-lg: 0 28px 80px rgba(47, 39, 28, 0.12);
  --shadow-md: 0 18px 42px rgba(47, 39, 28, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1200px;
  --space-1: 0.4rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --body-font: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --display-font: "Fraunces", "Iowan Old Style", Georgia, serif;
  --mono-font: "JetBrains Mono", "SFMono-Regular", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(170, 91, 47, 0.12), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(36, 68, 53, 0.1), transparent 22%),
    linear-gradient(180deg, #f6efe4 0%, #f4ede2 48%, #efe4d5 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(31, 43, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 43, 36, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 92%);
}

body::after {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.18), transparent 14%),
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.12), transparent 12%);
}

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

a,
button {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(170, 91, 47, 0.45);
  outline-offset: 3px;
}

::selection {
  background: rgba(170, 91, 47, 0.18);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus {
  opacity: 1;
  transform: translateY(0);
}

.page-shell {
  position: relative;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.1rem 0 3.5rem;
}

.site-header {
  position: sticky;
  top: 0.85rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(31, 43, 36, 0.1);
  border-radius: 999px;
  background: rgba(252, 247, 240, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(78, 57, 28, 0.08);
}

.site-header.is-scrolled {
  border-color: var(--line-strong);
  background: rgba(252, 247, 240, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid rgba(31, 43, 36, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(36, 68, 53, 0.12), rgba(36, 68, 53, 0.03));
  color: var(--forest);
  font-family: var(--mono-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-role {
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(36, 68, 53, 0.08);
  color: var(--forest);
}

.site-nav a[aria-current="page"] {
  background: rgba(36, 68, 53, 0.12);
  color: var(--forest);
  box-shadow: inset 0 0 0 1px rgba(36, 68, 53, 0.14);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 8px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.34)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
  box-shadow: var(--shadow-lg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.85fr);
  gap: 1.6rem;
  align-items: stretch;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  min-height: calc(100vh - 9rem);
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
}

.hero::before,
.page-hero::before,
.card::before,
.panel::before,
.list-card::before,
.timeline-card::before,
.quote-card::before,
.fun-fact-card::before,
.subscribe-card::before,
.link-card::before,
.resume-card::before,
.project-panel::before,
.writing-card::before,
.contact-card::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(170, 91, 47, 0.08), transparent 45%);
}

.hero-main,
.hero-rail,
.page-hero-copy,
.page-hero-rail {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.eyebrow,
.kicker,
.meta,
.pill,
.stat-label {
  font-family: var(--mono-font);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.kicker {
  margin: 0 0 0.95rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3,
h4,
blockquote p {
  margin: 0;
  line-height: 1.08;
}

h1,
h2,
h3 {
  font-family: var(--display-font);
  letter-spacing: -0.04em;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4.2vw, 3.75rem);
  line-height: 1.01;
}

h2 {
  max-width: 16ch;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.04;
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

h4 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

p,
li {
  margin: 0;
  color: var(--ink-soft);
}

strong {
  color: var(--ink);
}

.lede {
  max-width: 62ch;
  margin-top: 1.2rem;
  font-size: 1.08rem;
  color: var(--ink);
}

.lede + .lede {
  margin-top: 0.9rem;
  color: var(--ink-soft);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.88rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 14px 30px rgba(36, 68, 53, 0.18);
}

.button-primary:hover {
  color: #fff;
  background: #183224;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
}

.button-secondary:hover,
.button-tertiary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.66);
}

.button-tertiary {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.signal-strip,
.stat-grid,
.mini-grid,
.link-list,
.stack-list,
.project-links,
.feed-meta,
.footer-links,
.resume-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.signal-strip {
  margin: 2rem 0 0;
}

.signal-strip li,
.pill,
.feed-meta li,
.footer-links li,
.resume-links li {
  padding: 0.62rem 0.85rem;
  border: 1px solid rgba(31, 43, 36, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
}

.hero-rail,
.page-hero-rail {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}

.panel,
.card,
.list-card,
.timeline-card,
.quote-card,
.fun-fact-card,
.subscribe-card,
.link-card,
.resume-card,
.project-panel,
.writing-card,
.contact-card,
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.46));
  box-shadow: var(--shadow-md);
}

.panel,
.card,
.quote-card,
.fun-fact-card,
.subscribe-card,
.resume-card,
.contact-card {
  padding: 1.4rem;
}

.panel > *,
.card > *,
.list-card > *,
.timeline-card > *,
.quote-card > *,
.fun-fact-card > *,
.subscribe-card > *,
.link-card > *,
.resume-card > *,
.project-panel > *,
.writing-card > *,
.contact-card > *,
.cta-band > * {
  position: relative;
  z-index: 1;
}

.panel + .panel,
.panel > * + *,
.card > * + *,
.quote-card > * + *,
.fun-fact-card > * + *,
.subscribe-card > * + *,
.resume-card > * + *,
.contact-card > * + * {
  margin-top: 0.9rem;
}

.panel ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.05rem;
}

.panel li a {
  font-size: 0.98rem;
  font-weight: 600;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.metric {
  padding: 1rem;
  border: 1px solid rgba(31, 43, 36, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.32);
}

.metric-value {
  display: block;
  color: var(--forest);
  font-family: var(--display-font);
  font-size: 2rem;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

main {
  display: grid;
  gap: var(--space-7);
}

.section,
.page-section {
  padding: 0.2rem 0;
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.section-heading p {
  max-width: 68ch;
}

.grid-2,
.grid-3,
.grid-4,
.card-grid,
.project-grid,
.writing-grid,
.links-grid,
.resume-grid,
.contact-grid,
.story-grid,
.quote-grid,
.page-hero {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.project-grid,
.resume-grid,
.contact-grid,
.writing-grid,
.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.78fr);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.stat-grid {
  margin-top: 1.5rem;
}

.mini-grid {
  margin-top: 1rem;
}

.mini-grid li,
.stack-list li,
.project-links li,
.link-list li {
  list-style: none;
}

.icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.project-link,
.footer-link,
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.project-link {
  padding: 0.68rem 0.9rem;
  border: 1px solid rgba(31, 43, 36, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.95rem;
}

.project-link:hover,
.footer-link:hover,
.social-link:hover {
  color: var(--accent-strong);
}

.card,
.list-card,
.timeline-card,
.link-card,
.project-panel,
.writing-card {
  padding: 1.35rem;
}

.card-grid .card,
.project-grid .card,
.links-grid .link-card,
.writing-grid .writing-card,
.resume-grid .resume-card,
.contact-grid .contact-card {
  min-height: 100%;
}

.project-panel {
  display: flex;
  flex-direction: column;
}

.card-header,
.project-header,
.resume-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.pill {
  width: fit-content;
  color: var(--accent-strong);
}

.meta {
  color: var(--ink-muted);
}

.card p + p,
.project-panel p + p,
.resume-card p + p,
.writing-card p + p,
.link-card p + p,
.contact-card p + p {
  margin-top: 0.8rem;
}

.prose {
  display: grid;
  gap: 1rem;
  max-width: 68ch;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  gap: 0.45rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(36, 68, 53, 0.15);
}

.timeline-item h4 {
  font-family: var(--body-font);
  font-size: 1.02rem;
  font-weight: 800;
}

.list-card ul,
.resume-card ul,
.project-panel ul,
.contact-card ul,
.link-card ul {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.1rem;
}

.quote-card blockquote {
  margin: 0;
}

.quote-card blockquote p {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.quote-card cite {
  font-style: normal;
  color: var(--ink-muted);
}

.hero-inline-card {
  max-width: 36rem;
  margin-top: 1.2rem;
}

.subscribe-card h3 {
  max-width: none;
}

.subscribe-card p:not(.kicker) {
  color: var(--ink-soft);
}

.substack-embed {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: calc(var(--radius-md) - 2px);
  background: rgba(255, 255, 255, 0.92);
}

.fun-fact-card {
  --plane-x: 88%;
  --plane-y: 22%;
  --plane-rotation: 12deg;
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 11.5rem;
  border: 1px solid rgba(36, 68, 53, 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 20%, rgba(170, 91, 47, 0.15), transparent 34%),
    radial-gradient(circle at 82% 24%, rgba(36, 68, 53, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  box-shadow: var(--shadow-md);
}

.fun-fact-card::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px dashed rgba(36, 68, 53, 0.16);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.fun-fact-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  max-width: 30rem;
}

.fun-fact-copy h3 {
  max-width: 12ch;
}

.fun-fact-copy a {
  width: fit-content;
  color: var(--forest);
  font-weight: 700;
}

.plane-orbit {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.84);
  border: 1px solid rgba(36, 68, 53, 0.14);
  color: var(--forest);
  transform: translate(calc(var(--plane-x) - 50%), calc(var(--plane-y) - 50%))
    rotate(var(--plane-rotation));
  transition: transform 180ms ease-out;
  animation: plane-float 2.8s ease-in-out infinite;
  box-shadow: 0 12px 24px rgba(47, 39, 28, 0.12);
  pointer-events: none;
}

.plane-orbit .icon {
  width: 1rem;
  height: 1rem;
}

@keyframes plane-float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -0.28rem;
  }
}

.editorial-stack,
.resume-stack {
  display: grid;
  gap: 1.6rem;
}

.editorial-section,
.resume-section {
  display: grid;
  gap: 1.25rem;
  padding: 0 0 0.15rem;
}

.editorial-section + .editorial-section,
.resume-section + .resume-section {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(31, 43, 36, 0.12);
}

.section-intro {
  display: grid;
  gap: 0.55rem;
  max-width: 54rem;
}

.section-intro h2,
.section-intro h3 {
  max-width: none;
}

.section-intro p:last-child {
  color: var(--ink-soft);
}

.principles-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles-list li {
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(170, 91, 47, 0.3);
  background: rgba(255, 255, 255, 0.3);
  color: var(--ink);
}

.social-stack {
  display: grid;
  gap: 0.75rem;
}

.social-link {
  width: 100%;
  justify-content: flex-start;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(31, 43, 36, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.44);
}

.link-card h3 {
  font-size: clamp(1.28rem, 1.8vw, 1.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.link-card ul {
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
  gap: 0.85rem;
}

.link-card li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.link-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(170, 91, 47, 0.5);
}

.link-card a {
  color: var(--forest);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration-thickness: 0.07em;
}

.cta-band {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.cta-band h3 {
  max-width: none;
}

.split-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.photography-band {
  align-items: stretch;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.photo-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow-md);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(31, 43, 36, 0.18));
  opacity: 0;
  transition: opacity 180ms ease;
}

.photo-card:hover::after {
  opacity: 1;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

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

.site-footer {
  margin-top: 2rem;
  padding: 1.4rem 0 0.5rem;
  border-top: 1px solid rgba(31, 43, 36, 0.1);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  color: var(--ink-muted);
}

.footer-links {
  gap: 0.65rem;
}

.footer-links li {
  padding: 0;
  border: 0;
  background: transparent;
}

.footer-link {
  min-height: 2.85rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(31, 43, 36, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.empty-state {
  padding: 1.2rem;
  border: 1px dashed rgba(31, 43, 36, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.32);
}

.project-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.project-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.project-footer .project-links {
  flex: 1 1 18rem;
  margin: 0;
}

.project-cta {
  flex: 0 0 auto;
  min-width: 13rem;
}

.project-nav a,
.link-cluster a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(31, 43, 36, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--forest);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.link-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 1080px) {
  .hero,
  .page-hero,
  .grid-2,
  .grid-3,
  .grid-4,
  .card-grid,
  .project-grid,
  .writing-grid,
  .links-grid,
  .resume-grid,
  .contact-grid,
  .story-grid,
  .split-callout,
  .photography-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2rem, 5.4vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.6rem, 4.8vw, 2.35rem);
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 4.8vw, 2.65rem);
  }

  .lede {
    font-size: 1rem;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .site-header {
    padding-inline: 0.9rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(252, 247, 240, 0.98);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: rgba(36, 68, 53, 0.08);
  }

  h1 {
    font-size: clamp(1.72rem, 6vw, 2.2rem);
  }

  h2 {
    font-size: clamp(1.45rem, 4.9vw, 1.95rem);
  }

  .page-hero h1 {
    font-size: clamp(1.62rem, 5.3vw, 2.05rem);
  }

  .lede {
    font-size: 0.98rem;
  }

  .brand-role {
    font-size: 0.78rem;
  }

  .project-nav,
  .link-cluster {
    gap: 0.65rem;
  }

  .project-footer {
    align-items: stretch;
  }

  .project-cta {
    min-width: 0;
  }

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

  .site-footer-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-bottom: 2.5rem;
  }

  .site-header {
    top: 0.5rem;
    gap: 0.7rem;
    border-radius: 24px;
  }

  .hero,
  .page-hero,
  .panel,
  .card,
  .list-card,
  .timeline-card,
  .quote-card,
  .fun-fact-card,
  .link-card,
  .resume-card,
  .project-panel,
  .writing-card,
  .contact-card,
  .cta-band {
    border-radius: 22px;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .project-nav,
  .link-cluster {
    flex-direction: column;
    align-items: stretch;
  }

  .hero,
  .page-hero {
    padding: 1rem;
  }

  h1 {
    font-size: clamp(1.52rem, 7vw, 1.95rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.32rem, 6.2vw, 1.72rem);
  }

  .page-hero h1 {
    font-size: clamp(1.42rem, 6vw, 1.78rem);
  }

  h3 {
    font-size: 1.18rem;
  }

  .panel,
  .card,
  .list-card,
  .timeline-card,
  .quote-card,
  .fun-fact-card,
  .link-card,
  .resume-card,
  .project-panel,
  .writing-card,
  .contact-card,
  .cta-band {
    padding: 1rem;
  }

  .button {
    width: 100%;
    min-height: 2.9rem;
  }

  .project-nav a,
  .link-cluster a,
  .social-link,
  .footer-link {
    width: 100%;
    justify-content: flex-start;
  }

  .project-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .project-footer .project-links {
    width: 100%;
  }

  .project-cta {
    width: 100%;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }
}
