:root {
  --ink: #0b1624;
  --ink-soft: #15283c;
  --ink-muted: #294258;
  --gold: #d6a84f;
  --gold-deep: #a8741e;
  --paper: #ffffff;
  --mist: #f3f6f8;
  --mist-strong: #e8eef2;
  --line: #d9e1e7;
  --text: #243241;
  --muted: #657382;
  --success: #2f6b58;
  --danger: #a63d3d;
  --shadow-sm: 0 10px 30px rgba(11, 22, 36, 0.08);
  --shadow-lg: 0 24px 70px rgba(11, 22, 36, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 82px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", "Aptos Display", "Segoe UI", var(--font-body);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

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

body.nav-open,
body.dialog-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

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

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.15rem, 7vw, 6.65rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 760;
}

p:last-child,
ul:last-child,
ol:last-child,
blockquote:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--ink);
  background: rgba(214, 168, 79, 0.45);
}

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

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

.section {
  padding: 112px 0;
}

.section--compact {
  padding: 78px 0;
}

.section--soft {
  background: var(--mist);
}

.section--dark {
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--paper);
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section--dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.kicker {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(214, 168, 79, 0.24);
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  background: #e2b969;
  box-shadow: 0 15px 34px rgba(214, 168, 79, 0.3);
  transform: translateY(-2px);
}

.button--outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(11, 22, 36, 0.28);
  box-shadow: none;
}

.button--outline:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.button--ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button--small {
  min-height: 44px;
  padding-inline: 19px;
  font-size: 0.84rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(5px);
}

.topbar {
  position: relative;
  z-index: 41;
  color: rgba(255, 255, 255, 0.76);
  background: #07101b;
  font-size: 0.77rem;
  font-weight: 680;
  letter-spacing: 0.04em;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar a {
  transition: color 160ms ease;
}

.topbar a:hover {
  color: var(--gold);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(217, 225, 231, 0.8);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-copy strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #425160;
  font-size: 0.86rem;
  font-weight: 780;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
  background: var(--mist-strong);
}

.nav-link[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.header-cta {
  flex: 0 0 auto;
}

.nav-quote-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  position: absolute;
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle::before {
  transform: translateY(-6px);
}

.menu-toggle::after {
  transform: translateY(6px);
}

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

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

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

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 120px));
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background-color: var(--ink);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 14, 24, 0.94) 0%, rgba(5, 14, 24, 0.82) 46%, rgba(5, 14, 24, 0.34) 78%, rgba(5, 14, 24, 0.48) 100%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -280px;
  width: 720px;
  height: 720px;
  content: "";
  border: 1px solid rgba(214, 168, 79, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(214, 168, 79, 0.06), 0 0 0 180px rgba(214, 168, 79, 0.035);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 870px;
  padding: 95px 0 112px;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 26px;
  color: var(--paper);
}

.hero h1 span {
  color: var(--gold);
}

.hero-intro {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-proof {
  display: grid;
  max-width: 840px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.hero-proof li {
  padding: 23px 28px 0 0;
}

.hero-proof li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 4px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 82px;
  align-items: start;
}

.intro-copy h2 {
  margin-bottom: 26px;
}

.intro-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.metric-card {
  min-height: 155px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--mist);
}

.metric-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

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

.service-card {
  position: relative;
  min-height: 315px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 0 0 rgba(11, 22, 36, 0);
  transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease;
}

.service-card::after {
  position: absolute;
  right: -42px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  content: "";
  border: 1px solid rgba(214, 168, 79, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(214, 168, 79, 0.05);
  transition: transform 250ms ease;
}

.service-card:hover {
  border-color: rgba(214, 168, 79, 0.76);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.service-card:hover::after {
  transform: scale(1.12);
}

.service-card--wide {
  grid-column: span 2;
}

.service-index {
  display: inline-grid;
  width: 50px;
  height: 50px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 14px;
  color: var(--gold);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.service-card h3 {
  max-width: 330px;
  margin-bottom: 14px;
}

.service-card p {
  max-width: 440px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card .text-link {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  left: 30px;
  font-size: 0.86rem;
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 18px;
}

.project-tile {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink);
  isolation: isolate;
}

.project-tile--large {
  grid-column: span 7;
  grid-row: span 2;
}

.project-tile--medium {
  grid-column: span 5;
}

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

.project-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(6, 15, 25, 0.9) 100%);
}

.project-tile:hover img {
  transform: scale(1.045);
}

.project-tile-copy {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 23px;
  left: 24px;
}

.project-tile-copy span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-tile-copy strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.26rem;
  letter-spacing: -0.02em;
}

.project-section-actions {
  display: flex;
  margin-top: 34px;
  justify-content: center;
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 86px;
  align-items: center;
}

.quality-copy h2 {
  margin-bottom: 24px;
}

.quality-copy p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
}

.quality-card {
  min-height: 180px;
  padding: 28px;
  background: #102236;
}

.quality-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 850;
  line-height: 0.9;
}

.quality-card h3 {
  margin-bottom: 9px;
  font-size: 1.22rem;
}

.quality-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.87rem;
}

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

.quote-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.quote-mark {
  margin-bottom: 22px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 4.1rem;
  line-height: 0.55;
}

.quote-card blockquote {
  margin-bottom: 28px;
  color: #374655;
  font-size: 1rem;
}

.quote-card footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.quote-card cite {
  display: block;
  color: var(--ink);
  font-style: normal;
  font-weight: 850;
}

.quote-card footer span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 50px;
  align-items: center;
  padding: 64px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.cta-panel::before {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -100px;
  width: 480px;
  height: 480px;
  content: "";
  border: 1px solid rgba(214, 168, 79, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(214, 168, 79, 0.055), 0 0 0 130px rgba(214, 168, 79, 0.025);
}

.cta-panel h2 {
  max-width: 760px;
  margin-bottom: 15px;
  color: var(--paper);
  font-size: clamp(2.15rem, 4vw, 3.6rem);
}

.cta-panel p {
  max-width: 700px;
  margin-bottom: 0;
}

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

.page-hero {
  position: relative;
  display: grid;
  min-height: 485px;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background-color: var(--ink);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(6, 15, 25, 0.95) 0%, rgba(6, 15, 25, 0.74) 56%, rgba(6, 15, 25, 0.42) 100%);
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  right: -170px;
  bottom: -310px;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(214, 168, 79, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(214, 168, 79, 0.055), 0 0 0 150px rgba(214, 168, 79, 0.027);
}

.page-hero-content {
  padding: 68px 0 70px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.breadcrumb span[aria-hidden="true"] {
  color: var(--gold);
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 20px;
  color: var(--paper);
  font-size: clamp(3.2rem, 7vw, 6rem);
}

.page-hero-intro {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 1.14rem;
}

.content-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 82px;
  align-items: start;
}

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

.sticky-intro h2 {
  margin-bottom: 23px;
}

.sticky-intro p {
  color: var(--muted);
}

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

.service-detail {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.service-detail:hover {
  border-color: rgba(214, 168, 79, 0.65);
  box-shadow: var(--shadow-sm);
}

.service-detail-number {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 18px;
  color: var(--gold);
  background: var(--ink);
  font-family: var(--font-display);
  font-weight: 850;
}

.service-detail h3 {
  margin-bottom: 12px;
}

.service-detail p {
  margin-bottom: 18px;
  color: var(--muted);
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inline-list li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4a5968;
  background: var(--mist);
  font-size: 0.76rem;
  font-weight: 730;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: process;
}

.process-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  counter-increment: process;
}

.process-card::before {
  display: block;
  margin-bottom: 36px;
  color: var(--gold);
  content: "0" counter(process);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.process-card h3 {
  margin-bottom: 12px;
}

.process-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

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

.type-card {
  display: flex;
  min-height: 112px;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.type-card::before {
  width: 8px;
  height: 8px;
  margin-right: 10px;
  margin-bottom: 5px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4a5968;
  background: var(--paper);
  font-size: 0.79rem;
  font-weight: 790;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.gallery-count {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  white-space: nowrap;
}

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

.gallery-item {
  min-width: 0;
}

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

.gallery-card {
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 0 0 rgba(11, 22, 36, 0);
  cursor: zoom-in;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.gallery-card:hover {
  border-color: rgba(214, 168, 79, 0.68);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.gallery-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist-strong);
}

.gallery-image-wrap::after {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  content: "+";
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(8, 19, 31, 0.72);
  font-size: 1.3rem;
  font-weight: 400;
  backdrop-filter: blur(8px);
}

.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.gallery-meta {
  padding: 20px 21px 22px;
}

.gallery-meta span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-deep);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-meta strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lightbox {
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--ink);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.45);
}

.lightbox::backdrop {
  background: rgba(2, 8, 14, 0.84);
  backdrop-filter: blur(8px);
}

.lightbox-inner {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(100vh - 32px);
}

.lightbox-image-wrap {
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #050c14;
}

.lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
}

.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.lightbox-caption span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: 64px;
  align-items: center;
}

.story-media {
  position: relative;
  min-height: 570px;
}

.story-image-main,
.story-image-detail {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.story-image-main {
  inset: 0 90px 70px 0;
  width: calc(100% - 90px);
  height: calc(100% - 70px);
}

.story-image-detail {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 42%;
  border: 8px solid var(--paper);
}

.story-copy h2 {
  margin-bottom: 25px;
}

.story-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.story-note {
  margin-top: 30px;
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  color: var(--ink) !important;
  background: var(--mist);
  font-weight: 720;
}

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

.value-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.value-letter {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 18px;
  color: var(--gold);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.credential-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 38px;
  border: 1px solid rgba(214, 168, 79, 0.4);
  border-radius: var(--radius-md);
  background: #fffaf0;
}

.credential-panel h3 {
  margin-bottom: 10px;
}

.credential-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  padding: 10px 14px;
  border: 1px solid rgba(214, 168, 79, 0.48);
  border-radius: 999px;
  color: #5c4319;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 850;
}

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

.office-card {
  position: relative;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.office-card::after {
  position: absolute;
  right: -36px;
  bottom: -52px;
  width: 140px;
  height: 140px;
  content: "";
  border: 1px solid rgba(214, 168, 79, 0.3);
  border-radius: 50%;
}

.office-label {
  display: inline-flex;
  margin-bottom: 25px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.office-card h3 {
  margin-bottom: 17px;
}

.office-card address {
  margin-bottom: 22px;
  color: var(--muted);
  font-style: normal;
}

.office-contact {
  display: grid;
  gap: 8px;
}

.office-contact a {
  position: relative;
  z-index: 1;
  width: fit-content;
  color: var(--ink);
  font-weight: 780;
}

.office-contact a:hover {
  color: var(--gold-deep);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 62px;
  align-items: start;
}

.contact-intro h2 {
  margin-bottom: 23px;
}

.contact-intro > p {
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.contact-direct a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--paper);
  font-weight: 800;
  transition: border-color 160ms ease, transform 160ms ease;
}

.contact-direct a:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.contact-direct a span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-checklist {
  margin-top: 34px;
  padding: 26px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.quote-checklist h3 {
  margin-bottom: 17px;
  color: var(--paper);
  font-size: 1.2rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
}

.check-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.contact-form-wrap {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.form-intro {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field--honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-field label,
.form-field legend {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid #cdd7de;
  border-radius: 10px;
  background: #fbfcfd;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold-deep);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(214, 168, 79, 0.15);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.form-note {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.form-actions .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 24px;
  margin-top: 16px;
  color: var(--success);
  font-size: 0.84rem;
  font-weight: 760;
}

.form-status.is-error {
  color: var(--danger);
}

.site-footer {
  color: rgba(255, 255, 255, 0.65);
  background: #07101b;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.65fr));
  gap: 56px;
  padding: 76px 0 58px;
}

.footer-brand .brand-copy strong {
  color: var(--paper);
}

.footer-brand .brand-copy span {
  color: rgba(255, 255, 255, 0.46);
}

.footer-brand p {
  max-width: 390px;
  margin: 22px 0 24px;
  font-size: 0.9rem;
}

.footer-license {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem !important;
  line-height: 1.7;
}

.footer-column h2 {
  margin-bottom: 20px;
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.84rem;
  transition: color 160ms ease;
}

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

.footer-bottom {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.76);
}

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

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

html.js .reveal-delay-1 {
  transition-delay: 90ms;
}

html.js .reveal-delay-2 {
  transition-delay: 170ms;
}

html.js .reveal-delay-3 {
  transition-delay: 250ms;
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 18px;
  }

  .nav-link {
    padding-inline: 10px;
  }

  .header-cta {
    display: none;
  }

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

  .service-card--wide {
    grid-column: span 1;
  }

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

  .footer-main {
    grid-template-columns: 1.2fr repeat(2, 0.8fr);
  }

  .footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

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

  .section {
    padding: 86px 0;
  }

  .topbar-inner > span {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    z-index: 39;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - 110px);
    padding: 22px 16px 30px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.99);
    border-top: 1px solid var(--line);
    box-shadow: 0 25px 45px rgba(11, 22, 36, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-list {
    display: grid;
    width: min(100%, 560px);
    gap: 5px;
    margin-inline: auto;
  }

  .nav-link {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding-inline: 18px;
    border-radius: 12px;
    font-size: 0.96rem;
  }

  .nav-link::after {
    content: "→";
  }

  .nav-quote-mobile {
    display: block;
    margin-top: 7px;
  }

  .nav-quote-mobile .button {
    width: 100%;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding: 80px 0 90px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(5, 14, 24, 0.95) 0%, rgba(5, 14, 24, 0.74) 100%);
  }

  .section-heading,
  .intro-grid,
  .quality-layout,
  .content-columns,
  .story-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .section-heading {
    align-items: start;
  }

  .sticky-intro {
    position: static;
  }

  .featured-projects {
    grid-auto-rows: 230px;
  }

  .project-tile,
  .project-tile--large,
  .project-tile--medium {
    grid-column: span 6;
    grid-row: span 1;
  }

  .project-tile--large {
    grid-row: span 2;
  }

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

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 48px;
  }

  .story-media {
    min-height: 520px;
    order: 2;
  }

  .credential-panel {
    grid-template-columns: 1fr;
  }

  .credential-list {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 72px 0;
  }

  .section--compact {
    padding: 58px 0;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy span {
    font-size: 0.62rem;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
  }

  .topbar-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .topbar-links a:last-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 720px;
    background-position: 58% center;
  }

  .hero-content {
    padding: 74px 0 80px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-actions,
  .cta-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof li,
  .hero-proof li + li {
    padding: 15px 0;
    border-left: 0;
  }

  .hero-proof li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .metric-grid,
  .service-grid,
  .testimonial-grid,
  .gallery-grid,
  .process-grid,
  .type-grid,
  .value-grid,
  .office-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 125px;
  }

  .service-card {
    min-height: 300px;
  }

  .featured-projects {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .project-tile,
  .project-tile--large,
  .project-tile--medium {
    grid-column: auto;
    grid-row: auto;
  }

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

  .cta-panel {
    padding: 38px 28px;
    border-radius: var(--radius-md);
  }

  .page-hero {
    min-height: 430px;
  }

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

  .page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.35rem);
  }

  .service-detail {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-bar {
    width: 100%;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .filter-button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .lightbox-caption {
    align-items: flex-start;
  }

  .story-media {
    min-height: 420px;
  }

  .story-image-main {
    inset: 0 45px 55px 0;
    width: calc(100% - 45px);
    height: calc(100% - 55px);
  }

  .story-image-detail {
    width: 54%;
    height: 39%;
    border-width: 6px;
  }

  .credential-panel,
  .contact-form-wrap {
    padding: 26px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 60px 0 42px;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }
}

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

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

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

.lightbox-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.lightbox-nav,
.lightbox-close {
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lightbox-nav {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: transparent;
  font-size: 1.15rem;
  cursor: pointer;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 520px) {
  .lightbox-caption {
    gap: 14px;
    padding: 16px;
  }

  .lightbox-nav,
  .lightbox-close {
    width: 38px;
    height: 38px;
  }
}

