:root {
  --paper: #f2f0e9;
  --paper-deep: #e6e2d7;
  --ink: #202522;
  --muted: #656b63;
  --line: #c9c8be;
  --accent: #c65336;
  --accent-deep: #963b28;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1200px, calc(100% - 64px));
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #1f2523;
  --paper-deep: #2a312f;
  --ink: #f2f0e9;
  --muted: #c3c5bc;
  --line: #53605a;
  --accent: #ef8365;
  --accent-deep: #ffae92;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--paper);
  background: var(--accent-deep);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 0.65rem 0.8rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
}

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

.layout-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  display: flex;
  width: var(--shell);
  margin: 0 auto;
  padding: 24px 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark,
.site-header nav,
.hero-links,
.site-footer {
  display: flex;
  align-items: center;
}

.wordmark {
  gap: 10px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-header nav {
  gap: 26px;
}

.site-header nav a,
.text-link,
.theme-toggle {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.site-header nav a:hover,
.text-link:hover,
.theme-toggle:hover {
  color: var(--ink);
}

.theme-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.hero {
  display: grid;
  min-height: min(760px, calc(100vh - 79px));
  grid-template-columns: 44px minmax(0, 1fr) 180px;
  gap: 38px;
  padding-top: 90px;
  padding-bottom: 112px;
}

.index-rail {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.rail-line {
  width: 1px;
  height: 78px;
  margin: 15px 0;
  background: var(--line);
}

.eyebrow,
.note-label {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 22px 0 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.86;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(4.7rem, 12vw, 10.8rem);
}

h1 em,
h2 em {
  color: var(--accent);
  font-style: italic;
}

.hero-bottom {
  display: grid;
  max-width: 760px;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 52px;
  margin-top: 65px;
  padding-left: 5px;
}

.lede {
  max-width: 31ch;
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.35;
}

.hero-links {
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
  padding-top: 2px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  color: var(--ink);
}

.text-link span,
.contact-link span {
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 0.8;
}

.hero-note {
  align-self: end;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ink);
}

.hero-note p {
  max-width: 13ch;
  margin: 13px 0 20px;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.05;
}

.section,
.contact-section {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 38px;
  padding-top: 106px;
  padding-bottom: 106px;
  border-top: 1px solid var(--line);
}

.section-rail {
  min-height: 120px;
}

.section-body {
  display: grid;
  gap: 40px;
}

.about-grid {
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 1fr);
  align-items: start;
}

.section h2,
.contact-section h2 {
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.section-copy {
  max-width: 440px;
  padding-top: 12px;
  color: var(--muted);
}

.section-copy p {
  margin: 0 0 22px;
}

.section-copy .intro-copy {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.15;
}

.focus-grid {
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
  align-items: start;
}

.focus-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 0 0 25px;
  margin: 0 0 25px;
  border-bottom: 1px solid var(--line);
}

.focus-list li:last-child {
  margin-bottom: 0;
}

.list-number {
  color: var(--accent-deep);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.focus-list h3 {
  margin: -5px 0 5px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.focus-list p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-section {
  padding-bottom: 122px;
}

.contact-body {
  max-width: 760px;
}

.contact-copy {
  max-width: 34ch;
  margin: 32px 0 19px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-link {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 3rem);
  letter-spacing: -0.04em;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.contact-link:hover {
  color: var(--accent-deep);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .focus-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 36px, 620px);
  }

  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    gap: 13px;
  }

  .site-header nav a:nth-child(2) {
    display: none;
  }

  .hero,
  .section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 86px;
  }

  .index-rail {
    display: none;
  }

  .hero h1 {
    font-size: clamp(4.15rem, 20vw, 8rem);
  }

  .hero-bottom,
  .about-grid,
  .focus-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 47px;
  }

  .hero-note {
    width: 100%;
    margin-top: 28px;
    padding-top: 20px;
  }

  .section,
  .contact-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section h2,
  .contact-section h2 {
    font-size: clamp(3.25rem, 17vw, 6rem);
  }

  .section-copy {
    padding-top: 0;
  }

  .contact-section {
    padding-bottom: 90px;
  }

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

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