@font-face {
  font-family: "Bonum";
  src: url("/bonum-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Heros";
  src: url("/heros-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --canvas: #f1e9dc;
  --paper: #fffaf0;
  --ink: #20342f;
  --pine: #214a43;
  --clay: #c76043;
  --mist: #c9ddd3;
  --sun: #e1c66d;
  --line: rgba(32, 52, 47, 0.24);
  --line-inverse: rgba(255, 250, 240, 0.25);
  --sans: "Heros", sans-serif;
  --serif: "Bonum", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 13%, rgba(201, 221, 211, 0.78), transparent 29rem),
    radial-gradient(circle at 8% 74%, rgba(199, 96, 67, 0.09), transparent 34rem),
    linear-gradient(118deg, rgba(255, 255, 255, 0.28), transparent 55%),
    var(--canvas);
  font-family: var(--sans);
}

a { color: inherit; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.masthead,
.hero,
.paths,
footer {
  width: min(1500px, calc(100% - 80px));
  margin-inline: auto;
}

.masthead {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 3;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.identity img { display: block; width: 40px; height: 40px; }

nav { display: flex; gap: clamp(20px, 3vw, 48px); }

nav a,
.eyebrow,
.practice,
footer {
  font-size: 0.69rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

nav a { text-decoration: none; }
nav a:hover,
nav a:focus-visible { text-decoration: underline; text-underline-offset: 7px; }

main { overflow: hidden; }

.hero {
  min-height: min(820px, calc(100vh - 96px));
  padding: clamp(72px, 10vh, 130px) 0 clamp(80px, 10vh, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  grid-template-areas: "copy details";
  column-gap: clamp(54px, 7vw, 120px);
  align-items: center;
  position: relative;
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  max-width: 920px;
  position: relative;
  z-index: 3;
}
.hero .eyebrow { margin: 0 0 30px; color: var(--pine); }

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

h1 {
  width: 100%;
  max-width: 850px;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4.6rem, 8.7vw, 9.5rem);
  line-height: 0.79;
  letter-spacing: -0.072em;
}

h1 em {
  display: block;
  padding-left: clamp(0px, 4.4vw, 68px);
  font-style: normal;
}

.hero-dot {
  color: var(--clay);
  display: inline-block;
  transform: translate(0.02em, -0.01em) rotate(8deg);
}

.title-seal {
  display: block;
  width: clamp(82px, 8vw, 122px);
  height: auto;
  position: absolute;
  left: 56%;
  right: auto;
  bottom: 0.04em;
  transform: rotate(-2.5deg);
  filter: sepia(18%) saturate(105%) hue-rotate(104deg) brightness(67%);
}

.hero-details {
  grid-area: details;
  align-self: center;
  max-width: 530px;
  padding: clamp(30px, 4vw, 54px);
  position: relative;
  z-index: 2;
  background: rgba(201, 221, 211, 0.72);
  border-top: 5px solid var(--clay);
  box-shadow: 12px 14px 0 rgba(225, 198, 109, 0.72);
  transform: rotate(0.65deg);
}

.practice {
  display: flex;
  gap: 0.8rem;
  margin: 0 0 42px;
  color: var(--pine);
}

.practice span { color: var(--clay); }

.lede {
  max-width: 640px;
  margin-bottom: 25px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.42;
}

.founder {
  margin-bottom: 0;
  font-size: 0.9rem;
  letter-spacing: 0.025em;
}

.founder a { text-underline-offset: 5px; }

.paths-wrap { background: var(--pine); color: var(--paper); }

.paths {
  padding: clamp(92px, 11vw, 170px) 0 clamp(100px, 12vw, 180px);
  display: grid;
  grid-template-columns: 0.72fr 2fr;
  grid-template-areas:
    "label title"
    ". links";
  gap: 20px 60px;
  align-items: start;
}

.paths > .eyebrow { grid-area: label; margin-top: 13px; color: var(--sun); }
.paths > h2 { grid-area: title; }

h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.path-links { grid-area: links; margin-top: 72px; border-top: 1px solid var(--paper); }

.path-links a {
  display: grid;
  grid-template-columns: minmax(170px, 0.65fr) 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 100px;
  padding: 26px 10px;
  border-bottom: 1px solid var(--line-inverse);
  text-decoration: none;
  transition: padding 180ms ease, color 180ms ease, background 180ms ease;
}

.path-links a:hover,
.path-links a:focus-visible {
  padding-inline: 22px;
  color: var(--ink);
  background: var(--mist);
  outline: none;
}

.path-links span { font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 2rem); }
.path-links small { font-size: 0.92rem; color: #d4ded8; }
.path-links a:hover small,
.path-links a:focus-visible small { color: #4c4840; }
.path-links strong { font-size: 1.15rem; font-weight: 400; }

footer {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

footer a { text-underline-offset: 5px; }
footer b { color: var(--clay); font-weight: 400; }

@media (max-width: 900px) {
  .masthead,
  .hero,
  .paths,
  footer { width: min(100% - 40px, 720px); }

  .masthead { min-height: 82px; }
  .hero {
    min-height: auto;
    padding: 78px 0 92px;
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "details";
    gap: 0;
  }
  h1 { width: 100%; max-width: 700px; font-size: clamp(4rem, 16vw, 7.2rem); }
  h1 em { padding-left: 0; }
  .title-seal { left: auto; right: 1px; }
  .hero-details {
    max-width: 620px;
    margin-top: 54px;
    transform: rotate(0.45deg);
  }
  .paths {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "title" "links";
    gap: 12px;
  }
  .path-links { margin-top: 42px; }
}

@media (max-width: 520px) {
  .masthead,
  .hero,
  .paths,
  footer { width: calc(100% - 32px); }
  .identity-name { display: none; }
  .identity img { width: 38px; height: 38px; }
  nav { gap: 15px; }
  nav a { font-size: 0.62rem; letter-spacing: 0.13em; }
  .hero {
    padding: 66px 0 84px;
    grid-template-areas: "copy" "details";
  }
  h1 {
    min-height: 2.02em;
    font-size: clamp(3.8rem, 20vw, 6rem);
    position: relative;
  }
  .title-seal {
    display: block;
    width: clamp(58px, 18vw, 70px);
    height: auto;
    position: absolute;
    right: 1px;
    bottom: 0.09em;
    transform: rotate(-2.5deg);
  }
  .practice { flex-wrap: wrap; gap: 0.55rem; line-height: 1.5; }
  .hero-details {
    margin-top: 30px;
    padding: 24px 22px 27px;
    border-top-width: 4px;
    box-shadow: 8px 9px 0 rgba(225, 198, 109, 0.72);
  }
  .paths { padding-block: 82px 96px; }
  .path-links a { grid-template-columns: 1fr auto; gap: 7px 14px; min-height: 110px; padding-inline: 4px; }
  .path-links small { grid-column: 1; line-height: 1.4; }
  .path-links strong { grid-column: 2; grid-row: 1 / span 2; }
  footer { min-height: 120px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .path-links a { transition: none; }
}
