:root {
  --ink: #07364c;
  --ink-soft: #476575;
  --deep: #005f88;
  --gold: #b8782e;
  --sand: #fff7ea;
  --mist: #eff9fb;
  --line: rgba(7, 54, 76, .14);
  --shadow: 0 28px 80px rgba(3, 54, 87, .12);
  --radius: 8px;
  --font-display: "Lora", serif;
  --font-editorial: "Lora", serif;
  --sans: var(--font-editorial);
  --serif: var(--font-display);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 12% 0%, rgba(210, 238, 247, .62), transparent 30%),
    linear-gradient(180deg, #fbfeff 0%, #fff8ec 58%, #f1fbfd 100%);
}

a {
  color: inherit;
}

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

.authority-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  width: min(1120px, calc(100% - 32px));
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 14px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 250, 236, .78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 16px 44px rgba(3, 54, 87, .10);
  backdrop-filter: blur(12px);
}

.authority-header .main-nav {
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(18px, 2.5vw, 34px);
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}

.authority-header .main-nav a {
  white-space: nowrap;
}

.authority-header .header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--deep);
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  background: var(--deep);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.authority-header .header-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(3, 54, 87, .16);
}

.authority-header .menu-toggle,
.authority-header .nav-guide-mobile {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.authority-header nav,
.authority-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: end;
  font-size: 13px;
  font-weight: 800;
}

.authority-header nav a,
.authority-footer nav a {
  text-decoration: none;
}

.authority-header nav a:hover,
.authority-footer nav a:hover {
  color: var(--gold);
}

.authority-hero {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(30px, 4.5vw, 56px);
  align-items: center;
  margin: clamp(52px, 7vw, 86px) auto 0;
  padding-bottom: clamp(42px, 7vw, 86px);
}

.authority-hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 3.8vw, 50px) !important;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(27px, 3vw, 42px);
}

p,
li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.authority-hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: clamp(17px, 1.4vw, 20px);
}

.authority-hero img {
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(0, 95, 136, .24);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0078b8, #064461);
  box-shadow: 0 18px 42px rgba(0, 91, 132, .22);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .64);
}

.authority-content {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: 22px;
  align-items: start;
  margin: 0 auto clamp(54px, 7vw, 90px);
}

.content-panel,
.decision-panel,
.hub-grid article {
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .92), rgba(239, 249, 252, .72) 58%, rgba(255, 248, 237, .68));
  box-shadow: var(--shadow);
}

.content-panel {
  padding: clamp(28px, 4vw, 48px);
}

.content-panel h2:not(:first-child) {
  margin-top: 34px;
}

.content-panel ul,
.decision-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.decision-panel {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
}

.decision-panel p {
  margin: 0;
}

.decision-panel .button {
  width: 100%;
}

.hub-grid {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto clamp(52px, 7vw, 88px);
}

.hub-grid article {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 3vw, 34px);
}

.hub-grid h2 {
  font-size: clamp(25px, 3vw, 36px);
}

.hub-grid p {
  margin: 0;
}

.hub-grid a,
.link-grid a {
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
}

.hub-grid a:hover,
.link-grid a:hover {
  color: var(--gold);
}

.next-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto clamp(64px, 8vw, 110px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.link-grid a {
  min-height: 58px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
}

.authority-footer {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
  margin: 0 auto 26px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.authority-footer strong {
  font-size: 18px;
  letter-spacing: .08em;
}

.authority-footer p {
  max-width: 520px;
  margin: 10px 0 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .authority-hero,
  .authority-content,
  .authority-footer {
    grid-template-columns: 1fr;
  }

  .authority-footer nav {
    justify-content: start;
  }

  .authority-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .authority-header .brand {
    justify-self: start;
  }

  .authority-header .header-cta {
    min-height: 40px;
    justify-self: end;
    padding-inline: 14px;
    font-size: 13px;
  }

  .authority-header .menu-toggle {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    order: 3;
    align-content: center;
    gap: 4px;
    justify-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(255, 255, 255, .64);
  }

  .authority-header .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
  }

  .authority-header .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(7, 54, 76, .12);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, .98);
    box-shadow: 0 22px 54px rgba(3, 54, 87, .15);
  }

  .authority-header .main-nav.is-open {
    display: flex;
  }

  .authority-header .main-nav a {
    padding: 12px 10px;
  }

  .authority-header .nav-guide-mobile {
    display: none;
  }

  .decision-panel {
    position: static;
  }

  .hub-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .authority-header,
  .authority-hero,
  .authority-content,
  .hub-grid,
  .next-section,
  .authority-footer {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 128px;
  }

  .authority-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
    padding: 9px 12px;
  }

  .authority-header .header-cta {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 12px;
  }

  .authority-header .menu-toggle {
    width: 38px;
    height: 38px;
  }

  h1 {
    max-width: 19ch;
    font-size: clamp(32px, 9.2vw, 38px) !important;
  }

  .authority-actions .button {
    width: 100%;
  }
}
