/* Base layout and components */

:root {
  --canvas: #e9ecf1;
  --paper: #f8f9fc;
  --ink: #182438;
  --muted: #657084;
  --line: #dfe4ed;
  --soft: #edf1f7;
  --card: #ffffff;
  --blue: #2563eb;
  --navy: #101c30;
  --lime: #cde6ff;
  --sidebar-width: 248px;
  --frame-gap: 20px;
  --radius: 14px;
}

:root[data-theme="dark"] {
  --canvas: #17191d;
  --paper: #202329;
  --ink: #edf1fa;
  --muted: #a1acc0;
  --line: #363c46;
  --soft: #292e38;
  --card: #282d36;
  --blue: #74a4ff;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: var(--frame-gap);
  height: 100dvh;
  margin: 0px;
  padding: var(--frame-gap);
  overflow: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.sidebar-collapsed {
  --sidebar-width: 76px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: default;
  opacity: 0.35;
}

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

picture {
  display: contents;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgb(205, 230, 255);
  color: rgb(16, 28, 48);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

main:focus, .section:focus {
  outline: none;
}

.icon-library {
  position: absolute;
  width: 0px;
  height: 0px;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 30px;
  z-index: 50;
  background: white;
  color: rgb(16, 28, 48);
  padding: 12px 18px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 25px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0px;
  background: rgb(37, 99, 235);
  color: rgb(227, 231, 238);
  border: 1px solid rgb(37, 99, 235);
  border-radius: 16px;
  padding: 22px 14px 14px;
  box-shadow: rgba(17, 24, 39, 0.07) 0px 10px 28px;
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0px 9px;
}

.sidebar-logo {
  display: block;
}

.brand-icon {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.collapse-toggle {
  display: grid;
  place-items: center;
  background: rgb(48, 52, 57);
  border: 0px;
  border-radius: 8px;
  width: 35px;
  height: 35px;
  color: rgb(197, 204, 215);
}

.collapse-toggle .icon {
  width: 17px;
  height: 17px;
}

.collapse-toggle:hover {
  background: rgb(59, 64, 70);
}

.sidebar-brand {
  margin: 24px 10px 26px;
  font-size: 14px;
  font-weight: 600;
  color: rgb(228, 232, 238);
}

.sidebar-brand > span {
  display: block;
  margin-top: 6px;
  color: rgb(147, 158, 174);
  font-size: 11px;
  font-weight: 400;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  min-height: 0px;
  flex: 1 1 0%;
}

.navigation {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 49px;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 13px;
  color: rgb(215, 220, 228);
  transition: background 0.2s, color 0.2s;
}

.nav-link .icon {
  width: 18px;
  height: 18px;
  color: rgb(182, 190, 202);
}

.nav-link:hover {
  background: rgb(0, 16, 67);
  color: white;
}

.nav-link.active {
  background: rgb(0, 16, 67);
  color: white;
  font-weight: 650;
}

.nav-link.active .icon {
  color: white;
}

.sidebar :focus-visible {
  outline-color: rgb(141, 185, 255);
}

.menu-toggle {
  display: none;
}

.sidebar-collapsed .sidebar {
  padding-inline: 12px;
}

.sidebar-collapsed .sidebar-top {
  flex-direction: column;
  padding: 0px;
  gap: 20px;
  margin-bottom: 24px;
}

.sidebar-collapsed .sidebar-brand, .sidebar-collapsed .nav-link > span {
  display: none;
}

.sidebar-collapsed .nav-link {
  justify-content: center;
  padding-inline: 0px;
}

.sidebar-collapsed .collapse-toggle {
  transform: rotate(180deg);
}

main {
  display: grid;
  grid-template-rows: 58px minmax(0px, 1fr) 30px;
  gap: 16px;
  min-width: 0px;
  min-height: 0px;
  height: 100%;
  padding: 0px clamp(22px, 3vw, 48px) 8px;
  background: var(--paper);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.page-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--muted);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-breadcrumb > span {
  color: rgb(161, 173, 191);
}

.page-breadcrumb strong {
  font-weight: 500;
  letter-spacing: 0px;
  font-size: 12px;
  color: var(--ink);
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0px;
  min-width: 0px;
  height: 100%;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--blue);
}

.section-kicker {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
}

h1, h2, h3, p {
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(43px, min(5.25vw, 10dvh), 78px);
  line-height: 1.05;
  margin: 0px;
  letter-spacing: -0.065em;
  font-weight: 720;
}

h2 {
  font-size: clamp(30px, min(3.6vw, 7dvh), 50px);
  line-height: 1.14;
  margin: 0px;
  letter-spacing: -0.045em;
  font-weight: 650;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: clamp(24px, 3.5vw, 55px);
  align-items: center;
}

.hero-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  max-width: 430px;
  margin: 22px 0px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 43px;
  padding: 12px 17px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 600;
  transition: background 0.2s;
}

.button .icon {
  width: 16px;
  height: 16px;
}

.button-primary {
  background: rgb(37, 99, 235);
  color: white;
}

.button-primary:hover {
  background: rgb(26, 80, 207);
}

.button-outline {
  border-color: var(--line);
}

.button-outline:hover {
  background: var(--soft);
}

.upwork-selector {
  display: flex;
  align-self: flex-start;
  gap: 3px;
  padding: 4px;
  border-radius: 8px;
  background: var(--soft);
}

.upwork-selector button {
  border: 0px;
  background: transparent;
  padding: 8px 13px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 11px;
}

.upwork-selector button[aria-pressed="true"] {
  background: var(--card);
  color: var(--ink);
  box-shadow: rgba(16, 28, 48, 0.063) 0px 2px 6px;
}

.testimonials-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.testimonials-heading > p {
  max-width: 220px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0px 0px 5px;
}

.testimonial-carousel {
  --review-columns: 3;
  --review-gap: 16px;
  min-width: 0px;
}

.testimonial-viewport {
  overflow: hidden;
  border-radius: 12px;
  padding: 4px 0px;
}

.testimonial-track {
  display: flex;
  gap: var(--review-gap);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-track.is-resetting {
  transition: none;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - (var(--review-columns) - 1) * var(--review-gap)) / var(--review-columns));
  min-width: 0px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.quote-mark {
  font-family: Georgia, serif;
  color: var(--blue);
  font-size: 48px;
  line-height: 0.9;
}

.testimonial-card blockquote {
  margin: 15px 0px 22px;
  font-size: 13px;
  line-height: 1.85;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgb(219, 232, 255);
  color: rgb(34, 86, 175);
  font-size: 12px;
  font-weight: 600;
}

.testimonial-card footer strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.testimonial-card footer div > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.review-playback {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  font-size: 11px;
}

#review-status {
  font-size: 10px;
  color: var(--muted);
}

.testimonial-controls .pagination-controls {
  margin-left: auto;
}

.portfolio {
  display: grid;
  grid-template-rows: auto auto minmax(0px, 1fr) auto;
  gap: 16px;
}

.portfolio .section-heading {
  margin: 0px;
}

.portfolio-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.portfolio-heading h2 {
  font-size: clamp(28px, 3vw, 43px);
}

.portfolio-heading > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin: 0px 0px 3px;
}

.project-grid {
  --project-columns: 3;
  --project-rows: 2;
  display: grid;
  grid-template-columns: repeat(var(--project-columns), minmax(0, 1fr));
  grid-template-rows: repeat(var(--project-rows), minmax(0, 1fr));
  gap: 18px;
  min-height: 0px;
}

.project {
  display: flex;
  flex-direction: column;
  min-width: 0px;
  min-height: 0px;
}

.project-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 1px 0px;
}

.project-category {
  margin: 0px 0px 4px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
}

.project h3 {
  margin: 0px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.25px;
}

.portfolio-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}

.portfolio-pagination > p {
  margin: 0px;
  font-size: 10px;
  color: var(--muted);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.page-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
}

.page-button .icon {
  width: 16px;
  height: 16px;
}

.page-button:not(:disabled):hover {
  color: var(--blue);
  border-color: var(--blue);
}

#previous-projects .icon, #previous-review .icon {
  transform: rotate(180deg);
}

#project-page, #review-page {
  font-size: 11px;
  min-width: 35px;
  text-align: center;
  color: var(--muted);
}

.upwork-heading {
  margin-bottom: 25px;
}

.upwork-heading > p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0px 0px;
}

.upwork-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
}

.upwork-card {
  display: flex;
  flex-direction: column;
  min-width: 0px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.upwork-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 28px;
  min-height: 33px;
}

.card-eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0px 0px 12px;
}

.upwork-card h3 {
  margin: 0px 0px 12px;
  font-size: 27px;
  letter-spacing: -0.8px;
  font-weight: 600;
}

.upwork-card > p:not(.card-eyebrow) {
  margin: 0px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.upwork-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px 0px;
  margin: 22px 0px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.upwork-stats strong {
  display: block;
  font-size: 25px;
  font-weight: 600;
}

.upwork-stats span {
  display: block;
  font-size: 9px;
  margin-top: 5px;
  color: var(--muted);
}

.agency-card {
  background: var(--soft);
}

.button-upwork {
  margin-top: auto;
  align-self: flex-start;
  border-color: var(--line);
  background: var(--card);
}

.button-upwork:hover {
  border-color: var(--blue);
}

.stats-note {
  margin: 13px 0px 0px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.upwork-selector {
  display: none;
}

.contact {
  padding: clamp(25px, 4vw, 55px);
  background: rgb(16, 28, 48);
  color: rgb(244, 247, 255);
  border-radius: 12px;
}

.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.contact-top .eyebrow {
  color: rgb(180, 197, 221);
}

.contact h2 {
  font-size: clamp(32px, 4vw, 58px);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  align-self: flex-start;
  font-size: clamp(14px, 1.7vw, 24px);
  border-bottom: 1px solid rgb(96, 115, 143);
  padding-bottom: 11px;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.contact-email .icon {
  width: 22px;
  height: 22px;
  color: rgb(147, 188, 255);
}

.contact-phone {
  align-self: flex-start;
  font-size: 11px;
  margin-top: 18px;
  color: rgb(184, 198, 218);
}

.contact-email:hover, .contact-phone:hover {
  color: rgb(147, 188, 255);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  color: var(--muted);
}

@media (max-width: 1150px) {
  :root {
    --sidebar-width: 224px;
    --frame-gap: 16px;
  }

  main {
    padding-inline: 24px;
  }

  .nav-link {
    font-size: 12px;
    padding-inline: 11px;
    gap: 11px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-actions .button {
    font-size: 10px;
    gap: 8px;
    padding-inline: 12px;
  }

  .section-kicker {
    font-size: 7px;
  }

  .project-grid {
    --project-columns: 2;
  }

  .testimonial-carousel {
    --review-columns: 2;
  }

  .upwork-card {
    padding: 22px;
  }
}

@media (min-width: 761px) and (max-width: 950px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    max-width: 510px;
  }

  h1 {
    font-size: 53px;
  }

  .upwork-grid {
    grid-template-columns: 1fr;
  }

  .upwork-selector {
    display: flex;
    margin-bottom: 18px;
  }

  .upwork-card:not(.account-active) {
    display: none;
  }

  .upwork-card {
    min-height: 310px;
  }

  .testimonial-carousel {
    --review-columns: 1;
  }

  .section-kicker, .portfolio-heading > p, .footer > span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --frame-gap: 10px;
  }

  body, body.sidebar-collapsed {
    grid-template-columns: minmax(0px, 1fr);
    grid-template-rows: 64px minmax(0px, 1fr);
    gap: 10px;
  }

  .sidebar, .sidebar-collapsed .sidebar {
    position: relative;
    z-index: 20;
    padding: 13px 15px;
    flex-direction: row;
    align-items: center;
    gap: 13px;
    border-radius: 11px;
    overflow: visible;
  }

  .sidebar-top, .sidebar-collapsed .sidebar-top {
    display: block;
    margin: 0px;
    padding: 0px;
  }

  .brand-icon {
    height: 32px;
    width: 32px;
  }

  .collapse-toggle {
    display: none;
  }

  .sidebar-brand, .sidebar-collapsed .sidebar-brand {
    display: block;
    margin: 0px;
    font-size: 13px;
  }

  .sidebar-brand > span {
    font-size: 9px;
    margin-top: 3px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute;
    top: 12px;
    right: 13px;
    height: 38px;
    width: 38px;
    border: 1px solid rgb(70, 76, 85);
    border-radius: 7px;
    background: rgb(48, 52, 57);
  }

  .menu-toggle > span {
    width: 16px;
    height: 1px;
    background: rgb(227, 231, 238);
  }

  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .sidebar-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0px;
    width: min(300px, 100%);
    padding: 14px;
    border: 1px solid rgb(65, 70, 78);
    border-radius: 12px;
    background: rgb(35, 38, 41);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    box-shadow: rgba(17, 24, 39, 0.19) 0px 16px 35px;
  }

  .sidebar-menu.is-open {
    display: flex;
  }

  .sidebar-collapsed .nav-link {
    justify-content: flex-start;
    padding-inline: 12px;
  }

  .sidebar-collapsed .nav-link > span {
    display: flex;
  }

  .nav-link {
    min-height: 43px;
    font-size: 13px;
  }

  main {
    grid-template-rows: 38px minmax(0px, 1fr) 24px;
    gap: 12px;
    border-radius: 11px;
    padding: 0px 18px 5px;
  }

  .page-topline {
    font-size: 7px;
    letter-spacing: 0.9px;
  }

  .page-breadcrumb {
    gap: 8px;
  }

  .page-breadcrumb strong {
    font-size: 10px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .section-kicker {
    display: none;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-grid {
    gap: 23px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-description {
    font-size: 12px;
    line-height: 1.7;
    margin: 16px 0px;
  }

  .testimonial-carousel {
    --review-columns: 2;
    --review-gap: 12px;
  }

  .testimonial-card {
    padding: 19px;
  }

  .testimonial-card blockquote {
    font-size: 12px;
    line-height: 1.8;
  }

  .testimonials-heading {
    gap: 15px;
    margin-bottom: 18px;
  }

  .testimonials-heading > p {
    font-size: 10px;
  }

  .portfolio {
    gap: 12px;
  }

  .portfolio-heading h2 {
    font-size: 30px;
  }

  .portfolio-heading > p {
    font-size: 10px;
  }

  .project-grid {
    --project-columns: 2;
    gap: 15px;
  }

  .project h3 {
    font-size: 13px;
  }

  .project-category {
    font-size: 6px;
    letter-spacing: 0.5px;
  }

  .project-info {
    padding-top: 8px;
  }

  .portfolio-pagination > p {
    font-size: 9px;
  }

  .pagination-controls {
    gap: 8px;
  }

  .page-button {
    width: 31px;
    height: 31px;
  }

  .upwork-grid {
    gap: 14px;
  }

  .upwork-card {
    padding: 20px;
  }

  .upwork-card h3 {
    font-size: 23px;
  }

  .contact {
    padding: 26px;
  }

  .contact h2 {
    font-size: 40px;
  }

  .footer {
    font-size: 8px;
  }

  .footer > span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 600px) {
  main {
    padding-inline: 16px;
    gap: 10px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  h1 {
    font-size: clamp(34px, min(10.5vw, 6.7dvh), 48px);
    line-height: 1.02;
  }

  .hero-description {
    font-size: 12px;
    margin: 12px 0px;
  }

  .hero-actions .button {
    padding: 9px 12px;
    font-size: 10px;
    min-height: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .upwork-selector button {
    font-size: 10px;
    padding: 7px 12px;
  }

  .testimonials-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .testimonials-heading h2 {
    font-size: 30px;
  }

  .testimonials-heading > p {
    max-width: 100%;
    margin: 0px;
  }

  .testimonial-carousel {
    --review-columns: 1;
  }

  .testimonial-card {
    padding: 23px;
  }

  .testimonial-card blockquote {
    font-size: 13px;
    margin: 12px 0px 22px;
  }

  .testimonial-controls {
    gap: 8px;
    margin-top: 15px;
  }

  #review-status {
    display: none;
  }

  .portfolio-heading h2 {
    font-size: 27px;
  }

  .portfolio-heading > p {
    display: none;
  }

  .project-grid {
    gap: 14px 12px;
  }

  .project-category {
    font-size: 6px;
  }

  .project h3 {
    font-size: 11px;
    line-height: 1.3;
  }

  .portfolio-pagination > p {
    max-width: 155px;
    font-size: 8px;
    line-height: 1.6;
  }

  .upwork-heading {
    margin-bottom: 17px;
  }

  .upwork-heading > p {
    font-size: 11px;
    margin-top: 10px;
    line-height: 1.7;
  }

  .upwork-selector {
    display: flex;
    margin-bottom: 15px;
  }

  .upwork-grid {
    grid-template-columns: 1fr;
  }

  .upwork-card:not(.account-active) {
    display: none;
  }

  .upwork-card {
    padding: 22px;
    min-height: 300px;
  }

  .upwork-card-top {
    margin-bottom: 20px;
  }

  .upwork-card h3 {
    font-size: 25px;
  }

  .stats-note {
    font-size: 8px;
    margin-top: 12px;
  }

  .contact {
    padding: 24px;
  }

  .contact h2 {
    font-size: 33px;
  }

  .contact-email {
    font-size: 14px;
    gap: 9px;
  }

  .contact-email .icon {
    width: 16px;
    height: 16px;
  }

  .contact-phone {
    font-size: 10px;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .sidebar {
    padding-top: 16px;
  }

  .sidebar-brand {
    margin-block: 18px;
  }

  .navigation {
    gap: 5px;
  }

  .nav-link {
    min-height: 43px;
  }

  main {
    grid-template-rows: 46px minmax(0px, 1fr) 24px;
    gap: 12px;
  }

  .hero-description {
    margin-block: 15px;
    font-size: 12px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .upwork-heading {
    margin-bottom: 20px;
  }

  .upwork-card {
    padding: 22px;
  }

  .upwork-card-top {
    margin-bottom: 20px;
  }

  .upwork-stats {
    padding-block: 15px;
    margin-block: 16px;
  }

  .contact-top {
    margin-bottom: 15px;
  }

  .testimonials-heading {
    margin-bottom: 15px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-card blockquote {
    font-size: 12px;
    line-height: 1.7;
  }
}

@media (max-height: 700px) and (max-width: 600px) {
  .hero-grid {
    gap: 14px;
  }

  .hero-description {
    font-size: 11px;
    line-height: 1.65;
  }

  .upwork .section-heading {
    margin-bottom: 12px;
  }

  .upwork-heading {
    margin-bottom: 12px;
  }

  .upwork-heading h2 {
    font-size: 26px;
  }

  .upwork-heading > p {
    font-size: 10px;
    margin-top: 8px;
  }

  .upwork-selector {
    margin-bottom: 10px;
  }

  .upwork-card {
    min-height: 0px;
    padding: 17px;
  }

  .upwork-card-top {
    margin-bottom: 12px;
  }

  .upwork-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .upwork-card > p:not(.card-eyebrow) {
    font-size: 11px;
  }

  .card-eyebrow {
    margin-bottom: 8px;
  }

  .upwork-stats {
    margin-block: 13px;
    padding-block: 13px;
  }

  .upwork-stats strong {
    font-size: 21px;
  }

  .upwork-card .button {
    margin-top: 20px;
  }

  .stats-note {
    font-size: 7px;
  }

  .contact {
    padding: 20px;
  }

  .contact h2 {
    font-size: 29px;
  }

  .contact-top {
    margin-bottom: 17px;
  }

  .testimonial-card {
    padding: 19px;
  }

  .testimonial-card blockquote {
    font-size: 12px;
    line-height: 1.7;
  }

  .testimonials-heading h2 {
    font-size: 27px;
  }
}

@media (max-height: 500px) {
  :root {
    --frame-gap: 8px;
  }

  .sidebar-brand {
    margin-block: 12px;
  }

  .nav-link {
    min-height: 34px;
    padding-block: 8px;
  }

  main {
    grid-template-rows: 32px minmax(0px, 1fr) 18px;
    gap: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-description {
    font-size: 10px;
    line-height: 1.6;
    margin: 10px 0px;
  }

  .hero-actions .button {
    min-height: 32px;
    padding: 8px 10px;
  }

  h2 {
    font-size: 25px;
  }

  .section-heading {
    margin-bottom: 10px;
  }

  .portfolio-heading h2 {
    font-size: 25px;
  }

  .portfolio {
    gap: 9px;
  }

  .upwork-heading {
    margin-bottom: 12px;
  }

  .upwork-heading h2 {
    font-size: 26px;
  }

  .upwork-heading > p, .upwork-selector {
    margin-top: 6px;
    margin-bottom: 8px;
  }

  .upwork-grid {
    grid-template-columns: 1fr 1fr;
  }

  .upwork-selector {
    display: none;
  }

  .upwork-card:not(.account-active) {
    display: flex;
  }

  .upwork-card {
    min-height: 0px;
    padding: 15px;
  }

  .upwork-card-top {
    margin-bottom: 10px;
    min-height: 22px;
  }

  .upwork-card h3 {
    font-size: 20px;
    margin-bottom: 7px;
  }

  .upwork-card > p:not(.card-eyebrow) {
    font-size: 10px;
    line-height: 1.6;
  }

  .card-eyebrow {
    margin-bottom: 7px;
    font-size: 7px;
  }

  .upwork-stats {
    margin: 10px 0px;
    padding: 10px 0px;
  }

  .upwork-stats strong {
    font-size: 19px;
  }

  .upwork-card .button {
    min-height: 33px;
    font-size: 9px;
    padding: 8px 10px;
  }

  .stats-note {
    font-size: 7px;
    margin-top: 8px;
  }

  .contact {
    padding: 20px 30px;
  }

  .contact-top {
    margin-bottom: 10px;
  }

  .contact h2 {
    font-size: 29px;
  }

  .contact-email {
    font-size: 17px;
    padding-bottom: 7px;
  }

  .contact-phone {
    margin-top: 10px;
  }

  .testimonials-heading {
    flex-direction: row;
    gap: 20px;
    margin-bottom: 12px;
  }

  .testimonials-heading h2 {
    font-size: 25px;
  }

  .testimonial-card {
    padding: 15px;
  }

  .quote-mark {
    font-size: 30px;
  }

  .testimonial-card blockquote {
    font-size: 10px;
    line-height: 1.6;
    margin-block: 8px 12px;
  }

  .testimonial-controls {
    margin-top: 10px;
  }
}

@media (min-width: 761px) and (max-width: 950px) and (max-height: 720px) {
  .hero-grid {
    gap: 18px;
  }

  h1 {
    font-size: 47px;
  }

  .hero-description {
    margin-block: 12px;
  }

  .upwork-card {
    min-height: 295px;
    padding: 20px;
  }
}

@media (max-width: 760px) {
  .upwork-card-top {
    margin-bottom: 20px;
  }

  .upwork-stats {
    padding-block: 15px;
    margin-block: 16px;
  }

  .stats-note {
    margin-top: 8px;
  }
}

@media (max-width: 600px) and (max-height: 700px) {
  .upwork-card-top {
    margin-bottom: 12px;
  }

  .upwork-stats {
    margin-block: 12px;
    padding-block: 12px;
  }
}

@media (max-width: 600px) and (max-height: 620px) {
  .hero-description {
    margin-block: 10px;
  }

  .upwork .section-heading {
    display: none;
  }

  .testimonials-heading > p {
    display: none;
  }

  .testimonials-heading {
    margin-bottom: 12px;
  }

  .testimonials-heading h2 {
    font-size: 24px;
  }

  .testimonial-card {
    padding: 16px;
  }

  .quote-mark {
    display: none;
  }

  .testimonial-card blockquote {
    margin: 0px 0px 15px;
    font-size: 11px;
    line-height: 1.7;
  }

  .testimonial-controls {
    margin-top: 12px;
  }

  .upwork-heading {
    margin-bottom: 10px;
  }

  .upwork-heading > p {
    display: none;
  }

  .upwork-heading h2 {
    font-size: 24px;
  }

  .upwork-card {
    padding: 14px;
  }

  .upwork-card-top {
    margin-bottom: 10px;
  }

  .upwork .card-eyebrow {
    display: none;
  }

  .upwork-card > p:not(.card-eyebrow) {
    font-size: 10px;
    line-height: 1.65;
  }

  .upwork-stats {
    margin-block: 10px;
    padding-block: 10px;
  }

  .contact {
    padding: 15px;
  }

  .contact-top {
    margin-bottom: 12px;
  }

  .contact h2 {
    font-size: 26px;
  }

  .contact-phone {
    margin-top: 12px;
  }
}

@media (max-height: 500px) and (min-width: 761px) {
  h1 {
    font-size: 34px;
  }

  .sidebar {
    padding: 12px 14px;
  }

  .sidebar-brand > span {
    display: none;
  }

  .sidebar-brand {
    margin-block: 10px;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
  }

  .collapse-toggle {
    width: 28px;
    height: 28px;
  }

  .navigation {
    gap: 4px;
  }

  .nav-link {
    min-height: 32px;
    font-size: 11px;
  }

  .upwork .section-heading {
    display: none;
  }

  .upwork-heading > p, .upwork .card-eyebrow {
    display: none;
  }

  .upwork-card {
    padding: 12px;
    min-height: 0px;
  }

  .upwork-card-top {
    margin-bottom: 6px;
  }

  .upwork-card h3 {
    font-size: 17px;
  }

  .upwork-stats {
    margin-block: 7px;
    padding-block: 7px;
  }

  .testimonials-heading > p, .quote-mark {
    display: none;
  }

  .testimonials-heading {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation: auto ease 0s 1 normal none running none !important;
    transition: none !important;
  }
}

.no-js .section {
  display: none;
}

.no-js #profile, .no-js .section:target {
  display: flex;
}

.no-js main:has(.section:target) #profile:not(:target) {
  display: none;
}

.no-js .nav-link {
  pointer-events: auto;
}

.no-js .project-grid {
  display: flex;
  overflow-x: auto;
  height: 50dvh;
}

.no-js .project {
  min-width: 250px;
}

@media (max-width: 760px) {
  .no-js .sidebar-menu {
    display: flex;
  }
}

/* Typography, brand colors, and component details */

@font-face {
  font-family: Onest;
  src: url("assets/fonts/onest.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Alexandria;
  src: url("assets/fonts/alexandria.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --canvas: #e8eef8;
  --paper: #f3f7ff;
  --card: #fff;
  --ink: #11182c;
  --muted: #5f6b83;
  --line: #dce5f5;
  --soft: #eaf1fc;
  --blue: #3b82f6;
  --navy: #001043;
}

:root[data-theme="dark"] {
  --canvas: #000b2b;
  --paper: #061752;
  --card: #0b2059;
  --ink: #fff;
  --muted: #becbe5;
  --line: #20336a;
  --soft: #0b2059;
  --blue: #7dabff;
}

body {
  font-family: Onest, "Segoe UI", sans-serif;
}

h1, h2, h3 {
  font-family: Alexandria, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.profile {
  gap: clamp(18px, 3dvh, 32px);
}

.profile .hero-copy {
  min-width: 0px;
  max-width: none;
  container-type: inline-size;
}

.profile .profile-role {
  white-space: nowrap;
  font-size: clamp(11px, 1.05vw, 16px);
  margin: 16px 0px;
}

.profile .hero-description {
  max-width: none;
}

.intro-video {
  min-width: 0px;
  margin: 0px;
}

.intro-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: rgb(0, 10, 43);
  border: 1px solid rgb(41, 65, 117);
}

.intro-video-trigger {
  display: block;
  width: 100%;
  height: 100%;
}

.intro-video-trigger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 62px;
  height: 44px;
  border-radius: 12px;
  color: white;
  background: rgb(239, 34, 34);
  transition: background 0.2s;
}

.intro-video-play svg {
  width: 26px;
  height: 26px;
}

.intro-video-trigger:hover .intro-video-play {
  background: rgb(204, 23, 23);
}

.intro-video-trigger:focus-visible {
  outline: white solid 3px;
  outline-offset: -4px;
}

.intro-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0px;
}

.profile-facts {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr;
  gap: 18px;
}

.profile-fact {
  min-width: 0px;
  border: 1px solid rgb(41, 65, 117);
  border-radius: 12px;
  padding: 20px;
  background: rgb(6, 23, 82);
}

.profile-fact h3 {
  font-family: Onest, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0px;
  margin: 0px 0px 14px;
  color: white;
}

.profile-fact p, .profile-fact dl {
  font-size: 12px;
  line-height: 1.6;
  color: rgb(191, 206, 233);
  margin: 0px;
}

.profile-fact p + p {
  margin-top: 8px;
}

.profile-fact p > span {
  margin-right: 8px;
}

.profile-fact dl > div {
  display: flex;
  gap: 8px;
}

.profile-fact dl > div + div {
  margin-top: 8px;
}

.profile-fact dt {
  font-weight: 500;
  color: white;
}

.profile-fact dd {
  margin: 0px;
}

.profile-verification p {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-verification .icon {
  width: 14px;
  height: 14px;
  color: rgb(125, 171, 255);
  flex-shrink: 0;
}

.section-heading {
  display: none;
}

.page-topline {
  font-size: 10px;
  letter-spacing: 0.4px;
}

.page-breadcrumb strong {
  font-size: 13px;
}

.sidebar {
  box-shadow: none;
}

.brand-icon {
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
}

.sidebar-brand {
  font-size: 14px;
}

.nav-link {
  font-size: 13px;
}

.sidebar-top {
  padding: 0px;
  margin-bottom: 28px;
  gap: 10px;
}

.sidebar-logo, .sidebar-top .collapse-toggle {
  flex-shrink: 0;
}

.sidebar-top .sidebar-brand {
  flex: 1 1 0%;
  min-width: 0px;
  margin: 0px;
  white-space: nowrap;
  line-height: 1.4;
}

.sidebar-top .sidebar-brand > span {
  margin-top: 4px;
  color: rgb(191, 206, 233);
}

.collapse-toggle {
  background: rgb(11, 32, 89);
}

.collapse-toggle:hover {
  background: rgb(25, 55, 117);
}

@media (max-width: 760px) {
  .sidebar-top, .sidebar-collapsed .sidebar-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0px;
    padding: 0px 48px 0px 0px;
  }

  .sidebar-menu {
    background: rgb(37, 99, 235);
    border-color: rgb(37, 99, 235);
  }

  .menu-toggle {
    background: rgb(11, 32, 89);
    border-color: rgb(41, 65, 117);
  }
}

.sidebar-menu {
  width: auto;
}

.button {
  border-radius: 8px;
  font-size: 12px;
}

.button-primary {
  background: rgb(37, 99, 235);
}

.button-primary:hover {
  background: rgb(29, 78, 216);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.4px;
  font-weight: 500;
}

main {
  --ink: #fff;
  --muted: #bfcee9;
  --line: #294175;
  --soft: #0b2059;
  --card: #061752;
  --blue: #7dabff;
  background: rgb(0, 16, 67);
  border-color: rgb(24, 49, 106);
  color: white;
}

.profile .hero-grid {
  grid-template-columns: 0.95fr 1.05fr;
  grid-template-rows: auto;
  gap: 36px;
  align-items: center;
}

.profile-intro .eyebrow {
  margin-bottom: 14px;
  color: rgb(125, 171, 255);
}

.profile h1 {
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.profile-role {
  font-size: 17px;
  line-height: 1.6;
  margin: 15px 0px;
  color: rgb(225, 234, 250);
}

.profile .hero-description {
  font-size: 14px;
  line-height: 1.75;
  margin: 0px 0px 23px;
  color: rgb(191, 206, 233);
}

.profile .button-outline {
  border-color: rgb(69, 99, 155);
}

.profile .button-outline:hover {
  background: rgb(16, 38, 95);
}

h2, .portfolio-heading h2, .upwork-heading h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.portfolio {
  grid-template-rows: auto minmax(0px, 1fr) auto;
}

.portfolio-heading {
  margin-bottom: clamp(14px, 2.5dvh, 24px);
}

.portfolio-heading > p {
  font-size: 12px;
}

.project h3 {
  font-size: 14px;
  line-height: 1.35;
}

.project-category {
  font-size: 8px;
  letter-spacing: 0.3px;
}

.project-info {
  padding-top: 12px;
}

.testimonials-heading {
  align-items: center;
  margin-bottom: 30px;
  gap: 25px;
}

.testimonials-heading > p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 245px;
  color: rgb(191, 206, 233);
}

.testimonial-card {
  background: rgb(6, 23, 82);
  border-color: rgb(38, 57, 103);
  padding: 27px;
  border-radius: 16px;
}

.testimonial-card blockquote {
  font-size: 14px;
  line-height: 1.8;
  color: rgb(228, 236, 250);
}

.testimonial-card footer strong {
  font-size: 13px;
}

.testimonial-card footer div > span {
  font-size: 10px;
  color: rgb(180, 197, 230);
}

.review-avatar {
  background: rgb(36, 71, 121);
  color: white;
}

.quote-mark {
  color: rgb(125, 171, 255);
}

.review-playback, .testimonials .page-button {
  color: white;
  background: rgb(6, 23, 82);
  border-color: rgb(50, 72, 121);
}

.upwork-card {
  border-radius: 16px;
}

.upwork-card h3 {
  font-size: 24px;
}

.upwork-stats {
  grid-template-columns: repeat(4, minmax(0px, 1fr));
}

.upwork-stats strong {
  font-size: clamp(19px, 1.8vw, 25px);
}

.upwork-stats > div {
  min-width: 0px;
}

.agency-card > p:not(.card-eyebrow) {
  font-size: 13px;
}

.contact {
  background: transparent;
  border-radius: 16px;
}

.contact .eyebrow {
  color: rgb(197, 220, 255);
}

.contact h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  max-width: 600px;
  line-height: 1.25;
}

.contact-email {
  border-color: rgb(160, 185, 230);
}

.contact-phone {
  color: rgb(211, 226, 250);
  font-size: 12px;
}

.footer {
  font-size: 10px;
}

@media (max-width: 1150px) {
  .nav-link {
    font-size: 12px;
  }

  .profile .hero-grid {
    gap: 20px 25px;
  }

  .profile h1 {
    font-size: 39px;
  }

  .profile-role {
    font-size: 15px;
  }

  .profile .hero-description {
    font-size: 13px;
  }

  .testimonial-card {
    padding: 24px;
  }
}

@media (min-width: 761px) and (max-width: 950px) {
  .profile .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-intro {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .profile h1 {
    font-size: 34px;
  }
}

@media (max-width: 760px) {
  .sidebar-menu {
    width: 100%;
    left: 0px;
    right: 0px;
  }

  .page-breadcrumb strong {
    font-size: 11px;
  }

  .profile .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .profile-intro {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .profile h1 {
    font-size: 34px;
  }

  .profile-role {
    font-size: 15px;
  }

  .portfolio-heading > p {
    font-size: 11px;
  }

  .project h3 {
    font-size: 13px;
  }

  .testimonials-heading {
    gap: 15px;
    margin-bottom: 22px;
  }

  .testimonial-card {
    padding: 22px;
  }

  .testimonial-card blockquote {
    font-size: 13px;
  }

  .upwork-card h3 {
    font-size: 22px;
  }

  .footer {
    font-size: 8px;
  }
}

@media (max-width: 600px) {
  .profile .hero-grid {
    gap: 19px;
  }

  .profile-intro {
    gap: 13px;
  }

  .profile-intro .eyebrow {
    font-size: 10px;
    margin-bottom: 9px;
  }

  .profile h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .profile-role {
    font-size: 14px;
    margin-block: 14px;
  }

  .profile .hero-description {
    font-size: 12px;
    margin-bottom: 18px;
  }

  h2, .portfolio-heading h2, .upwork-heading h2 {
    font-size: 27px;
  }

  .portfolio-heading > p {
    display: none;
  }

  .project h3 {
    font-size: 11px;
  }

  .project-category {
    font-size: 6px;
  }

  .testimonials-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .testimonials-heading h2 {
    font-size: 27px;
  }

  .testimonials-heading > p {
    margin: 0px;
    font-size: 11px;
    max-width: 100%;
  }

  .testimonial-card {
    padding: 23px;
  }

  .testimonial-card blockquote {
    font-size: 13px;
  }

  .contact h2 {
    font-size: 30px;
  }

  .contact-phone {
    font-size: 11px;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .nav-link {
    min-height: 39px;
  }

  .navigation {
    gap: 5px;
  }

  .sidebar-brand {
    margin-block: 18px;
  }

  .profile h1 {
    font-size: 38px;
  }

  .profile-role {
    margin-block: 12px;
  }

  .profile .hero-description {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .profile .hero-grid {
    gap: 18px 26px;
  }

  .testimonial-card blockquote {
    font-size: 12px;
  }
}

@media (max-width: 600px) and (max-height: 700px) {
  .profile .hero-grid {
    gap: 15px;
  }

  .testimonial-card blockquote {
    font-size: 12px;
    line-height: 1.75;
  }

  .agency-card > p:not(.card-eyebrow) {
    font-size: 11px;
  }

  .contact h2 {
    font-size: 27px;
  }
}

@media (max-width: 600px) and (max-height: 620px) {
  .upwork-stats strong {
    font-size: 18px;
  }

  .upwork-card {
    padding: 12px;
  }

  .upwork-stats {
    margin-block: 9px;
    padding-block: 9px;
  }

  .profile h1 {
    font-size: 25px;
  }

  .profile-role {
    font-size: 12px;
    margin-block: 11px;
  }

  .profile .hero-description {
    font-size: 11px;
    line-height: 1.65;
    margin-bottom: 14px;
  }

  .testimonials-heading h2 {
    font-size: 25px;
  }

  .testimonials-heading > p {
    display: none;
  }

  .testimonials-heading {
    margin-bottom: 16px;
  }

  .testimonial-card {
    padding: 18px;
  }

  .testimonial-card blockquote {
    font-size: 11px;
    line-height: 1.7;
  }

  .quote-mark {
    display: none;
  }

  .contact h2 {
    font-size: 25px;
  }
}

@media (max-height: 500px) and (min-width: 761px) {
  .upwork-stats strong {
    font-size: 16px;
  }

  .sidebar {
    padding: 8px 12px;
  }

  .sidebar-brand {
    margin-block: 7px;
  }

  .navigation {
    gap: 2px;
  }

  .nav-link {
    min-height: 28px;
    padding-block: 5px;
    font-size: 10px;
  }

  .profile .hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 12px 20px;
  }

  .profile-intro .eyebrow {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .profile h1 {
    font-size: 29px;
  }

  .profile-role {
    font-size: 12px;
    line-height: 1.5;
    margin-block: 9px;
  }

  .profile .hero-description {
    font-size: 10px;
    line-height: 1.65;
    margin-bottom: 12px;
  }

  h2, .portfolio-heading h2, .upwork-heading h2, .testimonials-heading h2 {
    font-size: 25px;
  }

  .testimonial-card {
    padding: 16px;
  }

  .testimonial-card blockquote {
    font-size: 10px;
    line-height: 1.65;
  }

  .testimonials-heading > p {
    display: none;
  }

  .testimonials-heading {
    margin-bottom: 15px;
  }

  .upwork-card h3 {
    font-size: 17px;
  }

  .agency-card > p:not(.card-eyebrow) {
    font-size: 10px;
  }

  .contact h2 {
    font-size: 27px;
  }
}

.optimization-heading {
  margin-bottom: 26px;
}

.optimization-heading h2 {
  font-size: clamp(26px, 2.8vw, 39px);
}

.optimization-heading > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 14px 0px 0px;
}

.optimization {
  overflow: hidden auto;
  justify-content: safe center;
  scrollbar-width: thin;
  scrollbar-color: rgb(69, 99, 155) transparent;
}

.optimization-heading, .speed-grid, .speed-source {
  flex-shrink: 0;
}

.speed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 20px;
}

.speed-card {
  min-width: 0px;
  padding: 25px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.report-device {
  display: inline-block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 12px;
}

.speed-card h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 0px 0px 8px;
}

.speed-card header > p {
  color: var(--muted);
  font-size: 11px;
  margin: 0px;
  overflow-wrap: anywhere;
}

.speed-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.speed-images figure {
  min-width: 0px;
  margin: 0px;
}

.speed-images figcaption {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.speed-image-open {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255, 255, 255);
  cursor: zoom-in;
}

.speed-image-open img {
  display: block;
  width: 100%;
  height: auto;
}

.speed-image-open:hover {
  border-color: rgb(125, 171, 255);
}

.speed-lightbox {
  width: min(1050px, -24px + 100vw);
  height: min(94dvh, 980px);
  max-width: none;
  max-height: none;
  padding: 16px;
  color: rgb(255, 255, 255);
  border: 1px solid rgb(41, 65, 117);
  border-radius: 14px;
  background: rgb(6, 23, 82);
  overflow: hidden;
}

.speed-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0px, 1fr);
  gap: 16px;
}

.speed-lightbox::backdrop {
  background: rgba(0, 8, 31, 0.86);
  backdrop-filter: blur(7px);
}

.speed-lightbox-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.speed-lightbox-header h2 {
  min-width: 0px;
  flex: 1 1 0%;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: 0px;
}

.speed-lightbox-header button {
  min-height: 44px;
  flex-shrink: 0;
}

.speed-lightbox-image {
  min-height: 0px;
  overflow: auto;
  overscroll-behavior: contain;
  background: rgb(255, 255, 255);
  border-radius: 6px;
}

.speed-lightbox-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.speed-source {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
  margin: 15px 0px 0px;
}

.speed-title-short {
  display: none;
}

@media (max-height: 820px) and (min-width: 761px) {
  .nav-link {
    min-height: 42px;
    padding-block: 10px;
  }

  .navigation {
    gap: 5px;
  }
}

@media (max-height: 800px) {
  .speed-card {
    padding: 20px;
  }

  .report-device {
    display: none;
  }
}

@media (max-width: 1150px) {
  .speed-card {
    padding: 20px;
  }

  .speed-card h3 {
    font-size: 16px;
  }
}

@media (max-width: 950px) and (min-width: 761px) {
  .speed-grid {
    gap: 12px;
  }

  .speed-card {
    padding: 16px;
  }

  .speed-card h3 {
    font-size: 14px;
  }

  .speed-card header > p {
    font-size: 9px;
  }
}

@media (max-width: 760px) {
  .optimization-heading h2 {
    font-size: 28px;
  }

  .speed-grid {
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .speed-title-full {
    display: none;
  }

  .speed-title-short {
    display: inline;
  }

  .optimization-heading {
    margin-bottom: 17px;
  }

  .optimization-heading h2 {
    font-size: 25px;
  }

  .optimization-heading > p {
    font-size: 11px;
    margin-top: 10px;
  }

  .speed-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .speed-card {
    padding: 17px;
  }

  .speed-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .report-device {
    display: none;
  }

  .speed-card header > p {
    font-size: 9px;
  }

  .speed-source {
    font-size: 8px;
    margin-top: 12px;
  }
}

@media (max-width: 600px) and (max-height: 620px) {
  .optimization-heading h2 {
    font-size: 22px;
  }

  .optimization-heading > p {
    font-size: 10px;
    margin-top: 7px;
  }

  .optimization-heading {
    margin-bottom: 12px;
  }

  .speed-card {
    padding: 11px;
  }

  .speed-grid {
    gap: 10px;
  }

  .speed-card h3 {
    font-size: 13px;
  }

  .speed-source {
    font-size: 7px;
    margin-top: 8px;
  }
}

@media (max-height: 500px) and (min-width: 761px) {
  .optimization-heading {
    margin-bottom: 13px;
  }

  .optimization-heading h2 {
    font-size: 24px;
  }

  .optimization-heading > p {
    font-size: 10px;
    margin-top: 8px;
  }

  .speed-card {
    padding: 14px;
  }

  .report-device {
    display: none;
  }

  .speed-card h3 {
    font-size: 13px;
  }

  .speed-card header > p {
    font-size: 9px;
  }

  .speed-source {
    margin-top: 9px;
    font-size: 7px;
  }
}

.no-js .collapse-toggle, .no-js .portfolio-pagination, .no-js .testimonial-controls {
  display: none;
}

.profile-subpanel {
  min-width: 0px;
  min-height: 0px;
}

.profile-subpanel:focus {
  outline: none;
}

.verified-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}

.verified-label .icon {
  width: 17px;
  height: 17px;
  color: rgb(125, 171, 255);
}

.language-verification {
  margin-left: 5px;
  color: rgb(125, 171, 255);
}

.endorsement-card .quote-mark {
  display: none;
}

.endorsement-card blockquote {
  margin-top: 0px;
}

.agency-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
  margin: 22px 0px;
}

.agency-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
}

.agency-stats span {
  display: block;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 5px;
}

@media (max-width: 600px) {
  .agency-stats {
    gap: 9px;
    padding-block: 14px;
    margin-block: 17px;
  }

  .agency-stats strong {
    font-size: 21px;
  }

  .agency-stats span {
    font-size: 8px;
  }
}

@media (max-width: 600px) and (max-height: 700px) {
  .agency-stats {
    padding-block: 10px;
    margin-block: 12px;
  }

  .endorsement-card blockquote {
    font-size: 11px;
    line-height: 1.7;
  }
}

@media (max-width: 600px) and (max-height: 620px) {
  .endorsement-card blockquote {
    font-size: 10px;
    line-height: 1.7;
  }

  .agency-stats {
    padding-block: 10px;
    margin-block: 12px;
  }

  .agency-stats strong {
    font-size: 18px;
  }

  .agency-stats span {
    font-size: 8px;
    line-height: 1.4;
  }

  .upwork-card .button {
    margin-top: 8px;
    min-height: 36px;
    padding: 9px 12px;
  }
}

@media (max-height: 500px) and (min-width: 761px) {
  .agency-stats {
    padding-block: 10px;
    margin-block: 11px;
  }

  .agency-stats strong {
    font-size: 18px;
  }

  .agency-stats span {
    font-size: 7px;
  }

  .endorsement-card blockquote {
    font-size: 10px;
  }
}

@media (max-height: 500px) and (min-width: 761px) {
  .nav-link {
    min-height: 28px;
    padding-block: 5px;
    font-size: 10px;
  }

  .navigation {
    gap: 2px;
  }
}

@media (min-width: 951px) {
  .profile .hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    grid-template-rows: auto;
  }
}

@media (max-width: 1150px) {
  .profile-facts {
    gap: 14px;
  }

  .profile-fact {
    padding: 16px;
  }

  .profile-fact p, .profile-fact dl {
    font-size: 10px;
  }

  .profile-fact h3 {
    font-size: 12px;
    margin-bottom: 10px;
  }
}

@media (max-width: 950px) and (min-height: 501px) {
  .profile {
    gap: 20px;
  }

  .profile .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile .hero-description {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .profile .profile-role {
    font-size: 12px;
    margin: 12px 0px;
  }

  .intro-video {
    width: min(100%, 520px);
  }

  .intro-video-frame {
    max-height: 25dvh;
  }

  .profile-facts {
    grid-template-columns: 1fr 1.15fr;
    gap: 14px 20px;
  }

  .profile-verification {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .profile-verification h3 {
    margin: 0px;
  }

  .profile-verification p + p {
    margin: 0px;
  }
}

@media (max-width: 760px) {
  .profile {
    gap: 16px;
  }

  .profile .hero-grid {
    gap: 16px;
  }

  .profile .profile-role {
    font-size: clamp(9px, 2.6vw, 12px);
    margin: 10px 0px;
  }

  .profile .hero-description {
    font-size: clamp(9px, 2.65vw, 12px);
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .profile .hero-actions .button {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 10px;
  }

  .profile-intro .eyebrow {
    margin-bottom: 8px;
  }

  .intro-video-frame {
    max-height: 22dvh;
  }

  .profile-facts {
    gap: 10px;
  }

  .profile-fact {
    padding: 12px;
    border-radius: 10px;
  }

  .profile-fact h3 {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .profile-fact p, .profile-fact dl {
    font-size: 10px;
    line-height: 1.5;
  }

  .profile-fact p + p, .profile-fact dl > div + div {
    margin-top: 6px;
  }

  .profile-fact dl > div {
    gap: 5px;
  }

  .profile-verification {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .profile-verification h3 {
    display: none;
  }
}

@media (max-width: 600px) and (max-height: 700px) {
  .profile {
    gap: 12px;
  }

  .profile .hero-grid {
    gap: 12px;
  }

  .profile h1 {
    font-size: 27px;
  }

  .profile .hero-actions {
    display: none;
  }

  .profile .hero-description {
    margin-bottom: 0px;
  }

  .intro-video-frame {
    max-height: 20dvh;
  }
}

@media (max-width: 600px) and (max-height: 620px) {
  .profile h1 {
    font-size: 24px;
  }

  .profile .profile-role {
    margin: 8px 0px;
  }

  .profile-fact p, .profile-fact dl {
    font-size: 9px;
  }

  .profile-fact {
    padding: 9px;
  }

  .intro-video-frame {
    max-height: 18dvh;
  }
}

@media (max-height: 500px) and (min-width: 761px) {
  .profile {
    gap: 14px;
  }

  .profile .profile-role {
    font-size: 10px;
    margin: 9px 0px;
  }

  .profile .hero-description {
    font-size: 9px;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .intro-video {
    width: 100%;
    max-width: 310px;
    justify-self: end;
  }

  .profile-facts {
    gap: 12px;
  }

  .profile-fact {
    padding: 12px;
  }

  .profile-fact h3 {
    font-size: 10px;
    margin-bottom: 7px;
  }

  .profile-fact p, .profile-fact dl {
    font-size: 9px;
  }

  .profile-fact p + p, .profile-fact dl > div + div {
    margin-top: 4px;
  }
}

.profile .profile-role {
  font-size: clamp(9px, 3cqw, 16px);
}

.profile .hero-description {
  font-size: clamp(9px, 3cqw, 14px);
}

.about {
  display: grid;
  grid-template-rows: auto minmax(0px, 1fr);
  gap: 22px;
  padding-block: 10px;
}

.about-boxes {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: minmax(0px, 1.8fr) minmax(0px, 1fr);
  gap: 18px;
  min-height: 0px;
}

.about-box {
  min-width: 0px;
  min-height: 0px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(69, 99, 155) transparent;
}

.about-box h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0px 0px 12px;
}

.about-box h4 {
  font-family: Onest, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0px;
  line-height: 1.5;
  margin: 0px 0px 5px;
}

.about-box p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0px 0px 10px;
}

.about-box .about-entry-meta {
  display: table;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgb(25, 55, 117);
  color: rgb(237, 244, 255);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 8px;
}

#about-education .about-entry + .about-entry {
  margin-top: 8px;
  padding-top: 8px;
}

.about-box .about-entry + .about-entry {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 8px;
}

.about-box#about-experience .about-entry + .about-entry {
  padding-top: 24px;
  margin-top: 24px;
}

.about-box .about-entry p:last-child {
  margin-bottom: 0px;
}

.about-box .verified-label {
  color: var(--blue);
}

.verified-badge {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.about-entry-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.about-entry-heading h4, .about-entry-heading .about-entry-meta {
  margin: 0px;
}

.about-entry-heading .about-entry-meta {
  margin-left: auto;
}

.about-box:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -4px;
}

.overview-checklist {
  list-style: none;
  margin: 0px;
  padding: 0px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.overview-checklist li {
  position: relative;
  padding-left: 17px;
}

.overview-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0px;
  color: rgb(108, 228, 166);
  font-weight: 600;
}

.about-box .overview-services-title {
  font-size: 13px;
  margin: 14px 0px 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue);
}

@media (max-width: 1150px), (max-height: 750px) {
  .about {
    gap: 16px;
    padding-block: 4px;
  }

  .about-boxes {
    gap: 14px;
  }

  .about-box {
    padding: 17px;
  }

  .about-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
}

@media (max-width: 760px) {
  .about {
    gap: 14px;
  }

  .about-boxes {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0px, 1fr) minmax(0px, 1fr);
    gap: 12px;
  }

  .about-box {
    padding: 14px;
    border-radius: 10px;
  }

  .about-box h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  .about-boxes {
    gap: 10px;
  }

  .about-box {
    padding: 12px;
  }

  .about-box .verified-label {
    align-items: flex-start;
  }
}

@media (max-height: 500px) and (min-width: 761px) {
  .about {
    gap: 10px;
  }

  .about-boxes {
    gap: 10px;
  }

  .about-box {
    padding: 12px;
  }

  .about-box h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
}

.no-js .about-boxes {
  grid-template-rows: auto auto;
}

.portfolio {
  grid-template-columns: minmax(0px, 1fr);
  justify-content: stretch;
}

.portfolio-heading > p {
  font-size: 13px;
  line-height: 1.6;
  white-space: nowrap;
}

.project-grid {
  gap: 32px 28px;
}

@media (min-width: 951px) and (max-width: 1150px) {
  .portfolio-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.project-preview {
  display: grid;
  place-items: center;
  flex: 1 1 0%;
  min-width: 0px;
  min-height: 0px;
  container-type: size;
}

.project-monitor {
  width: min(100cqw, 134cqh);
  aspect-ratio: 1.34 / 1;
  display: flex;
  flex-direction: column;
}

.project-devices {
  position: relative;
  width: min(100cqw, 145cqh);
  aspect-ratio: 1.45 / 1;
}

.project-devices .project-monitor {
  position: absolute;
  width: 82%;
  right: 4%;
  top: 0px;
}

.static-device {
  position: absolute;
  bottom: 0px;
  overflow: hidden;
  background: rgb(16, 24, 42);
}

.static-device img {
  position: absolute;
  height: auto;
  max-width: none;
  user-select: none;
}

.project-preview .static-device img {
  cursor: zoom-in;
}

.static-tablet {
  left: 0px;
  width: 28%;
  aspect-ratio: 350 / 477;
  border-radius: 10% / 7%;
}

.static-tablet img {
  width: 358.2857%;
  left: -32.8571%;
  top: -114.8847%;
}

.static-phone {
  right: 0px;
  width: 12%;
  aspect-ratio: 145 / 318;
  border-radius: 16% / 7%;
}

.static-phone img {
  width: 864.8276%;
  left: -673.7931%;
  top: -222.9559%;
}

.monitor-shell {
  height: 82%;
  min-height: 0px;
  display: grid;
  grid-template-rows: minmax(0px, 1fr) 8%;
  padding: 2.2% 2.2% 0px;
  border: 1px solid rgb(115, 131, 160);
  border-radius: 10px;
  background: rgb(16, 24, 42);
  box-shadow: rgb(0, 0, 0) 0px 12px 24px -18px;
  overflow: hidden;
}

.monitor-screen {
  min-width: 0px;
  min-height: 0px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(138, 155, 184) rgb(16, 24, 42);
  background: white;
  border-radius: 3px 3px 0px 0px;
  touch-action: pan-y;
}

.monitor-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: initial;
  user-select: none;
}

.project-preview .monitor-screen img {
  cursor: zoom-in;
}

.monitor-screen:focus-visible {
  outline: rgb(125, 171, 255) solid 2px;
  outline-offset: -3px;
}

.monitor-chin {
  display: grid;
  place-items: center;
  margin-inline: -2.4%;
  background: linear-gradient(110deg, rgb(147, 162, 182), rgb(212, 219, 230) 55%, rgb(164, 178, 198));
}

.monitor-chin > span {
  width: 3%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgb(89, 107, 135);
}

.monitor-neck {
  width: 21%;
  height: 13%;
  margin-inline: auto;
  clip-path: polygon(17% 0px, 83% 0px, 100% 100%, 0px 100%);
  background: linear-gradient(rgb(113, 131, 153), rgb(185, 198, 215) 75%, rgb(124, 141, 164));
}

.monitor-foot {
  width: 43%;
  height: 5%;
  margin-inline: auto;
  border-radius: 55% 55% 20% 20%;
  background: linear-gradient(rgb(203, 213, 227), rgb(132, 150, 175));
  box-shadow: rgba(0, 0, 0, 0.6) 0px 5px 12px -5px;
}

.project-info {
  justify-content: center;
  text-align: center;
}

.project-info > div {
  min-width: 0px;
  width: 100%;
}

.project-open:hover {
  color: rgb(125, 171, 255);
}

.project-lightbox {
  --ink: #fff;
  --muted: #bfcee9;
  --blue: #7dabff;
  width: min(1260px, -40px + 100vw);
  height: min(94dvh, 1020px);
  max-height: calc(100dvh - 24px);
  max-width: none;
  padding: 22px;
  color: white;
  border: 1px solid rgb(41, 65, 117);
  border-radius: 16px;
  background: rgb(6, 23, 82);
  overflow: hidden;
}

.project-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0px, 1fr) auto;
  gap: 18px;
}

.project-lightbox::backdrop {
  background: rgba(0, 8, 31, 0.86);
  backdrop-filter: blur(7px);
}

.lightbox-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.lightbox-topbar > div {
  min-width: 0px;
}

.lightbox-topbar p {
  color: rgb(125, 171, 255);
  font-size: 11px;
  letter-spacing: 0.5px;
  margin: 0px 0px 7px;
}

.lightbox-topbar h2 {
  font-size: 24px;
  line-height: 1.3;
  margin: 0px;
}

.lightbox-close, .lightbox-arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgb(54, 81, 136);
  background: rgb(11, 32, 89);
  color: white;
  border-radius: 9px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.lightbox-close:hover, .lightbox-arrow:hover {
  background: rgb(25, 55, 117);
  border-color: rgb(125, 171, 255);
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0px;
  min-height: 0px;
  container-type: size;
  touch-action: pan-y;
}

.lightbox-stage .project-monitor {
  width: min(100cqw - 116px, 134cqh);
}

.lightbox-stage .project-devices {
  width: min(100cqw - 116px, 145cqh);
}

.lightbox-stage .project-devices .project-monitor {
  width: 82%;
}

.lightbox-arrow {
  position: absolute;
  top: 40%;
}

.lightbox-previous {
  left: 0px;
}

.lightbox-previous .icon {
  transform: rotate(180deg);
}

.lightbox-next {
  right: 0px;
}

.lightbox-footer {
  min-width: 0px;
}

.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgb(191, 206, 233);
  font-size: 13px;
  margin-bottom: 12px;
}

.lightbox-caption p {
  margin: 0px;
}

#lightbox-position {
  flex-shrink: 0;
}

.lightbox-thumbnails {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 3px 3px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgb(69, 99, 155) transparent;
}

.lightbox-thumbnail {
  position: relative;
  width: 80px;
  height: 49px;
  padding: 2px;
  flex-shrink: 0;
  border: 1px solid rgb(54, 81, 136);
  border-radius: 6px;
  background: rgb(11, 32, 89);
  overflow: hidden;
}

.lightbox-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
}

.lightbox-thumbnail[aria-current="true"] {
  border: 2px solid rgb(125, 171, 255);
  padding: 1px;
}

@media (max-width: 760px) {
  .portfolio-heading > p {
    font-size: 11px;
  }

  .project-grid {
    gap: 24px 22px;
  }

  .project-lightbox {
    width: calc(-20px + 100vw);
    height: calc(100dvh - 20px);
    max-height: none;
    padding: 16px;
  }

  .project-lightbox[open] {
    gap: 14px;
  }

  .lightbox-topbar h2 {
    font-size: 20px;
  }

  .lightbox-topbar p {
    font-size: 10px;
  }

  .lightbox-stage .project-devices {
    width: min(100cqw, 145cqh);
  }

  .lightbox-arrow {
    top: auto;
    bottom: 0px;
  }

  .lightbox-caption {
    font-size: 11px;
  }

  .lightbox-thumbnail {
    width: 68px;
    height: 43px;
  }
}

@media (max-width: 600px) {
  .project-grid {
    --project-columns: 1;
  }

  .portfolio-heading > p {
    display: none;
  }

  .project-monitor {
    width: min(100cqw, 128cqh);
  }

  .project-lightbox .lightbox-stage {
    align-items: start;
    padding-bottom: 54px;
  }

  .lightbox-stage .project-devices {
    width: min(100cqw, 118cqh);
    align-self: center;
  }

  .lightbox-caption p {
    max-width: 225px;
  }
}

@media (max-height: 500px) {
  .project-lightbox {
    padding: 12px 18px;
  }

  .project-lightbox[open] {
    gap: 10px;
  }

  .lightbox-topbar h2 {
    font-size: 18px;
  }

  .lightbox-topbar p {
    display: none;
  }

  .lightbox-caption {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .lightbox-thumbnails {
    display: none;
  }
}

.testimonials {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding-block: 10px;
}

.testimonials-heading {
  flex-shrink: 0;
  margin-bottom: 0px;
}

.testimonials-heading > p {
  display: block;
  max-width: none;
  white-space: nowrap;
  margin: 0px;
}

.testimonial-carousel {
  display: grid;
  grid-template-rows: minmax(0px, 1fr) auto;
  flex: 0 1 552px;
  height: 552px;
  width: 100%;
  min-height: 0px;
}

.testimonial-viewport {
  min-height: 0px;
  height: 100%;
  padding: 0px;
  container-type: size;
}

.testimonial-track {
  gap: 0px;
  height: 100%;
}

.testimonial-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  grid-template-rows: repeat(2, minmax(0px, max-content));
  align-items: start;
  align-content: start;
  gap: 16px;
  flex: 0 0 100%;
  min-width: 0px;
  min-height: 0px;
  height: 100%;
}

.testimonial-page .testimonial-card {
  flex: initial;
  min-height: 0px;
  height: min(240px, 50cqh - 8px);
  max-height: calc(50cqh - 8px);
  padding: 18px;
}

.testimonial-page .quote-mark {
  display: none;
}

.testimonial-page blockquote {
  flex: 1 1 0%;
  min-height: 0px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(69, 99, 155) transparent;
  font-size: 14px;
  line-height: 1.75;
  margin: 0px 0px 16px;
  overscroll-behavior: contain;
}

.testimonial-page footer {
  display: grid;
  grid-template-columns: 30px minmax(0px, 1fr);
  gap: 2px 10px;
  flex-shrink: 0;
  margin-top: 0px;
}

.testimonial-page footer > div {
  display: contents;
}

.testimonial-page footer .testimonial-stars {
  grid-area: 1 / 1 / auto / -1;
  margin-bottom: 3px;
}

.testimonial-page footer strong {
  grid-area: 2 / 2;
}

.testimonial-page footer > div > span {
  grid-area: 3 / 2;
}

.testimonial-page footer .review-avatar {
  grid-area: 2 / 1 / 4;
  align-self: center;
}

.testimonial-page .review-avatar {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.testimonial-page footer strong {
  font-size: 13px;
}

.testimonial-page footer strong {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-verified {
  width: 16px;
  height: 16px;
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgb(255, 106, 0);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 7px;
}

.testimonial-page footer .testimonial-stars > span:first-child {
  display: inline-block;
  color: rgb(255, 106, 0);
  font-size: 14px;
  line-height: 1;
  margin: 0px;
  letter-spacing: 1px;
}

.testimonial-page footer .testimonial-stars > .testimonial-rating {
  display: inline-block;
  color: rgb(228, 236, 250);
  font-size: 13px;
  line-height: 1;
  margin: 0px;
  letter-spacing: 0px;
}

.testimonial-page footer .testimonial-stars > .rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.review-star {
  width: 14px;
  height: 14px;
  fill: rgb(255, 106, 0);
  stroke: rgb(255, 106, 0);
  stroke-width: 0.6;
  stroke-linejoin: round;
}

.testimonial-page footer div > span {
  font-size: 10px;
  margin-top: 3px;
}

.agency-brand-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.upwork-talent-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 2px 0px;
  background: transparent;
  color: rgb(255, 255, 255);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.talent-badge-icon {
  --badge-color: #2256cd;
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 30px;
  flex-shrink: 0;
}

.talent-badge-icon::before {
  content: "";
  position: absolute;
  inset: 0px;
  background: var(--badge-color);
  clip-path: path("M 11.7 1.3 Q 14 0 16.3 1.3 L 25 6.5 Q 27 7.8 27 10.3 L 27 19.7 Q 27 22.2 25 23.5 L 16.3 28.7 Q 14 30 11.7 28.7 L 3 23.5 Q 1 22.2 1 19.7 L 1 10.3 Q 1 7.8 3 6.5 Z");
}

.talent-badge-star {
  position: relative;
  width: 23px;
  height: 23px;
}

.talent-badge-star::before, .talent-badge-star::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: rgb(255, 255, 255);
  clip-path: path("M 10.6 1.8 Q 11.5 0 12.4 1.8 L 15.1 7.1 L 21 8 Q 23 8.3 21.6 9.7 L 17.3 13.8 L 18.3 19.7 Q 18.7 21.6 17 20.7 L 11.5 17.9 L 6 20.7 Q 4.3 21.6 4.7 19.7 L 5.7 13.8 L 1.4 9.7 Q 0 8.3 2 8 L 7.9 7.1 Z");
}

.talent-badge-star::before {
  transform: scale(0.82);
}

.talent-badge-star::after {
  transform: scale(0.65);
  background: var(--badge-color);
}

.talent-badge-plus .talent-badge-icon {
  --badge-color: #f461c1;
}

.talent-badge-plus > .talent-badge-icon > .talent-badge-star {
  transform: translateX(-1px) scale(0.8);
}

.talent-badge-icon .talent-badge-plus {
  position: absolute;
  right: 5px;
  bottom: 9px;
  width: 7px;
  height: 7px;
  background: var(--badge-color);
  font-size: 0px;
  transform: scale(0.8);
}

.talent-badge-icon .talent-badge-plus::before, .talent-badge-icon .talent-badge-plus::after {
  content: "";
  position: absolute;
  background: rgb(255, 255, 255);
  border-radius: 1px;
}

.talent-badge-icon .talent-badge-plus::before {
  width: 6px;
  height: 1.5px;
  left: 0.5px;
  top: 2.75px;
}

.talent-badge-icon .talent-badge-plus::after {
  width: 1.5px;
  height: 6px;
  left: 2.75px;
  top: 0.5px;
}

.upwork-job-success {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  color: rgb(255, 255, 255);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: 12px;
}

.job-success-icon {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 2px solid rgb(37, 99, 235);
  border-radius: 50%;
}

.job-success-icon::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 35%;
  left: 25%;
  top: 28%;
  background: rgb(37, 99, 235);
  clip-path: polygon(0px 18%, 28% 40%, 50% 0px, 72% 40%, 100% 18%, 84% 86%, 16% 86%);
}

.job-success-icon::after {
  content: "";
  position: absolute;
  width: 40%;
  height: 2px;
  left: 30%;
  bottom: 27%;
  background: rgb(37, 99, 235);
  border-radius: 1px;
}

@media (max-width: 760px) and (max-height: 700px) {
  .upwork .upwork-card-top {
    margin-bottom: 8px;
  }

  .upwork .upwork-card h3 {
    margin-bottom: 6px;
  }

  .upwork .upwork-job-success {
    margin-bottom: 6px;
  }

  .upwork .job-success-icon {
    width: 26px;
    height: 26px;
  }

  .upwork .agency-stats {
    margin-block: 6px;
    padding-block: 8px;
  }

  .upwork .upwork-card .button {
    margin-top: 6px;
    min-height: 34px;
  }

  .upwork .stats-note {
    margin-top: 10px;
  }
}

@media (min-width: 761px) and (max-height: 500px) {
  .upwork .upwork-job-success {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .upwork .job-success-icon {
    width: 26px;
    height: 26px;
  }

  .upwork .upwork-stats {
    margin-block: 8px;
  }

  .upwork .upwork-card-top {
    margin-bottom: 8px;
  }

  .upwork .upwork-card h3 {
    margin-bottom: 6px;
  }

  .upwork .agency-brand-icon {
    width: 28px;
    height: 28px;
  }

  .upwork .talent-badge-icon {
    zoom: 0.8;
  }

  .upwork .agency-card .agency-stats {
    margin-block: 4px;
  }

  .upwork .upwork-heading {
    margin-bottom: 8px;
  }

  .upwork .upwork-job-success {
    margin-bottom: 4px;
  }

  .upwork .job-success-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 760px) and (max-height: 620px) {
  .upwork .agency-brand-icon {
    width: 32px;
    height: 32px;
  }

  .upwork .talent-badge-icon {
    zoom: 0.85;
  }

  .upwork .upwork-card-top {
    margin-bottom: 6px;
  }

  .upwork .upwork-job-success {
    margin-bottom: 4px;
  }

  .upwork .job-success-icon {
    width: 24px;
    height: 24px;
  }

  .upwork .agency-card .agency-stats {
    margin-block: 4px;
    padding-block: 6px;
  }

  .upwork .upwork-card .button {
    padding-block: 8px;
  }
}

@media (min-width: 761px) and (max-width: 1150px) {
  .testimonials-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  .testimonials {
    gap: 16px;
    padding-block: 4px;
  }

  .testimonials-heading {
    gap: 8px;
  }

  .testimonials-heading > p {
    font-size: clamp(8px, 2.55vw, 11px);
  }

  .testimonial-page {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    grid-template-rows: repeat(3, minmax(0px, max-content));
    gap: 10px;
  }

  .testimonial-viewport {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(69, 99, 155) transparent;
    overscroll-behavior: contain;
  }

  .testimonial-track {
    height: auto;
    min-height: 100%;
    align-items: flex-start;
  }

  .testimonial-page {
    height: auto;
    grid-template-rows: repeat(3, auto);
  }

  .testimonial-page .testimonial-card {
    height: 232px;
    max-height: none;
    padding: 12px;
    border-radius: 10px;
  }

  .testimonial-page blockquote {
    font-size: 13px;
    line-height: 1.6;
    margin: 0px 0px 12px;
  }

  .testimonial-page footer {
    grid-template-columns: 24px minmax(0px, 1fr);
    gap: 2px 6px;
  }

  .testimonial-page .review-avatar {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .testimonial-page footer strong {
    font-size: 11px;
  }

  .testimonial-page footer div > span {
    font-size: 9px;
    line-height: 1.4;
  }

  .testimonial-stars {
    font-size: 13px;
    gap: 4px;
    margin-bottom: 5px;
  }

  .testimonial-page footer .testimonial-stars > span:first-child {
    font-size: 13px;
  }

  .testimonial-page footer .testimonial-stars > .testimonial-rating {
    font-size: 11px;
  }

  .upwork-talent-badge {
    font-size: 12px;
    gap: 4px;
  }

  .upwork-job-success {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .job-success-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-height: 620px) {
  .testimonials {
    gap: 12px;
  }

  .testimonial-page .testimonial-card {
    padding: 10px;
  }

  .testimonial-page footer div > span {
    display: none;
  }

  .testimonial-controls {
    margin-top: 10px;
  }

  .agency-card .agency-stats {
    margin-block: 8px;
  }
}

.no-js #testimonials:target {
  display: grid;
}

.no-js .testimonial-viewport {
  overflow-y: auto;
  container-type: normal;
}

.no-js .testimonial-track {
  display: block;
  height: auto;
}

.no-js .testimonial-page {
  height: auto;
  grid-template-rows: auto;
  margin-bottom: 16px;
}

.no-js .testimonial-page .testimonial-card {
  height: auto;
  max-height: none;
}

.no-js .testimonial-page blockquote {
  overflow: visible;
  max-height: none;
}

.sidebar {
  background: rgb(17, 24, 39);
  border-color: rgb(32, 42, 58);
  padding: 24px 16px;
}

.sidebar-top {
  gap: 10px;
  margin-bottom: 30px;
}

.sidebar-brand {
  color: rgb(255, 255, 255);
}

.sidebar-top .sidebar-brand > span {
  color: rgb(168, 178, 195);
}

.collapse-toggle, .menu-toggle {
  background: rgb(32, 42, 58);
  color: rgb(217, 223, 235);
  border-color: rgb(54, 65, 83);
}

.collapse-toggle:hover, .menu-toggle:hover {
  background: rgb(51, 59, 73);
}

.navigation {
  gap: 6px;
}

.nav-group-label {
  margin: 20px 12px 6px;
  color: rgb(168, 178, 195);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.nav-group-label:first-child {
  margin-top: 0px;
}

.nav-link {
  min-height: 48px;
  padding: 12px;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgb(224, 229, 237);
  border-radius: 8px;
}

.nav-link .icon {
  width: 20px;
  height: 20px;
  color: rgb(196, 204, 217);
}

.nav-link:hover, .nav-link.active {
  background: rgb(51, 59, 73);
  color: rgb(255, 255, 255);
}

.nav-link:hover .icon, .nav-link.active .icon {
  color: rgb(255, 255, 255);
}

.sidebar-collapsed .nav-group-label {
  display: none;
}

@media (max-width: 1150px) and (min-width: 761px) {
  .sidebar {
    padding-inline: 12px;
  }

  .sidebar-top {
    gap: 8px;
  }

  .sidebar-brand {
    font-size: 12px;
  }

  .sidebar-top .brand-icon {
    width: 32px;
    height: 32px;
  }

  .sidebar-top .collapse-toggle {
    width: 28px;
    height: 28px;
  }

  .nav-link {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .sidebar {
    padding: 14px;
  }

  .sidebar-top, .sidebar-collapsed .sidebar-top {
    margin: 0px;
    padding: 0px 48px 0px 0px;
  }

  .sidebar-menu {
    background: rgb(17, 24, 39);
    border-color: rgb(54, 65, 83);
  }

  .sidebar-collapsed .nav-group-label {
    display: block;
  }

  .nav-group-label {
    margin-top: 18px;
  }

  .nav-link {
    min-height: 44px;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .sidebar {
    padding-block: 18px;
  }

  .sidebar-top {
    margin-bottom: 20px;
  }

  .nav-group-label {
    margin-top: 14px;
  }

  .nav-link {
    min-height: 40px;
    padding-block: 9px;
  }
}

@media (max-height: 500px) {
  .sidebar-top {
    margin-bottom: 14px;
  }

  .navigation {
    gap: 3px;
  }

  .nav-group-label {
    display: none;
  }

  .sidebar-collapsed .nav-group-label {
    display: none;
  }

  .nav-link {
    min-height: 30px;
    padding-block: 5px;
    font-size: 12px;
  }
}

.contact {
  display: grid;
  grid-template-columns: minmax(0px, 1.15fr) minmax(0px, 0.85fr);
  align-items: center;
  gap: 24px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  min-width: 0px;
}

.contact-copy > p {
  color: rgb(211, 226, 250);
  font-size: 14px;
  line-height: 1.8;
  margin: 24px 0px;
}

.contact .contact-email {
  font-size: clamp(14px, 1.3vw, 22px);
  gap: 12px;
}

.contact-portrait {
  display: grid;
  place-items: center;
  min-width: 0px;
  min-height: 0px;
  height: 100%;
  max-height: 68dvh;
  margin: 0px;
  border-radius: 16px;
  background: radial-gradient(at 50% 55%, rgba(21, 69, 152, 0.4), transparent 65%);
  mask-image: linear-gradient(rgb(0, 0, 0) 0%, rgb(0, 0, 0) 90%, transparent 112%);
}

.contact-portrait img {
  width: 100%;
  height: 100%;
  min-height: 0px;
  object-fit: cover;
  object-position: center 30%;
}

@media (max-width: 950px) and (min-height: 501px) {
  .contact {
    grid-template-columns: minmax(0px, 1fr);
    grid-template-rows: auto minmax(0px, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .contact-portrait {
    max-height: 32dvh;
  }

  .contact-copy > p {
    font-size: 12px;
    margin-block: 18px;
  }
}

@media (max-width: 600px) {
  .contact {
    padding: 14px;
    gap: 14px;
  }

  .contact .contact-top {
    margin-bottom: 14px;
  }

  .contact h2 {
    font-size: 27px;
  }

  .contact-copy > p {
    font-size: 12px;
    margin-block: 14px;
  }

  .contact .contact-email {
    font-size: 13px;
    padding-bottom: 8px;
    gap: 8px;
  }

  .contact .contact-phone {
    margin-top: 12px;
  }

  .contact-portrait {
    max-height: 27dvh;
  }
}

@media (max-height: 620px) and (max-width: 600px) {
  .contact h2 {
    font-size: 24px;
  }

  .contact-copy > p {
    font-size: 11px;
    margin-block: 12px;
  }

  .contact .contact-top {
    margin-bottom: 10px;
  }
}

@media (max-height: 500px) and (min-width: 761px) {
  .contact {
    padding: 16px;
  }

  .contact-copy > p {
    font-size: 11px;
    margin-block: 12px;
  }

  .contact h2 {
    font-size: 26px;
  }

  .contact-portrait {
    max-height: 62dvh;
  }
}

.no-js #contact:target {
  display: grid;
}

main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.footer {
  position: relative;
  z-index: 1;
}

@media (min-width: 951px), (min-width: 761px) and (max-height: 500px) {
  .contact-portrait {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 45%;
    height: min(78dvh, 100% - 100px);
    max-height: none;
    border-radius: 0px;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(rgb(0, 0, 0) 0%, rgb(0, 0, 0) 80%, transparent 112%);
  }

  .contact-portrait img {
    object-position: center 30%;
  }
}

@media (max-width: 950px) and (min-height: 501px) {
  .contact-portrait {
    align-self: end;
    max-height: none;
  }
}

.upwork .upwork-card-top {
  margin-bottom: 12px;
}

.upwork-card {
  container-type: inline-size;
}

.upwork-status-badges {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.upwork .upwork-status-badges .upwork-job-success {
  align-self: auto;
  margin: 0px;
  gap: 4px;
  font-size: 14px;
}

.upwork-status-badges .upwork-talent-badge {
  font-family: inherit;
  font-size: 14px;
  gap: 6px;
  padding: 0px;
}

@media (max-width: 760px) {
  .upwork-status-badges {
    gap: 8px 12px;
    margin-bottom: 14px;
  }

  .upwork .upwork-status-badges .upwork-job-success, .upwork-status-badges .upwork-talent-badge {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .upwork-status-badges {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 12px;
  }

  .upwork .upwork-status-badges .upwork-job-success, .upwork-status-badges .upwork-talent-badge {
    font-size: 10px;
    gap: 4px;
  }

  .upwork .upwork-status-badges .job-success-icon {
    width: 24px;
    height: 24px;
  }

  .upwork .upwork-status-badges .talent-badge-icon {
    zoom: 0.8;
  }
}

@media (max-height: 620px) {
  .upwork .upwork-card-top {
    margin-bottom: 6px;
  }

  .upwork-status-badges {
    margin-bottom: 8px;
    gap: 8px;
  }
}

@media (min-width: 761px) and (max-height: 500px) {
  .upwork-status-badges {
    flex-wrap: nowrap;
    margin-bottom: 6px;
  }

  .upwork .upwork-status-badges .upwork-job-success, .upwork-status-badges .upwork-talent-badge {
    font-size: 10px;
    gap: 4px;
  }
}

@container (max-width: 360px) {
  .upwork-status-badges {
    gap: 12px;
  }

  .upwork .upwork-status-badges .upwork-job-success, .upwork-status-badges .upwork-talent-badge {
    font-size: 12px;
    gap: 4px;
  }

  .upwork .upwork-status-badges .job-success-icon {
    width: 32px;
    height: 32px;
  }

  .upwork .upwork-status-badges .talent-badge-icon {
    zoom: 0.95;
  }
}

@container (max-width: 280px) {
  .upwork-status-badges {
    gap: 8px;
  }

  .upwork .upwork-status-badges .upwork-job-success, .upwork-status-badges .upwork-talent-badge {
    font-size: 10px;
  }

  .upwork .upwork-status-badges .job-success-icon {
    width: 24px;
    height: 24px;
  }

  .upwork .upwork-status-badges .talent-badge-icon {
    zoom: 0.8;
  }
}

@media (max-width: 400px) and (max-height: 620px) {
  .upwork .upwork-card-top {
    margin-bottom: 4px;
  }

  .upwork-status-badges {
    margin-bottom: 4px;
  }
}

.upwork .upwork-card-top {
  flex-wrap: wrap;
  gap: 10px 12px;
}

.upwork-card-top .upwork-status-badges {
  margin: 0px 0px 0px auto;
  justify-content: flex-end;
}

.upwork-brand-logo {
  width: 85px;
  height: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

@media (max-width: 760px) {
  .upwork-brand-logo {
    width: 76px;
  }
}

.upwork .upwork-status-badges .upwork-job-success {
  gap: 8px;
}

@container (max-width: 280px) {
  .upwork .upwork-status-badges .upwork-job-success {
    gap: 6px;
  }
}

/* Phone and tablet layouts */

@media (max-width: 950px) {
  html {
    height: auto;
    min-height: 100%;
    overflow-x: clip;
  }

  body, body.sidebar-collapsed {
    --frame-gap: 10px;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    grid-template-columns: minmax(0px, 1fr);
    grid-template-rows: 64px auto;
    padding: 10px;
    gap: 10px;
    align-items: start;
  }

  .sidebar, .sidebar-collapsed .sidebar {
    position: sticky;
    top: 10px;
    z-index: 20;
    height: 64px;
    flex-direction: row;
    align-items: center;
    padding: 14px;
    border-radius: 12px;
    overflow: visible;
  }

  .sidebar-top, .sidebar-collapsed .sidebar-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 12px;
    margin: 0px;
    padding: 0px 48px 0px 0px;
  }

  .sidebar-top .brand-icon {
    width: 34px;
    height: 34px;
  }

  .sidebar-top .sidebar-brand, .sidebar-collapsed .sidebar-brand {
    display: block;
    flex: 1 1 0%;
    font-size: 14px;
    margin: 0px;
  }

  .sidebar-top .sidebar-brand > span {
    font-size: 10px;
  }

  .sidebar .collapse-toggle {
    display: none;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    top: 10px;
    right: 12px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgb(54, 65, 83);
    border-radius: 8px;
    background: rgb(32, 42, 58);
  }

  .menu-toggle > span {
    width: 18px;
    height: 1px;
    background: rgb(227, 231, 238);
  }

  .sidebar-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0px;
    width: 100%;
    max-height: calc(100dvh - 94px);
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgb(54, 65, 83);
    border-radius: 12px;
    background: rgb(17, 24, 39);
    box-shadow: rgba(0, 0, 0, 0.333) 0px 16px 35px;
  }

  .sidebar-menu.is-open {
    display: flex;
  }

  .sidebar .navigation {
    gap: 6px;
  }

  .sidebar .nav-link, .sidebar-collapsed .nav-link {
    min-height: 44px;
    padding: 12px;
    justify-content: flex-start;
    font-size: 14px;
  }

  .sidebar .nav-link > span, .sidebar-collapsed .nav-link > span {
    display: block;
  }

  .sidebar .nav-group-label, .sidebar-collapsed .nav-group-label {
    display: block;
    margin: 14px 12px 6px;
  }

  .sidebar .nav-group-label:first-child {
    margin-top: 0px;
  }

  main {
    height: auto;
    min-height: calc(100dvh - 94px);
    overflow: visible;
    grid-template-rows: 44px 1fr 24px;
    gap: 12px;
    padding: 0px 16px 6px;
    border-radius: 12px;
  }

  .page-topline {
    font-size: 10px;
    letter-spacing: 0.3px;
  }

  .page-breadcrumb strong {
    font-size: 13px;
  }

  .footer {
    font-size: 10px;
  }

  main > .section {
    height: auto;
    min-height: 0px;
    overflow: visible;
    overscroll-behavior: auto;
    justify-content: flex-start;
    padding-block: 16px;
  }

  main > .section h2 {
    font-size: 30px;
    line-height: 1.25;
  }

  .button, .page-button, .review-playback, .upwork-selector button {
    min-height: 44px;
    font-size: 13px;
  }

  .page-button {
    width: 44px;
  }

  .profile {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .profile-subpanel, .profile-facts {
    flex-shrink: 0;
  }

  .profile .hero-grid {
    grid-template-columns: minmax(0px, 1fr);
    grid-template-rows: auto auto;
    gap: 22px;
  }

  .profile h1 {
    font-size: clamp(28px, 6vw, 40px);
  }

  .profile-intro .eyebrow {
    font-size: 13px;
  }

  .profile .profile-role {
    font-size: 14px;
    white-space: normal;
    margin-block: 14px;
  }

  .profile .hero-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .profile .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .profile .hero-actions .button {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .intro-video {
    width: 100%;
    max-width: 620px;
    justify-self: start;
  }

  .intro-video-frame {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .profile-facts {
    grid-template-columns: minmax(0px, 1fr);
    gap: 16px;
  }

  .profile-fact {
    padding: 18px;
  }

  .profile-fact h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .profile-fact p, .profile-fact dl {
    font-size: 14px;
    line-height: 1.65;
  }

  .profile-fact p + p, .profile-fact dl > div + div {
    margin-top: 8px;
  }

  .profile-fact dl > div {
    flex-wrap: wrap;
    gap: 6px;
  }

  .profile-verification {
    display: block;
    grid-column: auto;
  }

  .profile-verification h3 {
    display: block;
    margin-bottom: 12px;
  }

  .profile-verification p + p {
    margin-top: 8px;
  }

  .about {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .about-boxes {
    flex-shrink: 0;
    grid-template-columns: minmax(0px, 1fr);
    grid-template-rows: auto;
    gap: 16px;
  }

  .about-box {
    padding: 18px;
    overflow: visible;
  }

  .about-box h3 {
    font-size: 18px;
  }

  .about-box h4 {
    font-size: 14px;
  }

  .about-box p, .overview-checklist {
    font-size: 14px;
  }

  .about-box .about-entry-meta {
    font-size: 13px;
  }

  .about-entry-heading {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .about-entry-heading .about-entry-meta {
    margin-left: 0px;
    text-align: left;
  }

  .portfolio {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .portfolio-heading {
    display: block;
    flex-shrink: 0;
    margin: 0px;
  }

  .portfolio-heading > p {
    display: block;
    white-space: normal;
    font-size: 13px;
    margin: 10px 0px 0px;
  }

  .project-grid {
    --project-columns: 2;
    flex-shrink: 0;
    grid-template-rows: repeat(var(--project-rows), 300px);
    gap: 24px 20px;
  }

  .project {
    height: 300px;
  }

  .project-info {
    padding-top: 14px;
  }

  .project-info h3 {
    font-size: 16px;
  }

  .project-category {
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
  }

  .portfolio-pagination {
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .portfolio-pagination > p {
    font-size: 12px;
    line-height: 1.6;
    max-width: none;
  }

  .pagination-controls {
    gap: 8px;
  }

  .project-lightbox {
    width: calc(-20px + 100vw);
    height: fit-content;
    max-height: calc(100dvh - 20px);
    padding: 16px;
  }

  .project-lightbox[open] {
    grid-template-columns: minmax(0px, 1fr);
  }

  .project-lightbox .lightbox-stage {
    height: calc(18.7586px + 68.9655vw);
    max-height: 100%;
    padding-bottom: 56px;
    align-items: center;
  }

  .lightbox-close, .lightbox-arrow {
    width: 44px;
    height: 44px;
  }

  .lightbox-stage .project-devices {
    width: min(100cqw, 145cqh);
  }

  .lightbox-arrow {
    top: auto;
    bottom: 0px;
  }

  .lightbox-previous {
    left: calc(50% - 52px);
  }

  .lightbox-next {
    left: calc(50% + 8px);
    right: auto;
  }

  .lightbox-caption {
    font-size: 12px;
  }

  .optimization {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .optimization-heading {
    flex-shrink: 0;
    margin: 0px;
  }

  .optimization-heading > p {
    font-size: 14px;
    line-height: 1.7;
  }

  .speed-grid {
    flex-shrink: 0;
    grid-template-columns: minmax(0px, 1fr);
    gap: 18px;
  }

  .speed-card {
    position: relative;
    padding: 18px;
  }

  .speed-images {
    margin-top: 20px;
  }

  .speed-card h3 {
    font-size: 18px;
  }

  .speed-card header > p {
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .report-device {
    display: inline-block;
    font-size: 11px;
  }

  .speed-source {
    font-size: 12px;
    line-height: 1.7;
    margin: 0px;
    flex-shrink: 0;
  }

  main > .testimonials {
    overflow: visible;
    gap: 18px;
  }

  .testimonials-heading {
    display: block;
    scroll-margin-top: 90px;
  }

  .testimonials-heading > p {
    display: block;
    white-space: normal;
    font-size: 13px;
    line-height: 1.6;
    margin: 10px 0px 0px;
  }

  .testimonial-carousel {
    flex: 0 0 auto;
    height: auto;
    grid-template-rows: auto auto;
  }

  .testimonial-viewport {
    height: auto;
    overflow: clip;
    container-type: inline-size;
  }

  .testimonial-track {
    height: auto;
    min-height: 0px;
    align-items: flex-start;
  }

  .testimonial-page {
    height: 100%;
    overflow: hidden;
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 1fr;
    gap: 16px;
  }

  .testimonial-page[aria-hidden="false"] {
    height: auto;
  }

  .testimonial-page .testimonial-card {
    height: 100%;
    min-height: 240px;
    max-height: none;
    padding: 18px;
  }

  .testimonial-page blockquote {
    overflow: visible;
    font-size: 14px;
    line-height: 1.7;
    overscroll-behavior: auto;
  }

  .testimonial-page footer {
    grid-template-columns: 30px minmax(0px, 1fr);
    gap: 2px 8px;
  }

  .testimonial-page .review-avatar {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .testimonial-page footer strong {
    font-size: 13px;
  }

  .testimonial-page footer > div > span {
    display: block;
    font-size: 11px;
    line-height: 1.5;
  }

  .testimonial-page footer .testimonial-stars > .testimonial-rating {
    font-size: 13px;
  }

  .testimonial-controls {
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .testimonial-controls .pagination-controls {
    margin-left: auto;
  }

  .upwork {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .upwork-heading {
    flex-shrink: 0;
    margin: 0px;
  }

  .upwork-heading > p {
    display: block;
    font-size: 14px;
    line-height: 1.7;
  }

  .upwork-selector {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    margin: 0px;
  }

  .upwork-selector button {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .upwork-grid {
    flex-shrink: 0;
    grid-template-columns: minmax(0px, 1fr);
    gap: 18px;
  }

  .upwork .upwork-card {
    min-height: 0px;
    padding: 18px;
  }

  .upwork .upwork-card:not(.account-active) {
    display: none;
  }

  .upwork .upwork-card-top {
    margin-bottom: 20px;
    gap: 14px;
  }

  .upwork-brand-logo {
    width: 85px;
  }

  .upwork .agency-brand-icon {
    width: 44px;
    height: 44px;
  }

  .upwork-card-top .upwork-status-badges {
    flex-wrap: wrap;
    gap: 10px 12px;
    max-width: 100%;
  }

  .upwork .upwork-status-badges .upwork-job-success, .upwork-status-badges .upwork-talent-badge {
    font-size: 12px;
  }

  .upwork .upwork-status-badges .upwork-job-success {
    gap: 8px;
  }

  .upwork .upwork-status-badges .job-success-icon {
    width: 30px;
    height: 30px;
  }

  .upwork .upwork-status-badges .talent-badge-icon {
    zoom: 1;
  }

  .upwork .card-eyebrow {
    display: block;
    font-size: 11px;
    line-height: 1.6;
  }

  .upwork .upwork-card h3 {
    font-size: 25px;
    margin-bottom: 12px;
  }

  .upwork .upwork-card > p:not(.card-eyebrow) {
    font-size: 14px;
    line-height: 1.7;
  }

  .upwork .upwork-stats {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    margin-block: 20px;
    padding-block: 16px;
    gap: 20px;
  }

  .upwork .upwork-stats strong, .upwork .agency-stats strong {
    font-size: 25px;
  }

  .upwork .upwork-stats span, .upwork .agency-stats span {
    font-size: 12px;
    line-height: 1.6;
  }

  .upwork .agency-card .agency-stats {
    margin-block: 20px;
    padding-block: 16px;
  }

  .upwork .upwork-card .button {
    margin-top: 8px;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .upwork .stats-note {
    font-size: 12px;
    line-height: 1.7;
    margin: 0px;
    flex-shrink: 0;
  }

  .contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-inline: 0px;
  }

  .contact-copy {
    flex-shrink: 0;
    width: 100%;
  }

  .contact .contact-top {
    margin-bottom: 16px;
  }

  .contact h2 {
    font-size: 30px;
  }

  .contact-copy > p {
    font-size: 14px;
    line-height: 1.7;
    margin-block: 20px;
  }

  .contact .contact-email {
    min-height: 44px;
    font-size: 14px;
    gap: 8px;
    padding-bottom: 8px;
  }

  .contact-email .icon {
    width: 16px;
    height: 16px;
  }

  .contact .contact-phone {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    margin-top: 8px;
  }

  .contact-portrait {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 420px;
    height: clamp(300px, 60vw, 460px);
    max-height: none;
    flex-shrink: 0;
    align-self: center;
    border-radius: 0px;
  }

  .contact-portrait img {
    object-position: center 30%;
  }
}

@media (max-width: 600px) {
  .speed-images {
    grid-template-columns: minmax(0px, 1fr);
    gap: 20px;
  }

  .speed-lightbox-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .speed-lightbox-header h2 {
    flex-basis: calc(100% - 52px);
    font-size: 16px;
  }

  #close-speed-image {
    order: 1;
  }

  .project-grid {
    --project-columns: 1;
  }

  .testimonial-page {
    grid-template-columns: minmax(0px, 1fr);
  }

  #review-status {
    display: none;
  }
}

@media (max-width: 950px) and (max-height: 500px) {
  body, body.sidebar-collapsed {
    grid-template-rows: 56px auto;
  }

  .sidebar, .sidebar-collapsed .sidebar {
    height: 56px;
    padding-block: 10px;
  }

  main {
    min-height: calc(100dvh - 86px);
  }

  .menu-toggle {
    top: 6px;
  }

  .sidebar-menu {
    top: 64px;
    max-height: calc(100dvh - 86px);
  }
}
