/* Golden Oryx — flat, premium, no shadows/glows. Cairo only. Gold fixed across themes. */

:root {
  --gold: #c4a574;
  --gold-dim: color-mix(in srgb, var(--gold) 55%, transparent);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5rem;
  --radius-pad: 1.75rem;
  /* Sticky header total height estimate for viewport math */
  --header-offset: 5.5rem;
  --page-gutter: clamp(1.25rem, 4vw, 2.75rem);
}

html[data-theme="dark"] {
  --bg-base: #121214;
  --bg-mid: #18181c;
  --bg-edge: #0e0e10;
  --surface: #161618;
  --surface-2: #1a1a1d;
  --text: #eceae6;
  --text-muted: #8e8c88;
  --line: color-mix(in srgb, var(--gold) 28%, #2a2a2c);
  --header-bg: color-mix(in srgb, var(--bg-base) 92%, #000 8%);
}

html[data-theme="light"] {
  --bg-base: #e8e6e1;
  --bg-mid: #eceae6;
  --bg-edge: #ddd9d2;
  --surface: #f0eeea;
  --surface-2: #e6e3dd;
  --text: #1a1917;
  --text-muted: #5c5954;
  --line: color-mix(in srgb, var(--gold) 35%, #b8b4ab);
  --header-bg: color-mix(in srgb, var(--bg-base) 94%, #fff 6%);
}

/* Hero stays on dark palette even when the rest of the page is light */
html[data-theme="light"] #hero-section {
  --bg-base: #121214;
  --bg-mid: #18181c;
  --bg-edge: #0e0e10;
  --surface: #161618;
  --surface-2: #1a1a1d;
  --text: #eceae6;
  --text-muted: #8e8c88;
  --line: color-mix(in srgb, var(--gold) 28%, #2a2a2c);
  --header-bg: color-mix(in srgb, var(--bg-base) 92%, #000 8%);
  color: var(--text);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Cairo", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%, var(--bg-mid) 0%, transparent 52%),
    radial-gradient(ellipse 70% 50% at 100% 30%, var(--bg-edge) 0%, transparent 50%),
    radial-gradient(ellipse 60% 45% at 0% 80%, var(--bg-edge) 0%, transparent 48%);
  padding-bottom: 1.5rem;
}

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

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

/* Pointer hand on interactive elements; !important + descendants so nested text/icons match the link (cursor is not always reliable through inheritance alone). */
a[href],
a[href] *,
area[href],
area[href] * {
  cursor: pointer !important;
}

a[aria-disabled="true"],
a[aria-disabled="true"] * {
  cursor: not-allowed !important;
}

[role="button"]:not([aria-disabled="true"]),
[role="button"]:not([aria-disabled="true"]) * {
  cursor: pointer !important;
}

button:not(:disabled),
button:not(:disabled) *,
input[type="submit"]:not(:disabled),
input[type="button"]:not(:disabled),
input[type="reset"]:not(:disabled),
input[type="file"]:not(:disabled),
input[type="checkbox"]:not(:disabled),
input[type="radio"]:not(:disabled),
label[for],
select:not(:disabled),
summary {
  cursor: pointer !important;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed !important;
}

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

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

::selection {
  background-color: var(--gold);
  color: #0f0e0c;
}

::-moz-selection {
  background-color: var(--gold);
  color: #0f0e0c;
}

#hero-title::selection,
#hero-title::-moz-selection {
  background-color: var(--gold);
  color: #0f0e0c;
  -webkit-text-fill-color: #0f0e0c;
}

.container {
  width: min(1120px, calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
  position: relative;
  box-sizing: border-box;
}

/* Hero: edge-to-edge content band with the same side gutters as the header */
.hero .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--page-gutter);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: transparent;
  box-sizing: border-box;
  transform: translateY(0);
  transition:
    transform 0.65s cubic-bezier(0.33, 1, 0.68, 1),
    background-color 0.45s ease,
    border-color 0.45s ease,
    color 0.45s ease;
}

.site-header.site-header--scrolled {
  border-bottom-color: var(--line);
  background: var(--header-bg);
}

.site-header.site-header--hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition-duration: 0.01ms;
  }

  html[data-theme="light"] .site-header .brand-name,
  html[data-theme="light"] .site-header .brand-tag,
  html[data-theme="light"] .site-header .main-nav a,
  html[data-theme="light"] .site-header .icon-btn {
    transition-duration: 0.01ms;
  }
}

/* Mobile: solid bar when flyout is open so links read on any hero */
@media (max-width: 900px) {
  .site-header:has(.main-nav.open) {
    border-bottom-color: var(--line);
    background: var(--header-bg);
  }
}

/* Light theme: over hero at scroll top the bar is transparent — match dark nav for contrast */
html[data-theme="light"]
  .site-header:not(.site-header--scrolled):not(:has(.main-nav.open)) {
  --text: #eceae6;
  --text-muted: #8e8c88;
  --line: color-mix(in srgb, var(--gold) 28%, #2a2a2c);
  color: var(--text);
}

html[data-theme="light"]
  .site-header:not(.site-header--scrolled):not(:has(.main-nav.open))
  .brand-logo--dark {
  display: block;
}

html[data-theme="light"]
  .site-header:not(.site-header--scrolled):not(:has(.main-nav.open))
  .brand-logo--light {
  display: none;
}

html[data-theme="light"] .site-header .brand-name,
html[data-theme="light"] .site-header .brand-tag,
html[data-theme="light"] .site-header .main-nav a,
html[data-theme="light"] .site-header .icon-btn {
  transition: color 0.45s ease, border-color 0.45s ease;
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1.125rem var(--page-gutter);
  min-height: 4rem;
  box-sizing: border-box;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 2.35rem;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

html[data-theme="dark"] .brand-logo--light,
html[data-theme="dark"] .footer-logo--light {
  display: none;
}

html[data-theme="light"] .brand-logo--dark,
html[data-theme="light"] .footer-logo--dark {
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.35rem);
}

.main-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold);
}

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

.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.icon-btn.theme-toggle {
  border: none;
}

.icon-btn.theme-toggle:hover,
.icon-btn.theme-toggle:focus-visible {
  border: none;
  color: var(--gold);
}

/* Buttons — no shadow */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: #141210;
  border-color: var(--gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-block {
  width: 100%;
}

.btn-compact {
  padding: 0.5rem 0.9rem;
  font-size: 0.6875rem;
}

/* Sections */

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* Later bands (and footer) paint above #why so its viewport-fixed copy slides underneath while scrolling */
main#top > section:not(#why) {
  z-index: 3;
}

/* Hero: pulled up under the sticky bar so bg fills behind the nav; padding keeps copy below it */

.section.hero {
  padding-bottom: var(--space-lg);
}

#hero-section.section.hero {
  margin-top: calc(-1 * var(--header-offset));
  padding-top: calc(var(--header-offset) + var(--space-md));
}

.hero {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.hero--frames-loading .hero-bg {
  opacity: 0;
  visibility: hidden;
}

.hero--frames-ready .hero-bg {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s;
}

.hero-load {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  background-image: radial-gradient(
    ellipse 90% 55% at 50% -5%,
    var(--bg-mid) 0%,
    transparent 52%
  );
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero--frames-ready .hero-load {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-load-inner {
  width: min(22rem, 88%);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero-load-eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-load-status {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.hero-load[data-loading-state="complete"] .hero-load-status {
  color: var(--gold);
}

.hero-load-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: color-mix(in srgb, var(--line) 55%, transparent);
  overflow: hidden;
}

.hero-load-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--gold);
  transition: width 0.12s ease-out;
}

.hero-load-percent {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Base frame only — color grade here (fringe is a sibling with its own filter stack). */
.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  -webkit-filter: saturate(0.95) contrast(1.22) brightness(1.111111);
  filter: saturate(0.95) contrast(1.22) brightness(1.111111);
}

/* RGB fringe sits above .hero-bg-overlay so vignette darkness does not mute it. */
.hero-bg-frame--fringe {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
  -webkit-filter: url(#hero-edge-rgb) url(#hero-fringe-degrain) saturate(0.95) contrast(1.22)
    brightness(1.111111);
  filter: url(#hero-edge-rgb) url(#hero-fringe-degrain) saturate(0.95) contrast(1.22) brightness(1.111111);
  /*
   * Optical axis at 55% (55/45 L/R) — not 50/50. Clear band a bit tighter (closer to that axis).
   */
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 35%,
    rgba(0, 0, 0, 0.5) 45%,
    transparent calc(55% - 0.14vw),
    transparent calc(55% + 0.14vw),
    rgba(0, 0, 0, 0.5) 65%,
    #000 75%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 35%,
    rgba(0, 0, 0, 0.5) 45%,
    transparent calc(55% - 0.14vw),
    transparent calc(55% + 0.14vw),
    rgba(0, 0, 0, 0.5) 65%,
    #000 75%,
    #000 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@supports not (filter: url(#hero-edge-rgb)) {
  .hero-bg-frame--fringe {
    -webkit-filter: blur(5px) blur(0.55px) saturate(0.95) contrast(1.22) brightness(1.111111);
    filter: blur(5px) blur(0.55px) saturate(0.95) contrast(1.22) brightness(1.111111);
  }
}

.hero-bg-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Darkness: focal point ~55% / 45% (matches fringe axis); edges pulled slightly inward. */
  background:
    radial-gradient(
      ellipse 90% 108% at 55% 50%,
      color-mix(in srgb, var(--bg-base) 3%, transparent) 0%,
      color-mix(in srgb, var(--bg-base) 10%, transparent) 42%,
      color-mix(in srgb, var(--bg-base) 22%, transparent) 62%,
      color-mix(in srgb, var(--bg-base) 38%, transparent) 80%,
      color-mix(in srgb, var(--bg-base) 50%, transparent) 100%
    ),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--bg-base) 92%, transparent) 0%,
      color-mix(in srgb, var(--bg-base) 76%, transparent) 14%,
      color-mix(in srgb, var(--bg-base) 52%, transparent) 28%,
      color-mix(in srgb, var(--bg-base) 28%, transparent) 42%,
      color-mix(in srgb, var(--bg-base) 8%, transparent) 47%,
      color-mix(in srgb, var(--bg-base) 3%, transparent) 52%,
      color-mix(in srgb, var(--bg-base) 8%, transparent) 57%,
      color-mix(in srgb, var(--bg-base) 28%, transparent) 62%,
      color-mix(in srgb, var(--bg-base) 52%, transparent) 74%,
      color-mix(in srgb, var(--bg-base) 76%, transparent) 86%,
      color-mix(in srgb, var(--bg-base) 92%, transparent) 100%
    );
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-frame--fringe {
    display: none;
  }
}

.hero-layout {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, auto);
  gap: clamp(var(--space-lg), 4vw, var(--space-xl));
  align-items: center;
  align-content: center;
  min-height: 0;
  position: relative;
  z-index: 2;
}

/* After frame load: copy rises + de-blurs (JS adds .hero--content-visible) */
.hero--frames-loading .hero-main,
.hero--frames-loading .hero-side-cluster,
.hero--frames-ready:not(.hero--content-visible) .hero-main,
.hero--frames-ready:not(.hero--content-visible) .hero-side-cluster {
  opacity: 0;
  transform: translate3d(0, 2.25rem, 0);
  filter: blur(12px);
}

.hero--frames-ready.hero--content-visible .hero-main,
.hero--frames-ready.hero--content-visible .hero-side-cluster {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  /* `filter: blur(0)` still creates a filter layer and breaks ::selection in WebKit */
  filter: none;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s ease-out;
}

.hero--frames-ready.hero--content-visible .hero-side-cluster {
  transition-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  .hero--frames-loading .hero-main,
  .hero--frames-loading .hero-side-cluster,
  .hero--frames-ready:not(.hero--content-visible) .hero-main,
  .hero--frames-ready:not(.hero--content-visible) .hero-side-cluster {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero--frames-ready.hero--content-visible .hero-main,
  .hero--frames-ready.hero--content-visible .hero-side-cluster {
    transition: none;
  }
}

.hero-main {
  min-width: 0;
}

/* Tab list above tab panels; whole block sits on the right of the hero */
.hero-side-cluster {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: start;
  gap: var(--space-md);
  justify-self: end;
  width: min(24rem, 100%);
  margin-left: clamp(1.25rem, 5vw, 4rem);
  margin-top: clamp(0.35rem, 2.5vh, 1.25rem);
  min-width: 0;
}

/* Rail stays visually anchored: cluster is top-aligned in the grid, not vertically centered */
#hero-section .hero-aside {
  color: var(--text);
}

#hero-section #hero-service-rail .rail-link {
  color: var(--text);
}

#hero-section #hero-service-rail .rail-link.is-active {
  color: var(--gold);
}

#hero-section #hero-service-rail .rail-link:hover:not(.is-active) {
  color: var(--gold);
}

.eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 26ch;
}

/* Crisp headline (hero copy uses filter:none for selection; no filter sharpening on the text box) */
#hero-title {
  text-rendering: geometricPrecision;
}

.lede {
  margin: var(--space-md) 0 0;
  max-width: 40ch;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.service-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--line);
  padding: 2px 0 2px var(--space-sm);
  width: 100%;
  flex-shrink: 0;
}

.rail-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 0.35rem 0.62rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: none;
  line-height: 1.35;
  margin: 0;
  font-family: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.rail-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.rail-link:last-child {
  padding-bottom: 0;
}

.rail-dash {
  width: 0.65rem;
  height: 1px;
  background: transparent;
  flex-shrink: 0;
  align-self: center;
}

.rail-link.is-active {
  color: var(--gold);
}

.rail-link.is-active .rail-dash {
  background: var(--gold);
}

.rail-link:hover:not(.is-active) {
  color: var(--text);
}

.hero-aside {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-top: 0.15rem;
  border-left: 1px solid transparent;
  min-width: 0;
}

.hero-aside-panel p {
  margin: 0 0 var(--space-sm);
  max-width: 40ch;
}

.meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  position: relative;
  padding-left: 0.85rem;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}

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

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-xs) var(--space-md);
  flex-shrink: 0;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.hero-foot-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-foot-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Blocks */

/* Scroll-driven reveal: same language as hero (lift + blur → crisp), staggered rows */
.reveal-on-scroll:not(.is-revealed) > .container > * {
  opacity: 0;
  transform: translate3d(0, 2rem, 0);
  filter: blur(11px);
  pointer-events: none;
}

.reveal-on-scroll.is-revealed > .container > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  pointer-events: auto;
  transition:
    opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.92s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.82s ease-out;
}

.reveal-on-scroll.is-revealed > .container > *:nth-child(1) {
  transition-delay: 0s;
}
.reveal-on-scroll.is-revealed > .container > *:nth-child(2) {
  transition-delay: 0.09s;
}
.reveal-on-scroll.is-revealed > .container > *:nth-child(3) {
  transition-delay: 0.18s;
}
.reveal-on-scroll.is-revealed > .container > *:nth-child(4) {
  transition-delay: 0.27s;
}
.reveal-on-scroll.is-revealed > .container > *:nth-child(5) {
  transition-delay: 0.36s;
}
.reveal-on-scroll.is-revealed > .container > *:nth-child(6) {
  transition-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll > .container > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    pointer-events: auto !important;
  }

  .services-showcase.reveal-on-scroll .services-marquee,
  .services-showcase.reveal-on-scroll .services-showcase__foot {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    pointer-events: auto !important;
  }
}

.block {
  border-top: 1px solid var(--line);
}

.block-head {
  margin-bottom: var(--space-lg);
  max-width: 36rem;
  padding-right: 5rem;
}

@media (min-width: 900px) {
  .block-head {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-intro {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 44ch;
  line-height: 1.55;
}

/* Services — full-height showcase marquee */

#services.services-showcase.section {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg-base);
  position: relative;
  isolation: isolate;
}

.services-showcase__intro {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-md);
  flex-shrink: 0;
}

.services-showcase__intro .block-head {
  margin-bottom: 0;
  max-width: 42rem;
}

.services-marquee {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(58vh, 720px);
  width: 100%;
  position: relative;
}

.services-marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--bg-base) 0%,
    transparent 10%,
    transparent 90%,
    var(--bg-base) 100%
  );
}

.services-marquee__viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  /* Pointer (not grab): grab + auto-scroll + edge mask made hit-testing alternate between viewport vs links → cursor flicker */
  cursor: pointer !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x pinch-zoom;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.services-marquee__viewport::-webkit-scrollbar {
  display: none;
}

/* Cards + track: consistent hand; grabbing only while dragging */
.services-marquee__viewport .services-marquee__track,
.services-marquee__viewport .services-marquee__group,
.services-marquee__viewport .services-slide {
  cursor: pointer !important;
}

.services-marquee__viewport .services-slide__card,
.services-marquee__viewport .services-slide__card * {
  cursor: pointer !important;
}

.services-marquee__viewport.services-marquee__viewport--dragging,
.services-marquee__viewport.services-marquee__viewport--dragging .services-marquee__track,
.services-marquee__viewport.services-marquee__viewport--dragging .services-marquee__group,
.services-marquee__viewport.services-marquee__viewport--dragging .services-slide {
  cursor: grabbing !important;
}

.services-marquee__viewport.services-marquee__viewport--dragging .services-slide__card,
.services-marquee__viewport.services-marquee__viewport--dragging .services-slide__card * {
  cursor: grabbing !important;
}

.services-marquee__viewport.services-marquee__viewport--dragging {
  scroll-snap-type: none;
  user-select: none;
  touch-action: none;
}

.services-marquee__track {
  display: flex;
  width: max-content;
  min-width: 100%;
}

.services-marquee__group {
  display: flex;
  flex-shrink: 0;
}

.services-slide {
  flex: 0 0 auto;
  width: clamp(210px, 22vw, 340px);
  border-right: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: var(--surface);
}

.services-slide__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.services-slide__card:hover .services-slide__cta,
.services-slide__card:focus-visible .services-slide__cta {
  color: var(--gold);
}

.services-slide__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: min(52vh, 560px);
  background: var(--surface-2);
}

.services-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 55%,
    color-mix(in srgb, var(--bg-base) 45%, transparent) 100%
  );
  opacity: 0.85;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-slide__card:hover .services-slide__media::after,
.services-slide__card:focus-visible .services-slide__media::after {
  opacity: 0.55;
}

.services-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.services-slide__card:hover .services-slide__media img,
.services-slide__card:focus-visible .services-slide__media img {
  transform: scale(1.07);
}

.services-slide__meta {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem 1.25rem;
  gap: 0.45rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 22%, var(--line));
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 88%, var(--bg-base)),
    var(--surface)
  );
}

.services-slide__title {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--text);
}

.services-slide__desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  flex: 1 1 auto;
}

.services-slide__cta {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.services-slide__card:hover .services-slide__cta,
.services-slide__card:focus-visible .services-slide__cta {
  transform: translateX(3px);
}

.services-showcase__foot {
  display: flex;
  justify-content: center;
  padding: var(--space-lg) var(--page-gutter) var(--space-xl);
  flex-shrink: 0;
}

.services-showcase__foot-btn {
  min-width: 12rem;
}

/* Reveal: marquee + foot (section has multiple top-level regions) */
.services-showcase.reveal-on-scroll:not(.is-revealed) .services-marquee,
.services-showcase.reveal-on-scroll:not(.is-revealed) .services-showcase__foot {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  filter: blur(10px);
  pointer-events: none;
}

.services-showcase.reveal-on-scroll.is-revealed .services-marquee,
.services-showcase.reveal-on-scroll.is-revealed .services-showcase__foot {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  pointer-events: auto;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    filter 0.85s ease-out 0.12s;
}

.services-showcase.reveal-on-scroll.is-revealed .services-showcase__foot {
  transition-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  .services-marquee__viewport {
    scroll-snap-type: x mandatory;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .services-slide {
    scroll-snap-align: start;
  }

  .services-slide__media img,
  .services-slide__card:hover .services-slide__media img,
  .services-slide__card:focus-visible .services-slide__media img {
    transform: none;
  }
}

/* Mission (Our Mission) — full viewport height like #services; image flush to section edges */

.mission-section {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  /* Opaque band so #why’s fixed copy cannot show through the text column while scrolling */
  background-color: var(--bg-base);
  isolation: isolate;
}

#mission.mission-section .container.mission-section__shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mission-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  align-content: stretch;
  flex: 1 1 auto;
  min-height: 100vh;
  min-height: 100dvh;
  gap: 0;
}

.mission-section__media {
  position: relative;
  align-self: stretch;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--surface-2);
}

.mission-section__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Same horizontal alignment as .container .block-head (services intro, etc.) */
.mission-section__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: var(--space-xl) clamp(var(--space-lg), 4vw, var(--space-xl)) var(--space-xl)
    max(var(--page-gutter), calc((100vw - 1120px) / 2));
  max-width: 42rem;
  background-color: var(--bg-base);
}

.mission-section__body .section-title {
  margin-bottom: var(--space-md);
}

.mission-section__text {
  margin: 0 0 var(--space-lg);
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  line-height: 1.75;
  color: var(--text-muted);
}

.mission-section__cta {
  margin-top: 0.25rem;
}

/* Why — full-height band + photographic background */

#why.why-section {
  position: relative;
  isolation: isolate;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Viewport-centered copy; stays fixed while #why BG scrolls; stacks under sections above (z>1) via main rule */
#why.why-section > .container {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1120px, calc(100% - 2 * var(--page-gutter)));
  max-height: min(90dvh, calc(100dvh - 2rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
  margin-inline: 0;
}

#why.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("./ASSETS/Posters/WEBP/IMG_5627.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: var(--space-md);
}

.why-item {
  background: color-mix(in srgb, var(--surface) 58%, transparent);
  padding: var(--radius-pad);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
}

.why-item:nth-child(2n) {
  border-right: none;
}

.why-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.why-item h3 {
  margin: 0 0 var(--space-xs);
  font-family: "Cairo", sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
}

.why-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}

/* Process */

#process.process-section {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

#process.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 15% 25%, color-mix(in srgb, var(--gold) 14%, transparent) 0%, transparent 58%),
    radial-gradient(ellipse 55% 35% at 92% 75%, color-mix(in srgb, var(--gold) 10%, transparent) 0%, transparent 52%),
    linear-gradient(185deg, var(--bg-base) 0%, color-mix(in srgb, var(--surface) 35%, var(--bg-base)) 100%);
}

#process.process-section > .container {
  position: relative;
  z-index: 1;
}

.process-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 380px);
  gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
  align-items: stretch;
}

.process-journey {
  position: relative;
  padding: var(--space-lg) var(--radius-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-sm);
  border: 1px solid color-mix(in srgb, var(--gold) 38%, var(--line));
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--surface) 92%, transparent) 0%,
    color-mix(in srgb, var(--bg-base) 55%, var(--surface)) 100%
  );
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--gold) 15%, transparent),
    0 28px 56px color-mix(in srgb, #000 20%, transparent);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.process-journey:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--gold) 22%, transparent),
    0 36px 72px color-mix(in srgb, #000 26%, transparent);
}

.process-journey__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    color-mix(in srgb, var(--gold) 40%, transparent),
    transparent
  );
  opacity: 0.9;
  pointer-events: none;
}

.process-journey__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.process-journey__title {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--text);
}

.process-journey__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.process-journey__btn {
  align-self: flex-start;
  margin-top: var(--space-xs);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: var(--space-md);
  padding: var(--space-md) var(--radius-pad);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  align-items: baseline;
}

.process-list li:last-child {
  border-bottom: none;
}

/* Horizontal timeline: oversized indices, connector, dots — matches premium “process rail” pattern */
#process.process-section .process-list--featured {
  counter-reset: process-step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.75vw, 1.25rem);
  align-items: start;
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  position: relative;
  padding: 0;
  margin: 0;
  --process-num-size: clamp(2.75rem, 7vw, 4.5rem);
  --process-line-y: calc(var(--process-num-size) + 1.125rem);
}

#process.process-section .process-list--featured::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--process-line-y);
  height: 1px;
  background: color-mix(in srgb, var(--line) 88%, transparent);
  pointer-events: none;
  z-index: 0;
}

#process.process-section .process-list--featured li {
  counter-increment: process-step;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  border: none;
  background: transparent;
  padding: 0 clamp(0.15rem, 0.8vw, 0.5rem);
  position: relative;
  z-index: 1;
  transition: none;
}

#process.process-section .process-list--featured li::before {
  content: counter(process-step, decimal-leading-zero);
  font-family: "Cairo", sans-serif;
  font-size: var(--process-num-size);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: color-mix(in srgb, var(--text) 20%, transparent);
  margin-bottom: 1.125rem;
}

#process.process-section .process-list--featured li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--process-line-y);
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 78%, #fff 22%);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--bg-base) 75%, transparent),
    0 0 16px color-mix(in srgb, var(--gold) 35%, transparent);
  z-index: 2;
  pointer-events: none;
}

#process.process-section .process-list--featured .process-step {
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

#process.process-section .process-list--featured .process-desc {
  max-width: 15rem;
  margin-inline: auto;
}

#process.process-section .process-section__head {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
  padding-right: 0;
}

.process-step {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.process-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .process-journey {
    transition: none;
  }

  .process-journey:hover {
    transform: none;
  }

  #process.process-section .process-list--featured li {
    transition: none;
  }
}

@media (min-width: 901px) {
  #process.process-section .process-list--featured li:hover::before {
    color: color-mix(in srgb, var(--text) 32%, transparent);
  }
}

/* Testimonial — grid of review cards (stars + quote + author) */

#testimonial.testimonial-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-base);
}

#testimonial.testimonial-section > .container {
  position: relative;
  z-index: 1;
}

#testimonial.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 80% 50% at 50% -10%,
    color-mix(in srgb, var(--gold) 9%, transparent) 0%,
    transparent 55%
  );
}

.testimonial-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-lg), 4vw, var(--space-xl));
}

.testimonial-badge {
  display: inline-block;
  margin: 0 0 var(--space-sm);
  padding: 0.35rem 0.9rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.testimonial-hero__title {
  margin: 0 0 var(--space-sm);
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--text);
}

.testimonial-hero__lede {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.testimonial-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--radius-pad);
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: var(--radius-pad);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 18px 40px color-mix(in srgb, #000 12%, transparent);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 45%, var(--line));
  box-shadow:
    0 24px 48px color-mix(in srgb, #000 18%, transparent),
    0 0 0 1px color-mix(in srgb, var(--gold) 12%, transparent);
}

.testimonial-stars {
  margin-bottom: var(--space-sm);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  line-height: 1;
}

.testimonial-stars span {
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--gold) 25%, transparent));
}

.testimonial-card__text {
  flex: 1 1 auto;
  margin: 0 0 var(--space-md);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.testimonial-card__footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}

.testimonial-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  flex-shrink: 0;
}

.testimonial-card__who {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.testimonial-card__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.testimonial-card__quote-icon {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.75rem;
  line-height: 1;
  color: color-mix(in srgb, var(--text-muted) 35%, transparent);
  align-self: end;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card {
    transition: none;
  }

  .testimonial-card:hover {
    transform: none;
  }
}

/* Printing page */

.printing-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 85% 58% at 0% 0%,
      color-mix(in srgb, var(--gold) 12%, transparent) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 48% 34% at 100% 18%,
      color-mix(in srgb, var(--gold) 8%, transparent) 0%,
      transparent 56%
    ),
    linear-gradient(
      145deg,
      var(--bg-edge) 0%,
      color-mix(in srgb, var(--surface) 18%, var(--bg-base)) 48%,
      var(--bg-base) 100%
    );
}

.printing-hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(var(--space-lg), 5vw, var(--space-2xl));
  align-items: center;
  min-height: min(76vh, 780px);
  padding-block: clamp(var(--space-xl), 6vw, var(--space-2xl));
}

.printing-hero__copy {
  max-width: 40rem;
}

.printing-hero__eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.printing-hero__title {
  margin: 0 0 var(--space-md);
  font-family: "Cairo", sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--text);
}

.printing-hero__lede {
  margin: 0 0 var(--space-md);
  max-width: 48ch;
  font-size: clamp(0.95rem, 1.45vw, 1.1rem);
  line-height: 1.72;
  color: var(--text-muted);
}

.printing-hero__body {
  display: grid;
  gap: var(--space-sm);
}

.printing-hero__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.printing-hero__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: var(--space-lg) 0 0;
  padding: 0;
}

.printing-hero__tags li {
  padding: 0.5rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line));
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.printing-hero__media {
  position: relative;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid color-mix(in srgb, var(--gold) 24%, var(--line));
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--gold) 16%, transparent),
    0 36px 72px color-mix(in srgb, #000 18%, transparent);
}

.printing-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    transparent 28%,
    color-mix(in srgb, var(--bg-base) 42%, transparent) 100%
  );
}

.printing-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.printing-overview {
  background: color-mix(in srgb, var(--surface) 28%, var(--bg-base));
}

.printing-overview__head {
  max-width: 48rem;
}

.printing-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 360px);
  gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
  align-items: start;
}

.printing-overview__copy {
  display: grid;
  gap: var(--space-sm);
}

.printing-overview__copy p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--text-muted);
}

.printing-overview__panel {
  padding: var(--space-lg) var(--radius-pad);
  border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line));
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 22px 48px color-mix(in srgb, #000 10%, transparent);
}

.printing-overview__panel-eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.printing-overview__checks {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}

.printing-overview__checks li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text);
}

.printing-overview__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.printing-catalog {
  background: color-mix(in srgb, var(--bg-base) 96%, var(--surface));
}

.printing-catalog__head {
  max-width: 45rem;
}

.printing-catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(var(--space-md), 2.5vw, var(--space-lg));
}

.printing-column {
  padding: var(--space-lg) var(--space-md);
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: 0 18px 36px color-mix(in srgb, #000 8%, transparent);
}

.printing-column__title {
  margin: 0 0 var(--space-md);
  font-family: "Cairo", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text);
}

.printing-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.printing-list li {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.45rem;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.printing-list__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}

.printing-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.printing-list__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.printing-list__label {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.printing-list__note {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.printing-cta {
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--surface) 20%, var(--bg-base)) 0%,
      var(--bg-base) 100%
    );
}

.printing-cta__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
  align-items: center;
  padding-block: clamp(var(--space-lg), 5vw, var(--space-2xl));
}

.printing-cta__copy {
  max-width: 42rem;
}

.printing-cta__eyebrow {
  margin: 0 0 var(--space-xs);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.printing-cta__title {
  margin: 0 0 var(--space-sm);
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
}

.printing-cta__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.printing-cta__actions {
  margin-top: 0;
  justify-content: flex-start;
}

.promo-modal[hidden] {
  display: none;
}

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.promo-modal--visible {
  opacity: 1;
  pointer-events: auto;
}

.promo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bg-base) 50%, #000 50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.promo-modal__dialog {
  position: relative;
  width: min(900px, calc(100vw - 2rem));
  max-height: min(92dvh, 860px);
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--gold) 24%, var(--line));
  background:
    radial-gradient(
      ellipse 70% 46% at 100% 0%,
      color-mix(in srgb, var(--gold) 14%, transparent) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 60% 44% at 0% 100%,
      color-mix(in srgb, var(--gold) 10%, transparent) 0%,
      transparent 55%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--bg-edge) 92%, var(--bg-base)) 0%,
      color-mix(in srgb, var(--surface) 26%, var(--bg-base)) 52%,
      color-mix(in srgb, var(--surface-2) 54%, var(--bg-base)) 100%
    );
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--gold) 16%, transparent),
    0 42px 90px color-mix(in srgb, #000 42%, transparent);
  transform: translateY(1.25rem) scale(0.985);
  opacity: 0;
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.promo-modal--visible .promo-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.promo-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--gold) 22%, transparent) 0%,
      transparent 18%
    );
  opacity: 0.8;
}

.promo-modal__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
  padding: clamp(var(--space-lg), 4vw, var(--space-2xl));
}

.promo-modal__main {
  max-width: 34rem;
}

.promo-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, var(--line));
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg-base) 55%, transparent);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.promo-modal__close:hover,
.promo-modal__close:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.promo-modal__eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.promo-modal__title {
  margin: 0 0 var(--space-sm);
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
}

.promo-modal__lede {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.promo-modal__code-panel {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border: 1px solid color-mix(in srgb, var(--gold) 24%, var(--line));
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.promo-modal__code-label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.promo-modal__code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.promo-modal__code {
  display: inline-flex;
  align-items: center;
  min-height: 3.1rem;
  padding: 0.85rem 1rem;
  border: 1px dashed color-mix(in srgb, var(--gold) 45%, var(--line));
  background: color-mix(in srgb, var(--bg-base) 70%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: clamp(0.85rem, 1.35vw, 1rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--gold);
  word-break: break-all;
}

.promo-modal__copy {
  min-height: 3.1rem;
}

.promo-modal__hint {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text);
}

.promo-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

.promo-modal__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-sm);
  padding: clamp(var(--space-md), 3vw, var(--space-lg));
  border: 1px solid color-mix(in srgb, var(--gold) 22%, var(--line));
  background: color-mix(in srgb, var(--bg-base) 62%, transparent);
}

.promo-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin: 0;
  padding: 0.55rem 0.9rem;
  background: var(--gold);
  color: #141210;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.promo-modal__aside-title {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--text);
}

.promo-modal__aside-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.promo-modal__benefits {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0.2rem 0 0;
  padding: 0;
}

.promo-modal__benefits li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text);
}

.promo-modal__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 1100px) {
  .printing-hero__shell,
  .printing-overview__grid,
  .printing-cta__shell {
    grid-template-columns: 1fr;
  }

  .printing-catalog__grid {
    grid-template-columns: 1fr;
  }

  .printing-hero__copy,
  .printing-cta__copy {
    max-width: none;
  }

  .promo-modal__grid {
    grid-template-columns: 1fr;
  }

  .promo-modal__main {
    max-width: none;
  }

  .printing-hero__media,
  .printing-hero__media img {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .printing-hero__shell {
    min-height: 0;
  }

  .printing-hero__title {
    letter-spacing: 0.02em;
  }

  .printing-column {
    padding: var(--space-md);
  }

  .printing-list li {
    grid-template-columns: 4rem 1fr;
    gap: 0.65rem;
  }

  .promo-modal {
    padding: 0.75rem;
  }

  .promo-modal__dialog {
    width: min(100vw - 1.5rem, 900px);
  }

  .promo-modal__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-modal,
  .promo-modal__dialog,
  .promo-modal__close {
    transition: none;
  }
}

/* Contact — page hero + 3-col showcase (image / details / map) + quote form */

.contact-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, color-mix(in srgb, var(--gold) 10%, transparent) 0%, transparent 52%),
    radial-gradient(ellipse 60% 40% at 100% 40%, color-mix(in srgb, var(--gold) 6%, transparent) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-base) 0%, color-mix(in srgb, var(--surface) 22%, var(--bg-base)) 100%);
}

.contact-page > .container {
  position: relative;
  z-index: 1;
}

.contact-page__head {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-lg), 5vw, var(--space-2xl));
  padding-bottom: var(--space-md);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.contact-page__eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-page__title {
  margin: 0 0 var(--space-sm);
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--text);
}

.contact-page__lede {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Full section width (not limited to .container 1120px) for image + details + map */
.contact-page .contact-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 380px) minmax(0, 1.22fr);
  gap: clamp(var(--space-md), 2.5vw, var(--space-xl));
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  margin-bottom: clamp(var(--space-xl), 6vw, var(--space-2xl));
  padding: clamp(var(--space-md), 3vw, var(--space-xl)) var(--page-gutter);
  box-sizing: border-box;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 32px 64px color-mix(in srgb, #000 14%, transparent);
}

.contact-page .contact-showcase__media {
  margin: 0;
  position: relative;
  min-height: min(42vh, 420px);
  background: var(--surface-2);
  overflow: hidden;
}

.contact-page .contact-showcase__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    transparent 40%,
    color-mix(in srgb, var(--bg-base) 35%, transparent) 100%
  );
}

.contact-page .contact-showcase__media img {
  width: 100%;
  height: 100%;
  min-height: min(42vh, 420px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.contact-showcase__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(var(--space-lg), 4vw, var(--space-xl));
  padding: var(--space-xs) 0;
}

.contact-info-block {
  text-align: center;
}

.contact-info-block__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-sm);
  color: var(--gold);
  border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line));
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg-base) 40%, transparent);
}

.contact-info-block__label {
  margin: 0 0 0.4rem;
  font-family: "Cairo", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-info-block__value {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text);
}

.contact-info-block__value a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-info-block__value a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.contact-page .contact-showcase__map {
  position: relative;
  min-height: min(42vh, 420px);
  background: var(--surface-2);
  overflow: hidden;
}

.contact-page .contact-map__frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(42vh, 420px);
  border: 0;
  filter: grayscale(12%) contrast(1.02);
}

.contact-quote-panel {
  padding-top: var(--space-lg);
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.contact-quote-panel .section-title {
  margin-bottom: var(--space-xs);
}

.contact-quote-panel .section-intro {
  margin-bottom: var(--space-lg);
  max-width: 40rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
  padding-top: 0.25rem;
}

.contact-quote-panel__aside {
  padding-top: 0.35rem;
}

.contact-section .contact-layout > div:first-child,
.contact-quote-panel__aside {
  padding-right: min(2rem, 6vw);
}

.contact-lede {
  margin-top: var(--space-xs);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border: 1px solid var(--line);
  padding: var(--radius-pad);
  background: var(--surface);
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg-base);
  color: var(--text);
  border-radius: 0;
}

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

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  padding: var(--space-lg) 0 calc(var(--space-lg) + 3.25rem);
  background-color: var(--bg-base);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 0;
}

.footer-logo {
  display: block;
  height: 3.75rem;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-muted {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-label {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-grid a {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

/* Fixed quick actions — FAB stack bottom-right (desktop); compact FAB on small screens */

.cta-strip {
  position: fixed;
  z-index: 90;
  left: auto;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: auto;
  border: none;
  background: transparent;
  padding: 0;
  transform: translate3d(0, calc(100% + 1.5rem), 0);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.72s cubic-bezier(0.33, 1, 0.68, 1),
    visibility 0.72s;
}

.cta-strip.cta-strip--visible {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .cta-strip {
    transition-duration: 0.01ms;
  }
}

.cta-strip-fab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.cta-fab {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  color: #fff;
  box-shadow:
    0 4px 14px color-mix(in srgb, #000 35%, transparent),
    0 1px 3px color-mix(in srgb, #000 22%, transparent);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta-fab:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 22px color-mix(in srgb, #000 38%, transparent),
    0 2px 6px color-mix(in srgb, #000 25%, transparent);
}

.cta-fab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.cta-fab__icon {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
}

.cta-fab--whatsapp {
  background: #25d366;
  color: #fff;
}

.cta-fab--call {
  background: #7d5e8c;
  color: #fff;
}

.cta-fab--quote {
  background: var(--gold);
  color: #1a1917;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.cta-fab--quote:hover,
.cta-fab--quote:focus-visible {
  color: #fff;
}

html[data-theme="light"] .cta-fab--quote {
  color: #121214;
}

html[data-theme="light"] .cta-fab--quote:hover,
html[data-theme="light"] .cta-fab--quote:focus-visible {
  color: #fff;
}

@media (max-width: 900px) {
  .cta-strip {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .cta-fab {
    width: 3rem;
    height: 3rem;
  }

  .cta-fab__icon {
    width: 1.3rem;
    height: 1.3rem;
  }
}

/* Mobile nav */

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-side-cluster {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .service-rail {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: var(--space-sm) 0 0;
  }

  .rail-link {
    padding-left: 0;
  }

  .block-head {
    padding-right: 3.5rem;
  }

  #process.process-section {
    min-height: 0;
  }

  #testimonial.testimonial-section {
    min-height: 0;
  }

  #process.process-section .process-list--featured {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  #process.process-section .process-list--featured::before {
    display: none;
  }

  #process.process-section .process-list--featured li {
    align-items: flex-start;
    text-align: left;
    padding: 0 0 var(--space-lg);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
    border-radius: 0;
  }

  #process.process-section .process-list--featured li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  #process.process-section .process-list--featured li::after {
    display: none;
  }

  #process.process-section .process-list--featured li::before {
    margin-bottom: var(--space-xs);
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  #process.process-section .process-list--featured .process-step {
    margin-top: 0;
  }

  #process.process-section .process-list--featured .process-desc {
    max-width: none;
    margin-inline: 0;
  }

  .process-section__layout {
    grid-template-columns: 1fr;
  }

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

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

  .contact-page .contact-showcase {
    grid-template-columns: 1fr;
    padding: var(--space-md) var(--page-gutter);
  }

  .contact-page .contact-showcase__media img {
    min-height: 240px;
  }

  .contact-page .contact-map__frame {
    min-height: 260px;
  }

  .contact-quote-panel__aside {
    padding-right: 0;
  }

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

  .process-list li {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .why-item,
  .why-item:nth-child(2n) {
    border-right: none;
  }

  .why-item {
    border-bottom: 1px solid var(--line);
  }

  .why-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 760px) {
  .header-inner {
    gap: var(--space-xs);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: var(--page-gutter);
    right: var(--page-gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    border: 1px solid var(--line);
    background: var(--surface);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mission-section {
    min-height: 0;
    display: block;
  }

  #mission.mission-section .container.mission-section__shell {
    display: block;
    flex: none;
  }

  .mission-section__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    flex: none;
  }

  .mission-section__media {
    order: -1;
    height: auto;
    min-height: min(52vh, 420px);
    aspect-ratio: 4 / 3;
  }

  .mission-section__body {
    padding: var(--space-lg) var(--page-gutter);
    max-width: none;
  }

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

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

/* Focus visible for keyboard */

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline-offset: 2px;
}
