:root {
  --black: #050505;
  --charcoal: #11110f;
  --charcoal-2: #191817;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --gold: #d7ad52;
  --gold-2: #f1d99b;
  --bronze: #8b6632;
  --text: #f7f3e9;
  --muted: #b9b2a4;
  --line: rgba(215, 173, 82, 0.25);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.admin-bar .site-header {
  top: 32px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(215, 173, 82, 0.07), transparent 26%),
    linear-gradient(180deg, var(--black), #10100f 48%, #080807);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.76), rgba(5, 5, 5, 0.2));
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, min-height 200ms ease;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(7, 7, 7, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 64px;
  padding: 5px;
  border: 1px solid rgba(241, 217, 155, 0.22);
  background: rgba(2, 2, 2, 0.72);
  box-shadow: 0 0 24px rgba(215, 173, 82, 0.12);
  overflow: visible;
}

.brand-mark img {
  display: block;
  width: auto;
  height: 86%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 8px rgba(215, 173, 82, 0.16));
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 15px;
  text-transform: uppercase;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(247, 243, 233, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.main-nav .primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav .menu-item {
  position: relative;
}

.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  min-width: 150px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: rgba(8, 8, 8, 0.96);
  border: 1px solid rgba(215, 173, 82, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.main-nav .sub-menu::before {
  position: absolute;
  inset: -18px 0 auto;
  height: 18px;
  content: "";
}

.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.main-nav a:not(.nav-cta):hover,
.main-nav a.is-active,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current_page_item > a {
  color: var(--gold-2);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.has-submenu > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.75;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  min-width: 150px;
  padding: 8px;
  background: rgba(8, 8, 8, 0.96);
  border: 1px solid rgba(215, 173, 82, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-submenu::before {
  position: absolute;
  inset: -18px 0 auto;
  height: 18px;
  content: "";
}

.has-submenu:hover .nav-submenu,
.has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
  color: rgba(247, 243, 233, 0.78);
  border-radius: 4px;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a.is-active {
  background: rgba(215, 173, 82, 0.08);
  color: var(--gold-2);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-cta,
.button.primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--bronze));
  border-color: rgba(241, 217, 155, 0.75);
  color: #111;
  box-shadow: 0 14px 40px rgba(215, 173, 82, 0.2);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-2);
}

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

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold-2);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 46%, rgba(215, 173, 82, 0.16), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(241, 217, 155, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 42%);
}

.page-hero::before,
.project-detail-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 22%, rgba(215, 173, 82, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 62%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 58px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 92px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 58px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 34px;
  font-size: 19px;
}

.hero-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  min-height: 430px;
  isolation: isolate;
  padding: 24px 26px;
  border: 1px solid rgba(241, 217, 155, 0.24);
  background:
    radial-gradient(circle at 50% 42%, rgba(215, 173, 82, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.022) 48%, rgba(0, 0, 0, 0.18)),
    linear-gradient(135deg, rgba(215, 173, 82, 0.05), transparent 34%, rgba(241, 217, 155, 0.04) 72%, transparent),
    #0b0a09;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    0 0 56px rgba(215, 173, 82, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 92px rgba(215, 173, 82, 0.06);
  overflow: visible;
}

.hero-emblem::before,
.hero-emblem::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-emblem::before {
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(241, 217, 155, 0.16);
  background:
    linear-gradient(rgba(241, 217, 155, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 217, 155, 0.038) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(215, 173, 82, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.018);
  background-size: 100% 100%, 38px 38px, 100% 100%, 100% 100%;
  box-shadow:
    inset 0 0 48px rgba(0, 0, 0, 0.45),
    inset 0 0 28px rgba(215, 173, 82, 0.055);
}

.hero-emblem::after {
  inset: 42px 34px;
  z-index: 0;
  border-inline: 1px solid rgba(241, 217, 155, 0.18);
  border-block: 1px solid rgba(241, 217, 155, 0.075);
  background:
    linear-gradient(90deg, transparent, rgba(241, 217, 155, 0.08), transparent),
    radial-gradient(ellipse at 50% 50%, rgba(215, 173, 82, 0.18), transparent 52%);
  opacity: 0.9;
}

.hero-emblem img {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  height: min(84%, 360px);
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.9;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 32px rgba(215, 173, 82, 0.32))
    drop-shadow(0 18px 32px rgba(0, 0, 0, 0.34));
}

.section {
  padding: 96px 0;
}

.alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(255, 255, 255, 0.015);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.split-intro,
.section-head,
.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head .text-link {
  justify-self: end;
  align-self: center;
}

.text-link {
  color: var(--gold-2);
  font-weight: 800;
}

.card-grid,
.project-grid,
.company-grid,
.values-grid {
  display: grid;
  gap: 18px;
}

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

.glass-card,
.partner-card,
.company-card,
.profile-card,
.featured-post,
.news-grid article,
.open-role,
.contact-panel,
.contact-form,
.enquiry-card,
.detail-main {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.035));
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.glass-card {
  padding: 30px;
}

.metric {
  display: inline-block;
  margin-bottom: 42px;
  color: rgba(241, 217, 155, 0.42);
  font-size: 44px;
  font-weight: 800;
}

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

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.project-meta-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.04);
}

.project-featured-image {
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(215, 173, 82, 0.22);
  border-radius: var(--radius);
}

.project-featured-image img,
.project-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-aside {
  position: sticky;
  top: 98px;
}

.project-detail-aside .button {
  width: 100%;
  margin-top: 10px;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid rgba(215, 173, 82, 0.18);
  background: #10100f;
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 217, 155, 0.56);
}

.project-visual {
  min-height: 220px;
  background:
    radial-gradient(circle at 78% 22%, rgba(215, 173, 82, 0.16), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 36px),
    #181715;
  position: relative;
}

.project-visual::after {
  position: absolute;
  content: "";
  inset: auto 20px 20px auto;
  width: 82px;
  height: 120px;
  border: 1px solid rgba(241, 217, 155, 0.42);
  box-shadow: -32px 22px 0 rgba(215, 173, 82, 0.1);
}

.project-visual.mall::after {
  width: 140px;
  height: 80px;
}

.project-visual.commercial::after {
  width: 110px;
  height: 110px;
}

.project-visual.towers::after {
  width: 70px;
  height: 155px;
  box-shadow: -52px 34px 0 rgba(215, 173, 82, 0.1), -96px 8px 0 rgba(255, 255, 255, 0.04);
}

.project-body {
  padding: 22px;
}

.status {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(241, 217, 155, 0.35);
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status.associated {
  color: #ddd4c2;
  border-color: rgba(255, 255, 255, 0.18);
}

.project-body a {
  color: var(--gold-2);
  font-weight: 800;
}

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

.sector-grid article {
  position: relative;
  min-height: 160px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(241, 217, 155, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 18%, rgba(215, 173, 82, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sector-grid article::before {
  position: absolute;
  inset: 14px 14px auto auto;
  width: 74px;
  height: 74px;
  content: "";
  border-top: 1px solid rgba(241, 217, 155, 0.08);
  border-right: 1px solid rgba(241, 217, 155, 0.08);
  opacity: 0.9;
  pointer-events: none;
}

.sector-grid article::after {
  position: absolute;
  inset: auto -20px -28px auto;
  width: 96px;
  height: 96px;
  content: "";
  border: 1px solid rgba(241, 217, 155, 0.055);
  transform: rotate(45deg);
  pointer-events: none;
}

.sector-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 32px;
  border: 1px solid rgba(241, 217, 155, 0.22);
  background:
    radial-gradient(circle at 45% 35%, rgba(215, 173, 82, 0.16), transparent 58%),
    rgba(0, 0, 0, 0.18);
  color: var(--gold-2);
}

.sector-icon::before {
  position: absolute;
  inset: 7px;
  content: "";
  border: 1px solid rgba(241, 217, 155, 0.08);
}

.sector-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.sector-grid h3 {
  position: relative;
  z-index: 1;
  font-size: 16px;
}

.editorial-band {
  align-items: center;
  padding: 62px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 16%, rgba(215, 173, 82, 0.11), transparent 25%),
    rgba(255, 255, 255, 0.045);
  border-radius: var(--radius);
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(220px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.partner-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 217, 155, 0.42);
}

.partner-card.featured {
  border-color: rgba(241, 217, 155, 0.36);
}

.partner-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.partner-preview-grid,
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.partner-photo,
.profile-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(241, 217, 155, 0.24);
  background:
    radial-gradient(circle at 40% 20%, rgba(215, 173, 82, 0.18), transparent 42%),
    #12110f;
  color: var(--gold-2);
  font-weight: 800;
}

.partner-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
}

.partner-photo.placeholder,
.profile-media.placeholder {
  font-size: 34px;
}

.partner-photo img,
.profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border: 1px solid rgba(241, 217, 155, 0.38);
  background:
    radial-gradient(circle at 30% 20%, rgba(241, 217, 155, 0.24), transparent 42%),
    #151412;
  color: var(--gold-2);
  font-weight: 800;
}

.partner-card p,
.profile-card p:first-of-type {
  color: var(--gold-2);
  font-weight: 700;
}

.partner-card small {
  display: block;
  min-height: 78px;
  color: var(--muted);
  line-height: 1.6;
}

.partner-card span:not(.tag-row span) {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
}

.leadership-grid {
  margin-bottom: 72px;
}

.leadership-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.leadership-card p {
  color: var(--gold-2);
  font-weight: 700;
}

.leadership-card .tag-row {
  gap: 7px;
  margin: 16px 0 18px;
}

.leadership-card .tag-row span {
  padding: 7px 9px;
  font-size: 11px;
}

.leadership-card a {
  color: var(--gold-2);
  font-weight: 800;
}

.partner-profile-stack {
  display: grid;
  gap: 28px;
}

.partner-profile-block {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 30px;
  border: 1px solid rgba(241, 217, 155, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 12%, rgba(215, 173, 82, 0.09), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    #0b0a09;
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.28);
  scroll-margin-top: 92px;
}

.profile-media {
  position: sticky;
  top: 96px;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.profile-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3vw, 44px);
}

.profile-copy .tag-row {
  margin-bottom: 26px;
}

.profile-copy p {
  font-size: 16px;
}

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

.company-card {
  min-height: 154px;
  display: grid;
  gap: 14px;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 20px;
}

.company-card strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  color: var(--gold-2);
}

.company-card span {
  color: var(--muted);
}

.gallery-strip,
.masonry {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  grid-auto-rows: 160px;
  gap: 14px;
}

.gallery-strip div,
.masonry div,
.map-placeholder {
  border: 1px solid rgba(215, 173, 82, 0.15);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 173, 82, 0.14), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 28px),
    #151413;
}

.gallery-strip div:first-child,
.masonry div:nth-child(3),
.masonry div:nth-child(6) {
  grid-row: span 2;
}

.cta-panel {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 74px 24px;
  border: 1px solid rgba(241, 217, 155, 0.32);
  background:
    radial-gradient(circle at 50% 0, rgba(215, 173, 82, 0.2), transparent 42%),
    rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
}

.cta-panel p {
  max-width: 680px;
}

.page-hero,
.project-detail-hero {
  position: relative;
  padding: 160px 0 82px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero .container,
.project-detail-hero .container {
  position: relative;
}

.page-hero h1,
.project-detail-hero h1 {
  max-width: 960px;
  font-size: clamp(42px, 5.8vw, 78px);
}

.tab-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tab-bar button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
}

.tab-bar button.is-active {
  border-color: rgba(241, 217, 155, 0.45);
  color: var(--gold-2);
}

.detail-grid,
.contact-grid,
.careers-grid,
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
}

.detail-main,
.enquiry-card,
.contact-form,
.contact-panel,
.featured-post,
.open-role {
  padding: 32px;
}

.highlight-list,
.tag-row,
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.highlight-list span,
.tag-row span,
.values-grid span {
  padding: 10px 12px;
  border: 1px solid rgba(241, 217, 155, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-2);
  border-radius: 4px;
  font-weight: 700;
}

.enquiry-card,
.contact-form {
  display: grid;
  gap: 12px;
  align-content: start;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  padding: 0 14px;
}

textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 36px;
}

.about-intro {
  max-width: 880px;
  margin-bottom: 36px;
  padding: 42px 0 22px;
  border-bottom: 1px solid rgba(241, 217, 155, 0.18);
}

.about-intro h2 {
  max-width: 760px;
}

.about-intro p {
  max-width: 760px;
  font-size: 18px;
}

.about-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.about-story,
.about-legacy-panel {
  border: 1px solid rgba(241, 217, 155, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 10%, rgba(215, 173, 82, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.024)),
    #0b0a09;
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.32);
}

.about-story {
  position: relative;
  overflow: hidden;
  padding: 46px;
}

.about-story::before {
  position: absolute;
  inset: 24px 24px auto auto;
  width: 112px;
  height: 112px;
  content: "";
  border-top: 1px solid rgba(241, 217, 155, 0.22);
  border-right: 1px solid rgba(241, 217, 155, 0.22);
  pointer-events: none;
}

.about-story h2 {
  max-width: 680px;
  margin-bottom: 28px;
}

.about-story p {
  max-width: 780px;
  font-size: 16px;
}

.about-closing {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 2px solid var(--gold);
  background: rgba(215, 173, 82, 0.065);
  color: var(--text);
  font-weight: 600;
}

.about-legacy-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding: 28px;
  overflow: hidden;
}

.about-legacy-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(241, 217, 155, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 217, 155, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.48;
  pointer-events: none;
}

.about-legacy-panel > * {
  position: relative;
}

.legacy-mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 8px;
  border: 1px solid rgba(241, 217, 155, 0.32);
  background:
    radial-gradient(circle at 36% 18%, rgba(241, 217, 155, 0.2), transparent 42%),
    rgba(0, 0, 0, 0.32);
  color: var(--gold-2);
  font-size: 24px;
  font-weight: 800;
}

.about-legacy-panel h3 {
  font-size: 24px;
  line-height: 1.2;
}

.about-legacy-panel .values-grid {
  gap: 8px;
  margin-top: 4px;
}

.about-legacy-panel .values-grid span {
  padding: 9px 10px;
  font-size: 13px;
}

.sector-note {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(241, 217, 155, 0.16);
}

.sector-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
}

.profile-list {
  display: grid;
  gap: 18px;
}

.profile-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 26px;
  padding: 28px;
  align-items: start;
}

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

.news-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.featured-post {
  min-height: 420px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at 82% 18%, rgba(215, 173, 82, 0.14), transparent 32%),
    #151413;
}

.featured-post span {
  color: var(--gold-2);
  font-weight: 800;
  text-transform: uppercase;
}

.news-grid {
  display: grid;
  gap: 16px;
}

.news-grid article {
  padding: 26px;
}

.news-grid small {
  color: var(--gold-2);
}

.careers-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: start;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  color: var(--gold-2);
  font-weight: 800;
}

.site-footer {
  padding: 70px 0 28px;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.site-footer h3 {
  color: var(--gold-2);
  font-size: 14px;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 10px 0;
  color: var(--muted);
}

.copyright {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 243, 233, 0.55);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-intro,
  .section-head,
  .editorial-band,
  .detail-grid,
  .contact-grid,
  .careers-grid,
  .news-layout,
  .about-editorial {
    grid-template-columns: 1fr;
  }

  .hero-emblem {
    max-width: 320px;
    min-height: 420px;
  }

  .about-legacy-panel {
    position: relative;
    top: auto;
  }

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

  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-aside {
    position: static;
  }

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

  .partner-profile-block {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .sector-grid,
  .company-grid,
  .about-layout,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head .text-link {
    justify-self: start;
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 42px;
    height: 56px;
    padding: 4px;
  }

  .brand-mark img {
    height: 80%;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text small {
    font-size: 11px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 66px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: rgba(8, 8, 8, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .main-nav .sub-menu {
    position: static;
    min-width: 0;
    margin: -4px 0 4px 14px;
    padding: 0 0 0 12px;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(215, 173, 82, 0.28);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav .sub-menu::before {
    display: none;
  }

  .nav-item {
    display: block;
  }

  .has-submenu > a {
    justify-content: space-between;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin: -4px 0 4px 14px;
    padding: 0 0 0 12px;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(215, 173, 82, 0.28);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-submenu a {
    padding: 12px 14px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 54px;
  }

  h1 {
    font-size: 47px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-emblem {
    width: min(100%, 310px);
    min-height: 400px;
    padding: 22px 24px;
    justify-self: center;
  }

  .hero-emblem img {
    width: auto;
    height: min(84%, 334px);
    max-width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .project-grid,
  .project-grid.spacious,
  .partner-preview-grid,
  .leadership-grid,
  .sector-grid,
  .company-grid,
  .about-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .editorial-band,
  .detail-main,
  .enquiry-card,
  .contact-form,
  .contact-panel,
  .featured-post,
  .open-role,
  .about-story,
  .about-legacy-panel,
  .partner-profile-block {
    padding: 24px;
  }

  .partner-profile-block {
    grid-template-columns: 1fr;
  }

  .profile-media {
    position: relative;
    top: auto;
    max-width: 320px;
  }

  .about-intro {
    padding-top: 12px;
  }

  .about-story p {
    font-size: 15px;
  }

  .partner-row {
    grid-template-columns: repeat(7, 260px);
  }

  .gallery-strip,
  .masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 130px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .project-detail-hero {
    padding: 118px 0 58px;
  }
}
