:root {
  --ink: #07111d;
  --navy: #061321;
  --navy-2: #091a2b;
  --ivory: #f3eadf;
  --ivory-soft: #f7f0e7;
  --copper: #b86a3d;
  --copper-2: #d28a5f;
  --muted: #5f5960;
  --white: #fffaf2;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

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

.site-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  background: var(--navy);
}

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

.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 330px;
}

.brand-mark {
  color: var(--copper);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: 0;
}

.brand-divider {
  width: 1px;
  height: 38px;
  background: color-mix(in srgb, var(--copper) 65%, transparent);
}

.brand-copy {
  display: grid;
  gap: 5px;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 26px);
  color: var(--ivory-soft);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a {
  opacity: 0.92;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a.is-active {
  color: var(--copper-2);
  opacity: 1;
}

.nav-two-line {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.08;
  text-align: center;
}

.site-nav a:hover {
  color: var(--copper-2);
  opacity: 1;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(210, 138, 95, 0.38);
}

.language-switch button {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: var(--ivory-soft);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.language-switch button.is-active {
  background: var(--copper);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--copper) 68%, transparent);
  background: color-mix(in srgb, var(--navy) 76%, transparent);
  color: var(--ivory);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  width: min(1180px, calc(100% - 44px));
  min-height: calc(100svh - 115px);
  margin: 0 auto;
  padding: clamp(34px, 6vh, 74px) 0 clamp(42px, 8vh, 74px);
}

.hero-copy {
  align-self: center;
  max-width: 790px;
  padding-bottom: 0;
}

.hero-copy h1 {
  max-width: 22.5ch;
  margin: 0;
  color: #111827;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 3.9vw, 4.3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
  hyphens: manual;
}

.copper-rule {
  width: 58px;
  height: 2px;
  margin: 20px 0 18px;
  background: var(--copper);
}

.hero-copy p {
  max-width: 545px;
  margin: 0;
  color: #252a34;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 500;
  line-height: 1.48;
}

.hero-copy .hero-hands-on {
  max-width: 570px;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--copper);
  color: #3c424d;
  font-size: clamp(0.78rem, 0.74rem + 0.18vw, 0.9rem);
  font-weight: 600;
  line-height: 1.48;
}

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

.hero-actions .button {
  min-height: 48px;
}

.hero-proof-cards {
  display: none;
}

.hero-proof-card svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button:focus-visible,
.language-switch button:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--copper-2) 78%, white);
  outline-offset: 4px;
}

.button-primary {
  background: linear-gradient(135deg, #b76335 0%, #c87a4d 100%);
  color: var(--white);
  box-shadow: 0 18px 35px rgba(75, 35, 18, 0.22);
}

.button-secondary,
.button-link {
  color: var(--copper);
  border-color: color-mix(in srgb, var(--copper) 35%, transparent);
  background: color-mix(in srgb, var(--ivory) 70%, transparent);
}

.button-link {
  border-color: transparent;
  background: transparent;
  padding-inline: 0;
}

.section-teaser {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 24px;
  color: var(--ivory-soft);
  background:
    linear-gradient(180deg, var(--navy-2), var(--navy));
  border-top: 1px solid rgba(184, 106, 61, 0.34);
  border-bottom: 1px solid rgba(184, 106, 61, 0.2);
}

.section-teaser p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.section-teaser span {
  width: 126px;
  height: 1px;
  margin-top: 14px;
  background: var(--copper);
}

@media (min-width: 881px) {
  .section-teaser {
    --teaser-overlap: clamp(120px, 17svh, 190px);
    margin-top: calc(-1 * var(--teaser-overlap));
    min-height: calc(104px + var(--teaser-overlap));
  }
}

.content-band,
.portfolio-strip,
.contact-band {
  background: var(--ivory-soft);
  color: var(--ink);
}

.band-inner {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-label {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.band-inner h2,
.portfolio-copy h2,
.contact-band h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.diagnostic-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
}

.diagnostic-copy {
  min-width: 0;
}

.diagnostic-intro {
  max-width: 790px;
  margin: 24px 0 0;
  color: #252a34;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 500;
  line-height: 1.68;
}

.diagnostic-action {
  margin-top: 28px;
}

.diagnostic-visual {
  position: relative;
  margin: 0;
  border: 1px solid rgba(184, 106, 61, 0.32);
  background: var(--navy);
  box-shadow: 0 26px 54px rgba(7, 17, 29, 0.22);
  overflow: hidden;
}

.diagnostic-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.services-block {
  margin-top: 118px;
  padding-top: 54px;
  border-top: 1px solid rgba(184, 106, 61, 0.22);
}

.services-heading {
  display: grid;
  gap: 12px;
  max-width: 700px;
  margin-bottom: 36px;
}

.services-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.service-card {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 380px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  perspective: 1100px;
}

.service-card-inner {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  min-width: 0;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.2, 0.78, 0.2, 1);
}

.service-card.is-flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-card:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.service-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  white-space: normal;
  border: 1px solid color-mix(in srgb, var(--copper) 28%, transparent);
  border-radius: 8px;
  padding: 24px;
  overflow: hidden;
  backface-visibility: hidden;
}

.service-face > * {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.service-front {
  background:
    linear-gradient(180deg, rgba(10, 28, 48, 0.98), rgba(5, 17, 31, 0.98)),
    var(--navy);
  color: var(--ivory-soft);
}

.service-back {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(243, 234, 223, 0.98)),
    var(--ivory-soft);
  color: var(--ink);
  transform: rotateY(180deg);
}

.service-index {
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-face strong {
  font-family: var(--serif);
  font-size: clamp(1.62rem, 2.1vw, 2.15rem);
  font-weight: 600;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.service-summary {
  color: color-mix(in srgb, var(--ivory-soft) 84%, transparent);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.service-examples {
  display: grid;
  gap: 9px;
}

.service-examples span {
  display: block;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(243, 234, 223, 0.14);
}

.service-back span {
  display: block;
  border-bottom: 1px solid rgba(184, 106, 61, 0.18);
  padding-bottom: 5px;
  color: #343946;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.service-back em {
  margin-top: auto;
  color: var(--copper-2);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
}

.partner-note {
  margin: 22px 0 0;
  color: var(--copper);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}

.portfolio-strip {
  padding: 92px max(22px, calc((100% - 1120px) / 2));
}

.portfolio-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: stretch;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(184, 106, 61, 0.3);
  background:
    linear-gradient(135deg, rgba(9, 26, 43, 0.98), rgba(5, 17, 29, 1)),
    var(--navy);
  color: var(--ivory-soft);
  box-shadow: 0 28px 70px rgba(7, 17, 29, 0.22);
}

.portfolio-copy {
  display: grid;
  align-content: center;
  justify-items: start;
}

.portfolio-copy h2 {
  max-width: 720px;
}

.portfolio-copy p:not(.section-label) {
  max-width: 680px;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--ivory-soft) 78%, transparent);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.72;
}

.portfolio-copy .button {
  margin-top: 30px;
}

.portfolio-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(243, 234, 223, 0.14);
  background: rgba(255, 250, 242, 0.06);
}

.portfolio-panel span {
  color: var(--copper-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portfolio-panel strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.portfolio-panel p {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(243, 234, 223, 0.13);
  color: color-mix(in srgb, var(--ivory-soft) 84%, transparent);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.contact-band {
  padding: 88px max(22px, calc((100% - 1120px) / 2));
  background: var(--navy);
  color: var(--ivory-soft);
}

.contact-band > div {
  display: grid;
  justify-items: start;
}

.contact-band p:not(.section-label) {
  max-width: 650px;
  margin: 22px 0 0;
  color: color-mix(in srgb, var(--ivory-soft) 78%, transparent);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-band-actions,
.contact-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-band .button-secondary,
.contact-page-actions .button-secondary {
  color: var(--ivory-soft);
  border-color: rgba(243, 234, 223, 0.24);
  background: rgba(255, 250, 242, 0.07);
}

.site-shell--page {
  background: var(--ivory-soft);
}

.page-top {
  background: var(--navy);
}

.page-top .topbar {
  padding-bottom: 28px;
}

.page-top .brand-copy strong {
  color: var(--ivory-soft);
}

.legal-page-hero .page-hero-inner {
  max-width: 780px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9, 26, 43, 0.98), rgba(5, 17, 29, 1)),
    var(--navy);
  color: var(--ivory-soft);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: max(22px, calc((100% - 1120px) / 2));
  top: -24%;
  width: min(34vw, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 106, 61, 0.38);
  border-radius: 50%;
  opacity: 0.28;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0 clamp(70px, 9vw, 112px);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.3rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0;
}

.page-hero p:not(.section-label) {
  max-width: 720px;
  margin: 28px 0 0;
  color: color-mix(in srgb, var(--ivory-soft) 80%, transparent);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 500;
  line-height: 1.7;
}

.page-hero .button {
  margin-top: 34px;
}

.page-content {
  background: var(--ivory-soft);
  color: var(--ink);
}

.page-content-inner {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(68px, 8vw, 104px) 0;
}

.page-content-inner.has-image {
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
}

.legal-page-content {
  padding: 78px max(22px, calc((100% - 1120px) / 2)) 96px;
  background: var(--ivory-soft);
}

.legal-page-inner {
  display: grid;
  gap: 28px;
}

.legal-page-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  width: fit-content;
  padding: 12px 14px;
  border: 1px solid rgba(184, 106, 61, 0.24);
  background: rgba(255, 250, 242, 0.72);
  color: #343946;
  font-size: 0.82rem;
  font-weight: 600;
}

.legal-page-note strong {
  color: var(--copper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.legal-section {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(184, 106, 61, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.82), rgba(243, 234, 223, 0.96)),
    var(--ivory-soft);
}

.legal-section h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
}

.legal-section ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-section li {
  position: relative;
  padding-left: 18px;
  color: #343946;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.65;
}

.legal-section li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--copper);
}

.page-card-grid {
  display: grid;
  gap: 14px;
}

.page-card {
  padding: 26px;
  border: 1px solid rgba(184, 106, 61, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.62), rgba(243, 234, 223, 0.96)),
    var(--ivory-soft);
}

.page-card h2,
.page-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
}

.digital-detail-section {
  background: var(--ivory-soft);
  color: var(--ink);
}

.digital-detail-section-projects {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(243, 234, 223, 0.98)),
    var(--ivory-soft);
  color: var(--ink);
}

.digital-detail-section-conditions,
.digital-detail-section-ai-conditions {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(243, 234, 223, 0.98)),
    var(--ivory-soft);
}

.digital-detail-inner {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(62px, 7vw, 88px) 0;
}

.digital-detail-copy {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.digital-detail-copy h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
}

.digital-detail-copy p {
  max-width: 760px;
  margin: 0;
  color: #343946;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 500;
  line-height: 1.68;
}

.digital-detail-section-projects .digital-detail-copy h2 {
  color: var(--ink);
}

.digital-detail-section-projects .digital-detail-copy p {
  color: #343946;
}

.digital-detail-copy p:last-child {
  color: var(--copper-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.digital-detail-section-projects .digital-detail-copy p:last-child {
  color: var(--copper-2);
}

.digital-focus-grid {
  display: grid;
  gap: 14px;
}

.digital-focus-grid-projects,
.digital-focus-grid-ai-projects {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.digital-focus-grid-conditions,
.digital-focus-grid-ai-conditions {
  counter-reset: condition-card;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.digital-focus-card {
  min-height: 128px;
  padding: 24px;
  border: 1px solid rgba(184, 106, 61, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.68), rgba(243, 234, 223, 0.94)),
    var(--ivory-soft);
}

.digital-focus-grid-projects .digital-focus-card,
.digital-focus-grid-ai-projects .digital-focus-card {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(230, 160, 111, 0.18)),
    #fffaf2;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18);
}

.digital-focus-grid-projects .digital-focus-card:nth-child(2n),
.digital-focus-grid-ai-projects .digital-focus-card:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(184, 106, 61, 0.94), rgba(133, 69, 39, 0.98)),
    var(--copper);
}

.digital-focus-grid-projects .digital-focus-card:nth-child(2n) h3,
.digital-focus-grid-ai-projects .digital-focus-card:nth-child(2n) h3 {
  color: var(--white);
}

.digital-focus-grid-conditions .digital-focus-card,
.digital-focus-grid-ai-conditions .digital-focus-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 178px;
  gap: 22px;
  overflow: hidden;
  border-color: rgba(184, 106, 61, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(244, 226, 211, 0.98)),
    #fffaf2;
  box-shadow: 0 22px 48px rgba(7, 17, 29, 0.1);
}

.digital-focus-grid-conditions .digital-focus-card::before,
.digital-focus-grid-ai-conditions .digital-focus-card::before {
  counter-increment: condition-card;
  content: "0" counter(condition-card);
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--copper);
  color: var(--copper-2);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.digital-focus-grid-conditions .digital-focus-card h3,
.digital-focus-grid-ai-conditions .digital-focus-card h3 {
  color: var(--copper-2);
}

.digital-focus-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.38rem, 2.1vw, 1.82rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.04;
}

.digital-stage-section {
  background:
    linear-gradient(180deg, rgba(7, 17, 29, 1), rgba(15, 31, 52, 0.98)),
    var(--ink);
  color: var(--white);
}

.digital-stage-inner {
  gap: clamp(24px, 4vw, 44px);
}

.digital-stage-heading {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.digital-stage-heading h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
}

.digital-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.digital-stage-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 310px;
  gap: 28px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(230, 160, 111, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(243, 234, 223, 0.95)),
    var(--ivory-soft);
  color: var(--ink);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.digital-stage-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(184, 106, 61, 0.96), rgba(133, 69, 39, 0.98)),
    var(--copper);
  color: var(--white);
}

.digital-stage-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(15, 31, 52, 0.96), rgba(7, 17, 29, 0.98)),
    var(--ink);
  color: var(--white);
}

.digital-stage-index {
  color: color-mix(in srgb, currentColor 34%, transparent);
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 5.8rem);
  font-weight: 600;
  line-height: 0.8;
}

.digital-stage-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
}

.digital-stage-card p {
  margin: 16px 0 0;
  color: color-mix(in srgb, currentColor 76%, transparent);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.6;
}

.page-card p {
  margin: 14px 0 0;
  color: #343946;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.65;
}

.page-diagnostic-visual {
  align-self: start;
}

.expertises-section {
  background: var(--ivory-soft);
  color: var(--ink);
}

.expertises-inner {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.expertises-page-hero .page-hero-inner {
  padding-block: clamp(48px, 5vw, 68px);
}

.expertises-page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.7rem, 4.2vw, 4.6rem);
}

.expertise-card {
  position: relative;
  min-width: 0;
  min-height: clamp(390px, 42vw, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(30, 56, 73, 0.18);
  color: var(--ivory-soft);
  text-decoration: none;
  background: var(--navy);
  box-shadow: 0 22px 60px rgba(16, 31, 44, 0.16);
  isolation: isolate;
}

.expertise-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition:
    transform 520ms ease,
    filter 520ms ease;
  z-index: -2;
}

.expertise-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 19, 31, 0.24), rgba(7, 19, 31, 0.82)),
    linear-gradient(135deg, rgba(23, 58, 78, 0.72), rgba(78, 43, 29, 0.46));
  z-index: -1;
  transition: opacity 320ms ease;
}

.expertise-card-content {
  display: grid;
  min-width: 0;
  gap: 16px;
  padding: clamp(26px, 4vw, 38px);
  max-width: 620px;
}

.expertise-card-kicker {
  color: var(--copper-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.expertise-card strong {
  color: var(--ivory-soft);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 600;
  line-height: 1;
  overflow-wrap: anywhere;
}

.expertise-card-content > span:not(.expertise-card-kicker) {
  color: color-mix(in srgb, var(--ivory-soft) 86%, transparent);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.expertise-card em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory-soft);
  font-style: normal;
  font-weight: 800;
}

.expertise-card em span {
  transition: transform 220ms ease;
}

.expertise-card:hover img {
  filter: contrast(1.06) saturate(1.04);
  transform: scale(1.055);
}

.expertise-card:hover .expertise-card-overlay {
  opacity: 0.92;
}

.expertise-card:hover em span {
  transform: translateX(4px);
}

.expertise-card:focus-visible {
  outline: 3px solid var(--copper-2);
  outline-offset: 5px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9, 26, 43, 0.98), rgba(5, 17, 29, 1)),
    var(--navy);
  color: var(--ivory-soft);
}

.about-hero::after {
  content: "";
  position: absolute;
  right: max(22px, calc((100% - 1120px) / 2));
  top: -22%;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 106, 61, 0.36);
  border-radius: 50%;
  opacity: 0.24;
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(38px, 6vw, 86px);
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 0 clamp(72px, 8vw, 104px);
}

.about-hero-copy {
  min-width: 0;
}

.about-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.85rem, 5.4vw, 5.85rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0;
}

.about-hero-copy p:not(.section-label) {
  max-width: 710px;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--ivory-soft) 80%, transparent);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 500;
  line-height: 1.68;
}

.about-hero-copy .about-hero-intro {
  color: var(--ivory-soft);
  font-weight: 700;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.about-hero .button-secondary {
  color: var(--ivory-soft);
  border-color: rgba(243, 234, 223, 0.24);
  background: rgba(255, 250, 242, 0.07);
}

.about-portrait {
  position: relative;
  display: grid;
  align-self: stretch;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(210, 138, 95, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.1), rgba(184, 106, 61, 0.12)),
    rgba(255, 250, 242, 0.06);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.26);
}

.about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) sepia(0.06);
}

.about-portrait-placeholder {
  place-items: center;
  padding: 34px;
  text-align: center;
}

.about-portrait-placeholder::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(210, 138, 95, 0.22);
  pointer-events: none;
}

.about-portrait-placeholder > span {
  color: rgba(255, 250, 242, 0.14);
  font-family: var(--serif);
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 600;
  line-height: 0.82;
}

.about-portrait-placeholder figcaption {
  display: grid;
  gap: 8px;
  max-width: 280px;
}

.about-portrait-placeholder strong {
  color: var(--ivory-soft);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1;
}

.about-portrait-placeholder em {
  color: color-mix(in srgb, var(--ivory-soft) 70%, transparent);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}

.about-section {
  background: var(--ivory-soft);
  color: var(--ink);
}

.about-section-inner {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 96px) 0;
  border-top: 1px solid rgba(184, 106, 61, 0.2);
}

.about-section-heading {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.about-section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.1vw, 4.2rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
}

.about-section-heading p:not(.section-label) {
  margin: 0;
  color: #343946;
  font-size: clamp(1rem, 1.32vw, 1.12rem);
  font-weight: 500;
  line-height: 1.68;
}

.about-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-panel {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: clamp(24px, 3vw, 30px);
  border: 1px solid rgba(184, 106, 61, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.7), rgba(243, 234, 223, 0.96)),
    var(--ivory-soft);
}

.about-panel h3,
.about-journey-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1;
}

.about-panel p,
.about-journey-item p {
  margin: 16px 0 0;
  color: #343946;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.64;
}

.about-journey-section {
  background:
    linear-gradient(180deg, rgba(7, 17, 29, 1), rgba(15, 31, 52, 0.98)),
    var(--navy);
  color: var(--ivory-soft);
}

.about-journey-inner {
  border-top-color: rgba(210, 138, 95, 0.24);
}

.about-journey-section .about-section-heading h2 {
  color: var(--ivory-soft);
}

.about-journey-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(210, 138, 95, 0.24);
}

.about-journey-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding: 26px 0;
  border-bottom: 1px solid rgba(243, 234, 223, 0.12);
}

.about-journey-item::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--copper);
}

.about-journey-item h3 {
  color: var(--ivory-soft);
  padding-left: 66px;
}

.about-journey-item p {
  margin: 0;
  color: color-mix(in srgb, var(--ivory-soft) 78%, transparent);
}

.portfolio-page-hero .page-hero-inner {
  display: block;
  padding-bottom: clamp(58px, 7vw, 90px);
}

.portfolio-hero-copy {
  min-width: 0;
  max-width: 920px;
}

.portfolio-page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.75rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.portfolio-page-hero .portfolio-hero-intro {
  max-width: 760px;
  margin-top: 24px;
}

.portfolio-method {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 820px;
  margin-top: 26px;
}

.portfolio-method span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid rgba(210, 138, 95, 0.34);
  color: var(--ivory-soft);
  background: rgba(255, 250, 242, 0.05);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.22;
}

.portfolio-page-content {
  background: var(--ivory-soft);
}

.portfolio-page-inner {
  display: grid;
  gap: clamp(58px, 8vw, 104px);
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
}

.portfolio-category {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}

.portfolio-category-heading {
  position: sticky;
  top: 24px;
  align-self: start;
}

.portfolio-category-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
}

.portfolio-category-heading p:not(.section-label) {
  margin: 20px 0 0;
  color: #343946;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.68;
}

.portfolio-case-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 881px) {
  .portfolio-case-grid {
    padding-top: 30px;
  }
}

.portfolio-case {
  border: 1px solid rgba(184, 106, 61, 0.28);
  background:
    linear-gradient(180deg, rgba(10, 28, 48, 0.98), rgba(5, 17, 31, 0.98)),
    var(--navy);
  color: var(--ivory-soft);
  box-shadow: 0 20px 48px rgba(7, 17, 29, 0.12);
}

.portfolio-case summary {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(24px, 3vw, 32px);
  cursor: pointer;
  list-style: none;
}

.portfolio-case summary::-webkit-details-marker {
  display: none;
}

.portfolio-case summary::after {
  content: "+";
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(210, 138, 95, 0.45);
  color: var(--copper-2);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.portfolio-case[open] summary::after {
  content: "−";
  background: var(--copper);
  color: var(--white);
}

.portfolio-case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-right: 52px;
}

.portfolio-case-tag {
  width: fit-content;
  color: var(--copper-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.portfolio-case-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: clamp(92px, 12vw, 126px);
  height: 30px;
  padding-left: 18px;
}

.portfolio-case-logo::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 24px;
  background: rgba(210, 138, 95, 0.42);
}

.portfolio-case-logo img {
  display: block;
  width: auto;
  max-width: clamp(88px, 11vw, 118px);
  max-height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  object-fit: contain;
}

.portfolio-case-logo-with-text {
  gap: 8px;
  min-width: 172px;
  justify-content: flex-start;
}

.portfolio-case-logo-with-text img {
  max-width: 24px;
  max-height: 24px;
  opacity: 0.92;
}

.portfolio-case-logo-with-text span {
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.portfolio-case-logo.portfolio-case-logo-on-light {
  min-width: clamp(132px, 14vw, 154px);
  height: 34px;
  padding: 5px 10px;
  border: 1px solid rgba(210, 138, 95, 0.32);
  border-radius: 5px;
  background: rgba(255, 250, 242, 0.96);
}

.portfolio-case-logo.portfolio-case-logo-on-light::before {
  display: none;
}

.portfolio-case-logo.portfolio-case-logo-on-light img {
  width: 100%;
  max-width: 134px;
  max-height: 24px;
  filter: none;
  opacity: 1;
}

.portfolio-case:hover .portfolio-case-logo img,
.portfolio-case[open] .portfolio-case-logo img {
  opacity: 0.96;
}

.portfolio-case summary strong {
  max-width: calc(100% - 56px);
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
}

.portfolio-case-summary {
  max-width: 760px;
  color: color-mix(in srgb, var(--ivory-soft) 82%, transparent);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.58;
}

.portfolio-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-case-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(243, 234, 223, 0.13);
  color: color-mix(in srgb, var(--ivory-soft) 80%, transparent);
  background: rgba(255, 250, 242, 0.05);
  font-size: 0.72rem;
  font-weight: 700;
}

.portfolio-case-details {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(243, 234, 223, 0.99)),
    var(--ivory-soft);
  color: var(--ink);
}

.portfolio-case-details div {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(184, 106, 61, 0.18);
}

.portfolio-case-details div:last-child {
  border-bottom: 0;
}

.portfolio-case-details dt {
  color: var(--copper);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-case-details dd {
  margin: 0;
  color: #303642;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.64;
}

.portfolio-case-external {
  display: flex;
  padding: 0 clamp(24px, 3vw, 32px) 24px;
  background: var(--ivory-soft);
}

.portfolio-case-external a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(184, 106, 61, 0.42);
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.portfolio-case-external a:hover,
.portfolio-case-external a:focus-visible {
  border-color: var(--copper);
  background: var(--copper);
  color: var(--white);
  transform: translateY(-1px);
}

.portfolio-case-external a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.portfolio-case-gallery {
  padding: 22px clamp(24px, 3vw, 32px) clamp(26px, 3vw, 34px);
  border-top: 1px solid rgba(184, 106, 61, 0.2);
  background: var(--ivory-soft);
  color: var(--ink);
}

.portfolio-case-gallery-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.portfolio-case-gallery-heading strong {
  color: var(--copper);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-case-gallery-heading span {
  color: #6e727a;
  font-size: 0.72rem;
  font-weight: 600;
}

.portfolio-case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 260px));
  gap: 12px;
}

.portfolio-media-thumb {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(11, 29, 49, 0.14);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 17, 29, 0.09);
  cursor: zoom-in;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-media-thumb:hover,
.portfolio-media-thumb:focus-visible {
  border-color: rgba(184, 106, 61, 0.62);
  box-shadow: 0 14px 30px rgba(7, 17, 29, 0.16);
  transform: translateY(-2px);
}

.portfolio-media-thumb:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.portfolio-media-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid rgba(11, 29, 49, 0.1);
  background: #fff;
  object-fit: cover;
  object-position: top center;
  transition: transform 240ms ease;
}

.portfolio-media-thumb:hover img,
.portfolio-media-thumb:focus-visible img {
  transform: scale(1.018);
}

.portfolio-media-thumb span {
  display: block;
  padding: 10px 12px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.portfolio-lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(210, 138, 95, 0.5);
  color: var(--ivory-soft);
  background: #071523;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

.portfolio-lightbox::backdrop {
  background: rgba(2, 9, 17, 0.86);
  backdrop-filter: blur(7px);
}

.portfolio-lightbox figure {
  display: grid;
  margin: 0;
}

.portfolio-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 62px);
  background: #fff;
  object-fit: contain;
}

.portfolio-lightbox figcaption {
  min-height: 58px;
  padding: 18px 72px 18px 22px;
  color: var(--ivory-soft);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.portfolio-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(210, 138, 95, 0.55);
  color: var(--ivory-soft);
  background: rgba(7, 21, 35, 0.94);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.portfolio-lightbox-close:hover,
.portfolio-lightbox-close:focus-visible {
  color: var(--white);
  background: var(--copper);
}

.portfolio-lightbox-close:focus-visible {
  outline: 2px solid var(--ivory-soft);
  outline-offset: 2px;
}

.contact-page-hero {
  background:
    linear-gradient(135deg, rgba(9, 26, 43, 0.98), rgba(5, 17, 29, 1)),
    var(--navy);
  color: var(--ivory-soft);
}

.contact-page-inner {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0 clamp(58px, 8vw, 92px);
}

.contact-page-copy h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.85rem, 5.2vw, 5.45rem);
  font-weight: 600;
  line-height: 0.96;
}

.contact-page-copy p:not(.section-label) {
  max-width: 700px;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--ivory-soft) 80%, transparent);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 500;
  line-height: 1.7;
}

.contact-page-actions .button {
  margin-top: 0;
}

.contact-modalities {
  max-width: 960px;
  margin-top: clamp(36px, 5vw, 58px);
}

.contact-modalities h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  font-weight: 600;
  line-height: 1;
}

.contact-topic-signs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-topic-signs li {
  display: inline-flex;
  min-width: 0;
}

.contact-topic-signs span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(210, 138, 95, 0.34);
  background:
    linear-gradient(135deg, rgba(210, 138, 95, 0.13), rgba(255, 250, 242, 0.045)),
    rgba(5, 17, 29, 0.34);
  color: color-mix(in srgb, var(--ivory-soft) 94%, transparent);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  min-width: 0;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 250, 242, 0.08);
}

.contact-topic-signs span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--copper-2);
  box-shadow: 0 0 0 4px rgba(210, 138, 95, 0.12);
}

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

.contact-modality-card {
  display: grid;
  grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid rgba(210, 138, 95, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.075), rgba(255, 250, 242, 0.025)),
    rgba(5, 17, 29, 0.34);
}

.contact-modality-card dt {
  color: var(--copper-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-modality-card dd {
  margin: 0;
  color: color-mix(in srgb, var(--ivory-soft) 90%, transparent);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.contact-form-section {
  background: var(--ivory-soft);
  color: var(--ink);
}

.contact-form-inner {
  width: min(860px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 92px) 0;
}

.contact-form-panel {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(184, 106, 61, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.78), rgba(243, 234, 223, 0.98)),
    var(--ivory-soft);
  box-shadow: 0 26px 56px rgba(7, 17, 29, 0.14);
}

.contact-form-heading {
  display: grid;
  gap: 10px;
}

.contact-form-heading strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
}

.contact-form-heading span {
  color: #343946;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-linkedin-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-option-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
  gap: 14px;
}

.contact-option-card {
  display: grid;
  align-content: space-between;
  min-height: 250px;
  gap: 22px;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid rgba(7, 17, 29, 0.12);
  background: #fffaf2;
  box-shadow: 0 22px 44px rgba(7, 17, 29, 0.1);
}

.contact-option-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.contact-option-card p {
  margin: 0;
  color: #343946;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
}

.contact-option-kicker {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(184, 106, 61, 0.18);
  background: rgba(255, 255, 255, 0.64);
  color: var(--copper-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-option-card-linkedin {
  background:
    linear-gradient(180deg, rgba(15, 31, 52, 0.96), rgba(7, 17, 29, 0.98)),
    var(--ink);
}

.contact-option-card-linkedin h2,
.contact-option-card-linkedin p {
  color: var(--white);
}

.contact-option-card-linkedin p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-option-card-linkedin .contact-option-kicker {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.contact-option-card-cal {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(244, 226, 211, 0.98)),
    #fffaf2;
}

.contact-option-card-whatsapp {
  border-color: rgba(31, 132, 92, 0.2);
  background:
    linear-gradient(180deg, rgba(247, 255, 250, 0.98), rgba(231, 245, 236, 0.98)),
    #f7fffa;
}

.contact-option-card-whatsapp .contact-option-kicker {
  border-color: rgba(31, 132, 92, 0.2);
  color: #1f845c;
}

.contact-form-panel label,
.contact-form-panel fieldset {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form-panel label > span,
.contact-form-panel legend {
  color: var(--copper-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  width: 100%;
  border: 1px solid rgba(184, 106, 61, 0.25);
  border-radius: 0;
  background: rgba(255, 250, 242, 0.74);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-form-panel input,
.contact-form-panel select {
  min-height: 46px;
  padding: 0 13px;
}

.contact-form-panel textarea {
  min-height: 128px;
  resize: vertical;
  padding: 13px;
}

.contact-form-panel select option {
  color: var(--ink);
}

.contact-form-panel input:focus,
.contact-form-panel select:focus,
.contact-form-panel textarea:focus {
  border-color: var(--copper-2);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 106, 61, 0.18);
}

.contact-form-panel textarea::placeholder {
  color: color-mix(in srgb, var(--ink) 42%, transparent);
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-option {
  display: block;
  cursor: pointer;
}

.choice-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-option span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(184, 106, 61, 0.22);
  color: #343946;
  background: rgba(255, 250, 242, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}

.choice-option input:checked + span {
  border-color: var(--copper);
  background: var(--copper);
  color: var(--white);
}

.contact-form-panel .button {
  width: 100%;
  margin-top: 2px;
}

.form-note {
  margin: -4px 0 0;
}

.contact-routes {
  background: var(--ivory-soft);
}

.contact-routes-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 96px) 0;
}

.contact-route-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(184, 106, 61, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.7), rgba(243, 234, 223, 0.98)),
    var(--ivory-soft);
}

.contact-route-card span {
  width: 44px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--copper);
}

.contact-route-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
}

.contact-route-card p {
  margin: 16px 0 0;
  color: #343946;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.65;
}

.site-footer {
  background: #04101c;
  color: var(--ivory-soft);
  border-top: 1px solid rgba(184, 106, 61, 0.28);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(180px, 0.7fr) minmax(240px, 0.9fr);
  gap: clamp(24px, 4vw, 58px);
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 42px 0;
}

.site-footer-brand,
.site-footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer-brand strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
}

.site-footer-brand p {
  max-width: 420px;
  margin: 0;
  color: color-mix(in srgb, var(--ivory-soft) 70%, transparent);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.55;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 10px 18px;
}

.site-footer-links a {
  display: inline-flex;
  gap: 4px;
  color: color-mix(in srgb, var(--ivory-soft) 82%, transparent);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-footer-contact span {
  color: var(--copper-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer-contact a {
  color: var(--ivory-soft);
  font-size: 0.94rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.diagnostic-page-hero::after {
  border-radius: 0;
  transform: rotate(12deg);
}

.diagnostic-page-hero .page-hero-inner {
  padding-block: clamp(48px, 5vw, 68px);
}

.diagnostic-page-hero h1 {
  max-width: 610px;
  font-size: clamp(2.7rem, 4.2vw, 4.6rem);
}

.diagnostic-hero-copy {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.diagnostic-hero-copy > * {
  margin: 0 !important;
}

.diagnostic-page-hero .diagnostic-hero-copy p:not(.section-label) {
  line-height: 1.55;
}

.diagnostic-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
}

.diagnostic-hero-copy {
  min-width: 0;
}

.diagnostic-hero-subtitle {
  color: var(--ivory-soft);
  font-weight: 700;
}

.diagnostic-hero-duration {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(210, 138, 95, 0.34);
  color: color-mix(in srgb, var(--ivory-soft) 88%, transparent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.diagnostic-hero-visual {
  position: relative;
  margin: 0;
  border: 1px solid rgba(210, 138, 95, 0.34);
  background: rgba(255, 250, 242, 0.06);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.diagnostic-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.diagnostic-intro-section .page-content-inner {
  padding-bottom: clamp(28px, 4vw, 46px);
}

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

.diagnostic-app-section {
  background: var(--ivory-soft);
  color: var(--ink);
}

.diagnostic-app-inner {
  display: grid;
  gap: 28px;
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) 0 clamp(82px, 9vw, 118px);
}

.diagnostic-app-heading {
  max-width: 760px;
}

.diagnostic-app-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
}

.diagnostic-app-heading p:not(.section-label) {
  margin: 18px 0 0;
  color: #343946;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}

.diagnostic-app-heading .diagnostic-privacy-note {
  max-width: 760px;
  padding: 12px 14px;
  border: 1px solid rgba(184, 106, 61, 0.22);
  background: rgba(255, 250, 242, 0.68);
  color: #5f5960;
  font-size: 0.84rem;
  line-height: 1.55;
}

.diagnostic-privacy-note a {
  color: var(--copper);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.diagnostic-loading {
  padding: 30px;
  border: 1px solid rgba(184, 106, 61, 0.3);
  background: rgba(255, 250, 242, 0.72);
  color: #343946;
  font-weight: 600;
}

.diagnostic-loading.is-error {
  border-color: rgba(143, 46, 35, 0.32);
  color: #8f2e23;
  background: #fff4ee;
}

.diagnostic-shell {
  display: grid;
  grid-template-columns: minmax(230px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.diagnostic-rail {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(184, 106, 61, 0.28);
  background:
    linear-gradient(180deg, rgba(10, 28, 48, 0.98), rgba(5, 17, 31, 0.98)),
    var(--navy);
  color: var(--ivory-soft);
  box-shadow: 0 22px 44px rgba(7, 17, 29, 0.16);
}

.diagnostic-kicker,
.diagnostic-question-top span,
.diagnostic-field span,
.diagnostic-fieldset legend {
  color: var(--copper-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.diagnostic-rail strong {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 0.9;
}

.diagnostic-rail p {
  margin: 0;
  color: color-mix(in srgb, var(--ivory-soft) 76%, transparent);
  font-size: 0.86rem;
  font-weight: 600;
}

.diagnostic-progress {
  height: 8px;
  background: rgba(255, 250, 242, 0.11);
  overflow: hidden;
}

.diagnostic-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--copper-2));
  transition: width 220ms ease;
}

.diagnostic-steps {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(243, 234, 223, 0.12);
}

.diagnostic-steps span {
  color: color-mix(in srgb, var(--ivory-soft) 64%, transparent);
  font-size: 0.82rem;
  font-weight: 600;
}

.diagnostic-steps .is-active {
  color: var(--ivory-soft);
}

.diagnostic-workspace {
  min-width: 0;
}

.diagnostic-panel,
.diagnostic-results {
  border: 1px solid rgba(184, 106, 61, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.78), rgba(243, 234, 223, 0.98)),
    var(--ivory-soft);
  box-shadow: 0 26px 56px rgba(7, 17, 29, 0.14);
}

.diagnostic-panel {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 42px);
}

.diagnostic-panel-heading {
  display: grid;
  gap: 10px;
}

.diagnostic-panel-heading h2,
.diagnostic-question-panel h2,
.diagnostic-results-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
}

.diagnostic-question-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.diagnostic-question-title h2 {
  flex: 1 1 min(100%, 560px);
}

.diagnostic-panel-heading p:not(.section-label),
.diagnostic-results-head p,
.diagnostic-limitations p {
  margin: 0;
  color: #343946;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

.diagnostic-field,
.diagnostic-fieldset {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.diagnostic-resume-note {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-left: 3px solid var(--copper);
  background: rgba(184, 106, 61, 0.1);
}

.diagnostic-resume-note strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.diagnostic-resume-note span,
.diagnostic-save-badge {
  color: #5c6470;
  font-size: 0.78rem;
  font-weight: 700;
}

.diagnostic-save-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 9px;
  background: rgba(255, 250, 242, 0.1);
  color: color-mix(in srgb, var(--ivory-soft) 76%, transparent);
}

.diagnostic-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(184, 106, 61, 0.25);
  border-radius: 0;
  padding: 0 13px;
  background: rgba(255, 250, 242, 0.74);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  outline: none;
}

.diagnostic-field input:focus {
  border-color: var(--copper-2);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 106, 61, 0.18);
}

.diagnostic-profile .button,
.diagnostic-question-panel .button {
  width: 100%;
}

.diagnostic-question-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184, 106, 61, 0.18);
}

.diagnostic-question-top span:last-child {
  color: #6d6670;
  letter-spacing: 0.05em;
  text-align: right;
}

.diagnostic-mode-grid,
.diagnostic-option-grid {
  display: grid;
  gap: 10px;
}

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

.diagnostic-option-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.diagnostic-option-grid.is-wide {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.diagnostic-mode-option,
.diagnostic-option-grid label,
.diagnostic-likert label {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(184, 106, 61, 0.24);
  background: rgba(255, 250, 242, 0.68);
  color: #303642;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.diagnostic-mode-option {
  min-height: 68px;
}

.diagnostic-mode-option:hover,
.diagnostic-option-grid label:hover,
.diagnostic-likert label:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 106, 61, 0.48);
}

.diagnostic-mode-option:focus-within,
.diagnostic-option-grid label:focus-within,
.diagnostic-likert label:focus-within {
  border-color: var(--copper-2);
  box-shadow: 0 0 0 3px rgba(184, 106, 61, 0.22);
}

.diagnostic-mode-option input,
.diagnostic-option-grid input,
.diagnostic-likert input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.diagnostic-mode-option:has(input:checked),
.diagnostic-option-grid label:has(input:checked),
.diagnostic-likert label:has(input:checked),
.diagnostic-option-grid .is-selected {
  border-color: var(--copper);
  background:
    linear-gradient(135deg, #b76335 0%, #c87a4d 100%),
    var(--copper);
  color: var(--white);
}

.diagnostic-mode-option strong,
.diagnostic-option-grid strong,
.diagnostic-likert strong {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.diagnostic-option-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
  min-width: 0;
}

.diagnostic-option-head strong {
  flex: 1 1 120px;
}

.diagnostic-mode-option span,
.diagnostic-option-grid span,
.diagnostic-likert span {
  color: inherit;
  opacity: 0.72;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.42;
}

.diagnostic-option-grid .diagnostic-option-head,
.diagnostic-option-grid .diagnostic-example {
  opacity: 1;
}

.diagnostic-likert {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.diagnostic-likert label {
  place-items: center;
  min-height: 108px;
  text-align: center;
}

.diagnostic-likert strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.diagnostic-answer-input {
  max-width: 460px;
}

.diagnostic-validation {
  margin: 0;
  color: #8f2e23;
  font-size: 0.86rem;
  font-weight: 700;
}

.diagnostic-empty-state {
  margin: 0;
  color: #6d655c;
  font-size: 0.92rem;
  line-height: 1.5;
}

.diagnostic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.diagnostic-actions .button {
  width: auto;
}

.diagnostic-actions button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.diagnostic-results {
  display: grid;
  gap: 20px;
  padding: clamp(26px, 4vw, 42px);
}

.diagnostic-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
  gap: 24px;
  align-items: stretch;
}

.vigilance-card {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(10, 28, 48, 0.98), rgba(5, 17, 31, 0.98)),
    var(--navy);
  color: var(--ivory-soft);
}

.vigilance-card span {
  color: var(--copper-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vigilance-card strong {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 600;
  line-height: 0.9;
}

.vigilance-card small {
  color: rgba(243, 234, 223, 0.62);
  font-family: var(--sans);
  font-size: 1rem;
}

.vigilance-meter,
.risk-bar {
  height: 8px;
  overflow: hidden;
  background: rgba(7, 17, 29, 0.12);
}

.vigilance-meter {
  background: rgba(255, 250, 242, 0.14);
}

.vigilance-meter span,
.risk-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1f9d72, #e8a01b, #cf3c28);
}

.diagnostic-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.92fr));
  gap: 14px;
}

.dashboard-column {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(184, 106, 61, 0.22);
  background: rgba(255, 250, 242, 0.62);
}

.dashboard-column h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}

.risk-row,
.lever-row {
  display: grid;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(184, 106, 61, 0.16);
}

.risk-row {
  grid-template-columns: 30px minmax(0, 1fr) auto;
}

.lever-row {
  grid-template-columns: 28px minmax(0, 1fr);
}

.risk-row > span,
.lever-row > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--white);
  background: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
}

.risk-row strong,
.lever-row strong {
  display: block;
  color: #202734;
  font-size: 0.9rem;
  line-height: 1.35;
}

.diagnostic-item-title {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.diagnostic-help {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(184, 106, 61, 0.38);
  border-radius: 999px;
  color: var(--copper);
  background: rgba(184, 106, 61, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: help;
}

.diagnostic-example {
  position: relative;
  display: inline-grid;
  place-items: center;
  max-width: 100%;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(184, 106, 61, 0.28);
  color: var(--copper);
  background: rgba(184, 106, 61, 0.08);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  cursor: help;
}

.diagnostic-option-grid label:has(input:checked) .diagnostic-example,
.diagnostic-option-grid .is-selected .diagnostic-example {
  border-color: rgba(255, 250, 242, 0.45);
  color: var(--white);
  background: rgba(255, 250, 242, 0.14);
}

.diagnostic-help::after,
.diagnostic-example::after {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 10px);
  left: 50%;
  width: min(260px, 70vw);
  padding: 12px 14px;
  border: 1px solid rgba(184, 106, 61, 0.28);
  background: #202734;
  color: var(--cream);
  box-shadow: 0 18px 40px rgba(7, 17, 29, 0.18);
  content: attr(data-help);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: pre-line;
}

.diagnostic-help:hover::after,
.diagnostic-help:focus-visible::after,
.diagnostic-example:hover::after,
.diagnostic-example:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.risk-row b {
  color: var(--copper);
  font-size: 0.9rem;
}

.risk-bar {
  margin-top: 8px;
}

.diagnostic-depth-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(184, 106, 61, 0.28);
  background:
    linear-gradient(90deg, rgba(10, 28, 48, 0.96), rgba(30, 58, 78, 0.92)),
    var(--navy);
  color: var(--ivory-soft);
}

.diagnostic-depth-card div {
  display: grid;
  gap: 5px;
}

.diagnostic-depth-card span {
  color: var(--copper-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.diagnostic-depth-card strong {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
}

.diagnostic-depth-card p {
  max-width: 620px;
  margin: 0;
  color: color-mix(in srgb, var(--ivory-soft) 78%, transparent);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.diagnostic-limitations {
  padding-top: 18px;
  border-top: 1px solid rgba(184, 106, 61, 0.2);
}

.diagnostic-limitations strong {
  display: block;
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1060px) {
  .topbar {
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 0.86rem;
    letter-spacing: 0.2em;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.78rem;
  }

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

  .contact-option-grid {
    grid-template-columns: minmax(0, 680px);
  }

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

  .digital-focus-grid-projects,
  .digital-focus-grid-conditions,
  .digital-focus-grid-ai-projects,
  .digital-focus-grid-ai-conditions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .digital-stage-grid {
    grid-template-columns: 1fr;
  }

  .digital-stage-card {
    min-height: 220px;
  }

  .expertises-inner {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: 420px;
  }

  .about-hero-inner {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    width: min(520px, 100%);
    min-height: 460px;
  }

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

@media (min-width: 980px) and (min-height: 620px) {
  .hero-grid {
    width: calc(100% - clamp(44px, 6vw, 96px));
  }

  .hero-proof-cards {
    position: absolute;
    top: 50%;
    right: clamp(18px, 2.2vw, 36px);
    z-index: 3;
    display: grid;
    width: clamp(270px, 27vw, 440px);
    gap: clamp(10px, 0.8vw, 13px);
    pointer-events: none;
    transform: translateY(-50%);
  }

  .hero-proof-card {
    display: grid;
    grid-template-columns: clamp(40px, 3.2vw, 56px) 1px minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 1.1vw, 17px);
    min-height: clamp(78px, 6.3vw, 104px);
    padding: clamp(12px, 1vw, 17px) clamp(14px, 1.2vw, 20px);
    border: 1px solid rgba(210, 138, 95, 0.72);
    background: rgba(5, 17, 29, 0.42);
    color: var(--ivory-soft);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(3px);
  }

  .hero-proof-icon {
    display: grid;
    place-items: center;
    width: clamp(40px, 3.2vw, 56px);
    height: clamp(40px, 3.2vw, 56px);
    color: var(--copper-2);
  }

  .hero-proof-divider {
    width: 1px;
    min-height: clamp(42px, 3.4vw, 56px);
    background: rgba(210, 138, 95, 0.44);
  }

  .hero-proof-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
  }

  .hero-proof-copy strong {
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(1.04rem, 0.9rem + 0.32vw, 1.3rem);
    font-weight: 600;
    line-height: 1.05;
  }

  .hero-proof-copy span {
    color: rgba(255, 250, 242, 0.88);
    font-size: clamp(0.73rem, 0.62rem + 0.18vw, 0.85rem);
    font-weight: 500;
    line-height: 1.25;
  }
}

@media (min-width: 980px) and (max-width: 1119px) {
  .hero-copy {
    max-width: 510px;
  }

  .hero-copy p {
    max-width: 470px;
  }

  .hero-actions {
    display: grid;
    align-items: stretch;
    width: min(100%, 292px);
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }
}

@media (max-width: 880px) {
  .hero {
    min-height: auto;
    background: var(--ivory-soft);
  }

  .hero-bg {
    object-position: 38% center;
  }

  .topbar {
    position: relative;
    z-index: 12;
    align-items: center;
    width: min(100% - 34px, 1180px);
  }

  .menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    background: rgba(5, 17, 29, 0.78);
    box-shadow: 0 14px 30px rgba(7, 17, 29, 0.24);
    backdrop-filter: blur(10px);
  }

  .menu-button span {
    margin: 0;
  }

  .menu-button span + span {
    margin-top: 0;
  }

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

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

  .contact-option-grid {
    grid-template-columns: 1fr;
  }

  .contact-topic-signs {
    gap: 8px;
  }

  .contact-topic-signs li,
  .contact-topic-signs span {
    width: 100%;
  }

  .contact-modalities-grid {
    grid-template-columns: 1fr;
  }

  .contact-modality-card {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
  }

  .contact-option-card {
    min-height: 0;
  }

  .digital-focus-grid-projects,
  .digital-focus-grid-conditions,
  .digital-focus-grid-ai-projects,
  .digital-focus-grid-ai-conditions {
    grid-template-columns: 1fr;
  }

  .digital-focus-card {
    min-height: 0;
  }

  .digital-stage-card {
    min-height: 0;
  }

  .expertise-card {
    min-height: 390px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    z-index: 20;
    width: min(252px, calc(100vw - 44px));
    padding: 10px;
    border: 1px solid rgba(210, 138, 95, 0.34);
    background: rgba(4, 16, 28, 0.97);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    gap: 3px;
    justify-content: stretch;
    align-content: start;
    white-space: normal;
  }

  .site-nav.is-open {
    display: grid;
    justify-items: stretch;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 40px;
    width: 100%;
    padding: 0 12px;
    border-bottom: 1px solid rgba(243, 234, 223, 0.08);
    font-size: 0.84rem;
    font-weight: 600;
    opacity: 1;
    text-align: left;
  }

  .site-nav a:last-of-type {
    border-bottom: 0;
  }

  .site-nav a.is-active {
    color: var(--ivory-soft);
    background: rgba(184, 106, 61, 0.2);
  }

  .site-nav .nav-two-line {
    flex-direction: row;
    justify-content: flex-start;
    gap: 4px;
    text-align: left;
  }

  .site-nav .nav-two-line span {
    display: inline;
  }

  .language-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 8px;
    padding: 4px;
  }

  .language-switch button {
    min-height: 38px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    width: min(100% - 34px, 1180px);
    min-height: auto;
    padding: 44px 0 58px;
  }

  .hero-copy {
    max-width: min(100%, 520px);
    padding: 0;
  }

  .hero-copy h1 {
    max-width: 19ch;
    font-size: clamp(2.18rem, 7.8vw, 2.95rem);
  }

  .hero-copy p {
    max-width: min(100%, 460px);
  }

  .hero-actions {
    display: grid;
    align-items: stretch;
    width: min(100%, 420px);
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button-secondary {
    color: #8f4c2f;
    border-color: rgba(143, 76, 47, 0.62);
    background: var(--ivory-soft);
    box-shadow: 0 10px 22px rgba(7, 17, 29, 0.12);
  }

  .section-teaser {
    min-height: 96px;
  }

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

  .diagnostic-overview {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .diagnostic-visual {
    width: min(100%, 720px);
  }

  .portfolio-card {
    grid-template-columns: 1fr;
  }

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

  .page-content-inner.has-image {
    grid-template-columns: 1fr;
  }

  .diagnostic-hero-inner,
  .diagnostic-shell,
  .diagnostic-results-head,
  .diagnostic-dashboard {
    grid-template-columns: 1fr;
  }

  .diagnostic-rail {
    position: static;
  }

  .diagnostic-benefit-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-category {
    grid-template-columns: 1fr;
  }

  .portfolio-category-heading {
    position: static;
  }

  .about-panel-grid {
    grid-template-columns: 1fr;
  }

  .about-journey-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-journey-item p {
    padding-left: 66px;
  }

  .contact-page-inner,
  .contact-routes-inner {
    grid-template-columns: 1fr;
  }

  .diagnostic-likert {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .diagnostic-mode-grid,
  .diagnostic-depth-card {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 561px) and (max-width: 720px) {
  .hero-copy {
    max-width: min(100%, 420px);
  }

  .hero-copy p,
  .hero-actions {
    max-width: min(100%, 390px);
  }

  .hero-grid {
    padding-bottom: 40px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 12px;
    padding-top: 20px;
  }

  .brand {
    gap: 11px;
  }

  .brand-mark {
    font-size: 2.25rem;
  }

  .brand-divider {
    height: 32px;
  }

  .brand-copy strong {
    max-width: 150px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }

  .brand-copy span {
    max-width: 150px;
    font-size: 0.68rem;
  }

  .hero-bg {
    object-position: 30% center;
  }

  .hero-copy h1 {
    max-width: min(100%, 15ch);
    font-size: clamp(1.72rem, 7.2vw, 1.98rem);
    line-height: 1.02;
    overflow-wrap: normal;
    hyphens: manual;
  }

  .hero-copy p {
    max-width: min(100%, 300px);
    font-size: 0.93rem;
    line-height: 1.44;
  }

  .hero-grid {
    padding-bottom: 30px;
  }

  .hero-actions {
    display: grid;
    align-items: stretch;
    width: min(100%, 330px);
    gap: 10px;
  }

  .hero-actions .button-secondary {
    color: #8f4c2f;
    border-color: rgba(143, 76, 47, 0.62);
    background: var(--ivory-soft);
    box-shadow: 0 10px 22px rgba(7, 17, 29, 0.12);
  }

  .button {
    min-height: 50px;
    justify-content: space-between;
    padding-inline: 20px;
    font-size: 0.86rem;
    width: 100%;
  }

  .button-link {
    justify-content: flex-start;
    padding-inline: 0;
  }

  .section-teaser p {
    font-size: 1.55rem;
  }

  .band-inner,
  .portfolio-strip,
  .contact-band {
    width: auto;
    padding-inline: 20px;
  }

  .portfolio-strip {
    padding-block: 54px;
  }

  .portfolio-card {
    padding: 28px;
  }

  .portfolio-page-inner {
    width: min(100% - 40px, 1120px);
  }

  .about-hero-inner,
  .about-section-inner {
    width: auto;
    padding-inline: 20px;
  }

  .about-hero-inner {
    padding-block: 58px;
  }

  .about-hero-copy h1 {
    max-width: 100%;
    font-size: 2.05rem;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .about-hero-copy p:not(.section-label) {
    font-size: 0.94rem;
  }

  .about-hero-actions {
    display: grid;
    width: 100%;
  }

  .about-portrait {
    min-height: 360px;
  }

  .about-portrait-placeholder {
    padding: 28px;
  }

  .about-section-inner {
    padding-block: 58px;
  }

  .about-section-heading h2 {
    font-size: 1.95rem;
    overflow-wrap: anywhere;
  }

  .about-panel {
    min-height: auto;
    padding: 22px;
  }

  .about-journey-item h3,
  .about-journey-item p {
    padding-left: 54px;
  }

  .about-journey-item::before {
    width: 34px;
  }

  body[data-page="about"] .about-hero-inner,
  body[data-page="about"] .about-section-inner {
    width: min(calc(100vw - 40px), 350px);
    margin-left: 20px;
    margin-right: auto;
    padding-inline: 0;
  }

  .expertises-inner {
    width: auto;
    padding-inline: 20px;
  }

  .expertises-section,
  .expertises-inner,
  .expertise-card,
  .expertise-card-content {
    max-width: 100%;
  }

  .expertise-card-content {
    padding: 24px;
  }

  .expertise-card strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .expertise-card-content > span:not(.expertise-card-kicker) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .portfolio-method span {
    min-height: 32px;
    padding-inline: 11px;
    font-size: 0.68rem;
  }

  .diagnostic-app-inner {
    width: min(100% - 40px, 1120px);
  }

  .diagnostic-hero-inner {
    width: min(100% - 40px, 1120px);
  }

  .diagnostic-option-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .diagnostic-option-grid:not(.is-wide) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnostic-likert {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .diagnostic-option-grid label,
  .diagnostic-likert label {
    min-height: 66px;
    padding: 10px;
  }

  .diagnostic-likert strong {
    font-size: 1.45rem;
  }

  .diagnostic-likert span {
    font-size: 0.6rem;
    line-height: 1.2;
  }

  .diagnostic-actions {
    display: grid;
  }

  .diagnostic-actions .button {
    width: 100%;
  }

  .diagnostic-results,
  .diagnostic-panel,
  .diagnostic-rail {
    padding: 22px;
  }

  .vigilance-card strong {
    font-size: 3.2rem;
  }

  .portfolio-case summary {
    padding: 22px;
  }

  .portfolio-case summary::after {
    top: 18px;
    right: 18px;
    width: 30px;
    height: 30px;
  }

  .portfolio-case-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-right: 42px;
  }

  .portfolio-case-logo {
    min-width: 92px;
    height: 28px;
    padding-left: 14px;
  }

  .portfolio-case summary strong {
    max-width: calc(100% - 42px);
    font-size: 1.72rem;
  }

  .portfolio-case-details {
    padding: 0 22px 22px;
  }

  .portfolio-case-details div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .services-block {
    margin-top: 76px;
    padding-top: 34px;
  }

  .services-heading {
    display: grid;
    gap: 8px;
  }

  .services-heading h3 {
    max-width: 16ch;
    font-size: 1.95rem;
  }

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

  .service-card {
    min-height: 390px;
  }

  .service-face {
    padding: 22px;
  }

  .service-face strong {
    font-size: 1.48rem;
  }

  .service-summary {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .portfolio-copy h2,
  .contact-band h2,
  .page-hero h1 {
    max-width: 100%;
    font-size: 1.78rem;
    overflow-wrap: anywhere;
  }

  .page-hero-inner,
  .page-content-inner {
    width: auto;
    padding-inline: 20px;
  }

  .page-hero-inner {
    padding-block: 58px;
  }

  body[data-page="expertises"] .page-hero-inner,
  body[data-page="expertises"] .expertises-inner {
    width: min(calc(100vw - 40px), 350px);
    margin-left: 20px;
    margin-right: auto;
    padding-inline: 0;
  }

  .page-card {
    padding: 22px;
  }

  .contact-page-inner,
  .contact-form-inner,
  .contact-routes-inner {
    width: auto;
    padding-inline: 20px;
  }

  .contact-page-inner {
    width: auto;
    padding-block: 58px;
    padding-inline: 20px;
  }

  .contact-page-copy,
  .contact-modalities {
    max-width: 100%;
    min-width: 0;
  }

  .contact-page-copy h1 {
    font-size: 2.05rem;
    overflow-wrap: anywhere;
  }

  .contact-page-copy p:not(.section-label) {
    font-size: 0.94rem;
  }

  .contact-form-panel,
  .contact-route-card {
    padding: 22px;
  }

  .contact-band-actions,
  .contact-page-actions {
    display: grid;
    width: 100%;
  }

  .site-footer-inner {
    width: auto;
    padding: 34px 20px;
  }

  .form-row,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    display: grid;
  }

  .choice-option span {
    width: 100%;
  }

  .portfolio-copy p:not(.section-label) {
    font-size: 0.94rem;
  }

  .contact-band h2,
  .contact-band p:not(.section-label) {
    max-width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .expertise-card img,
  .expertise-card-overlay,
  .expertise-card em span {
    transition: none;
  }

  .expertise-card:hover img,
  .expertise-card:hover em span {
    transform: none;
  }
}


/* MAHAUZAI brand integration */
.brand {
  flex: 0 1 300px;
  min-width: 250px;
  gap: 0;
}

.brand-logo {
  display: block;
  width: clamp(230px, 22vw, 300px);
  max-width: 100%;
  height: auto;
}

.site-footer-logo {
  display: block;
  width: min(280px, 100%);
  height: auto;
}

.about-portrait-mark {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

@media (max-width: 1060px) {
  .brand {
    flex-basis: 250px;
  }

  .brand-logo {
    width: clamp(214px, 25vw, 250px);
  }
}

@media (max-width: 560px) {
  .brand {
    flex: 0 1 200px;
    min-width: 0;
  }

  .brand-logo {
    width: min(200px, 100%);
  }

  .hero-copy .hero-hands-on {
    max-width: 310px;
    margin-top: 14px;
    padding-left: 12px;
    font-size: 0.77rem;
    line-height: 1.42;
  }
}

@media (min-width: 1600px) and (min-height: 800px) {
  .topbar {
    width: min(1520px, calc(100% - 120px));
    padding-top: clamp(32px, 2vw, 44px);
  }

  .brand {
    flex-basis: clamp(320px, 19vw, 360px);
  }

  .brand-logo {
    width: clamp(320px, 18vw, 360px);
  }

  .site-nav {
    gap: clamp(22px, 1.55vw, 36px);
    font-size: clamp(0.9rem, 0.74vw, 1.05rem);
  }

  .hero-grid {
    width: min(1680px, calc(100% - 120px));
    min-height: calc(100svh - 128px);
    padding-block: clamp(52px, 6vh, 86px);
  }

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

  .hero-copy h1 {
    max-width: 17ch;
    font-size: clamp(4.3rem, 3.25vw, 5.4rem);
  }

  .hero-copy p {
    max-width: 680px;
    font-size: clamp(1.18rem, 1vw, 1.36rem);
  }

  .hero-actions {
    gap: 18px;
    margin-top: 30px;
  }

  .hero-actions .button {
    min-height: 58px;
    padding-inline: 34px;
    font-size: 1.02rem;
  }

  .hero-proof-cards {
    width: clamp(390px, 23vw, 500px);
  }
}
