@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/cormorant-garamond-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/inter-latin.woff2") format("woff2");
}

:root {
  --plum: #4b1f44;
  --plum-deep: #35152f;
  --gold: #c6a36a;
  --gold-text: #8a6425;
  --gold-pale: #e6d4b2;
  --ivory: #f7f3ee;
  --navy: #243b63;
  --charcoal: #211b20;
  --slate: #5e6b7a;
  --stone: #e9e3da;
  --white: #fff;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 14px 38px rgba(58, 22, 52, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font: 400 16px/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
}
.skip-link:focus { transform: none; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 790px); margin-inline: auto; }
.section { padding-block: clamp(70px, 8vw, 112px); }
.section-sm { padding-block: clamp(50px, 6vw, 80px); }
.surface-white { background: var(--white); }
.surface-navy { background: var(--navy); color: var(--ivory); }
.surface-plum { background: var(--plum); color: var(--ivory); }
.muted { color: var(--slate); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(75, 31, 68, 0.12);
  background: rgba(247, 243, 238, 0.96);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 190px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  border-bottom: 1px solid transparent;
  color: #352d34;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--gold); color: var(--plum); }
.site-nav a.button, .site-nav a.button:hover { color: var(--ivory); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--plum); padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 5px 0; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--plum);
  border-radius: 2px;
  background: var(--plum);
  color: var(--ivory);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 14px 22px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover { background: var(--plum-deep); border-color: var(--plum-deep); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--plum); }
.button.secondary:hover { background: rgba(75, 31, 68, 0.06); }
.button.light { border-color: rgba(247, 243, 238, 0.72); background: transparent; color: var(--ivory); }
.button.light:hover { background: rgba(247, 243, 238, 0.1); border-color: var(--ivory); }
.button.small { min-height: 40px; padding: 10px 16px; font-size: 13px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.eyebrow {
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--plum); font-family: var(--font-display); font-weight: 600; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.01; letter-spacing: -0.015em; }
h2 { font-size: clamp(32px, 4.7vw, 48px); line-height: 1.08; }
h3 { font-size: 26px; line-height: 1.18; }
.surface-plum h1, .surface-plum h2, .surface-plum h3,
.surface-navy h1, .surface-navy h2, .surface-navy h3 { color: var(--ivory); }
.surface-plum .eyebrow, .surface-navy .eyebrow { color: var(--gold-pale); }
.lede { max-width: 740px; margin: 24px 0 0; color: var(--slate); font-size: clamp(18px, 2vw, 21px); line-height: 1.58; }
.on-dark { color: #ddd3dc; }

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 78px));
  overflow: hidden;
  background: #24112f url("/assets/bli-asean-capital-hero-v1.webp") center/cover no-repeat;
  color: var(--ivory);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 12, 40, 0.97), rgba(47, 18, 56, 0.87) 42%, rgba(47, 18, 56, 0.18)); }
.hero .container { position: relative; min-height: inherit; display: flex; align-items: center; padding-block: 88px; }
.hero-copy { max-width: 720px; }
.hero h1 { color: var(--ivory); }
.hero .lede { color: #e4dbe2; }
.market-line { margin-top: 34px; color: var(--gold-pale); font-size: 13px; letter-spacing: 0.08em; }

.page-hero { padding-block: clamp(72px, 10vw, 126px); }
.page-hero .lede { color: #ddd3dc; }
.page-hero .container { position: relative; }
.page-hero .container::after { content: ""; display: block; width: 96px; height: 2px; margin-top: 38px; background: var(--gold); }

.split { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); align-items: center; gap: clamp(44px, 8vw, 96px); }
.split img { width: 100%; min-height: 380px; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow); }
.prose p { margin: 18px 0 0; }
.prose h2 { margin-top: 52px; font-size: 36px; }
.prose h3 { margin-top: 36px; }
.prose ul { padding-left: 22px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards { margin-top: 48px; }
.card {
  position: relative;
  border: 1px solid var(--stone);
  border-radius: 3px;
  background: var(--white);
  padding: 30px;
}
.card::before { content: ""; position: absolute; inset: -1px -1px auto; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 240ms ease; }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 25px; }
.card p { margin: 14px 0 0; color: var(--slate); }
.card-link { display: inline-flex; margin-top: 22px; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; }
.card-link:hover { color: var(--plum); }
.number { display: block; margin-bottom: 24px; color: var(--gold-text); font-family: var(--font-display); font-size: 28px; }

.audience-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; border-color: rgba(247,243,238,.16); background: transparent; }
.audience-card p { color: #d7cfd5; }
.audience-card .card-link { color: var(--gold-pale); }
.audience-card h3 { color: var(--ivory); font-size: 34px; }

.section-heading { max-width: 760px; }
.section-heading p { margin: 20px 0 0; color: var(--slate); font-size: 18px; }
.surface-plum .section-heading p, .surface-navy .section-heading p { color: #ddd3dc; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--stone); border-left: 1px solid var(--stone); }
.stat { min-height: 170px; border-right: 1px solid var(--stone); border-bottom: 1px solid var(--stone); padding: 28px; }
.stat strong { display: block; color: var(--plum); font-family: var(--font-display); font-size: 28px; }
.stat span { display: block; margin-top: 12px; color: var(--slate); font-size: 14px; }

.service-detail { padding-block: 48px; border-bottom: 1px solid var(--stone); }
.service-detail:last-child { border-bottom: 0; }
.service-groups { margin-top: 34px; }
.service-group ul { margin: 16px 0 0; padding-left: 20px; color: var(--slate); }
.value-line { margin-top: 36px; border-left: 2px solid var(--gold); padding: 18px 22px; background: #f4eee3; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pill { border: 1px solid var(--stone); border-radius: 999px; background: var(--white); padding: 9px 15px; color: var(--navy); font-size: 13px; }

.insight-card time { color: var(--slate); font-size: 13px; }
.insight-card h3 { margin-top: 12px; }
.insight-card-image { width: calc(100% + 60px); max-width: none; height: 180px; margin: -30px -30px 26px; border-radius: 3px 3px 0 0; object-fit: cover; }
.article-header { padding-block: 76px 56px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; color: var(--slate); font-size: 13px; }
.article-image { width: min(calc(100% - 40px), 1050px); margin: 0 auto; padding-top: 52px; }
.article-image img { width: 100%; aspect-ratio: 3 / 2; border-radius: 3px; box-shadow: var(--shadow); object-fit: cover; }
.article .prose { font-size: 17px; }
.article .prose p { margin-top: 20px; }
.article .prose h2 { margin-top: 52px; }

.form-shell { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(44px, 7vw, 90px); align-items: start; }
.intake-form { border: 1px solid var(--stone); background: var(--white); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { color: #3d343b; font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #d7cfc6;
  border-radius: 2px;
  background: var(--white);
  color: var(--charcoal);
  min-height: 48px;
  padding: 11px 13px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum); outline: 2px solid rgba(198,163,106,.35); }
.checkbox { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-top: 22px; color: var(--slate); font-size: 13px; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }
.form-status { min-height: 24px; color: var(--navy); font-size: 14px; }
.form-status.error { color: #8b2434; }
.form-status.success { color: #24613d; }
.privacy-note { margin-top: 18px; color: var(--slate); font-size: 12px; }

.contact-panel { border-top: 1px solid rgba(247,243,238,.16); margin-top: 34px; padding-top: 26px; }
.contact-panel a { color: var(--gold-pale); }

.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band p { max-width: 640px; margin: 14px 0 0; color: #ddd3dc; }

.site-footer { background: #281124; color: #d7cfd5; padding-block: 64px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { width: 66px; }
.footer-brand p { max-width: 320px; }
.footer-col h2 { color: var(--gold); font: 600 12px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.footer-col a { display: block; margin-top: 10px; color: #d7cfd5; font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; border-top: 1px solid rgba(247,243,238,.14); padding-top: 24px; color: #ae9fac; font-size: 12px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: 78px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--stone); background: var(--ivory); padding: 14px 20px 24px; }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: 13px 4px; }
  .site-nav .button { margin-top: 10px; }
  .split, .form-shell { grid-template-columns: 1fr; }
  .grid-4, .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 154px; }
  .site-nav { top: 70px; }
  .hero { min-height: 680px; background-position: 63% center; }
  .hero::before { background: linear-gradient(90deg, rgba(31,12,40,.97), rgba(47,18,56,.9) 76%, rgba(47,18,56,.55)); }
  .hero .container { align-items: flex-end; padding-bottom: 72px; }
  .button-row, .button-row .button { width: 100%; }
  .grid-2, .grid-3, .grid-4, .stat-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .cta-band .container, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-header { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
