@font-face {
  font-family: Inter;
  src: url("fonts/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #e5e5e5;
  --ink: #19171a;
  --purple: #62447a;
  --lilac: #c8afca;
  --accent: #bf593a;
  --gutter: clamp(20px, 4.3vw, 80px);
  --section-gap: clamp(40px, 5vw, 64px);
  --heading-gap: clamp(16px, 2vw, 24px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.53 Inter, "Helvetica Neue", Arial, sans-serif;
}
header, main, footer { max-width: 1900px; margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 450; }
h1 {
  font-size: clamp(3.5rem, 7.5vw, 6rem);
  line-height: .99;
  letter-spacing: -.05em;
}
h2 {
  font-size: clamp(2.125rem, 3.75vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.4375rem, 2.2vw, 1.75rem);
  line-height: 1.16;
  letter-spacing: -.028em;
}
h1 span, .contact h2 span { color: var(--accent); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
header, footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px var(--gutter);
}
header nav { display: flex; gap: clamp(12px, 2.8vw, 44px); }
header nav a, footer > a:last-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
}
header nav a:hover, footer > a:last-child:hover {
  text-decoration: underline;
  text-underline-offset: .22em;
}
.brand { display: block; flex: none; width: clamp(72px, 7.2vw, 110px); }
.brand img { display: block; width: 100%; height: auto; }
.cover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.title-page, .index-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: var(--gutter);
}
.title-page { padding-block: var(--section-gap); }
.lead {
  margin-top: clamp(24px, 2.6vw, 40px);
  max-width: 40ch;
  font-size: clamp(1.125rem, 1.55vw, 1.25rem);
  line-height: 1.5;
}
.index-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--lilac);
  padding-block: clamp(68px, 6vw, 96px) clamp(56px, 5vw, 80px);
}
.index-page::before, .index-page::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("wave-field.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  filter: grayscale(1) brightness(3) contrast(2.6);
  mix-blend-mode: screen;
  opacity: .86;
}
.index-page::before {
  top: 0;
  height: min(15vw, 18%);
  background-position: center top;
  mask-image: linear-gradient(to bottom, black 48%, transparent 100%);
}
.index-page::after {
  bottom: 0;
  height: min(9vw, 15%);
  background-position: center bottom;
  mask-image: linear-gradient(to top, black 48%, transparent 100%);
}

.offer-list { display: grid; gap: 24px; margin-top: var(--heading-gap); }
.offer-list h3 { color: #4e315e; margin-bottom: 8px; }
.offer-list p { max-width: 58ch; }
.bio {
  display: grid;
  grid-template-columns: minmax(0, 62ch) minmax(150px, 235px);
  grid-template-areas: "heading photo" "copy photo" "metrics metrics";
  justify-content: center;
  gap: 12px clamp(24px, 4vw, 64px);
  padding: var(--section-gap) var(--gutter);
  margin: var(--section-gap) clamp(12px, 3vw, 60px);
  background: #d4c1d4;
  isolation: isolate;
}
.profile-heading { grid-area: heading; align-self: end; }
.profile-heading h2 { margin-bottom: var(--heading-gap); }
.profile-copy { grid-area: copy; max-width: 62ch; }
.profile-photo { grid-area: photo; position: relative; align-self: center; }
.portrait-clip { position: absolute; }
.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: url(#portrait-outline);
  filter: grayscale(1) contrast(.92) brightness(1.09);
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, black 86%, transparent 100%),
              linear-gradient(to right, black 88%, transparent 100%);
  mask-composite: intersect;
}

.metrics {
  grid-area: metrics;
  margin: clamp(20px, 2.4vw, 36px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.metrics > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #a694a7;
}
.metrics dt { max-width: 24ch; font-size: .9375rem; line-height: 1.4; text-wrap: balance; }
.metrics dd {
  order: -1;
  margin: 0;
  font-size: clamp(2.25rem, 3.75vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  color: #50365f;
}
.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: var(--section-gap);
  border-top: 1px solid #c9c6ca;
}
.contact h2, .contact address { padding-inline: var(--gutter); }
.contact address { display: grid; justify-items: start; gap: 4px; font-style: normal; }
.contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  font-size: clamp(1.25rem, 1.85vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -.025em;
  color: var(--purple);
  overflow-wrap: anywhere;
}
.contact a:hover { color: var(--ink); }
footer { border-top: 1px solid #c9c6ca; padding-block: 22px; }
footer .brand { width: clamp(54px, 4.8vw, 72px); }
@media (max-width: 820px) {
  .cover { grid-template-columns: minmax(0, 1fr); }
  .title-page { padding-block: clamp(54px, 10vw, 80px); }
  .index-page { padding-block: clamp(62px, 10vw, 84px) 60px; }
  .bio {
    grid-template-columns: minmax(0, 1fr) clamp(90px, 23vw, 145px);
    grid-template-areas: "heading photo" "copy copy" "metrics metrics";
    column-gap: 12px;
  }
  .profile-heading { align-self: center; }
}
@media (max-width: 650px) {
  .contact { grid-template-columns: 1fr; gap: var(--heading-gap); }
}
@media (max-width: 520px) {
  .metrics { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 370px) {
  header { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
