:root {
  --ink: #122c3b;
  --muted: #526a74;
  --sea: #dcecf0;
  --paper: #f7f7f2;
  --line: #b9cbd0;
  --accent: #b95d3d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.65 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: #fff;
  padding: 8px;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.shell {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.nav-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.brand-period,
.accent {
  color: var(--accent);
}
nav {
  display: flex;
  gap: clamp(14px, 2.7vw, 36px);
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
nav a:hover,
.inline-link:hover,
.article-links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}
.overline,
.article-meta {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: #536f78;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(3.5rem, 8vw, 7.3rem);
}
h2 {
  font-size: clamp(2.45rem, 5vw, 4.4rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  max-width: 68ch;
}
.home-hero {
  padding: clamp(80px, 10vw, 150px) 0 110px;
}
.home-hero h1 {
  max-width: 1000px;
  margin: 24px 0 52px;
}
.home-hero em {
  font-weight: 400;
  color: #3d7789;
}
.hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}
.hero-bottom p {
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.5;
  max-width: 690px;
  margin: 0;
}
.inline-link {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
}
.wave-divider {
  height: 90px;
  background: var(--paper);
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--sea);
}
.tint-section {
  background: var(--sea);
  padding: 85px 0 110px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
  margin-bottom: 48px;
}
.section-intro .overline {
  grid-column: 1/-1;
  margin: 0;
}
.section-intro h2 {
  margin: 0;
}
.section-intro p {
  font-size: 20px;
  margin: 4px 0 0;
}
.home-work {
  border-top: 1px solid #8eabb4;
  margin: 0 0 40px;
}
.home-work a {
  display: grid;
  grid-template-columns: 185px 1fr 1fr auto;
  gap: 20px;
  align-items: baseline;
  text-decoration: none;
  border-bottom: 1px solid #8eabb4;
  padding: 32px 0;
}
.home-work a:hover strong,
.project-row:hover strong {
  color: var(--accent);
}
.home-work span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.home-work strong {
  font-family: Georgia, serif;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.15;
}
.home-work p {
  margin: 0;
  line-height: 1.45;
}
.home-work i {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.home-experience {
  padding: 110px 0;
}
.experience-timeline {
  border-top: 1px solid var(--line);
  margin-left: 7px;
}
.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  margin-left: 6px;
  padding: 28px 0 28px 34px;
  border-left: 1px solid #7896a0;
  border-bottom: 1px solid var(--line);
}
.timeline-entry::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  top: 36px;
  left: -5px;
}
.timeline-date {
  color: var(--muted);
  font-size: 14px;
}
.timeline-entry h3 {
  margin-bottom: 8px;
}
.timeline-entry p {
  margin: 0;
}
.certifications {
  padding-top: 52px;
}
.certifications h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 25px;
  margin: 0 0 18px 47px;
}
.credential-list {
  border-top: 1px solid var(--line);
}
.credential-entry {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 25px;
  align-items: center;
  padding: 20px 0 20px 47px;
  border-bottom: 1px solid var(--line);
}
.credential-entry img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.credential-entry strong,
.credential-entry span,
.credential-entry a {
  display: block;
}
.credential-entry strong {
  font-size: 16px;
  line-height: 1.35;
}
.credential-entry span {
  color: var(--muted);
  font-size: 13px;
  margin: 3px 0;
}
.credential-entry a {
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
  text-underline-offset: 3px;
}
.wave-white {
  background: var(--paper);
}
.personal-section {
  padding-top: 75px;
}
.personal-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.personal-notes > div {
  border-top: 1px solid #8eabb4;
  padding-top: 20px;
}
.personal-notes img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  margin-bottom: 28px;
  filter: saturate(0.75);
}
.personal-notes h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 29px;
}
.personal-notes p {
  margin: 0;
}
.home-contact {
  padding: 130px 0;
}
.home-contact h2 {
  margin: 12px 0 18px;
}
.home-contact p {
  font-size: 20px;
}
.home-contact > div {
  display: flex;
  gap: 35px;
  margin-top: 40px;
}
.site-footer {
  border-top: 1px solid var(--line);
}
.footer-row {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.index-page {
  padding: 80px 0 120px;
}
.index-heading {
  margin-bottom: 80px;
}
.index-heading h1 {
  margin: 15px 0 25px;
}
.index-heading > p:last-child {
  font-size: 22px;
}
.project-index {
  border-top: 1px solid var(--line);
}
.project-row {
  display: grid;
  grid-template-columns: 70px 1fr 30px;
  gap: 18px;
  align-items: start;
  padding: 30px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.row-number {
  font-size: 13px;
  color: var(--muted);
  padding-top: 7px;
}
.row-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: baseline;
}
.row-main strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 3.5vw, 41px);
  line-height: 1.2;
}
.row-main small {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.row-arrow {
  font-size: 22px;
}
.index-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 40px;
}
.article-shell {
  padding: 55px 0 110px;
}
.back-link {
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.project-article {
  width: 100%;
}
.article-header {
  padding: 85px 0 65px;
  border-bottom: 1px solid var(--line);
}
.article-header h1 {
  margin: 14px 0 28px;
}
.article-deck {
  font-family: Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.45;
  color: #365b68;
  margin: 0;
}
.project-stack {
  padding: 28px 0 42px;
  border-bottom: 1px solid var(--line);
}
.stack-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 22px;
}
.stack-heading h2 {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  white-space: nowrap;
  margin: 0;
}
.stack-heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 350px;
}
.stack-group {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.stack-group h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin: 7px 0 0;
}
.stack-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  padding: 0;
  margin: 0;
}
.stack-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  white-space: nowrap;
}
#skills .skill-category {
  border-top: 1px solid var(--line);
}
#skills summary {
  padding: 12px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
#skills summary::marker {
  color: var(--accent);
}
#skills summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
#skills .stack-list {
  padding-bottom: 14px;
  column-gap: 10px;
}
#skills .stack-list li:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  margin-inline-start: 3px;
  border-radius: 50%;
  background: var(--muted);
}
.stack-list svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #3d7789;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stack-list small {
  font-size: 10px;
  color: #775647;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-body {
  width: 100%;
}
.article-section {
  display: grid;
  grid-template-columns: minmax(190px, 27%) minmax(0, 1fr);
  column-gap: clamp(40px, 6vw, 110px);
  padding: 45px 0;
  border-bottom: 1px solid var(--line);
}
.article-section h2 {
  grid-column: 1;
  grid-row: 1 / span 5;
}
.article-section p {
  grid-column: 2;
  max-width: 92ch;
}
.article-section h2 {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 17px;
}
.article-section p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

.article-section p + p {
  margin-top: 1.25em;
}
.project-media {
  margin: 34px 0 46px;
}
.media-placeholder {
  position: relative;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px dashed #7896a0;
  background: #eaf1f1;
}
.project-media--phone .media-placeholder {
  background: linear-gradient(135deg, #eaf1f1, #d9e9ed);
}
.project-media--flow .media-placeholder {
  background: linear-gradient(135deg, #edf1ed, #e1e8e3);
}
.project-media--knowledge .media-placeholder {
  background: linear-gradient(135deg, #f0ede9, #e7e3dd);
}
.project-media--simulator .media-placeholder {
  background: linear-gradient(135deg, #e9edf3, #dfe7ef);
}
.project-media--video .media-placeholder {
  background: #1b3747;
  color: #f7f7f2;
  min-height: 330px;
}
.media-kind {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.media-title {
  font-family: Georgia, serif;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.15;
  max-width: 460px;
}
.media-mark {
  position: absolute;
  right: 28px;
  bottom: 18px;
  font-size: 35px;
  font-weight: 300;
  opacity: 0.55;
}
.project-media figcaption {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  padding-top: 11px;
}
.system-diagram {
  background: var(--sea);
  margin: 58px 0 12px;
  padding: 28px 35px 35px;
}
.system-diagram figcaption {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 20px;
}
.system-diagram > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.system-diagram span {
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1.3;
}
.system-diagram small {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  color: var(--muted);
}
.system-diagram b {
  font-weight: 400;
  font-size: 25px;
  color: #6e929d;
}
.article-links {
  padding-top: 40px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.article-links a {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}
.next-work {
  margin: 90px 0 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 14px;
}
.next-work span {
  color: var(--muted);
}
.next-work a {
  text-decoration: none;
  font-weight: 700;
}
@media (max-width: 800px) {
  .article-section {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .article-section h2,
  .article-section p {
    grid-column: 1;
    grid-row: auto;
  }
  .home-work a {
    grid-template-columns: 110px 1fr auto;
  }
  .home-work p {
    grid-column: 2/-1;
  }
  .row-main {
    grid-template-columns: 1fr;
  }
  .personal-notes {
    gap: 18px;
  }
  .personal-notes img {
    height: 160px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .shell {
    width: min(100% - 36px, 1120px);
  }
  .nav-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 17px 0;
    gap: 10px;
  }
  .brand {
    font-size: 22px;
  }
  nav {
    gap: 19px;
  }
  nav a {
    font-size: 13px;
  }
  .home-hero {
    padding: 65px 0 75px;
  }
  .home-hero h1 {
    font-size: clamp(3.4rem, 13vw, 5rem);
    margin: 15px 0 35px;
  }
  .hero-bottom {
    display: block;
  }
  .hero-bottom p {
    font-size: 20px;
    margin-bottom: 25px;
  }
  .wave-divider {
    height: 55px;
  }
  .tint-section {
    padding: 65px 0 80px;
  }
  .section-intro {
    display: block;
    margin-bottom: 35px;
  }
  .section-intro h2 {
    margin: 12px 0 20px;
  }
  .section-intro p {
    font-size: 18px;
  }
  .home-work a {
    grid-template-columns: 1fr auto;
    gap: 7px;
    padding: 25px 0;
  }
  .home-work span {
    grid-column: 1/-1;
  }
  .home-work strong {
    grid-column: 1;
  }
  .home-work p {
    grid-column: 1/-1;
  }
  .home-work i {
    grid-column: 1/-1;
    margin-top: 5px;
  }
  .home-experience {
    padding: 75px 0;
  }
  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .timeline-entry {
    padding-left: 23px;
  }
  .credential-entry {
    grid-template-columns: 70px 1fr;
    gap: 14px;
    padding-left: 24px;
  }
  .credential-entry img {
    width: 68px;
    height: 68px;
  }
  .certifications h3 {
    margin-left: 24px;
  }
  .personal-notes {
    display: block;
  }
  .personal-notes > div {
    margin-bottom: 45px;
  }
  .personal-notes img {
    height: 220px;
  }
  .home-contact {
    padding: 90px 0;
  }
  .footer-row {
    display: block;
  }
  .footer-row span {
    display: block;
  }
  .index-page {
    padding: 60px 0 90px;
  }
  .index-heading {
    margin-bottom: 45px;
  }
  .index-heading h1 {
    font-size: clamp(3.3rem, 13vw, 5rem);
  }
  .index-heading > p:last-child {
    font-size: 19px;
  }
  .project-row {
    grid-template-columns: 35px 1fr 18px;
    gap: 7px;
    padding: 25px 0;
  }
  .row-main strong {
    font-size: 26px;
  }
  .row-main small {
    font-size: 15px;
  }
  .article-shell {
    padding: 35px 0 80px;
  }
  .article-header {
    padding: 60px 0 45px;
  }
  .article-header h1 {
    font-size: clamp(3.1rem, 13vw, 5rem);
    overflow-wrap: anywhere;
  }
  .article-deck {
    font-size: 24px;
  }
  .stack-heading {
    display: block;
  }
  .stack-heading h2 {
    margin-bottom: 9px;
  }
  .stack-group {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .stack-group h3 {
    margin: 0;
  }
  .stack-list li {
    font-size: 13px;
  }
  .media-placeholder {
    min-height: 200px;
    padding: 20px;
  }
  .project-media--video .media-placeholder {
    min-height: 230px;
  }
  .article-section {
    padding: 34px 0;
  }
  .article-section p {
    font-size: 17px;
    line-height: 1.7;
  }
  .system-diagram {
    padding: 22px;
    margin: 40px 0 5px;
  }
  .system-diagram span {
    font-size: 17px;
  }
  .system-diagram small {
    font-size: 10px;
  }
  .system-diagram b {
    font-size: 15px;
  }
  .next-work {
    margin-top: 60px;
  }
}
