@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --background: #fafaf8;
  --text: #111;
  --muted: #666;
  --accent: #ff4d2d;
  --accent-text: #b92f19;
  --border: #e5e5e5;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 5px;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.container {
  width: min(100%, 1280px);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.5;
}
.eyebrow-accent {
  color: var(--accent-text);
}
.accent {
  color: var(--accent);
}
.monogram {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
}
.section-rule {
  position: relative;
}
.section-rule::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--border);
}
.split-section {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(2rem, 6vw, 6rem);
}
h2 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 750;
  line-height: 1.03;
  letter-spacing: -0.065em;
  margin-top: 0.7rem;
}
h3 {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.section-note {
  max-width: 25rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 15px;
}
.text-link {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  font-size: 14px;
  font-weight: 550;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
}
.text-link:hover {
  text-decoration: none;
  gap: 1.4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.3vw, 2rem);
  margin-left: auto;
}
.desktop-nav a {
  font-size: 12px;
  font-weight: 500;
  padding-block: 0.6rem;
}
.header-cta {
  margin-left: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 46px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.button:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.button-accent {
  background: var(--accent);
  color: var(--text);
}
.button-accent:hover {
  background: #f04425;
}
.button-outline {
  border-color: #d1d1cd;
  background: #fff;
}
.button-outline:hover {
  background: #eeeee9;
}
.mobile-menu {
  display: none;
  margin-left: auto;
  position: relative;
}
.mobile-menu summary {
  cursor: pointer;
  font-size: 14px;
  padding: 0.7rem;
}
.mobile-menu summary span {
  margin-left: 0.7rem;
}
.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 1rem);
  width: 210px;
  padding: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
}
.mobile-menu nav a {
  display: block;
  padding: 0.75rem;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 4rem 5rem;
}
.hero-copy > .eyebrow {
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(4rem, 9.3vw, 7.5rem);
  font-weight: 850;
  line-height: 0.87;
  letter-spacing: -0.075em;
}
h1 > span {
  display: block;
}
.intro {
  max-width: 32rem;
  margin-top: 2rem;
}
.intro p {
  font-size: 16px;
  line-height: 1.65;
}
.intro p + p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 14px;
}
.location {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 12px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero-aside {
  align-self: start;
  padding-top: 1rem;
}
.focus-panel {
  background: #eaeae6;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 405px;
  display: flex;
  flex-direction: column;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.panel-heading .eyebrow {
  font-size: 10px;
  max-width: 10rem;
}
.panel-heading > span:last-child {
  font-size: 22px;
  line-height: 1;
}
.focus-metrics {
  margin-block: 1.5rem;
}
.focus-metric {
  padding-block: 0.85rem;
  border-bottom: 1px solid #c8c8c2;
}
.metric-value {
  display: block;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.06em;
  line-height: 1.15;
}
.metric-label {
  font-size: 11px;
  color: #555;
}
.panel-bottom {
  margin-top: auto;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.3;
}
.editorial-caption {
  margin-top: 0.75rem;
  font-size: 9px;
  font-weight: 550;
  line-height: 1.45;
  letter-spacing: 0.07em;
}

.expertise {
  padding-block: 3rem;
}
.expertise-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.expertise-list li:first-child {
  padding-top: 0;
}
.item-number {
  font-size: 11px;
  font-weight: 600;
  padding-top: 0.25rem;
}
.expertise-list h3 {
  font-size: 19px;
}
.expertise-list p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 0.3rem;
}
.technology-strip {
  margin-top: 2.5rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}
.tags li {
  font-size: 11px;
  background: #fff;
  border: 1px solid #d5d5d1;
  border-radius: 2px;
  padding: 0.35rem 0.75rem;
}

.projects-band {
  background: var(--accent);
  padding-block: 3rem;
}
.projects-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}
.projects-heading > p {
  text-align: right;
  font-size: 13px;
}
.work-empty {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem;
  background: var(--background);
}
.work-index {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}
.work-empty h3 {
  font-size: 24px;
}
.work-empty p {
  max-width: 32rem;
  font-size: 14px;
  margin-block: 0.6rem 1.2rem;
  color: var(--muted);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.project-card {
  background: #fff;
  transition: transform 0.2s ease;
}
.project-card:hover {
  transform: translateY(-4px);
}
.project-card img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  filter: grayscale(1);
}
.project-body {
  padding: 1.25rem;
}
.project-body h3 {
  margin-block: 0.5rem;
}
.project-body > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
}

.experience {
  padding-block: 3.5rem;
}
.timeline li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.timeline li:first-child {
  padding-top: 0;
}
.job-period {
  font-size: 11px;
  font-weight: 550;
  padding-top: 0.25rem;
}
.timeline h3 {
  font-size: 17px;
}
.job-company {
  font-size: 13px;
  margin-top: 0.25rem;
}
.job-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 0.3rem;
}
.earlier-experience {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1.25rem;
}
.thoughts,
.contact {
  padding-block: 3rem;
}
.thoughts-copy > p:first-child {
  max-width: 32rem;
  font-size: 16px;
}
.thoughts-copy .text-link {
  margin-top: 1.25rem;
}
.writing-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1.5rem;
}
.contact-list li {
  border-bottom: 1px solid var(--border);
}
.contact-list li:first-child {
  border-top: 1px solid var(--border);
}
.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.contact-list a:hover {
  text-decoration: none;
}
.contact-list .eyebrow {
  color: var(--muted);
  display: block;
  font-size: 10px;
}
.contact-detail {
  display: block;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.contact-arrow {
  font-size: 24px;
  transition: transform 0.18s ease;
}
.contact-list a:hover .contact-arrow {
  transform: translate(3px, -3px);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--border);
}
.footer-identity {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-identity span {
  font-size: 10px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  gap: 1.5rem;
  font-size: 11px;
}
.skip-link {
  position: fixed;
  z-index: 20;
  left: 1rem;
  top: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: #fff;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .header-inner {
    gap: 1rem;
  }
  .desktop-nav {
    gap: 1rem;
  }
  .header-cta {
    margin-left: 0.5rem;
  }
  .hero {
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
  }
  h1 {
    font-size: clamp(3.5rem, 8.8vw, 6.5rem);
  }
  .focus-panel {
    padding: 1.5rem;
  }
  .split-section {
    grid-template-columns: 3fr 5fr;
    gap: 2rem;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 680px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .header-inner {
    min-height: 64px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 2.5rem 3rem;
    gap: 2.5rem;
  }
  h1 {
    font-size: clamp(3.9rem, 17vw, 7rem);
  }
  .hero-copy > .eyebrow {
    font-size: 10px;
  }
  .intro {
    margin-top: 1.5rem;
  }
  .hero-aside {
    padding: 0;
  }
  .focus-panel {
    min-height: 0;
  }
  .focus-metrics {
    margin-block: 1rem;
  }
  .focus-metric {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }
  .metric-value {
    font-size: 2rem;
  }
  .metric-label {
    text-align: right;
  }
  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .expertise,
  .thoughts,
  .contact,
  .experience {
    padding-block: 2.5rem;
  }
  .projects-band {
    padding-block: 2.5rem;
  }
  .projects-heading {
    align-items: start;
  }
  .projects-heading > p {
    max-width: 9rem;
    font-size: 11px;
  }
  .work-empty {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  .work-index {
    font-size: 32px;
  }
  .work-empty h3 {
    font-size: 22px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .timeline li {
    grid-template-columns: 7rem 1fr;
    gap: 0.75rem;
  }
  .section-note {
    margin-top: 1rem;
  }
  .site-footer {
    flex-wrap: wrap;
    row-gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
  .button:hover,
  .project-card:hover,
  .contact-list a:hover .contact-arrow {
    transform: none;
  }
}
