/* =========================================================
   OCTOPUS (APAC) HOLDINGS LIMITED
   SGX Catalist Listed-Company Website — Design System
   Institutional / Boardroom · White · Cream · Light Grey · Soft Charcoal
   Restrained Navy accent · Gold hairlines only
   ========================================================= */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--navy); color: #fff; }

/* ---------- 2. DESIGN TOKENS ---------- */
:root {
  /* Core neutrals — light institutional */
  --paper: #FFFFFF;          /* primary page background */
  --cream: #F7F4EE;          /* warm institutional section */
  --cream-deep: #EFEAE0;     /* alternating warm card tint */
  --grey-50: #F4F5F6;        /* cool light section */
  --grey-100: #E9EBEE;       /* cards / dividers / fills */
  --grey-300: #CDD2D8;       /* hairlines / borders */
  --grey-500: #8B939C;       /* captions / metadata */
  --charcoal: #2B2F36;       /* body text / soft anchor panels */
  --ink: #171A1F;            /* headings / max contrast */

  /* Accents — used sparingly */
  --navy: #1E3A52;           /* primary accent */
  --navy-deep: #152A3D;      /* hover / footer / dark panel */
  --navy-tint: #E7EDF2;      /* accent-tinted background */
  --gold: #9C7C46;           /* hairline rules / small marks */
  --gold-soft: #C2A874;      /* subtle accent on dark panels */

  /* Semantic aliases (back-compat with existing class names) */
  --bg-base: var(--paper);
  --bg-elevated: var(--paper);
  --bg-soft: var(--grey-50);
  --bg-warm: var(--cream);
  --line: var(--grey-100);
  --line-strong: var(--grey-300);
  --accent-gold: var(--navy);          /* remap former gold accents to navy */
  --accent-gold-bright: var(--navy-deep);
  --accent-cream: var(--cream);
  --text-primary: var(--ink);
  --text-secondary: var(--charcoal);
  --text-muted: var(--grey-500);
  --text-faint: #AEB4BB;

  /* Typography */
  --font-display: 'Source Serif 4', 'Lyon', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-in-out: cubic-bezier(.65,.05,.36,1);

  /* Elevation */
  --shadow-card: 0 1px 2px rgba(23,26,31,.04);
  --shadow-hover: 0 8px 24px rgba(23,26,31,.07);
}

/* ---------- 3. TYPOGRAPHY ---------- */
.font-display { font-family: var(--font-display); font-weight: 500; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-block;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}
.eyebrow.centered { padding-left: 0; }
.eyebrow.centered::before { display: none; }
h1, .h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
h3, .h3 { font-size: clamp(1.35rem, 2.1vw, 1.6rem); }
h4, .h4 { font-size: 1.2rem; letter-spacing: 0; }
p { color: var(--charcoal); margin-bottom: 1rem; }
p.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink); line-height: 1.7; }
.text-center { text-align: center; }

/* Tabular numerals for figures */
.stat__value, .report-card__year, .gov-table td, .kv__v { font-variant-numeric: tabular-nums; }

/* ---------- 4. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--warm { background: var(--cream); border-top: 1px solid var(--grey-100); border-bottom: 1px solid var(--grey-100); }
.section--elevated { background: var(--grey-50); border-top: 1px solid var(--grey-100); border-bottom: 1px solid var(--grey-100); }
/* Rare dark anchor section */
.section--anchor {
  background: var(--navy-deep);
  color: #EAF0F5;
}
.section--anchor h1, .section--anchor h2, .section--anchor h3, .section--anchor h4 { color: #fff; }
.section--anchor p { color: rgba(255,255,255,.78); }
.section--anchor .eyebrow { color: var(--gold-soft); }
.divider { height: 1px; background: var(--grey-100); margin: 0; }

/* ---------- 5. NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: all .35s var(--ease-out);
}
.nav.scrolled {
  padding: .7rem 0;
  background: rgba(255,255,255,0.96);
  border-bottom-color: var(--grey-100);
  box-shadow: 0 1px 0 rgba(23,26,31,.03);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.nav__brand-mark {
  height: 40px; width: auto;
  display: inline-block;
  object-fit: contain;
}
.nav.scrolled .nav__brand-mark { height: 34px; transition: height .35s var(--ease-out); }
.nav__brand-text { line-height: 1.1; }
.nav__brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: .56rem;
  letter-spacing: .28em;
  color: var(--grey-500);
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 500;
}
.nav__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav__link {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
  position: relative;
  padding: .5rem 0;
}
.nav__link:hover, .nav__link.active { color: var(--navy); }
.nav__link.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--navy);
  transform: translateX(-50%);
}
.nav__has-sub { position: relative; }
.nav__sub {
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--grey-100);
  border-radius: 6px;
  padding: .75rem 0;
  min-width: 240px;
  opacity: 0; visibility: hidden;
  transition: all .25s var(--ease-out);
  list-style: none;
  box-shadow: 0 18px 50px rgba(23,26,31,0.12);
}
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__sub a {
  display: block;
  padding: .6rem 1.5rem;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-left: 2px solid transparent;
}
.nav__sub a:hover {
  color: var(--navy);
  border-left-color: var(--navy);
  background: var(--navy-tint);
}
.nav__cta {
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  padding: .7rem 1.25rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all .25s var(--ease-out);
}
.nav__cta:hover { background: var(--navy-deep); }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all .25s ease;
}

/* Mobile nav */
@media (max-width: 1024px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(360px, 85vw);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6rem 2rem 3rem;
    transition: right .4s var(--ease-out);
    overflow-y: auto;
    border-left: 1px solid var(--grey-100);
    box-shadow: -20px 0 60px rgba(23,26,31,.08);
  }
  .nav__menu.open { right: 0; }
  .nav__link { padding: 1rem 0; border-bottom: 1px solid var(--grey-100); width: 100%; display: block; }
  .nav__sub {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 .5rem 1rem;
  }
  .nav__cta { margin-top: 1.5rem; text-align: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------- 6. HERO ---------- */
.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 7rem;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 30%, rgba(255,255,255,.60) 56%, rgba(255,255,255,.22) 82%, rgba(255,255,255,.06) 100%),
    url('../images/boardroom.jpg') center right / cover no-repeat,
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}
@media (max-width: 768px) {
  /* On small screens wash the photo out further so the headline stays crisp */
  .hero__media { background:
    linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 55%, rgba(255,255,255,.55) 100%),
    url('../images/boardroom.jpg') center / cover no-repeat,
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); }
}
/* Subtle node-network motif behind hero */
.hero__media::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,58,82,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,58,82,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  opacity: .8;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 70%, var(--paper) 100%);
  pointer-events: none;
}
.hero__content { max-width: 880px; position: relative; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
  font-weight: 600;
}
.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.hero__title {
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--navy);
}
.hero__desc {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  max-width: 660px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--grey-500);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.hero__scroll::after {
  content: '';
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--navy), transparent);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .3; transform: scaleY(.5); }
}

/* Page heroes (inner) — light cream band, dark text */
.page-hero {
  position: relative;
  padding: 11rem 0 5rem;
  background:
    radial-gradient(ellipse at 50% 0%, var(--navy-tint) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--grey-100);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,58,82,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,58,82,0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__title {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  margin: 1rem auto;
  max-width: 900px;
  color: var(--ink);
}
.page-hero__desc {
  max-width: 720px;
  margin: 0 auto;
  color: var(--charcoal);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ---------- 7. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 5px;
  transition: all .3s var(--ease-out);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover {
  background: var(--navy-deep);
  box-shadow: var(--shadow-hover);
}
.btn--ghost {
  border-color: var(--grey-300);
  color: var(--charcoal);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-tint);
}
.btn--link {
  padding: 0;
  background: none;
  color: var(--navy);
  border-radius: 0;
  position: relative;
  font-weight: 600;
  letter-spacing: .04em;
}
.btn--link::after {
  content: '→';
  margin-left: .5rem;
  transition: transform .3s ease;
}
.btn--link:hover { color: var(--navy-deep); }
.btn--link:hover::after { transform: translateX(6px); }
.section--anchor .btn--primary { background: #fff; color: var(--navy-deep); }
.section--anchor .btn--primary:hover { background: var(--cream); }

/* ---------- 8. STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--grey-100);
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  overflow: hidden;
}
.stat {
  padding: 2.5rem 2rem;
  background: var(--paper);
  text-align: left;
  position: relative;
  transition: background .3s ease;
}
.stat:hover { background: var(--cream); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 500;
}

/* ---------- 9. CARDS ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  padding: 2rem;
  transition: all .35s var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.card:hover {
  border-color: var(--grey-300);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.card__eyebrow {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 600;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Segment cards — light institutional, navy heading */
.segments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.segment-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem;
  transition: all .4s var(--ease-out);
  isolation: isolate;
  box-shadow: var(--shadow-card);
}
/* Pin the CTA to the bottom so all three cards align regardless of title length */
.segment-card > .btn--link { margin-top: auto; padding-top: 1.25rem; }
.segment-card::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  transition: transform .8s var(--ease-out);
  opacity: .5;
}
.segment-card::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.85) 55%, var(--paper) 100%);
}
.segment-card:hover { transform: translateY(-5px); border-color: var(--navy); box-shadow: var(--shadow-hover); }
.segment-card:hover::before { transform: scale(1.04); }
/* Subtle top accent rule */
.segment-card { border-top: 3px solid var(--navy); }
.segment-card--odn::before {
  background-image: linear-gradient(135deg, var(--navy-tint) 0%, var(--cream) 100%);
}
.segment-card--dyspatchr::before {
  background-image: linear-gradient(135deg, var(--grey-50) 0%, var(--navy-tint) 100%);
}
.segment-card--tomorrow::before {
  background-image: linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.segment-card__tag {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.segment-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin: .75rem 0 1rem;
  color: var(--ink);
}
.segment-card__desc { color: var(--charcoal); margin-bottom: 1.25rem; font-size: .95rem; }

/* ---------- 10. PEOPLE / BIO CARDS ---------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.person {
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  overflow: hidden;
  transition: all .3s var(--ease-out);
  box-shadow: var(--shadow-card);
}
.person:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: var(--shadow-hover); }
.person__photo {
  aspect-ratio: 4/5;
  background: var(--grey-100);
  background-size: cover;
  background-position: center top;
  position: relative;
  overflow: hidden;
}
.person__body { padding: 1.75rem; }
.person__role {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .6rem;
  font-weight: 600;
}
.person__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.person__bio {
  font-size: .92rem;
  color: var(--charcoal);
  line-height: 1.65;
}

/* Detail layout for leaders */
.leader {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid var(--grey-100);
}
.leader:last-child { border-bottom: none; }
.leader__photo {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center top;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--grey-100);
  background-color: var(--grey-100);
}
.leader__role {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .75rem;
  font-weight: 600;
}
.leader__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.leader__bio { color: var(--charcoal); line-height: 1.8; font-size: 1rem; }
.leader__bio p + p { margin-top: 1rem; }
@media (max-width: 768px) {
  .leader { grid-template-columns: 1fr; gap: 1.5rem; }
  /* width must be explicit: a grid item with auto margins shrink-wraps (to 0 here) */
  .leader__photo { width: 100%; max-width: 280px; margin-left: auto; margin-right: auto; }
}

/* ---------- 11. NEWS ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  overflow: hidden;
  transition: all .3s var(--ease-out);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.news-card:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: var(--shadow-hover); }
.news-card__img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--grey-100);
}
.news-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-card__date {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .75rem;
  font-weight: 600;
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 1rem;
  flex: 1;
}
.news-card a { color: var(--navy); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

/* News list (PRs) */
.news-list { list-style: none; }
.news-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--grey-100);
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.news-list li:hover { background: var(--cream); }
.news-list time {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.news-list a { color: var(--ink); font-size: 1.05rem; }
.news-list a:hover { color: var(--navy); }
.news-list span { color: var(--grey-500); font-size: .8rem; }
@media (max-width: 700px) {
  .news-list li { grid-template-columns: 1fr; gap: .25rem; }
}

/* ---------- 12. FEATURE GRIDS ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  transition: all .3s var(--ease-out);
  box-shadow: var(--shadow-card);
}
.feature:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feature__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--grey-300);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  color: var(--navy);
  background: var(--navy-tint);
}
.feature h4 { font-size: 1.15rem; margin-bottom: .75rem; }
.feature p { font-size: .92rem; }

/* ---------- 13. TIMELINE ---------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--navy), var(--grey-300), transparent);
}
.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem; top: .35rem;
  width: 15px; height: 15px;
  border: 2px solid var(--navy);
  background: var(--paper);
  border-radius: 50%;
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: .35rem;
  display: block;
}
.timeline__title { font-size: 1.1rem; margin-bottom: .5rem; color: var(--ink); font-weight: 500; }
.timeline__desc { color: var(--charcoal); font-size: .95rem; }

/* ---------- 14. SPLIT / EDITORIAL ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__visual {
  aspect-ratio: 4/5;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--grey-100);
  background-size: cover; background-position: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse > :first-child { order: 0; }
}

/* Bio split: narrow photo column so the message text fills the remaining width */
.split--bio { grid-template-columns: minmax(250px, 320px) 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 768px) { .split--bio { grid-template-columns: 1fr; } }

/* Navy feature panel (used inside .split layouts) — photo/image-ready.
   Replaces the old tall 4/5 navy blocks that left large empty space. */
.visual-panel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: clamp(360px, 40vw, 440px);
  aspect-ratio: auto;                 /* override .split__visual 4/5 */
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  color: #EAF0F5;
  border: 1px solid var(--navy-deep);
  isolation: isolate;
}
.visual-panel::before {               /* navy scrim — reads the same over a solid or a photo */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(150deg, rgba(30,58,82,.90) 0%, rgba(21,42,61,.96) 100%);
}
.visual-panel::after {                /* node-network motif fills the negative space */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url('../backgrounds/panel-network.svg') center / 128% no-repeat;
  pointer-events: none;
}
.visual-panel__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.6rem);
}
/* Photo-backed panel: directional navy scrim (heavier at the text corner,
   bottom-left), and the network motif is hidden in favour of the image. */
.visual-panel--photo::before {
  background: linear-gradient(225deg, rgba(21,42,61,.42) 0%, rgba(21,42,61,.62) 45%, rgba(21,42,61,.90) 100%);
}
.visual-panel--photo::after { display: none; }
.visual-panel__eyebrow {
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
}
.visual-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  line-height: 1.15; color: #EAF0F5; letter-spacing: -0.01em;
}
.visual-panel__title em { color: var(--gold-soft); font-style: italic; }
.visual-panel__meta {
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.visual-panel__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.visual-panel__stat-num { font-family: var(--font-display); font-size: 1.7rem; color: #fff; line-height: 1; }
.visual-panel__stat-lbl { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: .35rem; }

/* Editorial quote */
.quote {
  position: relative;
  padding: 3rem;
  background: var(--cream);
  border: 1px solid var(--grey-100);
  border-top: 3px solid var(--navy);
  border-radius: 10px;
}
.quote::before {
  content: '\201C';
  position: absolute;
  top: -.25rem; left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--navy);
  opacity: .25;
  line-height: 1;
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
  margin: 0;
}
.quote__author {
  margin-top: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.quote__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background-size: cover; background-position: center;
  border: 1px solid var(--grey-300);
  background-color: var(--grey-100);
}
.quote__name { font-size: 1rem; color: var(--ink); font-weight: 600; }
.quote__title { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); }

/* ---------- 15. FOOTER ---------- */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-deep);
  padding: 5rem 0 2rem;
  position: relative;
  color: rgba(255,255,255,.7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer__logo { height: 46px; width: auto; display: block; margin-bottom: 1.1rem; opacity: .95; }
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .04em;
  margin-bottom: 1rem;
  color: #fff;
}
.footer__about { font-size: .92rem; line-height: 1.7; color: rgba(255,255,255,.65); max-width: 380px; }
.footer h5 {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .65rem; }
.footer ul a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}
.footer ul a:hover { color: #fff; }
.footer__contact-line {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin-bottom: .75rem;
}
.footer__contact-line svg { flex-shrink: 0; margin-top: 4px; color: var(--gold-soft); }
.footer__contact-line a { color: rgba(255,255,255,.7); }
.footer__contact-line a:hover { color: #fff; }
.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bar p { font-size: .82rem; color: rgba(255,255,255,.5); margin: 0; }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer__legal a:hover { color: #fff; }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- 16. UTILITY & ANIMATION ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.fade-in.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
}

.section-title { max-width: 720px; margin-bottom: 3rem; }
.section-title.centered { margin-inline: auto; text-align: center; }

.muted { color: var(--grey-500); }
.accent { color: var(--navy); }

.kv {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-100);
}
.kv:last-child { border-bottom: none; }
.kv__k {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.kv__v { color: var(--ink); }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; gap: .25rem; } }

/* Pill / chip */
.pill {
  display: inline-block;
  padding: .35rem .85rem;
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: .25rem .25rem .25rem 0;
}
.pill--gold { border-color: var(--navy); color: var(--navy); }

/* Brand mosaic */
.brands-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.brand-tile {
  aspect-ratio: 4/3;
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem;
  transition: all .3s var(--ease-out);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.brand-tile:hover { border-color: var(--navy); transform: translateY(-3px); background: var(--grey-50); }
.brand-tile__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: .25rem;
  color: var(--ink);
}
.brand-tile__cat {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); font-weight: 600;
}
.brand-tile__origin { font-size: .8rem; color: var(--grey-500); margin-top: .5rem; }

/* Map / footprint */
.footprint {
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}
.footprint__markers { display: flex; flex-direction: column; gap: 1rem; }
.footprint__marker {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--grey-50);
  border-left: 2px solid var(--navy);
  border-radius: 0 6px 6px 0;
}
.footprint__city { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.footprint__role { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); }
@media (max-width: 900px) { .footprint { grid-template-columns: 1fr; padding: 2rem; } }

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
}
.field input, .field textarea, .field select {
  background: var(--grey-50);
  border: 1px solid var(--grey-300);
  border-radius: 6px;
  padding: .9rem 1rem;
  color: var(--ink);
  font-size: .95rem;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* Compact CTA banner */
.cta-banner {
  background: var(--navy-deep);
  border: 1px solid var(--navy-deep);
  border-radius: 12px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  color: #fff;
}
.cta-banner h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: .5rem; color: #fff; }
.cta-banner p { margin: 0; color: rgba(255,255,255,.75); }
.cta-banner .btn--primary { background: #fff; color: var(--navy-deep); }
.cta-banner .btn--primary:hover { background: var(--cream); }
@media (max-width: 760px) {
  .cta-banner { grid-template-columns: 1fr; padding: 2rem; text-align: center; }
  .cta-banner .btn { justify-self: center; }
}

/* Tables for governance */
.gov-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  overflow: hidden;
}
.gov-table th, .gov-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-100);
}
.gov-table th {
  background: var(--navy-tint);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.gov-table td { color: var(--charcoal); font-size: .95rem; }
.gov-table tr:last-child td { border-bottom: none; }
.gov-table tbody tr:hover { background: var(--grey-50); }
.gov-table .center { text-align: center; }

/* Annual reports grid */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.report-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: all .3s ease;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.report-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.report-card__year {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1;
}
.report-card__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-500); margin-top: .5rem; }
.report-card__link { display: inline-block; margin-top: 1rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); font-weight: 600; }

/* ESG */
.esg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .esg-grid { grid-template-columns: 1fr; } }
.esg-card {
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.esg-card__letter {
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(30,58,82,0.06);
  position: absolute;
  top: -1rem; right: 1rem;
  line-height: 1;
  font-weight: 500;
}
.esg-card h3 { font-size: 1.5rem; margin-bottom: 1rem; position: relative; }
.esg-card ul { list-style: none; }
.esg-card ul li {
  font-size: .9rem; color: var(--charcoal);
  padding-left: 1.25rem; position: relative;
  margin-bottom: .65rem; line-height: 1.55;
}
.esg-card ul li::before {
  content: ''; position: absolute; left: 0; top: .6rem;
  width: 6px; height: 1px; background: var(--navy);
}

/* Two column body text */
.two-col {
  column-count: 2;
  column-gap: 3rem;
}
@media (max-width: 700px) { .two-col { column-count: 1; } }
.two-col p { break-inside: avoid; }

/* Hero variant for sub pages w/ image — light scrim, dark text */
.subhero {
  position: relative;
  min-height: 52vh;
  padding: 10rem 0 4rem;
  display: flex; align-items: end;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--cream);
}
.subhero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.subhero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.8) 60%, var(--paper) 100%);
}
.subhero__inner { position: relative; }
.subhero h1 { max-width: 760px; color: var(--ink); }
.subhero p { color: var(--charcoal); }

/* Investor stock snapshot strip */
.stock-strip {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.stock-strip__item {
  flex: 1; min-width: 150px;
  padding: 1.5rem 1.75rem;
  border-right: 1px solid var(--grey-100);
}
.stock-strip__item:last-child { border-right: none; }
.stock-strip__label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-500); font-weight: 600; margin-bottom: .4rem; }
.stock-strip__value { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.stock-strip__value .accent { color: var(--navy); }

/* Collapsible long-form statements (Chairman / CEO) */
.collapsible {
  position: relative;
  max-height: 17rem;
  overflow: hidden;
  transition: max-height .55s var(--ease-out);
}
.collapsible::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 6rem;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--paper) 92%);
  pointer-events: none;
  transition: opacity .35s ease;
}
.section--elevated .collapsible::after { background: linear-gradient(180deg, rgba(244,245,246,0) 0%, var(--grey-50) 92%); }
.collapsible.is-open { max-height: 360rem; }
.collapsible.is-open::after { opacity: 0; }
.collapse-toggle {
  margin-top: 1.25rem;
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  color: var(--navy); background: none; border: none; padding: .35rem 0; cursor: pointer;
}
.collapse-toggle::after { content: '\2193'; transition: transform .3s ease; }
.collapse-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.collapse-toggle:hover { color: var(--navy-deep); }
@media (prefers-reduced-motion: reduce) { .collapsible { transition: none; } }

/* Compliant SGX ticker strip ([data-sgx-ticker]) */
.ticker {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap;
  background: var(--paper);
  border: 1px solid var(--grey-100);
  border-left: 3px solid var(--navy);
  border-radius: 10px;
  padding: 1.05rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.ticker__main { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.ticker__counter {
  font-family: var(--font-display); font-weight: 600; color: var(--navy);
  font-size: 1.1rem; letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.ticker__name { color: var(--charcoal); font-size: .92rem; }
.ticker__live { display: inline-flex; align-items: baseline; gap: .55rem; }
.ticker__price { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ticker__chg { font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ticker__chg--up { color: #1d7a4d; }
.ticker__chg--down { color: #b23b3b; }
.ticker__asof { font-size: .72rem; color: var(--grey-500); letter-spacing: .04em; }
.ticker__btn {
  font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  color: #fff; background: var(--navy); padding: .72rem 1.2rem; border-radius: 5px; white-space: nowrap;
  transition: background .25s var(--ease-out);
}
.ticker__btn:hover { background: var(--navy-deep); }
.ticker__note { font-size: .74rem; color: var(--grey-500); margin: .65rem 0 0; line-height: 1.5; }
@media (max-width: 600px) { .ticker { flex-direction: column; align-items: flex-start; } .ticker__btn { width: 100%; text-align: center; } }

/* Disclaimer / source-attribution note (financial figures, ODN data) */
.disclaimer {
  margin-top: 1.75rem;
  padding: 1.1rem 1.4rem;
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: .8rem;
  line-height: 1.65;
  color: var(--grey-500);
}
.disclaimer strong { color: var(--charcoal); font-weight: 600; }
.disclaimer a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.disclaimer + .disclaimer { margin-top: .75rem; }

/* Print friendly */
@media print {
  .nav, .footer { display: none; }
  body { color: #000; background: #fff; }
}
