:root {
  --ink: #111312;
  --ink-soft: #4c514f;
  --ink-muted: #717774;
  --paper: #fbfaf7;
  --white: #ffffff;
  --mist: #eef1ef;
  --line: rgba(17, 19, 18, 0.12);
  --line-strong: rgba(17, 19, 18, 0.24);
  --red: #9f2431;
  --red-dark: #731720;
  --green: #355b4a;
  --blue: #315979;
  --gold: #967432;
  --shadow: 0 24px 70px rgba(17, 19, 18, 0.12);
  --display: "Instrument Serif", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.brand {
  font-family: var(--display);
  font-size: 28px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links,
.nav-actions,
.hero-actions,
.badges,
.filter-bar,
.cta-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-links a,
.language,
.text-link {
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover,
.language:hover,
.text-link:hover {
  color: var(--red);
}

.nav-actions {
  gap: 14px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(255, 255, 255, 0.62);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.button-outline:hover {
  background: var(--white);
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 13, 12, 0.80), rgba(8, 13, 12, 0.46) 54%, rgba(8, 13, 12, 0.20)),
    url("hero-port.jpg") center / cover no-repeat;
}

.hero-inner {
  padding: 108px 0 70px;
}

.eyebrow,
.section-kicker,
.card-kicker,
.meta-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  margin: 18px 0 18px;
  max-width: 760px;
  font-family: var(--display);
  font-size: 82px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-item {
  min-height: 118px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-value {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.1;
}

.proof-label {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
}

section {
  padding: 104px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}

.section-title {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 72px;
  align-items: center;
}

.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--red);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.process-step h3,
.asset-title,
.person h3,
.case h3,
.capability h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

.process-step h3 {
  font-size: 25px;
}

.process-step p,
.capability p,
.asset-desc,
.case p,
.person p,
.note p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.image-caption {
  margin: 0;
  padding: 18px 20px;
  color: var(--ink-soft);
  background: var(--white);
  font-size: 13px;
}

.soft-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.capability {
  min-height: 224px;
  padding: 34px;
  color: inherit;
  text-decoration: none;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, transform 160ms ease;
}

.capability:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.capability h3 {
  margin-top: 20px;
  font-size: 27px;
}

.capability .meta-label {
  color: var(--ink-muted);
}

.portfolio {
  background: #f0f3f1;
}

.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 36px;
}

.portfolio-head .section-title {
  margin-bottom: 0;
}

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

.filter {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font: 600 13px var(--sans);
  cursor: pointer;
}

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

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

.asset-card {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.asset-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 44px rgba(17, 19, 18, 0.08);
  transform: translateY(-2px);
}

.asset-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.asset-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
}

.asset-category.energy {
  color: var(--gold);
}

.asset-category.real-estate {
  color: var(--blue);
}

.asset-ref {
  color: var(--ink-muted);
  font-size: 12px;
  white-space: nowrap;
}

.asset-title {
  font-size: 29px;
  line-height: 1.12;
}

.asset-desc {
  flex: 1;
}

.asset-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.asset-footer strong {
  color: var(--ink);
}

.person {
  min-height: 280px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.person h3 {
  margin-top: 18px;
  font-size: 32px;
  line-height: 1.05;
}

.person-role {
  margin: 10px 0 0;
  color: var(--red);
  font-weight: 700;
}

.badges {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.badge {
  padding: 6px 10px;
  color: var(--ink-soft);
  background: var(--mist);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

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

.case,
.note {
  padding: 28px;
  background: var(--paper);
  border-left: 3px solid var(--red);
}

.case h3 {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.12;
}

.note {
  border-left-color: var(--green);
}

.cta {
  padding: 82px 0;
  color: var(--white);
  background: var(--ink);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.48fr);
  gap: 64px;
  align-items: center;
}

.cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.03;
}

.cta p {
  margin: 18px 0 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.cta-actions {
  justify-content: end;
  gap: 12px;
  flex-wrap: wrap;
}

.cta .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.cta .button-outline:hover {
  color: var(--ink);
}

.footer {
  padding: 70px 0 34px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 40px;
}

.footer-brand {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 31px;
}

.footer p,
.footer a,
.footer li {
  color: var(--ink-soft);
  font-size: 14px;
}

.footer a {
  text-decoration: none;
}

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

.footer h4 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
}

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

.footer li {
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 12px;
}

::selection {
  background: var(--red);
  color: var(--white);
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 36px, 1180px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-proof,
  .capabilities-grid,
  .assets-grid,
  .track-grid,
  .footer-grid,
  .section-head,
  .split,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .portfolio-head {
    display: grid;
    align-items: start;
  }

  .image-panel img {
    height: 440px;
  }

  .cta-actions {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 64px;
  }

  .brand {
    font-size: 24px;
  }

  .nav-actions .button {
    display: none;
  }

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

  .hero-inner {
    padding: 82px 0 46px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1;
  }

  .hero-lead {
    font-size: 18px;
  }

  .section-title,
  .cta h2 {
    font-size: 38px;
  }

  section {
    padding: 72px 0;
  }

  .capability,
  .asset-card,
  .person,
  .case,
  .note {
    padding: 24px;
  }

  .process-step {
    grid-template-columns: 48px 1fr;
  }

  .image-panel img {
    height: 340px;
  }

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