* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #13283a;
  --muted: #485d6e;
  --navy: #0c2339;
  --paper: #fff;
  --soft: #eef4f7;
  --line: #cfdce5;
  --teal: #00675f;
  --mint: #a5efe0;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

body {
  margin: 0;
}

a {
  color: var(--teal);
  text-underline-offset: .2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #9d4d04;
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  font-weight: 740;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin-block: .65rem 1rem;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(100% - 3rem, 74rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: .5rem;
  background: white;
  padding: .6rem;
  transform: translateY(-160%);
  z-index: 2;
}

.skip:focus {
  transform: none;
}

header {
  background: white;
  border-bottom: 1px solid var(--line);
}

.top {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 750;
  line-height: 1.2;
}

.brand img {
  width: clamp(5.5rem, 9vw, 7.5rem);
  height: auto;
  flex-shrink: 0;
}

.brand small {
  display: block;
  font-size: .76rem;
  color: var(--muted);
  font-weight: 600;
}

nav,
.foot div {
  display: flex;
  align-items: center;
  gap: .35rem 1.2rem;
  flex-wrap: wrap;
}

nav a,
.nav-cv {
  text-decoration: none;
  font-weight: 650;
  color: var(--ink);
  font-size: .94rem;
  padding-block: .4rem;
}

nav a:hover,
[aria-current="page"] {
  color: var(--teal);
  text-decoration: underline;
}

.nav-cv {
  border: 1px solid var(--line);
  border-radius: .4rem;
  padding: .4rem .9rem;
}

.hero {
  color: white;
  background: radial-gradient(ellipse at 86% 15%, #204b63, transparent 65%), var(--navy);
}

.hero-inner {
  min-height: 34rem;
  padding-block: clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.eyebrow {
  color: var(--teal);
  font-weight: 750;
  font-size: .9rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}

.hero .eyebrow {
  color: var(--mint);
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 43rem;
  margin-block: 1.2rem;
}

.hero .lead {
  color: #dbe9f1;
  max-width: 37rem;
}

.hero figure {
  border: 1px solid #7392a7;
  background: #172f45;
  padding: .6rem;
  border-radius: .7rem;
  max-width: 22rem;
  justify-self: end;
  width: 100%;
}

.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 5.3;
  object-fit: cover;
  object-position: center 31%;
  border-radius: .35rem;
  background: #dce4ea;
}

figcaption {
  padding: .7rem .45rem .25rem;
  font-size: .94rem;
  font-weight: 650;
}

figcaption span {
  display: block;
  color: #d0e0ea;
  font-size: .88rem;
  font-weight: 400;
}

.actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: .4rem;
  border: 1px solid transparent;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  background: #004e47;
  text-decoration: underline;
}

.button.secondary {
  background: transparent;
  color: var(--teal);
  border-color: currentColor;
}

.hero .button {
  background: var(--mint);
  color: #10342e;
}

.hero .button.secondary {
  background: transparent;
  color: white;
  border-color: #9ab3c5;
}

.hero a:focus-visible {
  outline-color: var(--mint);
}

.section {
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head p,
.card p,
.split p {
  color: var(--muted);
}

.band,
.page-head {
  background: var(--soft);
}

.page-head {
  padding-block: clamp(2.4rem, 5vw, 4.6rem);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.page-head .lead {
  margin-bottom: 0;
}

.grid,
.split {
  display: grid;
  gap: 1rem;
}

.two,
.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split {
  gap: clamp(2rem, 6vw, 5rem);
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: white;
}

.card.pillar {
  border-top: 3px solid var(--teal);
}

.card.pillar a {
  color: var(--ink);
}

.card a:not(.button) {
  font-weight: 650;
}

.project-name {
  font-weight: 650;
}

.cta,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cta h2 {
  margin-bottom: .6rem;
}

.reading {
  max-width: 52rem;
  overflow-wrap: anywhere;
}

.reading h2:not(:first-child),
.reading article+article {
  margin-top: 2.5rem;
}

.reading h3 {
  margin-top: 1.5rem;
}

.reading article {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
  scroll-margin-top: 1rem;
}

.intro {
  grid-template-columns: 1fr minmax(10rem, 17rem);
  margin-bottom: 3rem;
}

.date {
  color: var(--teal);
  font-weight: 650;
}

dt,
summary {
  font-weight: 700;
}

dd {
  margin: .15rem 0 .85rem;
}

details {
  border-bottom: 1px solid var(--line);
  padding: .8rem 0;
}

summary {
  cursor: pointer;
}

.grid+.reading {
  margin-top: 3rem;
}

footer {
  border-top: 1px solid var(--line);
  background: #f7fafb;
}

.foot {
  min-height: 5rem;
  padding-block: .75rem;
  font-size: .94rem;
}

.foot p {
  margin: 0;
}

@media (max-width: 51rem) {
  .top {
    flex-wrap: wrap;
    padding-block: .75rem;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .hero-inner {
    gap: 1.5rem;
  }

  .three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 37rem) {
  .wrap {
    width: calc(100% - 2rem);
  }

  .hero-inner,
  .two,
  .three,
  .split {
    grid-template-columns: 1fr;
  }

  .hero figure {
    justify-self: start;
    max-width: 16rem;
  }

  .intro .portrait {
    max-width: 14rem;
  }

  nav {
    column-gap: .8rem;
  }
}

/* Portfolio layout */
:root {
  --ink: #182a2a;
  --muted: #495a55;
  --navy: #112e2b;
  --paper: #fcfaf5;
  --soft: #efeee6;
  --line: #d8d9cc;
  --teal: #19604e;
  --mint: #dbe9d6;
}

body {
  background: var(--paper);
}

header {
  background: var(--paper);
}

.top {
  min-height: 5.1rem;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.045em;
}

h3 {
  letter-spacing: -.025em;
}

.hero {
  color: var(--ink);
  background: #eeeee4;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  min-height: 0;
  padding-block: clamp(2.8rem, 6vw, 5rem);
}

.hero h1 {
  font-size: clamp(3rem, 6.7vw, 6.65rem);
  line-height: .98;
  max-width: 10ch;
  text-wrap: initial;
}

.hero .eyebrow {
  color: var(--teal);
}

.hero .lead {
  color: var(--muted);
  max-width: 33rem;
}

.hero figure {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  max-width: 25rem;
}

.hero .portrait {
  border-radius: .25rem;
  aspect-ratio: 1 / 1.04;
}

figcaption {
  padding: .75rem 0 0;
  color: var(--ink);
}

figcaption span {
  color: var(--muted);
}

.hero .button,
.contact-band .button {
  background: var(--teal);
  color: white;
}

.hero .button.secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.hero a:focus-visible {
  outline-color: #9d4d04;
}

.section-head {
  margin-bottom: 2.15rem;
}

.services>.section-head h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
}

.service-group {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.72fr);
  gap: 1.5rem 2.5rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
}

.service-group:last-child {
  padding-bottom: 0;
}

.service-group>div>p {
  color: var(--muted);
  max-width: 25ch;
}

.service-tile {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .4rem;
  overflow: hidden;
}

.service-tile>div {
  padding: 1.05rem 1.1rem .5rem;
}

.service-tile h3 a {
  color: var(--ink);
}

.service-tile:focus-within {
  outline: 3px solid #9d4d04;
  outline-offset: 3px;
}

.pillar-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  background: var(--soft);
}

.work-grid .card {
  border-radius: .35rem;
  border-color: #c8d1c1;
}

.work-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
}

.credibility {
  align-items: start;
}

.evidence {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
}

.evidence>div+div {
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}

.contact-band {
  background: var(--navy);
  color: white;
}

.contact-band a {
  color: #d6eee0;
}

.contact-band .button {
  background: var(--mint);
  color: var(--navy);
}

.pillar-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.pillar-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.pillar-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.pillar-hero .pillar-image {
  aspect-ratio: 4 / 3;
  border-radius: .35rem;
}

.pillar-detail li+li {
  margin-top: .45rem;
}

.pillar-intro {
  max-width: 52rem;
  margin-bottom: 1.7rem;
  font-size: 1.15rem;
}

.example {
  padding: 1.25rem 1.5rem .55rem;
  background: var(--soft);
  border-left: 3px solid var(--teal);
  margin-top: 1.5rem;
}

@media (max-width: 51rem) {
  .service-group {
    grid-template-columns: 1fr;
  }

  .service-group>div>p {
    max-width: none;
    margin-bottom: 0;
  }
}

@media (max-width: 37rem) {

  .hero-inner,
  .pillar-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero figure {
    max-width: 21rem;
  }

  .evidence {
    border: 0;
    padding-left: 0;
  }
}

.experience-role {
  margin-top: 1.3rem;
}

.experience-role .project-name {
  margin-bottom: .15rem;
}

.experience-role .date {
  margin-top: 0;
}

.experience-role li+li {
  margin-top: .45rem;
}