:root {
  --ink: #181a1b;
  --muted: #636a6d;
  --blue: #d2e6ec;
  --blue-light: #e3eff3;
  --blue-mist: #dbeaed;
  --blue-deep: #a8c8d2;
  --blue-ink: #314a54;
  --paper: #ffffff;
  --soft: #f4f5f5;
  --gray-blue: #dce5e8;
  --canvas: #f2f7f8;
  --line: #dfe3e4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --page: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a:hover {
  color: var(--blue-ink);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 18px;
  top: 12px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--page);
  min-height: 104px;
  margin: 0 auto;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  max-width: 210px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-button {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  place-content: center;
  gap: 5px;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 1px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  z-index: 15;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 110px max(24px, calc((100% - 1160px) / 2));
  background: rgba(220, 235, 240, 0.98);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: visibility 0s linear 220ms, opacity 220ms ease, transform 220ms ease;
}

.menu-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.menu-panel nav {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.menu-panel a {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 8vw, 5rem);
  line-height: 1.1;
  text-decoration: none;
}

.menu-panel a::after {
  position: absolute;
  right: 0;
  bottom: 0.05em;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.menu-panel a:hover::after,
.menu-panel a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home-main {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 22%, rgba(203, 226, 233, 0.95) 0 17%, transparent 17.2%),
    linear-gradient(180deg, var(--canvas) 0 56%, var(--blue-light) 56% 100%);
}

.hero {
  position: relative;
  display: grid;
  width: var(--page);
  min-height: calc(100vh - 104px);
  margin: 0 auto;
  padding: 58px 0 84px;
  align-items: center;
  gap: 42px;
}

.hero::before {
  position: absolute;
  z-index: 0;
  width: min(82vw, 610px);
  aspect-ratio: 1;
  top: 40px;
  left: -36vw;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: 0;
  right: -24vw;
  bottom: 7%;
  width: min(62vw, 480px);
  aspect-ratio: 1.45;
  border-radius: 50%;
  background: rgba(210, 224, 229, 0.96);
  content: "";
  transform: rotate(12deg);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.portrait-frame {
  position: relative;
  width: min(78vw, 375px);
  margin: 0 auto;
}

.portrait-frame::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--ink);
  content: "";
}

.portrait-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 241 / 309;
  border: 1px solid var(--ink);
  background: #edf4f6;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 12vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero .subtitle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 36px;
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .subtitle::before {
  width: 44px;
  height: 1px;
  background: var(--blue-ink);
  content: "";
}

.welcome {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: 86px 0 112px;
  background: var(--blue-light);
  box-shadow: 0 0 0 100vmax var(--blue-light);
  clip-path: inset(0 -100vmax);
}

.welcome::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.welcome h2 {
  margin-bottom: 26px;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.welcome p,
.page-copy p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
  line-height: 1.75;
}

.page-main {
  overflow: hidden;
  background: var(--gray-blue);
}

.page-intro {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: 76px 0 64px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  box-shadow: 0 0 0 100vmax var(--blue-light);
  clip-path: inset(0 -100vmax);
}

.page-intro::after {
  position: absolute;
  z-index: 0;
  top: 30px;
  right: -22vw;
  width: min(78vw, 560px);
  aspect-ratio: 1.65;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  transform: rotate(-10deg);
}

.page-intro h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(4rem, 16vw, 9.6rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.page-copy {
  width: var(--page);
  margin: 0 auto;
  padding: 20px 0 120px;
  background: var(--gray-blue);
  box-shadow: 0 0 0 100vmax var(--gray-blue);
  clip-path: inset(0 -100vmax);
}

.page-copy-inner {
  max-width: 850px;
  margin-left: auto;
  padding: clamp(28px, 6vw, 68px);
  border: 1px solid rgba(49, 74, 84, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.contact-list {
  display: grid;
  margin: 0 0 46px;
  gap: 8px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 3rem);
  line-height: 1.2;
}

.contact-list a {
  width: fit-content;
  text-decoration-color: var(--blue-deep);
}

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

.site-footer {
  background: #cedde1;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  width: var(--page);
  margin: 0 auto;
  padding: 64px 0 52px;
  gap: 48px;
}

.footer-identity p,
.footer-disclosures p {
  margin: 0;
}

.footer-identity {
  display: grid;
  align-content: start;
  gap: 2px;
}

.footer-name {
  margin-bottom: 14px !important;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.footer-identity a {
  width: fit-content;
}

.footer-disclosures {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

@media (min-width: 760px) {
  :root {
    --page: min(1160px, calc(100% - 96px));
  }

  .wordmark {
    max-width: none;
  }

  .hero {
    grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.35fr);
    min-height: calc(100vh - 104px);
    gap: clamp(64px, 8vw, 122px);
  }

  .hero::before {
    top: 8%;
    left: -22%;
  }

  .portrait-frame {
    width: 100%;
  }

  .welcome {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: clamp(48px, 8vw, 120px);
  }

  .welcome h2 {
    position: sticky;
    top: 60px;
    align-self: start;
  }

  .page-intro {
    padding-top: 110px;
    padding-bottom: 92px;
  }

  .page-copy {
    padding-bottom: 160px;
  }

  .footer-inner {
    grid-template-columns: minmax(240px, 0.7fr) minmax(400px, 1.3fr);
    padding-top: 76px;
    padding-bottom: 64px;
    gap: 80px;
  }
}

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

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