:root {
  --navy-950: #06121f;
  --navy-900: #0a1a2b;
  --navy-800: #11283d;
  --ink: #17202a;
  --muted: #68717a;
  --paper: #f4f1eb;
  --cream: #fbf8f1;
  --gold: #c99b4d;
  --gold-light: #e3bd75;
  --line: rgba(10, 26, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

.scroll-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 16px rgba(227, 189, 117, 0.55);
  transform: scaleX(0);
  transform-origin: left;
}

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

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

button {
  font: inherit;
}

.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding-block: 112px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 112px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  color: #fff;
  transition:
    height 240ms ease,
    background 240ms ease,
    border-color 240ms ease,
    backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  height: 82px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 12, 21, 0.84);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 12px 34px rgba(2, 8, 14, 0.16);
}

.site-header.is-scrolled .brand img {
  width: 54px;
  height: 54px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 21px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 15px;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
  opacity: 0.88;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

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

.nav-links a:hover {
  opacity: 1;
}

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

.nav-links a.is-active {
  color: var(--gold-light);
  opacity: 1;
}

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

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 900px;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-950);
  background-image: url("/images/hero-premium-house.png");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: -24px;
  background: inherit;
  background-position: center;
  background-size: cover;
  content: "";
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) scale(1.035);
  transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-shade {
  z-index: 1;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 13, 24, 0.99) 0%, rgba(4, 17, 31, 0.91) 33%, rgba(5, 17, 31, 0.25) 68%, rgba(4, 14, 24, 0.12) 100%),
    linear-gradient(180deg, rgba(4, 13, 22, 0.24), rgba(4, 13, 22, 0.08) 54%, rgba(4, 13, 22, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.hero-content h1 {
  max-width: 780px;
  margin: 0;
  color: #f8f4ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 6.5vw, 102px);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.hero-content h1 span {
  display: block;
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950);
  box-shadow: 0 12px 28px rgba(4, 11, 19, 0.24);
}

.button-gold:hover {
  background: linear-gradient(135deg, #efd091, #d3a650);
}

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

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

.wa-mark {
  font-size: 26px;
  line-height: 1;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row span {
  padding: 13px 17px;
  border: 1px solid rgba(227, 189, 117, 0.66);
  border-radius: 3px;
  background: rgba(4, 16, 28, 0.35);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  letter-spacing: 0.025em;
  backdrop-filter: blur(7px);
}

.trust-row span::before {
  margin-right: 10px;
  color: var(--gold-light);
  content: "◇";
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100vw - 1240px) / 2));
  bottom: 42px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  text-align: right;
}

.hero-caption span {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4.7vw, 70px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr);
  gap: 72px;
  align-items: end;
}

.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.service-card {
  min-height: 390px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  transition:
    background 240ms ease,
    transform 240ms ease;
}

.service-card:hover {
  background: #fff;
  transform: translateY(-5px);
}

.card-number {
  margin: 0 0 64px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.service-card h3 {
  min-height: 58px;
  margin: 0 0 20px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.18;
}

.service-card > p:not(.card-number) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
}

.service-card a span {
  color: var(--gold);
}

.portfolio {
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}

.light-heading h2 {
  color: #f6f1e8;
}

.light-heading > p {
  color: rgba(255, 255, 255, 0.58);
}

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

.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -14px 0 28px;
}

.filter-button {
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.63);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--navy-950);
  transform: translateY(-1px);
}

.project-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--navy-800);
  color: #fff;
  cursor: zoom-in;
  text-align: left;
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.project-card.is-filtered-out {
  display: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(3, 12, 22, 0.95));
  content: "";
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
}

.project-overlay p {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.project-overlay h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.project-overlay span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.project-overlay b {
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

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

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

.process-grid article {
  position: relative;
  padding: 34px 28px 20px 0;
}

.process-grid article:not(:last-child)::after {
  position: absolute;
  top: 39px;
  right: 20px;
  width: 48px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.process-grid article:not(:last-child)::before {
  position: absolute;
  z-index: 2;
  top: 35px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  content: "";
  transform: rotate(45deg);
}

.process-grid span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.process-grid h3 {
  margin: 36px 0 14px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.process-grid p {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 100px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  right: -30px;
  bottom: 34px;
  display: grid;
  width: 170px;
  height: 170px;
  place-content: center;
  border: 1px solid rgba(227, 189, 117, 0.62);
  background: var(--navy-950);
  color: #fff;
  text-align: center;
}

.about-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 45px;
  font-weight: 400;
}

.about-badge span {
  margin-top: 5px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-copy h2 {
  margin: 0 0 32px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4.7vw, 67px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.about-copy > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.about-points {
  display: grid;
  gap: 18px;
  margin-top: 35px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-points div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
}

.about-points strong {
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
}

.about-points span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.clients {
  background: var(--cream);
}

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

.client-card {
  display: grid;
  min-height: 245px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  grid-template-rows: 1fr auto;
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.client-card:hover {
  z-index: 2;
  background: #fff;
  transform: translateY(-4px);
}

.client-card:hover .client-logo img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.client-logo {
  display: grid;
  min-height: 135px;
  place-items: center;
}

.client-logo img {
  width: auto;
  max-width: 80%;
  height: 82px;
  object-fit: contain;
  filter: grayscale(0.7);
  transition:
    filter 240ms ease,
    transform 240ms ease;
}

.client-logo.client-wide img {
  width: 78%;
  max-width: 285px;
  height: 88px;
}

.client-logo.client-tall img,
.client-logo.client-round img {
  width: 96px;
  height: 96px;
}

.client-card > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.locations {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(201, 155, 77, 0.14), transparent 32%),
    var(--navy-950);
  color: #fff;
}

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

.location-card {
  position: relative;
  display: grid;
  min-height: 325px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 58%),
    repeating-linear-gradient(32deg, transparent 0 38px, rgba(255, 255, 255, 0.025) 39px 40px);
  grid-template-rows: auto 1fr auto;
  transition:
    border-color 220ms ease,
    transform 220ms ease,
    background 220ms ease;
}

.location-card::before {
  position: absolute;
  top: -78px;
  right: -68px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(227, 189, 117, 0.2);
  border-radius: 50%;
  content: "";
}

.location-card::after {
  position: absolute;
  top: 39px;
  right: 40px;
  width: 13px;
  height: 13px;
  border: 4px solid var(--gold-light);
  border-radius: 50% 50% 50% 0;
  content: "";
  transform: rotate(-45deg);
}

.location-card:hover {
  border-color: rgba(227, 189, 117, 0.64);
  background:
    linear-gradient(135deg, rgba(227, 189, 117, 0.12), transparent 58%),
    repeating-linear-gradient(32deg, transparent 0 38px, rgba(255, 255, 255, 0.035) 39px 40px);
  transform: translateY(-4px);
}

.location-number {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.location-copy {
  align-self: end;
  max-width: 430px;
  margin-top: 50px;
}

.location-copy p {
  margin: 0 0 13px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.location-copy h3 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3.1vw, 46px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.location-copy span {
  display: block;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.7;
}

.location-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.location-action b {
  color: var(--gold-light);
  font-size: 18px;
}

.direct-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
}

.direct-contact > span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.direct-contact a {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.direct-contact b {
  margin-left: 10px;
  font-size: 16px;
}

.contact {
  background:
    linear-gradient(90deg, rgba(6, 18, 31, 0.97), rgba(6, 18, 31, 0.82)),
    url("/images/hero-premium-house.png") center 62% / cover;
  color: #fff;
}

.contact-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
}

.project-brief {
  display: grid;
  width: min(420px, 100%);
  flex: 0 0 auto;
  gap: 13px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 12, 21, 0.68);
  backdrop-filter: blur(14px);
}

.project-brief div {
  display: grid;
  gap: 8px;
}

.project-brief label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-brief select,
.project-brief input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 13px;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.project-brief select:focus,
.project-brief input:focus {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.1);
}

.project-brief select option {
  background: var(--navy-950);
}

.project-brief input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.project-brief .button {
  width: 100%;
  margin-top: 3px;
}

.project-brief small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.contact h2 {
  max-width: 800px;
  margin: 0;
  color: #f8f4ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5.2vw, 78px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.contact p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
  line-height: 1.8;
}

.contact-button {
  flex: 0 0 auto;
}

footer {
  padding: 55px 0 24px;
  background: #030b13;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.footer-brand div {
  display: grid;
  gap: 7px;
}

.footer-brand strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
}

.floating-wa {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: flex;
  height: 54px;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: #1f9d55;
  color: #fff;
  box-shadow: 0 10px 28px rgba(5, 17, 27, 0.3);
  font-size: 13px;
  font-weight: 700;
}

.floating-wa span {
  font-size: 24px;
}

.floating-wa em {
  font-style: normal;
}

.scroll-top {
  position: fixed;
  z-index: 29;
  right: 26px;
  bottom: 88px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(6, 18, 31, 0.88);
  color: var(--gold-light);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(8px);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay, 0ms);
}

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

.gallery-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 72px;
  background: rgba(2, 8, 14, 0.95);
  place-items: center;
  backdrop-filter: blur(12px);
}

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

.gallery-modal figure {
  display: grid;
  width: min(1180px, 100%);
  max-height: calc(100vh - 144px);
  margin: 0;
  grid-template-columns: minmax(0, 1fr) 300px;
  background: #06121f;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.gallery-modal figure > img {
  width: 100%;
  height: min(74vh, 760px);
  object-fit: cover;
}

.gallery-modal figcaption {
  display: flex;
  justify-content: flex-end;
  padding: 38px;
  flex-direction: column;
}

.gallery-modal figcaption span {
  margin-bottom: 15px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-modal figcaption strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.08;
}

.gallery-modal figcaption p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.gallery-modal figcaption small {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.16em;
}

.gallery-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(6, 18, 31, 0.56);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  transform: translateY(-50%);
  transition:
    border-color 180ms ease,
    background 180ms ease;
  backdrop-filter: blur(8px);
}

.gallery-nav:hover {
  border-color: var(--gold-light);
  background: var(--gold);
  color: var(--navy-950);
}

.gallery-previous {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.gallery-close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 28px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  font-weight: 200;
}

@media (max-width: 1000px) {
  .site-header {
    height: 94px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .nav-links {
    gap: 23px;
    font-size: 13px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content h1 {
    max-width: 650px;
    font-size: clamp(58px, 8vw, 78px);
  }

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

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

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

  .about-grid {
    gap: 60px;
  }

  .about-visual img {
    height: 560px;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 36px;
  }

  .project-brief {
    width: 100%;
  }

  .gallery-modal {
    padding: 54px 34px;
  }

  .gallery-modal figure {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 36px, 560px);
  }

  .section {
    padding-block: 78px;
  }

  .site-header {
    position: absolute;
    height: 84px;
    padding-inline: 18px;
  }

  .site-header.is-scrolled {
    height: 72px;
  }

  .site-header.is-scrolled .brand img {
    width: 44px;
    height: 44px;
  }

  .brand {
    position: relative;
    z-index: 32;
    gap: 10px;
    font-size: 14px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .menu-button {
    position: relative;
    z-index: 32;
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(2, 10, 17, 0.42);
  }

  .menu-button span {
    width: 18px;
    height: 1px;
    background: #fff;
  }

  .nav-links {
    position: fixed;
    z-index: 31;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 130px;
    background: rgba(3, 12, 21, 0.98);
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: min(100% - 48px, 500px);
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
  }

  .hero {
    min-height: 830px;
    align-items: end;
    background-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 13, 24, 0.25), rgba(3, 13, 24, 0.78) 39%, rgba(3, 13, 24, 0.99) 79%),
      linear-gradient(90deg, rgba(3, 13, 24, 0.46), transparent);
  }

  .hero-content {
    padding: 116px 0 58px;
  }

  .hero-content .eyebrow {
    max-width: 310px;
    margin-bottom: 17px;
    font-size: 10px;
  }

  .hero-content h1 {
    font-size: clamp(46px, 14vw, 65px);
    line-height: 0.96;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 27px;
  }

  .button {
    width: 100%;
    min-height: 56px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 22px;
  }

  .trust-row span {
    padding: 10px 13px;
  }

  .hero-caption {
    display: none;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .split-heading > p {
    font-size: 14px;
  }

  .service-grid,
  .process-grid,
  .project-grid,
  .about-grid,
  .client-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 28px 24px 30px;
  }

  .card-number {
    margin-bottom: 36px;
  }

  .service-card h3 {
    min-height: 0;
  }

  .project-grid {
    gap: 14px;
  }

  .portfolio-toolbar {
    flex-wrap: nowrap;
    margin-right: -18px;
    padding-right: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .filter-button {
    flex: 0 0 auto;
  }

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

  .process-grid article {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }

  .process-grid article:not(:last-child)::after,
  .process-grid article:not(:last-child)::before {
    display: none;
  }

  .process-grid h3 {
    margin-top: 17px;
  }

  .process-grid p {
    max-width: none;
  }

  .about-grid {
    gap: 68px;
  }

  .about-visual img {
    height: 460px;
  }

  .about-badge {
    right: -4px;
    bottom: -32px;
    width: 142px;
    height: 142px;
  }

  .about-points div {
    grid-template-columns: 100px 1fr;
  }

  .client-card {
    min-height: 210px;
    padding: 26px;
  }

  .client-logo {
    min-height: 110px;
  }

  .client-logo.client-wide img {
    width: 76%;
  }

  .location-card {
    min-height: 310px;
    padding: 28px;
  }

  .direct-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .direct-contact a {
    font-size: 22px;
  }

  .contact-inner {
    gap: 34px;
  }

  .footer-grid,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-brand span {
    max-width: 220px;
    line-height: 1.6;
  }

  .footer-links {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .footer-links a {
    padding-block: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .floating-wa {
    right: 14px;
    bottom: 14px;
    width: 52px;
    justify-content: center;
    padding: 0;
  }

  .floating-wa em {
    display: none;
  }

  .scroll-top {
    right: 18px;
    bottom: 78px;
  }

  .gallery-modal {
    align-items: center;
    padding: 70px 18px 24px;
  }

  .gallery-modal figure {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    grid-template-columns: 1fr;
  }

  .gallery-modal figure > img {
    height: 55vh;
  }

  .gallery-modal figcaption {
    padding: 24px;
  }

  .gallery-modal figcaption strong {
    font-size: 28px;
  }

  .gallery-close {
    top: 14px;
    right: 16px;
  }

  .gallery-nav {
    top: auto;
    bottom: 22px;
    width: 44px;
    height: 44px;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

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