@font-face {
  font-family: Space Grotesk;
  src: url('/assets/fonts/space-grotesk-latin.0640890476fc.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap
}

:root {
  --navy: #0b2545;
  --blue: #2563eb;
  --red: #dc2626;
  --light: #f3f6fb;
  --white: #fff;
  --ink: #0b2545;
  --muted: #53657a;
  --line: #dbe2eb;
  --font: 'Space Grotesk',Arial,sans-serif;
  --wrap: 1280px;
  --gutter: clamp(22px,5.2vw,84px)
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

h1,h2,h3,p,ul,ol,figure {
  margin: 0
}

h1,h2,h3 {
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.055em
}

p {
  max-width: 65ch
}

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

button,input {
  font: inherit
}

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

button {
  cursor: pointer
}

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

ul,ol {
  padding: 0;
  list-style: none
}

svg {
  flex-shrink: 0
}

button {
  border: 0
}

::selection {
  background: var(--blue);
  color: var(--white)
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px
}

.contact :focus-visible,.portfolio :focus-visible {
  outline-color: var(--white)
}

[hidden] {
  display: none!important
}

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

.section {
  padding-block: clamp(80px,8.3vw,128px)
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-160%)
}

.skip-link:focus {
  transform: translateY(0)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--line)
}

.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
  gap: 32px
}

.brand {
  display: inline-block;
  flex-shrink: 0;
  width: 160px
}

.brand img {
  width: 100%;
  height: auto
}

.header-inner nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500
}

.header-inner nav a {
  position: relative;
  padding: 12px 0
}

.header-inner nav a::after {
  content: '';
  position: absolute;
  height: 2px;
  bottom: 5px;
  left: 0;
  width: 0;
  background: var(--blue);
  transition: width .18s
}

.header-inner nav a:hover::after {
  width: 100%
}

.header-cta {
  display: flex;
  gap: 26px;
  align-items: center;
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 500
}

.header-cta span {
  font-size: 22px;
  line-height: 1
}

.header-cta:hover {
  background: var(--blue)
}

.menu-toggle {
  display: none
}

.nav-contact {
  display: block
}

.hero {
  padding-top: 60px;
  background: var(--light)
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 5%;
  align-items: center;
  padding-bottom: 72px
}

.eyebrow,.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .115em;
  line-height: 1.5
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center
}

.brand-mark {
  display: inline-block;
  width: 17px;
  height: 8px;
  background: var(--blue);
  transform: skewX(-30deg);
  position: relative;
  margin-right: 7px
}

.brand-mark::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 8px;
  background: var(--red);
  right: -9px
}

.hero h1 {
  font-size: clamp(48px,5.7vw,86px);
  margin: 24px 0;
  line-height: 1.02;
  letter-spacing: -.065em
}

.hero h1 span {
  display: block;
  white-space: nowrap
}

.hero h1 .hero-accent {
  color: var(--blue);
  position: relative;
  display: table;
  padding-bottom: 9px
}

.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2%;
  height: 3px;
  width: 98%;
  background: var(--blue);
  transform: skewX(-30deg)
}

.hero-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 40ch
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 32px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 15px 22px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  transition: background .2s,transform .2s
}

.button span {
  font-size: 24px;
  line-height: 1
}

.button:hover {
  transform: translateY(-2px)
}

.button-blue {
  background: var(--blue);
  color: var(--white)
}

.button-blue:hover {
  background: var(--navy)
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px solid var(--navy);
  padding-block: 8px
}

.text-link:hover {
  color: var(--blue);
  border-color: var(--blue)
}

.text-link span {
  font-size: 19px
}

.hero-notes {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 11px;
  color: var(--muted)
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 7px
}

.hero-notes li::before {
  content: '+';
  font-size: 15px;
  color: var(--blue)
}

.hero-work {
  height: 460px;
  position: relative;
  background: var(--navy);
  color: var(--white);
  margin-top: 36px
}

.work-grid {
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: linear-gradient(to right,#fff 1px,transparent 1px),linear-gradient(to bottom,#fff 1px,transparent 1px);
  background-size: 42px 42px
}

.work-label {
  position: absolute;
  top: 22px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: .12em
}

.small-cross {
  font-size: 23px;
  line-height: 1;
  color: #b8c9df
}

.mini-browser {
  position: absolute;
  border: 1px solid #dbe2eb;
  background: white;
  color: var(--navy);
  box-shadow: 0 20px 40px #0003;
  border-radius: 5px;
  overflow: hidden
}

.mini-browser-main {
  left: 8%;
  top: 70px;
  width: 91%;
  transform: rotate(-5deg)
}

.mini-browser-secondary {
  width: 64%;
  left: -7%;
  top: 240px;
  transform: rotate(5deg);
  z-index: 2
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 23px;
  padding-inline: 10px;
  background: #fff;
  border-bottom: 1px solid #e2e7ee
}

.browser-bar i {
  width: 4px;
  height: 4px;
  border: 1px solid #c1cbd7;
  border-radius: 50%
}

.browser-bar span {
  font-size: 7px;
  color: var(--muted);
  margin-inline: auto
}

.mini-browser img {
  width: 100%;
  aspect-ratio: 1.777;
  object-fit: cover;
  object-position: top
}

.preview-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  font-size: 8px;
  background: #fff
}

.preview-caption small {
  font-size: 7px;
  color: var(--muted)
}

.work-footer {
  position: absolute;
  bottom: 24px;
  right: 26px;
  left: 55%;
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 11px;
  line-height: 1.55
}

.large-arrow {
  font-size: 46px;
  line-height: .8;
  margin-left: 10px
}

.hero-work::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55px;
  height: 7px;
  transform: skewX(-30deg);
  background: var(--red)
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-block: 26px
}

.hero-bottom p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6
}

.hero-bottom strong {
  color: var(--navy);
  font-weight: 500
}

.hero-bottom a {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 9px;
  letter-spacing: .12em
}

.round-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #bac6d4;
  border-radius: 50%;
  font-size: 18px
}

.hero-bottom a:hover .round-arrow {
  background: var(--navy);
  color: var(--white)
}

.section-top {
  display: grid;
  grid-template-columns: .68fr 1.7fr;
  gap: 36px;
  margin-bottom: 55px
}

.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 7px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .1em
}

.section-label>span {
  font-size: 11px;
  color: var(--blue)
}

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

.section-heading h2 {
  font-size: clamp(36px,3.5vw,52px);
  flex-shrink: 0
}

.section-heading>p {
  max-width: 29ch;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  padding-bottom: 2px
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line)
}

.service {
  padding: 38px 0 4px
}

.service+.service {
  border-left: 1px solid var(--line);
  padding-left: 48px;
  margin-left: 48px
}

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

.service-top h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.02em
}

.service-icon {
  width: 42px;
  height: 42px;
  stroke: var(--blue)
}

.service-headline {
  font-size: clamp(30px,3vw,44px);
  line-height: 1.12;
  letter-spacing: -.04em;
  margin-bottom: 20px
}

.service-description {
  font-size: 14px;
  color: var(--muted);
  max-width: 45ch;
  line-height: 1.8
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px
}

.service-tags li {
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 5px 10px
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--navy)
}

.service-link span {
  font-size: 21px;
  line-height: 1
}

.service-link:hover {
  color: var(--blue);
  border-color: var(--blue)
}

.portfolio {
  background: var(--navy);
  color: var(--white)
}

.portfolio .section-label {
  color: #b8c9df
}

.portfolio .section-label>span {
  color: #b8c9df
}

.portfolio .section-heading>p {
  color: #b8c9df
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 52px 32px
}

.project {
  grid-column: span 6
}

.project:nth-child(1),.project:nth-child(4) {
  grid-column: span 7
}

.project:nth-child(2),.project:nth-child(3) {
  grid-column: span 5
}

.project-link {
  display: block
}

.project-screen {
  background: #173555;
  padding: 24px 24px 0;
  overflow: hidden;
  transition: background .25s
}

.project:nth-child(2) .project-screen {
  background: #e5e2d6
}

.project:nth-child(3) .project-screen {
  background: #dfe6dc
}

.project:nth-child(4) .project-screen {
  background: #e6dc87
}

.project-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 1265 / 712;
  object-fit: contain;
  object-position: top;
  border-radius: 4px 4px 0 0;
  transition: transform .3s;
  transform-origin: bottom;
  box-shadow: 0 0 0 1px #0001
}

.project-link:hover .project-screen img {
  transform: translateY(-5px)
}

.project-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 19px 0 11px
}

.project-head h3 {
  font-size: 24px;
  letter-spacing: -.035em
}

.project-head>span {
  font-size: 25px;
  transition: transform .2s
}

.project-link:hover .project-head>span {
  transform: translate(3px,-3px)
}

.project-kind {
  display: inline-block;
  font-size: 8px;
  letter-spacing: .1em;
  border: 1px solid #ffffff40;
  line-height: 1.4;
  padding: 4px 7px;
  color: #d4deeb;
  margin-bottom: 10px
}

.project-kind-real {
  background: var(--blue);
  border-color: var(--blue);
  color: white
}

.project-category {
  font-size: 10px;
  color: #b8c9df;
  margin-bottom: 9px
}

.project-description {
  font-size: 14px;
  color: #c5d1e0;
  line-height: 1.8;
  max-width: 62ch
}

.project-visit {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  color: var(--white);
  margin-top: 14px;
  border-bottom: 1px solid #ffffff6b;
  padding-bottom: 3px
}

.portfolio-note {
  max-width: none;
  font-size: 10px;
  color: #b8c9df;
  margin-top: 48px;
  display: flex;
  gap: 10px;
  align-items: start;
  border-top: 1px solid #ffffff29;
  padding-top: 23px
}

.process {
  background: var(--light)
}

.process .section-heading h2 {
  font-size: clamp(34px,3.3vw,48px)
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 32px;
  counter-reset: steps
}

.process-grid li {
  counter-increment: steps;
  position: relative;
  border-top: 1px solid #bdc9d7;
  padding-top: 26px
}

.process-grid li::before {
  content: '0' counter(steps);
  font-size: 13px;
  color: var(--blue);
  display: block;
  margin-bottom: 28px
}

.process-grid li::after {
  content: '↗';
  position: absolute;
  right: 0;
  top: 25px;
  font-size: 16px;
  color: var(--muted)
}

.process-grid h3 {
  font-size: 19px;
  letter-spacing: -.035em;
  margin-bottom: 16px;
  line-height: 1.2
}

.process-grid p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 13%
}

.about-statement h2 {
  font-size: clamp(38px,4vw,58px);
  margin-top: 27px;
  max-width: 13ch;
  line-height: 1.08
}

.statement-bar {
  display: block;
  width: 90px;
  height: 5px;
  background: var(--blue);
  transform: skewX(-30deg);
  margin: 32px 4px 0;
  position: relative
}

.statement-bar::after {
  content: '';
  position: absolute;
  right: -23px;
  width: 16px;
  height: 5px;
  background: var(--red)
}

.about-copy {
  padding-top: 50px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted)
}

.about-copy p+p {
  margin-top: 19px
}

.principles {
  margin-top: 30px;
  border-top: 1px solid var(--line)
}

.principles li {
  font-size: 12px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line)
}

.principles li::after {
  content: '+';
  color: var(--blue);
  font-size: 20px
}

.contact {
  background: var(--blue);
  color: var(--white);
  position: relative
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 10%;
  align-items: center
}

.contact .section-label,.contact .section-label>span {
  color: white
}

.contact h2 {
  font-size: clamp(44px,5.1vw,74px);
  line-height: 1.04;
  margin-top: 30px;
  letter-spacing: -.06em
}

.contact-copy>p:first-child {
  font-size: 15px;
  max-width: 39ch;
  line-height: 1.8;
  color: #eef3ff
}

.button-white {
  background: var(--white);
  color: var(--navy)
}

.button-white:hover {
  background: var(--navy);
  color: white
}

.email-cta {
  margin-top: 30px;
  min-width: 255px
}

.email-details {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 25px;
  flex-wrap: wrap
}

.email-address {
  font-size: 16px;
  font-weight: 500;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #ffffff85;
  padding-bottom: 2px
}

.email-address:hover {
  border-color: white
}

.copy-email {
  display: none;
  align-items: center;
  gap: 6px;
  color: white;
  background: transparent;
  padding: 9px 5px;
  min-width: 44px;
  min-height: 44px;
  font-size: 10px
}

.js .copy-email {
  display: inline-flex
}

.copy-email:hover {
  background: #ffffff18
}

.contact-note {
  font-size: 10px;
  line-height: 1.7;
  color: var(--white);
  margin-top: 11px
}

.copy-status {
  font-size: 11px;
  min-height: 1.6em;
  margin-top: 12px
}

.copy-fallback {
  font-size: 12px
}

.copy-fallback label {
  display: block;
  margin-bottom: 7px
}

.copy-fallback input {
  width: 100%;
  padding: 10px;
  color: var(--navy);
  background: white;
  border: 2px solid white;
  border-radius: 0;
  min-width: 0
}

.copy-fallback input:focus {
  outline-color: var(--navy)
}

.site-footer {
  padding: 54px 0 22px
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr .5fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 42px
}

.footer-brand {
  width: 140px
}

.footer-main p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 17px
}

.footer-main nav {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  font-size: 11px;
  padding-top: 4px
}

.footer-main nav a:hover {
  color: var(--blue)
}

.footer-contact {
  padding-top: 6px
}

.footer-contact>span {
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--muted);
  display: block;
  margin-bottom: 15px
}

.footer-contact a {
  font-size: 13px;
  overflow-wrap: anywhere;
  display: flex;
  align-items: center;
  gap: 16px
}

.footer-contact a:hover {
  color: var(--blue)
}

.footer-contact a span {
  font-size: 22px
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  color: var(--muted)
}

.footer-bottom a {
  display: inline-flex;
  gap: 15px
}

.footer-bottom a:hover {
  color: var(--blue)
}

.error-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  background: var(--light)
}

.error-content {
  padding-block: 60px
}

.error-content .brand {
  background: white;
  margin-bottom: 65px
}

.error-content .eyebrow {
  color: var(--blue);
  margin-bottom: 18px
}

.error-content h1 {
  font-size: clamp(44px,7vw,90px);
  margin-bottom: 24px
}

.error-content>p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  max-width: 45ch;
  margin-bottom: 26px
}

@media(min-width:1500px) {
  .hero-grid {
    gap: 7%
  }
  .hero-work {
    height: 500px
  }
  .mini-browser-secondary {
    top: 267px
  }
  .mini-browser-main {
    top: 75px
  }
}

@media(max-width:1150px) {
  .header-inner {
    gap: 22px;
    height: 84px
  }
  .brand {
    width: 143px
  }
  .header-inner nav {
    gap: 19px;
    font-size: 12px
  }
  .header-cta {
    font-size: 11px;
    padding: 12px 14px;
    gap: 12px
  }
  .hero {
    padding-top: 48px
  }
  .hero-grid {
    grid-template-columns: 1.08fr 1fr;
    gap: 5%;
    padding-bottom: 55px
  }
  .hero h1 {
    font-size: clamp(45px,5.7vw,66px)
  }
  .hero-work {
    height: 405px
  }
  .mini-browser-main {
    top: 75px
  }
  .mini-browser-secondary {
    top: 225px
  }
  .work-footer {
    bottom: 24px;
    left: 52%;
    font-size: 9px
  }
  .large-arrow {
    font-size: 35px
  }
  .hero-description {
    font-size: 14px
  }
  .hero-actions {
    gap: 18px
  }
  .hero-actions .button {
    font-size: 11px;
    padding: 14px 16px;
    gap: 13px
  }
  .hero-actions .text-link {
    font-size: 11px;
    gap: 8px
  }
  .hero-notes {
    gap: 14px;
    font-size: 10px
  }
  .section-top {
    grid-template-columns: .6fr 1.7fr;
    gap: 20px
  }
  .section-heading {
    gap: 24px;
    align-items: start;
    flex-direction: column
  }
  .section-heading>p {
    max-width: 45ch
  }
  .service+.service {
    margin-left: 35px;
    padding-left: 35px
  }
  .project-screen {
    padding: 18px 18px 0
  }
  .project-screen img {
    height: auto
  }
  .project-grid {
    gap: 42px 26px
  }
  .about-grid {
    gap: 9%
  }
  .contact-grid {
    gap: 6%
  }
  .email-address {
    font-size: 15px
  }
  .footer-main {
    gap: 35px
  }
}

@media(max-width:960px) {
  html {
    scroll-padding-top: 95px
  }
  .header-inner {
    height: 78px;
    flex-wrap: wrap;
    position: relative;
    gap: 16px
  }
  .brand {
    width: 132px
  }
  .header-cta {
    margin-left: auto
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0 11px 10px;
    font-size: 11px;
    color: var(--navy);
    background: transparent;
    order: 3;
    min-height: 44px
  }
  .menu-lines {
    position: relative;
    width: 19px;
    height: 12px;
    border-block: 1.5px solid currentColor;
    display: block
  }
  .menu-lines::before {
    content: '';
    position: absolute;
    top: 4px;
    width: 100%;
    border-top: 1.5px solid currentColor
  }
  .header-inner nav {
    position: absolute;
    top: 100%;
    left: calc(-1*var(--gutter));
    width: calc(100% + var(--gutter)*2);
    padding: 14px var(--gutter) 20px;
    margin: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 15px
  }
  .js .header-inner nav:not(.is-open) {
    display: none
  }
  .header-inner nav a {
    padding: 12px 0
  }
  .header-inner nav a::after {
    display: none
  }
  .header-inner nav a:hover {
    color: var(--blue)
  }
  .header-inner nav .nav-contact {
    display: block
  }
  .menu-toggle[aria-expanded=true] .menu-lines {
    border-color: transparent
  }
  .menu-toggle[aria-expanded=true] .menu-lines::before {
    top: 5px;
    transform: rotate(45deg)
  }
  .menu-toggle[aria-expanded=true] .menu-lines::after {
    content: '';
    position: absolute;
    top: 5px;
    width: 100%;
    border-top: 1.5px solid;
    transform: rotate(-45deg)
  }
  html: not(.js) .site-header {
    position: relative
  }
  html: not(.js) .header-inner {
    height: auto;
    padding-block: 18px
  }
  html: not(.js) .header-inner nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 12px;
    padding: 0;
    gap: 20px;
    border: 0;
    width: 100%;
    order: 5
  }
  html: not(.js) .menu-toggle {
    display: none
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4%;
    align-items: center
  }
  .hero h1 {
    font-size: clamp(36px,5.8vw,48px)
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: .06em
  }
  .hero-description {
    font-size: 13px
  }
  .hero-actions {
    align-items: start;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px
  }
  .hero-notes {
    font-size: 9px;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px
  }
  .hero-work {
    height: 355px;
    margin-top: 25px
  }
  .work-label {
    left: 18px;
    font-size: 7px;
    gap: 5px
  }
  .mini-browser-main {
    left: 6%;
    top: 80px;
    width: 97%
  }
  .mini-browser-secondary {
    left: -4%;
    top: 212px;
    width: 76%
  }
  .work-footer {
    left: 62%;
    right: 13px;
    font-size: 8px;
    bottom: 18px
  }
  .work-footer .large-arrow {
    display: none
  }
  .preview-caption {
    font-size: 7px;
    padding: 5px 7px
  }
  .preview-caption small {
    font-size: 6px
  }
  .browser-bar {
    height: 19px;
    padding-inline: 7px
  }
  .browser-bar span {
    font-size: 6px
  }
  .section-top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 38px
  }
  .section-heading {
    flex-direction: row;
    align-items: end;
    gap: 32px
  }
  .section-heading h2 {
    font-size: 36px
  }
  .section-heading>p {
    font-size: 12px;
    max-width: 30ch
  }
  .service+.service {
    margin-left: 25px;
    padding-left: 25px
  }
  .service-headline {
    font-size: 30px
  }
  .service-description {
    font-size: 12px
  }
  .service-tags li {
    font-size: 9px
  }
  .project-grid {
    gap: 38px 22px
  }
  .project-screen {
    padding: 15px 15px 0
  }
  .project-screen img {
    height: auto
  }
  .project-head h3 {
    font-size: 20px
  }
  .project-description {
    font-size: 13px
  }
  .process-grid {
    gap: 24px;
    grid-template-columns: 1fr 1fr
  }
  .process-grid li::before {
    margin-bottom: 20px
  }
  .process-grid h3 {
    font-size: 19px
  }
  .about-statement h2 {
    font-size: 38px
  }
  .about-copy {
    font-size: 12px;
    padding-top: 45px
  }
  .contact h2 {
    font-size: 44px
  }
  .contact-copy>p:first-child {
    font-size: 13px
  }
  .contact-grid {
    gap: 6%
  }
  .email-cta {
    font-size: 12px;
    min-width: 225px
  }
  .email-address {
    font-size: 14px
  }
  .email-details {
    gap: 5px
  }
  .footer-main {
    grid-template-columns: 1fr .5fr;
    gap: 35px
  }
  .footer-contact {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 0
  }
  .footer-contact>span {
    margin-bottom: 0
  }
  .footer-bottom {
    font-size: 8px;
    gap: 15px
  }
}

@media(max-width:600px) {
  :root {
    --gutter: 24px
  }
  .section {
    padding-block: 70px
  }
  .header-inner {
    height: 74px;
    gap: 12px
  }
  .brand {
    width: 118px
  }
  .header-cta {
    padding: 10px 12px;
    min-height: 40px;
    font-size: 9px;
    gap: 13px
  }
  .header-cta span {
    font-size: 19px
  }
  .menu-toggle {
    font-size: 0;
    gap: 0;
    padding: 10px 0 10px 9px
  }
  .menu-lines {
    width: 21px
  }
  .hero {
    padding-top: 36px
  }
  .hero-grid {
    display: block;
    padding-bottom: 36px
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: .08em
  }
  .hero h1 {
    font-size: clamp(43px,9.7vw,60px);
    margin-top: 23px;
    margin-bottom: 23px;
    line-height: 1.04
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.75;
    max-width: 38ch
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-top: 25px
  }
  .hero-actions .button {
    min-height: 51px;
    font-size: 11px;
    padding: 14px 16px;
    gap: 18px
  }
  .hero-actions .text-link {
    font-size: 10px;
    gap: 8px
  }
  .hero-notes {
    flex-direction: row;
    gap: 20px;
    font-size: 9px;
    margin-top: 19px
  }
  .hero-work {
    height: 325px;
    margin-top: 48px;
    margin-left: 10px;
    margin-right: 0
  }
  .work-label {
    font-size: 8px;
    left: 20px;
    top: 14px
  }
  .mini-browser-main {
    top: 52px;
    width: 82%;
    left: 14%;
    transform: rotate(-5deg)
  }
  .mini-browser-secondary {
    left: -4%;
    width: 60%;
    top: 175px;
    transform: rotate(5deg)
  }
  .work-footer {
    font-size: 9px;
    bottom: 19px;
    left: 60%;
    right: 16px
  }
  .work-footer .large-arrow {
    display: block;
    font-size: 30px
  }
  .mini-browser-main .browser-bar {
    height: 21px
  }
  .mini-browser-secondary .browser-bar {
    height: 18px
  }
  .preview-caption {
    font-size: 7px
  }
  .preview-caption small {
    font-size: 6px
  }
  .hero-bottom {
    padding-block: 21px;
    gap: 22px
  }
  .hero-bottom p {
    font-size: 10px
  }
  .hero-bottom a {
    font-size: 7px;
    gap: 10px;
    flex-shrink: 0
  }
  .round-arrow {
    width: 30px;
    height: 30px;
    font-size: 16px
  }
  .section-top {
    gap: 21px;
    margin-bottom: 32px
  }
  .section-label {
    font-size: 9px;
    gap: 13px
  }
  .section-heading {
    display: block
  }
  .section-heading h2 {
    font-size: 38px;
    line-height: 1.08
  }
  .section-heading>p {
    max-width: 41ch;
    margin-top: 19px;
    font-size: 13px
  }
  .service-grid {
    display: block
  }
  .service {
    padding: 30px 0 35px
  }
  .service+.service {
    margin: 0;
    padding: 32px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line)
  }
  .service-top {
    margin-bottom: 20px
  }
  .service-top h3 {
    font-size: 13px
  }
  .service-icon {
    width: 35px;
    height: 35px
  }
  .service-headline {
    font-size: 34px;
    margin-bottom: 17px
  }
  .service-description {
    font-size: 13px;
    max-width: 45ch
  }
  .service-tags {
    margin-top: 20px;
    gap: 6px
  }
  .service-tags li {
    font-size: 9px;
    padding: 5px 8px
  }
  .service-link {
    font-size: 11px;
    margin-top: 24px;
    gap: 30px
  }
  .project-grid {
    display: block
  }
  .project+.project {
    margin-top: 35px
  }
  .project-screen {
    padding: 15px 15px 0
  }
  .project-screen img {
    height: auto;
    aspect-ratio: 1265 / 712;
    object-fit: contain;
    object-position: top
  }
  .project-head {
    margin-top: 15px;
    margin-bottom: 10px
  }
  .project-head h3 {
    font-size: 23px
  }
  .project-description {
    font-size: 13px;
    line-height: 1.75
  }
  .project-category {
    font-size: 9px
  }
  .project-kind {
    font-size: 8px;
    margin-bottom: 9px
  }
  .portfolio-note {
    font-size: 9px;
    line-height: 1.7;
    margin-top: 32px;
    padding-top: 21px
  }
  .process .section-heading h2 {
    font-size: 35px
  }
  .process-grid {
    gap: 30px 22px
  }
  .process-grid li {
    padding-top: 20px
  }
  .process-grid li::before {
    font-size: 11px;
    margin-bottom: 25px
  }
  .process-grid li::after {
    top: 18px;
    font-size: 15px
  }
  .process-grid h3 {
    font-size: 18px;
    max-width: 14ch;
    margin-bottom: 13px;
    line-height: 1.25
  }
  .process-grid p {
    font-size: 12px;
    line-height: 1.8
  }
  .about-grid {
    display: block
  }
  .about-statement h2 {
    font-size: 42px;
    max-width: 14ch;
    margin-top: 23px
  }
  .statement-bar {
    margin-top: 24px;
    width: 80px
  }
  .about-copy {
    padding-top: 34px;
    font-size: 14px;
    line-height: 1.85
  }
  .principles {
    margin-top: 25px
  }
  .principles li {
    font-size: 12px;
    padding-block: 11px
  }
  .contact-grid {
    display: block
  }
  .contact h2 {
    font-size: clamp(43px,10vw,60px);
    margin-top: 24px
  }
  .contact-copy {
    margin-top: 32px
  }
  .contact-copy>p:first-child {
    font-size: 14px;
    line-height: 1.8;
    max-width: 39ch
  }
  .email-cta {
    margin-top: 25px;
    min-height: 55px;
    font-size: 13px;
    min-width: 265px
  }
  .email-details {
    margin-top: 21px;
    gap: 14px
  }
  .email-address {
    font-size: 15px
  }
  .copy-email {
    font-size: 10px;
    padding: 9px 3px
  }
  .contact-note {
    font-size: 10px;
    margin-top: 4px
  }
  .site-footer {
    padding: 41px 0 20px
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 29px
  }
  .footer-brand {
    width: 130px
  }
  .footer-main p {
    font-size: 10px;
    margin-top: 16px;
    line-height: 1.8;
    max-width: 23ch
  }
  .footer-main nav {
    padding-top: 0;
    gap: 9px;
    font-size: 11px;
    align-items: end
  }
  .footer-contact {
    grid-column: 1/-1;
    display: block
  }
  .footer-contact>span {
    font-size: 8px;
    margin-bottom: 10px
  }
  .footer-contact a {
    font-size: 13px
  }
  .footer-bottom {
    font-size: 9px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px
  }
  .footer-bottom p:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2
  }
  .footer-bottom a {
    grid-column: 2;
    grid-row: 1;
    gap: 10px
  }
  .error-content .brand {
    margin-bottom: 50px
  }
}

@media(max-width:360px) {
  :root {
    --gutter: 20px
  }
  .header-inner {
    gap: 8px
  }
  .header-cta {
    font-size: 8px;
    padding: 10px;
    gap: 8px
  }
  .brand {
    width: 110px
  }
  .hero h1 {
    font-size: 40px
  }
  .hero-actions {
    gap: 13px
  }
  .hero-actions .button {
    font-size: 10px;
    padding: 13px;
    gap: 11px
  }
  .hero-actions .text-link {
    font-size: 9px
  }
  .hero-work {
    height: 285px
  }
  .mini-browser-main {
    top: 53px;
    width: 86%;
    left: 10%
  }
  .mini-browser-secondary {
    top: 162px;
    width: 64%
  }
  .work-footer {
    font-size: 8px;
    left: 63%;
    right: 10px
  }
  .work-footer .large-arrow {
    display: none
  }
  .hero-bottom a>span:first-child {
    max-width: 60px
  }
  .email-address {
    font-size: 14px
  }
  .email-details {
    gap: 8px
  }
  .section-heading h2 {
    font-size: 35px
  }
  .process-grid {
    gap: 26px 16px
  }
  .process-grid h3 {
    font-size: 16px
  }
  .about-statement h2 {
    font-size: 38px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  *,*::before,*::after {
    animation: none!important;
    transition: none!important
  }
  .button:hover,.project-link:hover .project-screen img,.project-link:hover .project-head>span {
    transform: none
  }
}

/* Apariencia: colores semánticos compartidos por todas las secciones. */
:root {
  color-scheme: light;
  --canvas: var(--white);
  --surface: var(--light);
  --accent-ink: var(--blue);
  --button-hover-bg: var(--navy);
  --button-hover-ink: var(--white);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: var(--navy);
  --surface: #102e50;
  --ink: var(--light);
  --muted: #b8c9df;
  --line: #36506e;
  --accent-ink: var(--light);
  --button-hover-bg: var(--light);
  --button-hover-ink: var(--navy);
}

body, .site-header {
  background: var(--canvas);
  color: var(--ink);
}

.hero, .process, .error-page {
  background: var(--surface);
}

:focus-visible {
  outline-color: var(--accent-ink);
}

.brand {
  background: var(--white);
  padding: 7px;
  border-radius: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-inner nav {
  background: var(--canvas);
}

.header-inner nav a:hover, .text-link:hover, .service-link:hover,
.footer-main nav a:hover, .footer-contact a:hover, .footer-bottom a:hover {
  color: var(--accent-ink);
}

.header-cta {
  background: var(--ink);
  color: var(--canvas);
}

.header-cta:hover {
  background: var(--blue);
  color: var(--white);
}

.menu-toggle {
  color: var(--ink);
}

.hero h1 .hero-accent, .section-label > span, .hero-notes li::before,
.process-grid li::before, .principles li::after {
  color: var(--accent-ink);
}

.hero-bottom strong, .principles li {
  color: var(--ink);
}

.text-link, .service-link {
  border-color: var(--ink);
}

.text-link:hover, .service-link:hover {
  border-color: var(--accent-ink);
}

.button-blue:hover {
  background: var(--button-hover-bg);
  color: var(--button-hover-ink);
}

.hero-bottom a:hover .round-arrow {
  background: var(--ink);
  color: var(--canvas);
}

.service-icon {
  stroke: var(--accent-ink);
}

.service {
  --service-gap: clamp(24px, 3.7vw, 48px);
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  padding-right: var(--service-gap);
}

.service + .service {
  margin-left: 0;
  padding-left: var(--service-gap);
  padding-right: 0;
}

.service-link {
  justify-self: start;
  align-self: end;
}

.process-grid li {
  border-color: var(--line);
}

.process-grid li::after {
  content: none;
}

.principles li::after {
  content: '•';
  font-size: 13px;
}

.work-footer {
  left: auto;
  right: 24px;
  bottom: 24px;
}

.work-footer .large-arrow {
  display: block;
}

.mini-browser {
  --muted: #53657a;
}

.preview-caption {
  gap: 6px;
  flex-wrap: wrap;
  font-size: 10px;
  line-height: 1.4;
  padding: 8px 10px;
}

.preview-caption small {
  font-size: 9px;
  white-space: nowrap;
  margin-left: auto;
}

.error-content .eyebrow {
  color: var(--accent-ink);
}

.project-kind {
  font-size: 10px;
}

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

.project-visit, .portfolio-note {
  font-size: 12px;
}

.process-grid p {
  font-size: 14px;
}

.footer-main p, .footer-main nav {
  font-size: 12px;
}

.footer-main nav a {
  padding-block: 3px;
}

.footer-bottom {
  font-size: 11px;
}

.theme-control {
  position: relative;
  display: none;
  color: var(--ink);
}

.js .theme-control {
  display: block;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--ink);
}

.theme-toggle:hover, .theme-toggle[aria-expanded="true"] {
  background: var(--surface);
}

.theme-moon, html[data-theme="dark"] .theme-sun {
  display: none;
}

html[data-theme="dark"] .theme-moon {
  display: block;
}

.theme-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 12px);
  right: 0;
  width: 180px;
  padding: 8px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px #0002;
}

.theme-panel > p {
  padding: 8px 10px;
  font-size: 11px;
  color: var(--muted);
}

.theme-panel button {
  width: 100%;
  min-height: 44px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  text-align: left;
}

.theme-panel button:hover, .theme-panel button[aria-pressed="true"] {
  background: var(--surface);
}

.theme-panel button span {
  visibility: hidden;
}

.theme-panel button[aria-pressed="true"] span {
  visibility: visible;
}

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

.error-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.error-tools .brand {
  margin-bottom: 0;
}

@media(max-width:960px) {
  .header-actions {
    margin-left: auto;
    gap: 16px;
  }
  .header-actions .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 0;
  }
  .header-actions .menu-toggle > span:first-child {
    display: none;
  }
  html:not(.js) .header-actions .menu-toggle {
    display: none;
  }
}

@media(max-width:600px) {
  .header-inner {
    flex-wrap: nowrap;
  }
  .header-actions {
    gap: 8px;
  }
  .header-cta {
    display: none;
  }
  html:not(.js) .header-inner {
    flex-wrap: wrap;
  }
  .hero-description {
    font-size: 15px;
  }
  .service, .service + .service {
    padding-left: 0;
    padding-right: 0;
  }
  .preview-caption {
    font-size: 9px;
    padding: 6px 8px;
  }
  .preview-caption small {
    font-size: 8px;
  }
  .project-category {
    font-size: 11px;
  }
  .process-grid {
    gap: 32px 20px;
  }
  .process-grid p {
    font-size: 13px;
  }
  .footer-main p, .footer-main nav {
    font-size: 12px;
  }
  .footer-bottom {
    font-size: 10px;
  }
}
