:root {
  color-scheme: light;
  --ink: #251d1f;
  --muted: #6f6260;
  --paper: #fbf8f2;
  --wash: #f1e9dd;
  --line: #d8cbbb;
  --wine: #703544;
  --moss: #53624a;
  --gold: #a17f4d;
  --shadow: 0 18px 50px rgba(37, 29, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.92), rgba(251, 248, 242, 0.99)),
    radial-gradient(circle at 88% 12%, rgba(112, 53, 68, 0.09), transparent 32rem),
    var(--paper);
}

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

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 203, 187, 0.8);
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner,
.page,
.home-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.1rem;
  letter-spacing: 0;
  text-decoration: none;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--wine);
}

main {
  flex: 1;
}

.home-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(34px, 6vw, 74px) 0;
}

.hero-copy {
  max-width: 700px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--wine);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  margin: 0 0 26px;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 500;
}

h2 {
  margin: 56px 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 500;
}

h3 {
  margin: 34px 0 12px;
  font-size: 1.28rem;
}

p,
li {
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  line-height: 1.72;
}

p {
  margin: 0 0 1.1em;
}

ul {
  padding-left: 1.35em;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

.hero-copy p {
  max-width: 650px;
  color: #3b3133;
  font-size: clamp(1.1rem, 1.8vw, 1.38rem);
}

.hero-media {
  align-self: stretch;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.hero-media img,
.portrait-card img {
  width: 100%;
  aspect-ratio: 1122 / 1402;
  object-fit: cover;
  border: 1px solid rgba(216, 203, 187, 0.85);
  box-shadow: var(--shadow);
  background: var(--wash);
}

.home-section {
  border-top: 1px solid var(--line);
  background: rgba(241, 233, 221, 0.42);
  padding: clamp(48px, 8vw, 92px) 0;
}

.home-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 62px);
}

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

.path-card,
.portrait-card {
  border: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.72);
  border-radius: 8px;
}

.path-card {
  min-height: 196px;
  padding: 22px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.path-card:hover {
  transform: translateY(-2px);
  border-color: rgba(112, 53, 68, 0.55);
}

.path-card h3 {
  margin-top: 0;
}

.path-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.page {
  padding: clamp(48px, 8vw, 92px) 0;
}

.prose {
  max-width: 780px;
}

.prose h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.prose h2 {
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.prose p,
.prose li {
  color: #342b2d;
}

.portrait-intro {
  max-width: 820px;
}

.portrait-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.portrait-card {
  overflow: hidden;
}

.portrait-card figcaption {
  padding: 18px;
}

.portrait-card h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 1.22rem;
}

.portrait-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  max-width: 760px;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .home-hero,
  .home-grid,
  .path-grid,
  .portrait-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 0;
    order: -1;
  }

  .hero-media img {
    max-height: 72vh;
    object-position: center top;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .footer-inner,
  .page,
  .home-hero,
  .home-grid {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 3rem;
  }

  p,
  li {
    font-size: 1rem;
  }
}
