:root {
  --gold: #bf8728;
  --gold-bright: #d29b3a;
  --ink: #0b1015;
  --ink-soft: #131a21;
  --white: #ffffff;
  --muted: #d6d9dc;
  --line: rgba(255, 255, 255, 0.2);
  --container: 1160px;
  --shadow: 0 24px 60px rgba(4, 8, 12, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

button {
  color: inherit;
}

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

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
}

.nav-shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.brand-mark {
  width: 34px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}

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

.brand-copy strong {
  font-size: 24px;
  font-weight: 400;
}

.brand-copy small {
  margin-top: 6px;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-nav a:not(.nav-cta) {
  position: relative;
  padding: 32px 0 27px;
}

.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 3px;
  background: var(--gold);
  transition: right 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.active::after {
  right: 0;
}

.nav-cta {
  padding: 16px 21px;
  border-radius: 2px;
  background: var(--gold);
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: clamp(484px, 47.3vw, 610px);
  color: #fff;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 9, 13, 0.5) 0%, rgba(5, 9, 13, 0.12) 48%, transparent 72%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: #0a1017;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.hero-content {
  padding-top: clamp(130px, 12.3vw, 158px);
}

.hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(46px, 4.7vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

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

.hero-content > p {
  margin: 23px 0 30px;
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-gold {
  background: var(--gold);
  color: #fff;
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--gold-bright);
}

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

.button-outline:hover,
.button-outline:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #222a32;
}

.stats-panel {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -54px;
  min-height: clamp(102px, 9.85vw, 126px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(120deg, #13191f, #090d11);
  box-shadow: var(--shadow);
}

.stat {
  position: relative;
  display: grid;
  grid-template-columns: 77px 1fr;
  align-items: center;
  gap: 10px;
  padding: clamp(18px, 2.1vw, 27px) 28px;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  right: 0;
  bottom: 27px;
  width: 1px;
  background: var(--line);
}

.stat-icon {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: var(--gold-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.stat-icon text {
  fill: #fff;
  stroke: none;
  font-size: 12px;
}

.stat div {
  display: grid;
  line-height: 1.05;
}

.stat strong {
  font-size: 36px;
  letter-spacing: -0.035em;
}

.stat b {
  margin-top: 6px;
  font-size: 14px;
  text-transform: uppercase;
}

.stat span {
  margin-top: 7px;
  color: #fff;
  font-size: 11px;
  line-height: 1.25;
}

.section {
  padding-block: 76px;
}

.about {
  padding-top: 65px;
  padding-bottom: 52px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 48px;
}

.about-media {
  min-height: clamp(304px, 31vw, 410px);
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  align-self: center;
}

.section-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.about h2,
.section-heading h2,
.vision h2,
.contact-band h2,
.consultation-dialog h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.gold-rule {
  display: block;
  width: 42px;
  height: 3px;
  margin: 18px 0 18px;
  background: var(--gold);
}

.about-copy > p:not(.section-label) {
  margin: 0 0 16px;
  color: #20262c;
  font-size: 14px;
  line-height: 1.55;
}

.about-copy .button {
  margin-top: 2px;
}

.projects {
  padding-top: 20px;
  background: #fff;
}

.section-heading {
  margin-bottom: 16px;
  text-align: center;
}

.section-heading .section-label {
  margin-bottom: 2px;
}

.section-heading h2 {
  font-size: clamp(27px, 2.4vw, 36px);
}

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

.project-card {
  position: relative;
  min-height: clamp(166px, 17.5vw, 224px);
  overflow: hidden;
  border-radius: 4px;
  background-color: #080b0d;
  background-image: var(--project-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  isolation: isolate;
}

.project-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 4, 6, 0.04) 0%, rgba(2, 4, 6, 0.25) 35%, rgba(2, 4, 6, 0.96) 72%, #050709 100%);
}

.project-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(5, 8, 10, 0);
  transition: background 220ms ease;
}

.project-card:hover::after {
  background: rgba(191, 135, 40, 0.1);
}

.project-icon {
  position: absolute;
  top: 28px;
  left: 26px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 155, 58, 0.8);
  border-radius: 4px;
  background: rgba(9, 11, 12, 0.72);
  color: var(--gold-bright);
}

.project-icon svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.project-copy {
  position: absolute;
  left: 25px;
  right: 20px;
  bottom: 15px;
}

.project-copy h3 {
  margin: 0 0 3px;
  font-size: 18px;
  line-height: 1.1;
}

.project-copy p {
  max-width: 345px;
  margin: 0 0 9px;
  font-size: 12px;
  line-height: 1.35;
}

.project-copy a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-copy a span {
  color: var(--gold-bright);
  font-size: 16px;
  transition: transform 180ms ease;
}

.project-copy a:hover span {
  transform: translateX(4px);
}

.vision {
  position: relative;
  overflow: hidden;
  background: #101821;
  color: #fff;
  isolation: isolate;
}

.vision-reference-banner {
  width: 100%;
  height: auto;
}

.vision-media {
  display: none;
}

.vision-grid {
  display: none;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.vision-copy h2 {
  color: var(--gold-bright);
  font-size: 34px;
}

.vision-copy p {
  max-width: 470px;
  margin: 11px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.vision-mark {
  width: min(430px, 100%);
  height: auto;
  justify-self: center;
}

.contact-band {
  background: linear-gradient(100deg, #c08a2e, #b77e25);
  color: #fff;
}

.contact-grid {
  min-height: clamp(84px, 8.6vw, 110px);
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
}

.contact-band h2 {
  padding-right: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 29px;
  text-transform: uppercase;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 9px 28px;
  font-size: 12px;
}

.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-details a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-details svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.contact-button {
  min-width: 210px;
}

.site-footer {
  background: linear-gradient(110deg, #0c1116, #161d24);
  color: #fff;
}

.footer-grid {
  min-height: clamp(76px, 7.5vw, 96px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px 50px;
  padding-block: 16px;
}

.footer-brand {
  grid-row: 1 / 3;
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand .brand-mark {
  width: 30px;
  height: 44px;
}

.footer-brand .brand-copy strong {
  font-size: 20px;
}

.footer-brand .brand-copy small {
  font-size: 7px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3.8vw, 55px);
  font-size: 10px;
  text-transform: uppercase;
}

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

.socials {
  grid-row: 1 / 3;
  display: flex;
  gap: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  font-size: 17px;
  font-weight: 700;
}

.socials a:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.socials svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials svg .fill {
  fill: currentColor;
  stroke: none;
}

.copyright {
  margin: 0;
  text-align: center;
  font-size: 11px;
}

.consultation-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 34px;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.35);
}

.consultation-dialog::backdrop {
  background: rgba(5, 10, 15, 0.75);
  backdrop-filter: blur(5px);
}

.consultation-dialog > p:not(.section-label, .form-success) {
  margin: 10px 0 22px;
  color: #4e555c;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
}

.consultation-dialog form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.consultation-dialog label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.consultation-dialog label:nth-last-of-type(1) {
  grid-column: 1 / -1;
}

.consultation-dialog input,
.consultation-dialog select,
.consultation-dialog textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cfd3d6;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  text-transform: none;
}

.consultation-dialog input:focus,
.consultation-dialog select:focus,
.consultation-dialog textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(191, 135, 40, 0.14);
}

.consultation-dialog .button {
  justify-self: start;
}

.form-success {
  margin: 18px 0 0;
  padding: 12px;
  background: #eff8ee;
  color: #235c20;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .primary-nav {
    gap: 18px;
    font-size: 10px;
  }

  .nav-cta {
    padding-inline: 14px;
  }

  .stat {
    grid-template-columns: 58px 1fr;
    padding-inline: 18px;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

  .stat strong {
    font-size: 30px;
  }

  .project-icon {
    top: 20px;
    left: 20px;
    width: 46px;
    height: 46px;
  }

  .project-icon svg {
    width: 29px;
    height: 29px;
  }

  .project-copy {
    left: 20px;
    bottom: 12px;
  }

  .project-copy h3 {
    font-size: 15px;
  }

  .project-copy p {
    margin-bottom: 6px;
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .site-header {
    position: absolute;
  }

  .nav-shell {
    min-height: 76px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 30;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0;
    padding: 90px 30px 40px;
    background: rgba(8, 13, 18, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

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

  .primary-nav a:not(.nav-cta) {
    padding: 13px 0;
    font-size: 18px;
  }

  .primary-nav a:not(.nav-cta)::after {
    bottom: 7px;
  }

  .nav-cta {
    margin-top: 18px;
    padding: 17px 24px;
    font-size: 13px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 142px;
  }

  .hero h1 {
    max-width: 560px;
  }

  .stats-panel {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 80px;
    transform: none;
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2)::after {
    display: none;
  }

  .stat:nth-child(-n + 2)::before {
    content: "";
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 0;
    height: 1px;
    background: var(--line);
  }

  .about {
    padding-top: 76px;
  }

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

  .about-media {
    min-height: 430px;
  }

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

  .contact-grid {
    grid-template-columns: 210px 1fr;
  }

  .contact-button {
    grid-column: 2;
    justify-self: start;
    margin-bottom: 18px;
  }

  .contact-band h2 {
    grid-row: 1 / 3;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }

  .footer-brand {
    grid-row: auto;
  }

  .footer-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .socials {
    grid-row: 1;
    grid-column: 2;
  }

  .copyright {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .brand-mark {
    width: 29px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(5, 9, 13, 0.15), rgba(5, 9, 13, 0.15) 42%, rgba(5, 9, 13, 0.92) 82%),
      linear-gradient(90deg, rgba(5, 9, 13, 0.7), transparent);
  }

  .hero-media {
    height: 700px;
  }

  .hero-media img {
    object-position: 61% 64%;
  }

  .hero-content {
    min-height: 650px;
    padding-top: 130px;
  }

  .hero h1 {
    max-width: 400px;
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-content > p {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-content > p br {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 290px;
  }

  .stats-panel {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }

  .stat {
    min-height: 132px;
    grid-template-columns: 48px 1fr;
    padding: 22px 16px;
  }

  .stat-icon {
    width: 43px;
    height: 43px;
  }

  .stat strong {
    font-size: 27px;
  }

  .stat b {
    font-size: 12px;
  }

  .stat span {
    font-size: 10px;
  }

  .section {
    padding-block: 56px;
  }

  .about-grid {
    gap: 34px;
  }

  .about-media {
    min-height: 330px;
  }

  .about-copy > p:not(.section-label) {
    font-size: 14px;
  }

  .projects {
    padding-top: 8px;
  }

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

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

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

  .project-copy h3 {
    font-size: 20px;
  }

  .project-copy p {
    font-size: 13px;
  }

  .vision-reference-banner {
    display: none;
  }

  .vision-media {
    position: absolute;
    z-index: -2;
    inset: 0;
    display: block;
    background:
      linear-gradient(90deg, rgba(9, 15, 21, 0.98) 0%, rgba(9, 15, 21, 0.78) 48%, rgba(9, 15, 21, 0.72) 100%),
      url("assets/vision-2030-mobile-bg.png") center / cover no-repeat;
  }

  .vision-grid {
    min-height: 430px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 36px;
  }

  .vision-mark {
    justify-self: start;
    width: min(330px, 100%);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px;
  }

  .contact-band h2 {
    grid-row: auto;
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-button {
    grid-column: auto;
    margin: 0;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 32px;
  }

  .footer-brand {
    padding: 0;
    border: 0;
  }

  .footer-nav {
    grid-column: 1;
    grid-row: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
  }

  .socials {
    grid-column: 1;
    grid-row: auto;
  }

  .copyright {
    grid-column: 1;
  }

  .consultation-dialog {
    padding: 30px 20px 24px;
  }

  .consultation-dialog form {
    grid-template-columns: 1fr;
  }

  .consultation-dialog label:nth-last-of-type(1) {
    grid-column: 1;
  }
}

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

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