body {
  font-family: "Work Sans", sans-serif;
  color: #282b28;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", sans-serif;
}

.section-title {
  text-transform: uppercase;
}

main {
  max-width: 1336px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container {
  box-sizing: border-box;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.home {
  margin: 0;
  background-color: #f6f8fb;
  color: #0e1726;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
.home main {
  max-width: none;
  padding-inline: 0;
}
.home h1,
.home h2,
.home h3 {
  font-family: inherit;
}
.home a {
  color: #1f5bd6;
}
.home a:hover {
  color: #123e9c;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a5568;
}

.tag {
  padding: 4px 10px;
  border: 1px solid #d8e0ea;
  border-radius: 4px;
  background-color: #ffffff;
  color: #4a5568;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}
.tag--accent {
  border-color: #1f5bd6;
  background-color: #1f5bd6;
  color: #ffffff;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.home .button--primary {
  background-color: #1f5bd6;
  color: #ffffff;
}
.home .button--primary:hover {
  background-color: #123e9c;
  color: #ffffff;
}
.home .button--secondary {
  border-color: #c5cfdc;
  background-color: #ffffff;
  color: #0e1726;
}
.home .button--secondary:hover {
  border-color: #0e1726;
  color: #0e1726;
}
.home .button--light {
  background-color: #ffffff;
  color: #0e1726;
}
.home .button--light:hover {
  background-color: #e6ecf4;
  color: #0e1726;
}
.home .button--outline-light {
  border-color: #4a5a72;
  color: #ffffff;
}
.home .button--outline-light:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.text-link {
  align-self: flex-start;
  padding: 12px 0;
  font-weight: 600;
  text-decoration: none;
}

.site-header {
  position: relative;
  background-color: #ffffff;
  border-bottom: 1px solid #d8e0ea;
  font-family: "Public Sans", system-ui, sans-serif;
}

.site-header__inner {
  box-sizing: border-box;
  max-width: 1120px;
  margin-inline: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #0e1726;
  text-decoration: none;
}
.home .site-header__brand, .home .site-header__brand:hover {
  color: #0e1726;
}

.site-header__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-header__dot {
  color: #1f5bd6;
}

.site-header__role {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: #4a5568;
}

.site-header__back {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.home .site-header__back {
  color: #0e1726;
}
.home .site-header__back:hover, .home .site-header__back:focus-visible {
  color: #1f5bd6;
}

.site-header__actions {
  display: flex;
  align-items: center;
}

.site-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  background: none;
  border: none;
  color: #0e1726;
  cursor: pointer;
}

.site-header__menu {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin: 0;
  padding: 12px 24px 16px;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #d8e0ea;
  box-shadow: 0 8px 16px rgba(14, 23, 38, 0.08);
  z-index: 10;
}
.site-header__menu.is-open {
  display: flex;
}
.site-header__menu a {
  display: block;
  padding: 10px 14px;
  color: #0e1726;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.site-header__menu a:hover, .site-header__menu a:focus-visible {
  color: #1f5bd6;
}

.site-header__menu .site-header__cta {
  padding-inline: 16px;
  border: 1px solid #0e1726;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
}
.site-header__menu .site-header__cta:hover, .site-header__menu .site-header__cta:focus-visible {
  background-color: #0e1726;
  color: #ffffff;
}

@media (min-width: 992px) {
  .site-header__toggle {
    display: none;
  }
  .site-header__menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: none;
    border-bottom: none;
    box-shadow: none;
  }
  .site-header__menu .site-header__cta {
    margin-left: 8px;
  }
}
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  padding-block: 48px;
}
@media (min-width: 768px) {
  .hero {
    padding-block: 72px 64px;
  }
}

.hero__intro {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__availability {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: #e7f4ec;
  color: #14532d;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.hero__availability-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #15803d;
}

.hero__title {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 52px;
  }
}

.hero__summary {
  max-width: 600px;
  margin: 0;
  font-size: 20px;
  color: #4a5568;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero__facts {
  flex: 1 1 340px;
  min-width: 0;
  padding: 24px;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  background-color: #ffffff;
}

.hero__facts-title {
  margin: 0 0 12px;
}

.facts {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.facts__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding-block: 12px;
  border-bottom: 1px solid #e6ebf2;
  font-size: 15px;
}
.facts__row:last-child {
  border-bottom: none;
}
.facts__row dt {
  flex: 0 0 120px;
  color: #4a5568;
}
.facts__row dd {
  flex: 1 1 160px;
  margin: 0;
  font-weight: 500;
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: #6a3937;
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.back-to-top:hover, .back-to-top:focus-visible {
  background-color: #f0cf65;
  color: #282b28;
}

.webdev {
  max-width: 1336px;
  margin-inline: auto;
}

.webdev__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.webdev-card {
  min-width: 0;
}

.webdev-card__embed {
  display: block;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 375px) {
  .webdev__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.work {
  background-color: #ffffff;
  border-block: 1px solid #d8e0ea;
}

.work__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: 72px;
}

.work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.work__title {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.01em;
}

.work__count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: #4a5568;
}

.work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work__text {
  margin: 0;
  color: #4a5568;
}

.work-card__media, .work-feature__media {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  background-color: #ffffff;
}
.work-card__media img, .work-feature__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.work-feature {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 24px;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  background-color: #f6f8fb;
}

.work-feature--reverse {
  flex-direction: row-reverse;
}

.work-feature__media {
  flex: 1 1 440px;
  min-width: 0;
  height: 300px;
}

.work-feature__media--half img {
  transform: scale(0.5);
}

.work-feature__body {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.work-feature__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.work__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.work-card {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
}

.work-card__media {
  height: 200px;
}

.work-card__title {
  margin: 0;
  font-size: 24px;
}

.project-detail {
  max-width: 1440px;
  margin-inline: auto;
  padding-block: 1.5rem;
}

.project-detail__intro {
  font-family: "Work Sans", sans-serif;
  font-size: 1em;
}

.project-detail__embed {
  display: block;
  width: 100%;
  max-width: 100%;
}

.project-detail__logo {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

.project-detail__meta {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.project-detail__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.project-detail__meta-label {
  min-width: 5.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a3937;
}

.project-detail__meta-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-detail__pill {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: #b1e5f2;
  color: #282b28;
  font-size: 0.875rem;
  line-height: 1.4;
}

.project-detail__summary {
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  padding-block: 1.5rem;
  background-color: #fdeeea;
  box-shadow: 0 0 0 100vmax #fdeeea;
  clip-path: inset(0 -100vmax);
}
.project-detail__summary > :first-child {
  margin-top: 0;
}
.project-detail__summary > :last-child {
  margin-bottom: 0;
}

.resume {
  max-width: 1336px;
  margin-inline: auto;
}

.contact {
  max-width: 720px;
  margin-inline: auto;
  padding-block: 1.5rem;
}

.contact__intro {
  font-size: 1.125em;
}

.contact__list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding: 1rem 1.25rem;
  background-color: #fdeeea;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
}

.contact__label {
  min-width: 5.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a3937;
}

.contact__link {
  color: #6a3937;
  overflow-wrap: anywhere;
}
.contact__link:hover, .contact__link:focus-visible {
  text-decoration: none;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: 72px;
}

.process__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}

.process__title {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.01em;
}

.process__intro {
  margin: 0;
  color: #4a5568;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  background-color: #ffffff;
}

.process-step__number {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  color: #1f5bd6;
}

.process-step__title {
  margin: 0;
  font-size: 20px;
}

.process-step__text {
  margin: 0;
  font-size: 16px;
  color: #4a5568;
}

.process-step__origin {
  margin-top: auto;
  padding-top: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #4a5568;
}

.about {
  background-color: #ffffff;
  border-top: 1px solid #d8e0ea;
}

.about__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 72px;
}
.about__inner > * {
  max-width: 680px;
}

.about__title {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.01em;
}

.about__text {
  margin: 0;
  color: #2d3748;
}

.site-footer {
  background-color: #0e1726;
  color: #e6ecf5;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 72px 40px;
}

.site-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.site-footer__copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__title {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.site-footer__text {
  margin: 0;
  color: #a9b6c8;
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer--simple .site-footer__meta {
  padding-block: 32px;
  border-top: none;
}
.home .site-footer--simple a {
  color: #e6ecf5;
}
.home .site-footer--simple a:hover {
  color: #ffffff;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #263349;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: #a9b6c8;
}

.case {
  padding-block: 48px 64px;
}
@media (min-width: 768px) {
  .case {
    padding-block: 72px;
  }
}
.case :where(p) {
  margin: 0;
}

.case__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.case__eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1f5bd6;
}

.case__title {
  max-width: 760px;
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .case__title {
    font-size: 44px;
  }
}

.case-options__title, .case-toc__title, .case-summary__label, .case-meta__item dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a5568;
}

.case-metric, .case-options, .case-findings li, .case-summary, .case-meta {
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  background-color: #ffffff;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 0 0 32px;
  overflow: hidden;
}

.case-meta__item {
  margin: 0 -1px -1px 0;
  padding: 16px;
  border-right: 1px solid #d8e0ea;
  border-bottom: 1px solid #d8e0ea;
}
.case-meta__item dt {
  margin-bottom: 4px;
}
.case-meta__item dd {
  margin: 0;
  font-weight: 600;
}

.case-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px 32px;
  margin-bottom: 48px;
  padding: 24px;
}
@media (min-width: 768px) {
  .case-summary {
    margin-bottom: 64px;
  }
}

.case-summary__label {
  margin: 0 0 8px;
}

.case-summary__item--result .case-summary__label {
  color: #1f5bd6;
}
.case-summary__item--result p {
  font-weight: 600;
}

.case__layout {
  display: grid;
  gap: 32px;
}
@media (min-width: 992px) {
  .case__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 64px;
  }
}

@media (min-width: 992px) {
  .case-toc {
    position: sticky;
    top: 24px;
    align-self: start;
  }
}

.case-toc__title {
  margin-bottom: 12px;
}

.case-toc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 992px) {
  .case-toc__list {
    flex-direction: column;
  }
}
.home .case-toc__list a {
  display: inline-block;
  padding: 6px 0;
  color: #0e1726;
  font-size: 15px;
  text-decoration: none;
}
.home .case-toc__list a:hover, .home .case-toc__list a:focus-visible {
  color: #1f5bd6;
}

.case__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.case-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-margin-top: 24px;
  color: #2d3748;
}

.case-section__title {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: #0e1726;
}

.case-section__subtitle {
  margin: 8px 0 0;
  font-size: 20px;
  color: #0e1726;
}

.case-quote {
  margin: 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid #1f5bd6;
}
.case-quote p {
  font-size: 20px;
  color: #0e1726;
}
.case-quote footer {
  margin-top: 8px;
  font-size: 15px;
  color: #4a5568;
}

.case-findings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-findings li {
  display: flex;
  gap: 16px;
  padding: 16px;
  color: #0e1726;
}

.case-findings__number {
  flex-shrink: 0;
  padding-top: 3px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  color: #1f5bd6;
}

.case-decision {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-decision + .case-decision {
  margin-top: 16px;
}

.case-decision__title {
  margin: 0;
  font-size: 20px;
  color: #0e1726;
}

.case-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.case-compare__item {
  margin: 0;
}
.case-compare__item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
}
.case-compare__item figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #4a5568;
}

.case-zoom {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.case-zoom__hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #0e1726;
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.case-lightbox {
  max-width: 95vw;
  max-height: 95vh;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.case-lightbox::backdrop {
  background-color: rgba(14, 23, 38, 0.85);
}
.case-lightbox img {
  display: block;
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
}

.case-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background-color: #0e1726;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.case-embed {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  background-color: #ffffff;
}

.case-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border: 1px dashed #a9b6c8;
  border-radius: 6px;
  background-color: #e6ecf4;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: #4a5568;
}

.case-options {
  padding: 16px 20px;
  color: #0e1726;
}
.case-options ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.case-options__title {
  margin-bottom: 12px;
}

.case-options__chosen {
  font-weight: 600;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 16px;
}

.case-metric__value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #1f5bd6;
}

.case-metric__label {
  font-size: 14px;
  color: #4a5568;
}

.case-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid #d8e0ea;
  font-weight: 600;
}
.case-pager a {
  padding-block: 8px;
  text-decoration: none;
}
.home .case-pager .case-pager__back {
  color: #0e1726;
}
.home .case-pager .case-pager__back:hover {
  color: #1f5bd6;
}
