:root {
  --navy: #0b1724;
  --navy-2: #122b3d;
  --navy-3: #17384d;
  --cream: #f1f0ea;
  --cream-2: #e6e4dc;
  --white: #ffffff;
  --gold: #f6be40;
  --gold-dark: #d89b12;
  --text: #10202e;
  --muted: #687681;
  --border: rgba(11, 23, 36, 0.14);
  --dark-border: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 80px rgba(7, 20, 31, 0.15);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

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

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(241, 240, 234, .93);
  border-color: var(--border);
  box-shadow: 0 8px 30px rgba(11, 23, 36, .07);
  backdrop-filter: blur(16px);
}

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
}

.logo-symbol {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 14px 3px 14px 3px;
  font-weight: 900;
  letter-spacing: -.03em;
  box-shadow: 7px 7px 0 rgba(11, 23, 36, .12);
}

.logo > span:last-child {
  display: grid;
  gap: 5px;
}

.logo strong {
  font-size: .94rem;
}

.logo small {
  color: var(--muted);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  font-size: .82rem;
  font-weight: 750;
}

.nav-links a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--gold-dark);
  transition: right .25s ease;
}

.nav-links a:hover::after {
  right: 0;
}

.nav-contact {
  padding: 11px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 148px 0 45px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(246,190,64,.13), transparent 22%),
    linear-gradient(135deg, #0a1622 0%, #122a3b 56%, #09131e 100%);
  overflow: hidden;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  right: -270px;
  bottom: -280px;
  border: 1px solid rgba(246,190,64,.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(246,190,64,.025),
    0 0 0 160px rgba(246,190,64,.018);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 68px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 13px;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  font-size: .72rem;
}

.status span {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(246,190,64,.15);
}

.overline,
.section-number {
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero .overline,
.dark-section .section-number {
  color: var(--gold);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 6.7vw, 6.6rem);
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-summary {
  max-width: 665px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 38px;
}

.button {
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.button svg,
.text-link svg,
.contact-list svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 13px 30px rgba(246,190,64,.18);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.23);
  background: rgba(255,255,255,.035);
}

.button-outline:hover {
  background: rgba(255,255,255,.08);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 46px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.13);
}

.hero-facts div {
  min-height: 115px;
  padding: 20px;
  background: rgba(8,20,31,.75);
}

.hero-facts strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  line-height: 1.45;
}

.hero-profile {
  position: relative;
  min-height: 690px;
}

.blueprint-frame {
  position: absolute;
  inset: 25px 0 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px 5px 34px 5px;
  background: rgba(2,12,21,.35);
  box-shadow: 0 45px 100px rgba(0,0,0,.27);
  overflow: hidden;
}

.blueprint-frame svg {
  width: 100%;
  height: 100%;
}

.portrait-card {
  position: absolute;
  z-index: 3;
  top: 82px;
  left: 50%;
  width: min(390px, calc(100% - 64px));
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px 5px 28px 5px;
  background: rgba(7,20,31,.93);
  box-shadow: 0 35px 75px rgba(0,0,0,.35);
  overflow: hidden;
}

.portrait-image {
  height: 360px;
  background: #fff;
  overflow: hidden;
}

.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.portrait-details {
  padding: 25px 25px 27px;
}

.portrait-details > p {
  margin: 0;
  color: var(--gold);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.portrait-details h2 {
  margin: 7px 0 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.portrait-details > span {
  color: rgba(255,255,255,.58);
  font-size: .79rem;
}

.portrait-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  padding-top: 16px;
  color: rgba(255,255,255,.7);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .75rem;
}

.portrait-location svg {
  width: 17px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
}

.profile-badge {
  position: absolute;
  z-index: 4;
  min-width: 170px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(7,20,31,.92);
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
  backdrop-filter: blur(10px);
}

.profile-badge span {
  display: block;
  color: rgba(255,255,255,.43);
  font-size: .6rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-badge strong {
  display: block;
  margin-top: 4px;
  font-size: .78rem;
}

.badge-one {
  left: -24px;
  bottom: 72px;
  border-radius: 15px 3px 15px 3px;
}

.badge-two {
  right: -20px;
  top: 137px;
  border-radius: 3px 15px 3px 15px;
}

.expertise-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.13);
}

.expertise-strip > span {
  color: rgba(255,255,255,.38);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.expertise-strip > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.66);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.expertise-strip i {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.section {
  position: relative;
  padding: 118px 0;
}

.section h2 {
  max-width: 780px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
}

.section-split {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 110px;
}

.about-content .lead {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -.025em;
}

.about-content > p:not(.lead) {
  max-width: 750px;
  color: var(--muted);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 45px;
  border: 1px solid var(--border);
  background: var(--border);
}

.about-cards article {
  padding: 25px;
  background: var(--cream);
}

.about-cards span {
  color: var(--gold-dark);
  font-size: .63rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.about-cards strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
}

.about-cards p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .76rem;
}

.dark-section {
  color: var(--white);
  background: var(--navy);
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 58px;
}

.section-title-row > p {
  max-width: 430px;
  margin: 0 0 8px;
  color: rgba(255,255,255,.52);
}

.light-title > p {
  color: var(--muted);
}

.experience-list {
  border-top: 1px solid var(--dark-border);
}

.experience-item {
  display: grid;
  grid-template-columns: 180px 38px 1fr;
  padding: 52px 0;
  border-bottom: 1px solid var(--dark-border);
}

.experience-date {
  padding-top: 5px;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.experience-line {
  position: relative;
}

.experience-line::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -53px;
  left: 50%;
  width: 1px;
  background: rgba(246,190,64,.22);
}

.experience-line span {
  position: relative;
  z-index: 1;
  display: block;
  width: 10px;
  height: 10px;
  margin: 7px auto 0;
  border: 3px solid var(--navy);
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(246,190,64,.22);
}

.role-header {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.role-header h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -.025em;
}

.role-header p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.48);
}

.role-label {
  align-self: flex-start;
  padding: 7px 11px;
  color: var(--gold);
  border: 1px solid rgba(246,190,64,.3);
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.experience-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  margin-top: 31px;
}

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

.experience-columns li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 19px;
  color: rgba(255,255,255,.68);
  font-size: .83rem;
}

.experience-columns li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.projects {
  background: var(--cream-2);
}

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

.project-card {
  position: relative;
  min-height: 360px;
  padding: 25px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.5);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.project-card:hover {
  z-index: 2;
  transform: translateY(-8px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-feature {
  grid-column: span 2;
  min-height: 500px;
  color: var(--white);
  background: var(--navy-2);
}

.project-feature:hover {
  background: var(--navy-2);
}

.infrastructure-card {
  grid-column: span 2;
  min-height: 330px;
  color: var(--white);
  background: var(--navy-3);
}

.infrastructure-card:hover {
  background: var(--navy-3);
}

.project-index {
  position: relative;
  z-index: 3;
  color: var(--gold-dark);
  font-size: .65rem;
  font-weight: 850;
}

.project-feature .project-index,
.infrastructure-card .project-index {
  color: var(--gold);
}

.project-info {
  position: absolute;
  z-index: 3;
  left: 25px;
  right: 25px;
  bottom: 27px;
}

.project-info p {
  margin: 0 0 7px;
  color: var(--gold-dark);
  font-size: .63rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-feature .project-info p,
.infrastructure-card .project-info p {
  color: var(--gold);
}

.project-info h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.7vw, 2.7rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.project-info span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .72rem;
}

.project-feature .project-info span,
.infrastructure-card .project-info span {
  color: rgba(255,255,255,.51);
}

.project-icon {
  position: absolute;
  width: 135px;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  fill: none;
  stroke: rgba(11,23,36,.28);
  stroke-width: 1.25;
  stroke-linejoin: round;
}

.building-art {
  position: absolute;
  right: 65px;
  top: 64px;
  bottom: 116px;
  width: 58%;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.building-art span {
  width: 18%;
  border: 1px solid rgba(255,255,255,.33);
  background:
    repeating-linear-gradient(to bottom, transparent 0 14px, rgba(246,190,64,.34) 14px 16px),
    repeating-linear-gradient(to right, transparent 0 14px, rgba(255,255,255,.11) 14px 16px),
    rgba(255,255,255,.03);
}

.building-art span:nth-child(1) { height: 46%; }
.building-art span:nth-child(2) { height: 67%; }
.building-art span:nth-child(3) { height: 100%; }
.building-art span:nth-child(4) { height: 80%; }
.building-art span:nth-child(5) { height: 57%; }

.road-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.road-art::before {
  content: "";
  position: absolute;
  width: 75%;
  height: 260%;
  top: -80%;
  right: -5%;
  border-left: 1px solid rgba(255,255,255,.34);
  border-right: 1px solid rgba(255,255,255,.34);
  transform: rotate(34deg);
}

.road-art span {
  position: absolute;
  width: 2px;
  height: 230%;
  top: -68%;
  right: 37%;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 17px, transparent 17px 33px);
  transform: rotate(34deg);
}

.capabilities-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 88px;
}

.section-description {
  max-width: 470px;
  color: rgba(255,255,255,.5);
}

.capability-list {
  border-top: 1px solid var(--dark-border);
}

.capability-list article {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  padding: 33px 0;
  border-bottom: 1px solid var(--dark-border);
}

.capability-list article > div {
  display: flex;
  gap: 15px;
}

.capability-list span {
  color: var(--gold);
  font-size: .61rem;
  font-weight: 850;
}

.capability-list h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.capability-list p {
  margin: 0;
  color: rgba(255,255,255,.63);
  font-size: .8rem;
}

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

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

.qualification-card {
  min-height: 385px;
  padding: 34px;
  border: 1px solid var(--border);
  background: var(--white);
}

.dark-card {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy-2);
}

.qualification-symbol {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 74px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 17px 3px 17px 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.qualification-symbol svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qualification-card > p {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dark-card > p {
  color: var(--gold);
}

.qualification-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
}

.qualification-card > strong {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
}

.dark-card > strong {
  color: rgba(255,255,255,.6);
}

.qualification-card > span {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: .73rem;
}

.qualification-card > span + span {
  margin-top: 8px;
}

.dark-card > span {
  color: var(--gold);
}

.certificate-summary {
  background:
    linear-gradient(135deg, rgba(246,190,64,.12), transparent 45%),
    var(--white);
}

.certificate-showcase {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: center;
  margin-top: 72px;
  padding: 54px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(246,190,64,.08), transparent 42%),
    var(--navy);
  border-radius: 28px 5px 28px 5px;
  box-shadow: var(--shadow);
}

.certificate-preview {
  position: relative;
  padding: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px 3px 18px 3px;
}

.certificate-preview img {
  width: 100%;
  max-height: 570px;
  object-fit: contain;
  background: var(--white);
}

.certificate-content h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.certificate-content > p:not(.section-number) {
  color: rgba(255,255,255,.57);
}

.certificate-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 31px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.13);
}

.certificate-meta div {
  padding: 18px;
  background: rgba(9,22,34,.83);
}

.certificate-meta span {
  display: block;
  color: rgba(255,255,255,.38);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.certificate-meta strong {
  display: block;
  margin-top: 5px;
  font-size: .78rem;
}

.document-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.document-buttons .button-dark {
  color: var(--navy);
  background: var(--gold);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.76);
  font-size: .77rem;
  font-weight: 800;
}

.competency-details {
  margin-top: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.52);
}

.competency-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 27px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.competency-details summary::-webkit-details-marker {
  display: none;
}

.competency-details summary svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform .25s ease;
}

.competency-details[open] summary svg {
  transform: rotate(180deg);
}

.competency-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-top: 1px solid var(--border);
  background: var(--border);
}

.competency-groups section {
  padding: 28px;
  background: var(--cream);
}

.competency-groups h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

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

.competency-groups li {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: .75rem;
}

.competency-groups li strong {
  color: var(--gold-dark);
}

.languages-section {
  padding-top: 0;
}

.language-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 60px;
  align-items: center;
  padding: 52px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.language-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.language-list span {
  padding: 19px;
  text-align: center;
  background: var(--cream);
  font-size: .8rem;
  font-weight: 750;
}

.contact-section {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 80px;
  padding: 65px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(246,190,64,.08), transparent 38%),
    var(--navy);
  border-radius: 28px 5px 28px 5px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 650px;
}

.contact-panel > div:first-child > p:last-child {
  max-width: 600px;
  color: rgba(255,255,255,.52);
}

.contact-list {
  display: grid;
  align-content: center;
}

.contact-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--dark-border);
}

.contact-list span {
  grid-column: 1;
  color: rgba(255,255,255,.36);
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-list strong {
  grid-column: 1;
  margin-top: 4px;
  font-size: .8rem;
}

.contact-list svg {
  grid-column: 2;
  grid-row: 1 / 3;
  transition: transform .25s ease;
}

.contact-list a:hover svg {
  color: var(--gold);
  transform: translateX(6px);
}

footer {
  padding: 30px 0;
  color: var(--muted);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .72rem;
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  color: var(--text);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

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

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

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

@media (max-width: 1080px) {
  .hero-layout,
  .section-split,
  .capabilities-layout,
  .certificate-showcase,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-profile {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }

  .section-split,
  .capabilities-layout {
    gap: 58px;
  }

  .certificate-showcase {
    gap: 42px;
  }

  .certificate-preview {
    max-width: 520px;
    margin-inline: auto;
  }

  .contact-panel {
    gap: 40px;
  }
}

@media (max-width: 850px) {
  :root {
    --container: min(100% - 30px, 1180px);
  }

  .menu-button {
    display: block;
    z-index: 1002;
  }

  .header:not(.scrolled) .menu-button span,
  body.menu-open .menu-button span {
    background: var(--white);
  }

  body.menu-open .menu-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.menu-open .menu-button span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    color: var(--white);
    background: rgba(9,20,31,.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity .25s ease, transform .25s ease;
  }

  body.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 500;
  }

  .nav-contact {
    color: var(--navy);
    background: var(--gold);
  }

  .expertise-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .expertise-strip > div {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

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

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .experience-line {
    display: none;
  }

  .role-header {
    flex-direction: column;
  }

  .experience-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .project-feature,
  .infrastructure-card {
    grid-column: span 2;
  }

  .capability-list article {
    grid-template-columns: 1fr;
  }

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

  .qualification-card:last-child {
    grid-column: span 2;
  }

  .language-layout {
    grid-template-columns: 1fr;
  }
}

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

  .hero {
    min-height: auto;
    padding-top: 122px;
  }

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

  .hero-summary {
    font-size: .96rem;
  }

  .hero-buttons {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .hero-facts div {
    min-height: auto;
  }

  .hero-profile {
    min-height: 610px;
  }

  .portrait-card {
    top: 65px;
    width: calc(100% - 36px);
  }

  .portrait-image {
    height: 330px;
  }

  .badge-one {
    left: 0;
    bottom: 28px;
  }

  .badge-two {
    right: 0;
    top: 105px;
  }

  .expertise-strip {
    margin-top: 37px;
  }

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

  .project-card,
  .project-feature,
  .infrastructure-card {
    grid-column: span 1;
    min-height: 370px;
  }

  .building-art {
    right: 35px;
    left: 35px;
    width: auto;
  }

  .qualification-card,
  .qualification-card:last-child {
    grid-column: span 1;
  }

  .qualification-symbol {
    margin-bottom: 52px;
  }

  .certificate-showcase {
    padding: 28px 20px;
  }

  .certificate-meta,
  .competency-groups {
    grid-template-columns: 1fr;
  }

  .document-buttons {
    display: grid;
  }

  .text-link {
    justify-content: center;
  }

  .language-layout {
    padding: 38px 0;
  }

  .language-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact-panel {
    padding: 38px 23px;
  }

  .contact-list strong {
    max-width: 225px;
    overflow-wrap: anywhere;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}
