:root {
  --navy-950: #071523;
  --navy-900: #0b1d2e;
  --navy-800: #102a43;
  --navy-700: #183b59;
  --orange: #f4a261;
  --orange-strong: #ec8c3b;
  --sand: #f4f1eb;
  --sand-dark: #e8e2d8;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #14202b;
  --muted: #617080;
  --line: #dbe1e5;
  --line-dark: rgba(255, 255, 255, 0.14);
  --green: #25d366;
  --container: 1240px;
  --header-height: 76px;
  --shadow-soft: 0 18px 50px rgba(7, 21, 35, 0.08);
  --shadow-deep: 0 28px 80px rgba(7, 21, 35, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

p,
li {
  text-wrap: pretty;
}

body::selection {
  background: var(--orange);
  color: var(--navy-950);
}

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

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

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

button {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure,
blockquote {
  margin: 0;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--orange);
  color: var(--navy-950);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--white);
  background: rgba(7, 21, 35, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(130%);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 21, 35, 0.97);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.nav-container {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo-img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  padding: 4px;
  border-radius: 4px;
  background: var(--white);
}

.brand__name {
  max-width: 320px;
  color: var(--white);
  font-family: "Montserrat", "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.nav,
.nav__list {
  display: flex;
  align-items: center;
}

.nav__list {
  gap: 2px;
}

.nav__link {
  position: relative;
  display: block;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav__bar,
.nav__bar::before,
.nav__bar::after {
  content: "";
  position: absolute;
  right: 9px;
  height: 2px;
  background: var(--white);
  transition: transform 220ms ease, opacity 220ms ease, width 220ms ease;
}

.nav__bar {
  top: 21px;
  width: 26px;
}

.nav__bar::before {
  top: -8px;
  width: 18px;
}

.nav__bar::after {
  top: 8px;
  width: 22px;
}

.nav__toggle[aria-expanded="true"] .nav__bar {
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__bar::before {
  width: 26px;
  transform: translateY(8px) rotate(90deg);
}

.nav__toggle[aria-expanded="true"] .nav__bar::after {
  opacity: 0;
}

/* Buttons */
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms var(--ease);
}

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

.btn--primary {
  background: var(--orange);
  color: var(--navy-950);
}

.btn--primary:hover {
  background: #ffb36f;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy-950);
}

.btn--outline {
  border-color: var(--navy-800);
  background: transparent;
  color: var(--navy-800);
}

.btn--outline:hover {
  background: var(--navy-800);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(900px, calc(100svh - var(--header-height)));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero__bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.02);
  transition: opacity 1.2s ease;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__bg-layer.is-visible {
  opacity: 1;
}

@keyframes hero-drift {
  to { transform: scale(1.07) translate3d(1%, -1%, 0); }
}

.hero .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 16, 27, 0.92) 0%, rgba(5, 16, 27, 0.64) 48%, rgba(5, 16, 27, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 16, 27, 0.04), rgba(5, 16, 27, 0.52));
}

.hero__blueprint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, var(--container));
  padding-block: 112px 92px;
  text-align: left;
}

.hero__eyebrow,
.section__eyebrow {
  margin: 0 0 22px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero__eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--orange);
}

.hero__title {
  max-width: 930px;
  margin: 0;
  color: var(--white);
  font-family: "Montserrat", "Manrope", sans-serif;
  font-size: clamp(3.2rem, 6.6vw, 6.8rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 660px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.84);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
  font-weight: 600;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__proof {
  max-width: 700px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__proof span {
  padding: 15px 24px 0 0;
  margin-right: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero__proof span:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

/* Trust strip and shared sections */
.trust-strip {
  padding: 0;
  background: var(--orange);
  color: var(--navy-950);
}

.trust-strip__grid {
  width: min(100%, var(--container));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip__grid span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px 24px;
  border-left: 1px solid rgba(7, 21, 35, 0.18);
  font-size: 0.79rem;
  font-weight: 800;
}

.trust-strip__grid span:last-child {
  border-right: 1px solid rgba(7, 21, 35, 0.18);
}

section {
  padding-block: clamp(78px, 9vw, 128px);
}

.section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 54px;
}

.section__heading p:not(.section__eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.section__title {
  margin: 0;
  color: var(--navy-950);
  font-family: "Montserrat", "Manrope", sans-serif;
  font-size: clamp(2.3rem, 4.6vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Overview */
.overview {
  padding-block: 0;
  background: var(--paper);
}

.overview .container {
  width: min(100%, var(--container));
}

.cards {
  display: grid;
}

.cards--overview {
  grid-template-columns: repeat(3, 1fr);
  counter-reset: overview;
}

.cards--overview .card {
  position: relative;
  min-height: 280px;
  padding: 52px 44px 44px;
  background: var(--white);
  border-right: 1px solid var(--line);
  counter-increment: overview;
  transition: background 260ms ease, color 260ms ease;
}

.cards--overview .card:first-child {
  border-left: 1px solid var(--line);
}

.cards--overview .card::after {
  content: "0" counter(overview);
  position: absolute;
  top: 24px;
  right: 28px;
  color: #c4ccd2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cards--overview .card:hover {
  background: var(--navy-900);
  color: var(--white);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  color: var(--orange-strong);
  border: 1px solid currentColor;
}

.card__title {
  margin: 0 0 13px;
  color: var(--navy-950);
  font-size: 1.08rem;
  line-height: 1.35;
}

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

.cards--overview .card:hover .card__title,
.cards--overview .card:hover .card__text {
  color: var(--white);
}

.cards--overview .text-link {
  margin-top: 28px;
  color: var(--navy-900);
}

.cards--overview .card:hover .text-link { color: var(--white); }

/* Statistics */
.stats {
  padding-block: 70px;
  background: var(--sand);
  border-block: 1px solid var(--sand-dark);
}

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

.stat {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 36px;
  border-left: 1px solid #cfc9be;
}

.stat:last-child {
  border-right: 1px solid #cfc9be;
}

.stat__num {
  color: var(--navy-950);
  font-family: "Montserrat", "Manrope", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat__label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* About */
.about {
  position: relative;
  background: var(--paper);
}

.about__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: start;
  gap: clamp(60px, 8vw, 120px);
}

.about__text > p {
  max-width: 680px;
  margin: 38px 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.quote {
  padding: 24px 0 24px 28px;
  color: var(--navy-900);
  border-left: 4px solid var(--orange);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700;
}

.leadership-note {
  margin-top: 30px;
  padding: 24px 28px;
  background: var(--sand);
  border-top: 3px solid var(--orange);
}

.leadership-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-950);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.assurance-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-block: 26px 34px;
  border-top: 1px solid var(--line);
}

.assurance-list span {
  position: relative;
  padding: 15px 15px 15px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-800);
  font-size: 0.83rem;
  font-weight: 800;
}

.assurance-list span::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--orange);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.mv {
  min-height: 218px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mv__icon {
  color: var(--orange-strong);
}

.mv h4 {
  margin: 18px 0 10px;
  color: var(--navy-950);
}

.mv p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.about__image {
  position: sticky;
  top: calc(var(--header-height) + 38px);
}

.about__image::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 55%;
  height: 55%;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  pointer-events: none;
}

.about__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-deep);
}

/* Process */
.process {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 72px 72px;
}

.process .container {
  position: relative;
}

.process .section__title,
.designs .section__title {
  color: var(--white);
}

.process .section__heading p,
.designs .section__heading > p {
  color: rgba(255, 255, 255, 0.64);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.process__step {
  position: relative;
  min-height: 300px;
  padding: 34px 28px 30px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background 240ms ease;
}

.process__step:hover {
  background: rgba(255, 255, 255, 0.06);
}

.process__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 31px;
  right: -13px;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--orange);
  font-weight: 800;
}

.process__num {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.process__step h3 {
  margin: 78px 0 16px;
  color: var(--white);
  font-size: 1.1rem;
}

.process__step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

/* Services */
.services {
  background: var(--sand);
}

.cards--services {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  counter-reset: services;
}

.service {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  align-items: start;
  background: var(--white);
  border: 1px solid #d9d5ce;
  counter-increment: services;
  transition: transform 260ms var(--ease), box-shadow 260ms ease;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.service::after {
  content: "0" counter(services);
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 2;
  padding: 5px 9px;
  color: var(--navy-950);
  background: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service__media {
  grid-column: 1 / -1;
  position: relative;
  height: 255px;
  overflow: hidden;
  background: #d9e0e5;
}

.service__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 21, 35, 0.4));
}

.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86);
  transition: transform 600ms var(--ease), filter 300ms ease;
}

.service:hover .service__media img {
  transform: scale(1.045);
  filter: saturate(1);
}

.service__icon {
  grid-column: 1;
  grid-row: 2 / 5;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 28px 0 0 28px;
  color: var(--orange-strong);
  border: 1px solid var(--orange-strong);
}

.service__title,
.service .underline,
.service > p,
.service > .btn {
  grid-column: 2;
  margin-inline: 24px 30px;
}

.service__title {
  margin-top: 29px;
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.3;
}

.service .underline {
  width: 44px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--orange);
}

.service > p {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.service > .btn {
  width: max-content;
  min-height: 42px;
  margin-bottom: 28px;
  padding: 10px 15px;
  border-color: #b7c0c8;
  color: var(--navy-800);
  background: transparent;
}

.service > .btn:hover {
  border-color: var(--navy-800);
  color: var(--white);
  background: var(--navy-800);
}

/* Designs */
.designs {
  color: var(--white);
  background: var(--navy-900);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.filter {
  min-height: 44px;
  padding: 9px 15px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter:hover {
  opacity: 1;
}

.filter.is-active {
  color: var(--navy-950);
  background: var(--orange);
  border-color: var(--orange);
  opacity: 1;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.design-card {
  grid-column: span 4;
  overflow: hidden;
  background: #112b43;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 260ms var(--ease), border-color 260ms ease;
}

.design-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 162, 97, 0.65);
}

.design-card__media {
  width: 100%;
  height: 250px;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #dce2e7;
  cursor: zoom-in;
}

.design-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.design-card:hover .design-card__media img {
  transform: scale(1.05);
}

.design-card__body {
  padding: 25px 24px 27px;
}

.design-card__body > span {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.design-card__body h3 {
  margin: 12px 0 8px;
  color: var(--white);
  font-size: 1.05rem;
}

.design-card__body p {
  min-height: 47px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
}

.design-card__link {
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: 0.79rem;
  font-weight: 800;
  cursor: pointer;
}

.design-card__link span {
  display: inline-block;
  margin-left: 6px;
  color: var(--orange);
  transition: transform 180ms ease;
}

.design-card__link:hover span {
  transform: translateX(5px);
}

.designs__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.designs__cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

/* Projects */
.projects {
  background: var(--paper);
}

.projects .filters {
  color: var(--navy-800);
}

.featured {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--navy-900);
}

.swiper-slide img {
  width: 100%;
  height: min(58vw, 610px);
  object-fit: cover;
  filter: saturate(0.9);
}

.swiper-pagination-bullet {
  width: 24px;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.66);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--orange);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.grid__item {
  grid-column: span 4;
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background: #dce2e7;
  cursor: zoom-in;
}

.grid__item:nth-child(1),
.grid__item:nth-child(8),
.grid__item:nth-child(15),
.grid__item:nth-child(22),
.grid__item:nth-child(29) {
  grid-column: span 8;
}

.grid__item img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 650ms var(--ease), filter 300ms ease;
}

.grid__item:hover img {
  transform: scale(1.055);
  filter: saturate(1);
}

.grid__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 54px 22px 20px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(7, 21, 35, 0.92));
}

.grid__caption .name {
  font-weight: 800;
  line-height: 1.25;
}

.grid__caption .cat {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.grid__item.is-hidden,
.grid__item.is-curated-hidden,
.design-card.is-hidden {
  display: none;
}

.projects__more {
  display: flex;
  justify-content: center;
  padding-top: 42px;
}

.projects__more[hidden] {
  display: none;
}

/* Contact */
.contact {
  color: var(--white);
  background: var(--navy-950);
}

.contact .section__title {
  color: var(--white);
}

.contact__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(370px, 0.9fr);
  align-items: stretch;
  gap: clamp(42px, 7vw, 90px);
}

.contact__info > p {
  margin: 26px 0 28px;
  color: rgba(255, 255, 255, 0.64);
}

.contact__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 28px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.contact__list li {
  display: flex;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.contact__list a {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 15px 17px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  transition: color 180ms ease, background 180ms ease;
}

.contact__list a:hover {
  color: var(--navy-950);
  background: var(--orange);
}

.response-card {
  padding: 22px 24px;
  margin-bottom: 24px;
  color: var(--navy-950);
  background: var(--orange);
}

.response-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.response-card p {
  margin: 0;
  font-size: 0.85rem;
}

.form {
  display: grid;
  gap: 16px;
  padding: 30px;
  color: var(--ink);
  background: var(--white);
}

.form__row {
  display: grid;
  gap: 7px;
}

.form__split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form__row label {
  color: var(--navy-800);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8f7f4;
  border: 1px solid #cfd6da;
  border-radius: 0;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form__row textarea {
  resize: vertical;
}

.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  border-color: var(--orange-strong);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.18);
}

.form__row input:user-invalid,
.form__row select:user-invalid,
.form__row textarea:user-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.form > .btn {
  width: 100%;
}

.form__note {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact__map {
  min-height: 100%;
}

.contact__map iframe {
  width: 100%;
  min-height: 100%;
  border: 0;
  filter: grayscale(0.85) contrast(1.05);
}

/* Footer */
.footer {
  padding-block: 64px 22px;
  color: rgba(255, 255, 255, 0.64);
  background: #050f19;
  border-top: 1px solid var(--line-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: start;
  gap: 60px;
}

.footer__brand strong {
  display: block;
  max-width: 480px;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.footer__brand p {
  max-width: 480px;
  margin: 10px 0 0;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px 30px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 700;
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer__social a:hover {
  color: var(--navy-950);
  background: var(--orange);
  border-color: var(--orange);
}

.footer__legal {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

/* Floating WhatsApp action */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border: 4px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.3);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.fab:hover {
  transform: translateY(-4px) scale(1.03);
}

.fab.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
}

/* Project lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  color: var(--white);
  background: rgba(3, 11, 18, 0.94);
  backdrop-filter: blur(12px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__figure {
  width: min(100%, 1080px);
  max-height: 90vh;
  display: grid;
  justify-items: center;
  gap: 10px;
  animation: lightbox-in 280ms var(--ease);
}

@keyframes lightbox-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
}

.lightbox__img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  box-shadow: var(--shadow-deep);
}

.lightbox__caption {
  margin-top: 8px;
  font-size: 1.08rem;
  font-weight: 800;
  text-align: center;
}

.lightbox__details {
  max-width: 720px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  text-align: center;
}

.lightbox__btn {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
}

.lightbox__btn:hover {
  color: var(--navy-950);
  background: var(--orange);
  border-color: var(--orange);
}

.lightbox__close {
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav__link { padding-inline: 9px; }
  .hero__title { font-size: clamp(3.1rem, 7.8vw, 5.8rem); }
  .about__wrap { gap: 60px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__step:not(:last-child)::after { display: none; }
  .design-card { grid-column: span 6; }
  .contact__wrap { grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr); gap: 42px; }
}

@media (max-width: 840px) {
  :root { --header-height: 66px; }
  body.nav-open { overflow: hidden; }
  .container { width: min(100% - 36px, var(--container)); }
  .nav-container { width: min(100% - 28px, var(--container)); }
  .nav__toggle { display: block; }
  .nav__list {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px;
    visibility: hidden;
    background: rgba(7, 21, 35, 0.99);
    border-bottom: 1px solid var(--line-dark);
    opacity: 0;
    transform: translateY(-12px);
    transition: visibility 220ms ease, opacity 220ms ease, transform 220ms ease;
  }
  .nav__list.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .nav__link {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__link::after { display: none; }
  .hero { min-height: min(850px, calc(100svh - var(--header-height))); }
  .hero .overlay {
    background:
      linear-gradient(90deg, rgba(5, 16, 27, 0.86), rgba(5, 16, 27, 0.42)),
      linear-gradient(180deg, rgba(5, 16, 27, 0.1), rgba(5, 16, 27, 0.58));
  }
  .hero__content { padding-block: 90px 72px; }
  .hero__title { font-size: clamp(2.7rem, 10vw, 4.8rem); }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__grid span { border-bottom: 1px solid rgba(7, 21, 35, 0.18); }
  .section__heading { grid-template-columns: 1fr; gap: 24px; }
  .cards--overview { grid-template-columns: 1fr; }
  .cards--overview .card { min-height: auto; border-bottom: 1px solid var(--line); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 1px solid #cfc9be; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid #cfc9be; }
  .about__wrap { grid-template-columns: 1fr; }
  .about__image { position: relative; top: auto; }
  .about__image img { aspect-ratio: 16 / 11; }
  .cards--services { grid-template-columns: 1fr; }
  .grid__item,
  .grid__item:nth-child(1),
  .grid__item:nth-child(8),
  .grid__item:nth-child(15),
  .grid__item:nth-child(22),
  .grid__item:nth-child(29) { grid-column: span 6; }
  .contact__wrap { grid-template-columns: 1fr; }
  .contact__map { min-height: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__social { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  .brand__logo-img { width: 36px; height: 36px; flex-basis: 36px; }
  .brand__name { max-width: 245px; font-size: 0.64rem; letter-spacing: 0.055em; }
  .hero { min-height: auto; }
  .hero .overlay {
    background: linear-gradient(180deg, rgba(5, 16, 27, 0.5), rgba(5, 16, 27, 0.86));
  }
  .hero__blueprint { mask-image: none; opacity: 0.065; }
  .hero__content { padding-block: 78px 66px; }
  .hero__eyebrow {
    font-size: 0.67rem;
    letter-spacing: 0.13em;
    line-height: 1.5;
  }
  .hero__eyebrow::before { width: 24px; }
  .hero__title {
    max-width: 340px;
    font-size: clamp(2.1rem, 9.8vw, 2.8rem);
    line-height: 1.02;
  }
  .hero__subtitle { margin-block: 22px 28px; font-size: 1rem; }
  .hero__actions { display: grid; }
  .hero__actions .btn { width: 100%; }
  .hero__proof { margin-top: 34px; }
  .hero__proof span {
    width: 100%;
    padding-top: 11px;
    padding-bottom: 11px;
    margin: 0;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-strip__grid span {
    min-height: 58px;
    padding: 13px 16px;
    border-right: 1px solid rgba(7, 21, 35, 0.18);
  }
  section { padding-block: 76px; }
  .section__heading { margin-bottom: 36px; }
  .section__title { font-size: clamp(2rem, 11vw, 3rem); line-height: 1.03; }
  .cards--overview .card { padding: 36px 28px; }
  .stats { padding-block: 36px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 130px; padding: 20px 16px; }
  .stat__num { font-size: 2.4rem; }
  .stat__label { font-size: 0.64rem; }
  .about__text > p { margin-top: 28px; }
  .assurance-list { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .mv { min-height: auto; }
  .process__grid { grid-template-columns: 1fr; }
  .process__step { min-height: 240px; }
  .process__step h3 { margin-top: 54px; }
  .service { grid-template-columns: 64px 1fr; }
  .service__media { height: 210px; }
  .service__icon { width: 42px; height: 42px; margin: 24px 0 0 20px; }
  .service__icon svg { width: 23px; height: 23px; }
  .service__title,
  .service .underline,
  .service > p,
  .service > .btn { margin-inline: 18px 20px; }
  .service__title { margin-top: 24px; }
  .design-grid { grid-template-columns: 1fr; }
  .design-card { grid-column: auto; }
  .design-card__media { height: 230px; }
  .designs__cta { align-items: stretch; flex-direction: column; }
  .designs__cta .btn { width: 100%; }
  .filters {
    flex-wrap: wrap;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
  .swiper-slide img { height: 310px; }
  .grid { grid-template-columns: 1fr; }
  .grid__item,
  .grid__item:nth-child(1),
  .grid__item:nth-child(8),
  .grid__item:nth-child(15),
  .grid__item:nth-child(22),
  .grid__item:nth-child(29) {
    grid-column: auto;
    min-height: 260px;
  }
  .grid__item img { min-height: 260px; }
  .grid__caption { padding: 54px 18px 17px; }
  .contact__list { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .form__split { grid-template-columns: 1fr; }
  .contact__map { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__social { grid-column: auto; }
  .fab {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }
  .lightbox { padding: 68px 16px 26px; }
  .lightbox__prev,
  .lightbox__next { top: auto; bottom: 20px; }
  .lightbox__prev { left: 16px; }
  .lightbox__next { right: 16px; }
  .lightbox__figure { max-height: 82vh; }
  .lightbox__img { max-height: 52vh; }
  .lightbox__quote { margin-bottom: 52px; }
}

@media (max-width: 360px) {
  .brand__name { max-width: 205px; font-size: 0.57rem; }
  .hero__title { font-size: 1.95rem; letter-spacing: -0.04em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* === Multipage experience === */
body.page-shell {
  opacity: 1;
  transform: none;
  transition: opacity 360ms ease, transform 360ms var(--ease);
}

@starting-style {
  body.page-shell {
    opacity: 0;
    transform: translateY(8px);
  }
}

body.page-shell.page-leaving {
  opacity: 0;
  transform: translateY(-6px);
}

.page-shell .site-header {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
}

.brand[href] { flex: 0 1 auto; }

.nav__cta {
  margin-left: 10px;
  padding: 11px 16px;
  color: var(--navy-950);
  background: var(--orange);
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 800;
}

.nav__cta:hover { background: #ffb36f; }

.page-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-block: 150px 90px;
  color: var(--white);
  background: var(--navy-950);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 27, 0.9), rgba(5, 16, 27, 0.34)),
    linear-gradient(180deg, rgba(5, 16, 27, 0.05), rgba(5, 16, 27, 0.68));
}

.page-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-kicker {
  margin: 0 0 22px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero h1,
.project-detail__header h1 {
  max-width: 990px;
  margin: 0;
  color: var(--white);
  font-family: "Montserrat", "Manrope", sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

.page-hero__content > p:last-of-type {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 700;
}

.breadcrumb a:hover { color: var(--orange); }

.service-intro {
  background: var(--paper);
}

.service-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.service-intro__lead {
  margin: 0;
  color: var(--navy-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.35;
}

.service-intro__copy > p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.03rem;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-list li {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: var(--navy-800);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 800;
}

.service-showcase {
  padding-top: 0;
  background: var(--paper);
}

.service-showcase__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: repeat(2, 300px);
  gap: 18px;
}

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

.service-showcase__grid img:first-child { grid-row: 1 / -1; }

.service-cta {
  padding-block: 84px;
  color: var(--white);
  background: var(--navy-800);
}

.service-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.service-cta h2 {
  max-width: 740px;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.service-cta p {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.service-cta .btn { flex: 0 0 auto; }

.related-services {
  background: var(--sand);
}

.related-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #ccc6bc;
  border-left: 1px solid #ccc6bc;
}

.related-services__grid a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: var(--navy-950);
  border-right: 1px solid #ccc6bc;
  border-bottom: 1px solid #ccc6bc;
  transition: color 220ms ease, background 220ms ease;
}

.related-services__grid a span {
  color: var(--orange-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.related-services__grid a strong {
  font-size: 1.05rem;
}

.related-services__grid a:hover {
  color: var(--white);
  background: var(--navy-900);
}

/* Editorial homepage projects */
.editorial-projects {
  background: var(--paper);
}

.editorial-list {
  display: grid;
  gap: 64px;
}

.editorial-project {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.editorial-project:nth-child(even) {
  grid-template-columns: minmax(300px, 0.6fr) minmax(0, 1.4fr);
}

.editorial-project:nth-child(even) .editorial-project__media { order: 2; }

.editorial-project__media {
  min-height: 520px;
  overflow: hidden;
}

.editorial-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}

.editorial-project:hover .editorial-project__media img { transform: scale(1.035); }

.editorial-project__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
}

.editorial-project__content > span {
  color: var(--orange-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.editorial-project__content h3 {
  margin: auto 0 18px;
  color: var(--navy-950);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.editorial-project__content p { margin: 0 0 28px; color: var(--muted); }

.text-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  color: var(--navy-900);
  border-bottom: 2px solid var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
}

.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(5px); }

/* Full portfolio */
.portfolio-head {
  padding-block: 105px 56px;
  color: var(--white);
  background: var(--navy-950);
}

.portfolio-head h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

.portfolio-toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 20;
  padding-block: 16px;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.portfolio-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.portfolio-toolbar .filters { margin: 0; color: var(--navy-800); }

#portfolio-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-section { padding-top: 54px; }

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

.portfolio-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
}

.portfolio-card--lead { grid-column: span 8; }

.portfolio-card__media {
  height: 330px;
  overflow: hidden;
  background: #dce2e7;
}

.portfolio-card--lead .portfolio-card__media { height: 520px; }

.portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 650ms var(--ease), filter 260ms ease;
}

.portfolio-card:hover .portfolio-card__media img {
  transform: scale(1.045);
  filter: saturate(1);
}

.portfolio-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 25px;
}

.portfolio-card__body > span {
  color: var(--orange-strong);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-card__body h2 {
  margin: 12px 0 10px;
  color: var(--navy-950);
  font-size: 1.2rem;
  line-height: 1.25;
}

.portfolio-card__body p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

.portfolio-card__body .text-link { margin-top: auto; }

/* Project detail */
.project-detail__header {
  padding-block: 125px 74px;
  color: var(--white);
  background: var(--navy-950);
}

.project-detail__header p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.05rem;
}

.project-detail__hero {
  width: 100%;
  height: min(72vw, 820px);
  background: #dce2e7;
}

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

.project-detail__story { background: var(--paper); }

.project-detail__story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(60px, 10vw, 150px);
}

.project-detail__story-grid > div:last-child > p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.05rem;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 0 34px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project-facts div {
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-facts dd { margin: 7px 0 0; color: var(--navy-900); font-weight: 800; }

.project-detail__gallery { padding-top: 0; }

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.detail-gallery img { width: 100%; height: 520px; object-fit: cover; }

.project-pager {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
  background: var(--navy-900);
}

.project-pager a {
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
  text-align: center;
}

.project-pager span {
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-pager strong { font-size: 0.9rem; }
.project-pager a:hover { background: var(--navy-800); }

/* Quote wizard */
.quote-page {
  min-height: 100vh;
  padding-block: 100px;
  color: var(--white);
  background: var(--navy-950);
}

.quote-page__head {
  max-width: 800px;
  margin-bottom: 48px;
}

.quote-page h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

.quote-page__head > p:last-child {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.quote-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 630px;
  background: var(--white);
  box-shadow: var(--shadow-deep);
}

.quote-progress {
  padding: 42px 30px;
  color: var(--white);
  background: var(--navy-800);
}

.quote-progress__item {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 12px;
  padding-bottom: 38px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 800;
}

.quote-progress__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 6px;
  left: 15px;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.quote-progress__item span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.quote-progress__item.is-active { color: var(--orange); }
.quote-progress__item.is-complete { color: var(--white); }

.quote-wizard {
  display: flex;
  flex-direction: column;
  padding: 52px clamp(28px, 6vw, 80px) 36px;
  color: var(--ink);
}

.quote-step { padding: 0; }
.quote-step[hidden] { display: none; }

.quote-step h2 {
  margin: 0 0 10px;
  color: var(--navy-950);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.quote-step > p { margin: 0 0 34px; color: var(--muted); }

.quote-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.quote-fields .form__row--wide { grid-column: 1 / -1; }

.quote-wizard__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 0;
}

.quote-wizard__actions .btn[hidden] { display: none; }

.quote-review {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.quote-review div {
  padding: 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-review div:nth-child(4) { grid-column: 1 / -1; }

.quote-review span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quote-review strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .nav__cta { display: none; }
  .related-services__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card { grid-column: span 6; }
  .portfolio-card--lead { grid-column: span 12; }
}

/* Switch before the full navigation becomes cramped on smaller tablets. */
@media (max-width: 920px) {
  :root { --header-height: 66px; }
  body.nav-open { overflow: hidden; }
  .nav-container { width: min(100% - 28px, var(--container)); }
  .nav__toggle { display: block; flex: 0 0 44px; }
  .nav__list {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: auto;
    left: 0;
    height: calc(100dvh - var(--header-height));
    display: grid;
    align-content: start;
    gap: 0;
    max-height: calc(100dvh - var(--header-height));
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    background: rgba(7, 21, 35, 0.99);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    opacity: 0;
    transform: translateY(-12px);
    transition: visibility 220ms ease, opacity 220ms ease, transform 220ms ease;
  }
  .nav__list.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .nav__link {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__link::after { display: none; }
  .nav__cta {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 14px 10px 6px;
  }
}

@media (max-width: 840px) {
  .nav__cta { display: inline-flex; margin: 14px 10px 6px; }
  .page-hero { min-height: 560px; padding-block: 130px 70px; }
  .service-intro__grid,
  .project-detail__story-grid { grid-template-columns: 1fr; gap: 38px; }
  .service-showcase__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 240px; }
  .service-showcase__grid img:first-child { grid-column: 1 / -1; grid-row: auto; }
  .service-cta__inner { align-items: flex-start; flex-direction: column; }
  .editorial-project,
  .editorial-project:nth-child(even) { grid-template-columns: 1fr; }
  .editorial-project:nth-child(even) .editorial-project__media { order: 0; }
  .editorial-project__media { min-height: 430px; }
  .portfolio-toolbar { top: var(--header-height); }
  .portfolio-toolbar__inner { align-items: flex-start; flex-direction: column-reverse; gap: 10px; }
  .quote-shell { grid-template-columns: 1fr; }
  .quote-progress { display: grid; grid-template-columns: repeat(4, 1fr); padding: 20px; }
  .quote-progress__item { display: flex; flex-direction: column; padding: 0; text-align: center; }
  .quote-progress__item:not(:last-child)::after { top: 15px; right: -50%; bottom: auto; left: 50%; width: 100%; height: 1px; }
  .quote-progress__item span { position: relative; z-index: 1; background: var(--navy-800); }
}

@media (max-width: 600px) {
  body.page-shell { transform: none; }
  .page-hero { min-height: 520px; padding-block: 104px 58px; }
  .page-hero h1,
  .project-detail__header h1,
  .portfolio-head h1,
  .quote-page h1 { font-size: clamp(2.35rem, 12vw, 3.35rem); }
  .page-hero__actions { display: grid; }
  .page-hero__actions .btn { width: 100%; }
  .capability-list { grid-template-columns: 1fr; }
  .service-showcase__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .service-showcase__grid img,
  .service-showcase__grid img:first-child { grid-column: auto; height: 280px; }
  .related-services__grid { grid-template-columns: 1fr; }
  .related-services__grid a { min-height: 125px; }
  .editorial-list { gap: 30px; }
  .editorial-project__media { min-height: 280px; }
  .editorial-project__content { min-height: 330px; padding: 28px 22px; }
  .portfolio-head { padding-block: 75px 44px; }
  .portfolio-toolbar .filters { width: 100%; margin-right: 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card,
  .portfolio-card--lead { grid-column: auto; }
  .portfolio-card__media,
  .portfolio-card--lead .portfolio-card__media { height: 280px; }
  .project-detail__header { padding-block: 88px 52px; }
  .project-detail__hero { height: 75vw; min-height: 340px; }
  .project-facts { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery img { height: 320px; }
  .project-pager { grid-template-columns: 1fr; }
  .project-pager a { min-height: 115px; border-bottom: 1px solid var(--line-dark); }
  .quote-page { padding-block: calc(var(--header-height) + 44px) 64px; }
  .quote-page__head { margin-bottom: 36px; }
  .quote-shell { min-height: 0; }
  .quote-progress__item { font-size: 0.68rem; }
  .quote-progress__item span { width: 28px; height: 28px; }
  .quote-wizard { min-height: 0; padding: 38px 18px 24px; }
  .quote-fields,
  .quote-review { grid-template-columns: 1fr; }
  .quote-review div:nth-child(4) { grid-column: auto; }
  .quote-wizard__actions { flex-wrap: wrap; margin-top: 32px; padding-top: 0; }
  .quote-wizard__actions .btn { flex: 1 1 130px; }
  .form__row input,
  .form__row select,
  .form__row textarea { font-size: 16px; }
}
