:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --text: #111111;
  --muted: #666666;
  --line: #dddddd;
  --line-strong: #111111;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.04);
  --radius-lg: 20px;
  --radius-md: 16px;
  --site-max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", system-ui, sans-serif;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
}

.page-shell {
  width: min(var(--site-max), 100%);
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #111111;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.96rem;
  letter-spacing: -0.04em;
}

.brand-copy small,
.eyebrow,
.info-list span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-current {
  background: #111111;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hero,
.card-grid,
.section-heading,
.photo-grid {
  display: grid;
  gap: 20px;
}

.hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  margin-top: 32px;
}

.section {
  margin-top: 32px;
}

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

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.06em;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.photo-card {
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

.portrait-card {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.portrait-card img {
  aspect-ratio: 4 / 5;
}

.duo-grid {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: stretch;
}

.photo-card-large {
  grid-row: span 2;
}

.photo-card-large img {
  aspect-ratio: 4 / 3;
}

.photo-card-tall img {
  aspect-ratio: 4 / 5;
}

.duo-grid .photo-card:not(.photo-card-large):not(.photo-card-tall) img {
  aspect-ratio: 4 / 3;
}

.hero-copy h1 {
  margin-top: 10px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero-copy .lede,
.panel p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: #ffffff;
  color: #111111;
}

.info-list {
  display: grid;
  gap: 0;
  margin-top: 10px;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.info-list strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

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

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

.profile-card h3,
.simple-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.mini-list,
.detail-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mini-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.detail-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.detail-list span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-list strong {
  font-size: 0.98rem;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
  text-decoration: none;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms ease, transform 400ms ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .page-shell {
    padding: 16px 12px 56px;
  }

  .topbar {
    top: 12px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }

  .hero,
  .two-up,
  .three-up,
  .duo-grid {
    grid-template-columns: 1fr;
  }

  .photo-card-large {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .panel {
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 16vw, 3.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
