:root {
  --orange: #e8890c;
  --blue: #14529b;
  --ink: #333;
  --muted: #5f5f5f;
  --bg-alt: #f3f3f3;
  --nav-h: 96px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
h1, h2, h3 { font-family: "Montserrat", system-ui, sans-serif; margin: 0 0 .5em; line-height: 1.2; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.logo img { height: 76px; width: auto; }
.nav { display: flex; gap: 8px; align-items: center; }
.nav > a, .nav .dropdown > a {
  display: block; padding: 8px 16px;
  color: var(--ink); text-decoration: none; font-size: .95rem; letter-spacing: .02em;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--blue); }
.nav a.active { border-bottom-color: var(--orange); }
.dropdown { position: relative; }
.dropdown > a::after { content: " ▾"; font-size: .7em; }
.dropdown-menu {
  display: none; position: absolute; right: 0; top: 100%;
  background: #fff; min-width: 270px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 12px 18px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.dropdown-menu a:hover { background: var(--bg-alt); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero {
  position: relative; color: #fff; text-align: center;
  min-height: 560px; display: grid; place-items: center;
  background-size: cover; background-position: center;
  padding: 60px 24px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,var(--shade, .25)); }
.hero > div { position: relative; max-width: 900px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.hero p { font-size: clamp(1.1rem, 2.4vw, 1.7rem); margin: 0; }
.hero .accent { color: var(--orange); font-weight: 600; font-family: "Montserrat", sans-serif; }
.hero.short { min-height: 380px; }

/* Layout bits */
.section { padding: 80px 24px; }
.section.alt { background: var(--bg-alt); }
.container { max-width: 1000px; margin: 0 auto; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
h2.title { font-size: 2rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split > .text { padding: 80px 90px; align-self: center; }
.split > .photo { min-height: 420px; background-size: cover; background-position: center; }
.split ul { padding-left: 1.2em; }
.split li { margin-bottom: .4em; }

.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
  padding: 16px 44px; border-radius: 40px; font-weight: 700; border: 0; cursor: pointer; font-size: 1rem;
}
.btn:hover { filter: brightness(1.12); }

.big-list { font-size: 1.45rem; line-height: 1.8; }
.big-list p { margin: 0 0 1.4em; }

/* Footer */
.site-footer { background: var(--blue); color: #fff; text-align: center; padding: 26px 24px; font-size: .95rem; }

/* Forms */
.field { margin-bottom: 26px; }
.field label { display: block; font-size: .95rem; margin-bottom: 4px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid currentColor; background: transparent;
  font: inherit; color: inherit; padding: 8px 0; outline: none;
}
.field input:focus, .field textarea:focus { border-bottom-width: 2px; }
.field textarea { min-height: 70px; resize: vertical; }
.form-note { font-size: .85rem; opacity: .8; margin-top: 14px; }

.contact-hero {
  min-height: calc(100vh - var(--nav-h) - 80px);
  background: linear-gradient(rgba(60,70,75,.55), rgba(60,70,75,.55)), url("images/changi-jewel.jpg") center/cover;
  padding: 80px 24px; display: grid; place-items: center;
}
.contact-card { width: 100%; max-width: 1100px; background: rgba(90,100,110,.55); padding: 60px 8%; color: #fff; text-align: center; }
.contact-card h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0; }
.contact-card h1 span { display: block; color: var(--orange); }
.contact-card h2 { margin-top: 2.2rem; font-size: 1.8rem; }
.contact-card .sub { color: var(--orange); font-weight: 500; margin-bottom: 2rem; }
.contact-card form { text-align: left; }
.contact-card .btn { margin-top: 10px; }

/* Events list */
.event-card { max-width: 970px; margin: 0 auto 70px; }
.event-card .banner { height: 310px; background-size: cover; background-position: center; display: block; }
.event-card h2 { font-family: "Roboto", sans-serif; font-weight: 700; font-size: 1.9rem; margin: 24px 20px 12px; }
.event-card p { margin: 0 20px 18px; font-size: 1.05rem; }
.event-card .more { margin: 0 20px; font-size: 1.5rem; font-weight: 700; text-decoration: none; font-family: "Roboto", sans-serif; }
.event-card .more:hover { text-decoration: underline; }

/* Event detail */
.icon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; max-width: 1000px; margin: 0 auto; }
.icon-row svg { width: 64px; height: 64px; stroke: var(--orange); fill: none; stroke-width: 1.6; margin: 0 auto 10px; }
.icon-row span { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .9rem; color: var(--muted); }
.datebox h2 { margin: 0; }
.datebox .d { font-size: 1.8rem; font-weight: 800; color: var(--muted); font-family: "Montserrat", sans-serif; }
.two-col { display: grid; grid-template-columns: 1.7fr 1fr; gap: 60px; align-items: center; max-width: 1000px; margin: 0 auto; }
.portrait { text-align: center; }
.portrait .avatar { width: 200px; height: 220px; margin: 0 auto 12px; background: #d9dde2; display: grid; place-items: center; font-size: 3rem; color: #9aa3ad; }
.portrait strong { font-family: "Montserrat", sans-serif; font-size: 1.2rem; display: block; }
.portrait small { font-style: italic; color: var(--muted); }
.speakers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; max-width: 1000px; margin: 0 auto; }
.speakers .portrait .avatar { width: 150px; height: 170px; border-radius: 50%; font-size: 2.4rem; }
.speakers .portrait strong { font-size: 1.05rem; }
.speakers .label { background: #444; color: #fff; display: grid; place-items: center; font-family: "Montserrat", sans-serif; font-weight: 800; letter-spacing: .1em; min-height: 170px; }
.agenda { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; max-width: 900px; margin: 0 auto; }
.agenda .slot { padding: 18px 0; border-bottom: 1px solid #aaa; font-size: .9rem; }
.agenda .slot:last-child { border-bottom: 0; }
.agenda .slot b { display: block; font-size: 1rem; margin-bottom: 8px; color: var(--muted); }
.agenda .slot .who { font-weight: 700; display: block; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; max-width: 900px; margin: 0 auto; }
.logos h3 { font-family: "Roboto", sans-serif; color: var(--muted); font-size: 1rem; }
.logos .ph { font-weight: 700; font-size: 1.4rem; padding: 24px 0; color: var(--ink); }
.logos img { height: 110px; width: auto; margin: 0 auto; object-fit: contain; }

/* Links page */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.link-list a { display: block; padding: 22px 26px; border: 1px solid #ddd; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.link-list a:hover { border-color: var(--blue); background: var(--bg-alt); }
.link-list small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }

@media (max-width: 900px) {
  :root { --nav-h: 80px; }
  .logo img { height: 60px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; background: #fff; padding: 8px 0 16px;
    box-shadow: 0 8px 12px rgba(0,0,0,.1);
  }
  .nav.open { display: flex; }
  .dropdown-menu { display: block; position: static; box-shadow: none; padding-left: 16px; }
  .dropdown > a::after { content: ""; }
  .split { grid-template-columns: 1fr; }
  .split > .text { padding: 50px 24px; }
  .split > .photo { min-height: 300px; }
  .split.flip .photo { order: 2; }
  .hero { min-height: 420px; }
  .icon-row { grid-template-columns: repeat(2, 1fr); }
  .two-col, .agenda, .logos { grid-template-columns: 1fr; }
  .speakers { grid-template-columns: repeat(2, 1fr); }
  .big-list { font-size: 1.15rem; }
  .section { padding: 56px 20px; }
}
@media (max-width: 520px) { .speakers { grid-template-columns: 1fr; } }
