/* MET 2027 conference site. Shared stylesheet for every page. */

:root {
  --navy:      #0B1F3A;
  --navy-mid:  #12305C;
  --navy-soft: #1B3A63;
  --gold:      #C9A45C;
  --gold-lt:   #E3C98A;
  /* Gold for text on white or cream. --gold is 2.4:1 there, this is 6.0:1 on white and 5.5:1 on cream.
     Keep --gold for rules, borders and text on navy. */
  --gold-ink:  #7A5F24;
  --teal:      #3D8EA9;
  --steel:     #7A93B8;
  --mist:      #B9C4D1;
  --mist-lt:   #C7D1DC;
  --ink:       #43505E;
  --ink-2:     #4A5764;
  --ink-3:     #5B6B7C;
  --cream:     #F7F5F0;
  --white:     #FFFFFF;
  --line:      #E4E0D8;

  --display: Cambria, "Playfair Display", Georgia, "Times New Roman", serif;
  --body: Calibri, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --pad: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: var(--navy-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }

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

/* ---------- Focus and skip link ---------- */

/* Navy ring on light backgrounds, light gold ring on navy ones. */
:focus-visible { outline: 2px solid var(--navy-mid); outline-offset: 3px; }
.site-header :focus-visible,
.hero :focus-visible,
.partners :focus-visible,
.section.navy :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold-lt); }

.skip-link {
  position: absolute;
  left: var(--pad);
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 3px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--navy); }
.skip-link:focus-visible { outline-color: var(--white); }

/* ---------- Type ---------- */

h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); font-weight: 700; line-height: 1.2; margin: 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 700;
  margin: 0 0 14px;
}
.eyebrow.on-dark { color: var(--gold-lt); }

.section-title { font-size: 40px; margin-bottom: 18px; }
.section-lede { font-size: 19px; color: var(--ink-2); max-width: 68ch; margin: 0 0 40px; }

.rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 0 0 26px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 31, 58, .97);
  border-bottom: 1px solid rgba(201, 164, 92, .28);
  backdrop-filter: blur(8px);
}

.nav-bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand-mark {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--white);
}
.brand-sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  font-size: 15px;
  padding: 7px 13px;
  border-radius: 3px;
  cursor: pointer;
}

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 14.5px;
  letter-spacing: .03em;
  color: var(--mist-lt);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); border-bottom-color: rgba(201, 164, 92, .55); }
.nav-links a[aria-current="page"] { color: var(--white); border-bottom-color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 9px 17px !important;
  border-radius: 3px;
  border-bottom: 0 !important;
}
.nav-cta:hover { background: var(--gold-lt); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(150deg, #0d2646 0%, var(--navy) 45%, #081729 100%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 0;
}
.hero.compact { padding-top: 72px; }

.hero-inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 150px; }
.hero.compact .hero-inner { padding-bottom: 120px; }

.hero-kicker { font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--mist); margin: 0 0 20px; }
/* Full conference title above each inner page heading (Prof. Zhou's request, 2026-11-14) */
.hero-conf { font-family: var(--display); font-size: 21px; line-height: 1.35; color: var(--gold-lt); max-width: 40ch; margin: 0 0 18px; }

.hero h1 { font-size: 58px; color: var(--white); letter-spacing: -.005em; margin: 0 0 22px; max-width: 17ch; }
.hero.compact h1 { font-size: 46px; max-width: 22ch; }
/* Full conference title on the home page. Longer string, so it takes a smaller size and a wider measure. */
.hero h1.title-full { font-size: 50px; max-width: 940px; line-height: 1.14; }

.hero-mark {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: .55em;
  color: var(--gold-lt);
  margin: 0 0 14px;
}

.hero-tagline {
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist-lt);
  margin: 0 0 40px;
}
.hero-tagline span { color: var(--gold); padding: 0 8px; }

.hero-lede { font-size: 19px; color: var(--mist-lt); max-width: 62ch; margin: 0 0 34px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(201, 164, 92, .3);
  max-width: 860px;
  margin-bottom: 40px;
}
.hero-meta div { padding: 22px 26px 4px 0; }
.hero-meta div + div { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-meta dt { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; font-weight: 700; }
.hero-meta dd { margin: 0; font-family: var(--display); font-size: 21px; color: var(--white); line-height: 1.3; }
.hero-meta .note { display: block; font-family: var(--body); font-size: 13px; color: var(--steel); margin-top: 5px; letter-spacing: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px 30px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-lt); color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); background: rgba(201, 164, 92, .08); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-mid); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Sections ---------- */

.section { padding: 92px 0; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: var(--mist-lt); }
.section.navy .section-title { color: var(--white); }
.section.navy .section-lede { color: var(--mist); }
.section.tight { padding: 62px 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: start; }

/* ---------- Partner strip ---------- */

.partners {
  background: var(--navy-mid);
  color: var(--mist-lt);
  padding: 22px 0;
  border-top: 1px solid rgba(201, 164, 92, .25);
}
.partners-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 30px; text-align: center; }
.partners-label { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.partners-list { font-size: 14.5px; color: var(--mist-lt); }
.partners-list span { color: var(--steel); padding: 0 6px; }

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.theme-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 32px 30px 34px;
  display: flex;
  flex-direction: column;
}
.section.cream .theme-card { background: var(--white); }
.theme-num { font-family: var(--display); font-size: 34px; color: var(--gold-ink); line-height: 1; margin: 0 0 16px; }
.theme-card h3 { font-size: 21px; margin: 0 0 14px; }
.theme-card p { margin: 0 0 20px; font-size: 15.5px; color: var(--ink-2); }
.theme-card p.theme-num { color: var(--gold-ink); }
.theme-card .card-link { margin-top: auto; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-mid); text-decoration: none; }
.theme-card .card-link:hover { color: var(--gold-ink); }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px 28px;
}
.info-card h3 { font-size: 19px; margin: 0 0 12px; }
/* Sponsorship packages (sponsorship page). Cards reset the text colour in case they sit in a navy section */
.section.navy .info-card { color: var(--ink); }
.package-grid { margin-bottom: 26px; }
.package-price { font-family: var(--display); font-size: 30px; color: var(--navy); margin: 0 0 14px; }
.package-list { margin: 0; padding-left: 1.1em; font-size: 15.5px; }
.package-list li { margin-bottom: 6px; }
.package-note { color: var(--ink-2); margin: 0 0 24px; }
.section.navy .package-note { color: var(--mist); }
.info-card p:last-child { margin-bottom: 0; }

/* ---------- Topic blocks ---------- */

.track {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 56px;
  padding: 54px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  scroll-margin-top: 96px;
}
.track:first-of-type { border-top: 0; padding-top: 8px; }
.track-head p.theme-num { font-size: 44px; color: var(--gold-ink); }
.track-head h2 { font-size: 27px; margin-bottom: 16px; }
.track-head p { font-size: 15.5px; color: var(--ink-3); margin: 0; }

.topic-list { columns: 2; column-gap: 44px; list-style: none; margin: 0; padding: 0; }
.topic-list li {
  break-inside: avoid;
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 15.5px;
  color: var(--ink-2);
}
.topic-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 1px; background: var(--gold); }

/* ---------- Key dates ---------- */

.dates-table { width: 100%; border-collapse: collapse; }
.dates-table th {
  text-align: left;
  font-family: var(--body);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(201, 164, 92, .35);
}
.dates-table td { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: top; }
.dates-table td:first-child { font-family: var(--display); font-size: 19px; color: var(--white); width: 34%; padding-right: 24px; }
.dates-table td:nth-child(2) { color: var(--mist-lt); font-size: 16px; }
.dates-table tr.is-key td:first-child { color: var(--gold-lt); }

.section.navy .dates-table th { color: var(--gold); }

.dates-note { margin-top: 26px; font-size: 14.5px; color: var(--steel); }

/* Light variant used on the Call for Papers page */
.dates-table.light th { border-bottom-color: var(--line); color: var(--navy-mid); }
.dates-table.light td { border-bottom: 1px solid var(--line); }
.dates-table.light td:first-child { color: var(--navy); }
.dates-table.light td:nth-child(2) { color: var(--ink-2); }

/* Registration fees. Category, both rates and the dinner on one row so delegates compare them together */
.table-scroll { overflow-x: auto; }
.fee-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.fee-table th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-mid);
  font-weight: 700;
  padding: 0 16px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
}
.fee-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.fee-table td:first-child { font-family: var(--display); font-size: 18px; color: var(--navy); }
.fee-table .fee { font-family: var(--display); font-size: 21px; color: var(--navy); white-space: nowrap; }
.fee-table .sub { display: block; font-family: var(--body); font-size: 14px; color: var(--ink-3); margin-top: 4px; }

/* Programme at a glance. One table per day, theme colour coding from the organisers' slide */
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.glance-day { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.glance-day caption { text-align: left; caption-side: top; background: var(--navy); color: var(--white); font-family: var(--display); font-size: 19px; padding: 12px 16px; margin-bottom: 4px; }
.glance-day th { width: 9.5em; text-align: left; font-weight: 700; font-size: 14.5px; color: var(--ink); padding: 10px 12px 10px 0; vertical-align: middle; white-space: nowrap; }
.glance-day td { padding: 10px 14px; font-size: 15px; line-height: 1.35; vertical-align: middle; }
.glance-day td + td { border-left: 6px solid var(--white); }
.glance-day td span { display: block; font-size: 13.5px; opacity: .9; margin-top: 2px; }
/* 휴식 줄은 얇게, 세션 줄은 두껍게 (정병욱 요청 2026-11-18) */
.glance-day tr:has(.g-break) th, .glance-day td.g-break { padding-top: 3px; padding-bottom: 3px; font-size: 13.5px; }
.glance-day td.g-t1, .glance-day td.g-t2, .glance-day td.g-t3, .glance-day td.g-t4 { padding-top: 20px; padding-bottom: 20px; }
.g-plenary { background: var(--navy); color: var(--white); }
.g-break { background: var(--cream); color: var(--ink-3); }
.g-dinner { background: var(--navy-soft); color: var(--white); }
.g-t1 { background: #2C7A5B; color: var(--white); }
.g-t2 { background: #8A6420; color: var(--white); }
.g-t3 { background: #1F4E79; color: var(--white); }
.g-t4 { background: #2B6F86; color: var(--white); }
.glance-legend { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); grid-auto-flow: column; gap: 8px 32px; font-size: 14.5px; color: var(--ink-2); }
.glance-legend li { display: flex; align-items: baseline; gap: 10px; }
.glance-legend .chip { flex: none; width: 12px; height: 12px; display: inline-block; }

/* Committee members. Role first, then name, then affiliation in a lighter tone */
.member-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.member-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.member-role { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; margin-bottom: 2px; }
.member-name { display: block; font-family: var(--display); font-size: 17px; color: var(--navy); }
.member-aff { display: block; font-size: 14.5px; color: var(--ink-3); }

/* ---------- Organisers ---------- */

.org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.org-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px 26px;
  border-left: 3px solid var(--navy-mid);
}
.org-card.lead { border-left-color: var(--gold); }
.org-card h3 { font-size: 19px; margin: 0 0 8px; }
.org-card .org-unit { font-size: 15px; color: var(--ink-2); margin: 0 0 10px; }
.org-card .org-place { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0; }

/* ---------- Audience ---------- */

.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.audience-grid h3 { font-size: 18px; margin: 0 0 10px; color: var(--white); }
.audience-grid p { margin: 0; font-size: 15.5px; color: var(--mist); }
.audience-grid > div { border-top: 2px solid var(--gold); padding-top: 18px; }

/* ---------- Steps ---------- */

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 30px 62px;
  border-left: 1px solid var(--line);
  margin-left: 18px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -18px;
  top: -4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-lt);
  font-family: var(--display);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { font-size: 18px; margin: 0 0 8px; }
.steps p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ---------- TBC chip and callouts ---------- */

.tbc {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: rgba(201, 164, 92, .17);
  border: 1px solid rgba(201, 164, 92, .5);
  border-radius: 2px;
  padding: 2px 8px;
  vertical-align: middle;
}
.tbc.on-dark { color: var(--gold-lt); background: rgba(201, 164, 92, .14); }

.callout {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  margin: 34px 0;
  font-size: 16px;
  color: var(--ink-2);
}
.section.cream .callout { background: var(--white); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--navy); }

.draft-banner {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
}
.draft-banner strong { color: var(--navy); }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--navy-mid), var(--navy));
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: 34px; margin-bottom: 16px; }
.cta-band p { color: var(--mist-lt); font-size: 18px; max-width: 60ch; margin: 0 auto 32px; }

/* ---------- Footer ---------- */

.site-footer { background: #071527; color: var(--mist); padding: 62px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 44px; }
.site-footer h4 { color: var(--white); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; font-family: var(--body); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--gold-lt); }
.footer-mark { font-family: var(--display); font-size: 20px; letter-spacing: .16em; color: var(--white); margin: 0 0 12px; }
.footer-blurb { color: var(--steel); max-width: 40ch; margin: 0; font-size: 14.5px; }
.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--steel);
}

/* ---------- Prose ---------- */

.prose p { margin: 0 0 22px; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-size: 22px; margin: 40px 0 14px; }
.prose ul { padding-left: 22px; margin: 0 0 22px; }
.prose li { padding: 5px 0; }

.aims { list-style: none; margin: 0; padding: 0; }
.aims li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.aims li:last-child { border-bottom: 0; }
.aims li::before { content: ""; position: absolute; left: 0; top: 26px; width: 18px; height: 2px; background: var(--gold); }

.aims li strong { color: var(--gold-ink); font-family: var(--display); margin-right: 10px; }

/* ---------- Callout action ---------- */

.callout-action { margin: 18px 0 0; }

/* The interest form and its styles were removed on 2026-09-09 with the form itself.
   Commits 85d2665 and ca3a8ea hold both if the form comes back. */

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .track { grid-template-columns: 1fr; gap: 28px; }
  .topic-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 46px; }
  .hero h1.title-full { font-size: 40px; }
  .section-title { font-size: 33px; }
}

/* Collapsed menu. Nine items no longer fit on one line below about 1100px (Sponsorship added 2026-11-20).
   At 1000px the logo still wrapped onto two lines between 1001 and 1099px, so the breakpoint is 1100px */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(201, 164, 92, .3);
    padding: 10px var(--pad) 22px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-cta { text-align: center; margin-top: 14px; }
  .site-header { position: relative; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .hero { padding-top: 64px; }
  .hero-inner { padding-bottom: 110px; }
  .hero h1, .hero.compact h1 { font-size: 34px; }
  .hero h1.title-full { font-size: 29px; }
  .hero-lede { font-size: 17px; }
  .hero-conf { font-size: 17px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .section { padding: 62px 0; }
  .section-title { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .dates-table td:first-child { font-size: 17px; }
  .btn { padding: 13px 24px; }
  .card-grid.four { grid-template-columns: 1fr; }

  .glance, .glance-legend { grid-template-columns: 1fr; }
  .glance-legend { grid-template-rows: none; grid-auto-flow: row; }
  .glance-day th { width: 6.6em; white-space: normal; font-size: 14px; }
  .glance-day td { padding: 9px 10px; font-size: 14.5px; }

  /* Fee table stacks into one block per category so both rates and the dinner stay on screen together */
  .fee-table { min-width: 0; }
  .fee-table thead { display: none; }
  .fee-table tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .fee-table td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 4px 0; border: 0; }
  .fee-table td:first-child { display: block; margin-bottom: 8px; }
  .fee-table td[data-label]::before { content: attr(data-label); font-family: var(--body); font-size: 14px; color: var(--ink-3); }
  .fee-table .fee { font-size: 19px; }
}

/* ---------- Entrance motion ---------- */

/* One-off entrance only (Dr Jang 2026-11-25, after looking at the Korea Maritime Week site).
   Looping motion was left out on purpose because it pulls the eye off the text being read.
   The hero needs no script. Sections get .reveal from main.js only when they start below the screen,
   so nothing is hidden on first paint and nothing stays hidden if the script fails. */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.hero-inner > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > :nth-child(2) { animation-delay: .1s; }
.hero-inner > :nth-child(3) { animation-delay: .2s; }
.hero-inner > :nth-child(4) { animation-delay: .3s; }
.hero-inner > :nth-child(5) { animation-delay: .4s; }
.hero-inner > :nth-child(n+6) { animation-delay: .5s; }
.hero-waves { animation: fade-in 1.2s ease both; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media print {
  .reveal, .hero-inner > *, .hero-waves { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- Reduced motion ---------- */

/* Targeted rather than a global kill. Jumps replace the smooth scroll, colour changes become instant
   and the entrance motion above is switched off. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .hero-inner > *, .hero-waves { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
