/* AIHEP Forum 2027 — Consolidated Stylesheet (Bangkok Sunset Identity) */
:root {
  --ink: #472a28;
  --navy: #542a2b;
  --deep: #3b2025;
  --cream: #fff9ef;
  --paper: #f4e8d9;
  --gold: #f0c27e;
  --darkgold: #9b4b31;
  --muted: #725b54;
  --line: #e8d4c5;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; border-radius: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #aa7534; outline-offset: 5px; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
img { display: block; width: 100%; }
::selection { background: var(--gold); color: var(--navy); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Layout primitives & shared UI */
.page-width { width: min(1240px, calc(100% - 80px)); margin: 0 auto; }
.section-pad { padding-top: 68px; padding-bottom: 68px; }
.skip-link { position: fixed; z-index: 100; top: 0; left: 15px; background: var(--cream); color: var(--ink); padding: 14px 18px; font-size: 14px; font-weight: 600; transform: translateY(-130%); }
.skip-link:focus { transform: translateY(0); }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; line-height: 1.6; text-transform: uppercase; }
.section-label { display: flex; justify-content: space-between; gap: 20px; color: #754a3b; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 32px; letter-spacing: .9px; font-size: 12px; font-weight: 600; line-height: 1.5; }
h2 { font-family: var(--serif); font-size: clamp(40px, 3.8vw, 54px); line-height: 1.16; letter-spacing: -1.6px; font-weight: 400; }
h2 em { font-weight: 400; color: #bd633e; }
.micro { font-size: 14px !important; line-height: 1.7 !important; letter-spacing: .1px; color: #66483c; margin-top: 14px; }

.ui-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -.12em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  padding: 18px 24px;
  border: 1px solid transparent;
  min-height: 54px;
  transition: background .2s, transform .2s, color .2s, border-color .2s;
}
.button span { font-size: 20px; font-weight: 400; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button-header { background: #653332; border-color: #653332; color: #fff8ed; min-height: 46px; padding: 12px 17px; font-size: 14px; gap: 20px; white-space: nowrap; }
.button-header:hover { background: #84473b; border-color: #84473b; color: #fff8ed; }
.button-gold { background: #f6cb89; color: #522e29; }
.button-gold:hover { background: #ffe1ae; }
.button-outline { background: transparent; border-color: #a77a5c; white-space: nowrap; color: #693a2f; }
.button-outline:hover { background: #fff4e5; }
.button-dark { background: var(--ink); color: var(--cream); }
.button-dark:hover { background: #77403a; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  border: 0;
  background: transparent;
  padding: 10px 0;
  min-height: 42px;
  border-bottom: 1px solid currentColor;
  line-height: 1.4;
}
.text-link span { font-size: 18px; transition: transform .2s; }
.text-link:hover span { transform: translate(2px, -2px); }
.light { color: #fff1e2; }
.dark { color: var(--ink); }

.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 45px; margin-bottom: 32px; }
.section-heading > div { max-width: 445px; }
.section-heading p { font-size: 18px; line-height: 1.7; }

/* Session type palette shared across schedule, legend, and at-a-glance */
[data-kind="plenary"] { --kind-color: #673433; --kind-tint: #f7e9e4; }
[data-kind="exchange"] { --kind-color: #c0643d; --kind-tint: #fbe8da; }
[data-kind="break"] { --kind-color: #c2a487; --kind-tint: #f8f0e6; }
[data-kind="evening"] { --kind-color: #e0a14c; --kind-tint: #fcefd9; }

/* Header & grouped navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 40px;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid #eee4dc;
  box-shadow: 0 2px 14px #48232a08;
}
.brand { display: flex; gap: 12px; align-items: center; font-size: 13px; letter-spacing: 1px; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.brand svg { width: 30px; height: 42px; fill: none; stroke: #9d593c; stroke-width: 1.3; }
.brand small { display: block; font-size: 12px; letter-spacing: .35px; color: #75584b; margin-top: 4px; font-weight: 400; }
.brand small span { margin: 0 4px; }

.desktop-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; letter-spacing: .2px; }
.desktop-nav > a,
.desktop-nav .nav-top {
  position: relative;
  padding: 12px 0;
  color: #563a31;
  white-space: nowrap;
  background: transparent;
  border: 0;
  font: inherit;
  line-height: 1.4;
}
.desktop-nav > a:after,
.desktop-nav .nav-top:after {
  content: '';
  height: 1px;
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 100%;
  background: #a85e3d;
  transition: right .2s;
}
.desktop-nav > a:hover:after,
.desktop-nav .nav-top:hover:after,
.nav-group.is-open .nav-top:after { right: 0; }

.nav-group { position: relative; display: flex; align-items: center; }
.desktop-nav .nav-top { display: inline-flex; align-items: center; gap: 4px; }
.nav-chevron { width: 15px; height: 15px; transition: transform .2s; }
.nav-panel { display: none; position: absolute; z-index: 30; top: 100%; left: -16px; min-width: 236px; padding-top: 8px; }
.nav-panel ul { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid #eadbcf; border-top: 2px solid #a85e3d; box-shadow: 0 18px 38px #48232a1f; }
.desktop-nav .nav-panel a { display: block; padding: 10px 12px; font-size: 14px; line-height: 1.4; white-space: nowrap; color: #563a31; }
.desktop-nav .nav-panel a:hover,
.desktop-nav .nav-panel a:focus-visible { background: #f8eee3; color: #3f2422; }
.desktop-nav .nav-panel a:focus-visible { outline-offset: -3px; }
@media (hover: hover) {
  .nav-group:hover .nav-panel { display: block; }
  .nav-group:hover .nav-chevron { transform: rotate(180deg); }
}
.nav-group.is-open .nav-panel { display: block; }
.nav-group.is-open .nav-chevron { transform: rotate(180deg); }
.nav-group[data-dismissed] .nav-panel { display: none !important; }

.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* Hero & Countdown */
.hero {
  background: #642d2c;
  color: #fff;
  position: relative;
  height: 750px;
  min-height: 750px;
  overflow: hidden;
  isolation: isolate;
}
.hero-art {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: 78%;
  height: 100%;
  object-fit: cover;
  object-position: 20% 70%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, #52272b 0%, #632b2bf0 26%, #6a2928bd 45%, #6b282838 68%, transparent 100%),
    linear-gradient(0deg, #351a22a8 0%, transparent 32%, transparent 74%, #55232352 100%);
}
.hero-network {
  position: absolute;
  right: 2%;
  top: 24px;
  width: 42%;
  height: auto;
  stroke: #ffedc8;
  stroke-width: .7;
  opacity: .3;
  pointer-events: none;
}
.hero-network circle { fill: #ffe6b1; stroke: none; }
.hero-network .network-flow { stroke: #fff2d6; stroke-width: 1.4; stroke-dasharray: 22 280; opacity: .65; }
[data-motion="on"] .hero-network .network-flow { animation: knowledge-flow 26s linear infinite; }
[data-motion="on"] .hero-network g circle { animation: node-glow 9s ease-in-out infinite; }
[data-motion="on"] .hero-network g circle:nth-child(3n) { animation-delay: -3s; }
[data-motion="on"] .hero-network g circle:nth-child(3n+1) { animation-delay: -6s; }
[data-motion="off"] .hero-network .network-flow { opacity: 0; }
[data-motion="off"] .hero-network g circle { animation: none; opacity: 1; }
[data-page-hidden="true"] .hero-network *,
[data-hero-visible="false"] .hero-network * { animation-play-state: paused !important; }
@keyframes knowledge-flow { to { stroke-dashoffset: -604; } }
@keyframes node-glow { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

.hero-content { position: relative; z-index: 1; padding-top: 39px; }
.hero-eyebrow { display: flex; align-items: center; gap: 16px; color: #ffe1ab; margin-bottom: 21px; font-size: 13px; letter-spacing: 1.1px; }
.small-star { font-size: 23px; line-height: 1; }
.dot { height: 3px; width: 3px; border-radius: 50%; background: currentColor; }
.hero h1 {
  font-family: var(--serif);
  max-width: 820px;
  font-size: clamp(48px, 4.65vw, 65px);
  font-weight: 400;
  letter-spacing: -1.9px;
  line-height: 1.12;
  color: #fff9ef;
}
.hero h1 em { font-weight: 400; color: #ffcf8d; }
.forum-kicker { display: block; font-family: var(--sans); font-size: 23px; line-height: 1.4; letter-spacing: .1px; margin-bottom: 12px; }
.forum-name { display: block; }
.forum-shortname { margin-top: 17px; color: #f4ddd2; font-size: 13px; letter-spacing: 1.8px; }
.forum-shortname abbr { text-decoration: none; }
.hero-theme {
  font-size: 27px;
  line-height: 1.4;
  margin-top: 19px;
  max-width: 700px;
  font-weight: 500;
  color: #ffdb9f;
  text-shadow: 0 1px 12px rgba(42, 16, 20, .35);
}
.hero-copy {
  font-size: 18px;
  line-height: 1.65;
  max-width: 590px;
  margin-top: 17px;
  color: #f6e4d8;
  text-shadow: 0 1px 12px rgba(42, 16, 20, .4);
}
.hero-actions { margin-top: 26px; display: flex; align-items: center; gap: 28px; }
.hero-actions .text-link { color: #ffead6; font-size: 14px; }

.hero-bottom {
  display: flex;
  position: absolute;
  bottom: 27px;
  left: 0;
  right: 0;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 1;
  gap: 35px;
}
.countdown {
  width: 440px;
  padding: 18px 22px;
  background: #fff8ebf5;
  color: #59342e;
  border: 1px solid #fff4db;
  box-shadow: 0 10px 32px #29161d18;
  text-align: left;
}
.countdown-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.countdown-title { font-size: 12px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: .8px; }
.countdown .motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d5bda3;
  background: transparent;
  color: #714b3d;
  padding: 7px 10px;
  min-height: 36px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.countdown .motion-toggle svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.countdown .motion-toggle:hover { background: #edd9bf; }
.countdown .motion-toggle:disabled { cursor: default; }
.motion-toggle[aria-pressed="false"] .motion-pause { display: none; }
.motion-toggle[aria-pressed="true"] .motion-play { display: none; }

.countdown-clock { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; margin-top: 13px; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; border-right: 1px solid #ddc4a7; }
.countdown-unit:first-child { align-items: flex-start; }
.countdown-unit:last-child { border-right: 0; }
.countdown-unit strong { font-family: var(--sans); font-size: 38px; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -1.3px; }
.countdown-unit span { font-size: 12px; letter-spacing: .35px; font-weight: 400; margin-top: 7px; text-transform: uppercase; color: #7a5846; }
.countdown-message { display: block; font-family: var(--serif); font-size: 25px; line-height: 1.3; margin-top: 15px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.countdown-fallback { font-size: 23px; font-family: var(--serif); margin-top: 12px; }
.countdown-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-top: 12px; }
.countdown-note { font-size: 12px; font-weight: 400; line-height: 1.5; color: #755747; margin-top: 0; }
.countdown-calendar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #6b3a2c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}
.countdown-calendar .ui-icon { width: 16px; height: 16px; }
.countdown-calendar:hover { color: #9a432a; }
.countdown[data-phase="after"] .countdown-calendar { display: none; }

/* Scroll reveal */
.reveal-item { transition: opacity .65s ease, transform .65s cubic-bezier(.2, .65, .3, 1); }
.reveal-pending { opacity: .18; transform: translateY(16px); }
.takeaways .reveal-item:nth-child(2) { transition-delay: 70ms; }
.takeaways .reveal-item:nth-child(3) { transition-delay: 140ms; }
[data-motion="off"] .reveal-item { transition: none; opacity: 1; transform: none; }

/* Host & Partners strip */
.institution-strip { background: #fff; padding: 23px 0; border-bottom: 1px solid #eee4dc; }
.institution-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 14px; }
.institution-heading h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1px; line-height: 1.5; text-transform: uppercase; }
.institution-heading > p { font-size: 13px; color: #6e564c; }
.institution-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.institution { text-align: center; padding: 0 35px; border-right: 1px solid #eee4dc; }
.institution:last-child { border-right: 0; }
.institution-logo { height: 93px; display: flex; align-items: center; justify-content: center; }
.institution-logo img { max-width: 330px; width: 100%; height: 93px; object-fit: contain; }
.institution-diidea .institution-logo img { max-width: 225px; height: 77px; }
.institution-role { margin-top: 12px; }
.institution-role > span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .65px; line-height: 1.5; color: #704637; }
.institution-role p { font-size: 14px; line-height: 1.6; margin-top: 4px; color: #6e564c; }

.host-introduction { display: flex; align-items: center; justify-content: space-between; gap: 38px; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 22px; }
.host-introduction p { max-width: 860px; font-size: 15px; line-height: 1.65; }
.host-introduction strong { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.host-introduction p span { display: block; margin-top: 6px; color: #6c5147; }
.host-introduction .text-link { flex-shrink: 0; white-space: nowrap; }

/* Event quick-facts strip */
.event-strip { background: #f9ebd9; border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: 1fr 1.3fr 1.2fr .6fr; padding: 22px 0; gap: 26px; }
.strip-inner p { font-size: 17px; font-weight: 500; line-height: 1.5; }
.strip-inner span { display: block; letter-spacing: .75px; font-size: 12px; font-weight: 600; margin-bottom: 5px; color: #7c503a; }
.strip-inner small { font-size: 13px; font-weight: 400; display: block; color: #6e5245; }

/* 01 / About */
.about { padding-top: 62px; padding-bottom: 62px; }
.about .section-label { margin-bottom: 34px; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 25px 58px; align-items: start; }
.about-grid > .about-copy { grid-column: 2; grid-row: 1 / span 2; }
.about-grid > .audience { grid-column: 1; grid-row: 2; display: block; margin: 0; padding-top: 23px; border-top: 1px solid #e8d4c5; }
.about-grid .audience .eyebrow { display: none; }
.about-grid .audience h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.3; letter-spacing: -.5px; }
.about-grid .audience ul { display: grid; grid-template-columns: 1fr; gap: 8px; list-style: none; padding: 0; margin: 17px 0 0; }
.about-grid .audience li { padding-left: 15px; position: relative; font-size: 15px; line-height: 1.6; }
.about-grid .audience li:before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: #b66a42; }
.about-grid .audience-details > p { margin-top: 17px; font-size: 14px; line-height: 1.6; color: #6f5347; }

.caption { margin-top: 22px; font-size: 15px; letter-spacing: .1px; line-height: 1.7; color: #9b4b31; }
.about-copy .lead { font-size: 23px; line-height: 1.5; letter-spacing: -.4px; color: var(--ink); margin-bottom: 21px; }
.about-copy p { font-size: 18px; color: var(--muted); margin-bottom: 17px; line-height: 1.75; }
.about-copy .text-link { margin-top: 5px; }

.benefits-heading { display: flex; justify-content: space-between; gap: 25px; align-items: baseline; margin-top: 38px; margin-bottom: 20px; }
.benefits-heading h3 { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -.7px; }
.benefits-heading p { font-size: 15px; color: #705347; }
.takeaways { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.takeaways article { padding: 25px; background: #f5e8d9; display: flex; flex-direction: column; border-top: 2px solid #bc704f; }
.takeaways .small-number { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1; color: #9c5832; margin: 0 0 16px; display: block; }
.takeaways h3 { font-size: 21px; font-weight: 500; line-height: 1.4; margin-bottom: 12px; }
.takeaways p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.takeaways .text-link { align-self: flex-start; margin-top: auto; padding-top: 20px; font-size: 14px; }

/* 02 / Key dates */
.key-dates { background: #fff; border-bottom: 1px solid #eee4dc; }
.key-dates .section-heading > div { max-width: 470px; }
.key-dates .section-heading .text-link { margin-top: 14px; }
.timeline { position: relative; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0 34px; list-style: none; margin: 0; padding: 0; }
.timeline:before { content: ''; position: absolute; top: 13px; left: 0; right: 0; height: 1px; background: #dcbfa4; }
.timeline-phase { position: relative; min-width: 0; }
.timeline-phase-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 26px; padding-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #6d4030; }
.timeline-dot { position: relative; z-index: 1; flex-shrink: 0; width: 19px; height: 19px; border: 2px solid #c77647; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px #fff; }
.timeline-phase[data-state="confirmed"] .timeline-dot { background: #c77647; }
.timeline-phase[data-state="planned"] .timeline-dot { border-style: dashed; }
.timeline-status { padding: 3px 10px; border-radius: 99px; background: #f8ece0; color: #7a4a35; font-size: 11px; letter-spacing: .5px; }
.timeline-phase[data-state="confirmed"] .timeline-status { background: #673433; color: #fff6e7; }
.milestones { list-style: none; margin: 0; padding: 0; border-top: 1px solid #eee0d4; }
.milestone { padding: 16px 0 17px; border-bottom: 1px solid #eee0d4; }
.milestone-when { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; letter-spacing: .3px; color: #9e5536; }
.milestone.is-tba .milestone-when { color: #75584d; }
.milestone h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.3; letter-spacing: -.3px; color: var(--ink); }
.milestone p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: #6c5147; }
.milestone .text-link { margin-top: 6px; font-size: 14px; gap: 16px; }
.milestone-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #713e2b;
  text-decoration: underline;
  text-decoration-color: #b07853;
  text-underline-offset: 5px;
}
.milestone-link:hover { color: #9a432a; }

/* 03 / Conversation themes */
.conversations { background: #f4ddc8; color: #512f2b; position: relative; }
.conversations .section-label { color: #754a3b; border-color: #d6b59d; }
.conversations .section-heading { margin-bottom: 30px; }
.conversations h2 em { color: #b35d38; }
.conversations .section-heading p { color: #63483b; }
.conversations .micro { color: #66483c; }
.planning-note { font-weight: 500; }

.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #cfad94; background: #fff5e72e; }
.topic {
  appearance: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  color: #512f2b;
  background: transparent;
  border: 0;
  border-right: 1px solid #cfad94;
  position: relative;
  transition: background .25s;
}
.topic:last-child { border-right: 0; }
.topic:hover { background: #fffbf15e; }
.topic[aria-pressed="true"] { background: #fff9ed; box-shadow: inset 0 -4px 0 #b65a36; }
.topic-top { display: flex; justify-content: space-between; width: 100%; font-size: 13px; color: #77503d; }
.topic-check { font-size: 22px; font-weight: 300; line-height: 1; color: #ab5935; }
.topic-icon { height: 54px; width: 65px; margin: 18px 0 20px; flex-shrink: 0; fill: none; stroke: #a55a37; stroke-width: 1.1; }
.topic h3 { font-family: var(--serif); font-size: 25px; line-height: 1.25; letter-spacing: -.4px; font-weight: 400; min-height: 64px; color: #512f2b; }
.topic p { font-size: 17px; color: #63483b; line-height: 1.65; margin-top: 15px; margin-bottom: 20px; }
.topic-link { width: 100%; font-size: 13px; margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 15px; line-height: 1.4; color: #703d2b; }
.topic-link > span { font-size: 17px; }

.interest-result { padding-top: 23px; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 130px; }
.interest-result .eyebrow { color: #75462d; font-size: 12px; }
.interest-result p { font-family: var(--serif); font-size: 27px; line-height: 1.45; margin: 8px 0; color: #6e382d; }
.interest-result #interest-detail { font-size: 16px; color: #63483b; line-height: 1.7; display: block; max-width: 790px; }
.interest-result .button { font-size: 14px; padding: 15px 20px; gap: 18px; }
.section-footnote { font-size: 14px; line-height: 1.7; color: #63483b; margin-top: 15px; max-width: 1050px; }

/* 04 / Program & At a glance */
.programme .section-heading > div p { color: var(--muted); }
.programme-layout { display: grid; grid-template-columns: 260px 1fr; gap: 42px; }
.day-tabs { display: flex; flex-direction: column; gap: 10px; }
.day-tabs button {
  position: relative;
  text-align: left;
  padding: 22px 46px 22px 22px;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: background .2s, border-color .2s;
}
.day-tabs button[aria-selected="true"] { background: #673433; border-color: #673433; color: #fff6e7; }
.day-tabs button > span:first-child { font-size: 12px; letter-spacing: .8px; line-height: 1.2; color: inherit; }
.day-tabs strong { font-size: 32px; font-family: var(--serif); font-weight: 400; line-height: 1.25; margin: 7px 0; }
.day-tabs small { font-size: 14px; line-height: 1.5; opacity: .86; }
.day-tabs .tab-arrow { position: absolute; right: 18px; top: 20px; font-size: 20px; line-height: 1; }
.sidebar-note { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 22px 0; }
.programme-sidebar > .text-link { font-size: 13px; gap: 10px; }

.day-intro { font-size: 12px; letter-spacing: .8px; color: #76503d; border-bottom: 1px solid var(--line); padding: 0 0 16px; }
.schedule-row { display: grid; grid-template-columns: 62px 1fr 130px; align-items: start; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.schedule-row time { font-size: 16px; font-weight: 600; padding-top: 3px; color: #93543f; font-variant-numeric: tabular-nums; }
.schedule-row h3 { font-size: 20px; font-weight: 500; line-height: 1.45; letter-spacing: -.2px; }
.schedule-row p { font-size: 17px; line-height: 1.7; color: var(--muted); margin-top: 6px; }
.format { font-size: 12px; line-height: 1.5; letter-spacing: .5px; color: #76503d; padding-top: 6px; text-align: right; }
.schedule-row[data-kind] .format:before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--kind-color); vertical-align: 1px; }
.dinner-row { background: #f5e0c6; padding: 22px 18px; margin-top: 12px; border: 0; }
.dinner-row h3 > span { color: #967342; }
.dinner-row a { display: inline-flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; border-bottom: 1px solid #b07853; padding: 6px 0; margin-top: 8px; }

.glance-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: #6e4f40; }
.glance-legend li { display: inline-flex; align-items: center; gap: 8px; }
.glance-legend li:before { content: ''; width: 13px; height: 13px; border-radius: 3px; background: var(--kind-color); }
.glance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.glance-day h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -.4px; color: var(--ink); }
.glance-day > p { margin-top: 4px; font-size: 12px; letter-spacing: .8px; color: #7a5442; }
.glance-list { display: grid; gap: 7px; list-style: none; margin: 14px 0 0; padding: 0; }
.glance-item { display: grid; grid-template-columns: 98px minmax(0, 1fr); gap: 1px 12px; padding: 10px 14px 11px; border-left: 4px solid var(--kind-color); background: var(--kind-tint); }
.glance-item time { grid-row: span 2; padding-top: 1px; font-size: 14px; font-weight: 600; line-height: 1.5; font-variant-numeric: tabular-nums; color: #7a4330; }
.glance-title { font-size: 16px; line-height: 1.45; color: var(--ink); }
.glance-format { font-size: 11px; letter-spacing: .7px; line-height: 1.5; color: #7a5444; }

/* 05 / Call for cases */
.cases { background: #f4ddc8; }
.cases .section-label { border-color: #d6b59d; color: #7a4f3e; }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }
.cases-intro > p { margin-top: 20px; font-size: 18px; line-height: 1.7; color: #5f4337; }
.cases-intro .cases-status { margin-top: 22px; padding: 14px 18px; border-left: 3px solid #c77647; background: #fbefe2; font-size: 15px; line-height: 1.65; color: #5c3d31; }
.cases-status strong { display: block; font-weight: 600; color: var(--ink); }
.cases-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 26px; }
.cases-actions .button { min-height: 52px; padding: 15px 22px; gap: 22px; }
.cases-structure .eyebrow { margin-bottom: 12px; color: #7a4a35; }
.case-parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d9b79c; }
.case-parts li { display: flex; gap: 20px; padding: 17px 0; border-bottom: 1px solid #d9b79c; }
.case-parts li > span { min-width: 26px; font-family: var(--serif); font-size: 20px; font-style: italic; line-height: 1.3; color: #8c4a2b; }
.case-parts h3 { font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.case-parts p { margin-top: 4px; font-size: 16px; line-height: 1.65; color: #64483c; }

.case-formats-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin: 48px 0 18px; }
.case-formats-heading h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.6px; }
.case-formats-heading p { font-size: 15px; color: #6e4f40; }
.case-formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.case-formats article { padding: 22px 22px 24px; border-top: 2px solid #bc704f; background: #fbf1e6; }
.case-format-where { font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #87503a; }
.case-formats h4 { margin: 10px 0 0; font-size: 20px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.case-formats article p:last-child { margin-top: 8px; font-size: 16px; line-height: 1.6; color: #64483c; }
.cases .section-footnote { margin-top: 22px; color: #63483b; }

/* 06 / Knowledge archive */
.archive-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.casebook-art {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3e1c8;
  perspective: 1000px;
  padding: 36px 30px 80px;
  isolation: isolate;
}
.casebook-art:before { content: ''; position: absolute; inset: 22px 22px 52px; border: 1px solid #ddc0a1; pointer-events: none; }
.book {
  width: 300px;
  height: 415px;
  position: relative;
  background: #683638;
  color: #f8ce93;
  padding: 27px 25px;
  box-shadow: 15px 20px 25px #6a302b2b, 3px 1px 0 #c7a17f, 6px 1px 0 #f2dfc5, 8px 1px 0 #a07c65;
  transform: rotate(-7deg) rotateY(-8deg);
  display: flex;
  flex-direction: column;
  border-left: 5px solid #49252c;
}
.book:before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; border-left: 1px solid #ffffff13; }
.book-top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 1px; line-height: 1.4; }
.book-top span { text-align: right; font-size: 9px; }
.book-pattern { margin: 12px auto 0; width: 185px; }
.book .book-title { font-family: var(--serif); font-size: 25px; line-height: 1.22; letter-spacing: -.4px; font-weight: 400; color: #f8ce93; }
.book .book-title em { color: #ffe4bc; font-weight: 400; }
.book .book-sub { font-size: 10px; color: #edc6ad; line-height: 1.6; margin-top: 12px; letter-spacing: .1px; }
.book-bottom { border-top: 1px solid #d0ab7f80; display: flex; justify-content: space-between; margin-top: auto; padding-top: 12px; font-size: 8px; letter-spacing: 1px; align-items: center; }
.book-bottom > span { font-size: 17px; }
.book-caption { position: absolute; bottom: 17px; font-size: 12px; line-height: 1.4; letter-spacing: .3px; color: #79503b; left: 18px; right: 18px; text-align: center; }

.archive-copy h2 { font-size: 47px; line-height: 1.2; }
.archive-copy > p { font-size: 18px; line-height: 1.7; color: var(--muted); margin-top: 19px; }
.archive-list { margin: 22px 0 0; padding: 0; list-style: none; }
.archive-list li { display: flex; gap: 18px; border-top: 1px solid var(--line); padding: 17px 0; }
.archive-list li > span { font-family: var(--serif); color: #9c5832; font-size: 20px; font-style: italic; }
.archive-list h3 { font-size: 19px; font-weight: 500; line-height: 1.5; }
.archive-list p { font-size: 17px; color: var(--muted); line-height: 1.7; margin-top: 5px; }

/* 07 / Bangkok Experience */
.bangkok-experience { background: #f5e3cf; border-block: 1px solid #e6cbb0; padding-top: 48px; padding-bottom: 48px; }
.experience-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 52px; }
.experience-copy .eyebrow { color: #754a36; font-size: 12px; margin-bottom: 18px; }
.experience-copy h2 { font-size: 43px; letter-spacing: -1.3px; }
.experience-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.7; margin-top: 18px; color: #64483c; }
.experience-date { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 22px; font-size: 14px; font-weight: 600; color: #6d4030; }
.experience-copy .experience-note { font-size: 14px !important; line-height: 1.65 !important; margin-top: 12px !important; }
.experience-art { margin: 0; min-width: 0; }
.experience-art img { width: 100%; height: auto; max-height: 280px; object-fit: contain; }
.experience-art figcaption { margin-top: 14px; text-align: center; color: #75513e; font-size: 13px; }

/* Networks */
.networks { background: #f4e8d9; text-align: center; padding-top: 42px; padding-bottom: 42px; }
.networks .eyebrow { color: #8c5339; font-size: 12px; }
.networks h2 { font-size: 39px; margin-top: 12px; }
.networks-intro { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 740px; margin: 17px auto 0; }
.network-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: 23px auto 0;
  border-top: 1px solid #e2caba;
  border-bottom: 1px solid #e2caba;
}
.network-list article { padding: 20px 22px; }
.network-list h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; color: #60332d; }
.network-list p { font-size: 14px; color: #6e4f40; line-height: 1.6; margin-top: 6px; }
.network-list .network-full { color: #54372d; font-size: 15px; margin-top: 8px; }
.network-note { font-size: 14px; margin: 20px auto 0; color: #6e4f40; max-width: 850px; line-height: 1.7; }

/* 08 / Visit & FAQ */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; }
.visit-grid h2 { font-size: 48px; }
.visit-grid > div > p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 380px; margin-top: 22px; }
.visit-experience { margin-top: 18px; font-size: 14px; }
.visit-date { display: flex; gap: 18px; align-items: center; margin: 30px 0; color: #c77647; }
.visit-date > span { font-family: var(--serif); font-size: 78px; letter-spacing: -6px; line-height: 1.2; }
.visit-date > div { font-size: 16px; line-height: 1.7; letter-spacing: 2px; border-left: 1px solid #dec5b0; padding-left: 20px; }
.visit-grid .button { margin-top: 7px; }

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 21px 0; display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: 18px; font-weight: 500; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 20px; line-height: 1; transition: transform .2s; color: #ac714c; font-weight: 400; flex-shrink: 0; }
details[open] summary span { transform: rotate(45deg); }
details p { font-size: 17px; line-height: 1.7; padding-bottom: 20px; color: var(--muted); padding-right: 35px; }
.faq-list details p a { color: #713e2b; text-decoration: underline; text-underline-offset: 4px; }

/* 09 / Updates & News */
.updates { background: #f4e5d3; border-top: 1px solid #e6cbb0; }
.updates .section-label { border-color: #dcc0a6; }
.updates-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; padding: 40px 44px; border-top: 3px solid #c77647; background: #fffaf2; box-shadow: 0 14px 40px #5a2f2a12; }
.updates-copy .eyebrow { margin-bottom: 14px; color: #7a4a35; }
.updates-copy h2 { font-size: 44px; }
.updates-copy > p { margin-top: 16px; font-size: 17px; line-height: 1.7; color: #5f4337; }
.updates-points { display: grid; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.updates-points li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; color: #4f342d; }
.updates-points li:before { content: ''; position: absolute; left: 3px; top: 6px; width: 10px; height: 5px; border-bottom: 2px solid #b2603c; border-left: 2px solid #b2603c; transform: rotate(-45deg); }
.updates-copy .updates-note { margin-top: 18px; font-size: 14px; color: #6c5147; }

.updates-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; line-height: 1.4; color: #4f342d; }
.field label span { font-weight: 400; color: #75584c; }
.field input, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfae92; border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid #aa7534; outline-offset: 1px; border-color: #9b5a3c; }
.field input:user-invalid { border-color: #a3402b; }

.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.6; color: #4f342d; }
.consent input { flex-shrink: 0; width: 22px; height: 22px; margin: 2px 0 0; accent-color: #673433; cursor: pointer; }
.consent label { cursor: pointer; }
.consent a, .form-status a, .contact-status a { text-decoration: underline; text-underline-offset: 3px; }
.consent a { color: #713e2b; white-space: nowrap; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form-actions .button { min-height: 52px; padding: 15px 22px; gap: 22px; }
.form-actions .button:disabled { opacity: .65; cursor: progress; transform: none; }
.form-status { flex: 1 1 240px; font-size: 15px; line-height: 1.6; color: #5c3d31; }
.form-status:empty { display: none; }
.form-status.is-success { font-weight: 600; color: #2f5a35; }
.form-status.is-error { color: #8c2f1f; }

.news-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin: 52px 0 18px; }
.news-heading h3 { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -.7px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card { display: flex; flex-direction: column; padding: 24px 24px 22px; border: 1px solid #ead2bb; background: #fffaf2; }
.news-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding-bottom: 12px; border-bottom: 1px solid #eedccb; font-size: 13px; color: #755446; }
.news-meta span { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: #9e5536; }
.news-card h4 { margin: 16px 0 0; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.3; letter-spacing: -.3px; color: var(--ink); }
.news-card > p:not(.news-meta) { margin: 10px 0 18px; font-size: 16px; line-height: 1.65; color: #64483c; }
.news-card .text-link { align-self: flex-start; margin-top: auto; gap: 16px; }

/* Contact Secretariat */
.contact-section { background: #603334; color: #fff7eb; padding-top: 56px; padding-bottom: 56px; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 65px; }
.contact-copy .eyebrow { color: #f6d4a4; font-size: 12px; margin-bottom: 20px; }
.contact-copy h2 { font-size: 48px; color: #fff9ef; }
.contact-copy h2 em { color: #ffda9d; }
.contact-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.7; margin-top: 22px; color: #f4e1d4; }
.contact-copy .button { margin-top: 25px; }
.contact-copy .contact-status { font-size: 14px !important; margin-top: 15px !important; }
.contact-details { padding: 32px 34px; background: #fff5e7; color: var(--ink); border-top: 3px solid #e0ad70; }
.contact-details .eyebrow { color: #78513e; font-size: 12px; margin-bottom: 18px; }
.contact-details h3 { font-family: var(--serif); font-size: 29px; font-weight: 400; line-height: 1.3; letter-spacing: -.4px; }
.contact-details h3 span { font-size: 24px; }
.contact-label { font-size: 13px; color: #765341; margin-top: 25px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #6b3029;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  border-bottom: 1px solid #a77959;
  padding: 8px 0;
  max-width: 100%;
  overflow-wrap: break-word;
}
.contact-email:hover { color: #9a432a; }
.contact-help { font-size: 14px; line-height: 1.65; margin-top: 12px; color: #674c40; }
.contact-speakers { border-top: 1px solid #e1c7b0; padding-top: 19px; margin-top: 24px; }
.contact-speakers strong { font-size: 15px; font-weight: 600; }
.contact-speakers p { font-size: 14px; line-height: 1.65; color: #674c40; margin-top: 7px; }

/* Footer & Privacy notice */
footer { background: #43262d; color: #efcfbb; padding: 40px 0 22px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-bottom: 32px; }
.footer-brand { font-size: 14px; font-weight: 600; letter-spacing: 1px; }
.footer-brand span { display: block; font-family: var(--serif); font-size: 23px; color: #f4c189; margin-top: 3px; font-weight: 400; }
.footer-top p { font-size: 14px; line-height: 1.7; color: #d8b5a8; max-width: 580px; }
.footer-top .text-link { font-size: 14px; }

.footer-nav { display: grid; grid-template-columns: 1fr 2.4fr; gap: 44px; padding: 30px 0; border-top: 1px solid #976f5f55; }
.footer-heading { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #f4c189; }
.footer-about p:not(.footer-heading) { max-width: 330px; font-size: 14px; line-height: 1.7; color: #d8b5a8; }
.footer-about .footer-host { margin-top: 12px; color: #efcfbb; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-links ul { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: 15px; line-height: 1.5; color: #f6e0d2; padding: 3px 0; display: inline-block; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-hashtag { font-size: 14px; line-height: 1.5; color: #d8b5a8; padding-top: 3px; }

.footer-privacy { padding-bottom: 24px; }
.privacy-notice { border: 1px solid #976f5f66; background: #4b2b31; }
.privacy-notice summary { padding: 15px 18px; font-size: 15px; font-weight: 600; color: #fbe3d2; }
.privacy-notice summary span { color: #f4c189; }
.privacy-body { padding: 0 18px 18px; font-size: 14px; line-height: 1.7; color: #efcfbb; }
.privacy-body p { padding: 0; font-size: inherit; line-height: inherit; color: #efcfbb; }
.privacy-body dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; margin: 14px 0; }
.privacy-body dt { font-weight: 600; color: #ffe1c3; }
.privacy-body dd { margin: 2px 0 0; }
.privacy-body a { color: #ffe1c3; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

.footer-bottom { border-top: 1px solid #976f5f55; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; color: #c9a596; }
.footer-bottom a { color: #f5d6c3; text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #fff5e5;
  color: #5d362d;
  box-shadow: 0 5px 30px #3b202533;
  border: 1px solid #d3b79c;
  padding: 15px 24px;
  max-width: min(480px, calc(100% - 32px));
  font-size: 14px;
  line-height: 1.6;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s;
}
.toast.visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* Netlify free-tier badge clearance (no effect when badge is absent) */
body:has(> #nl-badge-frame, > iframe[title="Powered by Netlify"]) footer { padding-bottom: 86px; }
@media screen and (max-width: 1100px) {
  body:has(> #nl-badge-frame, > iframe[title="Powered by Netlify"]) .mobile-nav:not([hidden]) {
    max-height: calc(100vh - 152px);
    max-height: calc(100dvh - 152px);
  }
}
@media screen and (max-width: 600px) {
  body:has(> #nl-badge-frame, > iframe[title="Powered by Netlify"]) .mobile-nav:not([hidden]) {
    max-height: calc(100vh - 144px);
    max-height: calc(100dvh - 144px);
  }
}

/* Wide screens */
@media screen and (min-width: 1500px) {
  .site-header { padding: 0 max(56px, calc((100vw - 1340px) / 2)); }
}
@media screen and (min-width: 1101px) {
  .mobile-nav { display: none !important; }
}

/* Laptop / Compact Desktop (<= 1150px) */
@media screen and (max-width: 1150px) {
  .page-width { width: calc(100% - 72px); }
  .hero-art { width: 88%; object-position: 15% 75%; }
  .hero-shade {
    background:
      linear-gradient(90deg, #52272bf5 0%, #632b2be0 28%, #6a29288f 54%, transparent 100%),
      linear-gradient(0deg, #351a229c 0%, transparent 32%);
  }
  .institution { padding: 0 20px; }
}

/* Compact navigation & Tablet landscape (<= 1100px) */
@media screen and (max-width: 1100px) {
  .site-header { padding: 0 32px; }
  .desktop-nav { display: none; }
  .site-header .button-header { margin-left: auto; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 4px;
    background: transparent;
    border: 0;
    margin-left: 2px;
  }
  .menu-toggle span { height: 1.5px; width: 24px; background: #653332; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .mobile-nav:not([hidden]) {
    display: flex;
    position: fixed;
    z-index: 19;
    top: 88px;
    left: 0;
    right: 0;
    background: #552b2d;
    color: #fff8ed;
    padding: 16px 32px 22px;
    flex-direction: column;
    box-shadow: 0 20px 20px #0003;
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mobile-nav-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
  .mobile-nav-group { display: flex; flex-direction: column; min-width: 0; }
  .mobile-nav .mobile-nav-heading { padding: 12px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #ffcf8d; }
  .mobile-nav a, .mobile-nav button { text-align: left; padding: 11px 0; border: 0; border-bottom: 1px solid #ffffff20; background: transparent; color: #fff8ed; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
  .mobile-nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; margin-top: 14px; border-top: 1px solid #ffffff38; }
  .mobile-nav .mobile-nav-actions a, .mobile-nav .mobile-nav-actions button { border-bottom: 0; }
  .mobile-nav .mobile-nav-cta { gap: 10px; font-weight: 600; color: #ffcf8d; }
  .mobile-nav .calendar-button { color: #ffcf8d; }
  .mobile-nav-cta .ui-icon { width: 18px; height: 18px; }
  .mobile-nav .calendar-button > .ui-icon { width: 18px; height: 18px; margin-left: 10px; }

  .hero { height: auto; min-height: 0; padding-bottom: 28px; }
  .hero h1 { max-width: 750px; font-size: 58px; }
  .hero-bottom { position: relative; bottom: auto; margin-top: 28px; }
  .hero-copy { max-width: 620px; }
  .countdown { width: 420px; }

  .institution-role > span { font-size: 12px; letter-spacing: .2px; }
  .host-introduction { align-items: flex-start; gap: 24px; }
  .host-introduction p { max-width: 680px; }
  .about-grid { gap: 40px; }
  .section-heading { gap: 35px; }
  .section-heading h2 { font-size: 44px; }
  .timeline { gap: 0 22px; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .topic:nth-child(2) { border-right: 0; }
  .topic:nth-child(-n+2) { border-bottom: 1px solid #cfad94; }
  .topic h3 { min-height: 0; }

  .programme-layout { grid-template-columns: 230px 1fr; gap: 30px; }
  .day-tabs button { padding: 20px 44px 20px 20px; }
  .day-tabs strong { font-size: 26px; }
  .schedule-row { grid-template-columns: 58px 1fr; gap: 17px; }
  .format { display: none; }

  .cases-grid { gap: 38px; }
  .case-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-grid { gap: 35px; }
  .archive-copy h2 { font-size: 42px; }
  .experience-layout { gap: 32px; }
  .experience-copy h2 { font-size: 38px; }
  .visit-grid { gap: 40px; }
  .updates-panel { grid-template-columns: 1fr; gap: 30px; padding: 34px; }
  .contact-layout { gap: 32px; }
  .contact-copy h2 { font-size: 43px; }
  .contact-details { padding: 27px; }
  .contact-email { font-size: 18px; gap: 10px; }
  .footer-nav { grid-template-columns: 1fr; gap: 26px; }
  .footer-about p:not(.footer-heading) { max-width: 620px; }
}

/* Tablet portrait (<= 850px) */
@media screen and (max-width: 850px) {
  html { scroll-padding-top: 108px; }
  .page-width { width: calc(100% - 64px); }
  .section-pad { padding-top: 54px; padding-bottom: 54px; }
  .site-header { height: 84px; }
  .mobile-nav:not([hidden]) { top: 84px; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); }

  .hero-art { width: 100%; object-position: 38% 65%; }
  .hero-shade {
    background:
      linear-gradient(90deg, #51262be6 0%, #622c2bcc 48%, #6f2c2859 100%),
      linear-gradient(0deg, #3a1e26b8 0%, transparent 42%);
  }
  .hero-network { width: 58%; right: -5%; top: 70px; opacity: .22; }
  .hero h1 { font-size: 50px; }
  .hero-theme { font-size: 25px; }

  .institution { padding: 0 14px; }
  .institution-logo, .institution-logo img { height: 72px; }
  .institution-diidea .institution-logo img { height: 58px; max-width: 160px; }
  .host-introduction { display: block; }
  .host-introduction .text-link { margin-top: 12px; }

  .strip-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-grid > .about-copy, .about-grid > .audience { grid-column: auto; grid-row: auto; }
  .benefits-heading { display: block; margin-top: 36px; }
  .benefits-heading p { margin-top: 8px; }
  .takeaways { grid-template-columns: 1fr; gap: 16px; }
  .takeaways article { padding: 24px 26px; }
  .section-heading { display: block; }
  .section-heading > div { max-width: none; margin-top: 22px; }

  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline:before { top: 13px; bottom: 13px; left: 9px; right: auto; width: 1px; height: auto; }
  .milestones { margin-left: 31px; }

  .interest-result { align-items: flex-start; flex-direction: column; gap: 20px; }
  .programme-layout { grid-template-columns: 1fr; gap: 26px; }
  .day-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .day-tabs strong { font-size: 30px; }
  .day-tabs .glance-tab { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; padding: 16px 48px 16px 18px; }
  .day-tabs .glance-tab strong { margin: 0; font-size: 25px; }
  .sidebar-note { display: block; margin: 16px 0 6px; }
  .programme-sidebar > .text-link { margin-top: 12px; }

  .cases-grid { grid-template-columns: 1fr; }
  .case-formats-heading { display: block; }
  .case-formats-heading p { margin-top: 6px; }

  .archive-grid { grid-template-columns: 1fr; gap: 30px; }
  .casebook-art { min-height: 460px; padding: 30px 25px 72px; }
  .book { width: 280px; height: 375px; }
  .book-pattern { width: 160px; }
  .book .book-title { font-size: 24px; }

  .experience-layout { grid-template-columns: 1fr; gap: 24px; }
  .experience-art { max-width: 520px; margin-inline: auto; }
  .experience-art img { max-height: 210px; }

  .network-list { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; gap: 30px; }
  .visit-grid > div > p { max-width: none; }
  .news-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-copy, .contact-details { max-width: 620px; width: 100%; }
  .contact-email { font-size: 21px; }

  .footer-top { display: block; }
  .footer-top p { text-align: left; margin: 20px 0; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
  .privacy-body dl { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Mobile (<= 600px) */
@media screen and (max-width: 600px) {
  html { scroll-padding-top: 98px; }
  body { font-size: 16px; }
  .page-width { width: calc(100% - 44px); }
  .section-pad { padding-top: 45px; padding-bottom: 45px; }
  .section-label { font-size: 11px; letter-spacing: .4px; gap: 18px; margin-bottom: 28px; }
  .section-label > span:last-child { text-align: right; max-width: 155px; }
  h2, .section-heading h2, .archive-copy h2, .visit-grid h2 { font-size: 37px; line-height: 1.17; letter-spacing: -1.2px; }

  .site-header { padding: 0 22px; height: 80px; gap: 12px; }
  .site-header .button-header { display: none; }
  .brand { font-size: 11px; letter-spacing: .35px; gap: 8px; }
  .brand small { font-size: 11px; letter-spacing: .5px; margin-top: 3px; }
  .brand small span { margin: 0 2px; }
  .brand svg { width: 25px; height: 36px; }
  .menu-toggle { margin-left: auto; }
  .mobile-nav:not([hidden]) {
    top: 80px;
    padding-left: 22px;
    padding-right: 22px;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
  }
  .mobile-nav-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .mobile-nav .mobile-nav-group a { font-size: 15px; }
  .mobile-nav-actions { gap: 0 22px; }

  .hero-art { object-position: 38% 68%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(64, 29, 34, .78) 0%, rgba(74, 31, 34, .68) 48%, rgba(58, 26, 33, .78) 100%),
      linear-gradient(90deg, rgba(64, 29, 34, .78) 0%, rgba(86, 35, 38, .44) 68%, rgba(86, 35, 38, .18) 100%);
  }
  .hero-network { width: 78%; right: -22%; top: 85px; opacity: .24; }
  .hero-content { padding-top: 30px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .35px; gap: 8px; margin-bottom: 20px; color: #ffe8c4; }
  .small-star { font-size: 18px; }
  .forum-kicker { font-size: 19px; margin-bottom: 13px; }
  .hero h1 { font-size: clamp(36px, 9.7vw, 48px); letter-spacing: -1.2px; }
  .forum-shortname { font-size: 12px; margin-top: 15px; }
  .hero-theme { font-size: 24px; line-height: 1.4; margin-top: 18px; color: #ffe4b0; }
  .hero-copy { font-size: 16px; line-height: 1.7; margin-top: 16px; color: #fff4ea; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 24px; }
  .hero-actions .button { font-size: 15px; min-height: 54px; padding: 17px 20px; }
  .hero-actions .text-link { font-size: 14px; color: #fff3de; }
  .hero-bottom { margin-top: 28px; display: block; }

  .countdown { width: 100%; padding: 17px; }
  .countdown-title { font-size: 11px; letter-spacing: .25px; }
  .countdown .motion-toggle { font-size: 12px; gap: 5px; padding: 8px 10px; min-height: 44px; }
  .countdown-unit strong { font-size: 32px; }
  .countdown-unit span { font-size: 11px; letter-spacing: 0; }
  .countdown-note { font-size: 11px; }
  .countdown-calendar { font-size: 13px; min-height: 44px; }
  .reveal-pending { transform: translateY(10px); }

  .institution-strip { padding: 25px 0 20px; }
  .institution-heading { display: block; margin-bottom: 10px; }
  .institution-heading h2 { font-size: 12px; }
  .institution-heading > p { font-size: 12px; line-height: 1.6; margin-top: 6px; }
  .institution-grid { grid-template-columns: 1fr; }
  .institution { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; padding: 18px 0; border-right: 0; border-bottom: 1px solid #eee4dc; text-align: left; }
  .institution:last-child { border-bottom: 0; padding-bottom: 0; }
  .institution-logo, .institution-logo img { height: 70px; }
  .institution-diidea .institution-logo img { height: 60px; max-width: 130px; }
  .institution-role { margin-top: 0; }
  .institution-role > span { font-size: 12px; letter-spacing: .2px; }
  .institution-role p { font-size: 13px; }
  .host-introduction { margin-top: 20px; padding-top: 18px; }
  .host-introduction strong { font-size: 15px; }
  .host-introduction p { font-size: 14px; }
  .host-introduction .text-link { font-size: 13px; }

  .strip-inner { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .strip-inner p { font-size: 15px; }
  .strip-inner span { font-size: 11px; }
  .strip-inner small { font-size: 12px; }

  .about { padding-top: 48px; padding-bottom: 48px; }
  .about .section-label { margin-bottom: 28px; }
  .about-copy .lead { font-size: 21px; }
  .about-copy p, .takeaways p, .section-heading p, .conversations .section-heading p, .programme .section-heading > div p, .archive-copy > p, .visit-grid > div > p { font-size: 16px; line-height: 1.75; }
  .caption { font-size: 14px; margin-top: 17px; }
  .benefits-heading { margin-top: 29px; }
  .benefits-heading h3, .about-grid .audience h3 { font-size: 28px; }
  .benefits-heading p { font-size: 14px; }
  .takeaways h3 { font-size: 21px; }
  .about-grid .audience li { font-size: 16px; }

  .timeline-phase-label { font-size: 12px; }
  .milestone h3 { font-size: 20px; }
  .milestone p { font-size: 14px; }
  .milestone-link { min-height: 44px; }

  .conversations .section-heading { margin-bottom: 25px; }
  .topic-grid { grid-template-columns: minmax(0, 1fr); }
  .topic { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 15px; padding: 22px; border-right: 0; border-bottom: 1px solid #cfad94; }
  .topic:last-child { border-bottom: 0; }
  .topic-top, .topic p, .topic-link { grid-column: 1 / -1; }
  .topic-icon { margin: 0; height: 44px; width: 44px; align-self: center; }
  .topic h3 { font-size: 25px; align-self: center; }
  .topic p { font-size: 16px; margin: 0; }
  .topic-link { font-size: 13px; padding-top: 0; }
  .interest-result p { font-size: 25px; }
  .interest-result #interest-detail { font-size: 15px; }
  .interest-result .button { font-size: 13px; }
  .section-footnote { font-size: 13px; }

  .day-tabs { gap: 8px; }
  .day-tabs button { padding: 18px 40px 18px 15px; }
  .day-tabs strong { font-size: 28px; }
  .day-tabs small { font-size: 13px; }
  .day-tabs .tab-arrow { right: 14px; top: 17px; font-size: 18px; }
  .day-tabs .glance-tab strong { font-size: 22px; }
  .sidebar-note { font-size: 14px; }
  .day-intro { font-size: 11px; letter-spacing: .5px; }
  .schedule-row { grid-template-columns: 49px 1fr; gap: 14px; padding: 20px 0; }
  .schedule-row time { font-size: 14px; }
  .schedule-row h3 { font-size: 18px; }
  .schedule-row p { font-size: 16px; }
  .dinner-row { padding: 20px 14px; }
  .dinner-row a { font-size: 13px; }
  .glance-grid { grid-template-columns: 1fr; gap: 26px; }
  .glance-day h3 { font-size: 25px; }
  .glance-item { grid-template-columns: 86px minmax(0, 1fr); padding: 9px 12px 10px; }
  .glance-item time { font-size: 13px; }
  .glance-title { font-size: 15px; }

  .cases-intro > p { font-size: 16px; }
  .cases-actions { flex-direction: column; align-items: flex-start; }
  .case-parts h3 { font-size: 18px; }
  .case-parts p { font-size: 15px; }
  .case-formats { grid-template-columns: 1fr; }
  .case-formats-heading { margin-top: 38px; }
  .case-formats-heading h3, .news-heading h3 { font-size: 28px; }

  .archive-grid { grid-template-columns: minmax(0, 1fr); }
  .casebook-art, .archive-copy { min-width: 0; }
  .casebook-art { min-height: 440px; }
  .book { width: 260px; height: 360px; padding: 22px 20px; }
  .book .book-title { font-size: 22px; }
  .book-caption { font-size: 11px; }
  .archive-list h3 { font-size: 18px; }
  .archive-list p { font-size: 16px; }

  .bangkok-experience { padding-block: 36px; }
  .experience-copy h2 { font-size: 35px; }
  .experience-copy > p:not(.eyebrow) { font-size: 16px; }
  .experience-date { flex-direction: column; font-size: 14px; }
  .experience-art img { max-height: 175px; }
  .experience-art figcaption { font-size: 12px; margin-top: 8px; }

  .networks { padding-block: 34px; }
  .networks h2 { font-size: 34px; }
  .networks-intro { font-size: 16px; max-width: none; }
  .network-list { margin-top: 18px; }
  .network-list article { padding: 15px 12px; }
  .network-list p { font-size: 14px; }
  .network-note { font-size: 13px; }

  .visit-date { margin: 24px 0 19px; }
  .visit-date > span { font-size: 72px; }
  .visit-date > div { font-size: 14px; padding-left: 16px; }
  .faq-list summary, .faq-list details p { font-size: 16px; }

  .updates-panel { padding: 26px 20px; }
  .updates-copy h2 { font-size: 34px; }
  .updates-copy > p { font-size: 16px; }
  .updates-form { grid-template-columns: 1fr; }
  .form-actions .button { width: 100%; }
  .news-heading { display: block; margin-top: 40px; }
  .news-heading .text-link { margin-top: 8px; }
  .news-card { padding: 20px; }

  .contact-section { padding-block: 42px; }
  .contact-copy h2 { font-size: 37px; }
  .contact-copy > p:not(.eyebrow) { font-size: 16px; }
  .contact-details { padding: 25px 22px; }
  .contact-details h3 { font-size: 26px; }
  .contact-details h3 span { font-size: 23px; }
  .contact-email { font-size: clamp(14px, 4.4vw, 17px); gap: 8px; }
  .contact-help { font-size: 14px; }

  .footer-top p, .footer-top .text-link { font-size: 13px; }
  .footer-links ul { gap: 0; }
  .footer-links a { font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; padding: 6px 0; }
  .footer-bottom { font-size: 12px; flex-wrap: wrap; }
  .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
  .privacy-notice summary { padding: 14px; }
  .privacy-body { padding: 0 14px 16px; font-size: 13px; }
  .toast { font-size: 13px; bottom: 15px; padding: 13px 17px; }
}

/* Narrow mobile (<= 380px) */
@media screen and (max-width: 380px) {
  .casebook-art { padding-inline: 12px; }
  .casebook-art:before { inset: 16px 12px 50px; }
  .book { max-width: 100%; transform: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
  .hero-network .network-flow { opacity: 0; }
  .reveal-item { opacity: 1 !important; transform: none !important; }
}

/* Print layout */
@media print {
  .site-header, .hero-art, .hero-shade, .hero-network, .hero-bottom, .hero-actions,
  .mobile-nav, .nav-panel, .button, .menu-toggle, .countdown, .motion-toggle,
  .countdown-calendar, .topic-grid, .interest-result, .section-footnote,
  .casebook-art, .cases-actions, .glance-panel, .updates-form,
  .news-heading .text-link, .news-card .text-link, .host-introduction .text-link,
  .takeaways .text-link, .visit-experience, .experience-art, footer, .toast {
    display: none !important;
  }
  body { font-size: 11pt; background: #fff; color: #000; }
  .page-width { width: 100%; }
  .section-pad { padding: 20px 0; }
  .section-label, .section-heading { margin-bottom: 18px; }
  .reveal-item { opacity: 1 !important; transform: none !important; }
  .hero { height: auto !important; min-height: 0 !important; background: #fff; color: #000; padding: 20px 0; }
  .hero-content { padding-top: 0; }
  .hero h1 { font-size: 30pt; color: #000 !important; }
  .forum-kicker { font-size: 14pt; }
  .forum-shortname { color: #000; font-size: 10pt; }
  .hero h1 em, .hero-theme, .hero-copy, .hero-eyebrow { color: #000 !important; text-shadow: none !important; }
  h2 { font-size: 24pt; }
  .institution-strip { break-inside: avoid; padding: 15px 0; }
  .institution-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .institution { display: block; text-align: center; }
  .conversations, .key-dates, .cases, .updates, .updates-panel, .networks,
  .bangkok-experience, .contact-section, .contact-details {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .conversations p, .conversations h2 em, .contact-copy h2, .contact-copy h2 em,
  .contact-copy p, .contact-email, .contact-details p { color: #000 !important; }
  .about-grid, .programme-layout, .archive-grid, .visit-grid, .timeline,
  .cases-grid, .updates-panel, .case-formats, .news-grid, .host-introduction,
  .contact-layout, .experience-layout { display: block; }
  .timeline:before { display: none; }
  .programme-sidebar { display: none; }
  .schedule[hidden] { display: block !important; }
  .schedule-row, .archive-list li, .contact-details, .faq-list details { break-inside: avoid; }
  .schedule h3 { font-size: 11pt; }
  .schedule p { font-size: 10pt; }
  .network-list { display: flex; justify-content: space-between; }
  .network-list article { padding: 12px 0; }
  .takeaways { margin-top: 16px; }
  .takeaways article { padding: 14px; background: #fff; }
}
