:root {
  --black: #03050a;
  --ink: #07111f;
  --navy: #071b3a;
  --navy-2: #0d2a52;
  --gold: #d8ad4d;
  --gold-bright: #f3cf78;
  --ivory: #f6f0df;
  --mist: #b7c4d6;
  --line: rgba(216, 173, 77, 0.24);
  --panel: rgba(7, 17, 31, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ivory);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(3, 5, 10, 0.86), rgba(3, 5, 10, 0.34));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

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

.logo-badge,
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fbfaf5;
}

.logo-badge {
  width: 124px;
  height: 42px;
  border: 1px solid rgba(216, 173, 77, 0.34);
  border-radius: 6px;
  padding: 5px 8px;
}

.logo-badge img,
.footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-line {
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(246, 240, 223, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding-block: 4px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 130px clamp(20px, 7vw, 96px) 72px;
  align-items: center;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/melaka-rwa-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.96) 0%, rgba(4, 12, 24, 0.88) 34%, rgba(4, 12, 24, 0.42) 68%, rgba(3, 5, 10, 0.48) 100%),
    linear-gradient(180deg, rgba(3, 5, 10, 0.18) 0%, rgba(3, 5, 10, 0.62) 100%);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.8rem, 14vw, 12rem);
  line-height: 0.82;
}

.slogan {
  margin-bottom: 20px;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(246, 240, 223, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 0.9rem;
  font-weight: 800;
}

.button-primary {
  background: var(--gold);
  color: #080a0e;
}

.button-secondary {
  border: 1px solid rgba(216, 173, 77, 0.5);
  background: rgba(3, 5, 10, 0.34);
  color: var(--ivory);
}

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

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.metric-strip div {
  min-height: 154px;
  padding: 28px clamp(18px, 3vw, 38px);
  background: linear-gradient(135deg, #07111f, #08192d);
}

.metric-strip strong {
  display: block;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 12px;
  color: rgba(246, 240, 223, 0.76);
  font-size: 0.92rem;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 7vw, 96px);
}

.intro {
  background: linear-gradient(180deg, #03050a, #07111f);
}

.two-column,
.section-heading,
.mechanism {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

h2 {
  max-width: 790px;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1.02;
}

h3 {
  color: var(--ivory);
  font-size: 1.18rem;
  line-height: 1.25;
}

.text-stack {
  color: rgba(246, 240, 223, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.text-stack p {
  margin-bottom: 20px;
}

.heritage {
  background:
    linear-gradient(135deg, rgba(13, 42, 82, 0.62), rgba(3, 5, 10, 0.92)),
    radial-gradient(circle at 84% 18%, rgba(216, 173, 77, 0.18), transparent 32%);
}

.heritage-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(36px, 6vw, 64px);
}

.heritage-panel p,
.section-heading p {
  color: rgba(246, 240, 223, 0.78);
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.asset-card {
  min-height: 290px;
  border: 1px solid rgba(216, 173, 77, 0.22);
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(7, 27, 58, 0.84), rgba(5, 10, 18, 0.92));
}

.asset-number,
.timeline span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.asset-card p,
.timeline p {
  color: rgba(246, 240, 223, 0.72);
}

.mechanism {
  background:
    linear-gradient(135deg, rgba(3, 5, 10, 0.94), rgba(7, 27, 58, 0.92)),
    linear-gradient(90deg, rgba(216, 173, 77, 0.11), transparent);
}

.timeline {
  display: grid;
  gap: 1px;
  background: rgba(216, 173, 77, 0.2);
}

.timeline article {
  padding: 28px;
  background: rgba(3, 5, 10, 0.72);
}

.parent-company {
  background: var(--ivory);
  color: var(--ink);
}

.parent-company h2 {
  color: var(--ink);
}

.parent-company .text-stack {
  color: rgba(7, 17, 31, 0.78);
}

.text-link {
  display: inline-flex;
  border-bottom: 1px solid var(--gold);
  color: #7b5714;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(280px, 1.2fr);
  gap: 28px;
  padding: 44px clamp(20px, 7vw, 96px);
  background: #03050a;
  border-top: 1px solid var(--line);
  color: rgba(246, 240, 223, 0.74);
}

address {
  font-style: normal;
}

.footer-logo {
  width: 152px;
  height: 50px;
  border-radius: 6px;
  margin-bottom: 16px;
  padding: 6px 10px;
}

.disclaimer {
  margin: 0;
  font-size: 0.82rem;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .brand {
    gap: 10px;
  }

  .nav-links {
    gap: 10px 16px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 5, 10, 0.95), rgba(3, 5, 10, 0.76)),
      linear-gradient(180deg, rgba(3, 5, 10, 0.2), rgba(3, 5, 10, 0.74));
  }

  .metric-strip,
  .asset-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .section-heading,
  .mechanism,
  .heritage-panel {
    grid-template-columns: 1fr;
  }

  .site-footer .disclaimer {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding: 118px 20px 48px;
  }

  h1 {
    font-size: clamp(4.2rem, 22vw, 6.5rem);
  }

  .button {
    width: 100%;
  }

  .metric-strip,
  .asset-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .metric-strip div {
    min-height: 128px;
  }

  .asset-card {
    min-height: 240px;
  }
}
