:root {
  color-scheme: light;
  --ink: #0b2436;
  --copy: #46606b;
  --teal: #00766e;
  --teal-dark: #005e57;
  --mint: #c9f4e9;
  --mist: #edf7f5;
  --paper: #fff;
  --line: #d8e5e5;
  --navy: #09283c;
  --logo-navy: #003261;
  --logo-teal: #00a799;
  --heading-teal: color-mix(in srgb, var(--logo-teal) 88%, var(--logo-navy));
  --hexagon-pattern: url("assets/hero-hexagons.svg");
  --hexagon-ratio: 2 / 1.7320508075688772;
  --hexagon: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--font); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(2.55rem, 4.45vw, 4.45rem); font-weight: 700; letter-spacing: -.068em; }
h2 { font-size: clamp(2.2rem, 4.1vw, 3.95rem); font-weight: 680; text-wrap: balance; }
h3 { font-size: 1.28rem; font-weight: 680; }
a { color: inherit; text-underline-offset: .19em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #008d85; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .7rem; left: .7rem; padding: .7rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 3; background: white; border-bottom: 1px solid var(--line); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; min-height: 78px; }
.brand { display: inline-flex; flex: none; }
.brand img { display: block; width: clamp(155px, 16vw, 187px); height: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
nav a { font-size: .91rem; font-weight: 570; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.menu-toggle, .mobile-contact { display: none; }

.button, .menu-toggle {
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .68rem 1.28rem;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--teal);
  color: #fff;
  font-weight: 650;
  font-size: .96rem;
  text-decoration: none;
  cursor: pointer;
}
.button { display: inline-flex; }
.button:hover { background: var(--teal-dark); }
.button:disabled { cursor: default; opacity: .6; }
.header-cta { min-height: 40px; padding: .45rem 1.09rem; border-color: var(--line); background: white; color: var(--ink); font-size: .89rem; }
.header-cta:hover { background: var(--mist); }
.button-mint { background: var(--mint); color: var(--navy); }
.button-mint:hover { background: white; }
.button-outline { background: #f8fcfb; border-color: #abcac5; color: var(--teal-dark); }
.button-outline:hover { background: var(--mint); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #f3faf8; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--hexagon-pattern) repeat;
  mask-image: linear-gradient(to right, transparent 28%, rgb(0 0 0 / 35%) 53%, black 84%);
}
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(0, .84fr); grid-template-areas: "copy visual" "gallery gallery"; align-items: center; align-content: center; gap: 1.25rem clamp(1rem, 4vw, 4rem); min-height: clamp(450px, 43vw, 630px); padding-block: clamp(32px, 4.7vw, 72px); }
.hero-copy { grid-area: copy; position: relative; z-index: 1; padding-top: 1rem; }
.hero-title { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(.5rem, 1.15vw, 1.1rem); font-size: clamp(2rem, 4.15vw, 4.35rem); line-height: 1.08; }
.hero-mark { display: block; width: auto; height: 2lh; }
.hero h1 { font-size: inherit; }
.hero-title-line { display: block; }
.hero-title-accent { color: var(--heading-teal); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.2rem; margin-top: 1.7rem; }
.secondary-action { color: var(--teal-dark); font-weight: 650; }
.hero-actions { gap: .55rem; }
.hero-actions .button { padding-inline: 1rem; }
.hex-photo { position: relative; isolation: isolate; min-width: 0; padding: 8%; }
.hex-photo::before, .hex-photo::after, .portrait::before, .portrait::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: var(--hexagon-ratio);
  clip-path: var(--hexagon);
  pointer-events: none;
}
.hex-photo::before, .portrait::before { background: #e0f1ed; transform: scale(.85) translateX(-15%); }
.hex-photo::after, .portrait::after { background: #c7dce8; transform: scale(.85) translate(15%, 25%); }
.hex-photo::before { top: -7%; left: -3%; width: 94%; }
.hex-photo::after { right: -3%; bottom: 13%; width: 81%; }
.hex-photo img { display: block; width: 100%; aspect-ratio: var(--hexagon-ratio); object-fit: cover; clip-path: var(--hexagon); }
.photo-shadow { display: block; min-width: 0; filter: drop-shadow(0 6px 7px rgb(9 40 60 / .25)); }
.retinal-photo > img, .retinal-fundus-frame:not(.retinal-cutaway-frame), .meetings-banner figure > img, .membership {
  box-shadow: 0 6px 14px rgb(9 40 60 / .2);
}
.hero-visual { grid-area: visual; width: min(100%, 535px); justify-self: end; }
.hero-gallery {
  grid-area: gallery;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(.35rem, 1.5vw, 1.15rem);
  width: 100%;
  max-width: 880px;
}
.hero-gallery .hex-photo:first-child img { object-position: center 63%; }

.notice { padding-top: 1.15rem; }
.brand-accent { color: var(--heading-teal); }
.notice-inner { display: flex; gap: .9rem; align-items: center; padding: .8rem 1.15rem; border: 1px solid var(--navy); border-radius: 14px; background: var(--navy); }
.notice-icon { display: block; flex: none; width: 36px; height: auto; }
.notice-inner p { color: #deedee; font-size: .93rem; }
.notice-inner strong { color: white; }
.notice-inner a { flex: none; margin-left: auto; color: var(--mint); font-size: .93rem; font-weight: 650; }
.notice + .notice { padding-top: .6rem; }
.notice-inner.notice-link { background: var(--logo-navy); border-color: var(--logo-navy); text-decoration: none; }
.notice-inner.notice-link:hover { background: var(--navy); }
.notice-link:hover strong { text-decoration: underline; }
.notice-arrow { margin-left: auto; color: var(--mint); }

.section { padding-block: clamp(58px, 7vw, 105px); }
.detail-page:not(:target) { display: none; }
main:has(> .detail-page:target) > :not(.detail-page) { display: none; }
.detail-page .heading { margin-top: 1.5rem; }
.detail-page h1 { max-width: none; }
.retinal-page .heading p { max-width: 75ch; margin-top: 1rem; }
.factsheet-grid, .retinal-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.retinal-photographs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 1.4vw, 1rem); }
.retinal-photographs .retinal-photo { padding: clamp(.75rem, 1.5vw, 1.25rem); }
.retinal-intro, .audience-heading {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(95deg, #f3faf8 40%, rgb(243 250 248 / .55) 100%),
    var(--hexagon-pattern) right top / 350px auto repeat, #f3faf8;
}
.retinal-photo figcaption { color: var(--copy); }
.retinal-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.retinal-fundus-frame { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #000; }
.retinal-fundus-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.retinal-cutaway-frame { background: white; }
.factsheet-grid { margin-top: 1rem; }
.retinal-surgery { align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.retinal-surgery > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mist);
}
.retinal-surgery p { margin-top: .65rem; }
.retinal-factsheets { margin-top: clamp(1.5rem, 5vw, 3rem); }
.guidance-index { padding-top: clamp(2rem, 5vw, 4rem); }
.guidance-card { text-decoration: none; }
.guidance-card > span { margin-top: auto; color: var(--teal-dark); font-weight: 650; }
.guidance-card.factsheet-card-dark > span { color: var(--mint); }
.guidance-card:hover { border-color: var(--teal); }
.guidance-card:hover > span, .guidance-card:focus-visible > span { text-decoration: underline; }
.audience-page .heading p { max-width: 65ch; }
.audience-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.5rem, 2vw, 1.25rem);
  padding: clamp(.65rem, 1vw, .9rem) clamp(1rem, 3vw, 2.4rem);
}
.audience-photo { width: min(94%, 425px); justify-self: center; padding: .55rem; }
#pet-owners .audience-photo img { object-position: center 43%; }
.audience-layout { align-items: start; }
.audience-faq h2 { margin-bottom: .8rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.audience-faq details:first-of-type { border-top: 1px solid var(--line); }
.audience-faq details p { max-width: 65ch; }
.audience-layout .factsheet-card h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); }
.retinal-page h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); }
.retinal-topics { margin-block: clamp(1.5rem, 5vw, 3rem); }
.retinal-topics h2, .retinal-surgery h2, .retinal-factsheets h2 { color: var(--logo-navy); }
.retinal-topics .resource:nth-child(2), .retinal-topics .resource:nth-child(3) { background: var(--mist); }
.retinal-topics p { margin-top: .6rem; max-width: 66ch; }
@media (max-width: 560px) { .retinal-photographs, .factsheet-grid, .retinal-topics { grid-template-columns: 1fr; } }

.soft { background: #f3f8f8; }
.heading { margin-bottom: clamp(1.25rem, 3vw, 2.2rem); }
.heading p { margin-top: .55rem; color: var(--copy); }
.hero h1, .heading h1, .heading h2, .about-copy h2, .contact h2 { color: var(--logo-navy); }
.heading .section-title-teal { color: var(--heading-teal); }
.finder { display: grid; grid-template-columns: minmax(235px, .75fr) minmax(0, 1.4fr); align-items: stretch; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.filter-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.3rem, 4vw, 3.1rem); }
.filter-panel label:not(:first-child) { margin-top: 1rem; }
label { display: block; color: var(--ink); font-size: .91rem; font-weight: 650; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  margin-top: .35rem;
  padding: .65rem .75rem;
  border: 1px solid #aebfc3;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font-size: 1rem;
}
select { appearance: none; padding-right: 2rem; background: white url("assets/chevron.svg") right .75rem center/14px 8px no-repeat; }
select:disabled { opacity: .6; }
textarea { resize: vertical; }
.region-panel { min-width: 0; padding: clamp(1rem, 3vw, 2rem); background: var(--mist); }
.region-title { margin-bottom: .65rem; font-size: .95rem; font-weight: 650; }
.region-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; margin: 0; padding: 0; list-style: none; }
.region-button {
  display: grid;
  grid-template-rows: 46px auto;
  height: 100%;
  min-height: 88px;
  line-height: 1.15;
  text-align: center;
  justify-items: center;
  align-items: center;
  gap: .3rem;
  width: 100%;
  padding: .6rem .35rem;
  border: 1px solid #abcac5;
  border-radius: 12px;
  background: white;
  color: var(--teal-dark);
  font-weight: 650;
  cursor: pointer;
}
.region-button svg { box-sizing: border-box; width: min(100%, 74px); height: 100%; padding: 3px; fill: currentColor; fill-rule: evenodd; }
.region-button:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
.region-button:hover { border-color: var(--teal-dark); background: var(--mint); }
.region-button[aria-pressed="true"] { border-color: var(--teal-dark); background: var(--teal-dark); color: white; }
.region-note { margin-top: .75rem; color: var(--copy); font-size: .85rem; font-weight: 650; }
.region-locations { display: flex; flex-wrap: wrap; gap: .3rem .8rem; color: var(--teal-dark); font-size: .88rem; }
.directory-summary { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1rem .65rem; }
#results { color: var(--copy); font-size: .91rem; }
.text-button { border: 0; background: transparent; padding: .15rem 0; color: var(--teal-dark); font-weight: 650; text-align: left; text-decoration: underline; text-underline-offset: .19em; cursor: pointer; }
.roster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.member { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; }
.portrait { position: relative; display: grid; place-items: center; isolation: isolate; min-height: 184px; overflow: hidden;
  background: linear-gradient(to right, #eef7f6 12%, transparent 95%),
    var(--hexagon-pattern) 0 0 / 312px auto repeat, #eef7f6;
}
.portrait::before { left: calc(50% - 120px); bottom: 34px; width: 170px; }
.portrait::after { right: calc(50% - 110px); bottom: 43px; width: 136px; }
.portrait > * { grid-area: 1 / 1; }
.portrait > .photo-shadow { width: min(160px, calc(100% - 24px)); }
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--hexagon-ratio);
  clip-path: var(--hexagon);
  object-fit: cover;
  object-position: var(--portrait-position, center top);
}
.portrait img[data-member="allison-hoffman"] { --portrait-position: center 36%; }
.portrait img[data-member="kelly-caruso"] { --portrait-position: center 24%; }
.portrait img[data-member="kim-hsu"] { --portrait-position: center 68%; }
.portrait-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--hexagon-ratio);
  clip-path: var(--hexagon);
  background: #c6d3db;
}
.portrait-frame:has([data-member="chris-dixon"])::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12px;
  background: url("assets/portraits/chris-dixon.jpg") center / cover no-repeat;
  filter: blur(16px);
}
.portrait-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: none;
  transform: scale(1.12);
  transform-origin: center 22%;
}
.portrait-frame img[data-member="chris-dixon"] {
  object-fit: contain;
  object-position: center;
  mask-image: linear-gradient(90deg, transparent 21%, black 28%, black 72%, transparent 79%);
}
.initials { color: var(--teal-dark); font-size: 1.8rem; font-weight: 680; }
.member-body { flex: 1; display: flex; flex-direction: column; padding: 1rem; }
.loc { margin-bottom: .35rem; color: var(--teal-dark); font-size: .84rem; font-weight: 650; }
.credentials { margin-top: .28rem; color: var(--copy); font-size: .83rem; }
.clinic { margin-top: .55rem; color: var(--ink); font-size: .89rem; font-weight: 630; }
.bio { margin: .5rem 0 .85rem; color: var(--copy); font-size: .92rem; }
.member-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin-top: auto; padding-top: .65rem; border-top: 1px solid var(--line); color: var(--teal-dark); font-size: .86rem; font-weight: 650; }

.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); }
.section-lead { max-width: 48ch; margin-top: .85rem; color: var(--copy); font-size: 1.07rem; }
.aims, .membership ul { padding-left: 1.15rem; }
.aims li, .membership li { margin-block: .5rem; }
details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.about-detail details:first-child, .fellowship { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-size: 1.02rem; font-weight: 650; }
details p { margin-block: .6rem; color: var(--copy); }
details .actions { margin-block: .65rem .2rem; }
details a, .resource a, .destination a { color: var(--teal-dark); font-weight: 650; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.resource { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: clamp(1.1rem, 3vw, 1.7rem); border: 1px solid var(--line); border-radius: 18px; background: #f6faf9; }
.resource .eyebrow { color: var(--teal-dark); font-size: .84rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.resource p:not(.eyebrow) { color: var(--copy); }
.meetings-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30%);
  align-items: center;
  gap: clamp(.75rem, 3vw, 2.4rem);
  padding: clamp(.85rem, 2vw, 1.5rem) clamp(1rem, 3vw, 2.4rem) 2.55rem;
  border-radius: 24px;
  background: linear-gradient(110deg, var(--navy), rgb(9 40 60 / .75)),
    var(--hexagon-pattern) right center / 420px auto repeat, var(--logo-navy);
  color: white;
}
.meetings-banner figure { width: min(100%, 320px); justify-self: end; }
.meetings-banner h2 { font-size: clamp(2.1rem, 4.25vw, 3.15rem); line-height: 1; }
.meetings-banner-title {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: clamp(.45rem, 2vw, 1.6rem);
}
.meetings-banner-title h2 { grid-area: 1 / 1; }
.meetings-banner-title::before {
  content: "";
  grid-area: 1 / 2;
  width: min(100%, 12rem);
  aspect-ratio: 397 / 371;
  background: url("assets/hexagon-mark.png") center / contain no-repeat;
  filter: brightness(1.4);
  opacity: .24;
  pointer-events: none;
}
.meetings-banner img { display: block; width: 100%; height: auto; border-radius: 14px; }
.meetings-banner figcaption { margin-top: .55rem; color: #deedee; font-size: .9rem; }
.meeting-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.6rem, 2vw, 1.45rem);
  margin-block: -2.5rem 1rem;
  padding-inline: .4rem;
}
.meeting-photo-lecture img { object-position: 65% center; }
.meeting-photo-ecvo img { object-position: 85% center; }
.meeting-photo-bravo img { object-position: center 35%; }
.meeting-photo-theatre img { object-position: center 44%; }
.factsheet-card a { margin-top: auto; }
.factsheet-card-light { background: var(--mist); }
.factsheet-card-dark { color: white; background: var(--navy); border-color: var(--navy); }
.factsheet-card-dark p:not(.eyebrow) { color: #deedee; }
.factsheet-card-dark a { color: var(--mint); }
.factsheet-card .factsheet-home { margin-top: .45rem; }
.factsheet-card-dark .factsheet-home { color: var(--navy); }
.fellowship { margin-top: 1.4rem; }
.papers { border-top: 1px solid var(--line); }
.paper { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: .6rem 1rem; padding: 1rem .15rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.paper time, .paper small { color: var(--copy); font-size: .86rem; }
.paper-title { display: block; color: var(--teal-dark); font-weight: 650; line-height: 1.25; }
.archive-button { margin-top: 1.25rem; }
.archive-search { margin-bottom: 2rem; }
.archive-search a { color: var(--teal-dark); }
.publication-year { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 1rem; margin-bottom: 2rem; }
.publication-year h2 { padding-top: .85rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.archive-paper { display: block; }
.society-links { list-style: none; padding: 0; }
.society-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(68px, 32%);
  align-items: center;
  gap: .85rem;
  height: 100%;
  min-height: 118px;
}
.society-link strong { color: var(--teal-dark); font-size: 1.25rem; }
.society-link div > span { display: block; color: var(--copy); }
.society-mark {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: .55rem;
  border-radius: 12px;
  background: #e4f2f1;
}
.society-mark img { display: block; width: 100%; height: 54px; object-fit: contain; opacity: .78; }
.society-mark-dark { background: #486a7f; }

.membership {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: 24px;
  background-color: var(--navy);
  background-image: linear-gradient(110deg, rgb(9 40 60 / .84), rgb(9 40 60 / .7)), url("assets/membership-theatre.jpg");
  background-position: center 46%;
  background-size: cover;
  color: white;
}
.membership p { margin-block: .8rem 1.1rem; color: #deedee; }
.membership ul { margin-block: 0; color: #deedee; }
.contact-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; width: min(100%, 530px); margin-top: 1.35rem; }
.contact-gallery .hex-photo:first-child img { object-position: 37% 38%; }
.contact-gallery .hex-photo:nth-child(2) img { object-position: 46% 24%; }
.contact-gallery .hex-photo:last-child img { object-position: 62% center; }
.contact-note { margin-top: 1.2rem; color: var(--ink); }
.contact form { min-width: 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 18px; background: white; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.form-grid .wide { grid-column: 1 / -1; }
.phone-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.phone-field legend { padding: 0; font-size: .91rem; font-weight: 650; }
.phone-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: .55rem; }
.phone-field small { display: block; margin-top: .35rem; color: var(--copy); }
#other-phone-code-field { margin-top: .55rem; }
.field-optional { color: var(--copy); font-weight: 400; }
.contact form > .button { margin-top: 1rem; }
.general-enquiries { margin-top: 1rem; }
.general-enquiries a { color: var(--teal-dark); font-weight: 650; }
.route, .destination { margin-top: .85rem; padding: .85rem; border-radius: 10px; background: var(--mist); font-size: .94rem; }
.route a, .destination a { display: inline-block; margin: .55rem .65rem 0 0; }
.route-options { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.route pre { padding: .7rem; overflow-wrap: anywhere; white-space: pre-wrap; background: white; font: inherit; }
footer { background: var(--navy); color: white; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.4rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.foot p { color: #d2e3e8; font-size: .84rem; }

@media (max-width: 1180px) {
  .header-cta { display: none; }
  .mobile-contact { display: block; }
}
@media (max-width: 1040px) {
  .shell { width: calc(100% - 56px); }
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .top { min-height: 67px; }
  .menu-toggle { display: inline-flex; min-height: 40px; padding: .35rem .9rem; border-color: var(--line); background: white; color: var(--ink); }
  .site-header nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: .5rem 18px; border-bottom: 1px solid var(--line); background: white; }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: .65rem .3rem; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .hero::before { background-size: 336px auto; mask-image: linear-gradient(to right, transparent 12%, black 95%); }
  .hero-layout { grid-template-columns: 1fr; grid-template-areas: "copy" "gallery" "visual"; gap: 1.35rem; min-height: 0; padding-block: 2.5rem; }
  .hero-copy { padding: 0; }
  h1 { max-width: 14ch; font-size: clamp(2.3rem, 7.8vw, 4.15rem); }
  .hero-title { font-size: clamp(1.5rem, 7.05vw, 4.05rem); }
  .hero h1 { max-width: none; }
  .actions { margin-top: 1.1rem; }
  .hero-visual { width: min(89%, 460px); margin-inline: auto; }
  .hero-gallery { width: min(100%, 580px); margin-inline: auto; }
  .notice-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .7rem; row-gap: .25rem; }
  .notice-inner a { grid-column: 2; margin-left: 0; }
  .notice-inner.notice-link { display: flex; }
  .notice-icon { width: 30px; }
  .finder, .resource-grid, .about-grid, .membership, .audience-heading { grid-template-columns: 1fr; }
  .meetings-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); }
  .meetings-banner h2 { font-size: clamp(1.3rem, 4.6vw, 2.2rem); }
  .meetings-banner figcaption { margin-top: .35rem; font-size: .78rem; }
  .meeting-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -2rem; }
  .membership { background-position: 38% center; }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paper { grid-template-columns: 67px 1fr; }
  .publication-year { grid-template-columns: 1fr; gap: .5rem; }
}
@media (max-width: 435px) {
  .roster, .form-grid { grid-template-columns: 1fr; }
  .region-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meetings-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 31%); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
