:root {
  --paper: #f7f5f0;
  --ink: #111;
  --body: #555;
  --muted: #666;
  --rule: #eaeaea;
  --boundary: #767676;
  --head: calc(80px + env(safe-area-inset-top,0px));
  --gutter: 24px;
  --max: 732px;
  color-scheme: light;
  font-family: Manrope,Arial,sans-serif;
  scroll-padding-top: var(--head);
  background: var(--paper);
  color: var(--ink);
}

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

body {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding-top: var(--head);
}

p,h1,h2,h3,ul {
  margin: 0;
}

p,li {
  color: var(--body);
}

.wrap {
  width: min(var(--max),calc(100% - var(--gutter)*2));
  margin-inline: auto;
}

.stack {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 24px;
}

.measure {
  max-width: 500px;
}

.intro {
  max-width: 510px;
  font-size: 17px;
  line-height: 27.2px;
}

.small {
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

h1 {
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -1px;
  font-weight: 700;
  max-width: 510px;
}

h2 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -.25px;
}

h3,.book-section h2 {
  font-size: 19px;
  line-height: 28px;
  letter-spacing: -.2px;
  font-weight: 600;
}

.eyebrow {
  font: 500 13px/21px 'IBM Plex Mono',monospace;
  letter-spacing: .7px;
  color: var(--muted);
  text-transform: uppercase;
}

a,button,summary {
  color: var(--ink);
  font: 500 15px/24px Manrope,Arial,sans-serif;
  text-underline-offset: 3px;
}

button,summary {
  cursor: pointer;
}

button {
  border: 0;
  background: none;
  padding: 0;
}

a:hover,button:hover {
  color: #343a40;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus:not(:focus-visible),section:focus:not(:focus-visible) {
  outline: none;
}

.skip {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 40;
  background: var(--paper);
  padding: 10px;
}

.skip:focus {
  top: 8px;
}

.modal-open {
  overflow: hidden;
}

dialog:not([open]) {
  display: none;
}

.header {
  height: var(--head);
  padding-top: env(safe-area-inset-top,0px);
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.head-row {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.head-row a,.head-row button,.menu-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.name {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.2px;
}

.desktop-nav {
  display: flex;
  gap: 24px;
}

.head-row nav a:hover,.name:hover,.menu-trigger:hover {
  text-decoration: underline;
}

.head-row .menu-trigger,.fallback-menu {
  display: none;
}

.menu {
  margin: 0;
  width: 100%;
  height: 100dvh;
  border: 0;
  max-width: none;
  max-height: 100dvh;
  overflow-y: auto;
  padding: env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);
  background: var(--paper);
}

.menu .head-row {
  position: relative;
}

.menu .head-row::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(-1 * var(--gutter));
  right: calc(-1 * var(--gutter));
  height: 1px;
  background: var(--rule);
}

.menu-links {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-block: 24px;
}

.menu-links a:last-child {
  background: var(--ink);
  color: white;
  padding: 0 20px;
  border-radius: 6px;
}

main>section+section {
  border-top: 1px solid var(--rule);
}

.hero {
  padding: 80px 0 64px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  background: var(--ink);
  color: white;
  padding: 11px 19px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
}

.button:hover {
  background: #343434;
  border-color: #343434;
  color: white;
}

.button:active {
  background: #404040;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--boundary);
  padding-inline: 20px;
}

.button.secondary:hover,.engage:hover,.textlink:hover {
  background: #eeece7;
}

.button.secondary:active {
  background: #e5e2dc;
}

.section-block {
  padding: 56px 0;
}

.offers {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 48px;
}

.offers article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.engage {
  min-height: 48px;
  margin-top: auto;
  display: block;
  align-content: end;
  line-height: 24px;
  max-width: 100%;
  border-radius: 4px;
}

.engage .final {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  vertical-align: bottom;
  text-decoration: none;
}

.engage span.leading,.engage .final span {
  text-decoration: underline;
}

.engage .leading {
  display: block;
}

.offers p {
  min-height: 144px;
}

.projects {
  width: 100%;
}

.projects article+article {
  border-top: 1px solid var(--rule);
  margin-top: 20px;
  padding-top: 20px;
}

.project-top {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.project-top h3 {
  font-size: 17px;
  line-height: 26px;
  letter-spacing: 0;
}

.maintained-projects h3 a {
  font: inherit;
}

.textlink,.dialog-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.about-copy {
  display: grid;
  gap: 14px;
}

.closing,.service {
  padding: 48px 0;
}

.page-intro {
  padding: 48px 0 40px;
}

.page-title {
  font-size: 32px;
  line-height: 42px;
  letter-spacing: -.6px;
}

.scope {
  padding-left: 16px;
  display: grid;
  gap: 12px;
}

.book-intro {
  padding: 56px 0 32px;
}

.book-intro .stack,.book-section .stack {
  gap: 16px;
}

.book-section {
  padding: 32px 0;
}

.book-section.consult {
  padding-bottom: 40px;
}

.book-section .actions {
  gap: 12px;
}

footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom,0px));
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contacts {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.contacts a,.socials a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.socials {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.socials a {
  height: 44px;
  width: 44px;
  justify-content: center;
  border-radius: 4px;
}

.social-icon {
  width: 24px;
  height: 24px;
  position: relative;
  display: block;
}

.social-icon img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
}

.social-icon img.active,.socials a:is(:hover,:focus-visible,:active) img:first-child {
  display: none;
}

.socials a:is(:hover,:focus-visible,:active) img.active {
  display: block;
}

.social-icon.facebook img {
  left: -4.8px;
  top: -4.8px;
}

.social-icon.github img {
  left: -.25px;
}

.dialog-wrap {
  max-width: 816px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.booking {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  width: min(100%,960px);
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  padding: 64px 48px;
  margin: auto;
  overflow-y: auto;
}

.booking::backdrop {
  background: rgb(17 17 17 / 42%);
}

.dialog-head,.dialog-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.intent-info,.provider {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.provider {
  background: #fff;
  border: 1px solid var(--boundary);
  border-radius: 6px;
  padding: 24px;
}

.dialog-links {
  justify-content: flex-start;
}

.dialog-links a {
  text-decoration: underline;
}

.dialog-head strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.2px;
}

@media(min-width:768px) and (max-width:780px) {
  .offers p {
    min-height: 168px;
  }
}

@media(max-width:767px) {
  body {
    font-size: 16px;
    line-height: 25.6px;
  }
  .desktop-nav {
    display: none;
  }
  .enhanced .head-row .menu-trigger {
    display: inline-flex;
  }
  .fallback-menu {
    display: block;
  }
  .fallback-menu nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    padding: 16px 24px;
    display: grid;
    border-bottom: 1px solid var(--rule);
  }
  h1 {
    font-size: 32px;
    line-height: 37px;
    letter-spacing: -.8px;
  }
  .hero {
    padding: 56px 0 64px;
  }
  .section-block {
    padding: 48px 0;
  }
  .offers {
    grid-template-columns: minmax(0,1fr);
    gap: 32px;
  }
  .offers article {
    gap: 10px;
  }
  .offers p {
    min-height: 0;
  }
  .engage {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    column-gap: .25em;
  }
  .engage .leading {
    display: inline;
  }
  .projects .project-top {
    flex-wrap: wrap;
  }
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .booking {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: calc(24px + env(safe-area-inset-top,0px)) 24px calc(24px + env(safe-area-inset-bottom,0px));
  }
  .page-title {
    font-size: 32px;
    line-height: 42px;
  }
  .book-intro {
    padding-top: 40px;
  }
  .book-section .actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .dialog-head button {
    flex-shrink: 0;
  }
  .socials {
    column-gap: 8px;
  }
  .scope {
    padding-left: 18px;
  }
}

@media(max-width:360px) {
  .actions {
    gap: 10px;
  }
  .button {
    max-width: 100%;
  }
  .book-section .actions {
    height: auto;
  }
  .project-top {
    gap: 8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }
}

.booking {
  width: min(calc(100% - 48px),880px);
  border-radius: 8px;
  padding: 24px 32px;
}

.booking::backdrop {
  background: rgb(17 17 17 / 32%);
}

.dialog-wrap {
  width: 100%;
}

.provider .button {
  margin-top: 0;
}

.booking [data-close] {
  padding-inline: 20px;
}

@media(max-width:767px) {
  .booking {
    width: 100%;
    height: max-content;
    max-height: 100dvh;
    max-width: 100%;
    margin: 0 auto auto;
    border-radius: 0;
    padding: calc(24px + env(safe-area-inset-top,0px)) 24px calc(24px + env(safe-area-inset-bottom,0px));
  }
  .provider .button {
    width: 100%;
  }
}

@media(max-width:360px) {
  .hero .actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (min-width:361px) and (max-width:420px) {
  .headline-ending {
    white-space: nowrap;
  }
}
