:root {
  --bone: #eee8e0;
  --bone-deep: #ddd4ca;
  --ink: #11151e;
  --navy: #111c36;
  --clay: #8f4837;
  --paper: #f7f3ee;
  --muted: #69665f;
  --line: rgba(17, 21, 30, 0.18);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --page-x: clamp(1.25rem, 4vw, 5rem);
  --header-h: 5.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-x);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--paper);
  pointer-events: none;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  pointer-events: auto;
}

.wordmark__mark {
  display: grid;
  width: 2.4rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 0.95rem;
}

.wordmark__text,
.header-note {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(22rem, 0.96fr);
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.06), transparent 25rem),
    linear-gradient(105deg, rgba(255, 255, 255, 0.025), transparent 45%);
  pointer-events: none;
}

.hero__axis {
  position: absolute;
  z-index: 3;
  top: var(--header-h);
  bottom: 0;
  left: 51.9%;
  width: 1px;
  background: rgba(238, 232, 224, 0.24);
}

.hero__axis::after {
  content: "";
  position: absolute;
  top: 38%;
  left: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--clay);
  border-radius: 50%;
  background: var(--navy);
}

.hero__copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding: calc(var(--header-h) + 5rem) clamp(2rem, 6vw, 8rem) 4rem var(--page-x);
}

.eyebrow {
  margin: 0 0 1.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero__title,
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.hero__title {
  max-width: 9ch;
  font-size: clamp(4.8rem, 9.4vw, 10.4rem);
}

.hero__title em,
.section-title em {
  color: var(--clay);
  font-weight: 400;
}

.hero__profession {
  margin: 3rem 0 0;
  font-size: clamp(0.76rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__intro {
  max-width: 31rem;
  margin: 1.2rem 0 0;
  color: rgba(247, 243, 238, 0.72);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.24;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3.2rem;
  color: rgba(247, 243, 238, 0.68);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 4.6rem;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 260ms ease;
}

.hero__scroll:hover .hero__scroll-line,
.hero__scroll:focus-visible .hero__scroll-line {
  transform: scaleX(1.25);
}

.portrait {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #aaa09b;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 28, 54, 0.45), transparent 18%),
    linear-gradient(0deg, rgba(17, 28, 54, 0.28), transparent 35%);
  pointer-events: none;
}

.portrait picture,
.portrait img {
  width: 100%;
  height: 100%;
}

.portrait img {
  object-fit: cover;
  object-position: 50% 37%;
  transform: scale(1.015);
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.portrait figcaption {
  position: absolute;
  z-index: 3;
  right: 2rem;
  bottom: 1.8rem;
  left: 2rem;
  display: flex;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  color: white;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__side-note {
  position: absolute;
  z-index: 5;
  right: 1rem;
  top: 50%;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.approach {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  min-height: 100svh;
  padding: clamp(7rem, 11vw, 11rem) var(--page-x);
  background: var(--bone);
}

.section-index {
  align-self: start;
  font-family: var(--serif);
  font-size: clamp(5rem, 11vw, 11rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 21, 30, 0.18);
}

.approach__heading {
  max-width: 68rem;
}

.section-title {
  font-size: clamp(3.2rem, 6.5vw, 7.2rem);
  line-height: 0.95;
}

.principles {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid var(--line);
}

.principle {
  min-height: 18rem;
  padding: 1.5rem 2rem 2rem 0;
  border-right: 1px solid var(--line);
}

.principle + .principle {
  padding-left: 2rem;
}

.principle:last-child {
  border-right: 0;
}

.principle__number {
  margin: 0 0 5rem;
  color: var(--clay);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.principle h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.8vw, 4.2rem);
  font-weight: 400;
}

.principle p:last-child {
  max-width: 16rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.holding {
  position: relative;
  min-height: 72svh;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.5fr);
  align-items: end;
  gap: 4rem;
  padding: clamp(6rem, 10vw, 10rem) var(--page-x) 4rem;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.holding::before {
  content: "MF";
  position: absolute;
  top: 50%;
  right: -0.05em;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--serif);
  font-size: min(55vw, 44rem);
  line-height: 0.6;
  transform: translateY(-50%);
  pointer-events: none;
}

.holding__line {
  position: absolute;
  top: 0;
  left: 52%;
  width: 1px;
  height: 48%;
  background: var(--clay);
}

.holding__content,
.holding__note {
  position: relative;
  z-index: 2;
}

.holding__content h2 {
  max-width: 21ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.holding__note {
  max-width: 21rem;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(247, 243, 238, 0.62);
  font-size: 0.78rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem var(--page-x);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: rgba(247, 243, 238, 0.52);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 900px) {
  :root {
    --header-h: 4.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .site-header {
    color: var(--paper);
  }

  .header-note {
    display: none;
  }

  .hero__axis,
  .hero__side-note {
    display: none;
  }

  .hero__copy {
    min-height: 72svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(var(--header-h) + 3rem) var(--page-x) 4rem;
  }

  .hero__title {
    font-size: clamp(4.6rem, 19vw, 8rem);
  }

  .hero__intro {
    max-width: 28rem;
  }

  .portrait {
    min-height: 78svh;
  }

  .portrait img {
    object-position: 50% 34%;
  }

  .approach {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .section-index {
    margin-bottom: 3rem;
  }

  .principles {
    grid-column: 1;
  }

  .holding {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 78svh;
  }

  .holding__line {
    left: var(--page-x);
    height: 20%;
  }

  .holding__note {
    margin-top: 2rem;
  }
}

@media (max-width: 660px) {
  .wordmark__text {
    font-size: 0.62rem;
  }

  .hero__copy {
    min-height: 78svh;
  }

  .hero__profession {
    margin-top: 2.2rem;
  }

  .hero__scroll {
    margin-top: 2.5rem;
  }

  .portrait {
    min-height: 68svh;
  }

  .portrait figcaption {
    right: 1rem;
    left: 1rem;
  }

  .approach {
    padding-top: 6rem;
  }

  .section-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 4rem;
  }

  .principle,
  .principle + .principle {
    min-height: auto;
    padding: 1.5rem 0 2.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle__number {
    margin-bottom: 2.4rem;
  }

  .holding {
    padding-top: 8rem;
  }

  .holding__content h2 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
