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

:root {
  --navy:      #0B1F3A;
  --navy-mid:  #12305C;
  --navy-soft: #1B3A63;
  --gold:      #C9A45C;
  --gold-lt:   #E3C98A;
  --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); }

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

/* ---------- 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);
  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; }

.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); 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); }
.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); }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px 28px;
}
.info-card h3 { font-size: 19px; margin: 0 0 12px; }
.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); }
.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); }

/* ---------- 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: #8A6D2F;
  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(--ink-3);
}

/* ---------- 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); font-family: var(--display); margin-right: 10px; }

/* ---------- Form ---------- */

.form-notice {
  background: rgba(201, 164, 92, .13);
  border: 1px solid rgba(201, 164, 92, .5);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 30px;
}
.form-notice strong { color: var(--navy); }

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

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.interest-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.interest-form .field { margin: 0 0 22px; }
.interest-form label,
.interest-form legend {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 8px;
  padding: 0;
}
.interest-form input[type="text"],
.interest-form input[type="email"],
.interest-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 2px;
}
.interest-form input:focus,
.interest-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.interest-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.interest-form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--ink-2);
  margin: 0 0 10px;
}
.interest-form .check input { margin-top: 5px; accent-color: var(--navy-mid); }
.interest-form button { cursor: pointer; }
.form-privacy { font-size: 13.5px; color: var(--ink-3); margin: 18px 0 0; }

/* ---------- 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; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .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; }

  .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-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; }
  .interest-form .field-row { grid-template-columns: 1fr; }
  .card-grid.four { grid-template-columns: 1fr; }
}
