:root {
  --paper: #f4f2ed;
  --paper-raised: #faf9f6;
  --ink: #191c1a;
  --muted: #666b67;
  --line: #d6d3ca;
  --accent: #315b4d;
  --accent-dark: #234438;
  --shell: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

.shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: rgba(244, 242, 237, 0.94);
  background: color-mix(in srgb, var(--paper) 91%, transparent);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  font-size: 0.91rem;
  font-weight: 720;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.nav a,
.footer a {
  color: var(--muted);
  font-size: 0.83rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--ink);
}

.hero {
  min-height: min(740px, calc(100vh - 4.8rem));
  padding-block: clamp(6rem, 14vw, 10rem) 6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow,
.section-label {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 900px;
  margin-bottom: 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7.8vw, 6.9rem);
  font-weight: 400;
}

h2 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.6vw, 3.7rem);
  font-weight: 400;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 2.35rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.profile-links {
  width: min(680px, 100%);
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.profile-link {
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  background: var(--paper-raised);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.profile-link:hover {
  border-color: #aaa79f;
  transform: translateY(-2px);
}

.profile-mark {
  width: 2.65rem;
  height: 2.65rem;
  display: block;
  object-fit: contain;
}

.linkedin-mark {
  width: 2.55rem;
  height: 2.35rem;
}

.profile-link strong,
.profile-link small {
  display: block;
  line-height: 1.35;
}

.profile-link strong {
  font-size: 0.88rem;
}

.profile-link small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.73rem;
}

.profile-arrow {
  color: var(--accent);
  font-size: 0.9rem;
}

.button {
  min-height: 2.8rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: #aaa79f;
  background: var(--paper-raised);
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.section {
  padding-block: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.prose {
  max-width: 620px;
  padding-top: 2.55rem;
  color: #343835;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}

.prose p {
  margin-bottom: 1.25rem;
}

.venture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.venture-copy {
  max-width: 620px;
  padding-top: 2.55rem;
  color: #343835;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}

.venture-copy p {
  margin-bottom: 1.25rem;
}

.contact {
  padding-block: clamp(6rem, 12vw, 9rem);
  border-top: 1px solid var(--line);
}

.contact h2 {
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
}

.email-link {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3.8vw, 2.6rem);
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

.footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer a[aria-current="page"] {
  color: var(--ink);
}

.legal-main {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.legal-hero {
  padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: none;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 8vw, 6rem);
}

.legal-updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 760px;
  margin-left: auto;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.legal-content section + section {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  max-width: none;
  margin-bottom: 1.25rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.legal-content p,
.legal-content li,
.legal-content address {
  color: #3e433f;
  font-size: 0.98rem;
}

.legal-content p {
  margin-bottom: 1.15rem;
}

.legal-content address {
  font-style: normal;
}

.legal-content a {
  color: var(--accent);
}

.legal-language-divider {
  height: 1px;
  background: var(--ink);
}

.legal-translation {
  padding-top: clamp(5rem, 10vw, 8rem);
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .nav-wrap {
    min-height: 4.2rem;
    gap: 1rem;
  }

  .nav {
    gap: 0.9rem;
  }

  .main-nav a {
    font-size: 0.76rem;
  }

  .hero {
    min-height: calc(100svh - 4.2rem);
    padding-block: 5rem 4.5rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .legal-hero h1 {
    font-size: clamp(1.9rem, 9.5vw, 3.2rem);
    overflow-wrap: anywhere;
  }

  .split,
  .venture-grid {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 1rem;
  }

  .prose {
    padding-top: 0;
  }

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

  .profile-links {
    grid-template-columns: 1fr;
  }

  .footer {
    justify-content: flex-start;
  }

}

@media (max-width: 340px) {
  .home-header .wordmark {
    display: none;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
