:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #eaf0ed;
  --ink: #182c32;
  --muted: #526469;
  --accent: #216c65;
  --line: #cfd8d3;
  --button: #193d3d;
  --button-ink: #fff;
  --logo-filter: none;
  --serif: Georgia, 'Times New Roman';
  --sans: 'Segoe UI', Arial
}

:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #101b20;
  --surface: #15262b;
  --ink: #edf1e9;
  --muted: #adbfbe;
  --accent: #9dcbb6;
  --line: #304348;
  --button: #b4d8c5;
  --button-ink: #132a2b;
  --logo-filter: invert(1)
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #101b20;
    --surface: #15262b;
    --ink: #edf1e9;
    --muted: #adbfbe;
    --accent: #9dcbb6;
    --line: #304348;
    --button: #b4d8c5;
    --button-ink: #132a2b;
    --logo-filter: invert(1)
  }
}

* {
  box-sizing: border-box
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans), sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased
}

::selection {
  background: var(--accent);
  color: var(--bg)
}

a {
  color: inherit;
  text-underline-offset: .28em
}

a, button {
  -webkit-tap-highlight-color: transparent
}

a:hover {
  color: var(--accent)
}

button {
  font: inherit
}

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

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

svg {
  width: 24px;
  height: 24px
}

p {
  margin: 0 0 1.1rem
}

h1, h2, h3 {
  margin: 0;
  font-weight: 400
}

h1, h2 {
  font-family: var(--serif), serif;
  letter-spacing: -.05em;
  line-height: 1.09
}

h1 {
  font-size: clamp(3.3rem, 5.8vw, 5.5rem)
}

h2 {
  font-size: clamp(2.7rem, 4.2vw, 4rem)
}

em {
  font-weight: 400;
  color: var(--accent)
}

h3 {
  font-family: var(--serif), serif;
  font-size: 1.8rem;
  line-height: 1.25;
  letter-spacing: -.025em
}

.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  background: var(--bg);
  padding: 1rem;
  z-index: 10
}

.skip-link:focus {
  top: 1rem
}

.site-header {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line)
}

.brand {
  flex-shrink: 0
}

.brand img {
  filter: var(--logo-filter);
  object-fit: contain
}

.site-header nav {
  display: flex;
  gap: 2.2rem;
  margin-left: auto;
  margin-right: 3rem
}

.site-header a {
  text-decoration: none;
  font-size: 1rem
}

.site-header nav a {
  color: var(--muted)
}

.site-header nav a:hover {
  color: var(--accent)
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.7rem
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer
}

.theme-toggle[hidden] {
  display: none
}

.theme-toggle:hover {
  background: var(--surface)
}

.theme-toggle .sun {
  display: none
}

[data-theme=dark] .theme-toggle .sun {
  display: block
}

[data-theme=dark] .theme-toggle .moon {
  display: none
}

.header-contact span {
  margin-left: .6rem
}

.hero {
  padding-top: 70px;
  padding-bottom: 66px;
  display: grid;
  grid-template-columns:1.18fr 1fr;
  gap: 5.5%;
  align-items: center
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: .75rem
}

.eyebrow-rule {
  width: 26px;
  height: 1px;
  background: var(--line)
}

.hero h1 {
  margin-bottom: 1.75rem
}

.hero-role {
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 1.2rem
}

.hero-intro {
  color: var(--muted);
  max-width: 480px;
  line-height: 1.8
}

.journey-link {
  color: var(--accent);
  white-space: nowrap;
  text-decoration-thickness: 1px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.65rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  min-height: 50px;
  transition: transform .2s, background .2s
}

.primary {
  background: var(--button);
  background: color-mix(in srgb, var(--button) 80%, transparent);
  color: var(--button-ink);
  border: 1px solid color-mix(in srgb, var(--button) 45%, transparent)
}

.primary:hover {
  background: color-mix(in srgb, var(--button) 95%, transparent);
  color: var(--button-ink);
  transform: translateY(-2px)
}

.text-link {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding-block: .35rem;
  border-bottom: 1px solid var(--line)
}

.text-link:hover {
  border-color: var(--accent)
}

.hero-footnote {
  font-family: var(--serif), serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1.0625rem;
  margin-top: 2rem;
  margin-bottom: 0
}

.earth-figure {
  margin: 0;
  position: relative
}

.earth-image {
  position: relative;
  isolation: isolate;
  height: 570px;
  overflow: hidden;
  border-radius: 48% 48% 2px 2px;
  background: #143139;
  color: #fff
}

.earth-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform-origin: center
}

.image-kicker {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: .65rem 1.1rem;
  border-radius: 999px;
  text-align: center;
  font-family: var(--serif), serif;
  font-style: italic;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.2;
  text-shadow: 0 2px 10px #00181d;
  background: rgba(4, 20, 25, .78)
}

.earth-figure figcaption {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 1.1rem
}

.earth-figure figcaption a {
  font-size: .75rem;
  white-space: nowrap;
  margin-left: .3rem
}

.credentials {
  display: grid;
  grid-template-columns:1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  gap: 2rem
}

.credentials > div {
  display: flex;
  flex-direction: column;
  gap: .35rem
}

.credentials > div + div {
  border-left: 1px solid var(--line);
  padding-left: 3rem
}

.credentials strong {
  font-family: var(--serif), serif;
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.3
}

.credentials span:not(.amp) {
  font-size: .875rem;
  color: var(--muted)
}

.amp {
  color: var(--accent);
  font-style: italic
}

.section {
  padding-block: 110px
}

.section-heading {
  display: grid;
  grid-template-columns:1fr 1fr;
  column-gap: 6rem;
  align-items: end
}

.section-heading > .eyebrow {
  grid-column: 1/-1
}

.section-heading > p:last-child {
  max-width: 420px;
  color: var(--muted);
  margin-bottom: 0;
  justify-self: end
}

.expertise-grid {
  display: grid;
  grid-template-columns:repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3.5rem
}

.expertise-item {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--line)
}

.expertise-item svg {
  height: 40px;
  width: 40px;
  color: var(--accent);
  margin-bottom: 1.5rem
}

.expertise-item h3 {
  margin-bottom: 1rem
}

.expertise-item p {
  color: var(--muted);
  font-size: 1.125rem
}

.expertise-item .expertise-tags {
  font-size: .875rem;
  padding-top: .7rem;
  margin-bottom: 0;
  color: var(--accent)
}

.journey-section {
  background: var(--surface);
  padding-block: 100px;
  border-block: 1px solid var(--line)
}

.journey-layout {
  display: grid;
  grid-template-columns:1fr 1.2fr;
  gap: 7rem
}

.journey-intro > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 310px;
  margin-top: 1.6rem
}

.journey-intro > .text-link {
  margin-top: 1rem
}

.journey-history {
  min-width: 0
}

.timeline-scroll-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .875rem
}

.timeline-scroll-hint span {
  color: var(--accent)
}

.timeline-scroll {
  max-height: clamp(24rem, 60svh, 36rem);
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--line);
  padding: .4rem 1.5rem .4rem .4rem
}

.timeline-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px
}

.timeline-scroll::-webkit-scrollbar {
  width: 10px
}

.timeline-scroll::-webkit-scrollbar-track {
  background: var(--line);
  border-radius: 999px
}

.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border: 2px solid var(--line);
  border-radius: 999px
}

.timeline {
  padding-left: 2rem;
  border-left: 1px solid var(--line)
}

.timeline-item {
  position: relative;
  padding: 0 0 2.4rem 1.5rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid var(--line)
}

.timeline-item:before {
  content: '';
  position: absolute;
  left: calc(-2rem - 5px);
  top: .45rem;
  width: 9px;
  height: 9px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 50%
}

.timeline-item.current:before {
  background: var(--accent)
}

.timeline-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border: 0
}

.timeline-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--muted)
}

.timeline-label span {
  color: var(--accent)
}

.timeline-item h3 {
  font-size: 2.1rem
}

.timeline-role {
  color: var(--accent);
  font-size: 1rem;
  margin-top: .4rem;
  margin-bottom: 1.1rem
}

.timeline-item > p:not([class]) {
  color: var(--muted);
  font-size: 1.125rem
}

.about-layout {
  display: grid;
  grid-template-columns:1fr 1.1fr;
  gap: 7rem;
  row-gap: 3rem
}

.about-heading {
  grid-column: 1 / -1;
  grid-row: 1
}

.about-portrait {
  margin: 0;
  width: min(100%, 320px);
  justify-self: center;
  grid-column: 1;
  grid-row: 2;
  align-self: start
}

.about-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 48% 48% 2px 2px
}

.about-copy {
  grid-column: 2;
  grid-row: 2;
  padding-top: 0;
  align-self: start
}

.about-copy > :last-child {
  margin-bottom: 0
}

.about-copy p {
  color: var(--muted)
}

.about-copy .lead {
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.7
}

.about-copy .signature {
  font-family: var(--serif), serif;
  font-style: italic;
  font-size: 2.1rem;
  color: var(--accent);
  margin-top: 1.5rem
}

.eomasters-section {
  display: grid;
  grid-template-columns:1fr 1.1fr;
  gap: 7rem;
  border-block: 1px solid var(--line);
  padding-block: 3.5rem
}

.eomasters-section h2 {
  font-size: 2.8rem
}

.eomasters-section p:not(.eyebrow) {
  color: var(--muted)
}

.eomasters-section .eyebrow {
  margin-bottom: 1rem
}

.social-links {
  display: flex;
  gap: 1.4rem;
  margin-top: 1.4rem;
  flex-wrap: wrap
}

.social-links a {
  font-size: .9375rem;
  color: var(--muted)
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 100px
}

.contact-section h2 {
  font-size: clamp(3.2rem, 5.8vw, 5.5rem)
}

.contact-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 0
}

.contact-bottom p {
  color: var(--muted);
  margin: 0
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 1rem;
  margin-top: 1.5rem
}

.contact-links > span {
  color: var(--line)
}

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

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

.site-footer > div {
  display: flex;
  gap: 1.5rem
}

.site-footer > div a {
  font-size: .875rem;
  color: var(--muted);
  text-decoration: none
}

.legal {
  max-width: 800px;
  padding-block: 75px 100px;
  min-height: 65vh
}

.legal h1 {
  font-size: 3.8rem;
  margin-bottom: 2rem
}

.legal h2 {
  font-family: var(--sans), sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0;
  margin: 2.5rem 0 .8rem;
  line-height: 1.4
}

.legal p, .legal li {
  color: var(--muted)
}

.legal address {
  font-style: normal
}

.legal .back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 1rem
}

.legal li {
  margin-bottom: .6rem
}

.legal a {
  overflow-wrap: anywhere
}

.legal .draft-note {
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  font-size: .9rem
}

@media (min-width: 1550px) {
  .hero {
    padding-top: 90px;
    padding-bottom: 85px
  }

  .earth-image {
    height: 620px
  }
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px)
  }

  .hero {
    gap: 3rem
  }

  .earth-image {
    height: 530px
  }

  .hero-actions {
    gap: 1rem
  }

  .site-header nav {
    margin-right: 1rem;
    gap: 1.5rem
  }

  .journey-layout, .about-layout, .eomasters-section {
    gap: 4rem
  }

  .expertise-grid {
    gap: 2rem
  }

  .credentials > div + div {
    padding-left: 2rem
  }

  .credentials strong {
    font-size: 1.6rem
  }

  .section-heading {
    gap: 2rem
  }
}

@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px)
  }

  .site-header {
    min-height: 92px;
    gap: 1rem;
    flex-wrap: wrap;
    padding-block: 20px
  }

  .brand img {
    width: 140px;
    height: auto
  }

  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin: 0;
    gap: 2rem
  }

  .header-actions {
    margin-left: auto;
    gap: 1rem
  }

  .hero {
    grid-template-columns:1fr;
    padding-top: 48px;
    gap: 3rem
  }

  .hero h1 {
    font-size: clamp(3.3rem, 9.7vw, 5.4rem)
  }

  .hero-intro {
    max-width: 550px
  }

  .earth-figure {
    max-width: 550px;
    width: 100%;
    justify-self: center
  }

  .earth-image {
    height: 540px
  }

  .hero-copy {
    max-width: 650px
  }

  .hero .eyebrow {
    font-size: .7rem;
    letter-spacing: .1em
  }

  .credentials {
    gap: 1rem
  }

  .credentials > div + div {
    padding-left: 1rem
  }

  .credentials strong {
    font-size: 1.25rem
  }

  .credentials span:not(.amp) {
    font-size: .875rem
  }

  .section {
    padding-block: 72px
  }

  .section-heading {
    grid-template-columns:1fr;
    gap: 1.5rem
  }

  .section-heading > .eyebrow {
    margin-bottom: 0
  }

  .section-heading > p:last-child {
    justify-self: start
  }

  .expertise-grid {
    grid-template-columns:1fr;
    gap: 2rem;
    margin-top: 2.5rem
  }

  .expertise-item {
    padding-left: 65px;
    padding-top: 1.5rem
  }

  .expertise-item svg {
    position: absolute;
    left: 0;
    top: 1.7rem
  }

  .expertise-item h3 {
    padding-right: 2rem
  }

  .journey-layout, .about-layout, .eomasters-section {
    grid-template-columns:1fr;
    gap: 3rem
  }

  .journey-section {
    padding-block: 72px
  }

  .journey-intro > p:not(.eyebrow) {
    max-width: 450px
  }

  .timeline-scroll-hint {
    display: none
  }

  .timeline-scroll {
    max-height: none;
    overflow: visible;
    padding: 0;
    scrollbar-gutter: auto
  }
  .timeline {
    margin-left: .4rem;
    padding-left: 1rem
  }

  .timeline-item {
    padding-left: 1rem
  }

  .timeline-item:before {
    left: calc(-1rem - 5px)
  }

  .about-heading, .about-portrait, .about-copy {
    grid-column: auto;
    grid-row: auto
  }

  .about-copy {
    padding-top: 0
  }

  .eomasters-section {
    gap: 1.5rem
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 72px
  }

  .contact-section h2 {
    font-size: clamp(3.5rem, 7vw, 6.3rem)
  }

  .contact-bottom {
    align-items: start;
    flex-direction: column
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 1.3rem
  }

  .site-footer > div {
    width: 100%;
    justify-content: space-between
  }

  .site-footer .brand img {
    width: 110px
  }

  .legal h1 {
    font-size: 3rem
  }

  .legal {
    padding-top: 45px
  }
}

@media (max-width: 420px) {
  .earth-image {
    height: 450px
  }

  .hero h1 {
    font-size: 3.2rem
  }

  .hero .eyebrow {
    flex-wrap: wrap;
    gap: .5rem
  }

  .credentials {
    grid-template-columns:1fr;
    padding: 1.5rem 0;
    gap: 1rem
  }

  .credentials > div {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem
  }

  .credentials > div + div {
    border: 0;
    padding: 0
  }

  .credentials strong {
    font-size: 1.3rem
  }

  .credentials span:not(.amp) {
    text-align: right
  }

  .contact-links {
    gap: 1rem
  }

  .contact-links > a:first-child {
    width: 100%
  }

  .contact-links > span {
    display: none
  }

  .header-contact {
    font-size: .85rem
  }
}

.earth-image[data-rotation-mode=scroll] {
  max-height: calc(100svh - 96px)
}

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

  *, *:before, *:after {
    transition: none !important;
    animation: none !important
  }
}

@media (max-width: 360px) {
  .site-header .brand img {
    width: 112px
  }

  .header-actions {
    gap: .5rem
  }

  .site-header {
    gap: .75rem
  }

  .header-contact {
    font-size: .8rem
  }

  .hero h1 {
    font-size: 2.65rem
  }

  .hero .eyebrow {
    font-size: .65rem;
    letter-spacing: .07em
  }

  .hero .eyebrow-rule {
    width: 12px
  }
}
