:root {
  --ink: #08080b;
  --ink-soft: #0e0e13;
  --surface: #15151a;
  --surface-raised: #1b1a20;
  --text: #f1eff4;
  --muted: #aaa6b0;
  --quiet: #77737e;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.075);
  --violet: #7041d7;
  --violet-light: #9b72ef;
  --cyan: #33c7dd;
  --danger: #ff8c9c;
  --success: #72d7b3;
  --header-height: 72px;
  --header-integrated-background: linear-gradient(to bottom,
      rgba(5, 5, 7, .96) 0%,
      rgba(5, 5, 7, .78) 35%,
      rgba(5, 5, 7, .35) 65%,
      rgba(5, 5, 7, .05) 85%,
      rgba(5, 5, 7, 0) 100%);
  --page-width: 1320px;
  --page-gutter: clamp(24px, 4vw, 64px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--violet);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--violet-light);
  outline-offset: 4px;
}

.header-container,
.hero-container,
.trust-container,
.portfolio-container,
.services-container,
.process-strip-container,
.brand-statement-inner,
.capability-strip-container,
.contact-container,
.site-footer-container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 0;
  background: var(--header-integrated-background);
  transition: background .22s ease;
}

.site-header.is-scrolled {
  position: fixed;
  background: linear-gradient(to bottom, rgba(7, 7, 10, .98), rgba(7, 7, 10, .94));
}

.site-header.is-scrolled.is-integrated {
  background: var(--header-integrated-background);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-name {
  display: grid;
  color: #fff;
  font-size: .84rem;
  font-weight: 760;
  letter-spacing: .17em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-name small {
  margin-top: 4px;
  color: var(--quiet);
  font-size: .42rem;
  font-weight: 600;
  letter-spacing: .15em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
}

.nav-link,
.header-cta {
  color: #c9c5ce;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-link {
  padding-block: 12px;
  transition: color .18s ease;
}

.nav-link:hover {
  color: #fff;
}

.header-cta {
  padding: 12px 18px;
  border-radius: 4px;
  color: #fff;
  background: var(--violet);
  transition: background .18s ease, transform .18s ease;
}

.header-cta:hover {
  background: #8155e4;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #fff;
  background: transparent;
}

.menu-toggle-line {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - 66px);
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background: #09090b;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 5, 8, .78) 0%, rgba(5, 5, 8, .42) 38%, rgba(5, 5, 8, .08) 60%, transparent 72%);
}

.hero-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.hero-container {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: var(--header-height);
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.hero-content {
  width: min(41%, 520px);
  min-width: 0;
  transform: translateY(-10px);
}

.hero-eyebrow,
.portfolio-eyebrow,
.section-eyebrow,
.contact-eyebrow {
  margin: 0 0 24px;
  color: var(--violet-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(3rem, 4vw, 3.75rem);
  font-weight: 430;
  letter-spacing: -.052em;
  line-height: .99;
  text-wrap: balance;
}

.hero h1 em {
  color: inherit;
  font-style: normal;
}

.hero-description {
  max-width: 455px;
  margin: 22px 0 0;
  color: #c2bec6;
  font-size: .94rem;
  line-height: 1.52;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: var(--violet);
}

.button-primary:hover {
  background: #8155e4;
}

.button-secondary {
  border-bottom-color: rgba(255, 255, 255, .3);
  border-radius: 0;
  color: #d5d1d9;
  background: transparent;
}

/* Trust */
.trust-strip {
  border-block: 1px solid var(--line);
  background: #111115;
}

.trust-container {
  height: 66px;
  min-height: 0;
  display: grid;
  grid-template-columns: .9fr 2.1fr;
  align-items: center;
  gap: 54px;
}

.trust-container p {
  max-width: 220px;
  margin: 0;
  color: #aaa6af;
  font-size: .72rem;
  line-height: 1.35;
}

.trust-container ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.trust-container li {
  color: #77737d;
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

/* Selected work */
.portfolio {
  position: relative;
  padding: clamp(48px, 5vw, 72px) 0 0;
  background-color: #09090c;
  background-image: linear-gradient(rgba(9, 9, 12, .08), rgba(9, 9, 12, .14)), url("/assets/sahe-projects-background.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-backdrop,
.services-backdrop {
  display: none;
}

.portfolio-heading {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  align-items: end;
  gap: clamp(64px, 10vw, 170px);
}

.portfolio-heading h2,
.services-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  font-weight: 450;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.portfolio-heading>div {
  max-width: 660px;
}

.portfolio-heading>p {
  max-width: 510px;
  margin: 0 0 8px;
  color: #b5b0ba;
  font-size: .96rem;
  line-height: 1.65;
}

.portfolio-eyebrow {
  margin-bottom: 16px;
  color: var(--violet-light);
  font-size: clamp(.94rem, 1.05vw, 1.08rem);
  font-weight: 680;
  letter-spacing: .14em;
}

.portfolio-filters {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.5vw, 58px);
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  scrollbar-width: none;
}

.portfolio-filters::-webkit-scrollbar {
  display: none;
}

.portfolio-filter {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 15px;
  border: 0;
  color: #aaa6af;
  background: transparent;
  font: inherit;
  font-size: .8rem;
  cursor: pointer;
  transition: color .2s ease;
}

.portfolio-filter::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--violet-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.portfolio-filter:hover {
  color: #e7e3eb;
}

.portfolio-filter[aria-pressed="true"] {
  color: var(--violet-light);
}

.portfolio-filter[aria-pressed="true"]::after {
  transform: scaleX(1);
}

.portfolio-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-featured-slot,
.portfolio-grid {
  display: contents;
}

.portfolio-featured,
.portfolio-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.portfolio-card-surface {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 7px;
  background: rgba(15, 15, 19, .72);
  transform-origin: center center;
  transition: transform .26s cubic-bezier(.2, .7, .2, 1), border-color .26s ease-out, background-color .26s ease-out, box-shadow .26s ease-out;
}

.portfolio-featured:hover,
.portfolio-card:hover {
  z-index: 2;
}

.portfolio-featured:hover .portfolio-card-surface,
.portfolio-card:hover .portfolio-card-surface {
  border-color: color-mix(in srgb, var(--violet-light) 52%, transparent);
  background: color-mix(in srgb, var(--surface-raised) 88%, var(--violet) 12%);
  box-shadow: 0 20px 46px color-mix(in srgb, var(--violet) 16%, transparent), 0 0 30px color-mix(in srgb, var(--violet) 9%, transparent), 0 12px 26px rgba(0, 0, 0, .28);
  transform: translateY(-6px) scale(1.05);
}

.portfolio-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: #0c0c11;
}

.portfolio-featured-media {
  aspect-ratio: 4 / 3;
}

.portfolio-image,
.portfolio-image-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portfolio-image-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portfolio-image {
  z-index: 2;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}

.portfolio-media.has-image-autoplay .portfolio-image {
  opacity: 0;
  transform: none !important;
  transition: opacity .7s ease-in-out;
}

.portfolio-media.has-image-autoplay .portfolio-image.is-active {
  opacity: 1;
}


.portfolio-image-fallback {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 70% 40%, rgba(112, 65, 215, .28), transparent 32%), linear-gradient(145deg, #1b1924, #0b0b10);
}

.portfolio-fallback-grid {
  position: absolute;
  inset: 0;
  opacity: .32;
  background: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 45px 45px;
}

.portfolio-fallback-mark {
  z-index: 1;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: -.06em;
}

.portfolio-featured-badge {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: #f4f1f7;
  background: rgba(7, 7, 10, .88);
  font-size: .62rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-featured-star {
  color: var(--violet-light);
}

.portfolio-featured-body,
.portfolio-card-body {
  position: relative;
  min-height: 218px;
  padding: 20px 20px 22px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.portfolio-featured-label,
.portfolio-project-number {
  display: none;
}

.portfolio-project-type {
  order: 2;
  margin: 7px 0 0;
  color: var(--violet-light);
  font-size: .72rem;
}

.portfolio-featured-title,
.portfolio-card-title {
  order: 1;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 560;
  letter-spacing: -.02em;
}

.portfolio-project-description {
  order: 3;
  margin: 13px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: #aaa6af;
  font-size: .78rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.portfolio-technologies {
  order: 4;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
}

.portfolio-technologies li {
  color: #74707a;
  font-size: .65rem;
}

.portfolio-technologies li+li::before {
  content: "·";
  margin: 0 8px;
}

.portfolio-actions {
  order: 5;
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portfolio-link,
.portfolio-preparing {
  color: var(--violet-light);
  font-size: .73rem;
  text-decoration: none;
}

.portfolio-link {
  transition: color .26s ease-out;
}

.portfolio-link-arrow {
  display: inline-block;
  margin-left: 7px;
  transition: transform .26s cubic-bezier(.2, .7, .2, 1);
}

.portfolio-link:hover,
.portfolio-link:focus-visible,
.portfolio-featured:hover .portfolio-link,
.portfolio-card:hover .portfolio-link {
  color: #c4aafa;
}

.portfolio-link:hover .portfolio-link-arrow,
.portfolio-link:focus-visible .portfolio-link-arrow,
.portfolio-featured:hover .portfolio-link-arrow,
.portfolio-card:hover .portfolio-link-arrow {
  transform: translateX(6px);
}

body.project-modal-open {
  overflow: hidden;
}

.project-modal {
  position: fixed;
  z-index: 1250;
  inset: 0;
}

.project-modal-backdrop {
  width: 100%;
  height: 100%;
  padding: clamp(16px, 3vw, 48px);
  display: grid;
  place-items: center;
  background: rgba(3, 5, 9, .88);
  opacity: 0;
  transition: opacity .2s ease-out;
}

.project-modal.is-open .project-modal-backdrop {
  opacity: 1;
}

.project-modal-panel {
  position: relative;
  width: min(94vw, 1400px);
  max-height: 92svh;
  padding: clamp(28px, 3vw, 44px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #536176 #10151d;
  color: var(--text);
  border: 1px solid rgba(116, 103, 214, .68);
  border-radius: 22px;
  background:
    radial-gradient(circle at 76% 14%, rgba(39, 108, 143, .12), transparent 34%),
    linear-gradient(145deg, #121923, #0a0f16 68%, #11131d);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .68), 0 0 38px rgba(87, 70, 180, .1);
  transform: translateY(8px) scale(.992);
  transition: transform .22s cubic-bezier(.2, .7, .2, 1);
}

.project-modal-panel::-webkit-scrollbar {
  width: 8px;
}

.project-modal-panel::-webkit-scrollbar-track {
  margin-block: 18px;
  border-radius: 999px;
  background: #10151d;
}

.project-modal-panel::-webkit-scrollbar-thumb {
  border: 2px solid #10151d;
  border-radius: 999px;
  background: #536176;
}

.project-modal.is-open .project-modal-panel {
  transform: none;
}

.project-modal-close {
  position: sticky;
  z-index: 4;
  top: 0;
  width: 46px;
  height: 46px;
  margin-left: auto;
  margin-bottom: -46px;
  display: grid;
  place-items: center;
  color: #d3d8e0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(10, 15, 22, .9);
  cursor: pointer;
}

.project-modal-close span {
  font-size: 1.55rem;
  line-height: 1;
}

.project-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1fr);
  grid-template-areas: "info visual" "links visual";
  align-items: start;
  gap: 24px clamp(28px, 4vw, 64px);
}

.project-modal-info {
  grid-area: info;
  min-width: 0;
  padding-right: clamp(0px, 1vw, 16px);
}

.project-modal-eyebrow {
  margin: 0 0 20px;
  color: #9d83f1;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-modal-type {
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 10px;
  color: #a9d7eb;
  border: 1px solid rgba(73, 145, 176, .26);
  border-radius: 7px;
  background: rgba(33, 92, 119, .22);
  font-size: .7rem;
}

.project-modal-info h2 {
  margin: 0;
  padding-right: 48px;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 560;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.project-modal-summary {
  max-width: 600px;
  margin: 18px 0 0;
  color: #bcc4cf;
  font-size: .94rem;
  line-height: 1.65;
}

.project-modal-description {
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.project-modal-description h3 {
  margin: 0;
  color: #9d83f1;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-modal-description p {
  margin: 16px 0 0;
  color: #c3c9d2;
  font-size: .88rem;
  line-height: 1.75;
  white-space: pre-line;
}

.project-modal-links {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-modal-link {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b9d8eb;
  border: 1px solid rgba(82, 151, 190, .42);
  border-radius: 7px;
  background: rgba(23, 62, 84, .16);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
}

.project-modal-link.is-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(100deg, #7041d7, #356fe8);
}

.project-modal-visual {
  grid-area: visual;
  min-width: 0;
}

.project-modal-image-frame {
  position: relative;
  min-height: 320px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 151, 171, .22);
  border-radius: 16px;
  background: #080d13;
}

.project-modal-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #080d13;
  transition: opacity .7s ease-in-out;
}

.project-modal-image-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(213, 223, 234, .72);
  background:
    linear-gradient(rgba(105, 131, 153, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 131, 153, .08) 1px, transparent 1px),
    radial-gradient(circle at 70% 35%, rgba(61, 119, 155, .22), transparent 36%), #0d141d;
  background-size: 42px 42px, 42px 42px, auto, auto;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: -.06em;
}

.project-modal-gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 42px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(10, 15, 22, .82);
  font-size: 1.5rem;
  transform: translateY(-50%);
  cursor: pointer;
}

.project-modal-gallery-arrow.is-previous {
  left: 14px;
}

.project-modal-gallery-arrow.is-next {
  right: 14px;
}

.project-modal-gallery {
  margin-top: 14px;
}

.project-modal-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-modal-thumbnails button {
  padding: 3px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: #0a1017;
  cursor: pointer;
}

.project-modal-thumbnails button[aria-current="true"] {
  border-color: var(--violet-light);
  box-shadow: 0 0 18px rgba(112, 65, 215, .2);
}

.project-modal-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.project-modal-footer {
  margin-top: clamp(24px, 3vw, 40px);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #aeb8c4;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(15, 22, 31, .68);
  font-size: .76rem;
}

.project-modal-footer p {
  margin: 0;
}

.project-modal-footer span {
  color: #78899a;
}

.project-modal-footer strong {
  color: #d6dce4;
  font-weight: 550;
}

@media (max-width: 900px) {
  .project-modal-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "info" "visual" "links";
  }

  .project-modal-info {
    padding-right: 0;
  }

  .project-modal-image-frame {
    min-height: 260px;
  }
}

@media (max-width: 600px) {
  .project-modal-backdrop {
    padding: 10px;
  }

  .project-modal-panel {
    max-height: calc(100svh - 20px);
    padding: 24px 18px;
  }

  .project-modal-info h2 {
    padding-right: 40px;
  }

  .project-modal-image-frame {
    min-height: 190px;
  }

  .project-modal-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .project-modal-backdrop,
  .project-modal-panel,
  .project-modal-image-frame img {
    transition: none;
  }

  .project-modal-image-frame img.is-crossfading {
    animation: none;
  }
}

/* MOBILE-V3.15: approved smartphone composition for Header + Hero only. */
@media (max-width: 520px) {
  :root {
    --header-height: 96px;
    --page-gutter: 40px;
  }

  .site-header {
    height: var(--header-height);
  }

  .header-container {
    align-items: center;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: .98rem;
    letter-spacing: .18em;
  }

  .brand-name small {
    display: block;
    margin-top: 5px;
    font-size: .46rem;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    padding: 10px 8px;
    border: 0;
  }

  .menu-toggle-line {
    height: 2px;
    margin: 5px 0;
  }

  .primary-nav {
    inset: var(--header-height) 0 auto;
    padding-inline: var(--page-gutter);
  }

  .hero {
    height: 1220px;
    min-height: 0;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(5, 5, 8, .86) 0%, rgba(5, 5, 8, .7) 43%, rgba(5, 5, 8, .2) 74%, rgba(5, 5, 8, .18) 100%);
  }

  .hero-scene {
    inset: auto auto 0 -52%;
    width: 220%;
    height: auto;
    object-fit: initial;
    object-position: initial;
  }

  .hero-container {
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    padding-top: calc(var(--header-height) + 38px);
    transform: none;
  }

  .hero-eyebrow {
    max-width: 300px;
    margin-bottom: 22px;
    font-size: .68rem;
    line-height: 1.45;
  }

  .hero h1 {
    max-width: 350px;
    font-size: clamp(2.72rem, 13vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -.055em;
  }

  .hero-description {
    max-width: 350px;
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 28px;
    gap: 16px;
  }

  .button {
    min-height: 72px;
    width: 100%;
    padding-inline: 18px;
    font-size: 1rem;
  }

  .button-secondary {
    border: 1px solid rgba(213, 209, 217, .4);
    border-radius: 9px;
    background: rgba(7, 8, 11, .24);
  }

  .trust-container {
    min-height: 228px;
    padding: 28px 0 26px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
  }

  .trust-container p {
    max-width: none;
    padding-inline: 8px;
    color: #d4d0d8;
    font-size: .72rem;
    line-height: 1.42;
  }

  .trust-container ul {
    display: contents;
  }

  .trust-container li {
    padding-inline: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4d0d8;
    font-size: .7rem;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
    border-left: 1px solid rgba(255, 255, 255, .12);
  }
}

@media (max-width: 340px) {
  :root {
    --page-gutter: 24px;
  }

  .hero {
    height: 1160px;
  }

  .hero-scene {
    left: -57%;
    width: 235%;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-description {
    font-size: .94rem;
  }

  .button {
    min-height: 66px;
  }

  .trust-container {
    min-height: 220px;
  }

  .trust-container p,
  .trust-container li {
    padding-inline: 5px;
    font-size: .66rem;
  }
}

/* PROJECTS-V3.12B: composition matched to the approved project-modal reference. */
.project-modal-panel {
  width: min(90vw, 1500px);
  padding: clamp(20px, 1.8vw, 32px);
  border-color: rgba(112, 72, 220, .8);
  background:
    radial-gradient(circle at 74% 20%, rgba(33, 117, 164, .13), transparent 36%),
    linear-gradient(145deg, #131c27 0%, #0c141d 62%, #101722 100%);
}

.project-modal-close {
  position: absolute;
  top: clamp(14px, 1.2vw, 18px);
  right: clamp(14px, 1.2vw, 18px);
  width: 42px;
  height: 42px;
  margin: 0;
  border-color: rgba(147, 171, 192, .2);
  border-radius: 11px;
  background: rgba(12, 19, 28, .86);
}

.project-modal-close span {
  font-size: 1.15rem;
}

.project-modal-layout {
  grid-template-columns: minmax(360px, 2fr) minmax(0, 3fr);
  grid-template-areas: "info visual";
  gap: clamp(22px, 2.5vw, 40px);
}

.project-modal-info {
  padding-right: clamp(2px, 1vw, 14px);
}

.project-modal-eyebrow {
  margin-bottom: 16px;
  color: #9a78ff;
  font-size: .78rem;
}

.project-modal-heading {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.project-modal-logo {
  height: 98px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #dce8f3;
  border: 1px solid rgba(130, 158, 181, .28);
  border-radius: 12px;
  background: #0a1119;
  font-size: 1.55rem;
  letter-spacing: .08em;
}

.project-modal-logo img,
.project-modal-logo span {
  grid-area: 1 / 1;
}

.project-modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal-type {
  margin-bottom: 9px;
  color: #d9effc;
  border-color: rgba(73, 152, 203, .28);
  background: rgba(43, 112, 158, .34);
}

.project-modal-info h2 {
  padding-right: 0;
  font-size: clamp(1.48rem, 1.85vw, 2.15rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.project-modal-summary {
  margin-top: 9px;
  font-size: .86rem;
  line-height: 1.62;
}

.project-modal-metadata {
  margin: 17px 0 0;
  padding: 13px 0;
  display: grid;
  grid-template-columns: .8fr 1fr 1.25fr;
  border-block: 1px solid rgba(151, 175, 196, .16);
}

.project-modal-metadata>div {
  min-width: 0;
  padding-inline: 14px;
  border-right: 1px solid rgba(151, 175, 196, .16);
}

.project-modal-metadata>div:first-child {
  padding-left: 0;
}

.project-modal-metadata>div:last-child {
  padding-right: 0;
  border-right: 0;
}

.project-modal-metadata dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4ebaff;
  font-size: .7rem;
}

.project-modal-metadata dd {
  margin: 5px 0 0 28px;
  color: #e5eaf0;
  font-size: .78rem;
  line-height: 1.35;
}

.project-modal-metadata svg,
.project-modal-info h3 svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-modal-description,
.project-modal-features,
.project-modal-links-section {
  margin-top: 0;
  padding: 15px 0;
  border-top: 0;
  border-bottom: 1px solid rgba(151, 175, 196, .14);
}

.project-modal-info h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9a78ff;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.project-modal-description p {
  margin-top: 9px;
  font-size: .8rem;
  line-height: 1.65;
}

.project-modal-features ul {
  margin: 9px 0 0;
  padding: 0;
  display: grid;
  gap: 5px;
  list-style: none;
}

.project-modal-features li {
  position: relative;
  padding-left: 28px;
  color: #c7ced7;
  font-size: .78rem;
  line-height: 1.42;
}

.project-modal-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -.05em;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: #52baff;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .62rem;
}

.project-modal-links-section {
  border-bottom: 0;
  padding-bottom: 0;
}

.project-modal-links {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10px;
}

.project-modal-link {
  min-height: 44px;
  padding-inline: 14px;
  text-align: center;
  font-size: .72rem;
}

.project-modal-link.is-disabled {
  color: #748391;
  border-color: rgba(119, 145, 164, .2);
  background: rgba(24, 34, 44, .45);
  cursor: not-allowed;
}

.project-modal-link.is-primary.is-disabled {
  color: #a7aeb9;
  border: 1px solid rgba(113, 78, 179, .28);
  background: linear-gradient(100deg, rgba(112, 65, 215, .25), rgba(53, 111, 232, .2));
}

.project-modal-visual {
  align-self: stretch;
  padding-top: 6px;
}

.project-modal-image-frame {
  min-height: 430px;
  aspect-ratio: 16 / 10.7;
  border-color: rgba(137, 167, 190, .28);
  border-radius: 15px;
  background: #081018;
}

.project-modal-image-frame img {
  object-fit: contain;
}

.project-modal-image-frame img.is-crossfading {
  animation: project-modal-crossfade .42s ease both;
}

@keyframes project-modal-crossfade {
  from {
    opacity: .35;
  }

  to {
    opacity: 1;
  }
}

.project-modal-gallery-arrow {
  top: auto;
  bottom: -90px;
  width: 44px;
  height: 44px;
  transform: none;
}

.project-modal-gallery-arrow.is-previous {
  left: -24px;
}

.project-modal-gallery-arrow.is-next {
  right: -24px;
}

.project-modal-gallery-arrow:disabled {
  opacity: .42;
  cursor: default;
}

.project-modal-gallery {
  margin-top: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(137, 167, 190, .12);
  border-radius: 12px;
  background: rgba(7, 13, 20, .42);
}

.project-modal-thumbnails {
  gap: 12px;
}

.project-modal-thumbnails button {
  border-color: rgba(139, 168, 191, .24);
  border-radius: 8px;
}

.project-modal-thumbnails button:disabled {
  cursor: default;
  opacity: .82;
}

.project-modal-thumbnails button[data-fallback="true"] img {
  filter: saturate(.72) brightness(.78);
}

.project-modal-thumbnail-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #718292;
  background: linear-gradient(135deg, #121d28, #091019);
}

.project-modal-footer {
  margin-top: 18px;
  min-height: 52px;
  padding: 11px 20px;
  font-size: .76rem;
}

.project-modal-footer p:last-child {
  text-align: right;
}

.project-modal-footer strong {
  margin-inline: 7px 4px;
}

@media (max-width: 1100px) {
  .project-modal-layout {
    grid-template-columns: minmax(330px, 2.1fr) minmax(0, 2.9fr);
    gap: 24px;
  }

  .project-modal-heading {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .project-modal-logo {
    height: 92px;
  }

  .project-modal-image-frame {
    min-height: 340px;
  }

  .project-modal-visual {
    padding-top: 4px;
  }
}

@media (max-width: 900px) {
  .project-modal-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "info" "visual";
  }

  .project-modal-visual {
    padding-top: 0;
  }

  .project-modal-image-frame {
    min-height: 360px;
  }

  .project-modal-gallery-arrow {
    bottom: -106px;
  }
}

@media (max-width: 600px) {
  .project-modal-heading {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 13px;
  }

  .project-modal-logo {
    height: 76px;
  }

  .project-modal-eyebrow {
    margin-bottom: 16px;
  }

  .project-modal-info h2 {
    font-size: 1.45rem;
  }

  .project-modal-metadata {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .project-modal-metadata>div {
    padding: 0;
    border-right: 0;
  }

  .project-modal-metadata dd {
    margin-left: 28px;
  }

  .project-modal-links {
    grid-template-columns: 1fr;
  }

  .project-modal-image-frame {
    min-height: 210px;
  }

  .project-modal-gallery {
    padding-inline: 8px;
  }

  .project-modal-thumbnails {
    gap: 6px;
  }

  .project-modal-gallery-arrow {
    display: grid;
    bottom: -88px;
    width: 36px;
    height: 36px;
  }

  .project-modal-gallery-arrow.is-previous {
    left: 4px;
  }

  .project-modal-gallery-arrow.is-next {
    right: 4px;
  }

  .project-modal-footer {
    flex-direction: column;
  }

  .project-modal-footer p:last-child {
    text-align: left;
  }
}

.portfolio-nojs {
  display: none;
}

.no-js .portfolio-nojs {
  display: block;
}

.portfolio-status {
  min-height: 0;
}

.portfolio-loading {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-skeleton {
  min-height: 430px;
  border-radius: 7px;
  background: linear-gradient(100deg, #151419 25%, #211f27 42%, #151419 60%);
  background-size: 300% 100%;
  animation: shimmer 1.6s infinite;
}

.portfolio-skeleton-featured {
  min-height: 430px;
}

.portfolio-skeleton-row {
  display: contents;
}

.portfolio-message {
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-align: center;
  background: rgba(8, 8, 12, .5);
}

.portfolio-message-title {
  margin: 0;
  font-size: 1.25rem;
}

.portfolio-message-copy {
  margin: 8px 0 0;
  color: var(--muted);
}

.portfolio-retry {
  margin-top: 20px;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--violet);
  cursor: pointer;
}

.portfolio-principles {
  margin-top: clamp(72px, 7vw, 104px);
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: rgba(13, 13, 17, .78);
}

.portfolio-principles-container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
  margin-inline: auto;
  padding: 38px 0 42px;
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 3.2fr);
  align-items: center;
  gap: clamp(42px, 5vw, 76px);
}

.portfolio-principles-lead {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portfolio-principles-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(143, 94, 238, .34);
  border-radius: 50%;
  color: var(--violet-light);
  font-size: 1.2rem;
}

.portfolio-principles-lead p {
  margin: 0;
  color: #f0edf3;
  font-size: 1rem;
  font-weight: 540;
  line-height: 1.35;
}

.portfolio-principles ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  list-style: none;
}

.portfolio-principles li {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.portfolio-principle-icon {
  color: var(--violet-light);
  font-size: 1rem;
  line-height: 1.25;
}

.portfolio-principles h3 {
  margin: 0;
  color: #e8e4eb;
  font-size: .8rem;
  font-weight: 570;
  line-height: 1.35;
}

.portfolio-principles li p {
  margin: 9px 0 0;
  color: #8f8a94;
  font-size: .72rem;
  line-height: 1.5;
}

@keyframes shimmer {
  to {
    background-position: -300% 0;
  }
}

/* Services and process */
.services {
  --services-top-space: clamp(4px, .5vw, 8px);
  --services-bottom-space: clamp(22px, 2vw, 32px);
  height: 100svh;
  min-height: 680px;
  padding: calc(var(--header-height) + var(--services-top-space)) 0 var(--services-bottom-space);
  background-color: #111115;
  background-image: linear-gradient(rgba(9, 9, 13, .06), rgba(9, 9, 13, .12)), url("/assets/sahe-services-background.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.services-container {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.services-heading {
  padding-bottom: 0;
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 6%;
  align-items: start;
}

.services-heading-copy {
  min-width: 0;
}

.services-heading .section-eyebrow {
  margin-bottom: clamp(28px, 2.2vw, 34px);
  color: var(--violet-light);
  font-size: clamp(2.2rem, 3vw, 2.625rem);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.02;
}

.services-heading h2 {
  max-width: 560px;
}

.services-intro {
  max-width: 510px;
  margin: 0;
  color: #c3bec8;
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  line-height: 1.58;
}

.services-grid {
  flex: 0 0 auto;
  height: clamp(329.5px, calc(23.26vw + 31.6px), 351.5px);
  min-height: 0;
  width: 100%;
  margin-top: clamp(12px, 1.2vw, 18px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
}

.service-card:last-child {
  border-right: 0;
}

.service-surface {
  height: 100%;
  min-height: 0;
  padding: 30px 34px 38px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid transparent;
  background: transparent;
  transform-origin: center center;
  transition: transform .26s cubic-bezier(.2, .7, .2, 1), border-color .26s ease-out, background-color .26s ease-out, box-shadow .26s ease-out;
}

.service-card:hover {
  z-index: 2;
}

.service-card:hover .service-surface {
  border-color: rgba(255, 255, 255, .11);
  background: color-mix(in srgb, var(--surface-raised) 94%, var(--violet) 6%);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--violet) 13%, transparent), 0 0 26px color-mix(in srgb, var(--violet) 7%, transparent), 0 10px 24px rgba(0, 0, 0, .22);
  transform: translateY(-5px) scale(1.035);
}

.service-card-header {
  display: block;
}

.service-card h3 {
  margin: 0;
  color: var(--violet-light);
  font-size: clamp(1rem, 1.18vw, 1.14rem);
  font-weight: 680;
  letter-spacing: .07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.service-kicker {
  margin: 28px 0 0;
  color: #f0edf3;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 540;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.service-description {
  max-width: 320px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.service-link {
  position: relative;
  margin-top: clamp(112px, calc(21vw - 157px), 130px);
  padding-bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d0cbd4;
  font-size: .76rem;
  text-decoration: none;
  transition: color .26s ease-out;
}

.service-link::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--violet-light);
  transform: scaleX(.72);
  transform-origin: left;
  transition: transform .26s cubic-bezier(.2, .7, .2, 1);
}

.service-link span {
  color: var(--violet-light);
  transition: transform .26s cubic-bezier(.2, .7, .2, 1), color .26s ease-out;
}

.service-link:hover,
.service-link:focus-visible,
.service-card:hover .service-link {
  color: #f1edf5;
}

.service-link:hover::after,
.service-link:focus-visible::after,
.service-card:hover .service-link::after {
  transform: scaleX(1);
}

.service-link:hover span,
.service-link:focus-visible span,
.service-card:hover .service-link span {
  color: #c2a6fb;
  transform: translateX(4px);
}

body.service-modal-open {
  overflow: hidden;
}

.service-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
}

.service-modal-backdrop {
  width: 100%;
  height: 100%;
  padding: clamp(16px, 3vw, 48px);
  display: grid;
  place-items: center;
  background: rgba(4, 4, 7, .84);
  opacity: 0;
  transition: opacity .2s ease-out;
}

.service-modal.is-open .service-modal-backdrop {
  opacity: 1;
}

.service-modal-panel {
  position: relative;
  width: min(94vw, 1420px);
  max-height: 92svh;
  padding: clamp(32px, 3.6vw, 56px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #5f3aa9 rgba(7, 7, 10, .7);
  color: var(--text);
  border: 1px solid rgba(155, 114, 239, .58);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(8, 8, 13, .78), rgba(6, 7, 11, .88)),
    url("/assets/background_modal.png") center center / cover no-repeat,
    #08080d;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .64), 0 0 42px rgba(112, 65, 215, .12);
  transform: translateY(8px) scale(.99);
  transition: transform .22s cubic-bezier(.2, .7, .2, 1);
}

.service-modal-panel::-webkit-scrollbar {
  width: 8px;
}

.service-modal-panel::-webkit-scrollbar-track {
  margin-block: 18px;
  border-radius: 999px;
  background: rgba(7, 7, 10, .62);
}

.service-modal-panel::-webkit-scrollbar-thumb {
  border: 2px solid rgba(7, 7, 10, .62);
  border-radius: 999px;
  background: #5f3aa9;
}

.service-modal-panel::-webkit-scrollbar-thumb:hover {
  background: #7951c9;
}

.service-modal.is-open .service-modal-panel {
  transform: none;
}

.service-modal-close {
  position: sticky;
  z-index: 1;
  top: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
  margin-left: auto;
  margin-bottom: -46px;
}

.service-modal-close span {
  font-size: 1.55rem;
  line-height: 1;
}

.service-modal-close:hover,
.service-modal-close:focus-visible {
  color: var(--text);
  border-color: rgba(155, 114, 239, .5);
  background: rgba(112, 65, 215, .09);
}

.service-modal-header {
  max-width: 760px;
  padding-right: 52px;
}

.service-modal-eyebrow {
  margin: 0 0 14px;
  color: var(--violet-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.service-modal-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-modal-service-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  color: var(--violet-light);
  border: 1px solid rgba(155, 114, 239, .5);
  border-radius: 10px;
  background: rgba(112, 65, 215, .07);
}

.service-modal-service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-modal-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 560;
  letter-spacing: -.05em;
  line-height: 1.04;
}

.service-modal-header>p:last-child {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-modal-packages {
  margin: clamp(28px, 3vw, 42px) -8px -8px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  align-items: stretch;
}

.service-package {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 2.4vw, 38px) clamp(22px, 2.2vw, 34px) 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(25, 25, 33, .66), rgba(10, 11, 16, .78));
  transform-origin: center;
  transition: transform .24s cubic-bezier(.2, .7, .2, 1), border-color .24s ease,
    background-color .24s ease, box-shadow .24s ease;
}

.service-package:hover,
.service-package:focus-within {
  z-index: 2;
  border-color: rgba(155, 114, 239, .62);
  background: rgba(37, 31, 49, .92);
  box-shadow: 0 18px 42px rgba(112, 65, 215, .2), 0 0 28px rgba(112, 65, 215, .12);
}

@media (hover: hover) and (min-width: 901px) {

  .service-package:hover,
  .service-package:focus-within {
    transform: translateY(-5px) scale(1.03);
  }
}

.service-package.is-recommended {
  border-color: rgba(155, 114, 239, .9);
  box-shadow: 0 12px 34px rgba(112, 65, 215, .14), inset 0 0 28px rgba(112, 65, 215, .035);
}

.service-package.is-recommended:hover,
.service-package.is-recommended:focus-within {
  box-shadow: 0 20px 46px rgba(112, 65, 215, .24), 0 0 32px rgba(112, 65, 215, .15);
}

.service-package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  padding: 6px 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(90deg, #6331d4, #8d4cf0);
  box-shadow: 0 5px 18px rgba(112, 65, 215, .38);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.service-package-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--violet-light);
  border: 1px solid rgba(155, 114, 239, .34);
  border-radius: 50%;
  background: rgba(112, 65, 215, .045);
}

.service-package-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-package h3 {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 650;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.service-package-price {
  min-height: 70px;
  margin: 18px 0 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 8px;
  color: var(--violet-light);
  text-align: center;
  text-transform: uppercase;
}

.service-package-price span {
  width: 100%;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .08em;
}

.service-package-price strong {
  color: var(--text);
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.service-package-price small {
  font-size: .72rem;
  font-weight: 650;
}

.service-package-description {
  min-height: 3.3em;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.55;
  text-align: center;
}

.service-package ul {
  margin: 20px 0 26px;
  padding: 20px 0 0;
  display: grid;
  gap: 8px;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.service-package li {
  position: relative;
  padding-left: 22px;
  color: #c7c3cd;
  font-size: .75rem;
  line-height: 1.45;
}

.service-package li::before {
  content: "✓";
  position: absolute;
  top: -.05em;
  left: 0;
  color: var(--violet-light);
  font-size: 1rem;
  font-weight: 700;
}

.service-package-action,
.service-modal-contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text);
  border: 1px solid rgba(155, 114, 239, .42);
  background: rgba(112, 65, 215, .13);
  font-size: .74rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

.service-package-action {
  width: 100%;
  margin-top: auto;
}

.service-package.is-recommended .service-package-action {
  border-color: transparent;
  background: linear-gradient(90deg, #6331d4, #8d4cf0);
  box-shadow: 0 8px 20px rgba(112, 65, 215, .22);
}

.service-package-action:hover,
.service-package-action:focus-visible,
.service-modal-contact:hover,
.service-modal-contact:focus-visible {
  border-color: var(--violet-light);
  background: rgba(112, 65, 215, .24);
}

.service-modal-footer {
  margin-top: 28px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

.service-modal-footer p {
  max-width: 680px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.5;
}

.service-modal-info {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  color: var(--violet-light);
  border: 1px solid var(--violet-light);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 700;
}

.service-modal-contact {
  flex: 0 0 auto;
  padding: 0 22px;
}

@media (max-width: 900px) {
  .service-modal-packages {
    grid-template-columns: 1fr;
  }

  .service-package-description {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .service-modal-backdrop {
    padding: 10px;
  }

  .service-modal-panel {
    max-height: calc(100svh - 20px);
    padding: 28px 20px 24px;
    background-position: center, 62% center, center;
  }

  .service-modal-close {
    top: 0;
  }

  .service-modal-header {
    padding-right: 42px;
  }

  .service-modal-title-row {
    align-items: flex-start;
    gap: 12px;
  }

  .service-modal-service-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .service-modal-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .service-modal-footer p {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {

  .service-modal-backdrop,
  .service-modal-panel,
  .service-package {
    transition: none;
  }

  .service-package:hover,
  .service-package:focus-within {
    transform: none !important;
  }
}

.process-strip {
  padding: 0 0 44px;
  background-color: #111115;
  background-image: linear-gradient(rgba(9, 9, 13, .08), rgba(9, 9, 13, .14)), url("/assets/sahe-workflow-background.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.process-strip-container {
  padding-top: 42px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.process-intro .section-eyebrow {
  margin-bottom: 15px;
  font-size: clamp(1.45rem, 2.25vw, 1.9rem);
}

.process-intro h2 {
  max-width: 230px;
  margin: 0;
  font-size: clamp(1.3rem, calc(2.25vw - 2px), calc(1.9rem - 2px));
  font-weight: 450;
  letter-spacing: -.05em;
  line-height: 1.05;
}

.process-strip-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.process-strip-list li {
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.process-strip-list span {
  color: var(--violet-light);
  font-size: .7rem;
}

.process-strip-list h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
  font-weight: 520;
}

.process-strip-list p {
  margin: 0;
  color: var(--muted);
  font-size: .74rem;
}

/* Statement and capabilities */
.brand-statement {
  padding: 0;
  background: #111115;
}

.brand-statement-inner {
  position: relative;
  height: clamp(300px, 42svh, 350px);
  padding: calc(var(--header-height) + 24px) clamp(34px, 4.5vw, 64px) clamp(28px, 3vw, 42px);
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #08080d;
}

.brand-statement-inner::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(5, 5, 10, .97) 0%,
      rgba(5, 5, 10, .9) 24%,
      rgba(5, 5, 10, .76) 44%,
      rgba(5, 5, 10, .24) 62%,
      transparent 76%);
}

.approach-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 53%;
}

.approach-content {
  position: relative;
  z-index: 2;
  transform: translateY(-40px);
}

.brand-statement .section-eyebrow {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(14px, 1.6vw, 20px);
}

.brand-statement h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  width: 52%;
  max-width: 620px;
  font-size: clamp(2rem, 3.15vw, 2.85rem);
  font-weight: 430;
  letter-spacing: -.055em;
  line-height: 1.04;
}

.brand-statement-copy {
  position: relative;
  z-index: 2;
  width: 48%;
  max-width: 500px;
  margin: clamp(16px, 2vw, 22px) 0 0;
  color: #aaa5b1;
  font-size: clamp(.78rem, .9vw, .88rem);
  line-height: 1.55;
}

.capability-strip {
  border-bottom: 1px solid var(--line);
  background: #111115;
}

.capability-strip-container {
  border-inline: 1px solid var(--line);
}

.capability-strip ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.capability-strip li {
  min-height: clamp(68px, 9svh, 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-right: 1px solid var(--line);
  color: #c6c1cb;
  font-size: .78rem;
  transition: color .22s ease, transform .22s ease;
}

.capability-strip li:last-child {
  border-right: 0;
}

.capability-strip span {
  color: var(--violet-light);
  text-shadow: 0 0 0 rgba(174, 105, 255, 0);
  transition: color .22s ease, text-shadow .22s ease;
}

.capability-strip li:hover,
.capability-strip li:focus-within {
  color: #f4f1f7;
  transform: translateY(-2px);
}

.capability-strip li:hover span,
.capability-strip li:focus-within span {
  color: #c9aaff;
  text-shadow: 0 0 14px rgba(174, 105, 255, .28);
}

/* Contact */
.contact {
  --contact-background-image: url("/assets/sahe-contact-background.png");
  position: relative;
  isolation: isolate;
  padding: 56px 0 8px;
  overflow: hidden;
  background: #09090d;
}

.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(7, 7, 11, .48), rgba(7, 7, 11, .62)), var(--contact-background-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(155, 114, 239, .12) 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, rgba(155, 114, 239, .09) 49%, transparent 51%);
  background-size: 54px 94px;
  mask-image: linear-gradient(90deg, #000, transparent 34%, transparent 68%, #000);
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.contact-context {
  min-width: 0;
  padding-top: clamp(18px, 2vw, 30px);
}

.contact .contact-eyebrow {
  font-size: calc(.68rem + 4px);
}

.contact-context::after {
  content: "";
  display: block;
  width: min(100%, 330px);
  height: 1px;
  margin-top: clamp(42px, 6vh, 64px);
  background: linear-gradient(90deg, rgba(155, 114, 239, .46), rgba(155, 114, 239, 0));
}

/* Arquitectura inerte hasta contar con datos comerciales verificados. */
.contact-details {
  margin: 42px 0 0;
  display: grid;
  gap: 24px;
  font-style: normal;
}

.contact-detail {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
}

.contact-detail-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid rgba(155, 114, 239, .24);
  border-radius: 50%;
  background: rgba(112, 65, 215, .1);
  line-height: 0;
}

.contact-detail-icon svg {
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.contact-detail strong,
.contact-detail [data-contact-detail-value] {
  display: block;
}

.contact-detail strong {
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
}

.contact-detail [data-contact-detail-value] {
  margin-top: 4px;
  color: var(--muted);
  font-size: .76rem;
}

.contact h2 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(2.6rem, 3.5vw, 3.5rem);
  font-weight: 430;
  letter-spacing: -.055em;
  line-height: 1;
}

.contact-description {
  max-width: 390px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

.contact-guidance {
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border: 0;
  list-style: none;
}

.contact-guidance li {
  min-width: 0;
  min-height: 84px;
  padding: 10px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  border: 1px solid rgba(155, 114, 239, .16);
  border-radius: 6px;
  background: rgba(112, 65, 215, .035);
}

.contact-guidance li:first-child {
  padding-left: 10px;
}

.contact-guidance li:last-child {
  padding-right: 10px;
  border-right: 1px solid rgba(155, 114, 239, .16);
}

.contact-guidance li>span {
  color: var(--violet-light);
  font-size: .72rem;
}

.contact-guidance strong {
  color: #e5e1e9;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.contact-guidance p {
  margin: 4px 0 0;
  color: var(--quiet);
  font-size: .66rem;
  line-height: 1.5;
}

.contact-form-panel {
  min-width: 0;
  padding: clamp(20px, 1.8vw, 24px);
  border: 1px solid rgba(155, 114, 239, .2);
  border-radius: 12px;
  background: rgba(18, 17, 24, .88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28), 0 0 46px rgba(112, 65, 215, .055);
}

.contact-form-heading {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-form-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(155, 114, 239, .28);
  border-radius: 50%;
  color: #c9aaff;
  background: rgba(112, 65, 215, .12);
  box-shadow: 0 0 24px rgba(112, 65, 215, .12);
}

.contact-form-mark svg {
  width: 21px;
  height: 21px;
}

.contact-form-heading h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.18rem, 1.55vw, 1.4rem);
  font-weight: 560;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.contact-form-heading div>p {
  max-width: 680px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.5;
}

.contact-form {
  margin: 0;
}

.contact-form-status {
  margin-bottom: 10px;
  padding: 11px 13px;
  border-left: 2px solid var(--violet-light);
  color: #a9a5ae;
  background: rgba(112, 65, 215, .055);
  font-size: .73rem;
}

.contact-form-status[data-state="neutral"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form-status[data-state="error"] {
  border-color: var(--danger);
  color: #ffc1ca;
  background: rgba(255, 80, 105, .07);
}

.contact-form-status[data-state="success"] {
  border-color: var(--success);
  color: #b9f4df;
  background: rgba(65, 190, 145, .07);
}

.contact-package-context {
  margin-bottom: 14px;
  padding: 10px 13px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-left: 2px solid var(--violet-light);
  background: rgba(112, 65, 215, .07);
  font-size: .72rem;
  line-height: 1.45;
}

.contact-package-context span {
  flex: 0 0 auto;
  color: var(--violet-light);
  font-weight: 650;
}

.contact-package-context strong {
  color: #d8d3df;
  font-weight: 500;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.contact-field {
  min-width: 0;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-field label span {
  color: var(--quiet);
  font-weight: 400;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: 6px;
  color: var(--text);
  background: rgba(5, 5, 9, .68);
  outline: 0;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.contact-field input,
.contact-field select {
  height: 44px;
  padding: 0 15px;
}

.contact-field textarea {
  height: 90px;
  min-height: 90px;
  padding: 13px 15px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #918c98;
  opacity: 1;
}

.contact-field select {
  color: #f1edf5;
  background-color: rgba(5, 5, 9, .68);
  color-scheme: dark;
}

.contact-field select:hover {
  border-color: rgba(155, 114, 239, .34);
  background-color: rgba(12, 10, 18, .82);
}

.contact-field select option {
  color: #f1edf5;
  background: #111117;
}

.contact-field select option:disabled {
  color: #aaa4b2;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--violet-light);
  background: rgba(112, 65, 215, .055);
  box-shadow: 0 0 0 3px rgba(112, 65, 215, .08);
}

.contact-field [aria-invalid="true"] {
  border-color: var(--danger);
}

.contact-label-row {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.contact-counter,
.contact-field-help,
.contact-field-error,
.contact-privacy {
  color: var(--quiet);
  font-size: .65rem;
}

.contact-field-help,
.contact-field-error {
  min-height: 0;
  margin: 5px 0 0;
}

.contact-field-error {
  color: var(--danger);
}

.contact-field-error:empty {
  display: none;
}

.contact-field-help {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
}

.contact-consent-group {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}

.contact-consent-group legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.contact-consent input {
  width: 16px;
  height: 16px;
  accent-color: var(--violet);
}

.contact-consent label {
  color: #aaa6af;
  font-size: .7rem;
}

.contact-submit {
  width: 100%;
  min-height: 48px;
  position: relative;
  margin-top: 10px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--violet);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.contact-submit svg {
  position: absolute;
  right: 20px;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: #7d4be0;
  transform: translateY(-1px);
}

.contact-submit svg {
  width: 17px;
}

.contact-submit:disabled {
  opacity: .6;
  cursor: wait;
}

.contact-privacy {
  margin: 6px 0 0;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 34px 0 28px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(112, 65, 215, .035), transparent 32%), #09090d;
}

.site-footer-container {
  display: grid;
  grid-template-columns: 1.45fr .7fr .8fr 1fr;
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
}

.site-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.site-footer-logo {
  width: 34px;
  height: 34px;
}

.site-footer-brand strong {
  display: block;
  font-size: .74rem;
  font-weight: 650;
}

.site-footer-brand p {
  max-width: 340px;
  margin: 6px 0 0;
  color: var(--quiet);
  font-size: .64rem;
  line-height: 1.55;
}

.site-footer-group {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.site-footer-group h2,
.site-footer-cta h2 {
  margin: 0 0 5px;
  color: #c7aafa;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer-group a {
  color: #88838e;
  font-size: .68rem;
  text-decoration: none;
}

.site-footer-group a:hover {
  color: #fff;
}

.site-footer-cta p {
  margin: 0;
  color: var(--quiet);
  font-size: .65rem;
  line-height: 1.5;
}

.site-footer-cta a {
  min-height: 38px;
  margin-top: 14px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(155, 114, 239, .5);
  border-radius: 4px;
  color: #eee9f5;
  font-size: .67rem;
  font-weight: 650;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .hero {
    min-height: 0;
  }

  .hero-scene {
    object-position: center center;
  }

  .hero-content {
    width: min(44%, 455px);
  }

  .hero h1 {
    font-size: clamp(2.75rem, 5vw, 3.25rem);
  }

  .hero-description {
    font-size: .9rem;
  }

  .portfolio-content,
  .portfolio-loading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-principles-container {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .portfolio-principles ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 42px;
  }

  .process-strip-container {
    grid-template-columns: .6fr 1.4fr;
    gap: 45px;
  }

  .services-grid {
    height: 351.5px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
    --page-gutter: 20px;
  }

  .brand-name small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    padding: 18px var(--page-gutter) 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    background: #0b0b0f;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-link,
  .header-cta {
    min-height: 44px;
    padding: 12px;
    display: flex;
    align-items: center;
  }

  .header-cta {
    justify-content: center;
    margin-top: 6px;
  }

  .hero {
    height: min(calc(900px + var(--header-height)), calc(100svh + var(--header-height)));
    min-height: calc(680px + var(--header-height));
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(5, 5, 8, .86) 0%, rgba(5, 5, 8, .58) 45%, rgba(5, 5, 8, .12) 78%, transparent 100%);
  }

  .hero-scene {
    object-position: 57% 53%;
  }

  .hero-content {
    width: 54%;
    transform: translateY(-8px);
  }

  .hero h1 {
    max-width: 430px;
    font-size: clamp(2.65rem, 6.2vw, 3.2rem);
  }

  .hero-description {
    max-width: 410px;
    font-size: .92rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    padding-inline: 16px;
  }

  .trust-container {
    padding: 24px 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .trust-container ul {
    gap: 10px;
  }

  .portfolio-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .portfolio-heading>p {
    max-width: 560px;
  }

  .portfolio-filters {
    gap: 34px;
  }

  .services-heading,
  .process-strip-container {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .services-heading .section-eyebrow {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .services {
    height: auto;
    min-height: 0;
    padding: calc(var(--header-height) + 28px) 0 0;
  }

  .services,
  .portfolio,
  .process-strip {
    background-position: center center, center 38%;
    background-size: cover, 100% auto;
  }

  .services-container {
    min-height: 0;
    display: block;
  }

  .services-grid {
    height: auto;
    min-height: 0;
    margin-top: 0;
    border-top: 0;
    border-inline: 0;
    border-bottom: 0;
  }

  .services-heading h2 {
    max-width: 520px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-surface {
    min-height: 300px;
    padding-inline: 0;
  }

  .service-link {
    margin-top: auto;
  }

  .process-strip-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }

  .brand-statement-inner {
    min-height: 330px;
    padding: calc(var(--header-height) + 24px) 34px 34px;
  }

  .brand-statement h2 {
    width: 62%;
  }

  .brand-statement-copy {
    width: 58%;
  }

  .capability-strip ul {
    grid-template-columns: repeat(5, 1fr);
  }

  .capability-strip li {
    min-height: 70px;
    gap: 8px;
    font-size: .7rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-context {
    padding-top: 0;
  }

  .contact::before {
    background-position: center center, center 38%;
    background-size: cover, 100% auto;
  }

  .site-footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  :root {
    --page-gutter: 16px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .hero {
    height: calc(820px + var(--header-height));
    min-height: 0;
    max-height: none;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(5, 5, 8, .91) 0%, rgba(5, 5, 8, .76) 58%, rgba(5, 5, 8, .28) 100%);
  }

  .hero-scene {
    object-position: 63% 54%;
  }

  .hero-container {
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    padding-top: calc(var(--header-height) + 54px);
    transform: none;
  }

  .hero-eyebrow {
    margin-bottom: 18px;
    font-size: .61rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
    overflow-wrap: break-word;
  }

  .hero-description {
    margin-top: 22px;
    font-size: .96rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-container ul {
    grid-template-columns: 1fr;
  }

  .trust-container li {
    text-align: left;
  }

  .portfolio {
    padding: 48px 0 0;
  }

  .contact {
    padding: calc(var(--header-height) + 24px) 0 40px;
  }

  .portfolio-heading h2,
  .services-heading h2,
  .contact h2 {
    font-size: 2.5rem;
  }

  .portfolio-media {
    aspect-ratio: 1.25 / 1;
  }

  .portfolio-content,
  .portfolio-loading {
    grid-template-columns: 1fr;
  }

  .portfolio-featured-body,
  .portfolio-card-body {
    min-height: 205px;
  }

  .portfolio-principles {
    margin-top: 64px;
  }

  .portfolio-principles-container {
    padding-block: 32px 36px;
  }

  .portfolio-principles ul {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-surface {
    min-height: 280px;
    padding-block: 30px;
  }

  .process-strip-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-strip-list li {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .brand-statement-inner {
    min-height: 460px;
    padding: calc(var(--header-height) + 24px) 26px 34px;
    justify-content: flex-start;
  }

  .brand-statement h2 {
    width: 100%;
    max-width: 90%;
  }

  .brand-statement-copy {
    width: 100%;
  }

  .approach-content {
    transform: translateY(-16px);
  }

  .approach-visual {
    object-position: 70% 52%;
  }

  .brand-statement-inner::after {
    background: linear-gradient(90deg,
        rgba(5, 5, 10, .97) 0%,
        rgba(5, 5, 10, .92) 48%,
        rgba(5, 5, 10, .78) 72%,
        rgba(5, 5, 10, .42) 100%);
  }

  .capability-strip ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-strip li {
    justify-content: flex-start;
    padding-left: 18px;
    border-bottom: 1px solid var(--line);
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 24px 20px;
  }

  .contact-guidance {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-guidance li,
  .contact-guidance li:first-child,
  .contact-guidance li:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .contact-guidance li:first-child {
    padding-top: 0;
  }

  .contact-guidance li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .site-footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 340px) {
  :root {
    --page-gutter: 12px;
  }

  .hero h1 {
    font-size: 2.38rem;
  }

  .hero-description {
    font-size: .9rem;
  }

  .hero {
    height: calc(780px + var(--header-height));
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .portfolio-featured:hover .portfolio-card-surface,
  .portfolio-card:hover .portfolio-card-surface,
  .portfolio-featured:hover .portfolio-image-stage,
  .portfolio-card:hover .portfolio-image-stage,
  .portfolio-link:hover .portfolio-link-arrow,
  .portfolio-link:focus-visible .portfolio-link-arrow,
  .portfolio-featured:hover .portfolio-link-arrow,
  .portfolio-card:hover .portfolio-link-arrow,
  .service-card:hover .service-surface,
  .service-link:hover span,
  .service-link:focus-visible span,
  .service-card:hover .service-link span {
    transform: none !important;
  }

  .service-link:hover::after,
  .service-link:focus-visible::after,
  .service-card:hover .service-link::after {
    transform: scaleX(.72) !important;
  }
}

/* Final mobile overrides: kept after the desktop/tablet responsive rules. */
@media (max-width: 520px) {
  :root {
    --header-height: 96px;
    --page-gutter: 40px;
  }

  .site-header {
    height: var(--header-height);
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: .98rem;
    letter-spacing: .18em;
  }

  .brand-name small {
    display: block;
    margin-top: 5px;
    font-size: .46rem;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    padding: 10px 8px;
    border: 0;
  }

  .menu-toggle-line {
    height: 2px;
    margin: 5px 0;
  }

  .primary-nav {
    inset: var(--header-height) 0 auto;
    padding-inline: var(--page-gutter);
  }

  .hero {
    height: 1220px;
    min-height: 0;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(5, 5, 8, .86) 0%, rgba(5, 5, 8, .7) 43%, rgba(5, 5, 8, .2) 74%, rgba(5, 5, 8, .18) 100%);
  }

  .hero-scene {
    inset: auto auto 0 -52%;
    width: 220%;
    height: auto;
    object-fit: initial;
    object-position: initial;
  }

  .hero-container {
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    padding-top: calc(var(--header-height) + 38px);
    transform: none;
  }

  .hero-eyebrow {
    max-width: 300px;
    margin-bottom: 22px;
    font-size: .68rem;
    line-height: 1.45;
  }

  .hero h1 {
    max-width: 350px;
    font-size: clamp(2.72rem, 13vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -.055em;
  }

  .hero-description {
    max-width: 350px;
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 28px;
    gap: 16px;
  }

  .button {
    min-height: 72px;
    width: 100%;
    padding-inline: 18px;
    font-size: 1rem;
  }

  .button-secondary {
    border: 1px solid rgba(213, 209, 217, .4);
    border-radius: 9px;
    background: rgba(7, 8, 11, .24);
  }

  .trust-container {
    min-height: 228px;
    padding: 28px 0 26px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
  }

  .trust-container p {
    max-width: none;
    padding-inline: 8px;
    color: #d4d0d8;
    font-size: .72rem;
    line-height: 1.42;
  }

  .trust-container ul {
    display: contents;
  }

  .trust-container li {
    padding-inline: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4d0d8;
    font-size: .7rem;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
    border-left: 1px solid rgba(255, 255, 255, .12);
  }
}

@media (max-width: 340px) {
  :root {
    --page-gutter: 16px;
  }

  .hero {
    padding-bottom: 220px;
  }

  .hero-scene {
    left: -57%;
    width: 235%;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-description {
    font-size: .94rem;
  }

  .button {
    min-height: 66px;
  }

  .trust-container {
    min-height: 220px;
  }

  .trust-container p,
  .trust-container li {
    padding-inline: 5px;
    font-size: .66rem;
  }
}

/* MOBILE-V3.15B: narrower editorial copy, complete product scene, and trust blocks. */
.trust-icon,
.trust-mobile-title,
.trust-mobile-copy,
.trust-item-copy {
  display: none;
}

@media (max-width: 520px) {
  :root {
    --header-height: 80px;
    --page-gutter: 20px;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding-bottom: 250px;
  }

  .hero-container {
    height: auto;
    padding-top: var(--header-height);
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding-top: 14px;
  }

  .hero-eyebrow {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: .58rem;
    line-height: 1.35;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 9.5vw, 2.5rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .hero-description {
    max-width: 310px;
    margin-top: 14px;
    font-size: .88rem;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 18px;
    align-items: flex-start;
    gap: 10px;
  }

  .button {
    width: 76%;
    max-width: 290px;
    min-height: 48px;
    padding-block: 10px;
  }

  .hero-scene {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .trust-container {
    min-height: 228px;
    padding: 24px 0 22px;
  }

  .trust-container p,
  .trust-container li {
    min-width: 0;
    padding-inline: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    color: #d4d0d8;
    font-size: .68rem;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
  }

  .trust-container li {
    border-left: 1px solid rgba(255, 255, 255, .12);
  }

  .trust-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--violet-light);
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .trust-desktop-copy {
    display: none;
  }

  .trust-mobile-title,
  .trust-mobile-copy,
  .trust-item-copy {
    display: block;
  }

  .trust-mobile-title,
  .trust-item-title {
    color: #f0edf3;
    font-size: .67rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .trust-mobile-copy,
  .trust-item-copy {
    color: #aaa6af;
    font-size: .61rem;
    line-height: 1.3;
  }
}

@media (max-width: 340px) {
  :root {
    --page-gutter: 16px;
  }

  .hero {
    padding-bottom: 220px;
  }

  .button {
    width: 78%;
    min-height: 46px;
  }

  .trust-container {
    min-height: 244px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 20px;
    row-gap: 18px;
  }

  .trust-container li:nth-child(2) {
    border-left: 0;
  }

  .trust-container p,
  .trust-container li {
    padding-inline: 5px;
  }

  .trust-icon {
    width: 20px;
    height: 20px;
  }

  .trust-mobile-title,
  .trust-item-title {
    font-size: .64rem;
  }

  .trust-mobile-copy,
  .trust-item-copy {
    font-size: .58rem;
  }
}

/* MOBILE-V3.15D: final compacting and seamless image integration. */
@media (max-width: 520px) {
  .hero {
    padding-bottom: 205px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.4rem);
  }

  .hero-description {
    font-size: .82rem;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .button {
    width: 68%;
    max-width: 260px;
  }

  .hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 220px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(9, 9, 11, .92) 0%, rgba(9, 9, 11, .48) 22%, rgba(9, 9, 11, 0) 68%);
  }

  .trust-container {
    min-height: 184px;
    padding: 16px 0 14px;
  }

  .trust-container p,
  .trust-container li {
    gap: 3px;
  }

  .trust-container li {
    position: relative;
    border-left: 0;
  }

  .trust-container li:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 29px;
    left: 0;
    width: 1px;
    height: 68px;
    background: rgba(255, 255, 255, .12);
  }
}

@media (max-width: 340px) {
  .hero {
    padding-bottom: 190px;
  }

  .trust-container {
    min-height: 202px;
    padding-block: 14px;
    row-gap: 12px;
  }

  .trust-container li:not(:first-child)::before {
    top: 27px;
    height: 62px;
  }
}

/* MOBILE-V3.15E: close the image transition and trust strip to their content. */
@media (max-width: 520px) {
  .hero {
    padding-bottom: 145px;
  }

  .hero::before {
    height: 76px;
    background: linear-gradient(to bottom, rgba(9, 9, 11, .88) 0%, rgba(9, 9, 11, .28) 42%, rgba(9, 9, 11, 0) 100%);
  }

  .trust-container {
    min-height: 0;
    height: auto;
    padding: 12px 0 10px;
    align-items: start;
    row-gap: 0;
  }

  .trust-container p,
  .trust-container li {
    align-self: start;
  }

  .trust-container li:not(:first-child)::before {
    top: 29px;
    bottom: 0;
    height: auto;
  }
}

@media (max-width: 340px) {
  .hero {
    padding-bottom: 130px;
  }

  .trust-container {
    min-height: 0;
    padding-block: 11px 9px;
    row-gap: 10px;
  }

  .trust-container li:not(:first-child)::before {
    top: 27px;
    bottom: 0;
    height: auto;
  }
}

/* MOBILE-V3.15F: final vertical position, dark integration, and closed trust cells. */
@media (max-width: 520px) {
  .hero-content {
    padding-top: 7px;
  }

  .hero {
    padding-bottom: 220px;
  }

  .hero::before {
    height: 150px;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(8, 8, 11, .9) 34%,
        rgba(12, 12, 16, .56) 68%,
        rgba(12, 12, 16, 0) 100%);
  }

  .trust-container {
    padding: 12px 0 10px;
  }

  .trust-container p,
  .trust-container li {
    position: relative;
    min-height: 0;
    margin: 0 -1px -1px 0;
    padding: 7px 5px 8px;
    border: 1px solid rgba(255, 255, 255, .12);
  }

  .trust-container li:not(:first-child)::before {
    display: none;
  }
}

@media (max-width: 340px) {
  .hero-content {
    padding-top: 7px;
  }

  .hero {
    padding-bottom: 200px;
  }

  .trust-container {
    padding-block: 11px 9px;
  }

  .trust-container p,
  .trust-container li {
    padding: 6px 4px 7px;
  }
}

/* MOBILE-V3.15G: align the scene edge with the secondary CTA and unify trust geometry. */
@media (max-width: 520px) {
  .hero {
    padding-bottom: 196px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.28rem);
  }

  .hero::before {
    bottom: calc(66.6667vw - 40px);
    height: 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .98) 0%, rgba(8, 8, 11, .74) 38%, rgba(8, 8, 11, 0) 100%);
  }

  .trust-container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    min-height: 0;
    height: auto;
    padding: 10px 0 8px;
    align-items: stretch;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .trust-container p,
  .trust-container li {
    align-self: stretch;
    min-height: 0;
    margin: 0;
    padding: 6px 5px 7px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .12);
  }

  .trust-container p {
    border-left: 1px solid rgba(255, 255, 255, .12);
  }

  .trust-container li:last-child {
    border-right: 0;
  }
}

@media (max-width: 340px) {
  .hero {
    padding-bottom: 176px;
  }

  .trust-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 9px 7px;
    row-gap: 0;
  }

  .trust-container p,
  .trust-container li {
    padding: 6px 4px;
  }

  .trust-container li:nth-child(2) {
    border-right: 0;
  }

  .trust-container li:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, .12);
  }

  .trust-container li:nth-child(4) {
    border-right: 0;
  }
}

/* MOBILE-V3.15H: match the fade to the sampled graphite edge of the asset. */
@media (max-width: 520px) {
  .hero::before {
    height: 80px;
    background: linear-gradient(to bottom, #000000 0%, #08080b 30%, #171719 64%, #262625 100%);
  }
}

/* MOBILE-V3.15I: spatially balanced two-axis asset transition. */
@media (max-width: 520px) {
  .hero::before {
    height: 80px;
    background:
      linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, .74) 34%,
        rgba(0, 0, 0, 0) 100%),
      linear-gradient(to right,
        rgba(0, 0, 0, .42) 0%,
        rgba(0, 0, 0, .2) 46%,
        rgba(0, 0, 0, 0) 100%);
  }
}

/* MOBILE-V3.15J: reveal the real asset through a short opacity mask. */
@media (max-width: 520px) {
  .hero::before {
    display: none;
    background: none;
  }

  .hero-scene {
    -webkit-mask-image: linear-gradient(to bottom,
        transparent 0,
        rgba(0, 0, 0, .15) 20px,
        rgba(0, 0, 0, .55) 50px,
        #000 90px,
        #000 100%);
    mask-image: linear-gradient(to bottom,
        transparent 0,
        rgba(0, 0, 0, .15) 20px,
        rgba(0, 0, 0, .55) 50px,
        #000 90px,
        #000 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
}

/* MOBILE-V3.16: editorial services layout, preserving existing card/modal behavior. */
.service-icon,
.services-mobile-cta {
  display: none;
}

@media (max-width: 520px) {
  .services {
    height: auto;
    min-height: 0;
    padding: calc(var(--header-height) + 28px) 0 34px;
    background-position: center top;
    background-size: auto 100%;
  }

  .services-container {
    height: auto;
  }

  .services-heading {
    display: block;
    text-align: center;
  }

  .services-heading-copy {
    display: block;
  }

  .services-heading .section-eyebrow {
    max-width: 260px;
    margin: 0 auto 14px;
    font-size: clamp(2.05rem, 9vw, 2.5rem);
    line-height: .98;
    letter-spacing: .02em;
  }

  .services-intro {
    max-width: 330px;
    margin-inline: auto;
    font-size: .91rem;
    line-height: 1.5;
  }

  .services-heading h2 {
    display: none;
  }

  .services-grid {
    position: relative;
    height: auto;
    margin-top: 30px;
    padding-top: 27px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    border: 0;
  }

  .services-grid::before {
    content: "Nuestras soluciones";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--violet-light);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .services-grid::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(155, 114, 239, .28);
  }

  .service-card,
  .service-card:last-child {
    min-height: 0;
    border: 1px solid rgba(155, 114, 239, .34);
    border-radius: 9px;
    background: rgba(15, 16, 23, .78);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  }

  .service-card:active,
  .service-card:focus-visible {
    transform: translateY(1px);
  }

  .service-card-software {
    border-color: rgba(155, 114, 239, .52);
  }

  .service-surface {
    position: relative;
    height: auto;
    min-height: 122px;
    padding: 8px 48px 3px 74px;
    display: block;
    border: 0;
    background: transparent;
    transform: none;
  }

  .service-card-header {
    display: block;
  }

  .service-icon {
    position: absolute;
    top: 22px;
    left: 18px;
    width: 42px;
    height: 48px;
    display: grid;
    place-items: center;
    clip-path: polygon(25% 4%, 75% 4%, 100% 25%, 100% 75%, 75% 96%, 25% 96%, 0 75%, 0 25%);
    background: rgba(112, 65, 215, .18);
    border: 1px solid rgba(155, 114, 239, .56);
  }

  .service-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--violet-light);
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .service-card h3 {
    margin: 0;
    font-size: .72rem;
    letter-spacing: .13em;
  }

  .service-kicker {
    margin-top: 7px;
    font-size: 1.18rem;
    line-height: 1.1;
  }

  .service-description {
    max-width: none;
    margin-top: 8px;
    font-size: .76rem;
    line-height: 1.42;
  }

  .service-link {
    position: absolute;
    top: 50%;
    right: 17px;
    margin: 0;
    padding: 0;
    font-size: 0;
    transform: translateY(-50%);
  }

  .service-link::after {
    display: none;
  }

  .service-link span {
    font-size: 1.35rem;
    color: var(--violet-light);
  }

  .services-mobile-cta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .services-mobile-cta p {
    margin: 0;
    color: #e9e5ee;
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .services-mobile-cta .button {
    width: min(76%, 280px);
    min-height: 48px;
  }
}

@media (max-width: 340px) {
  .services {
    padding-top: calc(var(--header-height) + 22px);
  }

  .services-heading .section-eyebrow {
    font-size: 1.95rem;
  }

  .services-intro {
    font-size: .86rem;
  }

  .service-surface {
    min-height: 136px;
    padding-left: 68px;
  }

  .service-icon {
    left: 14px;
  }

  .service-link {
    right: 12px;
  }
}

/* MOBILE-V3.16B: compact services intro and editorial divider. */
@media (max-width: 520px) {
  .services {
    padding-top: calc(var(--header-height) + 12px);
  }

  .services-heading .section-eyebrow {
    font-size: clamp(1.88rem, 8.2vw, 2.28rem);
  }

  .services-intro {
    font-size: .82rem;
  }

  .services-grid::before {
    position: relative;
    z-index: 1;
    top: auto;
    right: auto;
    left: auto;
    width: max-content;
    margin: 0 auto;
    padding-inline: 12px;
    background: #111115;
    line-height: 1;
  }

  .services-grid::after {
    top: 13px;
    z-index: 0;
  }
}

@media (max-width: 340px) {
  .services {
    padding-top: calc(var(--header-height) + 10px);
  }

  .services-heading .section-eyebrow {
    font-size: 1.8rem;
  }

  .services-intro {
    font-size: .78rem;
  }
}

@media (max-width: 520px) {
  .services-grid::before {
    position: absolute;
    top: 0;
    right: auto;
    left: 50%;
    width: max-content;
    margin: 0;
    transform: translateX(-50%);
  }
}

/* MOBILE-V3.16C: halve the remaining vertical gaps and finish the divider geometry. */
@media (max-width: 520px) {
  .services {
    padding-top: calc(var(--header-height) + 6px);
  }

  .services-heading .section-eyebrow {
    font-size: clamp(1.68rem, 7.4vw, 2.05rem);
  }

  .services-grid {
    margin-top: 15px;
    padding-top: 14px;
  }

  .services-grid::before {
    content: "◇  Nuestras soluciones  ◇";
    padding-inline: 10px;
    letter-spacing: .15em;
  }

  .services-grid::after {
    top: 7px;
  }
}

@media (max-width: 340px) {
  .services {
    padding-top: calc(var(--header-height) + 5px);
  }

  .services-heading .section-eyebrow {
    font-size: 1.6rem;
  }

  .services-grid {
    margin-top: 13px;
    padding-top: 12px;
  }

  .services-grid::after {
    top: 6px;
  }
}

/* MOBILE-V3.16D: remove the duplicated header offset above Services content. */
@media (max-width: 520px) {
  .services {
    padding-top: 8px;
  }
}

@media (max-width: 340px) {
  .services {
    padding-top: 7px;
  }
}

/* MOBILE-V3.16E: restore a modest breathing space above Services. */
@media (max-width: 520px) {
  .services {
    padding-top: 58px;
  }
}

@media (max-width: 340px) {
  .services {
    padding-top: 30px;
  }
}

/* MOBILE-V3.17: compact projects listing while preserving data and modal hooks. */
.portfolio-mobile-cta {
  display: none;
}

@media (max-width: 520px) {
  .portfolio {
    padding: 24px 0 0;
    background-position: center top;
    background-size: auto 100%;
  }

  .portfolio-heading {
    margin-bottom: 18px;
    display: block;
    text-align: left;
  }

  .portfolio-heading>div {
    max-width: none;
  }

  .portfolio-eyebrow {
    margin-bottom: 9px;
    font-size: .82rem;
    letter-spacing: .16em;
  }

  .portfolio-heading h2 {
    max-width: 280px;
    font-size: 2.2rem;
    line-height: .98;
  }

  .portfolio-heading>p {
    max-width: 330px;
    margin: 14px 0 0;
    font-size: .82rem;
    line-height: 1.45;
  }

  .portfolio-filters {
    margin-bottom: 16px;
    gap: 7px;
    overflow-x: auto;
    border-bottom: 0;
  }

  .portfolio-filter {
    padding: 7px 13px;
    border: 1px solid rgba(155, 114, 239, .3);
    border-radius: 999px;
    color: #aaa6af;
    background: rgba(15, 15, 21, .72);
    font-size: .68rem;
  }

  .portfolio-filter::after {
    display: none;
  }

  .portfolio-filter[aria-pressed="true"] {
    border-color: var(--violet-light);
    color: #fff;
    background: rgba(112, 65, 215, .3);
  }

  .portfolio-content {
    display: block;
  }

  .portfolio-featured,
  .portfolio-card {
    display: block;
    margin-bottom: 10px;
  }

  .portfolio-card-surface {
    min-height: 0;
    display: grid;
    grid-template-columns: 43% minmax(0, 57%);
    border-color: rgba(155, 114, 239, .22);
    border-radius: 8px;
    background: rgba(13, 14, 20, .84);
  }

  .portfolio-media,
  .portfolio-featured-media {
    min-height: 148px;
    height: 100%;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, .09);
  }

  .portfolio-card-body,
  .portfolio-featured-body {
    min-height: 148px;
    padding: 13px 30px 12px 14px;
  }

  .portfolio-project-number,
  .portfolio-featured-label {
    display: none;
  }

  .portfolio-project-type {
    margin: 0;
    font-size: .6rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .portfolio-card-title,
  .portfolio-featured-title {
    margin-top: 4px;
    font-size: .98rem;
    line-height: 1.08;
  }

  .portfolio-project-description {
    margin-top: 6px;
    font-size: .68rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .portfolio-technologies {
    display: none;
  }

  .portfolio-actions {
    padding-top: 5px;
  }

  .portfolio-link {
    font-size: .67rem;
  }

  .portfolio-featured-badge {
    top: 8px;
    left: 8px;
    padding: 4px 6px;
    font-size: .5rem;
  }

  .portfolio-principles {
    display: none;
  }

  .portfolio-mobile-cta {
    margin: 16px 0 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(155, 114, 239, .34);
    border-radius: 8px;
    background: rgba(18, 16, 27, .72);
  }

  .portfolio-mobile-cta>span {
    color: var(--violet-light);
    font-size: 1.35rem;
  }

  .portfolio-mobile-cta a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: inherit;
    text-decoration: none;
  }

  .portfolio-mobile-cta strong {
    font-size: .82rem;
    font-weight: 650;
  }

  .portfolio-mobile-cta small {
    color: #aaa6af;
    font-size: .7rem;
  }
}

@media (max-width: 340px) {
  .portfolio {
    padding-top: 20px;
  }

  .portfolio-heading h2 {
    font-size: 2rem;
  }

  .portfolio-filter {
    padding-inline: 10px;
    font-size: .64rem;
  }

  .portfolio-card-surface {
    grid-template-columns: 41% minmax(0, 59%);
  }

  .portfolio-media,
  .portfolio-featured-media,
  .portfolio-card-body,
  .portfolio-featured-body {
    min-height: 138px;
  }

  .portfolio-card-body,
  .portfolio-featured-body {
    padding: 11px 25px 10px 11px;
  }
}

/* MOBILE-V3.17B: projects hierarchy, mobile atmosphere, and CTA launch mark. */
@media (max-width: 520px) {
  .portfolio {
    padding-top: 66px;
    background-image: linear-gradient(rgba(9, 9, 12, .58), rgba(9, 9, 12, .78)), url("/assets/asset_proyect.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .portfolio-eyebrow {
    font-size: 2.2rem;
    line-height: .98;
    letter-spacing: -.04em;
  }

  .portfolio-heading h2 {
    font-size: 2rem;
  }

  .portfolio-mobile-cta-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(155, 114, 239, .42);
    border-radius: 8px;
    background: rgba(112, 65, 215, .16);
  }

  .portfolio-mobile-cta-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--violet-light);
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@media (max-width: 340px) {
  .portfolio {
    padding-top: 48px;
  }

  .portfolio-eyebrow {
    font-size: 2rem;
  }

  .portfolio-heading h2 {
    font-size: 1.85rem;
  }
}

/* MOBILE-V3.18: compact approach/process composition using existing content and asset. */
.approach-mobile-cta {
  display: none;
}

@media (max-width: 520px) {
  .process-strip {
    padding: 0 0 18px;
  }

  .process-strip-container {
    padding-top: 16px;
    display: block;
    border-top: 0;
  }

  .process-intro .section-eyebrow {
    margin-bottom: 8px;
    font-size: 1.85rem;
    line-height: 1;
  }

  .process-intro h2 {
    max-width: 280px;
    font-size: 2.05rem;
    line-height: .98;
  }

  .process-strip-list {
    margin-top: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .process-strip-list li {
    position: relative;
    min-width: 0;
    padding: 0 7px;
    border-left: 1px solid rgba(255, 255, 255, .12);
  }

  .process-strip-list li:first-child {
    border-left: 0;
  }

  .process-strip-list li::before {
    content: "◇";
    display: block;
    margin-bottom: 10px;
    color: var(--violet-light);
    font-size: .78rem;
    line-height: 1;
  }

  .process-strip-list span {
    font-size: .6rem;
  }

  .process-strip-list h3 {
    margin: 6px 0 5px;
    font-size: .67rem;
    line-height: 1.1;
  }

  .process-strip-list p {
    font-size: .58rem;
    line-height: 1.35;
  }

  .brand-statement {
    padding: 12px 0 0;
  }

  .brand-statement-inner {
    height: 365px;
    min-height: 0;
    padding: 24px 20px 20px;
    border-radius: 8px;
  }

  .approach-visual {
    object-position: 62% center;
  }

  .brand-statement-inner::after {
    background: linear-gradient(90deg, rgba(5, 5, 10, .97) 0%, rgba(5, 5, 10, .88) 44%, rgba(5, 5, 10, .34) 78%, rgba(5, 5, 10, .12) 100%);
  }

  .approach-content {
    transform: none;
  }

  .brand-statement .section-eyebrow {
    margin-bottom: 12px;
    font-size: .72rem;
  }

  .brand-statement h2 {
    width: 78%;
    max-width: none;
    font-size: 1.85rem;
    line-height: 1.02;
  }

  .brand-statement-copy {
    width: 82%;
    margin-top: 16px;
    font-size: .76rem;
    line-height: 1.45;
  }

  .capability-strip {
    margin-top: 10px;
  }

  .capability-strip-container {
    border-inline: 0;
  }

  .capability-strip ul {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .capability-strip li {
    min-height: 54px;
    gap: 4px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    font-size: .6rem;
    flex-direction: column;
  }

  .capability-strip li:first-child {
    color: var(--violet-light);
  }

  .capability-strip span {
    font-size: .72rem;
  }

  .approach-mobile-cta {
    margin: 14px 0 0;
    padding: 13px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(155, 114, 239, .34);
    border-radius: 8px;
    background: rgba(18, 16, 27, .74);
  }

  .approach-mobile-cta-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(155, 114, 239, .4);
    border-radius: 8px;
    background: rgba(112, 65, 215, .16);
  }

  .approach-mobile-cta-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--violet-light);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .approach-mobile-cta-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .approach-mobile-cta-copy strong {
    font-size: .72rem;
  }

  .approach-mobile-cta-copy small {
    color: #aaa6af;
    font-size: .62rem;
    line-height: 1.3;
  }

  .approach-mobile-cta>a {
    margin-left: auto;
    color: var(--violet-light);
    font-size: 1.25rem;
    text-decoration: none;
  }
}

@media (max-width: 340px) {
  .process-strip-container {
    padding-top: 12px;
  }

  .process-intro .section-eyebrow {
    font-size: 1.65rem;
  }

  .process-intro h2 {
    font-size: 1.85rem;
  }

  .process-strip-list {
    margin-top: 18px;
  }

  .process-strip-list li {
    padding-inline: 4px;
  }

  .process-strip-list p {
    font-size: .54rem;
  }

  .brand-statement-inner {
    height: 350px;
    padding-inline: 16px;
  }

  .brand-statement h2 {
    font-size: 1.68rem;
  }
}

/* MOBILE-V3.18: refine approach continuity and uniform process/capability cells. */
@media (max-width: 520px) {
  .process-strip-container {
    padding-top: 48px;
  }

  .process-strip-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }

  .process-strip-list li {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .process-strip-list li>span {
    display: none;
  }

  .process-strip-list h3 {
    font-size: .72rem;
  }

  .process-strip-list p {
    font-size: .63rem;
  }

  .brand-statement {
    padding: 0;
  }

  .brand-statement-inner {
    width: 100%;
    margin-inline: 0;
    height: 325px;
    padding: 22px 20px 18px;
    border-inline: 0;
    border-radius: 0;
  }

  .approach-visual {
    object-position: 62% center;
  }

  .capability-strip {
    margin-top: 0;
  }

  .capability-strip-container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    border-inline: 1px solid rgba(255, 255, 255, .12);
  }

  .capability-strip ul {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .capability-strip li {
    min-height: 52px;
    padding: 6px 2px;
    gap: 3px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    font-size: .58rem;
  }

  .capability-strip li:last-child {
    border-right: 0;
  }

  .capability-strip {
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
}

@media (max-width: 340px) {
  .process-strip-container {
    padding-top: 40px;
  }

  .brand-statement-inner {
    height: 310px;
    padding-inline: 16px;
  }

  .capability-strip li {
    min-height: 48px;
    font-size: .54rem;
  }
}

/* Final mobile polish for Cómo trabajamos. */
@media (max-width: 520px) {
  .process-intro h2 {
    font-size: 1.5rem;
  }

  .process-strip {
    background-image: linear-gradient(rgba(17, 17, 21, .76), rgba(17, 17, 21, .82)), url("/assets/sahe-workflow-background.png");
    background-size: auto 118%;
    background-position: center top;
  }

  .process-strip-list {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 4px;
    overflow: hidden;
  }

  .process-strip-list li {
    border-left: 1px solid rgba(255, 255, 255, .14);
  }

  .process-strip-list li:first-child {
    border-left: 0;
  }

  .capability-strip {
    position: relative;
    z-index: 3;
    margin-top: -24px;
  }
}

@media (max-width: 340px) {
  .process-intro h2 {
    font-size: 1.8rem;
  }

  .capability-strip {
    margin-top: -20px;
  }
}

/* Mobile background correction: use the real assets without artificial gray overlays. */
@media (max-width: 520px) {
  .services {
    background-image: url("/assets/sahe-services-background.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .process-strip {
    background-image: url("/assets/sahe-workflow-background.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .process-strip-container {
    padding-top: 68px;
  }
}

@media (max-width: 340px) {
  .process-strip-container {
    padding-top: 64px;
  }
}

/* Final mobile spacing polish: approach asset and closing CTA. */
@media (max-width: 520px) {
  .brand-statement {
    margin-top: -18px;
  }

  .approach-mobile-cta {
    margin-top: 0;
  }
}

@media (max-width: 340px) {
  .brand-statement {
    margin-top: -14px;
  }
}

/* MOBILE-CONTACT: compact closing composition without changing form behavior. */
.contact-mobile-cta {
  display: none;
}

@media (max-width: 520px) {
  .contact {
    padding: 64px 0 0;
    background-position: center top;
    background-size: auto 100%;
  }

  .contact-container {
    width: min(calc(100% - 40px), var(--page-width));
    display: block;
  }

  .contact-context {
    padding-top: 0;
  }

  .contact .contact-eyebrow {
    margin-bottom: 2px;
    font-size: .78rem;
  }

  .contact h2 {
    max-width: 320px;
    font-size: 2.35rem;
    line-height: 1.02;
  }

  .contact-description {
    max-width: 330px;
    margin-top: 3px;
    font-size: .84rem;
    line-height: 1.48;
  }

  .contact-mobile-cta {
    margin-top: 3px;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 3px;
    border: 1px solid rgba(155, 114, 239, .34);
    border-radius: 8px;
    color: inherit;
    background: rgba(18, 16, 27, .72);
    text-decoration: none;
  }

  .contact-mobile-cta span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(155, 114, 239, .4);
    border-radius: 8px;
    background: rgba(112, 65, 215, .16);
  }

  .contact-mobile-cta svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--violet-light);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .contact-mobile-cta strong {
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.2;
  }

  .contact-mobile-cta b {
    margin-left: auto;
    color: var(--violet-light);
    font-size: 1.2rem;
  }

  .contact-details {
    margin-top: 3px;
    gap: 2px;
  }

  .contact-detail {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .contact-detail-icon {
    width: 34px;
    height: 34px;
  }

  .contact-detail strong {
    font-size: .72rem;
  }

  .contact-detail [data-contact-detail-value] {
    margin-top: 2px;
    font-size: .7rem;
  }

  .contact-form-panel {
    margin-top: 4px;
    padding: 16px 14px;
    border-radius: 9px;
  }

  .contact-form-heading {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    margin-bottom: 5px;
  }

  .contact-form-mark {
    width: 34px;
    height: 34px;
  }

  .contact-form-mark svg {
    width: 17px;
    height: 17px;
  }

  .contact-form-heading h3 {
    font-size: 1rem;
  }

  .contact-form-heading div>p {
    font-size: .68rem;
    line-height: 1.4;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
  }

  .contact-field textarea {
    min-height: 120px;
  }

  .contact-guidance {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-guidance li {
    min-height: 0;
    padding: 6px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .contact-guidance li:first-child {
    padding-top: 0;
  }

  .contact-guidance li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .site-footer {
    padding: 5px 0 22px;
  }

  .site-footer-container {
    width: min(calc(100% - 40px), var(--page-width));
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer-group {
    gap: 6px;
  }

  .site-footer-cta a {
    margin-top: 10px;
  }
}

@media (max-width: 340px) {

  .contact-container,
  .site-footer-container {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .contact h2 {
    font-size: 2.15rem;
  }

  .contact-form-panel {
    padding-inline: 12px;
  }
}

/* CONTACT MOBILE: title hierarchy and form-before-details flow. */
@media (max-width: 520px) {
  .contact-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .contact-context {
    display: contents;
  }

  .contact-context::after {
    display: none;
  }

  .contact .contact-eyebrow {
    order: 0;
    font-size: 2.1rem;
    line-height: 1.02;
    letter-spacing: -.04em;
  }

  .contact h2 {
    order: 0;
    font-size: 2.225rem;
  }

  .contact-description {
    order: 0;
  }

  .contact-form-panel {
    order: 1;
  }

  .contact-mobile-cta {
    order: 2;
  }

  .contact-details {
    order: 3;
  }

}

@media (max-width: 340px) {
  .contact .contact-eyebrow {
    font-size: 2.15rem;
  }

  .contact h2 {
    font-size: 2.025rem;
  }
}