:root {
  --ink: #10243A;
  --muted: #526277;
  --blue: #1769E0;
  --blue-dark: #1254B8;
  --blue-soft: #EAF2FF;
  --paper: #F5F8FC;
  --surface: #FFFFFF;
  --line: #E2E8F0;
  --wrap: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.55 "DM Sans", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
.brand {
  margin: 0;
  font-family: Geist, system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(3rem, 6.1vw, 5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}

.dot,
.tag {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 5;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}

.skip:focus {
  transform: none;
}

header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.nav,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav {
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  font-size: 1.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.mark {
  width: 44px;
  height: 44px;
  flex: none;
  margin-right: 7px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: .94rem;
  font-weight: 600;
}

.desktop-nav a,
.mobile-nav a {
  text-underline-offset: 5px;
}

.language-switcher {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 5px;
  color: var(--muted);
  text-decoration: none;
}

.language-switcher img {
  width: 18px;
  height: 12px;
  display: block;
  flex: none;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(16, 36, 58, .12);
}

.language-switcher a[aria-current="true"] {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

nav [aria-current] {
  color: var(--blue);
}

.mobile-nav {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 1em;
  padding: 12px 20px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: var(--surface);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: var(--surface);
  text-decoration: none;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #B8C7D9;
  background: var(--surface);
  color: var(--ink);
}

.arrow {
  width: .52em;
  height: .52em;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(245, 248, 252, .97) 24%, rgba(245, 248, 252, .82) 39%, rgba(245, 248, 252, .24) 57%, rgba(245, 248, 252, 0) 72%);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: center;
  padding-block: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 28rem;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-picture {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  right: calc((100% - 100vw) / 2);
  display: block;
  width: min(100vw, 1600px);
  min-width: 0;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.light {
  background: var(--paper);
}

.home-services {
  border-block: 1px solid var(--line);
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-block: 24px;
}

.quick-service {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
}

.quick-service:hover {
  border-color: #B8CBE5;
  text-decoration: none;
}

.quick-service:focus-visible {
  outline-offset: 3px;
}

.quick-service h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  letter-spacing: -.025em;
}

.quick-service p {
  font-size: .94rem;
}

.service-icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
}

.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
}

.monitor::before {
  inset: 10px 8px 15px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.monitor::after {
  bottom: 10px;
  left: 15px;
  width: 12px;
  height: 4px;
  border-bottom: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}

.shop::before {
  inset: 16px 10px 9px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.shop::after {
  top: 10px;
  left: 17px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.spark::before {
  inset: 10px;
  background: currentColor;
  clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 36%);
}

.spark::after {
  top: 10px;
  right: 9px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.block {
  padding-block: 80px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.section-head > a,
.project-copy > a,
.foot > a:last-child {
  color: var(--blue);
  font-weight: 700;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  min-width: 0;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.service-card h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -.025em;
}

.service-card > p {
  font-size: .98rem;
}

.service-delivery {
  margin-top: auto;
  padding-top: 18px;
}

.service-delivery .service-kicker {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.service-delivery p:last-child {
  font-size: .92rem;
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.service-cta .eyebrow {
  margin-bottom: 8px;
}

.service-cta h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.service-cta div > p:last-child {
  margin-top: 8px;
}

.pagehead {
  padding-block: 72px 44px;
}

.pagehead h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.2rem);
}

.pagehead p {
  margin-top: 14px;
  font-size: 1.1rem;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.details p {
  margin-block: 12px;
}

.price {
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 700;
}

.small {
  font-size: .9rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  padding-inline-start: 22px;
  margin-bottom: 0;
}

.process li::marker {
  color: var(--blue);
  font-weight: 800;
}

.project {
  display: grid;
  min-height: 300px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.project-case {
  min-height: 320px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.project-art {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 32px;
  isolation: isolate;
  color: var(--surface);
}

.project-art.project-image {
  display: block;
  min-height: 0;
  padding: 0;
  background: var(--paper);
}

.project-image::after {
  display: none;
}

.project-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

.project-art::after {
  position: absolute;
  z-index: -1;
  right: -14%;
  bottom: -66%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgb(255 255 255 / 8%);
  content: "";
}

.arnes {
  background: linear-gradient(130deg, #123A72, #235B9A);
}

.aarete {
  background: linear-gradient(130deg, #293B67, #4E6592);
}

.rajuve {
  background: linear-gradient(130deg, #244A5E, #557B88);
}

.mini {
  position: absolute;
  top: 22px;
  left: 32px;
  width: calc(100% - 64px);
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(255 255 255 / 38%);
  font-size: .82rem;
}

.art-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 6px 9px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 6px;
  background: rgb(16 36 58 / 30%);
  color: var(--surface);
  font-size: .72rem;
  font-weight: 600;
}

.art-name {
  font-family: Geist, system-ui, sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.06em;
}

.art-line {
  width: 48px;
  height: 2px;
  margin-top: 10px;
  background: #C6DCFF;
}

.project-copy {
  align-self: center;
  padding: clamp(24px, 4vw, 42px);
}

.project-case .project-copy {
  padding: clamp(28px, 4vw, 48px);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.project-meta .tag {
  margin: 0;
}

.project-status {
  flex: none;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
}

.project-case .project-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
}

.project-kicker {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.project-case .project-summary {
  font-size: 1.02rem;
}

.tag {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin-block: 9px 12px;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
}

.project-copy > a {
  display: inline-block;
  margin-top: 18px;
  text-underline-offset: 4px;
}

.work-list {
  display: grid;
  gap: 24px;
  padding-bottom: 24px;
}

.portfolio-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-bottom: 64px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.portfolio-cta .eyebrow {
  margin-bottom: 8px;
}

.portfolio-cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.portfolio-cta div > p:last-child {
  margin-top: 8px;
}

.underway h2 {
  margin-block: 8px 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(30px, 8vw, 100px);
  padding-bottom: 80px;
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #7F8D9D;
  border-radius: 7px;
  background: #FBFCFE;
  color: var(--ink);
}

input:focus-visible,
textarea:focus-visible {
  outline-offset: 2px;
}

textarea {
  resize: vertical;
}

form .button {
  margin-top: 13px;
}

form .button:disabled {
  cursor: wait;
  opacity: 0.7;
}

#status:not(:empty) {
  margin-top: 12px;
  color: var(--blue);
}

aside {
  align-self: start;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

aside h2 {
  font-size: 1.9rem;
}

aside p {
  margin-top: 12px;
}

.contact-grid aside a {
  color: var(--blue);
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.foot {
  min-height: 96px;
}

.foot .brand {
  font-size: 1.45rem;
}

.foot .mark {
  width: 30px;
  height: 30px;
}

@media (max-width: 960px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .nav {
    gap: 16px;
  }

  .desktop-nav {
    gap: 16px;
  }

  .hero-inner {
    min-height: 500px;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .block {
    padding-block: 64px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .nav {
    min-height: 68px;
  }

  .nav > .button,
  .desktop-nav {
    display: none;
  }

  .brand {
    font-size: 1.65rem;
  }

  .mark {
    width: 38px;
    height: 38px;
  }

  .mobile-nav {
    display: block;
  }

  .nav > .button {
    display: none;
  }

  .nav > .language-switcher {
    margin-left: auto;
  }

  .mobile-nav summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span {
    width: 19px;
    height: 12px;
    border-block: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  }

  .mobile-nav nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .mobile-nav a {
    padding: 11px 6px;
    font-weight: 600;
  }

  .hero-inner {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 38px 32px;
  }

  .hero::after {
    display: none;
  }

  .hero-picture {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    width: calc(100% + 40px);
    margin-inline: -20px;
  }

  .hero-copy {
    max-width: 600px;
  }

  .hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(2.65rem, 10vw, 4rem);
  }

  .eyebrow {
    margin-bottom: 13px;
  }

  .actions {
    margin-top: 22px;
  }

  .hero-photo {
    height: clamp(240px, 75vw, 420px);
    object-position: center 55%;
  }

  .quick-services {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 18px;
  }

  .quick-service {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .quick-service h2 {
    margin-bottom: 5px;
    font-size: 1.15rem;
  }

  .quick-service p {
    font-size: .94rem;
  }

  .block {
    padding-block: 48px;
  }

  .section-head {
    align-items: start;
    margin-bottom: 22px;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .services,
  .details,
  .contact-grid,
  .project,
  .process {
    grid-template-columns: 1fr;
  }

  .process {
    gap: 12px;
  }

  .services {
    gap: 14px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .service-delivery {
    margin-top: 18px;
  }

  .service-cta {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
    padding: 24px;
  }

  .pagehead {
    padding-block: 48px 32px;
  }

  .pagehead h1 {
    font-size: clamp(2.6rem, 10vw, 3.6rem);
  }

  .process {
    padding-inline-start: 24px;
  }

  .project-art {
    min-height: 220px;
  }

  .project-case .project-art {
    min-height: 230px;
  }

  .project-case .project-image {
    min-height: 0;
  }

  .project-copy {
    padding: 24px;
  }

  .project-case .project-copy {
    padding: 26px 24px;
  }

  .work-list {
    gap: 18px;
  }

  .portfolio-cta {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
    padding: 24px;
  }

  .contact-grid {
    gap: 40px;
    padding-bottom: 56px;
  }

  .foot {
    min-height: 0;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-block: 18px;
    font-size: .9rem;
  }
}

@media (max-width: 520px) {
  .field-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-head {
    flex-direction: column;
    gap: 10px;
  }

  .actions .button {
    width: 100%;
  }
}
