:root {
  --ink: #112c3b;
  --muted: #526773;
  --paper: #f6f8f5;
  --line: #d4dfdc;
  --green: #112c3b;
  --accent: #f0b843;
  --mint: #d5eee8;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
}

/* Portrait inline media uses the same frame size as the Learning Hub Reel. */
.article-inline-reel .prose .media-block {
  max-width: 340px;
  margin: 32px auto;
}
.article-inline-reel .media-embed {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.article-inline-reel .media-frame-wrap,
.article-inline-reel .video-portrait {
  width: 100%;
  max-width: none;
}
.article-inline-reel .video-portrait {
  margin: 0;
  background: #fff;
}
.article-inline-reel .media-embed .small {
  margin: 0;
  padding: 10px 20px;
  font-size: 12px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.65 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: #286c70;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #2c807c;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.1;
  font-weight: 400;
}
h1,
h2 {
  font-family: var(--serif);
}
h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 500;
}
p {
  max-width: 70ch;
}
button,
.button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 12px 23px;
  border-radius: 2px;
  font-weight: 600;
  min-height: 48px;
}
button:hover,
.button:hover {
  background: #23566a;
  color: white;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
.button.light {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 42px;
}
.notice {
  background: #e6efed;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  padding: 8px 20px;
  text-align: center;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 32px;
  white-space: nowrap;
  line-height: 1;
}
.brand small {
  font-family: Arial, Helvetica, sans-serif;
  display: block;
  font-size: 11px;
  letter-spacing: 0.23em;
  margin-top: 10px;
}
.nav {
  display: flex;
  gap: 27px;
  align-items: center;
  font-size: 15px;
}
.nav a {
  text-decoration: none;
  white-space: nowrap;
}
.nav a[aria-current="page"] {
  color: #286c70;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.support-heading {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
}
.account-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.nav .nav-contact {
  border: 1px solid var(--ink);
  padding: 9px 15px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 23px;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  padding: 82px 0 76px;
  align-items: center;
}
.hero .lead {
  font-size: 19px;
  line-height: 1.65;
  max-width: 490px;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}
.ledger {
  background: var(--green);
  color: #f5f5e9;
  padding: 36px;
  position: relative;
}
.ledger .eyebrow {
  color: var(--accent);
}
.ledger h2 {
  font-size: 43px;
}
.ledger p {
  color: #d8e2d9;
  font-size: 16px;
}
.ledger-rule {
  border-top: 1px solid #507269;
  padding-top: 20px;
  margin-top: 28px;
}
.ledger-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #507269;
  font-size: 14px;
}
.ledger-row strong {
  color: var(--accent);
  font-weight: 500;
}
.ledger small {
  font-size: 12px;
  color: #d8e2d9;
}
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  padding: 19px 0;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}
.strip strong {
  margin-right: auto;
}
.section {
  padding: 65px 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > a {
  font-size: 15px;
  white-space: nowrap;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-card {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}
.knowledge-card[hidden],
.article-card[hidden],
.empty[hidden] {
  display: none;
}
.article-card .number {
  font-family: var(--serif);
  font-size: 44px;
  color: #2c807c;
  display: block;
  margin-bottom: 25px;
}
.article-card :is(h2, h3) {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 16px;
}
.article-card :is(h2, h3) a {
  text-decoration: none;
}
.article-card p {
  font-size: 16px;
  color: var(--muted);
}
.meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.tag {
  font-size: 12px;
  padding: 3px 8px;
  background: #e6efed;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.feature {
  background: #d5eee8;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.feature h2 {
  font-size: 42px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  border-bottom: 1px solid #bac6b3;
  padding: 13px 0;
  display: flex;
  gap: 22px;
}
.steps span {
  color: #286c70;
  font-size: 13px;
}
.steps a {
  text-decoration: none;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.newsletter {
  background: var(--green);
  color: white;
  padding: 45px;
}
.newsletter input {
  background: white;
}
.newsletter p {
  color: #e1e9e0;
}
.newsletter a {
  color: inherit;
}
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 14px;
}
.footer p {
  font-size: 14px;
  color: var(--muted);
  max-width: 400px;
}
.footer .footer-credit {
  margin-top: 14px;
  font-size: 12px;
}
.footer-credit a {
  color: inherit;
  text-decoration: underline;
}
.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.page-head {
  padding: 65px 0 40px;
  max-width: 890px;
}
.page-head h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}
.page-head p {
  color: var(--muted);
  font-size: 20px;
}
.narrow {
  max-width: 780px;
  padding: 60px 0;
}
.narrow h1 {
  font-size: clamp(2.8rem, 5vw, 4.7rem);
}
.about-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 66px 0 96px;
}
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  margin-bottom: 64px;
}
.about-intro h1 {
  margin: 16px 0 20px;
  font-size: clamp(3.6rem, 6vw, 6.2rem);
}
.about-intro p {
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.6;
}
.about-portrait {
  margin: 0;
  background: #d7eee8;
  padding: 12px;
}
.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
}
.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.8fr);
  align-items: start;
  gap: clamp(36px, 7vw, 100px);
  border-top: 1px solid var(--line);
  padding-top: 42px;
}
.about-content h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.1;
}
.about-bio p,
.about-project p {
  line-height: 1.7;
}
.about-bio p {
  max-width: 610px;
  font-size: 17px;
}
.about-bio a,
.about-project a {
  display: inline-block;
  margin-top: 9px;
  font-weight: 700;
  text-underline-offset: 4px;
}
.about-project {
  padding: 32px;
  background: #d7eee8;
}
.about-project h2 {
  margin: 15px 0 22px;
}
@media (max-width: 760px) {
  .about-page {
    padding: 42px 0 70px;
  }
  .about-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 32px;
  }
}
.prose {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1.85;
}
.prose h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 500;
  margin-top: 45px;
}
.prose h3 {
  margin-top: 32px;
}
.prose p {
  margin-bottom: 24px;
}
.prose img {
  max-width: 100%;
  height: auto;
}
.prose figure {
  margin: 25px 0;
}
.prose figcaption {
  font-size: 14px;
  color: var(--muted);
}
.callout {
  border-left: 3px solid #2c807c;
  background: #d5eee8;
  padding: 20px 25px;
  font:
    16px/1.7 Arial,
    Helvetica,
    sans-serif;
  margin: 25px 0;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font:
    15px/1.6 Arial,
    Helvetica,
    sans-serif;
  margin: 25px 0;
}
th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 12px;
}
.video {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: var(--ink);
  margin-top: 20px;
}
.video-portrait {
  display: block;
  max-width: 420px;
  aspect-ratio: 9/16;
}
.media-embed {
  margin: 25px 0;
  font:
    16px/1.7 Arial,
    Helvetica,
    sans-serif;
}
.media-embed .small {
  margin: 10px 0 0;
}
.media-frame-wrap {
  position: relative;
  max-width: 420px;
}
.media-block {
  margin: 25px 0;
}
.sample-video-section > p {
  max-width: 760px;
}
.sample-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 32px;
  margin-top: 32px;
}
.sample-video-card {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.sample-video-card h3 {
  font: 400 25px/1.2 var(--serif);
  margin: 12px 0;
}
.sample-video-card .media-embed {
  margin: 18px 0;
}
.page-head.directory-intro {
  padding-top: 30px;
  padding-bottom: 14px;
}
.page-head.directory-intro h1 {
  font-size: clamp(40px, 5vw, 62px);
  margin: 14px 0;
}
.directory-intro > p:first-of-type {
  font: 400 26px/1.25 var(--serif);
  margin-bottom: 12px;
}
.directory-description {
  max-width: 680px;
}
.directory-browse {
  margin: 28px 0;
}
.directory-browse > h2 {
  font: 400 30px/1.2 var(--serif);
}
.directory-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
}
.directory-filters label.field {
  margin: 0;
  min-width: 0;
}
.directory-filters input,
.directory-filters select {
  min-width: 0;
  width: 100%;
}
.directory-count {
  margin: 18px 0 24px;
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.member-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
}
.member-card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.member-card-header > div {
  min-width: 0;
}
.member-initials {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  background: var(--mint);
  border-radius: 50%;
  font-weight: 600;
  color: var(--ink);
}
.member-card h3 {
  font: 400 27px/1.2 var(--serif);
  margin: 0 0 7px;
}
.member-location {
  font-size: 14px;
  margin: 0;
}
.member-topics {
  margin: 24px 0;
}
.member-topics > div + div {
  margin-top: 18px;
}
.member-topics dt {
  font-size: 13px;
  font-weight: 600;
  color: #286c70;
}
.member-topics dd {
  margin: 6px 0 0;
  white-space: pre-wrap;
}
.member-contact {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.member-contact summary {
  cursor: pointer;
  color: #286c70;
  font-weight: 500;
}
.member-contact p {
  font-size: 15px;
  white-space: pre-wrap;
  margin-bottom: 0;
}
.member-contact-note {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.directory-empty {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
}
.directory-empty h3 {
  font: 400 28px/1.2 var(--serif);
  margin-top: 0;
}
.directory-etiquette {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  max-width: 750px;
}
.directory-etiquette h2,
.directory-profile-help h2 {
  font: 400 27px/1.2 var(--serif);
}
.directory-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}
.directory-profile-layout > div,
.directory-profile-help {
  min-width: 0;
}
.directory-profile-help {
  padding: 24px;
  background: var(--mint);
  margin-top: 0;
}
.directory-profile-help h2 {
  margin-top: 0;
}
.directory-profile .form > .small {
  margin-top: -8px;
}
.directory-profile .form textarea {
  min-height: 95px;
}
.profile-sharing-status {
  background: #fff;
  padding: 20px;
  border-left: 3px solid #2c807c;
}
.profile-sharing-status p {
  margin: 8px 0 0;
}
.directory-profile > p {
  max-width: 700px;
}
.directory-profile h1 {
  font-size: clamp(40px, 5vw, 62px);
}
.membership-request h1 {
  font-size: clamp(40px, 5vw, 62px);
}
.membership-request > p {
  max-width: 720px;
}
.membership-request h2 {
  font: 400 30px/1.25 var(--serif);
}
.membership-review-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.membership-review-card {
  overflow-wrap: anywhere;
}
.membership-review-card h3 {
  font: 400 28px/1.2 var(--serif);
}
.membership-withdraw {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.membership-closed {
  margin-top: 28px;
}
.membership-closed summary {
  cursor: pointer;
  font-weight: 600;
}
@media (max-width: 760px) {
  .directory-filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  .directory-filters button {
    justify-self: start;
  }
  .directory-grid,
  .directory-profile-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .directory-profile-layout {
    gap: 28px;
  }
  .member-card {
    padding: 22px;
  }
  .directory-empty {
    padding: 22px;
  }
}
.filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 40px;
  align-items: start;
}
.filters label.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  line-height: 1.4;
}
.filters .field input,
.filters .field select {
  height: 52px;
  min-width: 0;
  margin-top: 0;
  line-height: 1.25;
}
.empty {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 35px 0;
}
.form {
  max-width: 700px;
}
.form [data-province-field][hidden] {
  display: none;
}
.form label,
label.field {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin: 15px 0;
}
.form input:not([type="checkbox"]),
.form textarea,
.form select,
.field input,
.field select {
  display: block;
  width: 100%;
  margin-top: 8px;
}
input,
textarea,
select {
  border: 1px solid #839489;
  border-radius: 2px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  max-width: 100%;
}
.form input:not([type="checkbox"]):not([type="radio"]),
.field input:not([type="checkbox"]):not([type="radio"]),
.form select,
.field select {
  min-height: 52px;
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23112c3b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
textarea {
  min-height: 140px;
  resize: vertical;
}
.check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px !important;
  font-weight: 400 !important;
}
.check input {
  margin-top: 6px;
  min-width: 18px;
  height: 18px;
}
.hp {
  position: absolute;
  left: -9999px;
}
.status {
  padding: 16px;
  border: 1px solid var(--line);
  background: #e6f3ef;
  color: var(--ink);
  margin: 20px 0;
}
.status.error {
  background: #fff0e8;
  color: #7b2515;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.stack > * + * {
  margin-top: 20px;
}
.tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  flex-wrap: wrap;
}
.admin-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin: 30px 0;
}
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-list a {
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.record {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.record h3 {
  margin-bottom: 10px;
}
.pill {
  font-size: 13px;
  background: #e6efed;
  padding: 4px 9px;
}
.mobile-menu {
  display: none;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 35px 0;
}
@media (max-width: 900px) {
  .header {
    flex-wrap: wrap;
    padding: 24px 0;
  }
  .nav {
    width: 100%;
    flex-wrap: wrap;
  }
  .hero {
    gap: 35px;
  }
  .nav {
    gap: 15px;
  }
  .wrap {
    padding: 0 25px;
  }
  .article-grid {
    gap: 20px;
  }
  .feature {
    gap: 30px;
  }
  .hero h1 {
    font-size: 64px;
  }
}
@media (max-width: 700px) {
  .header {
    min-height: 100px;
    flex-wrap: wrap;
    gap: 22px;
    padding: 24px 0;
  }
  .brand {
    font-size: 29px;
  }
  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 22px;
    font-size: 14px;
  }
  .nav .nav-contact {
    display: inline;
    padding: 0;
    border: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 0;
    gap: 36px;
  }
  .hero h1 {
    font-size: 59px;
  }
  .ledger {
    padding: 27px;
  }
  .wrap {
    padding: 0 21px;
  }
  .article-grid,
  .feature,
  .split,
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .article-card {
    padding-bottom: 24px;
  }
  .article-card .number {
    margin-bottom: 12px;
  }
  .section {
    padding: 42px 0;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .feature {
    padding: 26px;
    gap: 25px;
  }
  .newsletter {
    padding: 28px;
  }
  .footer {
    flex-direction: column;
  }
  .narrow {
    padding: 40px 0;
  }
  .filters {
    grid-template-columns: 1fr;
  }
  .page-head {
    padding-top: 40px;
  }
  .strip {
    gap: 10px 20px;
  }
  .strip strong {
    width: 100%;
  }
  .split {
    gap: 35px;
  }
  h1 {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Restored from Ivan's preferred first concept: navy, mint, gold, and the H. mark. */
.notice {
  background: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
}
.header {
  min-height: 98px;
  border-bottom: 0;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  white-space: nowrap;
}
.brand-mark {
  display: block;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font:
    bold 29px/48px Georgia,
    serif;
  text-align: center;
}
.brand-mark span {
  color: var(--accent);
}
.brand-name {
  font-size: 15px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand-name strong {
  font-size: 18px;
}
.nav {
  font-weight: 600;
}
.nav .nav-contact {
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 4px 0;
}
.eyebrow {
  color: #286c70;
  font-size: 12px;
}
.hero {
  gap: 65px;
  padding: 60px 0 80px;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
}
.hero h1 {
  font-size: clamp(3.5rem, 6.1vw, 6.45rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.hero h1 em {
  color: #2c807c;
  font-weight: 400;
}
.hero .lead {
  color: #254352;
  font-size: 19px;
  max-width: 570px;
}
.hero-footnote {
  font-size: 14px;
  color: var(--muted);
  margin-top: 28px;
}
.ledger {
  background: var(--mint);
  color: var(--ink);
  padding: 0;
  border: 1px solid #b5d6cf;
  box-shadow: 16px 16px 0 #e7eeea;
  overflow: hidden;
  min-height: 505px;
  display: flex;
  flex-direction: column;
}
.panel-top {
  padding: 19px 24px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #a6c9c1;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.panel-main {
  padding: 52px 35px 22px;
  flex: 1;
}
.ledger .eyebrow {
  color: #286c70;
  margin-bottom: 16px;
}
.ledger h2 {
  font:
    500 clamp(2.8rem, 4.3vw, 4.2rem) / 1.04 Georgia,
    serif;
  letter-spacing: -0.055em;
}
.ledger p {
  color: #254352;
  font-size: 15px;
  max-width: 325px;
}
.panel-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #a6c9c1;
}
.panel-steps div {
  font-size: 12px;
  padding: 15px 13px;
  border-right: 1px solid #a6c9c1;
  line-height: 1.5;
}
.panel-steps div:last-child {
  border: 0;
}
.panel-steps b {
  display: block;
  margin-bottom: 4px;
}
.panel-stamp {
  background: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 6px 10px;
  text-align: center;
}
.strip {
  background: var(--ink);
  color: #d5e2e3;
  padding: 22px 28px;
  border: 0;
}
.strip strong {
  color: white;
}
.article-grid {
  gap: 18px;
}
.article-card {
  background: white;
  border: 1px solid var(--line);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.article-card .meta {
  font-size: 12px;
  gap: 8px;
}
.article-card-featured {
  grid-column: 1 / -1;
  background: #e7f2ef;
  border: 1px solid #8baaa4;
  border-left: 5px solid #286c70;
  padding: clamp(24px, 4vw, 40px);
}
.article-feature-label {
  align-self: flex-start;
  background: #286c70;
  color: white;
  padding: 6px 12px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.article-card-featured :is(h2, h3) {
  max-width: 24ch;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  margin-top: 18px;
}
.article-card-featured p {
  max-width: 68ch;
}
.article-card .meta span:first-child {
  color: #286c70;
  text-transform: uppercase;
  font-weight: 700;
}
.article-card .number {
  font-size: 25px;
  margin: 22px 0 16px;
}
.article-card :is(h2, h3) {
  font:
    500 29px/1.17 Georgia,
    serif;
  letter-spacing: -0.035em;
}
.article-card p {
  font-size: 15px;
}
.article-card > a:last-child {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.feature {
  background: var(--accent);
  padding: 45px;
  gap: 60px;
}
.feature .eyebrow {
  color: #58400d;
}
.feature h2 {
  font-size: 42px;
  letter-spacing: -0.04em;
}
.steps li {
  border-color: #bd8c32;
}
.steps span {
  color: #58400d;
}
.newsletter {
  background: var(--ink);
}
.newsletter .eyebrow {
  color: #a7e1d4;
}
.newsletter button {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}
.section {
  padding: 65px 0;
}
.section-heading h2,
.split h2 {
  letter-spacing: -0.045em;
}
.footer .brand {
  font-family: Georgia, serif;
  font-size: 25px;
}
.callout {
  background: #e8f3ef;
}
.status {
  background: #edf5f1;
}
.prose {
  font-size: 19px;
}
.prose h2 {
  color: var(--ink);
}
@media (max-width: 900px) {
  .hero {
    gap: 32px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .nav {
    gap: 17px;
  }
  .header {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .header {
    padding: 24px 0;
  }
  .nav {
    gap: 13px 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 35px 0 55px;
  }
  .hero h1 {
    font-size: clamp(3.3rem, 12vw, 5rem);
  }
  .hero .lead {
    font-size: 18px;
  }
  .ledger {
    min-height: 450px;
    box-shadow: 10px 10px 0 #e7eeea;
  }
  .panel-main {
    padding: 34px 25px 20px;
  }
  .ledger h2 {
    font-size: 46px;
  }
  .panel-steps div {
    padding: 13px 9px;
    font-size: 12px;
  }
  .article-grid {
    gap: 18px;
  }
  .article-card {
    padding: 24px;
  }
  .feature {
    padding: 26px;
    gap: 25px;
  }
  .section-heading {
    flex-direction: column;
    gap: 16px;
  }
  .feature h2 {
    font-size: 36px;
  }
  .notice {
    font-size: 11px;
  }
  .strip {
    padding: 22px;
  }
  .section {
    padding: 44px 0;
  }
  .nav .nav-contact {
    border: 0;
  }
  .newsletter {
    padding: 28px;
  }
  .page-head h1,
  .narrow h1 {
    letter-spacing: -0.05em;
  }
}

/* The front door keeps the H. identity while introducing the learning site. */
.entry-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #f7f8f2;
  background: #112c3b;
}
.entry-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 65% 10%,
      rgba(171, 222, 208, 0.13),
      transparent 36%
    ),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size:
    auto,
    54px 54px,
    54px 54px;
}
.entry-hero-inner {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  padding: 88px 42px 105px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  align-items: center;
  gap: 70px;
}
.entry-kicker {
  display: block;
  margin-bottom: 28px;
  color: #a9ddd3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.entry-copy h1 {
  max-width: 720px;
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(3.5rem, 5.4vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.04;
}
.entry-copy h1 em {
  color: #a9ddd3;
  font-weight: 400;
}
.entry-title-line {
  display: block;
}
.entry-copy p {
  max-width: 590px;
  color: #d8e3df;
  font-size: 19px;
  line-height: 1.68;
}
.entry-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}
.entry-actions .button {
  gap: 24px;
  min-height: 56px;
  padding: 14px 21px;
}
.entry-actions .button:hover {
  background: #ffd579;
  border-color: #ffd579;
  color: var(--ink);
}
.entry-text-link {
  color: #eef5f0;
  font-size: 15px;
  font-weight: 600;
}
.entry-text-link:hover {
  color: #a9ddd3;
}
.entry-art {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid #c3ddd4;
  background: #d5eee8;
  box-shadow: 12px 12px 0 rgba(169, 221, 211, 0.16);
  color: var(--ink);
}
.entry-art-top,
.entry-art-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.entry-art-top {
  border-bottom: 1px solid #aecfc5;
}
.entry-art-bottom {
  border-top: 1px solid #aecfc5;
}
.entry-workflow {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 12px 30px;
}
.entry-workflow li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
}
.entry-workflow li + li {
  border-top: 1px solid #aecfc5;
}
.entry-workflow li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.entry-workflow strong {
  display: block;
  font:
    400 25px/1.15 Georgia,
    serif;
  letter-spacing: -0.03em;
}
.entry-workflow p {
  margin: 8px 0 0;
  color: #365260;
  font-size: 14px;
  line-height: 1.45;
}
.entry-audience {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px 30px;
  padding: 20px 42px;
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
}
.entry-audience span:first-child {
  font-weight: 700;
}
.entry-audience span:not(:first-child)::before {
  content: "✦";
  margin-right: 16px;
  font-size: 9px;
}
.entry-next {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
  padding: 90px 42px 100px;
}
.entry-next-intro h2 {
  max-width: 500px;
  letter-spacing: -0.05em;
}
.entry-next-intro p {
  color: var(--muted);
}
.entry-next-links {
  border-top: 1px solid var(--line);
}
.entry-next-links a {
  display: grid;
  grid-template-columns: 95px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.entry-next-links a:hover {
  background: #e8f3ef;
}
.entry-next-links a span:first-child {
  align-self: start;
  padding-top: 30px;
  color: #286c70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.entry-next-links a strong {
  max-width: 350px;
  font:
    400 25px/1.2 Georgia,
    serif;
  letter-spacing: -0.025em;
}
.entry-next-links a span:last-child {
  padding-right: 16px;
  font-size: 23px;
}
@media (max-width: 900px) {
  .entry-hero-inner {
    gap: 34px;
    padding: 70px 25px 86px;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.8fr);
  }
  .entry-copy h1 {
    font-size: clamp(3.5rem, 6.8vw, 5rem);
  }
  .entry-art {
    min-height: 420px;
  }
  .entry-next {
    gap: 48px;
    padding-inline: 25px;
  }
}
@media (max-width: 700px) {
  .entry-hero-inner,
  .entry-next {
    grid-template-columns: 1fr;
  }
  .entry-hero-inner {
    padding: 54px 21px 64px;
  }
  .entry-copy h1 {
    font-size: clamp(3.2rem, 11vw, 5rem);
  }
  .entry-copy p {
    font-size: 17px;
  }
  .entry-art {
    min-height: 0;
    max-width: 520px;
    box-shadow: 10px 10px 0 rgba(169, 221, 211, 0.16);
  }
  .entry-workflow {
    padding: 8px 22px;
  }
  .entry-workflow strong {
    font-size: 21px;
  }
  .entry-audience {
    justify-content: flex-start;
    padding: 19px 21px;
  }
  .entry-audience span:first-child {
    width: 100%;
  }
  .entry-next {
    gap: 28px;
    padding: 60px 21px 70px;
  }
  .entry-next-links a {
    grid-template-columns: 72px 1fr auto;
    gap: 10px;
  }
  .entry-next-links a strong {
    font-size: 20px;
  }
}

.hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-areas: "intro intro" "paths reel" "articles reel";
  grid-template-rows: min-content min-content 1fr;
  align-items: start;
  gap: 34px clamp(28px, 4vw, 56px);
  padding: 42px 0 48px;
}
.hub-intro {
  grid-area: intro;
  min-width: 0;
}
.hub-intro .eyebrow {
  color: #286c70;
  margin-bottom: 16px;
}
.hub-intro h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 5.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.hub-intro p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.hub-layout > .hub-paths {
  grid-area: paths;
}
.hub-featured-reel {
  grid-area: reel;
  width: 100%;
  max-width: 340px;
  justify-self: end;
  align-self: stretch;
}
.hub-reel-player {
  position: sticky;
  top: min(24px, calc(100dvh - 665px));
  border: 1px solid var(--line);
  background: #fff;
}
.hub-featured-reel .media-embed {
  min-width: 0;
  margin: 0;
}
.hub-featured-reel .media-frame-wrap,
.hub-featured-reel .video-portrait {
  max-width: none;
  width: 100%;
}
.hub-featured-reel .video-portrait {
  margin: 0;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}
.hub-featured-reel iframe {
  background: #fff;
}
.hub-featured-reel .small {
  margin: 0;
  padding: 10px 20px;
  font-size: 12px;
}
.hub-reel-copy {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #e8f3ef;
}
.hub-reel-copy .eyebrow {
  margin-bottom: 8px;
  font-size: 10px;
}
.hub-reel-copy h2 {
  margin: 8px 0 12px;
  font: 400 1.65rem/1.14 var(--serif);
  letter-spacing: -0.03em;
}
.hub-reel-copy p {
  font-size: 14px;
  line-height: 1.5;
}
.hub-reel-copy a {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.hub-paths {
  border-top: 1px solid var(--line);
}
.hub-paths a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5px 18px;
  min-height: 92px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.hub-paths a:hover {
  background: #e8f3ef;
}
.hub-paths a span:first-child {
  grid-column: 1 / -1;
  color: #286c70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hub-paths a strong {
  font: 400 24px/1.2 var(--serif);
  letter-spacing: -0.02em;
}
.hub-paths a span:last-child {
  font-size: 22px;
  line-height: 1;
}
.hub-articles {
  grid-area: articles;
  min-width: 0;
  padding: 0;
}
.hub-articles .section-heading {
  align-items: start;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.hub-articles .section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}
.hub-articles .article-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}
.hub-articles .article-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 20px;
  padding: 18px;
}
.hub-articles .article-card:has(.article-visual) {
  grid-template-columns: 140px minmax(0, 1fr);
}
.hub-articles .article-card:has(.article-visual) > :not(.article-visual) {
  grid-column: 2;
}
.hub-articles .article-card .article-visual {
  grid-column: 1;
  grid-row: 1 / span 4;
  align-self: stretch;
  width: 100%;
  min-height: 140px;
  margin: 0;
  padding: 12px;
}
.hub-articles .article-card .article-visual svg {
  height: 64px;
}
.hub-articles .article-visual-label {
  font-size: 10px;
  letter-spacing: 0.08em;
}
.hub-articles .article-card .number {
  display: none;
}
.hub-articles .article-card :is(h2, h3) {
  margin: 0;
  font-size: 23px;
}
.hub-articles .article-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.hub-articles .article-card > a:last-child {
  margin: 0;
  padding: 4px 0 0;
  border: 0;
  font-size: 12px;
}
@media (max-width: 900px) {
  .hub-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "paths" "reel" "articles";
    gap: 32px;
    padding: 34px 0 36px;
  }
  .hub-intro h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
  }
  .hub-paths a {
    min-height: 79px;
  }
  .hub-featured-reel {
    justify-self: center;
  }
  .hub-reel-player {
    position: static;
  }
}
@media (max-width: 700px) {
  .hub-intro h1 {
    font-size: clamp(2.9rem, 12vw, 4rem);
  }
  .hub-articles .article-card:has(.article-visual) {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px 14px;
    padding: 15px;
  }
  .hub-articles .article-card .article-visual {
    grid-row: 1 / span 2;
    min-height: 100px;
    padding: 8px;
  }
  .hub-articles .article-card :is(h2, h3) {
    font-size: 21px;
  }
  .hub-articles .article-card:has(.article-visual) > p,
  .hub-articles .article-card:has(.article-visual) > a:last-child {
    grid-column: 1 / -1;
  }
}

.article-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% + 52px);
  min-height: 194px;
  margin: -26px -26px 22px;
  padding: 17px 20px;
  overflow: hidden;
  color: #173644;
}
.article-visual-source {
  background: #d7eee8;
}
.article-visual-match {
  background: #e8f0ec;
}
.article-visual-review {
  background: #e9ede7;
}
.article-visual svg {
  display: block;
  width: min(100%, 210px);
  height: 100px;
}
.article-visual-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.article-card .article-visual ~ .number {
  margin: 12px 0 10px;
}
.feature .steps {
  position: relative;
}
.feature .steps::before {
  content: "";
  position: absolute;
  top: 29px;
  bottom: 29px;
  left: 18px;
  width: 1px;
  background: #86621d;
}
.feature .steps li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 18px;
  border: 0;
  padding: 7px 0;
}
.feature .steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #86621d;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.feature .steps a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #bd8c32;
}
@media (max-width: 700px) {
  .article-visual {
    width: calc(100% + 48px);
    margin: -24px -24px 22px;
  }
}

.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;
}
.assistant-widget {
  position: fixed;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  color: var(--ink);
}
.assistant-launcher {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  border: 1px solid #d6e5e0;
  border-radius: 999px;
  background: var(--ink);
  padding: 9px 18px 9px 9px;
  box-shadow: 0 8px 30px #112c3b30;
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.assistant-launcher-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
}
.assistant-chat {
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 32px));
  height: min(590px, calc(100dvh - 104px));
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #afcbc4;
  background: var(--paper);
  box-shadow: 0 12px 40px #112c3b38;
}
.assistant-chat[hidden] {
  display: none;
}
.assistant-chat-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  background: var(--mint);
  padding: 18px 20px 16px;
}
.assistant-chat-head .eyebrow {
  font-size: 0.68rem;
}
.assistant-chat-head h2 {
  margin: 3px 0 0;
  font-size: 1.65rem;
}
.assistant-close {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.assistant-chat-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px;
}
.assistant-welcome p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.assistant-prompts {
  display: grid;
  gap: 8px;
}
.assistant-prompts button {
  border: 1px solid #b6cbc5;
  background: white;
  padding: 10px 12px;
  color: var(--ink);
  text-align: left;
  font-size: 0.87rem;
  cursor: pointer;
}
.assistant-prompts button:hover {
  border-color: #327d78;
  background: #eaf6f2;
}
.assistant-turn + .assistant-turn {
  margin-top: 22px;
}
.assistant-question {
  width: fit-content;
  max-width: 90%;
  margin: 0 0 10px auto;
  border-radius: 14px 14px 2px 14px;
  background: var(--ink);
  padding: 10px 13px;
  color: white;
  font-size: 0.9rem;
  line-height: 1.45;
}
.assistant-answer,
.assistant-error {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 2px 14px 14px 14px;
  background: white;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-line;
}
.assistant-answer > p {
  margin: 0;
}
.assistant-error {
  color: #802d2d;
}
.assistant-links {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}
.assistant-links h3 {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.assistant-links a {
  display: grid;
  gap: 2px;
  border: 1px solid #c7dcd6;
  background: #f6fbf8;
  padding: 9px 10px;
  text-decoration: none;
}
.assistant-links a:hover {
  border-color: #327d78;
}
.assistant-links span {
  color: var(--muted);
  font-size: 0.8rem;
}
.assistant-chat-bottom {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background: white;
  padding: 12px;
}
.assistant-input-row {
  display: flex;
  gap: 6px;
}
.assistant-input-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid #b6cbc5;
  border-radius: 0;
  padding: 10px;
  color: var(--ink);
  font-size: 0.88rem;
}
.assistant-input-row button {
  border: 0;
  background: var(--ink);
  padding: 0 14px;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.assistant-input-row button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.assistant-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.45;
}
@media (max-width: 480px) {
  .assistant-widget {
    right: 12px;
    bottom: 12px;
  }
  .assistant-chat {
    height: min(580px, calc(100dvh - 84px));
  }
}

/* Knowledge Centre: retain the established navy, mint and gold palette. */
.knowledge-index .tabs {
  margin-bottom: 30px;
}
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.knowledge-card {
  border: 1px solid var(--line);
  padding: 26px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.knowledge-card h2 {
  font-size: 1.8rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.knowledge-card p {
  margin-bottom: 0;
}
.knowledge-card .small:last-child {
  margin-top: auto;
}
.alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 24px 0;
}
.alphabet button {
  padding: 8px 10px;
  min-width: 40px;
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.alphabet button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.knowledge-intro {
  font-size: 1.35rem;
  line-height: 1.5;
}
.knowledge-detail h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  overflow-wrap: anywhere;
}
.knowledge-detail h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-top: 42px;
}
.knowledge-detail h3 {
  line-height: 1.35;
}
.knowledge-detail .source-notes {
  border-top: 1px solid var(--line);
  margin-top: 42px;
}
.knowledge-detail .source-notes li {
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.related-content {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}
.related-group li {
  margin-bottom: 12px;
}
.practice-question {
  margin: 24px 0;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  min-width: 0;
}
.practice-question fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.practice-question legend {
  padding: 0;
  font-weight: 600;
  line-height: 1.4;
  width: 100%;
  overflow-wrap: anywhere;
}
.practice-options {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}
.practice-question .check,
.lesson-progress .check {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: inherit !important;
  line-height: 1.5;
  cursor: pointer;
}
.practice-question .check {
  padding: 8px 0;
  min-height: 44px;
}
.practice-question input,
.lesson-progress input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  margin: 0.22em 0 0;
}
.practice-question details {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.practice-question summary {
  cursor: pointer;
  font-weight: 600;
}
.practice-question details p {
  margin: 18px 0 0;
}
.lesson-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}
.lesson-navigation a {
  gap: 14px;
  min-width: 0;
  padding: 16px 20px;
  line-height: 1.4;
  text-align: left;
}
.lesson-navigation-label {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.lesson-navigation-arrow {
  flex: 0 0 auto;
  line-height: 1;
}
.lesson-sequence {
  padding-left: 24px;
}
.lesson-sequence li {
  border-bottom: 1px solid var(--line);
  padding: 24px 10px;
}
.lesson-sequence h3 {
  margin-bottom: 12px;
}
.lesson-progress p {
  margin: 12px 0 0;
}
.nav {
  flex-wrap: wrap;
}
@media (max-width: 1000px) {
  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .knowledge-grid,
  .related-content {
    grid-template-columns: 1fr;
  }
  .knowledge-card {
    padding: 22px;
  }
  .practice-question {
    padding: 18px 14px;
  }
  .lesson-navigation {
    grid-template-columns: 1fr;
  }
  .alphabet button {
    min-height: 44px;
  }
  .knowledge-intro {
    font-size: 1.15rem;
  }
}

/* Audit refinements: preserve the visual identity while simplifying controls. */
.mobile-navigation {
  display: none;
}
.resource-menu {
  position: relative;
}
.resource-menu summary,
.mobile-navigation summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.resource-menu summary::after {
  content: "⌄";
}
.resource-menu-links {
  position: absolute;
  z-index: 60;
  top: 100%;
  right: 0;
  width: 220px;
  padding: 12px;
  background: #fff;
  color: #1a3445;
  box-shadow: 0 12px 30px #17394726;
  border: 1px solid #cbd8d5;
  border-radius: 8px;
}
.resource-menu-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
}
.nav > a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
input,
select,
textarea {
  font-size: 16px;
}
.alphabet button {
  min-width: 44px;
  min-height: 44px;
}
.newsletter-unavailable {
  border-left: 3px solid #b6c9bf;
  padding: 8px 0 8px 20px;
}
.newsletter-unavailable p {
  margin: 0 0 8px;
}
.newsletter-unavailable p:last-child {
  margin-bottom: 0;
}
.assistant-widget {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: auto;
  display: block;
  width: fit-content;
  margin: 20px 0;
}
.assistant-launcher {
  min-height: 48px;
  box-shadow: none;
}
.assistant-chat {
  position: absolute;
  z-index: 65;
  right: auto;
  left: 0;
  bottom: calc(100% + 12px);
  width: min(420px, calc(100vw - 48px));
  max-height: min(620px, 80dvh);
}
.assistant-chat-body {
  min-height: 0;
  overflow-y: auto;
}
.assistant-close {
  min-width: 44px;
  min-height: 44px;
}
:focus-visible {
  outline: 3px solid #996c14;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 94px;
    padding-block: 14px;
  }
  .desktop-navigation {
    display: none;
  }
  .mobile-navigation {
    display: block;
  }
  .mobile-navigation summary {
    padding: 8px 12px;
    border: 1px solid #aabeb5;
    border-radius: 6px;
  }
  .mobile-navigation[open] {
    flex-basis: 100%;
  }
  .mobile-navigation[open] summary {
    width: fit-content;
    margin-left: auto;
  }
  .mobile-menu-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding-top: 14px;
  }
  .mobile-menu-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    text-decoration: none;
    border-radius: 4px;
  }
  .mobile-menu-links a[aria-current="page"] {
    background: #e3ede6;
  }
  .mobile-menu-links .nav-contact {
    background: #173947;
    color: #fff;
  }
  .page-head {
    padding-top: 36px;
    padding-bottom: 32px;
  }
  .assistant-widget {
    position: relative;
    right: auto;
    bottom: auto;
  }
  .assistant-chat {
    left: 0;
    right: auto;
    bottom: calc(100% + 12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .entry-title-line {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.form-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.form-fields[hidden] {
  display: none;
}
.topic-start {
  padding: 24px;
  margin-block: 32px;
  background: #e9f0ea;
  border-left: 3px solid #b19a5b;
}
.topic-start .related-group h3 {
  font-size: 22px;
}

[hidden] {
  display: none !important;
}
