:root {
  --navy: #362f8f;
  --navy-dark: #241d63;
  --gold: #b6902e;
  --gold-light: #d9b45c;
  --cream: #faf8f3;
  --ink: #2b2755;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Content zone: everything above the footer band */
.page-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px 48px;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, #4a3fae 100%);
}

/* Decorative background pattern - subtle academic laurel/dot texture */
.page-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(214, 178, 90, 0.10) 0, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(214, 178, 90, 0.10) 0, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 0, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* thin gold border frame, evokes a diploma / seal - scoped to the content zone only */
.frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(217, 180, 92, 0.35);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 16px;
  padding: 18px 26px;
  margin-bottom: 1.6rem;
  max-width: 100%;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.logo {
  display: block;
  width: min(320px, 58vw);
  max-width: 100%;
  height: auto;
}

.eyebrow {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold-light);
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  margin-bottom: 0.6rem;
}

h1 {
  width: 100%;
  font-size: clamp(1.6rem, 4.2vw, 2.9rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 0.7rem;
  color: #ffffff;
  white-space: normal;
  overflow-wrap: break-word;
}

h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.divider {
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 0.4rem 0 1.2rem;
}

.lede {
  max-width: 620px;
  margin-bottom: 1.6rem;
}

p.lede {
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(250, 248, 243, 0.9);
  margin-bottom: 0.9rem;
}

p.lede:last-child {
  margin-bottom: 0;
}

p.lede.intro {
  color: #ffffff;
  font-size: 1.1rem;
}

/* Content sections: "Where the project stands" / "Enquiries" - side-by-side toggle cards */
.sections {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
  text-align: left;
}

.section-card {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 180, 92, 0.25);
  border-radius: 12px;
  padding: 1.5rem 1.7rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.card-toggle {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  width: 100%;
  cursor: pointer;
}

.card-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.card-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--gold-light);
}

.section-card h2 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  color: var(--gold-light);
}

.card-chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--gold-light);
  transition: transform 0.25s ease;
}

.section-card.open .card-chevron {
  transform: rotate(180deg);
}

.card-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
}

.section-card.open .card-body {
  max-height: 700px;
  margin-top: 1.1rem;
}

.section-card p {
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(250, 248, 243, 0.85);
  margin-bottom: 0.9rem;
}

.section-card p:last-child {
  margin-bottom: 0;
}

.callout {
  margin-top: 0.2rem;
  padding: 0.9rem 1.1rem;
  background: rgba(214, 178, 90, 0.08);
  border-left: 2px solid var(--gold-light);
  border-radius: 4px;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: rgba(250, 248, 243, 0.9) !important;
}

.enquiries-list {
  list-style: none;
  margin-bottom: 0.9rem;
}

.enquiries-list li {
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(250, 248, 243, 0.85);
  margin-bottom: 0.4rem;
}

.enquiries-list a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 180, 92, 0.4);
}

.enquiries-list a:hover {
  border-bottom-color: var(--gold-light);
}

.note {
  font-style: italic;
  color: rgba(250, 248, 243, 0.65) !important;
  font-size: 0.88rem !important;
}

@media (max-width: 760px) {
  .sections {
    flex-direction: column;
  }
}

/* Notify form */
.notify {
  display: flex;
  width: 100%;
  max-width: 440px;
  gap: 10px;
  margin-bottom: 2.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.notify input[type="email"] {
  flex: 1 1 260px;
  padding: 14px 18px;
  border-radius: 4px;
  border: 1px solid rgba(217, 180, 92, 0.5);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.notify input[type="email"]::placeholder {
  color: rgba(250, 248, 243, 0.55);
}

.notify input[type="email"]:focus {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.1);
}

.notify button {
  flex: 0 0 auto;
  padding: 14px 26px;
  border-radius: 4px;
  border: none;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.notify button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(182, 144, 46, 0.4);
}

.form-msg {
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  min-height: 1.2em;
  margin-top: -1.6rem;
  margin-bottom: 2rem;
}

/* pillars / highlights row */
.pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem 2.2rem;
  margin-bottom: 1.8rem;
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
}

.pillars div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 140px;
}

.pillars .icon {
  width: 34px;
  height: 34px;
  color: var(--gold-light);
}

.pillars span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.75);
}

.site-footer {
  width: 100%;
  background: var(--navy-dark);
  border-top: 1px solid rgba(217, 180, 92, 0.35);
  padding: 2.2rem 24px 1.8rem;
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
}

.footer-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.contact {
  font-size: 0.9rem;
  color: rgba(250, 248, 243, 0.8);
  margin-bottom: 1rem;
}

.contact a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 180, 92, 0.4);
}

.contact a:hover {
  border-bottom-color: var(--gold-light);
}

.social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 1.2rem;
}

.social a {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  border: 1px solid rgba(217, 180, 92, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  text-decoration: none;
  line-height: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social a:hover {
  background: rgba(217, 180, 92, 0.15);
  transform: translateY(-2px);
}

.social svg { display: block; width: 16px; height: 16px; fill: currentColor; }

.copyright {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(250, 248, 243, 0.45);
}

@media (max-width: 480px) {
  .notify { flex-direction: column; align-items: stretch; }
  .notify button { padding: 14px; }
}

@media (max-width: 600px) {
  .section-card { padding: 1.5rem 1.3rem; }
}

/* ---------- Site header / navigation ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold-light);
  color: var(--navy-dark);
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.skip-link:focus { left: 16px; top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--cream);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 18px rgba(20, 16, 60, 0.18);
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; line-height: 0; }

.brand img { height: 46px; width: auto; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(54, 47, 143, 0.3);
  border-radius: 6px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover { background: rgba(54, 47, 143, 0.08); }

.main-nav a[aria-current="page"] {
  color: var(--navy-dark);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.main-nav a:focus-visible,
.nav-toggle:focus-visible,
.card-toggle:focus-visible,
.role-card a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .brand img { height: 38px; }
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 10px 20px rgba(20, 16, 60, 0.2);
    display: none;
  }

  .nav-open .main-nav { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 14px;
  }

  .main-nav a { padding: 14px 10px; border-bottom: 1px solid rgba(54, 47, 143, 0.1); }
  .main-nav li:last-child a { border-bottom: none; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
}

/* ---------- Work With Us ---------- */
.page-hero { margin-top: 1rem; }

.careers-intro {
  max-width: 680px;
  margin-bottom: 1.8rem;
}

.careers-intro p {
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(250, 248, 243, 0.88);
  margin-bottom: 0.9rem;
}

.careers-intro .question {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #ffffff;
}

.notice {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.4rem 0 2.2rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid rgba(217, 180, 92, 0.5);
  border-radius: 6px;
  background: rgba(214, 178, 90, 0.1);
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  color: #ffffff;
  text-align: left;
}

.notice svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--gold-light); }

.roles-heading {
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.roles-sub {
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  color: rgba(250, 248, 243, 0.7);
  margin-bottom: 1.4rem;
}

.roles {
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
  text-align: left;
  margin-bottom: 1.6rem;
}

.role-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 180, 92, 0.25);
  border-radius: 12px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.role-card:hover { border-color: rgba(217, 180, 92, 0.6); transform: translateY(-2px); }

.role-card h3 {
  font-weight: 400;
  font-size: 1.12rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.role-card p {
  flex: 1;
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(250, 248, 243, 0.78);
  margin-bottom: 1.1rem;
}

.role-card a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 10px 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: box-shadow 0.15s ease;
}

.role-card a:hover { box-shadow: 0 6px 18px rgba(182, 144, 46, 0.4); }

.role-card a svg { width: 14px; height: 14px; }

.careers-footnote {
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(250, 248, 243, 0.65);
}

.careers-footnote a { color: var(--gold-light); }

/* Keep anchor targets clear of the sticky header */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
