:root {
  --ink: #071A2D;
  --muted: #8A929A;
  --green: #0B2E4A;
  --green-soft: #eef4f8;
  --gold: #B8892E;
  --gold-dark: #8A6423;
  --tech-blue: #2D8CFF;
  --text: #2E3338;
  --line: #d9d5cc;
  --paper: #F7F4EF;
  --warm-white: #F7F4EF;
  --mist: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
a,
button,
label,
strong,
span {
  overflow-wrap: anywhere;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 5rem;
  padding: .65rem clamp(1rem, 4vw, 4rem);
  background: rgba(247, 244, 239, .94);
  border-bottom: 1px solid rgba(7, 26, 45, .12);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, background .2s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, .98);
  box-shadow: 0 10px 30px rgba(7, 26, 45, .1);
}

.site-brand {
  display: grid;
  width: clamp(10rem, 18vw, 15rem);
  min-width: 10rem;
  min-height: 3.25rem;
  place-items: center start;
}

.site-logo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 3.25rem;
  border: 1px dashed rgba(7, 26, 45, .3);
  border-radius: .25rem;
  color: var(--muted);
  background: rgba(255, 255, 255, .5);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.site-logo {
  width: 100%;
  max-height: 3.25rem;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: .3rem;
}

.site-nav > a,
.language-link {
  position: relative;
  padding: .7rem .75rem;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 600;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  border: 1px solid rgba(7, 26, 45, .18);
  border-radius: .35rem;
  padding: .2rem;
  background: rgba(255, 255, 255, .72);
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  min-height: 2.15rem;
  border-radius: .25rem;
  padding: .35rem .52rem;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
  transition: color .18s ease, background .18s ease;
}

.language-switcher a:hover {
  background: var(--green-soft);
}

.language-switcher a.is-current {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 3px 10px rgba(7, 26, 45, .18);
}

.language-flag {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.2rem;
  height: .78rem;
  overflow: hidden;
  border: 1px solid rgba(7, 26, 45, .18);
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(7, 26, 45, .12);
}

.flag-pt {
  background: linear-gradient(90deg, #046a38 0 40%, #da291c 40% 100%);
}

.flag-pt::after {
  position: absolute;
  top: 50%;
  left: 40%;
  width: .34rem;
  height: .34rem;
  border: 1px solid #f6c344;
  border-radius: 50%;
  background: #f6c344;
  content: "";
  transform: translate(-50%, -50%);
}

.flag-gb {
  background:
    linear-gradient(33deg, transparent 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(-33deg, transparent 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(90deg, transparent 40%, #fff 40% 44%, #c8102e 44% 56%, #fff 56% 60%, transparent 60%),
    linear-gradient(0deg, transparent 35%, #fff 35% 40%, #c8102e 40% 60%, #fff 60% 65%, transparent 65%),
    #012169;
}

.site-nav > a:hover,
.site-nav > a.is-active,
.language-link:hover {
  color: var(--green);
}

.site-nav > a::after {
  position: absolute;
  right: .75rem;
  bottom: .35rem;
  left: .75rem;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(.25);
  transition: opacity .18s ease, transform .18s ease;
}

.site-nav > a:hover::after,
.site-nav > a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav-item {
  position: relative;
}

.site-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  display: grid;
  min-width: 16rem;
  padding: .45rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 18px 45px rgba(7, 26, 45, .12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-.25rem);
  transition: opacity .18s ease, transform .18s ease;
}

.site-dropdown a {
  border-radius: .35rem;
  padding: .72rem .8rem;
  color: var(--ink);
}

.site-dropdown a:hover {
  background: var(--mist);
  color: var(--green);
}

.site-nav-item:hover .site-dropdown,
.site-nav-item:focus-within .site-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-toggle,
.mobile-contact-link {
  display: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  padding: .7rem 1rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

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

.scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: .75rem 1.1rem;
  font-weight: 650;
}

.primary-cta {
  color: #fff;
  background: var(--green);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.primary-cta:hover {
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(7, 26, 45, .18);
  transform: translateY(-2px);
}

.site-actions > .primary-cta {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.site-actions > .primary-cta:hover {
  border-color: var(--gold-dark);
  color: #fff;
  background: var(--gold-dark);
}

.final-cta .primary-cta,
.detail-hero .primary-cta,
.legal-contact-strip .primary-cta,
.contact-submit-row .primary-cta {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.final-cta .primary-cta:hover,
.detail-hero .primary-cta:hover,
.legal-contact-strip .primary-cta:hover,
.contact-submit-row .primary-cta:hover {
  border-color: var(--gold-dark);
  color: #fff;
  background: var(--gold-dark);
}

.secondary-cta {
  color: var(--green);
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(31rem, calc(100vh - 4.75rem));
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  transform: scale(1.08);
  will-change: transform;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 26, 45, .9), rgba(11, 46, 74, .42) 55%, rgba(7, 26, 45, .12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(48rem, calc(100% - 2rem));
  margin: 0 clamp(1rem, 6vw, 5rem) clamp(3rem, 8vw, 6rem);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 5vw, 5rem);
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  font-weight: 700;
}

.hero-scroll span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
  margin: .35rem 0 1rem;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: .98;
  font-weight: 600;
}

.hero p,
.page-hero p,
.detail-hero p {
  max-width: 42rem;
  color: rgba(255, 255, 255, .86);
  font-size: 1.12rem;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 .45rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 5vw, 5rem);
}

[data-reveal] {
  transform: translateY(.85rem);
  transition: transform .45s ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
}

[data-parallax] {
  will-change: transform;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section h2,
.section-heading h2 {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 600;
}

.intro-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  background: var(--mist);
}

.text-link {
  color: var(--green);
  font-weight: 700;
}

.text-link::after {
  margin-left: .4rem;
  content: "→";
}

.service-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin: 0 0 1.25rem;
}

.service-selector a {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  min-height: 4.25rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  padding: .7rem .85rem;
  color: var(--ink);
  background: #fff;
  font-size: .92rem;
  font-weight: 700;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.service-selector a:hover,
.service-selector a:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(7, 26, 45, .08);
  transform: translateY(-2px);
}

.service-selector svg,
.service-card-icon {
  width: 2.35rem;
  height: 2.35rem;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
}

.service-card > img {
  width: 100%;
  height: 9rem;
  object-fit: cover;
}

.service-card > div {
  position: relative;
  padding: 1.1rem;
}

.service-card-icon {
  position: absolute;
  top: -1.65rem;
  right: 1rem;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(184, 137, 46, .35);
  border-radius: 50%;
  padding: .7rem;
  background: var(--paper);
}

.service-card h3,
.article-card h3 {
  margin: .15rem 0 .5rem;
  color: var(--ink);
  font-size: 1.12rem;
}

.service-card p,
.article-card p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}

.service-card > div > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  margin-top: .35rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: .62rem 1rem;
  color: var(--ink);
  background: var(--gold);
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.service-card > div > a:hover {
  border-color: var(--gold-dark);
  color: #fff;
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.service-selector-page {
  position: sticky;
  z-index: 5;
  top: 5.8rem;
  margin-bottom: 2rem;
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: rgba(247, 244, 239, .95);
  backdrop-filter: blur(12px);
}

.service-list {
  display: grid;
  gap: 1rem;
  width: min(70rem, 100%);
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(14rem, .75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  scroll-margin-top: 11rem;
}

.service-row > img {
  width: 100%;
  height: 100%;
  min-height: 17rem;
  object-fit: cover;
}

.service-row > div {
  position: relative;
  padding: 1.5rem;
}

.service-row .service-card-icon {
  position: static;
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0 0 1rem;
  padding: .65rem;
  background: var(--paper);
}

.service-row h2 {
  margin: 0 0 .6rem;
  color: var(--ink);
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.service-row > div > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  margin-top: .35rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: .62rem 1rem;
  color: var(--ink);
  background: var(--gold);
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.service-row > div > a:hover {
  border-color: var(--gold-dark);
  color: #fff;
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.web-studio-section {
  color: var(--text);
  background: #edf1f3;
}

.web-service-feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(24rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(78rem, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid rgba(7, 26, 45, .18);
  border-bottom: 1px solid rgba(7, 26, 45, .18);
}

.web-service-feature > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: .5rem;
  box-shadow: 0 20px 45px rgba(7, 26, 45, .16);
}

.web-service-copy h2 {
  margin-bottom: 1rem;
}

.web-service-copy > p:not(.eyebrow) {
  color: #59636b;
  line-height: 1.7;
}

.web-service-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.web-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.web-capabilities li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: .88rem;
}

.web-capabilities li::before {
  position: absolute;
  top: .42rem;
  left: 0;
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.web-examples-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  width: min(78rem, 100%);
  margin: clamp(2rem, 4vw, 3rem) auto 1.1rem;
}

.web-examples-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
}

.web-examples-heading > span {
  color: var(--muted);
  font-size: .82rem;
}

.web-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(78rem, 100%);
  margin: 0 auto;
}

.web-case-card {
  overflow: hidden;
  border: 1px solid rgba(7, 26, 45, .16);
  border-radius: .5rem;
  background: #fff;
}

.web-case-card > div:last-child {
  padding: 1rem;
}

.web-case-card h3 {
  margin: 0 0 .45rem;
  color: var(--ink);
  font-size: 1.1rem;
}

.web-case-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.browser-frame {
  position: relative;
  padding-top: 1.35rem;
  background: var(--ink);
}

.browser-frame > span,
.browser-frame::before,
.browser-frame::after {
  position: absolute;
  top: .48rem;
  width: .34rem;
  height: .34rem;
  border-radius: 50%;
  content: "";
}

.browser-frame > span { left: .65rem; background: #d45a4f; }
.browser-frame::before { left: 1.2rem; background: var(--gold); }
.browser-frame::after { left: 1.75rem; background: #4ca57a; }

.browser-frame img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.editorial-section {
  background: #fff;
}

.article-card {
  min-width: 0;
  border-bottom: 2px solid var(--line);
  background: var(--paper);
}

.article-card-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.blog-card-media {
  position: relative;
}

.blog-card .blog-card-media > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-media > span,
.article-card-image > span {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 .5rem 1.5rem rgba(7, 26, 45, .2);
}

.blog-card-media svg,
.article-card-image span svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-card img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  transition: transform .35s ease;
}

.article-card:hover img {
  transform: scale(1.035);
}

.article-card > div {
  padding: 1rem;
}

.intro-band p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(184, 137, 46, .35);
  border-bottom: 1px solid rgba(184, 137, 46, .35);
  padding: 0 clamp(1rem, 5vw, 5rem);
  color: #fff;
  background: var(--ink);
}

.metrics-band div {
  display: grid;
  gap: .35rem;
  padding: 2rem clamp(1rem, 3vw, 2.5rem);
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.metrics-band div:last-child {
  border-right: 0;
}

.metrics-band strong {
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
}

.metrics-band span {
  color: rgba(255, 255, 255, .72);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-card,
.team-card,
.blog-card,
.listing-card,
.case-strip article,
.testimonials blockquote {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.image-card:hover,
.listing-card:hover,
.blog-card:hover {
  border-color: rgba(184, 137, 46, .55);
  box-shadow: 0 18px 40px rgba(7, 26, 45, .1);
  transform: translateY(-4px);
}

.image-card img,
.team-card img,
.blog-card img,
.listing-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-card div,
.team-card div,
.blog-card div,
.listing-card div {
  padding: 1.25rem;
}

.image-card h3,
.team-card h3,
.blog-card h2,
.listing-card h2,
.case-strip h2,
.case-strip h3 {
  margin: 0 0 .65rem;
  font-size: 1.2rem;
}

.image-card p,
.team-card p,
.blog-card p,
.listing-card p,
.case-strip p,
.section p {
  color: var(--muted);
  line-height: 1.7;
}

.image-card a,
.blog-card a,
.listing-card a {
  color: var(--green);
  font-weight: 700;
}

.blog-card .blog-read-link {
  display: inline-flex;
  width: fit-content;
  min-height: 2.6rem;
  align-items: center;
  justify-content: center;
  margin-top: .4rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: .65rem 1rem;
  color: var(--ink);
  background: var(--gold);
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.blog-card .blog-read-link:hover {
  border-color: var(--gold-dark);
  color: #fff;
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.service-preview-list {
  display: grid;
  gap: .45rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.service-preview-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: .9rem;
}

.service-preview-list li::before {
  position: absolute;
  top: .48rem;
  left: 0;
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  background: #fff;
}

.split-feature.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.split-feature.reverse img {
  order: 2;
}

.split-feature img,
.detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .5rem;
}

blockquote {
  margin: 1rem 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.7;
}

.differentiators {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.differentiators article {
  padding: 2rem;
  background: var(--ink);
  color: #fff;
}

.differentiators span {
  color: var(--gold);
  font-weight: 700;
}

.differentiators p {
  color: rgba(255, 255, 255, .78);
}

.case-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.before-after img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.case-strip article > :not(.before-after, .case-comparison, .case-card-body) {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.case-card {
  align-self: start;
  box-shadow: 0 .7rem 2rem rgba(7, 26, 45, .06);
}

.case-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  background: var(--gold);
}

.case-project-link {
  cursor: pointer;
  outline-offset: 3px;
}

.case-project-link:focus-visible {
  outline: 3px solid var(--tech-blue);
}

.case-comparison figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.case-comparison img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.case-card:hover .case-comparison img {
  transform: scale(1.025);
}

.case-comparison span {
  position: absolute;
  z-index: 1;
  top: .55rem;
  left: .55rem;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  padding: .28rem .55rem;
  color: #fff;
  background: rgba(7, 26, 45, .84);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.case-card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.case-card-body .eyebrow {
  margin-bottom: .45rem;
}

.case-card-body h2 {
  margin-bottom: .45rem;
}

.case-card-body > p:not(.eyebrow, .case-concept-label) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.case-card-body blockquote {
  margin: .9rem 0 0;
  padding: .75rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--graphite);
  font-size: .87rem;
  line-height: 1.55;
}

.case-concept-label {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(184, 137, 46, .35);
  border-radius: .25rem;
  padding: .3rem .55rem;
  color: var(--gold-dark) !important;
  background: rgba(184, 137, 46, .08);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.testimonials {
  background: var(--mist);
}

.testimonials blockquote {
  margin: 0;
  padding: 1.3rem;
}

.testimonials cite {
  color: var(--green);
  font-style: normal;
  font-weight: 700;
}

.partners-section {
  background: #fff;
}

.partner-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.partner-wall a,
.partner-wall div {
  position: relative;
  display: grid;
  min-height: 7rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(184, 137, 46, .32);
  border-radius: .5rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 18px),
    linear-gradient(145deg, var(--ink), var(--green));
  background-size: 18px 18px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.partner-wall a::after,
.partner-wall div::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: .7;
}

.partner-wall img {
  position: relative;
  z-index: 1;
  max-width: 82%;
  max-height: 4.5rem;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .86;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.partner-wall img[src$="cliente-7.png"] {
  filter: grayscale(1) invert(1) contrast(1.35);
  mix-blend-mode: screen;
}

.partner-wall a:hover,
.partner-wall a:focus-visible,
.partner-wall div:hover {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 14px 30px rgba(7, 26, 45, .12);
  transform: translateY(-3px);
}

.partner-wall a:hover img,
.partner-wall a:focus-visible img,
.partner-wall div:hover img {
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
  transform: scale(1.025);
}

.final-cta {
  text-align: center;
  background: var(--green);
}

.final-cta h2 {
  margin: 0 auto 1.35rem;
  color: #fff;
}

.page-hero,
.detail-hero {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  background: var(--green);
  color: #fff;
}

.page-hero.compact {
  min-height: 18rem;
}

.page-hero.has-media {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.page-hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero.has-media::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 45, .92), rgba(11, 46, 74, .5) 70%, rgba(7, 26, 45, .2));
  content: "";
}

.page-hero-content {
  width: min(48rem, 100%);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.two-columns,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.contact-layout {
  align-items: start;
  background: var(--mist);
}

.check-list {
  display: grid;
  gap: .8rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "•";
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

.listing-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.listing-card,
.blog-card {
  display: grid;
  grid-template-columns: minmax(12rem, .9fr) 1fr;
}

.article-page {
  width: min(66rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.article-page > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: .5rem;
  margin-bottom: 1.5rem;
}

.article-page h1 {
  margin: .5rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.article-lead {
  max-width: 48rem;
  color: var(--petroleum);
  font-size: 1.2rem;
  line-height: 1.65;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(12rem, .42fr) minmax(0, 1fr);
  gap: 1.4rem clamp(1.5rem, 5vw, 4.5rem);
  margin: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.article-body h2 {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  grid-column: 1;
  gap: .8rem;
  align-items: start;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.25;
}

.article-body h2 span,
.article-contact-cta > span {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid rgba(184, 137, 46, .45);
  border-radius: .4rem;
  color: var(--gold-dark);
  background: rgba(184, 137, 46, .08);
}

.article-body h2 svg,
.article-contact-cta svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-body p {
  grid-column: 2;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  color: var(--graphite);
  line-height: 1.8;
  white-space: pre-line;
}

.article-body > p:first-child {
  grid-column: 1 / -1;
  max-width: 52rem;
  border: 0;
  padding: .75rem 0 1rem;
  font-size: 1.05rem;
}

.article-body ul {
  display: grid;
  grid-column: 2;
  gap: .65rem;
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 0;
  list-style: none;
}

.article-body li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--graphite);
  line-height: 1.7;
}

.article-body li::before {
  position: absolute;
  top: .65rem;
  left: 0;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.article-contact-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  border: 1px solid rgba(184, 137, 46, .45);
  border-radius: .5rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: var(--warm-white);
}

.article-contact-cta h2,
.article-contact-cta p {
  margin: 0;
}

.article-contact-cta h2 {
  margin: .25rem 0 .45rem;
  font-size: 1.45rem;
}

.article-contact-cta p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.article-back-link {
  display: inline-flex;
  margin-top: 1.5rem;
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 700px) {
  .article-body {
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .article-body h2,
  .article-body p,
  .article-body ul,
  .article-body > p:first-child {
    grid-column: 1;
  }

  .article-body p,
  .article-body ul {
    border-top: 0;
    padding-top: 0;
  }

  .article-body h2 {
    margin-top: 1rem;
  }

  .article-contact-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .article-contact-cta .primary-cta {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

.contact-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: .5rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: #fff;
}

.contact-form {
  display: grid;
  gap: 1.35rem;
}

.contact-form-heading {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.contact-form-heading h2,
.contact-panel-heading h2 {
  margin: 0 0 .55rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}

.contact-form-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: .4rem;
  color: var(--ink);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #c8d0d7;
  border-radius: .35rem;
  padding: .78rem .85rem;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--tech-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 140, 255, .13);
}

.contact-form span,
.contact-form [data-valmsg-summary] {
  color: #8A6423;
  font-size: .85rem;
}

.form-success {
  border: 1px solid rgba(45, 140, 255, .32);
  border-radius: .35rem;
  padding: .8rem 1rem;
  color: var(--ink);
  background: #eef4f8;
  font-weight: 700;
}

body.has-open-dialog {
  overflow: hidden;
}

.contact-success-dialog {
  width: min(32rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  border: 1px solid rgba(184, 137, 46, .55);
  border-radius: .5rem;
  padding: 0;
  color: var(--text);
  background: #fff;
  box-shadow: 0 24px 80px rgba(7, 26, 45, .28);
  overflow: auto;
}

.contact-success-dialog::backdrop {
  background: rgba(7, 26, 45, .72);
  backdrop-filter: blur(5px);
}

.contact-success-content {
  display: grid;
  justify-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

.contact-success-icon {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 1.25rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gold);
  font-size: 1.65rem;
  font-weight: 800;
}

.contact-success-content .eyebrow {
  margin-bottom: .55rem;
}

.contact-success-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.contact-success-content > p:not(.eyebrow) {
  max-width: 27rem;
  margin: 1rem 0 1.5rem;
  color: #5d6872;
  line-height: 1.7;
}

.contact-success-close {
  min-width: 8rem;
  justify-content: center;
}

.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-submit-row small {
  color: var(--muted);
  line-height: 1.45;
}

.contact-panel {
  position: sticky;
  top: 6.5rem;
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.contact-panel-heading {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.contact-panel-heading h2 {
  color: #fff;
}

.contact-quick-actions {
  display: grid;
  gap: .7rem;
  margin: 1.25rem 0;
}

.contact-quick-actions > a,
.contact-quick-actions > div {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: .35rem;
  padding: .75rem;
  background: rgba(255, 255, 255, .055);
}

.contact-quick-actions > a {
  transition: border-color .16s ease, background-color .16s ease;
}

.contact-quick-actions > a:hover {
  border-color: var(--gold);
  background: rgba(184, 137, 46, .11);
}

.contact-quick-actions svg,
.contact-next-step svg,
.footer-contact svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-quick-actions > a > svg,
.contact-quick-actions > div > svg {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  padding: .65rem;
  color: var(--gold);
  background: rgba(184, 137, 46, .12);
}

.contact-quick-actions span {
  display: grid;
  min-width: 0;
}

.contact-quick-actions small {
  color: rgba(255, 255, 255, .56);
  font-size: .72rem;
  text-transform: uppercase;
}

.contact-quick-actions strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: .88rem;
}

.contact-service-focus {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.contact-service-focus > div {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.contact-service-focus a {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: .42rem .65rem;
  color: #fff;
  font-size: .75rem;
  font-weight: 650;
}

.contact-service-focus a:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.contact-next-step {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .8rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 1.25rem;
}

.contact-next-step svg {
  color: var(--gold);
}

.contact-next-step strong {
  color: #fff;
}

.contact-next-step p {
  margin: .3rem 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: .86rem;
  line-height: 1.55;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  color: #fff;
  background: #25D366;
  box-shadow: 0 12px 28px rgba(7, 26, 45, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}

.whatsapp-float:hover {
  box-shadow: 0 16px 34px rgba(7, 26, 45, .3);
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

.site-footer {
  color: rgba(255, 255, 255, .82);
  background: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(11rem, .7fr));
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1rem, 5vw, 5rem);
}

.site-footer strong {
  color: #fff;
}

.footer-intro img {
  display: block;
  width: min(13rem, 100%);
  height: 2.5rem;
  margin-bottom: 1rem;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-intro > strong {
  font-size: 1.05rem;
}

.site-footer p {
  max-width: 34rem;
  color: rgba(255, 255, 255, .64);
  line-height: 1.7;
}

.footer-cta {
  display: inline-flex !important;
  width: fit-content;
  margin-top: .8rem !important;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: .55rem .85rem;
  color: var(--ink) !important;
  background: var(--gold);
}

.footer-links a {
  display: block;
  width: fit-content;
  margin-top: .65rem;
  color: rgba(255, 255, 255, .72);
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: .8rem;
}

.footer-contact > a,
.footer-contact > div {
  display: grid;
  grid-template-columns: 1.3rem minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  min-width: 0;
  color: rgba(255, 255, 255, .76);
}

.footer-contact svg {
  color: var(--gold);
}

.footer-contact span {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1rem clamp(1rem, 5vw, 5rem);
  color: rgba(255, 255, 255, .48);
  font-size: .78rem;
}

.footer-bottom > div {
  display: flex;
  gap: 1rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .72);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(184, 137, 46, .28);
}

.legal-hero::after {
  position: absolute;
  right: clamp(1rem, 7vw, 7rem);
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(184, 137, 46, .24);
  border-radius: 50%;
  content: "";
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  background: #fff;
}

.legal-summary {
  position: sticky;
  top: 6.5rem;
  padding-top: 1.25rem;
  border-top: 3px solid var(--gold);
}

.legal-summary-icon {
  display: block;
  margin-bottom: 2rem;
  color: rgba(11, 46, 74, .22);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
}

.legal-summary h2 {
  margin: .65rem 0 1rem;
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
}

.legal-summary > p:last-child {
  color: var(--muted);
  line-height: 1.8;
}

.legal-content {
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--warm-white);
  box-shadow: 0 1.5rem 4rem rgba(7, 26, 45, .07);
}

.legal-rich-text {
  margin-top: 1rem;
  color: var(--graphite);
  font-size: 1.02rem;
  line-height: 1.9;
}

.legal-rich-text section + section,
.legal-rich-text section + p,
.legal-rich-text p + section {
  margin-top: 2rem;
}

.legal-rich-text h3 {
  margin: 0 0 .55rem;
  color: var(--ink);
  font-size: 1.12rem;
}

.legal-rich-text p {
  margin: 0;
}

.legal-contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.legal-contact-strip div {
  display: grid;
  gap: .25rem;
}

.legal-contact-strip span {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(9rem, 1fr) auto;
    min-height: 4.5rem;
    padding: .6rem 1rem;
  }

  .site-brand {
    width: min(13rem, 60vw);
    min-height: 3rem;
  }

  .site-logo-placeholder {
    height: 3rem;
  }

  .nav-toggle {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-content: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: .25rem;
    color: var(--ink);
    background: #fff;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 19;
    top: 4.5rem;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: .65rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 244, 239, .99);
    box-shadow: 0 20px 35px rgba(7, 26, 45, .12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity .2s ease, transform .2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a {
    border-bottom: 1px solid rgba(7, 26, 45, .08);
    padding: .9rem .25rem;
  }

  .site-nav > a::after {
    display: none;
  }

  .mobile-contact-link {
    display: block;
  }

  .site-actions {
    position: absolute;
    right: 4.5rem;
  }

  .site-actions .primary-cta {
    display: none;
  }

  .intro-band,
  .split-feature,
  .split-feature.reverse,
  .detail-hero,
  .two-columns,
  .contact-layout,
  .listing-card,
  .blog-card {
    grid-template-columns: 1fr;
  }

  .split-feature.reverse img {
    order: 0;
  }

  .card-grid.three,
  .differentiators,
  .case-strip,
  .listing-grid,
  .blog-grid,
  .partner-wall {
    grid-template-columns: 1fr 1fr;
  }

  .service-showcase,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-service-feature {
    grid-template-columns: 1fr;
  }

  .web-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-band div:nth-child(2) {
    border-right: 0;
  }

  .metrics-band div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-brand {
    width: 7rem;
    min-width: 8rem;
  }

  .language-switcher a {
    gap: .2rem;
    padding: .32rem .38rem;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading,
  .web-examples-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading .text-link {
    width: 100%;
  }

  .page-hero,
  .page-hero.compact {
    min-height: 18rem;
  }

  .page-hero-content {
    width: 100%;
  }

  .page-hero h1 {
    max-width: 100%;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .card-grid.three,
  .differentiators,
  .case-strip,
  .listing-grid,
  .blog-grid,
  .partner-wall {
    grid-template-columns: 1fr;
  }

  .service-selector,
  .service-showcase,
  .service-row,
  .article-grid,
  .web-case-grid,
  .web-capabilities {
    grid-template-columns: 1fr;
  }

  .web-examples-heading {
    align-items: start;
    flex-direction: column;
  }

  .service-selector-page {
    position: static;
  }

  .service-row > img {
    height: 11rem;
    min-height: 0;
  }

  .metrics-band {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }

  .metrics-band div {
    padding: 1.5rem 1rem;
  }

  .hero-scroll {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .case-card-body,
  .service-card > div,
  .blog-card > div:last-child,
  .listing-card > div:last-child {
    min-width: 0;
  }

  .case-comparison span {
    top: .4rem;
    left: .4rem;
    padding: .22rem .4rem;
    font-size: .62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Home command center */
.hero-home {
  min-height: clamp(40rem, 78svh, 46rem);
  align-items: stretch;
  isolation: isolate;
}

.hero-home::after {
  z-index: 0;
  background: rgba(7, 26, 45, .66);
}

.hero-home .hero-media {
  inset: -2rem 0;
  transform: translate3d(0, var(--hero-scroll-offset, 0), 0);
}

.hero-home .hero-media img {
  opacity: .94;
  transform: scale(1.06);
  animation: hero-image-drift 16s ease-in-out infinite alternate;
}

.hero-tech-grid,
.hero-scanline {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-tech-grid::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16.666%;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, .11);
  box-shadow: 16.666vw 0 rgba(255, 255, 255, .11), 33.332vw 0 rgba(255, 255, 255, .11), 49.998vw 0 rgba(255, 255, 255, .11), 66.664vw 0 rgba(255, 255, 255, .11);
}

.hero-tech-grid::after {
  position: absolute;
  top: 25%;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 25vh rgba(255, 255, 255, .09), 0 50vh rgba(255, 255, 255, .09);
}

.hero-scanline {
  right: auto;
  width: 1px;
  background: rgba(45, 140, 255, .62);
  box-shadow: 0 0 20px rgba(45, 140, 255, .75);
  animation: hero-scan 7s linear infinite;
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(19rem, .75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  width: 100%;
  padding: clamp(4.5rem, 9vh, 7rem) clamp(1rem, 5vw, 5rem) 8rem;
}

.hero-home .hero-content {
  width: auto;
  max-width: 54rem;
  margin: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  font-size: .84rem;
}

.hero-kicker > span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 .35rem rgba(184, 137, 46, .2);
  animation: status-pulse 2.4s ease-out infinite;
}

.hero-home h1 {
  max-width: 13ch;
  margin: .65rem 0 1.25rem;
  font-size: clamp(3.1rem, 5.1vw, 5.5rem);
  line-height: .96;
  text-wrap: balance;
}

.hero-home .hero-lead {
  max-width: 42rem;
  margin: 0 0 1.65rem;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.65;
}

.hero-home .primary-cta {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.hero-home .primary-cta:hover {
  color: #fff;
  background: var(--green);
}

.hero-home .secondary-cta {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(7, 26, 45, .35);
  backdrop-filter: blur(8px);
}

.hero-capabilities {
  border-top: 1px solid rgba(255, 255, 255, .34);
  border-bottom: 1px solid rgba(255, 255, 255, .34);
  background: rgba(7, 26, 45, .3);
  backdrop-filter: blur(8px);
}

.hero-capabilities-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;
  padding: .5rem .2rem .5rem .8rem;
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-capabilities-heading strong {
  color: var(--gold);
  font-size: .82rem;
}

.hero-capabilities > a {
  display: grid;
  grid-template-columns: 2rem 2.35rem minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  min-height: 5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: .7rem .75rem;
  color: #fff;
  transition: background-color .18s ease, padding-left .18s ease;
}

.hero-capabilities > a:hover,
.hero-capabilities > a:focus-visible {
  padding-left: 1rem;
  background: rgba(45, 140, 255, .17);
}

.hero-capability-index {
  color: rgba(255, 255, 255, .46);
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}

.hero-capabilities svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-capability-copy {
  display: grid;
  gap: .16rem;
  min-width: 0;
}

.hero-capability-copy strong {
  font-size: .9rem;
}

.hero-capability-copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, .62);
  font-size: .72rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-metrics {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 5.8rem;
  border-top: 1px solid rgba(255, 255, 255, .24);
  background: rgba(7, 26, 45, .82);
  backdrop-filter: blur(10px);
}

.hero-metrics > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .75rem;
  border-right: 1px solid rgba(255, 255, 255, .14);
  padding: 1rem;
}

.hero-metrics > div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  color: #fff;
  font-size: clamp(1.55rem, 2.3vw, 2.3rem);
  font-variant-numeric: tabular-nums;
}

.hero-metrics span {
  color: rgba(255, 255, 255, .66);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-home .hero-scroll {
  right: clamp(1rem, 5vw, 5rem);
  bottom: 6.7rem;
}

.home-intro {
  position: relative;
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(2.75rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(105deg, #fff 0 64%, var(--warm-white) 64% 100%);
}

.home-intro::before {
  position: absolute;
  top: 0;
  left: clamp(1rem, 4vw, 5rem);
  width: clamp(4rem, 9vw, 8rem);
  height: 3px;
  background: var(--gold);
  content: "";
}

.home-intro h2 {
  max-width: 17ch;
  margin-top: .55rem;
  color: var(--ink);
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  line-height: 1.08;
  text-wrap: balance;
}

.home-intro-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-intro-copy p {
  margin: 0;
  max-width: 42rem;
  color: var(--graphite);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.home-intro-links {
  display: grid;
  border-top: 1px solid rgba(11, 46, 74, .15);
}

.home-intro-links a {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  min-height: 3.2rem;
  border-bottom: 1px solid rgba(11, 46, 74, .15);
  color: var(--ink);
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}

.home-intro-links a:hover {
  padding-left: .45rem;
  color: var(--electric);
}

.home-intro-links svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--gold-dark);
}

.home-services {
  border-top: 1px solid var(--line);
  background: var(--mist);
}

.home-services .service-selector a {
  border-color: rgba(11, 46, 74, .18);
  background: rgba(255, 255, 255, .72);
}

.home-services .service-card {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-services .service-card:hover {
  border-color: rgba(184, 137, 46, .7);
  box-shadow: 0 18px 40px rgba(7, 26, 45, .11);
  transform: translateY(-4px);
}

@keyframes hero-image-drift {
  from { transform: scale(1.06); }
  to { transform: scale(1.12); }
}

@keyframes hero-scan {
  from { transform: translateX(-2px); opacity: 0; }
  12%, 88% { opacity: .8; }
  to { transform: translateX(100vw); opacity: 0; }
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 137, 46, .46); }
  70%, 100% { box-shadow: 0 0 0 .55rem rgba(184, 137, 46, 0); }
}

@media (max-width: 1050px) {
  .hero-home {
    min-height: 46rem;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr);
    gap: 2rem;
  }

  .hero-home h1 {
    font-size: clamp(3rem, 6vw, 4.6rem);
  }

  .hero-capability-copy small {
    display: none;
  }
}

@media (max-width: 800px) {
  .hero-home {
    min-height: 52rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2.25rem;
    padding-top: 4rem;
    padding-bottom: 10rem;
  }

  .hero-home h1 {
    max-width: 14ch;
  }

  .hero-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-capabilities-heading {
    grid-column: 1 / -1;
  }

  .hero-capabilities > a {
    grid-template-columns: 1.5rem 2rem minmax(0, 1fr);
    min-height: 4.2rem;
  }

  .hero-capabilities > a:nth-of-type(even) {
    border-left: 1px solid rgba(255, 255, 255, .16);
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics > div {
    min-height: 4.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    padding: .65rem;
  }

  .hero-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .hero-home .hero-scroll {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-home {
    min-height: 48rem;
  }

  .hero-shell {
    align-content: start;
    gap: 1.6rem;
    padding: 3.4rem 1rem 9.5rem;
  }

  .hero-home h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  .hero-home .hero-lead {
    font-size: .98rem;
    line-height: 1.55;
  }

  .hero-home .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-home .hero-actions a {
    width: 100%;
    padding-right: .65rem;
    padding-left: .65rem;
    font-size: .84rem;
  }

  .hero-capabilities > a {
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: .55rem;
    padding: .55rem;
  }

  .hero-capability-index {
    display: none;
  }

  .hero-capabilities svg {
    width: 1.65rem;
    height: 1.65rem;
  }

  .hero-capability-copy strong {
    font-size: .78rem;
  }

  .hero-metrics > div {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero-metrics strong {
    font-size: 1.4rem;
  }

  .hero-metrics span {
    font-size: .64rem;
  }

  .home-intro-copy {
    grid-template-columns: 2rem minmax(0, 1fr);
  }
}

.leadership-message {
  display: grid;
  grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.leadership-portrait {
  position: relative;
  width: min(100%, 19rem);
  margin: 0 auto;
  aspect-ratio: 1;
}

.leadership-portrait::before {
  position: absolute;
  z-index: 0;
  inset: -.8rem;
  border: 1px solid rgba(184, 137, 46, .58);
  border-radius: 50%;
  content: "";
}

.leadership-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.leadership-portrait > span {
  position: absolute;
  z-index: 2;
  right: .2rem;
  bottom: 1.5rem;
  width: 1.25rem;
  height: 1.25rem;
  border: .3rem solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
}

.leadership-copy {
  position: relative;
  max-width: 48rem;
  padding-left: clamp(1.25rem, 3vw, 2.75rem);
  border-left: 2px solid var(--gold);
}

.leadership-copy h2 {
  margin: 0 0 .25rem;
  max-width: none;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.leadership-copy > strong {
  color: rgba(255, 255, 255, .66);
  font-size: .94rem;
  font-weight: 600;
}

.leadership-copy blockquote {
  position: relative;
  margin: 2rem 0 1.25rem;
  padding: 0;
  border: 0;
}

.leadership-copy blockquote::before {
  position: absolute;
  top: -1.4rem;
  left: -.25rem;
  color: rgba(184, 137, 46, .32);
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.leadership-copy blockquote p {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.65;
}

.leadership-bio {
  max-width: 46rem;
  color: rgba(255, 255, 255, .68);
  font-size: .96rem;
  line-height: 1.7;
}

.leadership-signature {
  display: block;
  margin-top: 1.35rem;
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 760px) {
  .leadership-message {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .leadership-portrait {
    width: min(68vw, 16rem);
  }

  .leadership-copy {
    padding-left: 1.25rem;
  }
}

.company-legal {
  display: grid;
  grid-template-columns: minmax(15rem, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(1.5rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
  background: #fff;
}

.company-legal h2 {
  max-width: 18ch;
  color: var(--ink);
}

.company-legal > div:last-child {
  border-left: 2px solid var(--gold);
  padding-left: clamp(1rem, 3vw, 2rem);
}

.company-legal p {
  margin: 0 0 .75rem;
  color: var(--muted);
  line-height: 1.7;
}

.company-legal small {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(9rem, .75fr));
    gap: 2rem;
  }
}

@media (max-width: 680px) {
  .contact-fields,
  .company-legal,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .contact-submit-row,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit-row .primary-cta {
    width: 100%;
  }

  .contact-panel {
    position: static;
  }

  .company-legal > div:last-child {
    border-top: 2px solid var(--gold);
    border-left: 0;
    padding-top: 1rem;
    padding-left: 0;
  }

  .footer-main {
    gap: 2.5rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }

  .legal-summary-icon {
    margin-bottom: 1rem;
    font-size: 3rem;
  }

  .legal-content {
    padding: 1.35rem;
  }

  .legal-contact-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-contact-strip .primary-cta {
    width: 100%;
  }

  .home-intro {
    background: #fff;
  }
}
