:root {
  --bg: #090c0f;
  --bg-soft: #0f1317;
  --surface: rgba(18, 22, 26, 0.76);
  --surface-strong: #11161a;
  --surface-card: linear-gradient(180deg, rgba(23, 28, 33, 0.94), rgba(10, 13, 16, 0.98));
  --surface-flat: #313941;
  --text: #edf1f4;
  --muted: #b8c2ca;
  --subtle: #7d8891;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --primary: #82cdfd;
  --primary-strong: #58aee6;
  --primary-ink: #0d3145;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --max: 1400px;
  --shell: 980px;
  --gutter: 32px;
  --section-space: 120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  color-scheme: dark;
  background-color: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(130, 205, 253, 0.08), transparent 26%),
    linear-gradient(180deg, #0c1013 0%, #090c0f 45%, #07090b 100%);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 80%);
  opacity: 0.34;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  margin: 0 auto;
}

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

.section.compact {
  padding: 88px 0;
}

.section-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
}

.display,
.display-md,
.display-sm,
.display-xs {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  line-height: 0.94;
}

.display {
  font-size: clamp(2.8rem, 6.3vw, 5.8rem);
}

.display-md {
  font-size: clamp(2.15rem, 4.4vw, 4rem);
}

.display-sm {
  font-size: clamp(1.45rem, 2.25vw, 2.45rem);
}

.display-xs {
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
}

.lede {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.8;
  color: var(--muted);
}

.copy {
  margin: 0;
  max-width: 40rem;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--muted);
}

.copy + .copy {
  margin-top: 14px;
}

.panel,
.card,
.contact-box,
.form-box,
.archive-item {
  border: 0;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.panel {
  background: rgba(16, 21, 25, 0.68);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

.card,
.contact-box,
.form-box,
.archive-item {
  background: var(--surface-card);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

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

.button.primary {
  color: var(--primary-ink);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 44px rgba(88, 174, 230, 0.22);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-strong);
}

.button.ghost {
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header {
  position: fixed;
  top: max(20px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0;
}

.site-header .container {
  width: min(calc(100% - 32px), var(--shell));
}

.site-header.scrolled .nav-shell {
  background: rgba(14, 18, 22, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 8px 10px 8px 22px;
  background: rgba(18, 20, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.logo {
  flex: 0 0 auto;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.3rem, 1.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237, 241, 244, 0.58);
  transition: color 220ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--primary);
  transition: transform 220ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links .portfolio-nav {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links .portfolio-subnav {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  min-width: 176px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(14, 18, 22, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links .portfolio-nav:hover .portfolio-subnav,
.nav-links .portfolio-nav:focus-within .portfolio-subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-links .portfolio-subnav a {
  padding: 9px 0;
  white-space: nowrap;
}

.nav-cta {
  flex: 0 0 auto;
  min-width: 108px;
  min-height: 40px;
  padding-inline: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  border-radius: 14px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  position: relative;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: background-color 180ms ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  margin-top: 12px;
  padding: 20px;
  border-radius: 22px;
}

.mobile-menu.open {
  display: grid;
  gap: 10px;
}

.mobile-menu a {
  padding: 12px 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(237, 241, 244, 0.76);
}

.mobile-menu .portfolio-nav,
.mobile-menu .portfolio-subnav {
  display: grid;
}

.mobile-menu .portfolio-subnav {
  padding: 0 0 6px 18px;
  border-left: 1px solid rgba(130, 205, 253, 0.28);
}

.mobile-menu .portfolio-subnav a {
  padding: 8px 0;
  font-size: 0.94rem;
  color: rgba(184, 194, 202, 0.72);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: clip;
  padding: 96px 0 48px;
}

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

.hero-media img {
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: grayscale(1) contrast(1.15) brightness(0.5);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(9, 12, 15, 0.1), rgba(9, 12, 15, 0.34), rgba(7, 9, 11, 0.88));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.52fr);
  gap: 48px;
  align-items: end;
  width: 100%;
  padding-inline: clamp(24px, 3vw, 52px);
}

.hero-copy {
  padding-top: 24px;
  padding-left: clamp(18px, 2.8vw, 44px);
  padding-bottom: clamp(20px, 3vw, 40px);
}

.hero-side,
.intro-panel,
.contact-intro {
  padding: 28px;
  border-radius: 26px;
}

.hero-side {
  margin-bottom: 0;
  background: rgba(15, 19, 23, 0.74);
}

.hero-side-minimal {
  padding: 0 0 36px 30px;
  border-radius: 0;
  background: transparent;
  border-left: 1px solid rgba(130, 205, 253, 0.35);
  box-shadow: none;
}

.hero-kicker {
  max-width: 20rem;
  font-size: clamp(1rem, 1.9vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 24px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  margin-bottom: 18px;
  background: rgba(36, 41, 46, 0.68);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(4.2rem, 8.3vw, 8.2rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.hero-title span {
  color: var(--primary);
}

.stats-band {
  padding: 56px 0;
  background: rgba(8, 10, 12, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid,
.service-grid,
.portfolio-grid,
.portfolio-list,
.testimonial-grid,
.split-grid,
.contact-grid,
.project-grid,
.archive-grid,
.detail-grid,
.footer-utility {
  display: grid;
  gap: 22px;
}

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

.stat-item {
  padding: 6px 0;
}

.stat-value {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: var(--primary);
}

.stat-label {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184, 194, 202, 0.62);
}

.split-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: start;
}

.page-intro {
  padding-top: 96px;
}

.service-bento {
  display: grid;
  grid-template-columns: 1.08fr 0.52fr 0.48fr;
  grid-template-rows: minmax(250px, 0.96fr) minmax(330px, 1.04fr);
  gap: 18px;
}

/* Shared service bento: one quiet surface treatment across every tile. */
:is(.home-page, .services-page) .service-bento > .service-card,
:is(.home-page, .services-page) .service-bento > .service-cta {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 58%),
    rgba(16, 21, 25, 0.82);
  border: 1px solid rgba(151, 166, 176, 0.14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.service-card,
.portfolio-card,
.project-card,
.featured-project {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: 28px;
}

.service-card img,
.portfolio-card img,
.project-card img,
.featured-project img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: grayscale(1) brightness(0.72);
  transition: transform 600ms ease, opacity 300ms ease;
}

.service-card::after,
.portfolio-card::after,
.project-card::after,
.featured-project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 17, 0.08), rgba(8, 10, 13, 0.94));
}

.card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 28px;
}

.service-card:hover img,
.portfolio-card:hover img,
.project-card:hover img,
.featured-project:hover img {
  transform: scale(1.04);
  opacity: 0.4;
}

.service-bento .service-card {
  min-height: unset;
}

.service-bento .display-sm {
  max-width: 12ch;
}

.service-bento .copy {
  margin-top: 14px;
  max-width: 34ch;
}

.service-architectural {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  min-height: 610px;
}

.service-architectural img {
  opacity: 0.16;
  filter: grayscale(1) contrast(1.05) brightness(0.54);
}

.service-architectural::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 56%),
    repeating-linear-gradient(116deg, rgba(255, 255, 255, 0.022) 0 2px, transparent 2px 12px);
}

.service-wide {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
}

.service-flat {
  background: #36414a;
}

.service-flat::after {
  background: linear-gradient(180deg, rgba(11, 14, 17, 0.18), rgba(8, 10, 13, 0.94));
}

:is(.home-page, .services-page) .service-flat img,
:is(.home-page, .services-page) .service-cta img {
  opacity: 0.18;
  filter: grayscale(1) contrast(1.04) brightness(0.58);
}

.service-flat .card-content {
  justify-content: flex-start;
  padding: 32px 36px;
}

.service-flat .display-sm {
  max-width: 15ch;
}

.service-interior {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.service-interior img {
  opacity: 0.2;
}

.service-cta {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  position: relative;
  overflow: hidden;
  min-height: 330px;
  color: var(--primary-ink);
  background: linear-gradient(180deg, #7bc7fb 0%, #67b7eb 100%);
  border: 1px solid rgba(130, 205, 253, 0.45);
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(60, 146, 199, 0.18);
}

.service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 68%);
}

.service-cta .card-content {
  justify-content: space-between;
  padding: 28px;
}

.service-cta .eyebrow,
.service-cta .copy {
  color: rgba(13, 49, 69, 0.84);
}

.service-cta .display-sm {
  max-width: 8ch;
}

:is(.home-page, .services-page) .service-bento .service-flat,
:is(.home-page, .services-page) .service-bento .service-cta {
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 58%),
    rgba(16, 21, 25, 0.82);
  border-color: rgba(151, 166, 176, 0.14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

:is(.home-page, .services-page) .service-bento .service-cta::before {
  background:
    radial-gradient(circle at top right, rgba(130, 205, 253, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 68%);
}

:is(.home-page, .services-page) .service-bento .service-cta .eyebrow,
:is(.home-page, .services-page) .service-bento .service-cta .copy {
  color: var(--muted);
}

/* Homepage service imagery: visible enough to explain each service while the
   lower tonal gradient keeps headings and supporting copy comfortably legible. */
.home-page .service-bento .service-card img,
.home-page .service-bento .service-cta img {
  opacity: 0.52;
  filter: grayscale(0.42) saturate(0.78) contrast(1.06) brightness(0.74);
}

.home-page .service-bento .service-card::after,
.home-page .service-bento .service-cta::after {
  background: linear-gradient(
    180deg,
    rgba(7, 10, 13, 0.08) 0%,
    rgba(7, 10, 13, 0.28) 42%,
    rgba(7, 10, 13, 0.94) 82%,
    rgba(7, 10, 13, 0.98) 100%
  );
}

.home-page .service-bento .service-card:hover img,
.home-page .service-bento .service-cta:hover img {
  opacity: 0.64;
}

.service-archive {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-process-intro,
.trust-reasons-intro {
  margin-bottom: 28px;
}

.service-process-grid,
.trust-reasons-grid {
  display: grid;
  gap: 18px;
}

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

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

.residential-fit-grid,
.commercial-fit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card,
.trust-reason-card {
  padding: 28px;
  border-radius: 24px;
}

.process-card .copy,
.trust-reason-card .copy {
  margin-top: 14px;
}

.service-detail {
  padding: 28px;
  border-radius: 24px;
}

.service-detail .copy {
  margin-top: 14px;
}

.portfolio-grid {
  grid-template-columns: repeat(12, 1fr);
}

.portfolio-card.featured {
  grid-column: span 7;
  min-height: 560px;
}

.portfolio-card.tall {
  grid-column: span 5;
  min-height: 268px;
}

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

.portfolio-slider-block {
  position: relative;
}

.slider-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.slider-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(130, 205, 253, 0.76);
}

.slider-hint::after {
  content: "";
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(130, 205, 253, 0.58), transparent);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    opacity 220ms ease;
}

.slider-button:hover {
  transform: translateY(-2px);
  border-color: rgba(130, 205, 253, 0.35);
  background: rgba(130, 205, 253, 0.08);
}

.slider-button:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
}

.slider-button span {
  font-family: "Manrope", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.portfolio-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 38vw);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.portfolio-slider::-webkit-scrollbar {
  display: none;
}

.portfolio-slide {
  position: relative;
  min-height: 320px;
  scroll-snap-align: start;
}

.portfolio-slide-featured {
  grid-auto-columns: unset;
  min-height: 360px;
  width: min(48vw, 620px);
}

.portfolio-slider .portfolio-slide {
  width: 100%;
}

.portfolio-slide-text {
  display: block;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(13, 16, 19, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-slide-text .card-content {
  justify-content: space-between;
  min-height: inherit;
  padding: 30px;
}

.portfolio-slide-text .display-sm {
  max-width: 13ch;
}

.portfolio-slide-text .copy {
  max-width: 32ch;
}

.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(130, 205, 253, 0.92);
}

.slide-link::after {
  content: "\2192";
  font-size: 1rem;
  line-height: 1;
}

.portfolio-list .card,
.testimonial-grid .card,
.contact-box,
.archive-item {
  padding: 28px;
  border-radius: 24px;
}

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

.archive-item h3 {
  margin: 0 0 10px;
}

.archive-meta {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

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

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
  gap: 24px;
}

.project-detail-copy {
  display: grid;
  gap: 20px;
  align-self: end;
  padding: 18px 0 10px;
}

.project-detail-copy .display {
  font-size: clamp(3.3rem, 6vw, 6.6rem);
  line-height: 0.88;
  max-width: 8ch;
}

.project-detail-copy .lede {
  max-width: 24rem;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.project-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-meta-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.featured-project {
  min-height: 440px;
}

.project-detail-visual {
  min-height: 720px;
  border-radius: 32px;
}

.project-detail-visual.no-image {
  background:
    radial-gradient(circle at top right, rgba(130, 205, 253, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(10, 13, 16, 0.96));
}

.project-detail-visual::after {
  background: linear-gradient(180deg, rgba(8, 10, 13, 0.04), rgba(8, 10, 13, 0.78) 58%, rgba(8, 10, 13, 0.94));
}

.project-detail-visual .card-content {
  justify-content: space-between;
  align-items: flex-start;
  padding: 34px;
}

.project-detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.project-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.project-story-card,
.project-copy-card,
.project-highlight-card {
  padding: 30px;
  border-radius: 26px;
}

.project-intro-card {
  min-height: 100%;
}

.project-intro-card .lede {
  max-width: 42rem;
}

.project-spec-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.project-spec-list {
  display: grid;
  gap: 14px;
}

.project-spec-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
  color: rgba(237, 241, 244, 0.74);
}

.project-spec-item strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(130, 205, 253, 0.84);
}

.project-content-grid {
  align-items: stretch;
}

.project-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.project-bullet {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 241, 244, 0.74);
}

.project-sequence-head {
  margin-bottom: 24px;
}

.project-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
}

.project-gallery-grid-complete {
  grid-auto-flow: dense;
  align-items: stretch;
}

.project-gallery-stack {
  display: grid;
  gap: 18px;
}

.project-gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 30px;
}

.project-gallery-card.tall,
.project-gallery-card.featured {
  min-height: 578px;
}

.project-gallery-card.featured {
  grid-row: span 2;
  min-height: 746px;
}

.project-gallery-card.wide {
  grid-column: 1 / -1;
  min-height: 460px;
}

.project-gallery-card.no-image {
  background:
    radial-gradient(circle at top right, rgba(130, 205, 253, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(10, 13, 16, 0.96));
}

.project-gallery-fill {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(130, 205, 253, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(9, 12, 15, 0.94));
}

.project-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.74);
  transition: transform 600ms ease, filter 300ms ease;
}

.project-gallery-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0.2) brightness(0.84);
}

.project-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 24px;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 13, 0.9));
}

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

.project-card-link {
  display: block;
}

.project-card {
  min-height: 340px;
}

.project-card .card-content {
  gap: 10px;
}

.project-card-link .slide-link {
  margin-top: 16px;
}

.project-card .copy {
  max-width: none;
}

.archive-panel {
  margin-top: 22px;
  padding: 24px 28px;
  border-radius: 24px;
}

.archive-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.archive-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 241, 244, 0.72);
}

.about-layout {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
}

.media-card {
  overflow: hidden;
  min-height: 540px;
  border-radius: 28px;
}

.media-card img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.72);
}

.stack-grid {
  display: grid;
  gap: 22px;
}

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

.testimonial-section-grid {
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 30px;
}

.quote {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.9;
  color: rgba(237, 241, 244, 0.86);
  font-style: italic;
}

.cta-band {
  padding: 90px 0;
  background:
    radial-gradient(circle at top right, rgba(130, 205, 253, 0.12), transparent 30%),
    linear-gradient(180deg, #090c0f 0%, #0e1318 100%);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.contact-stack {
  display: grid;
  gap: 22px;
}

.contact-box h3,
.form-box h3 {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-lines {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(237, 241, 244, 0.82);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-box {
  padding: 30px;
  border-radius: 28px;
}

.form-intro {
  margin: -4px 0 24px;
}

.response-promise {
  margin-top: 14px;
}

.field {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.field span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184, 194, 202, 0.62);
}

.field span small {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: rgba(184, 194, 202, 0.42);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.field select {
  min-height: 56px;
  color-scheme: dark;
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: rgba(130, 205, 253, 0.34);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  background: rgba(130, 205, 253, 0.04);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(184, 194, 202, 0.42);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #ff8f8f;
  box-shadow: 0 0 0 3px rgba(255, 143, 143, 0.1);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.consent-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 4px 0 22px;
  color: rgba(184, 194, 202, 0.72);
  font-size: 0.82rem;
  line-height: 1.6;
}

.consent-field input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.consent-field a,
.legal-card a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.honeypot-field,
.prarc-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.form-error-summary {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 143, 143, 0.38);
  border-radius: 14px;
  color: #ffd2d2;
  background: rgba(139, 32, 32, 0.18);
  font-size: 0.9rem;
  line-height: 1.5;
}

.field-error {
  display: block;
  color: #ffb6b6;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.consent-field .field-error {
  grid-column: 2;
}

.form-status-message,
.form-note {
  margin-top: 16px;
  color: rgba(184, 194, 202, 0.72);
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-status-message.success,
.form-note.success {
  color: #a9e7bf;
}

.form-status-message.error,
.form-note.error {
  color: #ffb6b6;
}

.button.is-loading {
  cursor: wait;
  opacity: 0.72;
}

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

.legal-card {
  padding: 30px;
}

.legal-card h2 {
  margin-bottom: 16px;
}

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-card-wide .copy + .copy {
  margin-top: 12px;
}

.legal-updated {
  margin-top: 18px;
}

.not-found-main {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding-top: 80px;
}

.not-found-panel {
  max-width: 920px;
  padding: clamp(28px, 6vw, 72px);
  text-align: left;
}

.not-found-panel .display {
  margin: 20px 0;
}

.not-found-panel .lede {
  max-width: 44rem;
}

.not-found-panel .button-row {
  margin-top: 30px;
}

.site-footer {
  position: relative;
  margin-top: 64px;
  padding: clamp(46px, 6vw, 82px) 0 clamp(120px, 14vw, 210px);
  background:
    radial-gradient(circle at top left, rgba(130, 205, 253, 0.08), transparent 28%),
    linear-gradient(180deg, #0c1013 0%, #090c0f 52%, #07090b 100%);
  overflow: clip;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 42%);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 2;
}

.footer-card {
  padding: clamp(30px, 4.4vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: clamp(24px, 3vw, 38px);
  background: rgba(15, 19, 23, 0.92);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(250px, 1.15fr) minmax(0, 1.85fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: start;
}

.footer-brand-block {
  max-width: 440px;
}

.footer-wordmark-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.2rem, 2.8vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}

.footer-brand-logo {
  display: block;
  width: clamp(190px, 17vw, 230px);
  height: auto;
}

.footer-brand-block p {
  max-width: 35rem;
  color: rgba(184, 194, 202, 0.72);
  font-size: clamp(1.02rem, 1.08vw, 1.15rem);
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(237, 241, 244, 0.8);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-socials a[aria-label*="Facebook"] svg,
.footer-socials a[aria-label*="Google"] svg {
  fill: currentColor;
  stroke: none;
}

.footer-socials a:hover {
  border-color: rgba(130, 205, 253, 0.44);
  background: rgba(130, 205, 253, 0.12);
  color: var(--primary);
}

.footer-divider {
  margin: clamp(34px, 4vw, 52px) 0 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-directory {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 1.2fr;
  gap: clamp(28px, 4vw, 62px);
  align-items: start;
}

.footer-column,
.footer-links,
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-heading {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(0.9rem, 0.92vw, 1.02rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer-nav {
  gap: 9px;
}

.footer-nav a,
.footer-links a,
.footer-links span {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.94rem, 1vw, 1.05rem);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(184, 194, 202, 0.68);
  transition: color 220ms ease;
}

.footer-nav a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.footer-links {
  gap: 9px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 18px 30px;
  align-items: center;
  color: rgba(184, 194, 202, 0.5);
  font-size: clamp(0.72rem, 0.75vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0;
}

.footer-legal a {
  color: inherit;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  align-items: center;
}

.footer-credit {
  color: rgba(184, 194, 202, 0.42);
  transition: color 180ms ease;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  color: var(--primary);
}

.footer-watermark {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: clamp(-42px, -3vw, -18px);
  width: 100%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.065);
  font-family: "Manrope", sans-serif;
  font-size: clamp(7rem, 23vw, 22rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.7;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 16px 40px rgba(88, 174, 230, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 48px rgba(88, 174, 230, 0.34);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: var(--primary-ink);
}

.footer-note {
  color: rgba(184, 194, 202, 0.54);
}

/* PRARC Project Cycle */
.hero-response-note {
  max-width: 38rem;
  margin-top: 18px;
  color: rgba(237, 241, 244, 0.62);
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.project-cycle-intro {
  align-items: end;
  margin-bottom: 38px;
}

#project-cycle,
#featured-projects {
  scroll-margin-top: 118px;
}

.project-cycle-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.project-cycle-wheel {
  width: min(100%, 470px);
  aspect-ratio: 1;
  margin-inline: auto;
  filter: drop-shadow(0 26px 70px rgba(0, 0, 0, 0.34));
}

.project-cycle-wheel svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cycle-segment {
  stroke: rgba(6, 13, 18, 0.72);
  stroke-width: 3;
}

.interactive-cycle .cycle-segment {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 220ms ease, filter 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.interactive-cycle .cycle-segment:hover,
.interactive-cycle .cycle-segment:focus-visible {
  fill: #9cdbff;
  filter:
    drop-shadow(0 0 8px rgba(130, 205, 253, 0.9))
    drop-shadow(0 0 24px rgba(130, 205, 253, 0.58));
  opacity: 1;
  transform: scale(1.025);
  outline: none;
}

.interactive-cycle:has(.cycle-segment:hover) .cycle-segment:not(:hover),
.interactive-cycle:has(.cycle-segment:focus-visible) .cycle-segment:not(:focus-visible) {
  opacity: 0.48;
}

.interactive-cycle .cycle-outline,
.interactive-cycle .cycle-divider,
.interactive-cycle .cycle-center,
.interactive-cycle text {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .interactive-cycle .cycle-segment {
    transition: fill 120ms ease, filter 120ms ease, opacity 120ms ease;
  }

  .interactive-cycle .cycle-segment:hover,
  .interactive-cycle .cycle-segment:focus-visible {
    transform: none;
  }

  .cycle-step {
    transition: none;
  }

  .cycle-step.is-active {
    transform: none;
  }
}

.segment-brief { fill: rgba(130, 205, 253, 0.96); }
.segment-blueprint { fill: rgba(130, 205, 253, 0.72); }
.segment-build { fill: rgba(130, 205, 253, 0.48); }
.segment-handover { fill: rgba(130, 205, 253, 0.27); }

.cycle-outline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.cycle-divider {
  stroke: rgba(6, 13, 18, 0.76);
  stroke-width: 3;
}

.cycle-center {
  fill: #0d1216;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
}

.cycle-number,
.cycle-label,
.cycle-core {
  fill: #edf1f4;
  text-anchor: middle;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.cycle-number {
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.64;
}

.cycle-label {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.cycle-core {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.project-cycle-steps {
  display: grid;
}

.cycle-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.cycle-step.is-active {
  background: linear-gradient(90deg, rgba(130, 205, 253, 0.09), transparent 78%);
  border-color: rgba(130, 205, 253, 0.42);
  transform: translateX(8px);
}

.cycle-step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cycle-step .display-xs {
  margin-bottom: 8px;
}

.project-cycle-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  padding: 28px 30px;
}

.project-cycle-closing .lede {
  max-width: 760px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1280px) {
  :root {
    --section-space: 104px;
  }

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

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

@media (max-width: 1080px) {
  .project-cycle-layout {
    grid-template-columns: 1fr;
  }

  .project-cycle-wheel {
    width: min(72vw, 420px);
  }

  :root {
    --gutter: 24px;
    --section-space: 92px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-shell {
    min-height: 62px;
  }

  .hero-grid,
  .split-grid,
  .testimonial-section-grid,
  .about-layout,
  .contact-grid,
  .archive-grid,
  .detail-grid,
  .project-detail-hero,
  .project-detail-intro,
  .project-story-grid,
  .project-highlight-grid,
  .project-gallery-grid {
  grid-template-columns: 1fr;
}

  .hero-copy {
    padding-top: 18px;
    padding-left: 18px;
    padding-bottom: 28px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-side-minimal {
    padding: 0 0 16px 24px;
  }

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

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

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

  .portfolio-slider {
    grid-auto-columns: minmax(300px, 62vw);
  }

.portfolio-slide-featured {
  width: min(72vw, 620px);
  min-height: 340px;
}

.project-meta-row {
  grid-template-columns: 1fr;
}

  .project-detail-visual {
    min-height: 460px;
  }

  .project-gallery-card.tall,
  .project-gallery-card.featured,
  .project-gallery-card.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 380px;
  }

  .portfolio-card.featured,
  .portfolio-card.tall {
    grid-column: span 1;
    min-height: 340px;
  }

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

  .service-architectural,
  .service-wide,
  .service-interior,
  .service-cta {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .service-wide {
    grid-column: 1 / -1;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
  }
}

@media (max-width: 860px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand-block,
  .footer-column,
  .footer-links,
  .footer-nav {
    align-items: center;
    text-align: center;
  }

  .footer-brand-block {
    margin-inline: auto;
    text-align: center;
  }

  .footer-socials,
  .footer-legal-links {
    justify-content: center;
  }

  .footer-directory {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-legal {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .project-cycle-intro {
    text-align: center;
    margin-bottom: 28px;
  }

  .project-cycle-wheel {
    width: min(92vw, 340px);
  }

  .cycle-label {
    font-size: 12px;
  }

  .cycle-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    text-align: left;
  }

  .project-cycle-closing {
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 24px 20px;
  }

  :root {
    --gutter: 18px;
    --section-space: 76px;
  }

  .site-header {
    top: max(12px, env(safe-area-inset-top));
  }

  .site-header .container {
    width: min(calc(100% - 16px), var(--shell));
  }

  .nav-shell {
    min-height: 54px;
    padding: 8px 10px 8px 14px;
    border-radius: 16px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero {
    min-height: 92vh;
    padding: 84px 0 40px;
  }

  .hero-copy {
    padding: 14px 0 22px;
    text-align: center;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-side-minimal {
    width: min(100%, 22rem);
    margin-inline: auto;
    padding: 24px 0 8px;
    border-top: 1px solid rgba(130, 205, 253, 0.35);
    border-left: 0;
    text-align: center;
  }

  .hero-chip {
    margin-inline: auto;
    margin-bottom: 18px;
    font-size: 0.7rem;
  }

  .hero-title {
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .hero-kicker,
  .page-intro .copy,
  .page-intro .lede,
  .split-grid > .copy,
  .split-grid > .lede,
  .project-detail-copy .lede,
  .project-sequence-head .copy,
  .not-found-panel .lede {
    margin-inline: auto;
  }

  .page-intro .split-grid,
  main > .section .split-grid,
  .project-detail-copy,
  .project-sequence-head,
  .contact-intro,
  .contact-box,
  .not-found-panel,
  .cta-band .container {
    text-align: center;
  }

  .project-detail-copy {
    justify-items: center;
  }

  .project-detail-copy .display {
    margin-inline: auto;
  }

  .project-meta-item {
    text-align: center;
  }

  .project-bullets,
  .button-row,
  .contact-links {
    justify-content: center;
  }

  .slider-toolbar {
    align-items: center;
    text-align: center;
  }

  .testimonial-grid .card {
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand-block,
  .footer-column,
  .footer-links,
  .footer-nav {
    align-items: center;
    text-align: center;
  }

  .footer-brand-block {
    margin-inline: auto;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-directory {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-legal {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .form-box,
  .form-box label,
  .form-box input,
  .form-box select,
  .form-box textarea,
  .legal-card {
    text-align: left;
  }

  .hero-side,
  .intro-panel,
  .contact-intro,
  .card-content,
  .service-detail,
  .portfolio-list .card,
  .testimonial-grid .card,
  .contact-box,
  .form-box,
  .archive-item {
    padding: 22px;
  }

.stats-grid,
.service-archive,
.service-process-grid,
.trust-reasons-grid,
.portfolio-grid,
.portfolio-list,
.testimonial-grid,
.project-grid,
.legal-layout {
  grid-template-columns: 1fr;
}

  .legal-card-wide {
    grid-column: auto;
  }

  .slider-toolbar {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .portfolio-slider {
    grid-auto-columns: 86vw;
    gap: 14px;
  }

  .portfolio-slide,
  .portfolio-slide-featured {
    width: 100%;
    min-height: 280px;
  }

  .project-detail-copy .display {
    max-width: 10ch;
  }

  .project-detail-visual {
    min-height: 420px;
  }

  .service-bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-grid {
    justify-items: center;
    gap: 42px;
    text-align: center;
  }

  .stat-item {
    width: 100%;
  }

  .testimonial-section-grid {
    gap: 28px;
    text-align: center;
  }

  .testimonial-section-grid > div:first-child {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .testimonial-grid {
    width: 100%;
    gap: 16px;
  }

  .testimonial-grid .card {
    width: 100%;
    text-align: center;
  }

.project-story-card,
.project-copy-card,
.project-highlight-card {
  padding: 24px;
}

  .service-bento .service-card,
  .service-bento .service-cta {
    height: 380px;
    min-height: 380px;
  }

  .footer-nav {
    gap: 10px;
  }

  .footer-nav a {
    font-size: 0.95rem;
    color: rgba(184, 194, 202, 0.72);
  }

  .footer-links a,
  .footer-links span {
    font-size: 0.95rem;
  }

  .site-footer {
    margin-top: 44px;
    padding-top: 54px;
  }

  .footer-divider {
    margin: 36px 0 26px;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px));
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }
}

@media (max-width: 520px) {
  .button,
  .contact-link-chip,
  .archive-pill {
    width: 100%;
  }

  .button-row {
    align-items: stretch;
  }

  .contact-links,
  .archive-list {
    flex-direction: column;
  }

  .footer-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .footer-directory {
    gap: 30px;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-watermark {
    bottom: -16px;
    font-size: 34vw;
  }
}

/* Service bento: touch-first horizontal discovery on mobile only. */
.service-swipe-hint {
  display: none;
}

@media (max-width: 760px) {
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 35;
    display: block;
    background: #080c0f;
  }

  .site-header .nav-shell {
    position: relative;
    z-index: 2;
  }

  .menu-toggle {
    transition:
      color 220ms ease,
      background-color 220ms ease,
      transform 220ms ease;
  }

  .menu-toggle[aria-expanded="true"] {
    color: var(--primary-ink);
    background: var(--primary);
    transform: rotate(90deg);
  }

  .mobile-menu {
    counter-reset: mobile-navigation;
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    align-content: start;
    width: 100vw;
    min-height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: calc(112px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 90% 2%, rgba(139, 205, 242, 0.13), transparent 17rem),
      radial-gradient(circle at 6% 96%, rgba(139, 205, 242, 0.05), transparent 18rem),
      linear-gradient(150deg, rgba(255, 255, 255, 0.025), transparent 44%),
      #080c0f;
    box-shadow: none;
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-16px);
  }

  .mobile-menu:not(.has-opened) {
    transition: none;
  }

  .mobile-menu:not(.open) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
  }

  .mobile-menu.open {
    max-height: none;
    gap: 0;
    padding: calc(112px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
    border-color: transparent;
    opacity: 1;
    overflow-y: auto;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu::before {
    content: "Navigation";
    display: block;
    padding: 2px 0 12px;
    color: rgba(139, 205, 242, 0.72);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
  }

  .mobile-menu > a,
  .mobile-menu > .portfolio-nav {
    counter-increment: mobile-navigation;
    border-top: 1px solid rgba(242, 240, 235, 0.07);
  }

  .mobile-menu > a,
  .mobile-menu > .portfolio-nav > a {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 58px;
    padding: 10px 4px;
    font-size: clamp(1.18rem, 5.6vw, 1.5rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: rgba(242, 240, 235, 0.88);
  }

  .mobile-menu > a::before,
  .mobile-menu > .portfolio-nav > a::before {
    display: none;
  }

  .mobile-menu > a::after,
  .mobile-menu > .portfolio-nav > a::after {
    content: "↗";
    color: rgba(185, 192, 195, 0.34);
    font-family: "Inter", sans-serif;
    font-size: 0.86rem;
    font-weight: 400;
    transition:
      color 180ms ease,
      transform 180ms ease;
  }

  .mobile-menu > a:active::after,
  .mobile-menu > .portfolio-nav > a:active::after {
    color: var(--primary);
    transform: translate(2px, -2px);
  }

  .mobile-menu > a.active,
  .mobile-menu > .portfolio-nav > a.active {
    color: var(--primary);
  }

  .mobile-menu > a.active::after,
  .mobile-menu > .portfolio-nav > a.active::after {
    content: "•";
    color: var(--primary);
    font-size: 1.15rem;
  }

  .mobile-menu .portfolio-nav {
    display: grid;
  }

  .mobile-menu .portfolio-subnav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 0 14px;
    border-left: 0;
  }

  .mobile-menu .portfolio-subnav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(242, 240, 235, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(185, 192, 195, 0.75);
  }

  .mobile-menu .portfolio-subnav a.active {
    border-color: rgba(139, 205, 242, 0.28);
    color: var(--primary);
    background: rgba(139, 205, 242, 0.065);
  }

  .mobile-menu > a:last-child {
    grid-template-columns: 1fr auto;
    min-height: 54px;
    margin-top: 12px;
    padding: 9px 14px;
    border: 1px solid rgba(139, 205, 242, 0.3);
    border-radius: 12px;
    color: var(--primary-ink);
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  }

  .mobile-menu > a:last-child::before,
  .mobile-menu > a:last-child::after {
    color: rgba(11, 42, 58, 0.64);
  }

  .home-page .hero {
    align-items: flex-start;
    padding-top: calc(112px + env(safe-area-inset-top));
  }

  :is(.home-page, .services-page) .service-bento {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 350px);
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 3px var(--gutter) 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  :is(.home-page, .services-page) .service-bento::-webkit-scrollbar {
    display: none;
  }

  :is(.home-page, .services-page) .service-bento > .service-card,
  :is(.home-page, .services-page) .service-bento > .service-cta {
    grid-column: auto;
    grid-row: 1;
    width: 100%;
    height: 390px;
    min-height: 390px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  :is(.home-page, .services-page) .service-bento .card-content,
  :is(.home-page, .services-page) .service-bento .service-flat .card-content,
  :is(.home-page, .services-page) .service-bento .service-cta .card-content {
    justify-content: flex-end;
    padding: 26px;
  }

  :is(.home-page, .services-page) .service-bento .display-sm {
    max-width: 12ch;
  }

  .service-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 10px 0 28px;
    color: rgba(185, 192, 195, 0.68);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .service-swipe-track {
    position: relative;
    width: 38px;
    height: 1px;
    overflow: visible;
    background: rgba(139, 205, 242, 0.28);
  }

  .service-swipe-track span {
    position: absolute;
    top: -2px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(139, 205, 242, 0.55);
    animation: service-swipe-dot 1.8s ease-in-out infinite;
  }

  :is(.home-page, .services-page) .service-bento.is-swipe-cue > .service-card:first-child {
    animation: service-card-nudge 1.45s cubic-bezier(0.22, 1, 0.36, 1) 2;
  }
}

@keyframes service-swipe-dot {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }

  50% {
    transform: translateX(33px);
    opacity: 1;
  }
}

@keyframes service-card-nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  45% {
    transform: translateX(-11px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-swipe-track span,
  :is(.home-page, .services-page) .service-bento.is-swipe-cue > .service-card:first-child {
    animation: none;
  }
}

@media (max-width: 360px) {
  .service-bento .service-card,
  .service-bento .service-cta {
    height: 480px;
    min-height: 480px;
  }
}

/* Live-matched project galleries and accessible full-screen image viewer. */
.project-gallery-grid-complete {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-gallery-grid-complete .project-gallery-card,
.project-gallery-grid-complete .project-gallery-card.featured,
.project-gallery-grid-complete .project-gallery-card.wide,
.project-gallery-grid-complete .project-gallery-card.tall {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 240, 235, 0.08);
  border-radius: 22px;
  background: #0b0f12;
}

.project-gallery-card img,
.project-gallery-card:hover img {
  object-fit: cover;
  filter: none;
}

.project-gallery-card img.is-viewable,
.project-detail-visual img.is-viewable {
  cursor: zoom-in;
}

.project-gallery-card img.is-viewable:focus-visible,
.project-detail-visual img.is-viewable:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -4px;
}

.project-gallery-card:has(img.is-viewable)::before,
.project-detail-visual:has(img.is-viewable)::before {
  content: "↗";
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(242, 240, 235, 0.2);
  border-radius: 50%;
  color: rgba(242, 240, 235, 0.92);
  background: rgba(5, 8, 10, 0.6);
  backdrop-filter: blur(10px);
  font-size: 0.88rem;
  pointer-events: none;
}

body.image-viewer-open {
  overflow: hidden;
}

.image-viewer[hidden] {
  display: none;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding:
    max(18px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
}

.image-viewer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(3, 5, 7, 0.94);
  backdrop-filter: blur(18px);
  cursor: zoom-out;
}

.image-viewer-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1120px, 100%);
  height: min(900px, 100%);
  border: 1px solid rgba(242, 240, 235, 0.12);
  border-radius: 24px;
  background: #080c0f;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.image-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 10px 12px 10px 22px;
  border-bottom: 1px solid rgba(242, 240, 235, 0.08);
}

.image-viewer-count {
  color: rgba(242, 240, 235, 0.62);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.image-viewer-close,
.image-viewer-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 240, 235, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.image-viewer-close:hover,
.image-viewer-nav:hover,
.image-viewer-close:focus-visible,
.image-viewer-nav:focus-visible {
  border-color: rgba(155, 214, 246, 0.56);
  color: var(--primary);
  background: rgba(155, 214, 246, 0.08);
}

.image-viewer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}

.image-viewer-stage {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  margin: 0;
}

.image-viewer-image {
  align-self: center;
  justify-self: center;
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  touch-action: pan-y;
  user-select: none;
}

.image-viewer-caption {
  min-height: 48px;
  padding: 13px 74px;
  color: rgba(242, 240, 235, 0.68);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.image-viewer-nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.image-viewer-nav.previous {
  left: 16px;
}

.image-viewer-nav.next {
  right: 16px;
}

@media (max-width: 760px) {
  .project-gallery-grid-complete {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-gallery-grid-complete .project-gallery-card,
  .project-gallery-grid-complete .project-gallery-card.featured,
  .project-gallery-grid-complete .project-gallery-card.wide,
  .project-gallery-grid-complete .project-gallery-card.tall {
    border-radius: 18px;
  }

  .project-gallery-card:has(img.is-viewable)::before,
  .project-detail-visual:has(img.is-viewable)::before {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .image-viewer {
    padding: 0;
  }

  .image-viewer-shell {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .image-viewer-toolbar {
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .image-viewer-caption {
    padding: 12px 64px max(16px, env(safe-area-inset-bottom));
  }

  .image-viewer-nav {
    top: auto;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  .image-viewer-nav.previous {
    left: 12px;
  }

  .image-viewer-nav.next {
    right: 12px;
  }
}

/* ==========================================================================
   Luxury editorial refinement
   A quieter architectural layer shared by every static page.
   ========================================================================== */

:root {
  --bg: #080b0e;
  --bg-soft: #0d1216;
  --surface: rgba(16, 21, 25, 0.78);
  --surface-strong: #10161a;
  --surface-card:
    linear-gradient(155deg, rgba(255, 255, 255, 0.035), transparent 42%),
    linear-gradient(180deg, rgba(19, 25, 29, 0.96), rgba(9, 12, 15, 0.99));
  --text: #f2f0eb;
  --muted: #b9c0c3;
  --subtle: #79848a;
  --line: rgba(242, 240, 235, 0.085);
  --line-strong: rgba(242, 240, 235, 0.16);
  --primary: #8bcdf2;
  --primary-strong: #67b4df;
  --primary-ink: #0b2a3a;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: 1180px;
}

body {
  background:
    radial-gradient(circle at 12% -8%, rgba(139, 205, 242, 0.075), transparent 31rem),
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.025), transparent 28rem),
    linear-gradient(180deg, #0a0e11 0%, #080b0e 48%, #06090b 100%);
  background-color: var(--bg);
}

.page-shell::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at center, black 12%, transparent 76%);
  opacity: 0.24;
}

.display,
.display-md,
.display-sm,
.display-xs,
.hero-title {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: none;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.75rem, 5.7vw, 5.35rem);
}

.display-md {
  font-size: clamp(2.05rem, 3.9vw, 3.65rem);
}

.display-sm {
  font-size: clamp(1.45rem, 2.05vw, 2.25rem);
}

.lede {
  line-height: 1.72;
}

.copy {
  line-height: 1.76;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: 0.27em;
  color: rgba(139, 205, 242, 0.88);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero-chip {
  border: 1px solid rgba(242, 240, 235, 0.07);
  background: rgba(14, 19, 23, 0.66);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-title {
  max-width: 9.5ch;
  font-size: clamp(4rem, 7.4vw, 7.35rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.hero-title span {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.055em;
  color: #9bd6f6;
}

.hero-media img {
  opacity: 0.62;
  object-position: center;
  filter: grayscale(0.36) saturate(0.82) contrast(1.08) brightness(0.64);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 10, 12, 0.6), rgba(7, 10, 12, 0.22) 48%, rgba(7, 10, 12, 0.68)),
    linear-gradient(180deg, rgba(8, 11, 14, 0.12), rgba(8, 11, 14, 0.3) 50%, rgba(6, 9, 11, 0.94));
}

.hero-side-minimal {
  border-left-color: rgba(139, 205, 242, 0.25);
}

.hero-response-note {
  color: rgba(242, 240, 235, 0.52);
}

.nav-shell {
  min-height: 64px;
  padding: 9px 10px 9px 24px;
  border-color: rgba(242, 240, 235, 0.075);
  border-radius: 16px;
  background: rgba(11, 15, 18, 0.74);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.025);
}

.site-header.scrolled .nav-shell {
  background: rgba(10, 14, 17, 0.93);
  box-shadow:
    0 22px 68px rgba(0, 0, 0, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.035);
}

.logo {
  letter-spacing: -0.055em;
}

.nav-links {
  gap: 28px;
}

.nav-links a {
  letter-spacing: 0.13em;
  color: rgba(242, 240, 235, 0.55);
}

.nav-links a::after {
  bottom: -5px;
  height: 1px;
}

.button {
  min-height: 54px;
  padding-inline: 25px;
  border-radius: 14px;
  letter-spacing: 0.17em;
}

.button.primary {
  background: linear-gradient(135deg, #9ad8f7, #70bce6);
  box-shadow:
    0 18px 50px rgba(84, 163, 211, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.34);
}

.button.primary:hover {
  box-shadow:
    0 24px 58px rgba(84, 163, 211, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.38);
}

.button.secondary,
.button.ghost {
  background: rgba(255, 255, 255, 0.018);
  border-color: rgba(242, 240, 235, 0.13);
}

.button.secondary:hover,
.button.ghost:hover {
  border-color: rgba(139, 205, 242, 0.42);
  background: rgba(139, 205, 242, 0.055);
}

.panel,
.card,
.contact-box,
.form-box,
.archive-item {
  border: 1px solid rgba(242, 240, 235, 0.075);
  box-shadow:
    0 26px 78px rgba(0, 0, 0, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.018);
}

.panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.028), transparent 48%),
    rgba(13, 18, 22, 0.72);
}

.card,
.contact-box,
.form-box,
.archive-item {
  background: var(--surface-card);
}

.service-card,
.portfolio-card,
.project-card,
.featured-project {
  border-radius: 22px;
}

.service-card,
.portfolio-card,
.project-card,
.featured-project,
.portfolio-slide-text {
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 420ms ease;
}

.service-card:hover,
.portfolio-card:hover,
.project-card:hover,
.featured-project:hover,
.portfolio-slide-text:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 205, 242, 0.24);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.36),
    inset 0 1px rgba(255, 255, 255, 0.035);
}

.portfolio-card img,
.project-card img,
.featured-project img {
  opacity: 0.7;
  filter: saturate(0.78) contrast(1.06) brightness(0.75);
}

.portfolio-card::after,
.project-card::after,
.featured-project::after {
  background:
    linear-gradient(180deg, rgba(7, 10, 12, 0.04) 8%, rgba(7, 10, 12, 0.18) 44%, rgba(7, 10, 12, 0.94) 100%);
}

.portfolio-card:hover img,
.project-card:hover img,
.featured-project:hover img {
  transform: scale(1.035);
  opacity: 0.86;
}

.card-content {
  padding: 30px;
}

.slide-link {
  color: rgba(155, 214, 246, 0.9);
}

.slide-link::after {
  transition: transform 220ms ease;
}

:where(.portfolio-card, .project-card, .portfolio-slide-text):hover .slide-link::after {
  transform: translateX(5px);
}

.stats-band {
  padding: 52px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.012), transparent 28%, rgba(255, 255, 255, 0.012)),
    rgba(7, 10, 12, 0.84);
  border-color: rgba(242, 240, 235, 0.06);
}

.stat-item {
  min-height: 76px;
  padding: 4px 30px;
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(242, 240, 235, 0.075);
}

.stat-value {
  font-size: clamp(2rem, 3.45vw, 3.15rem);
  font-weight: 700;
  color: #91cfee;
}

.stat-label {
  letter-spacing: 0.22em;
  color: rgba(185, 192, 195, 0.58);
}

.section-divider {
  border-top-color: rgba(242, 240, 235, 0.055);
}

.cta-band {
  position: relative;
  border-top: 1px solid rgba(242, 240, 235, 0.06);
  border-bottom: 1px solid rgba(242, 240, 235, 0.06);
  background:
    radial-gradient(circle at 82% 0%, rgba(139, 205, 242, 0.11), transparent 32rem),
    linear-gradient(180deg, #080b0e 0%, #0d1317 100%);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--gutter), calc((100% - var(--max)) / 2));
  width: 80px;
  height: 1px;
  background: var(--primary);
}

.field input,
.field textarea,
.field select {
  border-color: rgba(242, 240, 235, 0.1);
  border-radius: 12px;
  background: rgba(4, 7, 9, 0.32);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(139, 205, 242, 0.72);
  background: rgba(139, 205, 242, 0.035);
  box-shadow: 0 0 0 3px rgba(139, 205, 242, 0.08);
}

.footer-card {
  border-color: rgba(242, 240, 235, 0.09);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 38%),
    rgba(12, 17, 21, 0.94);
}

.footer-watermark {
  color: rgba(242, 240, 235, 0.075);
}

.whatsapp-fab {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.92);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease;
}

.whatsapp-fab.is-visible {
  opacity: 0.94;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.whatsapp-fab.is-visible:hover {
  transform: translateY(-3px) scale(1.03);
}

.mobile-menu {
  display: none;
  gap: 8px;
  max-height: 0;
  margin-top: 8px;
  padding: 0 22px;
  border-color: transparent;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 320ms ease,
    border-color 220ms ease;
}

.mobile-menu.open {
  display: grid;
  max-height: 640px;
  padding: 20px 22px;
  border-color: rgba(242, 240, 235, 0.075);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu a {
  font-weight: 700;
  text-transform: none;
}

.mobile-menu a.active {
  color: var(--primary);
}

@media (max-width: 1080px) {
  .mobile-menu {
    display: grid;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 94svh;
  }

  .hero-media img {
    object-position: 54% center;
    opacity: 0.56;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 10, 12, 0.5), rgba(7, 10, 12, 0.4) 46%, rgba(6, 9, 11, 0.96)),
      linear-gradient(90deg, rgba(7, 10, 12, 0.36), rgba(7, 10, 12, 0.14), rgba(7, 10, 12, 0.36));
  }

  .hero-title {
    max-width: 10ch;
    margin-inline: auto;
    font-size: clamp(2.85rem, 13.2vw, 4.45rem);
    line-height: 0.94;
  }

  .hero-side-minimal {
    border-top-color: rgba(139, 205, 242, 0.24);
  }

  .eyebrow {
    justify-content: center;
  }

  .page-intro .display,
  .page-intro .display-md,
  .split-grid .display-md {
    margin-inline: auto;
    max-width: 13ch;
  }

  .stats-band {
    padding: 48px 0;
  }

  .stats-grid {
    gap: 0;
  }

  .stat-item {
    min-height: 0;
    padding: 24px 10px;
  }

  .stat-item + .stat-item {
    border-top: 1px solid rgba(242, 240, 235, 0.075);
    border-left: 0;
  }

  .service-bento .service-card,
  .service-bento .service-cta {
    height: 360px;
    min-height: 360px;
  }

  .card-content {
    padding: 24px;
  }

  .whatsapp-fab {
    right: 14px;
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 8px));
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 520px) {
  .button {
    border-radius: 13px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-response-note {
    max-width: 28ch;
    margin-inline: auto;
  }
}

/* Final mobile-menu cascade: a viewport-filling navigation experience. */
@media (max-width: 760px) {
  .mobile-menu {
    display: grid;
    align-content: start;
    width: 100vw;
    min-height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: calc(112px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-color: transparent;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
  }

  .mobile-menu:not(.open) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
  }

  .mobile-menu.open {
    display: grid;
    gap: 0;
    max-height: none;
    padding: calc(112px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-color: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Unified brand-blue treatment for conversion and action buttons. */
:root {
  --cta-color: #2a78a8;
  --cta-hover: #236d96;
  --cta-ink: #ffffff;
}

.button,
.button.primary,
.button.secondary,
.button.ghost,
.contact-link-chip,
.archive-pill {
  color: var(--cta-ink);
  border: 1px solid rgba(130, 205, 253, 0.42);
  background: var(--cta-color);
  box-shadow:
    0 16px 42px rgba(17, 91, 134, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.14);
}

.button:hover,
.button.primary:hover,
.button.secondary:hover,
.button.ghost:hover,
.contact-link-chip:hover,
.archive-pill:hover {
  color: var(--cta-ink);
  border-color: rgba(155, 214, 246, 0.68);
  background: var(--cta-hover);
  box-shadow:
    0 22px 52px rgba(17, 91, 134, 0.4),
    inset 0 1px rgba(255, 255, 255, 0.18);
}

.whatsapp-fab {
  background: var(--cta-color);
  box-shadow: 0 16px 40px rgba(99, 184, 229, 0.3);
}

.whatsapp-fab:hover {
  background: var(--cta-hover);
  box-shadow: 0 22px 48px rgba(99, 184, 229, 0.4);
}

.whatsapp-fab svg {
  fill: var(--cta-ink);
}

@media (max-width: 760px) {
  .mobile-menu > a:last-child {
    color: var(--cta-ink);
    border-color: rgba(189, 230, 251, 0.68);
    background: var(--cta-color);
  }

  .mobile-menu > a:last-child::before,
  .mobile-menu > a:last-child::after {
    color: rgba(7, 31, 46, 0.66);
  }
}

/* Editorial mobile navigation inspired by a premium studio directory. */
@media (max-width: 760px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::before {
    background: #080c0f;
  }

  body.menu-open .site-header {
    z-index: 60;
  }

  body.menu-open .nav-shell {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  body.menu-open .menu-toggle {
    color: var(--text);
    border-color: transparent;
    background: transparent;
    transform: none;
  }

  .mobile-menu,
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    align-content: initial;
    gap: 0;
    padding:
      calc(118px + env(safe-area-inset-top))
      max(29px, var(--gutter))
      calc(28px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 88% 100%, rgba(155, 214, 246, 0.08), transparent 21rem),
      #080c0f;
  }

  .mobile-menu::before {
    display: none;
  }

  .mobile-menu > a,
  .mobile-menu > .portfolio-nav {
    border: 0;
  }

  .mobile-menu > a,
  .mobile-menu > .portfolio-nav > a {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 50px;
    padding: 7px 0;
    color: rgba(242, 240, 235, 0.94);
    font-size: clamp(1.45rem, 6.2vw, 1.72rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.08;
  }

  .mobile-menu > a::after,
  .mobile-menu > .portfolio-nav > a::after {
    content: "→";
    align-self: center;
    color: var(--primary);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-menu > a:hover::after,
  .mobile-menu > a:focus-visible::after,
  .mobile-menu > .portfolio-nav > a:hover::after,
  .mobile-menu > .portfolio-nav > a:focus-visible::after,
  .mobile-menu > a.active::after,
  .mobile-menu > .portfolio-nav > a.active::after {
    content: "→";
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-menu > a.active,
  .mobile-menu > .portfolio-nav > a.active {
    color: var(--primary);
  }

  .mobile-menu .portfolio-nav {
    display: grid;
  }

  .mobile-menu .portfolio-subnav {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    padding: 5px 0 12px;
    border: 0;
  }

  .mobile-menu .portfolio-subnav a {
    justify-content: center;
    min-width: 118px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(242, 240, 235, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(242, 240, 235, 0.78);
    font-size: 0.9rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    transition:
      color 180ms ease,
      border-color 180ms ease,
      background-color 180ms ease;
  }

  .mobile-menu .portfolio-subnav a:hover,
  .mobile-menu .portfolio-subnav a:focus-visible {
    border-color: rgba(155, 214, 246, 0.5);
    color: var(--primary);
    background: rgba(155, 214, 246, 0.07);
  }

  .mobile-menu .portfolio-subnav a.active {
    border-color: rgba(155, 214, 246, 0.42);
    color: var(--primary);
    background: rgba(155, 214, 246, 0.075);
  }

  .mobile-menu > a:last-of-type {
    min-height: 50px;
    margin: 0;
    padding: 7px 0;
    border: 0;
    border-radius: 0;
    color: rgba(242, 240, 235, 0.94);
    background: transparent;
    box-shadow: none;
  }

  .mobile-menu > a:last-of-type::after {
    color: var(--primary);
  }

  .mobile-menu-footer {
    display: grid;
    align-self: end;
    width: 100%;
    gap: 20px;
    margin-top: auto;
    padding-top: clamp(28px, 7vh, 72px);
  }

  .mobile-menu-contact {
    display: grid;
    gap: 5px;
  }

  .mobile-menu-contact a {
    width: fit-content;
    color: rgba(242, 240, 235, 0.88);
    font-size: 0.92rem;
    font-weight: 500;
  }

  .mobile-menu-contact a:first-child {
    font-size: 1.12rem;
    font-weight: 650;
    letter-spacing: -0.02em;
  }

  .mobile-menu-contact a:last-child {
    border-bottom: 1px solid rgba(155, 214, 246, 0.55);
  }

  .mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 52px;
    padding: 12px 18px;
    border: 1px solid rgba(189, 230, 251, 0.68);
    border-radius: 999px;
    color: var(--cta-ink);
    background: var(--cta-color);
    box-shadow: 0 16px 42px rgba(99, 184, 229, 0.2);
    font-size: 0.96rem;
    font-weight: 700;
  }

  .mobile-menu-cta:hover,
  .mobile-menu-cta:focus-visible {
    color: var(--cta-ink);
    background: var(--cta-hover);
  }
}

@media (max-width: 380px), (max-height: 720px) {
  .mobile-menu,
  .mobile-menu.open {
    padding-top: calc(100px + env(safe-area-inset-top));
  }

  .mobile-menu > a,
  .mobile-menu > .portfolio-nav > a {
    min-height: 43px;
    font-size: 1.3rem;
  }

  .mobile-menu-footer {
    gap: 14px;
    padding-top: 20px;
  }

  .mobile-menu-cta {
    min-height: 46px;
  }
}

/* Compact editorial footer on phones; desktop keeps the wider studio directory. */
.footer-invite {
  display: none;
}

@media (max-width: 760px) {
  .site-footer {
    margin-top: 40px;
    padding: 34px 0 92px;
  }

  .footer-card {
    padding: 32px 28px 27px;
    border-radius: 24px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 38%),
      rgba(12, 17, 21, 0.97);
  }

  .footer-invite {
    display: block;
    max-width: 16ch;
    margin-bottom: 34px;
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.48rem, 7vw, 1.82rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.15;
    text-align: left;
  }

  .footer-invite a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .footer-directory {
    order: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 22px;
    width: 100%;
  }

  .footer-brand-block {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .footer-brand-block p {
    display: none;
  }

  .footer-wordmark-logo {
    margin: 0;
  }

  .footer-brand-logo {
    width: 128px;
  }

  .footer-socials {
    flex: 0 0 auto;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
  }

  .footer-socials a {
    width: 44px;
    height: 44px;
  }

  .footer-column,
  .footer-links,
  .footer-nav {
    align-items: flex-start;
    text-align: left;
  }

  .footer-heading {
    margin-bottom: 10px;
    color: rgba(242, 240, 235, 0.9);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .footer-nav,
  .footer-links {
    gap: 8px;
  }

  .footer-nav a,
  .footer-links a,
  .footer-links span {
    color: rgba(184, 194, 202, 0.7);
    font-size: 0.83rem;
    line-height: 1.42;
    text-decoration: none;
  }

  .footer-contact-column {
    grid-column: 1 / -1;
  }

  .footer-contact-column .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer-contact-column .footer-links span {
    max-width: 32ch;
    text-decoration: none;
  }

  .footer-contact-column .footer-links a,
  .footer-contact-column .footer-links span {
    overflow-wrap: anywhere;
  }

  .footer-divider {
    margin: 28px 0 18px;
  }

  .footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 14px;
    text-align: left;
    font-size: 0.7rem;
    line-height: 1.5;
  }

  .footer-legal-links {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px 14px;
  }

  .footer-legal a {
    text-decoration: none;
  }

  .footer-credit {
    color: rgba(184, 194, 202, 0.46);
  }

  .footer-watermark {
    bottom: -11px;
    font-size: 31vw;
    color: rgba(255, 255, 255, 0.055);
  }
}

@media (max-width: 360px) {
  .footer-card {
    padding-inline: 22px;
  }

  .footer-directory {
    gap-inline: 16px;
  }

  .footer-brand-block {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Preserve the live project photography without decorative colour filtering. */
.project-detail-visual img.is-viewable,
.project-detail-visual:hover img.is-viewable {
  opacity: 1;
  filter: none;
}

/* Somerville-inspired contact reveal using PRARC's existing WhatsApp control. */
.whatsapp-fab {
  left: 50%;
  right: auto;
  bottom: -100px;
  width: 60px;
  height: 60px;
  padding: 11px;
  overflow: hidden;
  justify-content: flex-start;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 17, 21, 0.96);
  box-shadow: 0 18px 48px rgba(4, 10, 14, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  will-change: bottom, width, opacity, transform;
  transition:
    bottom 400ms cubic-bezier(0.22, 1, 0.36, 1),
    width 600ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.whatsapp-fab::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cta-color);
  box-shadow: 0 8px 24px rgba(99, 184, 229, 0.22);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease;
}

.whatsapp-fab::after {
  content: "Talk to us  →";
  display: block;
  min-width: 116px;
  margin-left: 50px;
  color: #f2f0eb;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-12px);
  transform-origin: left center;
  transition:
    clip-path 440ms 80ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 440ms 80ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms 80ms ease;
}

.whatsapp-fab svg {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: var(--cta-ink);
}

.whatsapp-fab.is-visible {
  bottom: max(26px, calc(env(safe-area-inset-bottom) + 14px));
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
}

.whatsapp-fab.is-visible.is-expanded {
  width: 190px;
}

.whatsapp-fab.is-visible.is-expanded::after {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateX(0);
}

.whatsapp-fab.is-visible.is-expanded:hover,
.whatsapp-fab.is-visible.is-expanded:focus-visible {
  transform: translateX(-50%) translateY(-3px);
  background: rgba(12, 17, 21, 1);
  border-color: rgba(155, 214, 246, 0.44);
  box-shadow: 0 24px 58px rgba(4, 10, 14, 0.42);
}

.whatsapp-fab.is-visible.is-expanded:hover::before,
.whatsapp-fab.is-visible.is-expanded:focus-visible::before {
  transform: rotate(-5deg) scale(1.06);
  background: var(--cta-hover);
}

@media (max-width: 760px) {
  .whatsapp-fab {
    left: 50%;
    right: auto;
    bottom: -100px;
    width: 56px;
    height: 56px;
    padding: 10px;
  }

  .whatsapp-fab::before {
    left: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
  }

  .whatsapp-fab svg {
    left: 18px;
    top: 18px;
  }

  .whatsapp-fab.is-visible {
    bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  }

  .whatsapp-fab.is-visible.is-expanded {
    width: 174px;
  }

  .whatsapp-fab::after {
    min-width: 105px;
    margin-left: 46px;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab,
  .whatsapp-fab::before,
  .whatsapp-fab::after {
    transition: none;
  }

  .whatsapp-fab.is-visible.is-expanded:hover,
  .whatsapp-fab.is-visible.is-expanded:focus-visible {
    transform: translateX(-50%);
  }

  .whatsapp-fab.is-visible.is-expanded:hover::before,
  .whatsapp-fab.is-visible.is-expanded:focus-visible::before {
    transform: none;
  }
}

/* Editorial trust rail */
.stats-band {
  padding: clamp(72px, 8vw, 116px) 0 clamp(58px, 7vw, 92px);
  background:
    radial-gradient(circle at 8% 8%, rgba(130, 205, 253, 0.075), transparent 28%),
    rgba(7, 10, 12, 0.9);
}

.trust-shell {
  max-width: 1180px;
}

.trust-intro {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.trust-intro .display-md {
  max-width: 750px;
  margin-top: 18px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(242, 240, 235, 0.13);
  border-bottom: 1px solid rgba(242, 240, 235, 0.13);
}

.stat-item,
.stat-item + .stat-item {
  position: relative;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 3vw, 40px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  transform: none;
  animation: none;
  transition: background 280ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  padding-right: 0;
}

.stat-item + .stat-item::before {
  position: absolute;
  inset: 24px auto 24px 0;
  width: 1px;
  content: "";
  background: rgba(242, 240, 235, 0.11);
}

.stat-item::after {
  display: none;
}

.stat-value {
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.stat-label {
  max-width: none;
  margin: 12px 0 0;
  color: var(--subtle);
  font-size: 0.7rem;
  letter-spacing: 0.17em;
  line-height: 1.35;
}

.trust-response {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  color: var(--subtle);
}

.trust-response p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.trust-response strong {
  color: var(--text);
  font-weight: 650;
}

.trust-response-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(130, 205, 253, 0.1);
}

@media (hover: hover) and (pointer: fine) {
  .stat-item:hover {
    z-index: 1;
    background: linear-gradient(180deg, rgba(130, 205, 253, 0.07), transparent);
    transform: translateY(-3px);
  }
}

@media (max-width: 760px) {
  .stats-band {
    padding: 60px 0 48px;
  }

  .trust-intro {
    margin-bottom: 32px;
    text-align: left;
  }

  .trust-intro .display-md {
    max-width: 10ch;
    margin-inline: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
    padding-inline: 0;
  }

  .stat-item,
  .stat-item + .stat-item {
    padding: 25px 12px 24px;
    text-align: left;
  }

  .stat-item:first-child {
    padding-left: 0;
  }

  .stat-item:last-child {
    padding-right: 0;
  }

  .stat-item + .stat-item {
    border-top: 0;
  }

  .stat-value {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .stat-label {
    margin-top: 10px;
    font-size: clamp(0.5rem, 2.1vw, 0.62rem);
    letter-spacing: 0.1em;
  }

  .trust-response {
    align-items: flex-start;
    margin-top: 22px;
  }

  .trust-response p {
    font-size: 0.78rem;
  }

  .trust-response-dot {
    margin-top: 5px;
  }
}

@media (max-width: 360px) {
  .stat-item,
  .stat-item + .stat-item {
    padding-inline: 8px;
  }

  .stat-item:first-child {
    padding-left: 0;
  }

  .stat-item:last-child {
    padding-right: 0;
  }
}

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

/* Demand-page navigation: keep the main menu compact while exposing services. */
.nav-links .services-nav {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links .services-subnav {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  width: min(520px, calc(100vw - 48px));
  padding: 20px;
  gap: 22px;
  border: 1px solid rgba(242, 240, 235, 0.1);
  border-radius: 18px;
  background: rgba(10, 14, 17, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  opacity: 0;
  pointer-events: none;
  transform: translate(-58%, -7px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links .services-nav:hover .services-subnav,
.nav-links .services-nav:focus-within .services-subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-58%, 0);
}

.services-subnav-group {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
}

.services-subnav-heading {
  margin-bottom: 7px;
  color: var(--primary);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-links .services-subnav a {
  padding: 8px 0;
  color: rgba(242, 240, 235, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}

.nav-links .services-subnav a:hover,
.nav-links .services-subnav a:focus-visible,
.nav-links .services-subnav a.active {
  color: var(--text);
}

@media (max-width: 760px) {
  .mobile-menu > .services-nav {
    position: static;
    display: grid;
    width: 100%;
    border: 0;
  }

  .mobile-menu .services-toggle {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 7px 0;
    border: 0;
    color: rgba(242, 240, 235, 0.94);
    background: transparent;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.45rem, 6.2vw, 1.72rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.08;
    text-align: left;
    cursor: pointer;
  }

  .mobile-menu .services-toggle.active {
    color: var(--primary);
  }

  .services-toggle-icon {
    color: var(--primary);
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    transition: transform 180ms ease;
  }

  .mobile-services-nav.is-open .services-toggle-icon {
    transform: rotate(45deg);
  }

  .mobile-menu .services-subnav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 8px 0 16px;
    gap: 14px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-menu .services-subnav[hidden] {
    display: none;
  }

  .mobile-menu .services-overview-link {
    grid-column: 1 / -1;
    width: fit-content;
    min-height: 38px;
    padding: 8px 0;
    color: rgba(242, 240, 235, 0.82);
    font-size: 0.88rem;
    font-weight: 650;
  }

  .mobile-menu .services-subnav-group {
    gap: 0;
  }

  .mobile-menu .services-subnav-heading {
    margin-bottom: 5px;
  }

  .mobile-menu .services-subnav-group a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 7px 0;
    color: rgba(242, 240, 235, 0.7);
    font-size: 0.84rem;
    font-weight: 550;
    line-height: 1.25;
  }

  .mobile-menu .services-subnav-group a.active,
  .mobile-menu .services-subnav-group a:hover,
  .mobile-menu .services-subnav-group a:focus-visible {
    color: var(--primary);
  }

  .footer-content,
  .footer-directory,
  .footer-column,
  .footer-links {
    min-width: 0;
  }

  .footer-directory > .footer-column:last-child {
    grid-column: 1 / -1;
    width: 100%;
  }

  .footer-directory > .footer-column:last-child .footer-links a,
  .footer-directory > .footer-column:last-child .footer-links span {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links .services-subnav,
  .services-toggle-icon {
    transition: none;
  }
}
