:root {
  --bg: #ecebe6;
  --bg-deep: #d8d6cf;
  --panel: #fffdfa;
  --ink: #141414;
  --ink-soft: #3c3a37;
  --line: #26231f;
  --accent: #a53a2e;
  --accent-soft: #d5c8ac;
  --focus: #7e2f22;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 14%, rgba(170, 179, 171, 0.3) 0%, transparent 36%),
    radial-gradient(circle at 86% 88%, rgba(196, 205, 198, 0.22) 0%, transparent 34%),
    repeating-linear-gradient(
      0deg,
      rgba(20, 20, 20, 0.015) 0px,
      rgba(20, 20, 20, 0.015) 1px,
      transparent 1px,
      transparent 5px
    ),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% -10%, rgba(74, 92, 87, 0.09), transparent 45%);
  animation: pulse 10s ease-in-out infinite alternate;
}

.shell {
  width: min(1080px, 92vw);
  margin: 1.25rem auto 2.5rem;
  display: grid;
  gap: 0.85rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 2px 2px 0 rgba(38, 35, 31, 0.25);
  padding: 1.1rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(38, 35, 31, 0.2);
}

.masthead-bar {
  text-align: center;
  padding-top: 0.72rem;
  padding-bottom: 0.7rem;
  background: linear-gradient(180deg, #eff0eb 0%, #fffdfa 100%);
}

.masthead-title {
  margin: 0.12rem 0 0.08rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 3.7vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.masthead-meta {
  margin: 0;
  font-family: "Special Elite", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.scan-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  background: linear-gradient(90deg, #ecefe9 0%, #f8f9f5 100%);
}

.scan-band p {
  margin: 0;
  padding: 0.38rem 0.5rem;
  border: 1px solid rgba(38, 35, 31, 0.55);
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.88rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin: 0 0 0.45rem;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 3.45rem);
  line-height: 0.96;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.38rem;
  font-weight: 600;
}

p,
li,
a {
  font-size: 1rem;
  line-height: 1.5;
}

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

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

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.tag {
  display: inline-block;
  margin: 0 0 0.4rem;
  padding: 0.18rem 0.5rem;
  font-family: "Special Elite", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.role {
  margin: 0.22rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.44rem;
  line-height: 1.12;
  color: var(--ink-soft);
}

.intro {
  margin: 0.35rem 0 0.45rem;
  max-width: 65ch;
}

.hero-cta {
  margin: 0 0 0.28rem;
  font-size: 0.94rem;
}

.hero-cta a {
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 20, 20, 0.55);
}

.hero-cta a:hover {
  border-bottom-color: var(--ink);
}

.hero-cta span {
  margin: 0 0.35rem;
  color: var(--ink-soft);
}

.location {
  margin: 0.2rem 0 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
}

.trust-row span {
  border: 1px solid rgba(38, 35, 31, 0.5);
  background: #f5f7f3;
  padding: 0.18rem 0.42rem;
  font-size: 0.81rem;
  font-weight: 500;
}

.cartoon-note {
  width: min(360px, 100%);
  margin-top: 0.55rem;
}

.cartoon {
  width: 100%;
  display: block;
  border: 1px solid rgba(38, 35, 31, 0.45);
  background: #fffdf8;
  box-shadow: 3px 3px 0 rgba(38, 35, 31, 0.18);
}

.paper {
  fill: #fffdf8;
  stroke: var(--line);
  stroke-width: 1.6;
}

.cartoon-masthead {
  fill: var(--ink);
  font-family: "Special Elite", monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
}

.masthead-rule {
  stroke: var(--line);
  stroke-width: 1.2;
}

.ink-stroke {
  fill: none;
  stroke: var(--line);
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ink-stroke-light {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ink-fill {
  fill: var(--line);
}

.bubble-text {
  fill: var(--ink-soft);
  font-family: "Special Elite", monospace;
  font-size: 8px;
  letter-spacing: 0.2px;
}

.accent-stroke {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.3;
  stroke-linecap: round;
}

.cartoon-caption {
  margin: 0.22rem 0 0;
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.headshot-frame {
  margin: 0;
  justify-self: center;
  width: min(320px, 100%);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 3px rgba(38, 35, 31, 0.1);
  background: #fff;
  transform: none;
}

.headshot-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  filter: grayscale(14%) contrast(1.03);
}

.headshot-frame figcaption {
  padding: 0.4rem 0.5rem;
  border-top: 1px solid var(--line);
  background: #f0f2ee;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}

.bullets {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.work-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.work-ledger li {
  position: relative;
  padding: 0.42rem 0 0.42rem 2.05rem;
  border: 0;
  background: transparent;
}

.work-ledger li::before {
  content: ">>";
  position: absolute;
  left: 0.12rem;
  top: 0.46rem;
  font-family: "Special Elite", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.work-label {
  display: block;
  margin: 0 0 0.12rem;
  font-family: "Special Elite", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.work-copy {
  display: block;
  font-size: 0.98rem;
  line-height: 1.38;
}

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
  display: grid;
  gap: 0.95rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--line);
  background: #ede4d3;
}

.meta {
  margin: 0 0 0.28rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 0.8rem;
}

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

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

.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffefb 0%, #f4f6f1 100%);
  padding: 0.78rem;
}

.card-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight: 700;
}

.proof-card h3 {
  margin-bottom: 0.32rem;
}

.proof-card p {
  margin: 0 0 0.45rem;
}

.metric {
  margin: 0 0 0.45rem;
  padding: 0.38rem 0.45rem;
  border: 1px solid rgba(38, 35, 31, 0.45);
  background: #eef1ea;
}

.stack {
  margin: 0;
  padding: 0.25rem 0.4rem;
  background: #edf0e9;
  border: 1px solid rgba(38, 35, 31, 0.5);
  font-size: 0.9rem;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.stack-group {
  border: 1px solid rgba(38, 35, 31, 0.55);
  background: #fffdf8;
  padding: 0.6rem 0.7rem;
}

.stack-group h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.stack-group p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.margin-note {
  background: linear-gradient(180deg, #eef1eb 0%, #fffdfa 100%);
}

.margin-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.9rem;
  align-items: center;
}

.margin-quote {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.35;
  max-width: 28ch;
}

.margin-cartoon {
  width: 100%;
  display: block;
  border: 1px solid rgba(38, 35, 31, 0.45);
  background: #fffdf8;
  box-shadow: 2px 2px 0 rgba(38, 35, 31, 0.16);
}

.education p,
.footer p {
  margin: 0.18rem 0;
}

.footer {
  text-align: center;
}

@keyframes pulse {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 0.9;
  }
}

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

  .headshot-frame {
    width: min(360px, 92%);
    transform: none;
  }

  .scan-band,
  .proof-grid,
  .standards-grid,
  .stack-grid,
  .margin-layout {
    grid-template-columns: 1fr;
  }

  .cartoon-note {
    width: min(380px, 100%);
  }
}
