@font-face { font-family: 'Lexend'; src: url("fonts/lexend.8f616d9af38d.woff2") format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url("fonts/source-sans-3.30164609c163.woff2") format('woff2'); font-weight: 200 900; font-display: swap; }
/* The draft website's frame – draft note, menu and footer – shared by its home page and the application form
   (templates/newweb/_header.html, _footer.html). Own class names (nw-…) so it sits on top of the platform's styles. */
.nw-flag, .nw-nav, .nw-foot, .nw-sheet-head {
  --nw-brand: #780000; --nw-brand-hover: #560000; --nw-ink: #161616; --nw-ink-2: #3f3f3f; --nw-line: #e9e2e2; --nw-cream: #faf8f8;
  --nw-title: 'Lexend', system-ui, sans-serif; --nw-ease: cubic-bezier(.2, .7, .2, 1);
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif; box-sizing: border-box;
}
.nw-flag *, .nw-nav *, .nw-foot *, .nw-sheet-head * { box-sizing: border-box; border-radius: 0 !important; }
.nw-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.nw-flag { background: var(--nw-ink); color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.5; text-align: center; padding: 8px 16px; position: relative; z-index: 60; }
.nw-flag b { color: #fff; }
.nw-flag a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.nw-nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 248, .9); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s var(--nw-ease), transform .35s var(--nw-ease); }
.nw-nav.scrolled { box-shadow: 0 1px 0 var(--nw-line); }
.nw-nav.hidden { transform: translateY(-100%); box-shadow: none; }
.nw-nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.nw-logo { display: block; flex: none; }
.nw-logo img { height: 30px; width: auto; display: block; }
.nw-links { display: flex; gap: 22px; margin-left: auto; }
.nw-links a { color: var(--nw-ink-2); text-decoration: none; font-family: var(--nw-title); font-size: 14.5px; line-height: 1.4; position: relative; padding: 6px 0; }
.nw-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--nw-brand); border-radius: 0;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--nw-ease); }
.nw-links a:hover, .nw-links a.active { color: var(--nw-ink); text-decoration: none; }
.nw-links a:hover::after, .nw-links a.active::after { transform: scaleX(1); }
.nw-cta { display: inline-flex; align-items: center; justify-content: center; font-family: var(--nw-title); font-weight: 500; font-size: 14.5px; line-height: 1;
  padding: 12px 20px; border-radius: 0; background: var(--nw-brand); color: #fff; text-decoration: none; white-space: nowrap; border: 0;
  transition: background .25s var(--nw-ease), transform .25s var(--nw-ease); }
.nw-cta:hover { background: var(--nw-brand-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.nw-cta.current { background: transparent; color: var(--nw-brand); box-shadow: inset 0 0 0 1.5px var(--nw-brand); }
.nw-toggle { display: none; margin: 0 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  cursor: pointer; position: relative; flex: none; }
.nw-toggle:hover { background: none; }
.nw-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--nw-ink); border-radius: 0; transition: transform .3s var(--nw-ease); }
.nw-toggle span:first-child { top: 17px; }
.nw-toggle span:last-child { top: 25px; }
.nw-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nw-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nw-menu { display: none; }

/* The heading strip above a page inside the website (the application form) */
.nw-sheet-head { padding: 28px 0 0; }
.nw-crumbs { font-family: var(--nw-title); font-size: 14px; color: var(--nw-ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nw-crumbs a { color: var(--nw-ink-2); text-decoration: none; }
.nw-crumbs a:hover { color: var(--nw-brand); }
.nw-crumbs b { color: var(--nw-ink); font-weight: 500; }

.nw-foot { background: #560000; color: rgba(255,255,255,.7); padding: 72px 0 28px; line-height: 1.6; }
.nw-foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.nw-foot-brand img { height: 30px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; display: block; }
.nw-foot-brand p { max-width: 380px; font-size: 16px; margin: 0; color: rgba(255,255,255,.7); }
.nw-foot h4 { font-family: var(--nw-title); color: #fff; font-size: 15px; font-weight: 300; margin: 0 0 14px; letter-spacing: 0; }
.nw-foot ul { list-style: none; margin: 0; padding: 0; }
.nw-foot li { padding: 4px 0; margin: 0; }
.nw-foot a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 16px; }
.nw-foot a:hover { color: #fff; text-decoration: none; }
.nw-foot-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); margin-top: 56px; padding-top: 22px; font-size: 14px; }
.nw-foot-bottom p { margin: 0; }
.nw-foot-bottom a { font-size: 14px; }

@media (max-width: 1080px) {
  .nw-links { display: none; }
  .nw-toggle { display: block; margin-left: 0; }
  .nw-cta { margin-left: auto; }
  .nw-menu { display: grid; gap: 2px; max-height: 0; overflow: hidden; transition: max-height .4s var(--nw-ease); background: var(--nw-cream); }
  .nw-menu.open { max-height: 680px; border-bottom: 1px solid var(--nw-line); }
  .nw-menu a:not(.nw-cta) { padding: 12px 32px; font-family: var(--nw-title); color: var(--nw-ink); text-decoration: none; }
  .nw-menu .nw-cta { margin: 10px 32px 22px; }
}
@media (max-width: 760px) {
  .nw-flag { font-size: 12.5px; padding: 6px 12px; }
  .nw-wrap { padding: 0 20px; }
  .nw-nav-in { height: 64px; gap: 12px; }
  .nw-nav-in > .nw-cta { display: none; }
  .nw-toggle { margin-left: auto; }
  .nw-menu a:not(.nw-cta) { padding: 12px 20px; }
  .nw-menu .nw-cta { margin: 10px 20px 20px; }
  .nw-foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nw-foot-brand { grid-column: 1 / -1; }
  .nw-foot-bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .nw-nav, .nw-menu, .nw-links a::after { transition: none; } }

/* The application form inside the website: menu and footer around it, the form on its own sheet in between */
.in-site .public-logo { display: none; }
.nw-crumb-back { margin-left: auto; padding: 8px 16px; box-shadow: inset 0 0 0 1.5px rgba(22,22,22,.2); }
.nw-crumb-back:hover { box-shadow: inset 0 0 0 1.5px #161616; color: #161616 !important; }
.nw-sheet { display: block; max-width: 1320px; margin: 20px auto 88px; padding: 0 32px; }
.nw-sheet > .public-wrap { background: #f6eded; padding: clamp(20px, 3vw, 40px); max-width: none; }
.site-live { background: #fff; }
.site-live .nw-nav { background: rgba(255, 255, 255, .95); }
.site-live .nw-foot { background: #0f0f0f; }
.site-live .nw-sheet > .public-wrap { background: #faf8f8; border: 1px solid #e9e2e2; }
@media (max-width: 760px) {
  .nw-sheet { padding: 0 10px; margin-bottom: 56px; }
  .nw-sheet > .public-wrap { padding: 14px 12px 20px; }
  .nw-crumb-back { display: none; }
}
@media (min-width: 960px) {   /* the sections menu beside the form stays clear of the website's menu */
  .in-site .apply-page > .apply-steps { top: 92px; max-height: calc(100vh - 108px); }
}
