/* UK–Malaysia Healthcare Forum — site styles
   Brand tokens are the custom properties below; see CLAUDE.md before changing them. */

:root {
  --navy: #0B1B33;
  --navy-deep: #071326;
  --gold: #D2B777;
  --gold-deep: #8A6A2F;
  --slate: #3D4A5C;
  --mist: #F5F6F8;
  --rule: #D9DEE5;
  --rule-dark: rgba(255, 255, 255, 0.14);
  --muted-on-navy: #C5CEDA;
  --white: #FFFFFF;

  --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(64px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--gold); color: var(--navy); padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Type scale */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep);
}
.on-navy .eyebrow { color: var(--gold); }
.h-display { font-weight: 300; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.05; letter-spacing: -0.025em; }
.h-section { font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; }
.h-item { font-weight: 500; font-size: 23px; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; }
.muted { color: var(--slate); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 2px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-light { background: var(--white); color: var(--navy); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header + nav */
.site-header { background: var(--navy); color: var(--white); }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 40px; padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--rule-dark);
}
.brand { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { height: 64px; width: auto; margin-left: -16px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 36px; font-size: 15px; }
.nav-links a { color: var(--muted-on-navy); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  border: 1px solid var(--gold); color: var(--gold); font-weight: 600; padding: 0 22px; border-radius: 2px;
}
.nav-links .nav-cta:hover { background: var(--gold); color: var(--navy); }

/* Hero */
.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px;
  padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 72px);
}
.hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-copy .lead { color: var(--muted-on-navy); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-map { flex: 1 1 320px; max-width: 540px; min-width: 0; }

.key-facts { padding-bottom: clamp(40px, 5vw, 64px); }
.key-facts dl {
  border-top: 1px solid var(--rule-dark); padding-top: 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 48px;
}
.key-facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-on-navy); }
.key-facts dd { margin-top: 6px; font-size: 20px; }

/* Sections */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-mist { background: var(--mist); }
.split { display: flex; flex-wrap: wrap; gap: 32px 80px; }
.split-head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-body { flex: 1.4 1 400px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.prose { font-size: 19px; color: var(--slate); display: flex; flex-direction: column; gap: 20px; }
.prose .note { font-size: 16px; border-top: 1px solid var(--rule); padding-top: 20px; }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 56px; margin-top: 48px; }
.theme { border-top: 1px solid var(--navy); padding: 24px 0 44px; display: flex; flex-direction: column; gap: 10px; }
.theme .num { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--gold-deep); }
.theme p { color: var(--slate); }

/* Programme */
.programme { flex: 1.6 1 420px; min-width: 0; border-top: 1px solid var(--navy); }
.programme li { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.programme .time { flex: 0 0 96px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-deep); padding-top: 4px; }
.programme .what { flex: 1 1 260px; min-width: 0; }
.programme .what strong { display: block; font-weight: 500; font-size: 20px; }
.programme .what span { color: var(--slate); }

/* Speakers */
.speakers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 24px; margin-top: 48px; }
.speaker { display: flex; flex-direction: column; gap: 4px; }
.speaker .photo {
  aspect-ratio: 4 / 5; background: #E3E7EC; border-radius: 2px; margin-bottom: 14px; object-fit: cover; width: 100%;
  display: flex; align-items: center; justify-content: center; color: var(--slate); font-size: 12px; letter-spacing: 0.14em;
}
.speaker h3 { font-weight: 500; font-size: 20px; }
.speaker p { color: var(--slate); font-size: 15px; }

/* Attend */
.audience { flex: 1.6 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; font-size: 18px; }
.audience li { border-top: 1px solid var(--rule); padding: 16px 0; }
.partners { margin-top: 72px; display: flex; flex-direction: column; gap: 20px; }
.partners .eyebrow { color: var(--slate); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.logo-slot {
  height: 96px; border: 1px solid var(--rule); border-radius: 2px; display: flex; align-items: center; justify-content: center;
  color: var(--slate); font-size: 12px; letter-spacing: 0.14em; padding: 20px;
}
.logo-slot img { max-height: 48px; width: auto; }

/* Register */
.register { background: var(--navy); color: var(--white); }
.register .split { gap: 48px 80px; }
.register .h-section { font-weight: 300; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -0.025em; }
.register .lead { color: var(--muted-on-navy); font-size: 19px; }
.register .when { color: var(--muted-on-navy); border-top: 1px solid var(--rule-dark); padding-top: 20px; }
.form {
  flex: 1.2 1 360px; min-width: 0; background: var(--white); color: var(--navy); border-radius: 2px;
  padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field select {
  min-height: 50px; padding: 0 14px; border: 1px solid #8792A2; border-radius: 2px; background: var(--white); width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.form .btn { margin-top: 6px; }
.form .fine { font-size: 13px; color: var(--slate); }
.honeypot { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--muted-on-navy); font-size: 14px; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer a { color: inherit; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
