:root {
  --canvas: #f4f6fa;
  --surface: #ffffff;
  --navy: #1b2a4a;
  --navy-deep: #121c34;
  --navy-soft: #e8eef6;
  --primary: #6d28d9;
  --primary-deep: #5b21b6;
  --primary-soft: #d8b4fe;
  --secondary: #e87722;
  --secondary-deep: #c46214;
  --secondary-soft: #f0b27a;
  --muted: #5c6478;
  --line: #dce3ee;
  --max: 1180px;
  --rail-h: 2.35rem;
  --bar-h: 5.25rem;
  --header-h: calc(var(--rail-h) + var(--bar-h));
  --display: "Outfit", sans-serif;
  --body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--navy);
  background: var(--canvas);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 1.15rem;
}

.preloader-facet {
  width: min(16rem, 72vw);
  aspect-ratio: 220 / 108;
  background: url("../assets/brand/preloader.gif") center / 222.3% auto no-repeat;
}

.preloader p {
  margin: 0;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.font-display,
h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 650;
  color: var(--navy);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--bar-h);
}

.service-rail {
  display: flex;
  align-items: stretch;
  height: var(--rail-h);
  background:
    linear-gradient(90deg, var(--primary-deep) 0%, var(--primary) 42%, #7c3aed 100%);
  color: #f4f1fa;
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--secondary) 55%, transparent);
}

.service-rail-kicker {
  margin: 0;
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.35rem 0 1.25rem;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-soft);
  background: var(--primary-deep);
  z-index: 3;
  white-space: nowrap;
}

.service-rail-kicker::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1.6rem;
  bottom: 0;
  width: 1.6rem;
  background: linear-gradient(90deg, var(--primary-deep), transparent);
  pointer-events: none;
}

.service-rail-kicker::before {
  content: "";
  width: 1.15rem;
  height: 2px;
  background: var(--secondary);
}

.service-rail-viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  z-index: 1;
}

.service-rail-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2.4rem;
  background: linear-gradient(90deg, transparent, #7c3aed);
  pointer-events: none;
  z-index: 2;
}

.service-rail-track {
  display: flex;
  width: max-content;
  animation: service-rail-slide 36s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.service-rail[data-rail-ready] .service-rail-track {
  animation: none;
}

.service-rail-seq {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.service-rail-seq a:first-child::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 1.15rem 0 0.35rem;
  background: var(--secondary);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.service-rail-seq a {
  display: inline-flex;
  align-items: center;
  color: rgba(244, 241, 250, 0.88);
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0 0.15rem;
  min-height: var(--rail-h);
}

.service-rail-seq a + a::before,
.service-rail-seq[aria-hidden="true"] a:first-child::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 1.15rem;
  background: var(--secondary);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.service-rail-seq a:hover,
.service-rail-seq a:focus-visible {
  color: #fff;
}

@keyframes service-rail-slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: #fff;
  padding: 0.2rem 0.35rem 0.2rem 0.15rem;
}

.logo-link img {
  height: 3.55rem;
  width: auto;
  max-width: 17rem;
  background: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--primary);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--navy);
  color: #fff;
  border: 0;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.9rem;
  font-family: var(--display);
  font-weight: 650;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--secondary);
}

.btn-ghost:hover {
  background: var(--secondary);
  border-color: var(--secondary-deep);
  color: #1b1208;
}

.header-cta {
  flex-shrink: 0;
}

.nav-callback {
  display: none;
}

.prose .btn {
  margin: 0.45rem 0.5rem 0 0;
}

/* Facet frame — signature */
.facet-frame {
  position: relative;
  isolation: isolate;
  padding-left: clamp(4.75rem, 12vw, 8.5rem);
}

.facet-frame::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(4.75rem, 12vw, 8.5rem);
  background: url("../assets/brand/facet.svg") left center / 100% 100% no-repeat;
  z-index: 2;
  pointer-events: none;
}

.facet-inner {
  padding-left: 0;
}

/* Hero slider */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: #f4f1fa;
  overflow: hidden;
  min-height: min(40.5rem, calc(100svh - var(--header-h)));
}

.hero-slides {
  position: relative;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.85s ease, visibility 0.85s ease;
}

.hero-slide.is-active {
  position: relative;
  min-height: inherit;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% 42%;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 7s linear;
}

.hero-slide.is-active .hero-photo {
  transform: scale(1.12);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 18, 36, 0.12) 0%, rgba(12, 18, 36, 0.4) 100%),
    linear-gradient(105deg, rgba(12, 18, 36, 0.78) 0%, rgba(16, 24, 42, 0.52) 40%, rgba(12, 18, 36, 0.2) 70%, rgba(12, 18, 36, 0.1) 100%);
}

.hero-slide .wrap {
  position: relative;
  z-index: 3;
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.hero-copy {
  max-width: min(40rem, 100%);
  padding: clamp(4.25rem, 10vw, 7.25rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.hero .eyebrow {
  color: var(--primary-soft);
}

.hero-title {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 14ch;
  margin: 0.35rem 0 1rem;
  overflow-wrap: break-word;
  text-shadow: 0 8px 28px rgba(8, 12, 24, 0.35);
}

.hero .lede {
  color: rgba(244, 241, 250, 0.9);
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero .btn-ghost {
  color: #fff;
  border-color: var(--secondary);
}

.hero .btn-ghost:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #1b1208;
}

.hero-arrows {
  position: absolute;
  z-index: 4;
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: 1.35rem;
  display: flex;
  gap: 0.55rem;
}

.hero-arrows button {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(16, 24, 42, 0.42);
  color: #fff;
  cursor: pointer;
}

.hero-arrows button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(16, 24, 42, 0.7);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.25rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  margin: 0.4rem 0 0.75rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.about-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3.75rem);
  align-items: center;
}

.about-band figure {
  margin: 0;
}

.about-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
}

.about-band-copy {
  max-width: none;
}

.about-band-copy h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  margin: 0.35rem 0 0.9rem;
}

.about-band-copy p:last-child {
  margin-bottom: 0;
}

.about-band--flip .about-band-copy {
  order: -1;
}

.pillars {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillar {
  background: var(--surface);
  padding: 1.75rem 1.6rem;
}

.pillar:first-child {
  grid-row: span 2;
  background: var(--navy);
  color: #fff;
}

.pillar:first-child h3,
.pillar:first-child p {
  color: #fff;
}

.pillar h3 {
  font-size: 1.45rem;
  margin: 0 0 0.6rem;
}

.pillar p {
  margin: 0;
  color: var(--muted);
}

.commitments {
  background: var(--canvas);
  color: var(--navy);
  padding: clamp(3.5rem, 8vw, 6.25rem) 0;
}

.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.commit {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  transition: border-color 180ms ease, transform 180ms ease;
}

.commit:hover {
  color: inherit;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.commit img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.commit .pad {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.25rem 1.45rem;
}

.commit .eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.68rem;
}

.commit h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin: 0.45rem 0 0.7rem;
}

.commit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.highlights li {
  display: flex;
  gap: 0.65rem;
  font-weight: 650;
  font-family: var(--display);
  font-size: 0.95rem;
}

.highlights li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  background: var(--primary);
  flex-shrink: 0;
}

.partner-grid,
.client-grid,
.service-grid,
.card-grid {
  display: grid;
  gap: 0.75rem;
}

.partner-grid {
  grid-template-columns: repeat(4, 1fr);
}

.chip {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 6.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1rem;
  text-align: center;
  color: var(--navy);
}

.chip img {
  height: 2.85rem;
  width: auto;
  max-width: 11.5rem;
  object-fit: contain;
  background: transparent;
}

.chip figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.clients {
  background: var(--surface);
}

.client-wall {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.client-kicker {
  margin: 0.55rem 0 0;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.client-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

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

.client-grid .chip {
  min-height: 8.25rem;
  gap: 0.55rem;
  background: var(--canvas);
  border: 1px solid var(--line);
  padding: 1.2rem 0.9rem 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.client-grid .chip:hover,
.client-grid .chip:focus-within {
  border-color: color-mix(in srgb, var(--primary) 50%, var(--line));
  box-shadow: 0 12px 28px rgba(27, 42, 74, 0.07);
}

.client-grid .chip img {
  height: 3.5rem;
  max-width: 11.5rem;
  transition: transform 220ms ease;
}

.client-grid .chip:hover img,
.client-grid .chip:focus-within img {
  transform: translateY(-1px);
}

.client-grid .chip img[src*="mobily"] {
  height: 2.85rem;
  max-width: 11.5rem;
}

.client-grid .chip figcaption {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  border: 0;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  transition: border-color 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: var(--primary);
  color: inherit;
  transform: translateY(-2px);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card .pad {
  padding: 1.15rem 1.2rem 1.35rem;
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card.featured {
  grid-row: span 2;
}

.service-card.featured img {
  aspect-ratio: 4 / 5;
  min-height: 16rem;
}

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.quote {
  background: var(--surface);
  border-left: 3px solid var(--secondary);
  padding: 1.35rem 1.3rem;
}

.quote p {
  margin: 0 0 1rem;
}

.quote cite {
  font-style: normal;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #b8c0d0;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, #fff 12%, transparent);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: #e4e9f2;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary-soft);
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1.5rem;
  padding-top: 1.1rem;
  font-size: 0.82rem;
}

.legal p {
  margin: 0;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.form[hidden] {
  display: none;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.88rem;
}

.form input,
.form select,
.form textarea {
  font: 500 1rem/1.4 var(--body);
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--navy);
  min-height: 44px;
  width: 100%;
}

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

.form .error {
  color: #b42318;
  font-weight: 600;
  font-size: 0.82rem;
  font-family: var(--body);
}

.form-success {
  display: none;
  background: var(--navy-soft);
  border: 1px solid var(--primary);
  padding: 1.25rem;
}

.form-success[data-visible="true"] {
  display: block;
}

.form-alert {
  background: #fde8e6;
  color: #8a1c13;
  border: 1px solid #f0b4ad;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.details-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.details-list dt {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.details-list dd {
  margin: 0.2rem 0 0;
  font-weight: 650;
}

.map-wrap iframe {
  width: 100%;
  min-height: 16rem;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-family: var(--display);
  font-weight: 650;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}

/* Article */
.prose {
  max-width: 68ch;
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.7rem;
}

.prose h3 {
  font-size: 1.12rem;
  margin: 1.45rem 0 0.45rem;
}

.prose ul {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.prose li {
  margin: 0 0 0.4rem;
}

.prose .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.prose .actions .btn {
  text-decoration: none;
}

.cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  margin: 1.25rem 0 2rem;
}

.layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.layout-with-sidebar .prose {
  max-width: none;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-list .service-card img {
  aspect-ratio: 16 / 7;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: grid;
  gap: 1rem;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem 1.2rem;
}

.side-card h2 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.side-nav {
  display: grid;
}

.side-nav a {
  display: block;
  padding: 0.55rem 0;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}

.side-nav a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.side-nav a:hover {
  color: var(--primary);
}

.side-nav a[aria-current="page"] {
  color: var(--primary);
}

.side-note {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.side-note:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.side-note .meta {
  margin: 0 0 0.2rem;
  color: var(--primary);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
}

.side-note strong {
  display: block;
  color: var(--navy);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
}

.side-note:hover strong {
  color: var(--primary);
}

.side-cta {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.side-cta h2 {
  color: var(--primary-soft);
}

.side-cta p {
  margin: 0 0 1rem;
  color: #c5d0e0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.side-cta .btn {
  width: 100%;
  text-decoration: none;
}

.side-cta a.plain {
  color: #e4e9f2;
  font-size: 0.88rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value {
  background: var(--surface);
  padding: 1.2rem 1.15rem;
  border-top: 3px solid var(--primary);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f4f1fa;
  background: var(--navy-deep);
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(2.75rem, 6vw, 4.25rem);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(12, 18, 36, 0.92) 0%, rgba(18, 28, 52, 0.82) 46%, rgba(16, 24, 42, 0.58) 100%),
    url("../assets/images/hero-riyadh.jpg") center / cover no-repeat;
}

.page-hero .wrap,
.page-hero .facet-inner {
  position: relative;
  z-index: 3;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin: 0.35rem 0 0.8rem;
  max-width: 18ch;
  color: #fff;
  text-shadow: 0 8px 28px rgba(8, 12, 24, 0.35);
}

.page-hero .lede {
  color: rgba(244, 241, 250, 0.88);
}

.page-hero .eyebrow {
  color: var(--primary-soft);
}

@media (max-width: 960px) {
  .split,
  .about-band,
  .contact-grid,
  .footer-grid,
  .pillars,
  .quotes,
  .blog-grid,
  .service-grid,
  .layout-with-sidebar {
    grid-template-columns: 1fr;
  }

  .about-band--flip .about-band-copy {
    order: 0;
  }

  .sidebar {
    position: static;
  }

  .pillar:first-child {
    grid-row: auto;
  }

  .service-card.featured img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .partner-grid,
  .client-grid,
  .client-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-grid--three .chip:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.425rem);
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .logo-link img {
    height: 2.45rem;
    max-width: 11.5rem;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-callback {
    display: flex;
    margin-top: 0.4rem;
    background: var(--primary);
    color: #fff !important;
    justify-content: center;
    border-bottom: 0 !important;
  }

  .facet-frame {
    padding-left: 2.6rem;
  }

  .facet-frame::before {
    width: 2.6rem;
  }

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

  .values,
  .highlights {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 4.5rem;
  }

  .service-rail-kicker {
    padding-left: 1rem;
    padding-right: 0.75rem;
  }
}

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

  .btn,
  .service-card,
  .commit,
  .hero-slide,
  .hero-photo,
  .client-grid .chip,
  .client-grid .chip img {
    transition: none;
  }

  .hero-photo,
  .hero-slide.is-active .hero-photo {
    transform: none;
  }

}
