/* =====================================================================
   SSBPL - Shashwat Samya Buildcon
   All styles for the website (plain CSS, no frameworks)
   ===================================================================== */

:root {
  --ssbl-navy: #0a1f3d;
  --ssbl-navy-deep: #071629;
  --ssbl-navy-soft: #173755;
  --ssbl-ink: #202326;
  --ssbl-gold: #b8923a;
  --ssbl-gold-light: #d9c590;
  --ssbl-orange: #d97736;
  --ssbl-paper: #f7f5f0;
  --ssbl-mist: #f1f4f8;
  --ssbl-muted: #647181;
  --ssbl-line: rgba(10, 31, 61, 0.13);
  --ssbl-serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ssbl-sans: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: clip;
  background: var(--ssbl-paper);
}

body {
  margin: 0;
  background: var(--ssbl-paper);
  color: var(--ssbl-ink);
  font-family: var(--ssbl-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid var(--ssbl-orange);
  outline-offset: 4px;
}

::selection {
  background: rgba(184, 146, 58, 0.24);
  color: var(--ssbl-navy-deep);
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: clamp(76px, 9vw, 132px);
  scroll-margin-top: 88px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ssbl-gold);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--ssbl-gold-light);
}

.section-heading {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-heading--wide {
  max-width: 760px;
}

.section-heading--center {
  margin-inline: auto;
  max-width: 720px;
  text-align: center;
}

.section-title {
  margin: 0;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: clamp(2.4rem, 4.8vw, 4.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.section-title--light {
  color: #fff;
}

.section-intro {
  margin: 22px 0 0;
  color: var(--ssbl-muted);
  font-size: 1rem;
  line-height: 1.82;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 21px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button svg,
.text-link svg,
.hero-scroll-cue svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

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

.button:hover svg,
.text-link:hover svg {
  transform: translate(2px, -2px);
}

.button--accent {
  background: var(--ssbl-orange);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}

.button--accent:hover {
  background: #c7662d;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.button--quiet {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.button--quiet:hover {
  border-color: var(--ssbl-gold-light);
  background: rgba(255, 255, 255, 0.07);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--ssbl-gold);
  padding: 5px 0;
  color: var(--ssbl-navy);
  font-size: 0.9rem;
  font-weight: 750;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  border-color: var(--ssbl-orange);
  color: var(--ssbl-orange);
}

.scroll-reveal {
  transition: opacity 720ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 720ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-armed:not(.is-visible) {
  opacity: 0;
  transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 22px), 0) scale(var(--reveal-scale, 1));
}

.scroll-reveal--left {
  --reveal-x: -34px;
  --reveal-y: 0;
}

.scroll-reveal--right {
  --reveal-x: 34px;
  --reveal-y: 0;
}

.scroll-reveal--up {
  --reveal-y: 22px;
}

.scroll-reveal--pop {
  --reveal-y: 10px;
  --reveal-scale: 0.96;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(10, 31, 61, 0.09);
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-header__brand {
  display: flex;
  width: 190px;
  flex: 0 0 auto;
  align-items: center;
}

.site-header__brand img {
  width: 100%;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #26364a;
  font-size: 0.86rem;
  font-weight: 650;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--ssbl-orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ssbl-orange);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header__menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ssbl-line);
  border-radius: 4px;
  background: transparent;
  color: var(--ssbl-navy);
  cursor: pointer;
}

.site-header__menu-toggle svg {
  width: 21px;
  height: 21px;
}

/* Hero */
.hero-section {
  position: relative;
  display: flex;
  min-height: min(900px, 100svh);
  align-items: center;
  overflow: hidden;
  padding: 130px 0 84px;
  background: var(--ssbl-navy);
  color: #fff;
  isolation: isolate;
}

.hero-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 82% 18%, rgba(184, 146, 58, 0.12), transparent 36%);
  content: "";
}

.hero-section__grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-position: center center;
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  opacity: 0.45;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
}

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

.hero-copy .eyebrow {
  margin-bottom: 26px;
}

.hero-title {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-family: var(--ssbl-serif);
  font-size: clamp(3.4rem, 6.3vw, 6.3rem);
  font-weight: 500;
  letter-spacing: -0.062em;
  line-height: 0.99;
}

.hero-title span {
  color: var(--ssbl-gold-light);
}

.hero-rule {
  display: flex;
  width: 112px;
  height: 1px;
  align-items: center;
  margin: 31px 0 20px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-rule span {
  width: 36px;
  height: 2px;
  background: var(--ssbl-orange);
}

.hero-subline {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.3vw, 1.11rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero-illustration {
  position: relative;
  width: min(100%, 560px);
  justify-self: end;
}

.architectural-doodle {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.architectural-doodle__path {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  animation: architectural-doodle-draw var(--doodle-duration, 0.7s) linear var(--doodle-delay, 0s) forwards;
}

.architectural-doodle__path--outline {
  stroke: rgba(236, 230, 216, 0.92);
  stroke-width: 1.55;
}

.architectural-doodle__path--detail {
  stroke: var(--ssbl-gold-light);
  stroke-width: 1.2;
  opacity: 0.9;
}

.architectural-doodle__path--accent {
  stroke: var(--ssbl-orange);
  stroke-width: 1.45;
}

.architectural-doodle__path--ground {
  --doodle-duration: 0.52s;
  --doodle-delay: 0.12s;
  stroke: rgba(236, 230, 216, 0.52);
  stroke-width: 1.25;
}

.architectural-doodle__path--outline-left {
  --doodle-duration: 0.82s;
  --doodle-delay: 0.35s;
}

.architectural-doodle__path--detail-left {
  --doodle-duration: 0.5s;
  --doodle-delay: 1.08s;
}

.architectural-doodle__path--outline-midleft {
  --doodle-duration: 0.88s;
  --doodle-delay: 1.42s;
}

.architectural-doodle__path--detail-midleft {
  --doodle-duration: 0.5s;
  --doodle-delay: 2.18s;
}

.architectural-doodle__path--outline-center {
  --doodle-duration: 1s;
  --doodle-delay: 2.52s;
}

.architectural-doodle__path--detail-center {
  --doodle-duration: 0.55s;
  --doodle-delay: 3.42s;
}

.architectural-doodle__path--accent-center {
  --doodle-duration: 0.3s;
  --doodle-delay: 3.55s;
}

.architectural-doodle__path--outline-midright {
  --doodle-duration: 0.85s;
  --doodle-delay: 3.82s;
}

.architectural-doodle__path--detail-midright {
  --doodle-duration: 0.55s;
  --doodle-delay: 4.58s;
}

.architectural-doodle__path--outline-right {
  --doodle-duration: 0.92s;
  --doodle-delay: 4.96s;
}

.architectural-doodle__path--detail-right {
  --doodle-duration: 0.68s;
  --doodle-delay: 5.85s;
}

@keyframes architectural-doodle-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - 1200px) / 2));
  bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll-cue svg {
  transform: rotate(90deg);
}

.hero-scroll-cue:hover {
  color: var(--ssbl-gold-light);
}

/* Why choose us */
.why-section {
  background: #fff;
}

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

.strength-card {
  min-height: 225px;
  border: 1px solid rgba(10, 31, 61, 0.1);
  background: #fff;
  padding: 25px 25px 27px;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.strength-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 146, 58, 0.56);
  box-shadow: 0 18px 44px rgba(10, 31, 61, 0.08);
}

.strength-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.strength-card__number,
.service-card__number {
  color: var(--ssbl-gold);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.strength-card__icon,
.service-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(184, 146, 58, 0.4);
  border-radius: 50%;
  color: var(--ssbl-gold);
}

.strength-card__icon svg,
.service-card__icon svg {
  width: 19px;
  height: 19px;
}

.strength-card h3 {
  margin: 0 0 8px;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: 1.48rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.strength-card p {
  margin: 0;
  color: var(--ssbl-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* About */
.about-section {
  overflow: hidden;
  background: var(--ssbl-navy);
  color: #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(45px, 7vw, 100px);
}

.about-copy {
  padding-top: 5px;
}

.about-copy .section-title {
  margin-bottom: 26px;
}

.about-copy__paragraph {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.85;
}

.about-copy__strapline {
  display: inline-flex;
  border-left: 2px solid var(--ssbl-orange);
  padding: 2px 0 2px 16px;
  margin: 8px 0 0;
  color: var(--ssbl-gold-light);
  font-family: var(--ssbl-serif);
  font-size: 1.35rem;
  font-style: italic;
}

.about-panels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vision-panel {
  border: 1px solid rgba(217, 197, 144, 0.35);
  background: rgba(255, 255, 255, 0.055);
  padding: clamp(23px, 3vw, 36px);
}

.vision-panel__heading,
.mission-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.vision-panel__heading .eyebrow,
.mission-panel__heading .eyebrow {
  margin-bottom: 0;
}

.vision-panel__heading svg {
  width: 18px;
  height: 18px;
  color: var(--ssbl-gold-light);
}

.vision-panel > p {
  max-width: 560px;
  margin: 22px 0 0;
  color: #fff;
  font-family: var(--ssbl-serif);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.25;
}

.mission-panel {
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: clamp(23px, 3vw, 36px);
}

.mission-panel__rule {
  width: 52px;
  height: 1px;
  background: var(--ssbl-gold);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 25px;
  margin-top: 28px;
}

.mission-point {
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: start;
  gap: 10px;
}

.mission-point__number {
  padding-top: 2px;
  color: var(--ssbl-gold-light);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.mission-point h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.mission-point p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
  line-height: 1.65;
}

/* At a glance */
.glance-section {
  background: var(--ssbl-mist);
}

.glance-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
  gap: clamp(32px, 6vw, 88px);
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.glance-heading {
  margin: 0;
}

.glance-heading .eyebrow {
  margin-bottom: 15px;
}

.glance-heading .section-title {
  margin-bottom: 0;
}

.glance-statement {
  max-width: 500px;
  margin: 0 0 7px auto;
  border-left: 2px solid var(--ssbl-gold);
  padding: 4px 0 4px 24px;
}

.glance-statement p {
  margin: 0;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  line-height: 1.35;
}

.glance-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid rgba(10, 31, 61, 0.16);
}

.glance-stat-wrap {
  display: flex;
  min-width: 0;
  min-height: 162px;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(14px, 1.8vw, 25px) 25px;
}

.glance-stat-wrap + .glance-stat-wrap {
  border-left: 1px solid rgba(10, 31, 61, 0.14);
}

.glance-stat__label {
  max-width: 190px;
  margin: 0;
  color: #536273;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1.55;
  text-transform: uppercase;
}

.glance-stat__value {
  margin: 0;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: clamp(2.8rem, 4.2vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.glance-capabilities {
  padding-top: 25px;
  margin-top: 24px;
  border-top: 1px solid rgba(10, 31, 61, 0.14);
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 9px;
}

.capability-tag {
  display: inline-flex;
  min-height: 36px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(10, 31, 61, 0.15);
  background: rgba(255, 255, 255, 0.56);
  padding: 7px 11px;
  color: #34485f;
  font-size: 0.72rem;
  font-weight: 650;
}

.capability-tag svg {
  width: 13px;
  height: 13px;
  color: var(--ssbl-gold);
}

/* Services */
.services-section {
  background: var(--ssbl-paper);
}

.service-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 8vw, 100px);
}

.service-group__heading {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 24px;
}

.service-group__index {
  color: var(--ssbl-gold);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.service-group__heading h3 {
  margin: 0;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.service-group__line {
  height: 1px;
  flex: 1;
  margin-left: 10px;
  background: linear-gradient(90deg, rgba(184, 146, 58, 0.5), transparent);
}

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

.service-card {
  display: flex;
  min-height: 256px;
  flex-direction: column;
  border: 1px solid rgba(10, 31, 61, 0.1);
  background: #fff;
  padding: 20px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 146, 58, 0.55);
  box-shadow: 0 18px 42px rgba(10, 31, 61, 0.08);
}

.service-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.service-card__icon {
  width: 38px;
  height: 38px;
}

.service-card h4 {
  margin: 0 0 10px;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.service-card p {
  margin: 0;
  color: var(--ssbl-muted);
  font-size: 0.79rem;
  line-height: 1.7;
}

/* Prestigious projects */
.prestigious-section {
  background: #fff;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6.5vw, 82px);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
}

.project-row--reversed .project-row__visual {
  order: 2;
}

.project-row--reversed .project-row__content {
  order: 1;
}

.project-image {
  position: relative;
  aspect-ratio: 1.45;
  overflow: hidden;
  background: #e6e9ed;
  box-shadow: 0 22px 50px rgba(10, 31, 61, 0.14);
}

.project-image img,
.project-detail__image img {
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-row:hover .project-image img {
  transform: scale(1.035);
}

.project-image__number {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 13px;
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(10, 31, 61, 0.76);
  color: #fff;
  font-family: var(--ssbl-serif);
  font-size: 1.12rem;
}

.project-row__content {
  max-width: 540px;
}

.project-row__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--ssbl-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-row__title {
  margin: 0;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: clamp(2.1rem, 3.4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.07;
}

.project-row__location,
.project-detail__location,
.gallery-dialog__location {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 14px 0 0;
  color: #697687;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.5;
}

.project-row__location svg,
.project-detail__location svg,
.gallery-dialog__location svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--ssbl-gold);
}

.project-row__description {
  margin: 20px 0 0;
  color: #536174;
  font-size: 0.89rem;
  line-height: 1.8;
}

.project-row__scope {
  margin-top: 24px;
}

.project-row__scope h4 {
  margin: 0 0 12px;
  color: var(--ssbl-navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-row__scope ul,
.project-detail__scope ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-row__scope li,
.project-detail__scope li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(10, 31, 61, 0.1);
  background: var(--ssbl-paper);
  padding: 7px 9px;
  color: #536174;
  font-size: 0.7rem;
  line-height: 1.35;
}

.project-row__scope li svg,
.project-detail__scope li svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--ssbl-gold);
}

.project-row__content > .text-link {
  margin-top: 22px;
}

/* Trusted by */
.trusted-section {
  overflow: hidden;
  background: var(--ssbl-mist);
}

.trust-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding-block: 24px;
  border-top: 1px solid rgba(10, 31, 61, 0.13);
}

.trust-row:last-child {
  border-bottom: 1px solid rgba(10, 31, 61, 0.13);
}

.trust-row > h3 {
  margin: 0;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.trust-marquee,
.trust-marquee__viewport {
  min-width: 0;
}

.trust-marquee__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.trust-marquee__track,
.trust-marquee__group {
  display: flex;
  width: max-content;
  align-items: center;
}

.trust-marquee__track {
  animation-duration: 38s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-play-state: paused;
}

.trust-marquee.is-visible .trust-marquee__track {
  animation-play-state: running;
}

.trust-marquee--clients .trust-marquee__track {
  animation-name: ssbl-marquee-left;
}

.trust-marquee--partners .trust-marquee__track {
  animation-name: ssbl-marquee-right;
  animation-duration: 32s;
}

.trust-marquee__group {
  flex: 0 0 auto;
  gap: 12px;
  padding-right: 12px;
}

.trust-item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 31, 61, 0.1);
  background: #fff;
}

.trust-marquee.is-visible .trust-item {
  animation: trust-item-pop 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--item-index, 0) * 22ms);
}

.trust-item--client {
  width: 182px;
  min-height: 76px;
  padding: 12px 17px;
  color: #3b4c60;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.trust-item--partner {
  width: 190px;
  height: 82px;
  padding: 12px 18px;
}

.trust-item--partner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes ssbl-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ssbl-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes trust-item-pop {
  from { opacity: 0.65; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Talk to SSBPL and footer */
.contact-strip {
  scroll-margin-top: 82px;
  background: var(--ssbl-navy-soft);
  color: #fff;
}

.contact-strip__inner {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(35px, 6vw, 80px);
  padding-block: clamp(44px, 6vw, 72px);
}

.contact-strip__heading .eyebrow {
  margin-bottom: 12px;
}

.contact-strip__heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--ssbl-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.contact-strip__heading > p:last-child {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

.contact-strip__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.contact-method {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
}

.contact-method--address {
  font-style: normal;
}

.contact-method__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(217, 197, 144, 0.42);
  color: var(--ssbl-gold-light);
}

.contact-method__icon svg {
  width: 15px;
  height: 15px;
}

.contact-method > span:last-child,
.contact-method--social > span:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-method small {
  margin-bottom: 4px;
  color: var(--ssbl-gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-method strong {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.55;
  transition: color 180ms ease;
}

.contact-method[href]:hover strong {
  color: var(--ssbl-gold-light);
}

.contact-method--social {
  align-items: center;
  justify-content: space-between;
}

.social-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(217, 197, 144, 0.4);
  border-radius: 50%;
  color: var(--ssbl-gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.site-footer {
  background: var(--ssbl-navy-deep);
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(125px, 0.7fr));
  gap: clamp(25px, 5vw, 70px);
  padding-block: clamp(50px, 7vw, 84px) 52px;
}

.footer-brand__logo {
  display: inline-flex;
  width: 190px;
  margin-bottom: 17px;
}

.footer-brand__logo img {
  width: 100%;
  height: 66px;
  object-fit: contain;
}

.footer-brand > p {
  max-width: 350px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--ssbl-serif);
  font-size: 1.03rem;
  line-height: 1.68;
}

.footer-column h3 {
  margin: 3px 0 19px;
  color: var(--ssbl-gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li,
.footer-column a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  line-height: 1.55;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-column--social .social-marks {
  gap: 7px;
}

.footer-column--social .social-mark {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.76);
}

.footer-column--social > p {
  max-width: 175px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  line-height: 1.55;
}

.site-footer__bottom {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

/* Additional project gallery */
.gallery-hero {
  position: relative;
  overflow: hidden;
  padding: 155px 0 76px;
  background: var(--ssbl-navy);
  color: #fff;
}

.gallery-hero::after {
  position: absolute;
  top: -160px;
  right: -95px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(217, 197, 144, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(217, 197, 144, 0.03), 0 0 0 90px rgba(217, 197, 144, 0.025);
  content: "";
  pointer-events: none;
}

.gallery-hero__inner {
  position: relative;
  z-index: 1;
}

.gallery-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-family: var(--ssbl-serif);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.gallery-hero__inner > div > p:last-child {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.gallery-section {
  overflow: hidden;
  background: var(--ssbl-paper);
}

.additional-projects-section {
  overflow: hidden;
  background: var(--ssbl-mist);
}

.additional-projects__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.additional-projects__heading .section-heading {
  margin: 0;
}

.additional-projects__action {
  flex: 0 0 auto;
  padding-bottom: 7px;
}

.gallery-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.gallery-carousel__controls > p {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin: 0;
  color: #6a7787;
  font-size: 0.78rem;
  font-weight: 650;
}

.gallery-carousel__position {
  color: #8a95a2;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.gallery-carousel__controls > p > span {
  margin-right: 5px;
  color: var(--ssbl-gold);
  font-family: var(--ssbl-serif);
  font-size: 1.35rem;
}

.gallery-carousel__arrows {
  display: flex;
  gap: 8px;
}

.carousel-arrow,
.gallery-dialog__close {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(10, 31, 61, 0.18);
  background: #fff;
  color: var(--ssbl-navy);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.carousel-arrow:hover,
.gallery-dialog__close:hover {
  transform: translateY(-2px);
  border-color: var(--ssbl-gold);
  background: var(--ssbl-navy);
  color: #fff;
}

.carousel-arrow svg,
.gallery-dialog__close svg {
  width: 19px;
  height: 19px;
}

.gallery-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grab;
  touch-action: pan-x pan-y;
}

.gallery-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.gallery-carousel__viewport:active {
  cursor: grabbing;
}

.gallery-carousel__track,
.gallery-carousel__set {
  display: flex;
  width: max-content;
  align-items: stretch;
}

.gallery-carousel__set {
  flex: 0 0 auto;
  gap: 18px;
  padding-right: 18px;
}

.gallery-card {
  display: flex;
  width: clamp(278px, 30vw, 370px);
  flex: 0 0 auto;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(10, 31, 61, 0.12);
  background: #fff;
  padding: 0;
  color: inherit;
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 146, 58, 0.55);
  box-shadow: 0 20px 45px rgba(10, 31, 61, 0.12);
}

.gallery-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1.42;
  overflow: hidden;
  background: #e8ebef;
}

.gallery-card__image img {
  object-fit: cover;
  transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-card__image--contain {
  background: #fff;
}

.gallery-card__image--contain img {
  padding: 8px;
  object-fit: contain;
}

.gallery-card:hover .gallery-card__image img {
  transform: scale(1.035);
}

.project-status {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 22, 41, 0.78);
  padding: 4px 9px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.project-status--complete {
  background: rgba(10, 31, 61, 0.8);
}

.project-status--active {
  background: rgba(145, 85, 38, 0.88);
}

.gallery-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 19px 17px;
}

.gallery-card__location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ssbl-gold);
  font-size: 0.68rem;
  font-weight: 700;
}

.gallery-card__location svg {
  width: 13px;
  height: 13px;
}

.gallery-card__title {
  display: block;
  margin-top: 7px;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: 1.5rem;
  line-height: 1.15;
}

.gallery-card__work {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.7em;
  margin-top: 10px;
  color: #647181;
  font-size: 0.74rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gallery-card__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: var(--ssbl-navy);
  font-size: 0.72rem;
  font-weight: 750;
}

.gallery-card__action svg {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.gallery-card:hover .gallery-card__action svg {
  transform: translateX(3px);
}

.gallery-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(940px, calc(100% - 32px));
  max-width: 940px;
  height: fit-content;
  max-height: 90vh;
  overflow: auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ssbl-ink);
}

.gallery-dialog::backdrop {
  background: rgba(4, 13, 26, 0.72);
  backdrop-filter: blur(4px);
}

.gallery-dialog__surface {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  overflow: hidden;
  background: var(--ssbl-paper);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.3);
}

.gallery-dialog__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
}

.gallery-dialog__image {
  position: relative;
  min-height: 460px;
  background: #e8ebef;
}

.gallery-dialog__image img {
  object-fit: contain;
}

.gallery-dialog__content {
  padding: clamp(26px, 4vw, 45px);
}

.gallery-dialog__content .eyebrow {
  margin-top: 24px;
}

.gallery-dialog__content h2 {
  margin: 0;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.gallery-dialog__location {
  margin-top: 12px;
}

.gallery-dialog__fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 29px;
}

.gallery-dialog__fields > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid rgba(10, 31, 61, 0.13);
  padding-top: 12px;
}

.gallery-dialog__fields span {
  color: var(--ssbl-gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gallery-dialog__fields strong,
.gallery-dialog__fields p {
  margin: 0;
  color: #48596c;
  font-size: 0.86rem;
  font-weight: 550;
  line-height: 1.65;
}

/* Prestigious project detail pages */
.project-detail-page {
  min-height: 65vh;
  background: #fff;
  padding: 118px 0 110px;
}

.project-detail-shell {
  max-width: 1160px;
}

.back-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  padding: 0;
  margin-bottom: 30px;
  color: #607084;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.back-link:hover {
  transform: translateX(-3px);
  color: var(--ssbl-orange);
}

.back-link svg {
  width: 17px;
  height: 17px;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
}

.project-detail__image {
  position: relative;
  aspect-ratio: 1.35;
  overflow: hidden;
  background: #e6e9ed;
  box-shadow: 0 24px 55px rgba(10, 31, 61, 0.15);
}

.project-detail__content h1 {
  margin: 0;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: clamp(2.8rem, 5.2vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.project-detail__description {
  margin: 24px 0 0;
  color: #536174;
  font-size: 0.96rem;
  line-height: 1.85;
}

.project-detail__scope {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  border-top: 1px solid rgba(10, 31, 61, 0.12);
  padding-top: 30px;
  margin-top: clamp(42px, 7vw, 76px);
}

.project-detail__scope .eyebrow {
  margin-bottom: 8px;
}

.project-detail__scope h2 {
  margin: 0;
  color: var(--ssbl-navy);
  font-family: var(--ssbl-serif);
  font-size: 1.9rem;
  font-weight: 500;
}

.project-detail__scope ul {
  gap: 10px;
}

.project-detail__scope li {
  background: var(--ssbl-paper);
  padding: 10px 12px;
  font-size: 0.78rem;
}

/* Responsive layouts */
@media (max-width: 1050px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: 45px;
  }

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

  .project-row {
    gap: 38px;
  }

  .site-footer__main {
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(110px, 0.7fr));
    gap: 28px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 36px, 720px);
  }

  .site-header__inner {
    min-height: 74px;
  }

  .site-header__brand {
    width: 168px;
  }

  .site-header__brand img {
    height: 56px;
  }

  .site-header__menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    border: 1px solid rgba(10, 31, 61, 0.12);
    background: var(--ssbl-paper);
    padding: 8px;
    box-shadow: 0 20px 40px rgba(10, 31, 61, 0.12);
  }

  .site-nav--open {
    display: block;
  }

  .site-nav__list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: flex;
    min-height: 48px;
    padding: 0 12px;
  }

  .site-nav a::after {
    right: auto;
    bottom: 6px;
    left: 12px;
    width: 35px;
  }

  .hero-section {
    min-height: auto;
    padding: 128px 0 88px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

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

  .hero-title {
    max-width: 760px;
    font-size: clamp(3.25rem, 10vw, 5.2rem);
  }

  .hero-illustration {
    width: min(100%, 720px);
    justify-self: center;
  }

  .hero-scroll-cue {
    right: 20px;
    bottom: 20px;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .glance-heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .glance-statement {
    max-width: 620px;
    margin: 0;
  }

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

  .glance-stat-wrap:nth-child(4) {
    border-left: 0;
  }

  .glance-stat-wrap:nth-child(n + 4) {
    border-top: 1px solid rgba(10, 31, 61, 0.14);
  }

  .project-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 25px;
  }

  .project-image {
    aspect-ratio: 1.1;
  }

  .project-row__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .project-row__description {
    font-size: 0.83rem;
  }

  .trust-row {
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 18px;
  }

  .contact-strip__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .additional-projects__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .additional-projects__action {
    padding-bottom: 0;
  }

  .project-detail-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .project-detail__image {
    aspect-ratio: 1.5;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, 480px);
  }

  .section {
    padding-block: 68px;
  }

  .section-title {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .section-intro {
    margin-top: 16px;
    font-size: 0.91rem;
  }

  .hero-section {
    padding-top: 98px;
    padding-bottom: 60px;
  }

  .hero-layout {
    gap: 28px;
  }

  .hero-title {
    font-size: clamp(2.45rem, 11.4vw, 3.55rem);
    letter-spacing: -0.065em;
  }

  .hero-copy .eyebrow {
    max-width: 260px;
    font-size: 0.65rem;
    line-height: 1.6;
  }

  .hero-subline {
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: row;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: auto;
    min-width: 0;
    flex: 1;
    gap: 7px;
    padding-inline: 12px;
    font-size: 0.79rem;
  }

  .hero-scroll-cue {
    display: none;
  }

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

  .strength-card {
    min-height: 0;
  }

  .strength-card__topline {
    margin-bottom: 20px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .glance-heading-row {
    gap: 17px;
    margin-bottom: 30px;
  }

  .glance-statement {
    padding-left: 16px;
  }

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

  .glance-stat-wrap:nth-child(odd) {
    border-left: 0;
  }

  .glance-stat-wrap:nth-child(even) {
    border-left: 1px solid rgba(10, 31, 61, 0.14);
  }

  .glance-stat-wrap:nth-child(n + 3) {
    border-top: 1px solid rgba(10, 31, 61, 0.14);
  }

  .glance-stat-wrap {
    min-height: 132px;
    gap: 16px;
    padding: 18px 13px 20px;
  }

  .glance-stat__value {
    font-size: clamp(2.8rem, 12vw, 3.5rem);
  }

  .glance-stat__label {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
  }

  .glance-capabilities {
    padding-top: 20px;
    margin-top: 20px;
  }

  .capability-tags {
    gap: 8px;
  }

  .service-group__heading {
    gap: 10px;
  }

  .service-group__heading h3 {
    font-size: 1.6rem;
  }

  .service-group__line {
    margin-left: 2px;
  }

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

  .service-card {
    min-height: 0;
    padding: 20px;
  }

  .service-card__topline {
    margin-bottom: 18px;
  }

  .project-list {
    gap: 42px;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-row--reversed .project-row__visual,
  .project-row--reversed .project-row__content {
    order: initial;
  }

  .project-image {
    aspect-ratio: 1.3;
  }

  .project-row__title {
    font-size: 2.2rem;
  }

  .project-row__description {
    margin-top: 15px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 20px;
  }

  .trust-row > h3 {
    font-size: 1.25rem;
  }

  .trust-item--client {
    width: 158px;
    min-height: 68px;
    font-size: 0.7rem;
  }

  .trust-item--partner {
    width: 164px;
    height: 72px;
  }

  .contact-strip__details {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .contact-method--social {
    align-items: flex-start;
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
  }

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

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

  .site-footer__bottom {
    min-height: 70px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding-block: 11px;
  }

  .gallery-hero {
    padding: 126px 0 60px;
  }

  .gallery-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .gallery-carousel__controls {
    margin-bottom: 13px;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
  }

  .gallery-card {
    width: min(82vw, 340px);
  }

  .gallery-dialog {
  max-height: 90vh;
  }

  .gallery-dialog__surface {
    grid-template-columns: 1fr;
  }

  .gallery-dialog__image {
    min-height: 240px;
    max-height: 36vh;
  }

  .gallery-dialog__content {
    padding: 23px;
  }

  .gallery-dialog__content .eyebrow {
    margin-top: 0;
  }

  .project-detail-page {
    padding: 105px 0 72px;
  }

  .project-detail__image {
    aspect-ratio: 1.22;
  }

  .project-detail__content h1 {
    font-size: clamp(2.6rem, 12vw, 3.7rem);
  }

  .project-detail__scope {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .architectural-doodle__path {
    animation: none !important;
    stroke-dashoffset: 0;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-reveal,
  .scroll-reveal.is-armed:not(.is-visible) {
    opacity: 1 !important;
    transform: none !important;
  }

  .trust-marquee__track {
    animation: none !important;
    flex-wrap: wrap;
    width: 100%;
  }

  .trust-marquee__group--clone {
    display: none;
  }

  .trust-marquee__viewport {
    overflow: visible;
    mask-image: none;
  }

  .trust-marquee__group {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* Images that used to be Next.js <Image fill> now fill their box with plain CSS */
.project-image img,
.project-detail__image img,
.gallery-card__image img,
.gallery-dialog__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Stops the page wobbling sideways on phones (slide-in animations start off-screen) */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}
