:root {
  --navy: #0b1f33;
  --blue: #143d59;
  --blue-light: #285c68;
  --orange: #b7833e;
  --cream: #f8f1e7;
  --paper: #f3f5f6;
  --text: #17242f;
  --muted: #63717b;
  --line: #d8dee2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Heebo", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.topbar { background: #fff; border-bottom: 1px solid #eceff3; }
.topbar-inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { width: min(520px, 55vw); height: auto; display: block; }
.year-pill {
  border: 1px solid rgba(183,131,62,.55);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, var(--navy), #163e57);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -44% 30%;
  height: 620px;
  background: radial-gradient(circle, rgba(42,91,104,.72), transparent 67%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.2) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.hero-content { position: relative; z-index: 1; padding-block: 78px 92px; }
.eyebrow, .section-label {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
}
.section-label.numbered {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .04em;
}
.section-label.numbered span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 28px;
  padding-inline: 8px;
  color: var(--navy);
  background: var(--orange);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}
.dark-section .section-label.numbered span,
.apply-section .section-label.numbered span {
  color: #fff;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  max-width: 1050px;
  font-size: clamp(44px, 5.4vw, 74px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
h1 span {
  color: var(--orange);
  text-decoration-line: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 4px;
  text-underline-offset: .15em;
  text-decoration-skip-ink: none;
}
h1 em {
  font-size: .52em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}
h1 small {
  display: inline-block;
  margin-top: 20px;
  max-width: 920px;
  font-size: .34em;
  line-height: 1.35;
  letter-spacing: 0;
}
.hero-copy { max-width: 760px; color: #c9d3e2; font-size: 20px; }

.deadline-card {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}
.deadline-info { padding: 28px 34px; background: rgba(36,79,94,.58); }
.deadline-info p { margin-bottom: 3px; color: #d5a86c; font-weight: 700; }
.deadline-info strong { display: block; font-size: 42px; line-height: 1.1; }
.deadline-info > span { display: block; margin: 8px 0 20px; color: #c4cede; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(183,131,62,.28);
  transition: transform .2s, box-shadow .2s;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(183,131,62,.38); }
.countdown {
  direction: ltr;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background: rgba(2,15,32,.38);
}
.countdown-label {
  flex: 0 0 100%;
  margin: 0 0 4px;
  color: #d5a86c;
  direction: rtl;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}
.countdown div { text-align: center; min-width: 60px; }
.countdown strong { display: block; color: var(--orange); font-size: 34px; }
.countdown span { color: #aab7c9; font-size: 13px; }
.countdown i { color: #52647c; font-style: normal; font-size: 22px; }

.official-docs {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}
.official-docs-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 32px 38px;
  background: #fff;
  border: 1px solid rgba(183,131,62,.24);
  border-radius: 18px;
  box-shadow: 0 16px 55px rgba(20,42,70,.12);
}
.official-docs-heading h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.16;
}
.official-docs-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.official-docs-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.document-button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 14px;
  align-items: center;
  min-height: 104px;
  padding: 19px 21px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid rgba(183,131,62,.32);
  border-radius: 12px;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.document-button:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  box-shadow: 0 10px 24px rgba(20,42,70,.1);
}
.document-language { grid-column: 1; color: var(--orange); font-size: 17px; line-height: 1.1; font-weight: 900; }
.document-button strong { grid-column: 1; font-size: 17px; line-height: 1.25; }
.document-button > span:last-child { grid-column: 2; grid-row: 1 / 3; color: var(--orange); font-size: 22px; }

.intro-section { position: relative; z-index: 1; margin-top: 24px; }
.intro-card {
  padding: 38px 44px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 55px rgba(20,42,70,.12);
}
.intro-card h2, .content-section h2, .dark-section h2, .checklist-section h2, .apply-section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.intro-card p:last-child { margin-bottom: 0; max-width: 850px; color: var(--muted); font-size: 18px; }

.content-section { padding-block: 110px; }
.requirements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.requirement-card {
  position: relative;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 14px;
}
.requirement-card > span {
  position: absolute; top: 24px; left: 24px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--cream); color: var(--orange); border-radius: 10px;
  font-weight: 900; font-size: 22px;
}
.requirement-card h3 { padding-left: 48px; font-size: 23px; }
.requirement-card p { color: var(--muted); margin-bottom: 0; }
.postdoc-card {
  margin-top: 24px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(20,42,70,.08);
}
.postdoc-card > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--cream);
  color: var(--orange);
  border-radius: 10px;
  font-size: 24px;
  font-weight: 900;
}
.postdoc-card h3 { margin-bottom: 8px; font-size: 22px; }
.postdoc-card p { margin: 0; color: var(--muted); font-size: 17px; }

.dark-section { padding-block: 100px; color: #fff; background: var(--navy); }
.dark-section h2 { max-width: 700px; }
.capabilities { margin-top: 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.capabilities article { min-height: 225px; padding: 30px; background: var(--navy); }
.capabilities article:nth-child(-n+3) { grid-column: span 2; }
.capabilities article:nth-child(n+4) { grid-column: span 3; }
.capabilities b { color: var(--orange); font-size: 13px; letter-spacing: .1em; }
.capabilities h3 { margin: 18px 0 10px; font-size: 21px; }
.capabilities p { margin: 0; color: #aebaca; }
.evaluation {
  margin: 38px 0 0;
  padding: 30px 34px;
  border: 1px solid rgba(213,168,108,.38);
  border-right: 5px solid var(--orange);
  background: linear-gradient(110deg, rgba(183,131,62,.16), rgba(255,255,255,.06));
  color: #f2f4f7;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
}

.checklist-section { padding-block: 110px; }
.checklist-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.checklist-heading { position: sticky; top: 30px; }
.checklist-heading > p:not(.section-label) { color: var(--muted); }
.progress { margin-top: 30px; }
.progress span { font-weight: 700; }
.progress > div { height: 8px; margin-top: 10px; overflow: hidden; background: #dfe4ec; border-radius: 99px; }
.progress i { display: block; width: 0; height: 100%; background: var(--orange); transition: width .3s; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, transform .2s; }
.checklist li:hover { border-color: #b8c1cf; transform: translateX(-3px); }
.checklist label {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0 16px;
  padding: 20px 22px;
  cursor: pointer;
}
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.checklist label > span {
  grid-row: 1 / span 2;
  width: 26px; height: 26px;
  border: 2px solid #aeb7c4;
  border-radius: 7px;
  transition: all .2s;
}
.checklist input:checked + span { background: var(--orange); border-color: var(--orange); box-shadow: inset 0 0 0 5px #fff; }
.checklist b { font-size: 17px; }
.checklist small { color: var(--muted); line-height: 1.45; }

.apply-section { padding: 70px 0; color: #fff; background: linear-gradient(120deg, #244f5e, var(--navy)); }
.apply-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.apply-card h2 { max-width: 720px; }
.apply-card p:last-child { color: #bdc8d7; }
.contact { padding: 28px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; }
.contact > span, .contact > small { display: block; color: #b9c5d4; }
.contact > a:not(.primary-button) { display: block; margin: 6px 0 20px; font-size: 22px; font-weight: 800; direction: ltr; text-align: right; }
.contact small { margin-top: 12px; }

footer { padding: 54px 0 104px; background: #050f1f; color: #c7d0dc; }
.footer-notice {
  padding: 34px 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-right: 5px solid var(--orange);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
}
.confidentiality {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: #fff;
  font-size: 23px;
}
.confidentiality span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--navy);
  background: var(--orange);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}
.appointment-policy {
  margin: 0;
  max-width: 980px;
  color: #d7dee7;
  font-size: 16px;
  line-height: 1.75;
}
.footnote-separator {
  width: 100%;
  height: 1px;
  margin: 26px 0 18px;
  background: linear-gradient(to left, rgba(183,131,62,.75), rgba(255,255,255,.12), transparent);
}
.ranks {
  margin: 0;
  color: #f0d7b6;
  font-size: 15px;
  font-weight: 600;
}
.floating-apply {
  position: fixed; z-index: 20; bottom: 20px; left: 20px;
  display: flex; gap: 18px; align-items: center;
  padding: 13px 20px; color: #fff; background: var(--orange);
  border-radius: 10px; box-shadow: 0 12px 35px rgba(0,0,0,.28);
  text-decoration: none; font-weight: 800;
}

@media (max-width: 850px) {
  .topbar-inner { min-height: 96px; }
  .brand { width: min(430px, 62vw); }
  .year-pill { font-size: 12px; padding: 6px 12px; }
  .hero-content { padding-block: 56px 76px; }
  .hero-copy { font-size: 18px; }
  .deadline-card, .checklist-layout, .apply-card { grid-template-columns: 1fr; }
  .countdown { order: -1; }
  .requirements-grid { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr 1fr; }
  .capabilities article:nth-child(n) { grid-column: auto; }
  .checklist-heading { position: static; }
  .official-docs-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .topbar-inner { align-items: flex-start; flex-direction: column; padding-block: 16px; gap: 10px; }
  .brand { width: 100%; }
  .hero-content { padding-top: 42px; }
  h1 { font-size: 44px; }
  h1 small { font-size: .42em; }
  h1 span { text-decoration-thickness: 3px; }
  .hero-copy { font-size: 16px; }
  .deadline-info { padding: 24px; }
  .deadline-info strong { font-size: 34px; }
  .countdown { padding: 20px 10px; gap: 7px; }
  .countdown div { min-width: 48px; }
  .countdown strong { font-size: 27px; }
  .intro-card { padding: 28px 24px; }
  .official-docs-card { padding: 26px 22px; gap: 22px; }
  .official-docs-actions { grid-template-columns: 1fr; }
  .document-button { min-height: 92px; }
  .content-section, .dark-section, .checklist-section { padding-block: 76px; }
  .requirement-card { padding: 28px 22px; }
  .postdoc-card { padding: 26px 22px; grid-template-columns: 42px 1fr; gap: 16px; }
  .capabilities { grid-template-columns: 1fr; }
  .capabilities article { min-height: auto; }
  .apply-card { gap: 30px; }
  .contact > a:not(.primary-button) { font-size: 17px; }
  .floating-apply { left: 14px; right: 14px; justify-content: center; }
  .footer-notice { padding: 27px 22px; }
  .confidentiality { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
