:root {
  --ink: #17191f;
  --muted: #5a6070;
  --line: #d8dde6;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --green: #0f7a4f;
  --blue: #2475a8;
  --coral: #d95d45;
  --gold: #d7a83f;
  --cream: #fff6e4;
  --navy: #14213d;
  --shadow: 0 24px 60px rgba(20, 33, 61, .14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fbfb 0%, var(--paper) 42%, #f1f5f1 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.top-bar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 4px 0;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.top-bar a {
  color: var(--green);
  text-decoration: none;
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 10px auto 0;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  position: sticky;
  top: 14px;
  z-index: 10;
  border: 1px solid rgba(20, 33, 61, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(20, 33, 61, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: grid;
  font-size: 15px;
  line-height: 1.05;
}

.brand strong {
  color: var(--green);
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green);
}

.nav-cta,
.button {
  min-height: 44px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-cta,
.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 26px rgba(15, 122, 79, .22);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.secondary,
.light {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.light {
  color: var(--green);
  border-color: transparent;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  place-items: center;
  gap: 4px;
  padding: 11px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 150px);
  margin: 24px auto 0;
  padding: clamp(34px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 38px;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(20, 33, 61, .92), rgba(15, 122, 79, .84)),
    url("assets/news-books.jpg") center / cover;
  box-shadow: 0 30px 70px rgba(20, 33, 61, .24);
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 72px;
  padding: clamp(38px, 6vw, 76px);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: #fff;
}

.page-hero p,
.hero p {
  color: rgba(255, 255, 255, .88);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.school-band .eyebrow {
  color: #bdf2df;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: .98;
}

h1 {
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.2rem);
  max-width: 10ch;
}

.page-hero h1 {
  max-width: 12ch;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.lede {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-covers {
  min-height: 580px;
  position: relative;
}

.cover {
  position: absolute;
  width: min(42%, 235px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 26px 55px rgba(0, 0, 0, .35);
}

.cover-one {
  left: 24%;
  top: 8%;
  z-index: 3;
  transform: rotate(-7deg);
}

.cover-two {
  right: 6%;
  top: 22%;
  z-index: 2;
  transform: rotate(8deg);
}

.cover-three {
  left: 4%;
  bottom: 8%;
  z-index: 1;
  transform: rotate(5deg);
}

.stats {
  width: min(1080px, calc(100% - 32px));
  margin: -36px auto 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stats.in-page {
  margin: 0 0 28px;
  width: 100%;
}

.stats article {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.stats article:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 86px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.split,
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.copy p,
.section-head p,
.school-band p,
.news-card p,
.site-footer p,
.value-card p,
.feature-card p,
.contact-card dd {
  color: var(--muted);
  line-height: 1.8;
}

.cards-3,
.cards-4,
.values-grid {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4,
.values-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.value-card,
.contact-card,
.form-card,
.news-card,
.book-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.feature-card,
.value-card {
  padding: 22px;
}

.feature-card strong,
.value-card strong {
  color: var(--green);
}

.catalogue-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.search {
  min-height: 46px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.filter.active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.book-card {
  min-height: 390px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  transition: transform .2s ease, box-shadow .2s ease;
}

.book-card.is-hidden,
.news-card.is-hidden {
  display: none;
}

.book-card:hover,
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(20, 33, 61, .12);
}

.cover-frame {
  min-height: 292px;
  padding: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(36, 117, 168, .12), rgba(215, 168, 63, .16)), #f6f8f8;
}

.cover-frame img {
  max-height: 250px;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 16px 28px rgba(23, 25, 31, .16);
}

.book-body {
  padding: 18px;
}

.book-body span,
.meta {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.school-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 86px;
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border-radius: 18px;
  background: var(--navy);
}

.school-band h2,
.school-band p {
  color: #fff;
}

.school-band p {
  max-width: 720px;
  opacity: .82;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-grid.wide {
  grid-template-columns: repeat(2, 1fr);
}

.news-card {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-card>div {
  padding: 22px;
}

.text-link {
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.form-card {
  padding: clamp(22px, 4vw, 34px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  min-height: 46px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: #0b5133;
  background: #e8f7ef;
  border: 1px solid rgba(15, 122, 79, .18);
}

.form-message.is-error {
  color: #8a1f11;
  background: #fff0ed;
  border-color: rgba(217, 93, 69, .35);
}

.form-message.is-success {
  color: #0b5133;
  background: #e8f7ef;
  border-color: rgba(15, 122, 79, .24);
}

.button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.contact-card {
  padding: clamp(24px, 4vw, 38px);
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
}

.contact-card dt {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 4px 0 0;
}

.contact-card a {
  color: var(--green);
  font-weight: 850;
}

.map-placeholder {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.map-placeholder iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: 0;
}

.map-panel {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: var(--cream);
  text-align: center;
}

.site-footer {
  margin-top: 80px;
  background: #101820;
  color: #fff;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.4fr 1.1fr .8fr .8fr;
  gap: 28px;
}

.footer-logo {
  width: 60px;
  margin-bottom: 14px;
}

.site-footer h2 {
  font-family: inherit;
  font-size: 14px;
  text-transform: uppercase;
  color: #bdf2df;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  margin: 8px 0;
}

.site-footer p {
  color: rgba(255, 255, 255, .72);
}

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px 12px 0 0;
  color: #000000;
  background: rgba(255, 255, 255, .08);
  font-size: 14px;
}

.copyright strong {
  color: #000000;
}

@media (max-width: 1040px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 8px 0 4px;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .split,
  .contact-layout,
  .school-band,
  .catalogue-tools {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-covers {
    min-height: 430px;
  }

  .stats,
  .book-grid,
  .cards-4,
  .values-grid,
  .news-grid,
  .news-grid.wide,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .top-bar {
    display: none;
  }

  .nav-shell {
    width: calc(100% - 20px);
    margin-top: 10px;
    position: static;
  }

  .brand span {
    display: none;
  }

  .hero,
  .page-hero {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 30px 20px;
    border-radius: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-covers {
    min-height: 330px;
  }

  .cover {
    width: 48%;
  }

  .stats {
    width: calc(100% - 20px);
    margin-top: -18px;
    grid-template-columns: 1fr 1fr;
  }

  .stats article {
    padding: 18px;
  }

  .stats article:nth-child(2) {
    border-right: 0;
  }

  .stats article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section,
  .school-band {
    width: calc(100% - 20px);
    margin-bottom: 56px;
  }

  .book-grid,
  .cards-3,
  .cards-4,
  .values-grid,
  .news-grid,
  .news-grid.wide,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    min-height: auto;
  }

  .copyright {
    display: grid;
  }
}

/* Apply page refinements */
.section-title-md {
  max-width: 760px;
  font-size: clamp(1.8rem, 2.1vw, 2.35rem);
  line-height: 1.06;
}

.apply-form {
  padding: clamp(30px, 4vw, 46px);
}

.apply-form .form-grid {
  gap: 22px 20px;
}

.apply-form label {
  gap: 9px;
}

.apply-form input,
.apply-form select {
  min-height: 56px;
}

.apply-form textarea {
  min-height: 170px;
}

.apply-form .actions {
  margin-top: 34px;
}

@media (max-width: 700px) {
  .section-title-md {
    font-size: clamp(1.8rem, 2.1vw, 2.35rem);
  }

  .apply-form {
    padding: 24px;
  }
}
/* Career page role details */
.role-list {
  display: grid;
  gap: 14px;
}

.role-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(20, 33, 61, .06);
}

.role-card summary {
  min-height: 74px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  font-weight: 900;
  color: var(--ink);
}

.role-card summary span {
  font-size: 1.05rem;
}

.role-card summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.role-card summary a {
  color: var(--green);
  text-decoration: none;
}

.role-content {
  padding: 0 22px 24px;
  border-top: 1px solid var(--line);
}

.role-content h3 {
  margin-top: 22px;
  color: var(--green);
}

.role-content ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.role-content p {
  color: var(--muted);
  line-height: 1.75;
}

.important-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--ink) !important;
  background: var(--cream);
  border: 1px solid rgba(215, 168, 63, .35);
}

.apply-form input[type="file"] {
  min-height: auto;
  padding: 13px;
  background: #fff;
  cursor: pointer;
}

@media (max-width: 700px) {
  .role-card summary {
    display: grid;
  }

  .role-card summary small {
    text-align: left;
  }
}
