:root {
  --paper: #f9f9f4;
  --paper2: #eaf2f4;
  --ink: #15333d;
  --ink2: #324d56;
  --muted: #526c74;
  --line: #cad9de;
  --blue: #155979;
  --gold: #a47735;
  --deep-blue: #103847;
}

.top-bar { background: linear-gradient(90deg, #155979 0 76%, #a47735 76%); height: 4px; }
.header { background: rgba(249, 249, 244, .98); }
.header .languages a { color: var(--ink2); }
.header .languages a[aria-current="page"] { color: var(--blue); font-weight: 800; }
.nav a { font-size: .88rem; letter-spacing: 0; }
.nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: .4em; }
.nav .nav-join { border: 1px solid var(--blue); color: var(--blue); padding: 8px 13px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-160%); padding: 10px 16px; background: white; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #37788f; outline-offset: 4px; }

.hero { min-height: auto; background: var(--paper); }
.hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 24px; min-height: 530px; padding-block: 70px; }
.hero h1, .sub-hero h1 { color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.1; }
.hero h1 { font-size: clamp(2.6rem, 4.35vw, 4.35rem); margin: 0 0 23px; }
.hero-copy { margin: 0 0 27px; line-height: 1.65; }
.hero-art { min-height: auto; margin: 0 -4% 0 0; }
.hero-art::before { background: none; }
.hero-actions { align-items: center; gap: 12px 19px; }
.hero-actions .btn { flex-shrink: 0; max-width: 100%; }
.btn { line-height: 1.35; letter-spacing: 0; font-size: .89rem; min-height: 47px; padding: 10px 18px; }
.inline-link, .detail-link { color: var(--blue); font-weight: 700; font-size: .89rem; }
.inline-link:hover, .detail-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.section.ways, .section.next-steps, .section.membership-summary { padding-block: clamp(48px, 6vw, 87px); }
.ways { background: var(--paper2); }
.ways h2 { margin: 0 0 25px; }
.ways .focus-card { min-height: 214px; padding: 26px 28px; border-color: var(--line); border-top: 3px solid var(--blue); }
.ways .focus-card h3 { margin: 0 0 10px; }
.focus-card .detail-link { display: inline-flex; align-self: flex-end; align-items: center; gap: .4em; padding: 9px 0; margin-top: auto; }
.focus-card p { margin-bottom: 15px; }
.next-steps { background: var(--blue); color: white; }
.next-steps h2, .next-steps p { color: white; margin: 0; }
.next-steps h2, .membership-summary h2 { margin-bottom: 11px; }
.next-steps p, .membership-summary p { max-width: 67ch; margin-bottom: 0; }
.next-steps .btn { background: var(--paper); color: var(--deep-blue); }
.next-steps .btn:hover { background: #e1eef2; }
.next-steps .container, .membership-summary .container { display: flex; align-items: center; gap: 20px 30px; flex-wrap: wrap; }
.next-steps .container > div, .membership-summary .container > div { flex: 1 1 420px; }

.sub-hero { background: var(--paper2); padding-block: clamp(47px, 7vw, 92px); }
.sub-hero h1 { font-size: clamp(2.25rem, 5.3vw, 4rem); margin: 14px 0; }
.sub-hero .lead { max-width: 68ch; margin: 0; }
.back-link { color: var(--blue); font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.detail-body { padding-top: 44px; }
.text-block { padding-bottom: 35px; max-width: 72ch; }
.text-block h2, .enquiry h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; }
.text-block p { margin: 0; }
.page-action { padding-bottom: 56px; }
.detail-body:last-child { padding-bottom: 25px; }
.contact-body { padding-block: 40px 60px; }
.contact-links { display: flex; gap: 9px 22px; flex-wrap: wrap; margin-bottom: 24px; }
.enquiry { background: white; border-color: var(--line); max-width: 730px; }
.enquiry form, .draft-output { display: grid; gap: 10px; margin-top: 20px; }
.draft-output[hidden] { display: none; }
.enquiry label { color: var(--ink); font-size: .93rem; font-weight: 700; }
.enquiry select, .enquiry textarea { border: 1px solid #839ea9; padding: 10px 12px; background: var(--paper); color: var(--ink); width: 100%; font: inherit; }
.enquiry button { justify-self: start; cursor: pointer; }
.enquiry .btn { border: 0; margin-top: 4px; }
.enquiry .draft-output button { border: 0; background: none; padding: 7px 0; }
.form-status { background: var(--paper2); padding: 11px 13px; color: var(--ink); }
.privacy-link a { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }

.footer { background: var(--deep-blue); color: #e9f2f4; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .75fr .85fr; gap: 26px; }
.footer .brand-caption, .footer-meta { color: #bdd4de; }
.footer .brand-dot { color: #e4bc77; }
.footer-group h2 { margin: 0 0 10px; color: white; font: 700 .92rem/1.4 Inter, 'Segoe UI', Arial, sans-serif; }
.footer-group a { display: block; width: fit-content; font-size: .89rem; padding-block: 3px; }
.footer-name { max-width: 24ch; font-size: .9rem; line-height: 1.45; }
.footer-law { display: flex; gap: 18px; }

@media (max-width: 1050px) {
  .hero-in { min-height: 465px; }
  .footer-grid { gap: 19px; }
}
@media (max-width: 800px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-block: 46px 25px; }
  .hero h1 { margin: 0 0 18px; max-width: 16ch; }
  .hero-art { margin: 8px 0 0; max-width: 650px; }
  .nav .nav-join { margin-top: 12px; padding: 12px 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 23px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: clamp(2.05rem, 8.6vw, 2.65rem); letter-spacing: -.9px; }
  .enquiry { padding: 19px; }
  .footer-grid { grid-template-columns: 1fr; }
}
