:root {
  --bg: #ffffff;
  --text: #111111;
  --text-muted: #4a4a4a;
  --eyebrow: #9a9a9a;
  --navy: #1b2a4a;
  --blue: #1d5aa8;
  --blue-soft: #eef5fb;
  --border: #e5e5e5;
  --number: #c8c8c8;
  --header-h: 88px;
  --max: 1140px;
  --pad-x: 48px;
  --accent: #111111;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  min-height: 100vh;
}

body[data-theme="blue"] {
  --accent: var(--blue);
}

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

img[hidden],
svg[hidden],
.asset-hidden {
  display: none !important;
}

a {
  color: inherit;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--pad-x) 72px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo__mark {
  width: 56px;
  height: 56px;
  display: block;
}

.logo__img {
  height: 56px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}

.logo__word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 15px;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid #111;
  background: #fff;
  cursor: pointer;
  padding: 0;
  color: transparent;
  background-image:
    linear-gradient(#111, #111),
    linear-gradient(#111, #111),
    linear-gradient(#111, #111);
  background-size: 18px 2px;
  background-repeat: no-repeat;
  background-position: center 14px, center 20px, center 26px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 28px;
}

.site-nav a {
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 400;
  color: #222;
  padding: 6px 0 8px;
  border-bottom: 2px solid transparent;
}

.site-nav a.is-active {
  font-weight: 700;
  border-bottom-color: var(--accent);
}

/* Shared type */

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.page-title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.amp {
  font-family: Arial, Helvetica, var(--font-sans);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
}

.lede,
.body-copy {
  margin: 0;
  color: var(--text);
  max-width: 58ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.split--about {
  grid-template-columns: minmax(0, 1.85fr) minmax(160px, 200px);
  gap: 48px;
  align-items: stretch;
}

.split--experience {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: stretch;
  min-height: calc(100vh - var(--header-h) - 220px);
}

.split--experience .exp-list {
  margin-top: 0;
}

.split--projects {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.split--copy-media {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: stretch;
}

.media {
  width: 100%;
}

.media img {
  width: 100%;
  object-fit: cover;
}

.media--portrait {
  max-width: 200px;
  justify-self: end;
  border: 8px solid #bbb;
}

.media--portrait img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: top;
}

.media--plans {
  height: 100%;
  display: flex;
}

.media--plans img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  flex: 1;
}

.split--copy-media .media {
  min-height: 100%;
}

.split--copy-media .media img {
  height: 100%;
  min-height: 280px;
  aspect-ratio: auto;
}

.split--copy-media .lede {
  font-size: 20px;
  line-height: 1.65;
  max-width: none;
}

.copy-rule {
  display: grid;
  grid-template-columns: 2px 1fr;
  gap: 18px;
  align-items: stretch;
}

.copy-rule__line {
  display: block;
  width: 2px;
  background: #d7d7d7;
  margin-top: 6px;
}

.split--mentorship {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.split--mentorship .lede {
  font-size: 21px;
}

.media--round img {
  border-radius: 10px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 18%;
}

.media--mentorship img {
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media--doors img {
  aspect-ratio: 5 / 4;
  object-fit: contain;
  object-position: center;
}

.follow-copy {
  margin: 40px 0 0;
  max-width: none;
  font-size: 20px;
  line-height: 1.55;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 14px 22px;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 600;
}

.btn:hover,
.btn:focus-visible {
  background: #111;
  color: #fff;
}

.btn__arrow {
  font-size: 16px;
  line-height: 1;
}

/* About */

.display-name {
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-page .body-copy {
  font-size: 21px;
  line-height: 1.65;
  max-width: none;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 500;
}

.roles span:not(.roles__sep) {
  padding: 0 14px 0 0;
}

.roles__sep {
  color: #bbb;
  padding: 0 14px 0 0;
}

.about-page {
  position: relative;
  padding-bottom: 88px;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: #c5c5c5;
  font-size: 22px;
  line-height: 1;
}

/* Experience numbered list */

.exp-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 22px;
}

.exp-list li {
  display: grid;
  grid-template-columns: 48px 14px 1fr;
  gap: 8px;
  align-items: start;
}

.exp-num {
  font-size: 22px;
  font-weight: 500;
  color: var(--number);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.exp-rule {
  width: 2px;
  background: #d7d7d7;
  min-height: 100%;
  margin-top: 6px;
}

.exp-list h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exp-list p {
  margin: 0;
  font-size: 18.5px;
  color: var(--text);
  line-height: 1.5;
}

.headline-serif {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.experience-page .headline-serif {
  margin-bottom: 28px;
}

/* Projects */

.project-group {
  margin-top: 28px;
}

.project-group + .project-group {
  margin-top: 32px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
}

.section-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.project-note {
  margin: 0 0 16px;
  font-size: 15px;
  color: #666;
  font-style: italic;
  max-width: none;
}

.project-place {
  font-weight: 400;
}

.project-item {
  margin: 0 0 18px;
}

.project-item h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
}

.project-item p {
  margin: 0;
  font-size: 14.5px;
  color: #666;
  line-height: 1.4;
}

.project-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.project-mosaic img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.project-mosaic img:last-child {
  grid-column: 1 / -1;
  height: 190px;
}

/* Technology */

.tech-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 8px 0 36px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.tech-kicker::before,
.tech-kicker::after {
  content: "";
  width: 72px;
  height: 1px;
  background: #111;
}

.plp-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 40px;
}

.plp-logo-crop {
  width: min(460px, 82%);
  overflow: hidden;
  line-height: 0;
}

.plp-logo-crop img {
  width: 100%;
  height: auto;
  clip-path: inset(0 0 11% 0);
  margin-bottom: -11%;
}

.plp-tagline {
  margin: 10px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  text-align: center;
}

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

.tech-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.tech-story {
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
  max-width: none;
}

.tech-story .accent {
  color: #c41212;
  font-weight: 700;
  font-size: 1.12em;
}

.tech-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  background: #ececec;
  padding: 28px 28px 28px 24px;
}

.tech-card svg {
  width: 72px;
  height: 72px;
  color: #333333;
}

.tech-card p {
  margin: 0;
  color: #333333;
  font-size: 20px;
  line-height: 1.45;
}

.tech-card strong {
  font-weight: 700;
}

/* Contact */

.contact-copy p + p {
  margin-top: 18px;
}

.contact-rule {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 28px 0 22px;
  max-width: 420px;
}

.contact-methods {
  display: grid;
  gap: 14px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 17px;
}

.contact-method strong {
  font-weight: 700;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid #111;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.contact-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 48px;
}

.contact-footer .btn {
  margin-top: 0;
}

.privacy-page {
  max-width: 760px;
}

.privacy-toolbar {
  margin: 0 0 28px;
}

.privacy-toolbar .btn,
.btn--back {
  margin-top: 0;
}

.privacy-page h1,
.privacy-page h2 {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text);
}

.privacy-page h2 {
  margin-top: 32px;
}

.privacy-page p {
  margin: 0 0 14px;
  max-width: none;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
}

/* Responsive */

@media (max-width: 980px) {
  :root {
    --pad-x: 28px;
  }

  .split,
  .split--about,
  .split--experience,
  .split--projects,
  .split--copy-media,
  .split--mentorship,
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split--experience {
    min-height: 0;
  }

  .exp-list {
    flex: none;
    justify-content: flex-start;
  }

  .media--portrait {
    max-width: 280px;
    justify-self: start;
  }

  .media--plans {
    max-width: none;
    height: auto;
    display: block;
  }

  .media--plans img {
    height: auto;
    max-height: 420px;
    aspect-ratio: 4 / 5;
    flex: none;
  }

  .media--portrait img {
    height: auto;
    max-height: 320px;
  }

  .split--copy-media .media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .project-mosaic img,
  .project-mosaic img:last-child {
    height: 200px;
  }

  .follow-copy {
    margin-top: 28px;
  }

  .contact-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    flex-wrap: wrap;
    min-height: 72px;
    padding: 12px 20px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .logo__img {
    height: 44px;
    max-width: 170px;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .page {
    padding: 32px 20px 56px;
  }

  .display-name {
    font-size: 36px;
  }

  .about-page .body-copy {
    font-size: 18px;
  }

  .plp-logo-crop {
    width: min(360px, 100%);
  }

  .roles {
    font-size: 18px;
  }

  .tech-card {
    grid-template-columns: 1fr;
  }
}
