:root {
  --ink: #151515;
  --ink-soft: #5c6473;
  --brand: #29347d;
  --brand-deep: #172146;
  --brand-strong: #20285f;
  --accent: #ffd23f;
  --accent-dark: #f2b91d;
  --surface: #f5f3ee;
  --surface-alt: #d8d7d7;
  --card: #ffffff;
  --line: rgba(23, 33, 70, 0.12);
  --shadow-lg: 0 24px 60px rgba(23, 33, 70, 0.16);
  --shadow-md: 0 16px 34px rgba(23, 33, 70, 0.12);
  --shadow-sm: 0 10px 24px rgba(23, 33, 70, 0.08);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --radius-sm: 0.85rem;
  --container: 71rem;
  --font-body: "nexa", "Nexa", "Trebuchet MS", sans-serif;
  --font-display: "nexa", "Nexa", "Arial Narrow", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 2.75rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1001;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  transition: top 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(245, 243, 238, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 4.5rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--brand);
  flex-shrink: 0;
}

.brand__logo {
  width: clamp(8rem, 34vw, 9.75rem);
  height: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
}

.site-nav__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(41, 52, 125, 0.92);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-deep);
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(23, 33, 70, 0.08);
}

.site-nav__contact:hover,
.site-nav__contact:focus-visible {
  background: var(--brand-deep);
  color: #fff;
}

.site-nav__contact::after {
  display: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0.7rem;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand-deep);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
  margin-top: 0.35rem;
}

.hero {
  position: relative;
  min-height: min(92svh, 48rem);
  display: flex;
  align-items: stretch;
  isolation: isolate;
  background: var(--brand-deep);
}

.hero__media,
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: 50% center;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 17, 44, 0.82) 0%, rgba(10, 17, 44, 0.42) 36%, rgba(10, 17, 44, 0.1) 62%, rgba(10, 17, 44, 0.62) 100%),
    linear-gradient(180deg, rgba(10, 17, 44, 0.15) 0%, rgba(10, 17, 44, 0.58) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: clamp(6.1rem, 18vw, 7rem) 2.75rem;
}

.hero__content > * {
  max-width: min(60rem, 100%);
}


.eyebrow {
  margin: 0 0 1rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow--dark {
  color: var(--brand-deep);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.45rem, 11vw, 5.9rem);
  color: #fff;
  text-wrap: balance;
  line-height: 0.92;
}

h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--brand-deep);
  text-wrap: balance;
}

h3 {
  font-size: 1.15rem;
  color: var(--brand-deep);
}

.hero__lead,
.section-heading p,
.section-copy p,
.footer__brand p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
}

.hero__lead {
  max-width: 34rem;
  margin: 1.25rem 0 2rem;
  font-size: clamp(1rem, 4.4vw, 1.125rem);
  text-wrap: pretty;
}

.section-title {
  display: grid;
  gap: 0.08em;
  max-width: 12ch;
}

.section-title--center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-title__lead {
  font-weight: 100;
  color: #000;
}

.section-title__accent {
  color: var(--brand);
}

.section-title__muted {
  color: rgba(23, 33, 70, 0.42);
}

.hero__title {
  display: grid;
  gap: 0.1em;
  max-width: min(15ch, 100%);
}

.hero__title span {
  text-wrap: balance;
}

.hero__title-light {
  font-weight: 100;
}

.hero__title-strong {
  display: block;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
  width: min(100%, 30rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

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

.button--primary {
  background: #fff;
  border-radius: 10px;
  color: var(--brand-deep);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #263370;
  color: #fff;
}

.button--secondary,
.button--outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  border-radius: 10px;
}

.button--outline {
  background: transparent;
  border-color: rgba(41, 52, 125, 0.18);
  color: var(--brand);
}

.button--outline:hover,
.button--outline:focus-visible {
  border-color: var(--brand);
  background: rgba(41, 52, 125, 0.06);
}

.pillars,
.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section {
  padding-block: 4.75rem;
}

.about {
  background:#fff;
}

.about__grid,
.why__grid,
.footer__grid {
  display: grid;
  gap: 2rem;
}

.about__visual {
  position: relative;
  width: min(100%, 33rem);
  min-height: clamp(22rem, 46vw, 33rem);
  margin-inline: auto;
}

.about__shape {
  position: absolute;
  overflow: hidden;
  border-radius: 1.6rem;
  box-shadow: var(--shadow-lg);
}


.about__shape--back {
  inset: 1.6rem auto 0 0;
  width: calc(100% - 4.75rem);
  height: calc(100% - 4.6rem);
  background: linear-gradient(145deg, #101010, #040404);
}

.about__shape--front {
  inset: 0 0 0 5.2rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 55%),
    linear-gradient(140deg, #20285f, #34429a);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about__shape--front::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 33, 70, 0.14), rgba(23, 33, 70, 0.34) 100%),
    linear-gradient(140deg, rgba(32, 40, 95, 0.22), rgba(52, 66, 154, 0.08));
}

.about__shape-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.pillars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--brand);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.section-copy,
.section-heading {
  max-width: 100%;
}

.about__copy {
  align-self: center;
}

.about__title {
  margin-top: 0.15rem;
}

.section-copy p,
.section-heading p {
  margin: 1rem 0 0;
  color: #000;
  max-width: 64ch;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.section-copy .button {
  margin-top: 1.6rem;
}

.services {
  background: #f9f9f9;
}

.why {
  background: #f9f9f9;
}

.service-grid,
.project-grid,
.reason-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.services__panel {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(23, 33, 70, 0.08);
}

.service-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(41, 52, 125, 0.08);
}

.service-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.6rem;
  background: rgba(41, 52, 125, 0.08);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.78rem;
}

.service-card__media {
  aspect-ratio: 1.45 / 1;
  background: #111;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1rem 0.9rem;
}

.service-card h3 {
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.05;
}

.service-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

.services__actions {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.button--services {
  min-width: 15.5rem;
  background: var(--card);
}

.services-popup[hidden] {
  display: none;
}

.services-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.services-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 39, 0.68);
  backdrop-filter: blur(10px);
}

.services-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(46rem, 100%);
  max-height: min(80vh, 46rem);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 1.6rem;
  background:#fff;
  box-shadow: var(--shadow-lg);
}

.services-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(41, 52, 125, 0.08);
  color: var(--brand-deep);
  font-size: 1.7rem;
  line-height: 1;
}

.services-popup__intro {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
}

.services-popup__list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 1.6rem 0 0;
}

.services-popup__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: 1.15rem;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.services-popup__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  background: rgba(41, 52, 125, 0.08);
  color: var(--brand);
  font-weight: 800;
}

.services-popup__item h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brand-deep);
}

.services-popup__details {
  margin: 0.55rem 0 0;
  padding-left: 1rem;
  color: var(--ink-soft);
}

.services-popup__details li + li {
  margin-top: 0.35rem;
}

.services-popup__details li::marker {
  color: var(--brand);
}

.services-popup__item p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.projects {
  background: #fff;
}

.project-grid {
  display: flex;
  gap: 1rem;
  width: max-content;
  min-width: 100%;
}

.projects-carousel {
  margin-top: 2rem;
}

.projects-carousel__controls {
  display: none;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.js .projects-carousel__controls {
  display: flex;
}

.projects-carousel__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(41, 52, 125, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-deep);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease,
    background-color 0.22s ease;
}

.projects-carousel__control:hover,
.projects-carousel__control:focus-visible {
  transform: translateY(-1px);
  background: #fff;
}

.projects-carousel__control:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

.projects-carousel__viewport {
  overflow-x: auto;
  padding-bottom: 0.45rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(41, 52, 125, 0.26) transparent;
}

.projects-carousel__viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.projects-carousel__viewport::-webkit-scrollbar {
  height: 0.5rem;
}

.projects-carousel__viewport::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(41, 52, 125, 0.26);
}

.projects-carousel__viewport::-webkit-scrollbar-track {
  background: transparent;
}

.project-card {
  flex: 0 0 min(84vw, 22rem);
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 17rem;
  border-radius: 1.7rem;
  background: #070707;
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0) 20%, rgba(17, 17, 17, 0.78) 100%),
    linear-gradient(140deg, rgba(23, 33, 70, 0.45), rgba(23, 33, 70, 0.08));
}

.project-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(0.92) brightness(0.75);
}

.project-card__image--one {
  object-position: 20% center;
}

.project-card__image--two {
  object-position: 42% center;
}

.project-card__image--three {
  object-position: 58% center;
}

.project-card__image--four {
  object-position: 78% center;
}

.project-card__content {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.project-card__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-card__title {
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: -0.02em;
}

.project-card__button {
  position: static;
  min-height: 2.7rem;
  padding-inline: 1rem;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
}

.project-card__button:hover,
.project-card__button:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.project-popup[hidden] {
  display: none;
}

.project-popup {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.project-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 33, 0.72);
  backdrop-filter: blur(10px);
}

.project-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  max-height: min(86vh, 52rem);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at top right, rgba(255, 210, 63, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7f6f2);
  box-shadow: var(--shadow-lg);
}

.project-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(41, 52, 125, 0.08);
  color: var(--brand-deep);
  font-size: 1.7rem;
  line-height: 1;
}

.project-popup__intro {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
}

.project-popup__gallery {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.project-step {
  margin: 0;
  overflow: hidden;
  border-radius: 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.project-step__media {
  aspect-ratio: 4 / 3;
  background: #0d0d0d;
}

.project-step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-step figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--brand-deep);
}

.project-step figcaption span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(41, 52, 125, 0.08);
  color: var(--brand);
  font-weight: 800;
}

.why__visual-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 1.8rem;
  background: linear-gradient(145deg, #22306f, #10172f);
  box-shadow: var(--shadow-lg);
}

.why__visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 33, 70, 0.04), rgba(23, 33, 70, 0.22)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%);
  pointer-events: none;
}

.why__visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}



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

.reason-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.15rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.reason-card--muted {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(41, 52, 125, 0.08);
  box-shadow: none;
}

.reason-card--featured {
  background: var(--card);
}

.reason-card__number {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 8vw, 3.6rem);
  line-height: 0.9;
  color: var(--brand-deep);
}

.reason-card p {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 5rem;
  background:#fff;
}

.cta-band__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.section-title--cta {
  max-width: 14ch;
  margin-top: 0.25rem;
}

.cta-band__lead {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: var(--ink-soft);
}

.cta-band .button {
  margin-top: 1.6rem;
  background-color: #263370;
  color: white;
}

.cta-band .button:hover,
.cta-band .button:focus-visible {
  background-color: #bebfc6;
  border: solid 1px #263370;
  color: #263370;
}

.site-footer {
  background: #263370;
  color: rgba(255, 255, 255, 0.86);
  padding-top: 3rem;
}

.footer__grid {
  gap: 2rem;
  padding-bottom: 2.2rem;
}

.brand--footer {
  background-color: #fff;
  padding: 1rem;
  border-radius: 15px;
  align-self: center;
}

.footer__brand {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.footer__nav h3,
.footer__contact h3 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.footer__nav ul,
.footer__address {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.footer__nav a,
.footer__address a,
.footer__address span {
  color: rgba(255, 255, 255, 0.76);
}

.footer__nav a:hover,
.footer__nav a:focus-visible,
.footer__address a:hover,
.footer__address a:focus-visible,
.footer__bottom a:hover,
.footer__bottom a:focus-visible {
  color: #fff;
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  width: fit-content;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.footer__contact-link:hover,
.footer__contact-link:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.footer__address {
  padding: 0;
  font-style: normal;
  list-style: none;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-block: 1rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 47.99rem) {
  .about__grid,
  .why__grid {
    justify-items: center;
  }

  .js .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1.25rem;
    right: 1.25rem;
    padding: 1rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.6rem);
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .site-nav__contact {
    width: 100%;
    justify-content: center;
  }

  .js body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .js body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(0.45rem) rotate(45deg);
  }

  .js body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .js body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-0.6rem) rotate(-45deg);
  }

  .hero__content {
    padding-block: 5.75rem 2.25rem;
  }

  .hero__title {
    max-width: min(13ch, 100%);
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    width: 100%;
  }

  .about__visual {
    width: min(100%, 22rem);
    min-height: clamp(22rem, 92vw, 28rem);
    justify-self: center;
  }

  .about__shape--back {
    inset: 1rem auto 0 0;
    width: calc(100% - 2.75rem);
    height: calc(100% - 2.25rem);
  }

  .about__shape--front {
    inset: 0 0 0 2.75rem;
  }

  .why__visual {
    width: 100%;
    justify-self: center;
  }

  .section-copy,
  .reason-list,
  .section-heading {
    width: 100%;
  }

  .why__visual-card {
    aspect-ratio: 1.08 / 1;
  }

  .project-card__content {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
  }

  .project-card__button {
    width: 100%;
  }

  .services-popup__dialog,
  .project-popup__dialog {
    padding: 1.2rem;
  }

  .footer__brand,
  .footer__nav,
  .footer__contact {
    width: 100%;
  }
}

@media (max-width: 30rem) {
  .container {
    width: min(var(--container), calc(100% - 2.75rem));
  }

  .header__inner {
    min-height: 4.2rem;
    padding-block: 0.55rem;
  }

  .brand__logo {
    width: clamp(7.4rem, 36vw, 8.75rem);
  }

  .nav-toggle {
    width: 2.85rem;
    height: 2.85rem;
    padding: 0.76rem 0.64rem;
  }

  .hero__content {
    padding-block: 5.35rem 2rem;
  }

  .hero__title {
    max-width: min(12ch, 100%);
  }

  .hero__lead {
    margin-bottom: 1.75rem;
  }

  .about__visual {
    width: min(100%, 19.5rem);
  }

  .about__shape--back {
    width: calc(100% - 2.15rem);
  }

  .about__shape--front {
    inset: 0 0 0 2.15rem;
  }

  .why__visual-card {
    aspect-ratio: 1 / 1.02;
  }
}

@media (min-width: 48rem) {
  .container {
    width: min(var(--container), calc(100% - 3rem));
  }

  .section {
    padding-block: 6rem;
  }

  .about__grid,
  .why__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }

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

  .project-card {
    flex-basis: min(46vw, 26rem);
  }

  .footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    align-items: start;
  }

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

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

  .footer__bottom {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 64rem) {
  .site-nav ul {
    gap: 1.5rem;
  }

  .hero__content {
    padding-block: 8rem 4rem;
  }

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

  .project-card {
    flex-basis: min(31vw, 23rem);
  }

  .section-heading {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.5rem 2rem;
    align-items: end;
    max-width: none;
  }

  .section-heading .eyebrow,
  .section-heading .section-title {
    grid-column: 1;
  }

  .section-heading p {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
