/* ABIX — Asia Business & Investment Exchange */
:root {
  --navy: #0B1F33;
  --navy-deep: #071521;
  --navy-mid: #14304a;
  --gold: #C6A15B;
  --gold-light: #d4b87a;
  --gold-dark: #a8853f;
  --white: #ffffff;
  --off-white: #f7f5f1;
  --muted: #5c6b7a;
  --line: rgba(198, 161, 91, 0.28);
  --shadow: 0 18px 48px rgba(11, 31, 51, 0.12);
  --radius: 14px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 51, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(198, 161, 91, 0.2);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.logo {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo span {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  color: rgba(255,255,255,0.86);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover, .nav a.active {
  color: var(--gold-light);
  background: rgba(198,161,91,0.1);
}
.nav-cta {
  margin-left: 0.4rem !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 0.55rem 1rem !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(198,161,91,0.45);
  color: var(--gold);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-gold-outline:hover { background: var(--gold); color: var(--navy); }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-deep) center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7,21,33,0.92) 0%, rgba(7,21,33,0.72) 48%, rgba(7,21,33,0.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 720px;
}
.hero h1 { margin-bottom: 0.75rem; }
.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.75rem;
  max-width: 36rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0 2.75rem;
  border-bottom: 3px solid var(--gold);
}
.page-hero p { color: rgba(255,255,255,0.78); max-width: 40rem; margin: 0; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--off-white); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy .muted { color: rgba(255,255,255,0.7); }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); margin: 0; }
.section-navy .section-head p { color: rgba(255,255,255,0.72); }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.card {
  background: var(--white);
  border: 1px solid rgba(11,31,51,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(11,31,51,0.05);
}
.card h3 { margin-bottom: 0.45rem; }
.card p:last-child { margin-bottom: 0; color: var(--muted); }
.card-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(198,161,91,0.15);
  color: var(--gold-dark);
  display: grid; place-items: center;
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.feature-split img, .media-frame img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.media-frame { overflow: hidden; border-radius: var(--radius); }
.muted { color: var(--muted); }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(198,161,91,0.25);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.stat span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* Expect chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.chip {
  background: rgba(198,161,91,0.12);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Events */
.event-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(11,31,51,0.08);
  box-shadow: 0 8px 24px rgba(11,31,51,0.05);
}
.event-date {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
}
.event-date .day { font-size: 1.55rem; font-weight: 800; color: var(--gold); line-height: 1; }
.event-date .mon { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.35rem; }
.event-date .year { font-size: 0.8rem; opacity: 0.7; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.badge-confirmed { background: rgba(46, 160, 100, 0.15); color: #1f7a4a; }
.badge-tentative { background: rgba(198,161,91,0.18); color: var(--gold-dark); }
.event-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.event-list { display: grid; gap: 1.1rem; }

/* Partners */
.partner-card {
  text-align: left;
  padding: 1.75rem;
}
.partner-card .role {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* News */
.news-note {
  background: rgba(198,161,91,0.1);
  border-left: 4px solid var(--gold);
  padding: 1.1rem 1.25rem;
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,31,51,0.08);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
input, select, textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(11,31,51,0.18);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--navy);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(198,161,91,0.45);
  border-color: var(--gold);
}
textarea { min-height: 140px; resize: vertical; }
.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}
.consent input { width: auto; margin-top: 0.25rem; }
.placeholder-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.75rem;
}
.contact-aside {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-aside a { color: var(--gold-light); }
.contact-aside h3 { color: var(--gold); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band p { color: rgba(255,255,255,0.78); max-width: 36rem; margin: 0 auto 1.5rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.78);
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand { color: var(--white); font-weight: 800; letter-spacing: 0.08em; font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.disclaimer {
  max-width: 58rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.5);
  margin-top: 1rem;
}

/* Privacy */
.prose { max-width: 48rem; }
.prose h2 { margin-top: 2rem; font-size: 1.35rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul { color: var(--muted); }

/* Next event highlight */
.next-event {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,31,51,0.08);
}
.next-event-body { padding: 1.75rem; }
.next-event img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .feature-split, .next-event, .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 110px 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 72px;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(198,161,91,0.25);
    gap: 0.15rem;
  }
  .nav.open { display: flex; }
  .nav-cta { margin-left: 0 !important; text-align: center; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 4rem 0 3rem; }
  .event-card { grid-template-columns: 1fr; }
}


/* ACC Gala panoramic photo — never crop heads */
.gala-band {
  margin: 1.75rem 0 0;
}
.gala-band picture,
.gala-band img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: contain;
}
.section-navy .gala-band {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.gala-caption {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin: 0.65rem 0 0;
  text-align: center;
}
.section:not(.section-navy) .gala-caption { color: var(--muted); }
.gala-about-photo {
  margin-top: 1.5rem;
}
.gala-about-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}


/* YouTube embed — responsive 16:9 */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
}
.section-navy .video-wrap {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}
@media (max-width: 760px) {
  .video-wrap { margin-top: 1.15rem; }
}
