:root {
  --navy: #1f3a5f;
  --blue: #164e88;
  --ink: #1d334e;
  --muted: #536579;
  --line: #dbe1e5;
  --paper: #f6f7f5;
  --surface: #fff;
  --tint: #eaf0f4;
  --gold: #c39430;
  --error: #a1253a;
  --serif: "Noto Serif SC", "Songti SC", STSong, SimSun, Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --ease: cubic-bezier(.22,.7,.24,1);
  color-scheme: light;
}
* { box-sizing: border-box }
html { -webkit-font-smoothing: antialiased; text-size-adjust: 100%; scroll-padding-top: 90px; view-transition-name: none }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans) }
button, input { font: inherit }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation }
button { cursor: pointer }
a { color: var(--blue); text-underline-offset: .2em }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px }
main:focus { outline: none }
img { display: block; max-width: 100% }
svg { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: middle }
[data-icon], .arrow { display: inline-flex; align-items: center; justify-content: center; flex: none }
h1, h2, h3, p, figure { margin: 0 }
h1, h2, h3 { line-height: 1.3; text-wrap: balance; overflow-wrap: anywhere }
h1, h2, .card-title, .council-name { font-family: var(--serif) }
p, small, strong { overflow-wrap: anywhere }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto }
.skip { position: fixed; left: 1rem; top: -100px; z-index: 10; padding: 10px 18px; border-radius: 8px; background: var(--surface) }
.skip:focus { top: 8px }

.masthead { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: var(--surface) }
.masthead-inner { min-height: 76px; display: flex; align-items: center; gap: 22px }
.brand { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--navy); text-decoration: none }
.brand img { border-radius: 50%; width: 41px; height: 41px }
.brand > span { display: grid; line-height: 1.3 }
.brand strong { font: 700 26px/1 Georgia, serif; letter-spacing: .035em }
.brand span span { margin-top: 4px; font-size: 11px; letter-spacing: .08em }
.menu { display: flex; align-items: center; justify-content: center; gap: 3px; margin-left: auto; padding: 3px; border-radius: 15px; background: var(--paper) }
.menu a, .member-link, .footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none }
.menu a { gap: 7px; padding: 5px 11px; border-radius: 12px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere }
.menu svg { width: 17px; height: 17px }
.menu a[aria-current="page"] { background: var(--surface); color: var(--navy); box-shadow: 0 1px 4px #162e481b }
.member-link, .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--navy); border-radius: 12px; background: var(--navy); color: white; font-weight: 650; padding: 9px 16px; text-decoration: none }
.member-link { max-width: min(24vw,14rem); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere }
.member-link svg { color: #eed498; width: 17px; height: 17px }
.menu-button { display: none }
.button { min-height: 46px }
.button:disabled { cursor: wait; opacity: .72 }
.text-action { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none }
.arrow svg { width: 17px; height: 17px }
.glyph { display: inline-grid; flex: none; place-items: center; border-radius: 13px; width: 43px; height: 43px; background: var(--tint); color: var(--navy) }
.glyph svg { width: 22px; height: 22px }

.hero { display: grid; align-items: center; grid-template-columns: minmax(0,.89fr) minmax(0,1.11fr); gap: clamp(30px,5vw,86px); padding-block: clamp(30px,3.8vw,58px) }
.hero-copy { min-width: 0 }
.hero-kicker { display: flex; align-items: center; max-width: 34em; gap: 11px; color: var(--muted); font: 650 11px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase }
.hero-kicker::before { content: ""; flex: none; width: 27px; height: 3px; border-radius: 2px; background: var(--gold) }
.hero h1 { margin: 16px 0; font-size: clamp(42px,4.7vw,76px); color: var(--navy); line-height: 1.13; letter-spacing: -.045em }
.hero h1 span { display: block }
.hero p { max-width: 36em; color: var(--muted); font-size: clamp(15px,1.18vw,18px); line-height: 1.85 }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; margin-top: 25px }
.hero-photo { position: relative; align-self: stretch; min-height: clamp(300px,27vw,425px); overflow: hidden; border-radius: 25px; background: var(--tint) }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover }
.hero-text-only { display: block }
.hero-text-only .hero-copy { max-width: 60em }

.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 14px }
.service-link { display: flex; min-width: 0; align-items: center; gap: 14px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--navy); text-decoration: none }
.service-link > svg { margin-left: auto; width: 16px; height: 16px; color: var(--muted) }
.service-link:last-child .glyph { color: #7a5613; background: #f5eddb }
.service-copy { min-width: 0 }
.service-copy strong, .service-copy small { display: block }
.service-copy strong { font-size: 17px; line-height: 1.45 }
.service-copy small { margin-top: 2px; font-size: 13px; color: var(--muted) }

.section { padding-block: clamp(34px,4.5vw,67px) }
.section + .section { border-top: 1px solid var(--line) }
.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 22px }
.section h2 { color: var(--navy); font-size: clamp(26px,2.5vw,39px); letter-spacing: -.02em }
.filters { display: inline-flex; align-items: stretch; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 14px; background: #edeff0 }
.filter { display: inline-flex; justify-content: center; align-items: center; min-height: 38px; padding: 4px 13px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 14px }
.filter[aria-current="true"] { background: white; color: var(--navy); font-weight: 650; box-shadow: 0 1px 4px #162e481b }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px }
.card, .company-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 0 20px 21px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: inherit; text-decoration: none }
.card-media { align-self: stretch; aspect-ratio: 16/9; margin-inline: -20px; overflow: hidden; background: var(--tint) }
.card-media img { width: 100%; height: 100%; object-fit: cover }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums }
.card .meta { margin-top: 17px }
.meta strong { border-radius: 6px; background: var(--tint); color: var(--navy); padding: 2px 7px; font-size: 12px; font-weight: 650 }
.card-title { color: var(--navy); font-size: clamp(20px,1.6vw,26px); margin-block: 10px 8px; font-weight: 700; text-wrap: pretty; line-height: 1.45 }
.card p, .company-card p { color: var(--muted); font-size: 15px; line-height: 1.75 }
#home-news-list + .text-action { margin-top: 16px }

.topline { padding-top: 16px; font-size: 14px; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 6px }
.topline a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted) }
.topline svg { width: 15px; height: 15px }
.page { padding-block: 24px clamp(48px,6vw,90px); min-height: 52vh }
.page-title, .article h1 { color: var(--navy); font-size: clamp(36px,3.7vw,57px); letter-spacing: -.03em }
.page-title { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line) }
.page-title .glyph { width: 49px; height: 49px; background: var(--navy); color: white; border-radius: 15px }
.page-title svg { width: 25px; height: 25px }
.about-copy, .article { max-width: 760px }
.body-copy p { white-space: pre-line; line-height: 1.95; font-size: 17px; margin-bottom: 18px }
.council { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px }
.council-person { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line) }
.council-person img { width: 72px; height: 72px; object-fit: cover; border-radius: 16px }
.council-name { margin-top: 14px; font-size: 23px }
.role { margin-top: 3px; color: var(--muted); font-size: 15px }
.council-person .body-copy p { font-size: 15px; margin: 9px 0 0 }
.company-card { padding: 22px; min-height: 190px }
.company-card img { width: auto; max-width: 150px; max-height: 68px; margin-bottom: 20px; object-fit: contain }
.company-card strong { margin-bottom: 7px; color: var(--navy); font-size: 23px }
.company-card > span { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 16px; color: var(--blue); font-size: 14px; font-weight: 600 }
.rows { display: grid; gap: 8px }
.row { display: flex; gap: 14px; align-items: center; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); color: var(--navy); background: var(--surface); text-decoration: none }
.row .arrow { margin-left: auto }
.row-copy { min-width: 0 }
.row-title { font-size: 18px }
.event-when { display: block; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; margin-top: 4px }
.article { margin-inline: auto }
.article h1 { margin: 13px 0 18px; font-size: clamp(31px,3.6vw,54px) }
.standfirst { margin-block: 14px 24px; color: var(--muted); font-size: clamp(17px,1.5vw,21px); line-height: 1.8 }
.article-photo { margin-block: 24px; width: 100%; height: auto; border-radius: 18px }
.article-photo.logo { width: auto; max-height: 136px; max-width: 100%; border-radius: 0 }
.article h2 { display: flex; align-items: center; gap: 12px; font-size: 25px; margin: 30px 0 14px }
.contact, .guest-form, .empty { padding: clamp(16px,2.5vw,32px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow-wrap: anywhere }
.contact a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px }
.contact a span { min-width: 0 }
.contact svg { width: 18px; height: 18px }
.guest-form { margin-block: 26px }
.guest-form h2 { margin-top: 0 }
.guest-form label { display: grid; gap: 5px; font-weight: 600; margin: 15px 0; max-width: 440px }
.guest-form input { min-height: 46px; min-width: 0; width: 100%; border: 1px solid #9aa8b7; padding: 7px 12px; color: var(--ink); background: white; border-radius: 9px }
.guest-form input[type="number"] { width: 6em }
.guest-form .hint, .empty { color: var(--muted) }
.guest-form .hint { font-size: 14px }
.guest-form [role="alert"] { color: var(--error); margin-block: 12px }
.empty, .notice { display: flex; align-items: center; gap: 13px }
.notice { color: var(--navy); padding-block: 14px }
.initial { padding-block: 60px; min-height: 60vh }
.initial p { margin-block: 16px }
.footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--navy) }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px }
.footer strong { font: 700 22px Georgia,serif; letter-spacing: .05em }
.footer-inner > div span { display: block; font-size: 12px; color: var(--muted) }
.footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px }
.footer a { color: var(--muted); font-size: 14px }

@media (prefers-reduced-motion:no-preference) {
  ::view-transition-group(portal-cover) { animation-duration: .28s; animation-timing-function: var(--ease) }
  ::view-transition-image-pair(portal-cover) { overflow: clip; border-radius: 16px }
  ::view-transition-old(portal-cover), ::view-transition-new(portal-cover) { width: 100%; height: 100%; object-fit: cover }
  .menu a, .member-link, .button, .service-link, .card, .company-card, .row, .menu-button, .filter { transition: background-color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease) }
  .card-media img, .arrow, .service-link > svg { transition: transform .23s var(--ease) }
  .button:active, .member-link:active, .filter:active, .menu-button:active, .service-link:active { transform: scale(.97) }
  .route-arrive, #home-news-list > .cards { animation: arrive .24s var(--ease) both }
  @keyframes arrive { from { opacity: .45; transform: translateY(5px) } to { opacity: 1; transform: translateY(0) } }
}
@media (hover:hover) {
  .menu a:hover, .filter:hover, .menu-button:hover { color: var(--navy); background: white; box-shadow: 0 1px 5px #162e4814 }
  .button:hover, .member-link:hover { background: var(--blue); border-color: var(--blue) }
  .service-link:hover, .card:hover, .company-card:hover, .row:hover { border-color: #b1bdca; box-shadow: 0 5px 22px #182f4810 }
  .text-action:hover, .topline a:hover, .footer a:hover { color: var(--blue); text-decoration: underline }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .card:hover .card-media img { transform: scale(1.028) }
  .button:hover .arrow, .service-link:hover > svg, .row:hover .arrow { transform: translateX(2px) }
}
@media (max-width:1000px) {
  .wrap { width: calc(100% - 48px) }
  .masthead-inner { gap: 12px }
  .menu a { padding-inline: 8px; gap: 5px }
  .hero { gap: 25px }
  .service-link { gap: 10px; padding: 14px 12px }
  .cards { gap: 14px }
}
@media (max-width:800px) {
  .wrap { width: calc(100% - 36px) }
  .masthead-inner { min-height: 66px; gap: 7px }
  .brand { gap: 8px }
  .brand img { width: 36px; height: 36px }
  .brand strong { font-size: 23px }
  .brand span span { font-size: 10px; letter-spacing: .03em }
  .member-link { margin-left: auto; gap: 6px; max-width: 38vw; padding-inline: 11px }
  .menu-button { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--navy) }
  .menu-button .when-open, .menu-button[aria-expanded="true"] .when-closed { display: none }
  .menu-button[aria-expanded="true"] .when-open { display: inline-flex }
  .menu { position: absolute; inset: calc(100% + 5px) 12px auto; display: none; padding: 9px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 10px 28px #152d4822 }
  .menu.open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px }
  .menu a { min-height: 46px; padding: 8px 12px; gap: 10px }
  .menu a[aria-current="page"] { background: var(--tint); box-shadow: none }
  .hero { padding-block: 27px; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 20px }
  .hero-photo { min-height: 250px; border-radius: 18px }
  .hero h1 { font-size: clamp(33px,5.5vw,46px) }
  .hero-kicker { font-size: 10px }
  .hero-actions { gap: 8px 15px; margin-top: 16px }
  .service-grid { gap: 8px }
  .service-link { align-items: flex-start; flex-direction: column }
  .service-link > svg { display: none }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 3px }
  .page { padding-top: 12px }
}
@media (max-width:580px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 25px; padding-bottom: 15px }
  .hero h1 { margin-block: 10px; font-size: clamp(33px,8.6vw,48px) }
  .hero h1 span { display: inline }
  .hero p { font-size: 15px }
  .hero-photo { min-height: 0; aspect-ratio: 2.18 }
  .hero-actions { margin-top: 12px }
  .service-grid { margin-bottom: 0 }
  .service-link { align-items: center; justify-content: center; gap: 5px; padding: 9px 3px; border-radius: 14px; text-align: center }
  .service-copy strong { font-size: 14px }
  .service-copy small { display: none }
  .service-link .glyph { width: 36px; height: 36px; border-radius: 10px }
  .service-link .glyph svg { width: 20px; height: 20px }
  .section-head { align-items: flex-start; gap: 10px; margin-bottom: 16px }
  .news-head { flex-direction: column }
  .filters { max-width: 100% }
  .filter { min-height: 40px; padding-inline: 9px; font-size: 13px }
  .cards, .council { grid-template-columns: 1fr }
  .council-person { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1px 12px }
  .council-person > .glyph, .council-person > img { grid-row: span 2 }
  .council-name { margin: 0; font-size: 20px }
  .council-person .body-copy { grid-column: 1/-1 }
  .footer nav { gap: 5px 13px }
}
@media (max-width:350px) {
  .wrap { width: calc(100% - 24px) }
  .brand span span { display: none }
  .filters { width: 100% }
  .filter { flex: 1; padding-inline: 4px }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important }
}
.layout-section { margin-block: 20px; }
