@import url('https://fonts.googleapis.com/css2?family=Forum&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #17324d;
    --ink-soft: #607891;
    --sky: #eaf4ff;
    --sky-deep: #c7dfff;
    --line: rgba(30, 74, 120, 0.14);
    --paper: #f8fbff;
    --card: #ffffff;
    --night: #0f2740;
    --gold: #c89b3c;
    --gold-soft: #ecd59a;
    --blue-soft: #9fd2ff;
    --blue-deep: #4f98e8;
    --blue-mist: #f1f8ff;
    --shadow: 0 22px 46px rgba(24, 66, 114, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(123, 184, 255, 0.28), transparent 30%),
        radial-gradient(circle at bottom right, rgba(200, 155, 60, 0.18), transparent 26%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f1f7ff 100%);
}

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

a {
    color: inherit;
    text-decoration: none;
}

.utility-bar {
    background: linear-gradient(90deg, #0f2740 0%, #184a72 72%, #2b6ca3 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(236, 213, 154, 0.25);
}

.utility-bar__inner,
.site-header__inner,
.hero-grid,
.section,
.site-footer__grid,
.site-footer__bottom {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.utility-bar__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
}

.utility-search {
    flex: 1;
    max-width: 320px;
}

.utility-search input {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px 10px 22px;
    font: inherit;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(96, 120, 145, 0.14);
}

.utility-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
}

.utility-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.88);
}

.utility-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.utility-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.utility-cta {
    background: linear-gradient(135deg, #f4e2aa 0%, #c89b3c 100%);
    color: #16324c;
    padding: 9px 18px;
    border-radius: 0;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(22, 50, 76, 0.08);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background:
        linear-gradient(180deg, rgba(245, 250, 255, 0.98), rgba(238, 246, 255, 0.95)),
        url("data:image/svg+xml,%3Csvg width='1440' height='140' viewBox='0 0 1440 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 94c82-33 154-50 236-44 72 5 120 30 184 34 76 6 116-17 185-38 71-21 141-34 231-21 52 7 96 24 152 25 71 1 118-21 174-16 113 9 193 77 278 60V0H0v94Z' fill='%23d9ecff' fill-opacity='0.5'/%3E%3Cpath d='M1132 0c54 15 82 43 82 82 0 22-8 41-19 58h49c18-24 31-48 31-79 0-20-5-40-15-61h-128Z' fill='%23f0dfab' fill-opacity='0.45'/%3E%3Cpath d='M1087 21c26 17 38 37 38 62 0 17-7 33-18 47h20c11-13 19-29 19-49 0-26-13-48-37-69l-22 9Z' fill='%23c4e1ff' fill-opacity='0.72'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    border-bottom: 1px solid rgba(79, 152, 232, 0.18);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 15px 0 17px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand__banner {
    display: block;
    width: min(100%, 470px);
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2vw, 34px);
    flex: 1;
}

.site-nav__dropdown {
    position: relative;
}

.site-nav__dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.site-nav a {
    position: relative;
    font-weight: 500;
    font-size: 0.84rem;
    padding-bottom: 6px;
    color: #1e4a78;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--gold), var(--blue-deep));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

.site-nav a.is-active {
    color: var(--blue-deep);
}

.site-nav__menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 280px;
    display: none;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(19, 37, 60, 0.08);
    box-shadow: var(--shadow);
    z-index: 20;
}

.site-nav__dropdown:hover .site-nav__menu,
.site-nav__dropdown:focus-within .site-nav__menu {
    display: grid;
}

.site-nav__menu a {
    padding-bottom: 0;
    white-space: normal;
}

.site-nav__menu a::after {
    display: none;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
}

.nav-collapse .nav-toggle {
    display: inline-block;
}

.nav-collapse .brand {
    min-width: 0;
    max-width: calc(100% - 64px);
}

.nav-collapse .brand__banner {
    width: min(100%, 390px);
}

.nav-collapse .site-nav {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid rgba(19, 37, 60, 0.08);
}

.nav-collapse .site-nav__dropdown,
.nav-collapse .site-nav__menu {
    width: 100%;
}

.nav-collapse .site-nav__menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 10px 0 0 18px;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.nav-collapse .site-nav a {
    font-size: 0.96rem;
}

.nav-collapse .site-nav.is-open {
    display: flex;
}

.hero-shell {
    padding: 0 0 18px;
}

.hero-carousel {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 620px;
    background: #123150;
    margin-top: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: stretch;
}

.carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-content {
    width: min(640px, calc(100% - 40px));
    max-width: 700px;
    margin: 0;
    margin-left: clamp(28px, 4vw, 72px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 150px 0 76px;
    color: #ffffff;
}

.carousel-content--wide {
    max-width: 760px;
}

.carousel-content .eyebrow {
    color: rgba(244, 226, 170, 0.95);
}

.carousel-content h1 {
    margin: 0;
    max-width: 12ch;
    font-family: 'Forum', serif;
    font-size: clamp(1.95rem, 3.8vw, 3.45rem);
    line-height: 1.1;
}

.carousel-content--wide h1 {
    max-width: 14ch;
    font-size: clamp(1.75rem, 3.25vw, 3rem);
    line-height: 1.08;
}

.carousel-content p {
    max-width: 54ch;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.52;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(15, 39, 64, 0.18);
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(236, 213, 154, 0.48);
}

.carousel-arrow span {
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-1px);
}

.carousel-arrow--prev {
    left: 26px;
}

.carousel-arrow--next {
    right: 26px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
}

.carousel-dot.is-active {
    background: var(--gold-soft);
}

.hero-summary {
    width: min(1280px, calc(100% - 40px));
    margin: 18px auto 0;
}

.mayor-section,
.explore-section,
.whats-section {
    border: 1px solid rgba(19, 37, 60, 0.08);
    box-shadow: var(--shadow);
}

.mayor-section {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(244, 226, 170, 0.32), transparent 28%),
        linear-gradient(135deg, #dcecff 0%, #8fc3f8 58%, #f1d998 100%);
}

.mayor-copy {
    background: rgba(255, 255, 255, 0.96);
    padding: 28px;
    border-left: 3px solid var(--gold);
}

.mayor-copy h2,
.explore-copy h2,
.whats-heading h2 {
    margin: 0;
    font-family: 'Forum', serif;
    line-height: 1.06;
    letter-spacing: 0.01em;
}

.mayor-copy h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.mayor-copy p {
    color: var(--ink);
    line-height: 1.8;
}

.mayor-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.mayor-meta-card {
    background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
    padding: 18px;
    border: 1px solid rgba(79, 152, 232, 0.12);
}

.mayor-meta-card strong,
.mayor-meta-card span {
    display: block;
}

.mayor-meta-card span {
    margin-top: 8px;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.mayor-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mayor-visual img {
    width: 100%;
    max-width: 520px;
    box-shadow: var(--shadow);
}

.section--explore {
    background: linear-gradient(135deg, #f3f9ff 0%, #dbeeff 44%, #f4e3b1 100%);
}

.explore-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
    padding: 24px 28px;
    background:
        radial-gradient(circle at top left, rgba(244, 226, 170, 0.22), transparent 26%),
        radial-gradient(circle at bottom right, rgba(159, 210, 255, 0.18), transparent 24%),
        linear-gradient(135deg, rgba(15, 39, 64, 0.94), rgba(30, 74, 120, 0.9));
}

.explore-copy {
    color: #ffffff;
    padding: 12px 18px 12px 12px;
    min-width: 0;
}

.explore-copy .eyebrow {
    color: rgba(255, 255, 255, 0.86);
}

.explore-copy h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.9rem);
    max-width: 12ch;
    line-height: 1.02;
}

.explore-copy p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 34ch;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.52;
}

.explore-panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    min-width: 0;
}

.explore-panel {
    padding: 22px;
    display: grid;
    gap: 0;
    min-height: 230px;
    box-shadow: var(--shadow);
}

.explore-panel__label {
    display: inline-block;
    margin-bottom: 14px;
    color: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.explore-panel a {
    padding: 14px 0;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.explore-panel a:last-child {
    border-bottom: 0;
}

.explore-panel--light {
    background: rgba(255, 252, 245, 0.96);
}

.explore-panel--light a {
    color: var(--ink);
    border-color: rgba(19, 37, 60, 0.14);
}

.explore-panel--dark {
    background: rgba(15, 39, 64, 0.92);
}

.explore-panel--dark a {
    color: #f8e9bd;
}

.explore-panel--glass {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.explore-panel--glass,
.explore-panel--glass .explore-panel__label,
.explore-panel--glass a {
    color: #ffffff;
}

.section--whats {
    background:
        radial-gradient(circle at top left, rgba(244, 226, 170, 0.22), transparent 26%),
        linear-gradient(135deg, #e8f4ff 0%, #bddcff 58%, #f3ddb2 100%);
}

.whats-section {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 26px;
    padding: 32px 28px;
    background: transparent;
}

.whats-heading {
    max-width: 320px;
}

.whats-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.whats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.whats-feed {
    display: grid;
    gap: 20px;
}

.news-story {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.94));
    min-height: 230px;
    padding: 26px 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(79, 152, 232, 0.12);
}

.news-story__kicker {
    display: inline-block;
    color: var(--ink-soft);
    font-size: 0.78rem;
    margin-bottom: 18px;
}

.news-story h3 {
    margin: 0 0 22px;
    font-size: 1.4rem;
    line-height: 1.2;
}

.news-story a {
    color: var(--ink);
    font-weight: 600;
}

.whats-action {
    margin-top: 20px;
    text-align: center;
}

.button--dark {
    background: linear-gradient(135deg, #123150 0%, #c89b3c 100%);
    color: #ffffff;
}

.section--highlights {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
        linear-gradient(90deg, #6eaeea 0%, #a8d3fb 52%, #eed79f 100%);
}

.section-heading--centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: #17324d;
}

.section--highlights .section-heading {
    margin-bottom: 30px;
}

.section--highlights .eyebrow {
    color: rgba(23, 50, 77, 0.72);
    margin-bottom: 10px;
}

.section--highlights .section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading__link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: rgba(30, 74, 120, 0.86);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.highlights-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 12px;
}

.highlights-gallery__viewport {
    position: relative;
    min-height: 450px;
    perspective: 1600px;
}

.highlights-gallery__stage {
    position: relative;
    min-height: 450px;
}

.highlights-gallery__control {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 34px rgba(15, 39, 64, 0.18);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.highlights-gallery__control:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(236, 213, 154, 0.5);
}

.highlights-gallery__control span {
    font-size: 2rem;
    line-height: 1;
}

.highlight-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 5px solid rgba(255, 255, 255, 0.78);
    border-radius: 0;
    transition:
        transform 0.55s ease,
        opacity 0.4s ease,
        filter 0.4s ease,
        box-shadow 0.4s ease;
}

.highlight-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1;
    pointer-events: none;
}

.highlights-gallery .highlight-card {
    position: absolute;
    inset: 30px auto 0 50%;
    width: min(29vw, 300px);
    max-width: 100%;
    opacity: 0;
    pointer-events: none;
    transform-origin: center center;
}

.highlights-gallery .highlight-card.is-center,
.highlights-gallery .highlight-card.is-left,
.highlights-gallery .highlight-card.is-right,
.highlights-gallery .highlight-card.is-left-secondary,
.highlights-gallery .highlight-card.is-right-secondary {
    opacity: 1;
    pointer-events: auto;
}

.highlights-gallery .highlight-card.is-center {
    z-index: 3;
    transform: translateX(-50%) translateY(0) scale(1);
    box-shadow: 0 24px 44px rgba(58, 35, 90, 0.24);
}

.highlights-gallery .highlight-card.is-left {
    z-index: 2;
    transform: translateX(calc(-50% - clamp(150px, 16vw, 205px))) translateY(18px) scale(0.92) rotateY(0deg);
    filter: saturate(0.86);
}

.highlights-gallery .highlight-card.is-right {
    z-index: 2;
    transform: translateX(calc(-50% + clamp(150px, 16vw, 205px))) translateY(18px) scale(0.92) rotateY(0deg);
    filter: saturate(0.86);
}

.highlights-gallery .highlight-card.is-left-secondary {
    z-index: 1;
    transform: translateX(calc(-50% - clamp(285px, 28vw, 360px))) translateY(18px) scale(0.82) rotateY(0deg);
    filter: saturate(0.78);
}

.highlights-gallery .highlight-card.is-right-secondary {
    z-index: 1;
    transform: translateX(calc(-50% + clamp(285px, 28vw, 360px))) translateY(18px) scale(0.82) rotateY(0deg);
    filter: saturate(0.78);
}

.highlights-gallery .highlight-card.is-hidden-left {
    z-index: 1;
    transform: translateX(calc(-50% - clamp(430px, 39vw, 540px))) translateY(54px) scale(0.54);
    opacity: 0;
}

.highlights-gallery .highlight-card.is-hidden-right {
    z-index: 1;
    transform: translateX(calc(-50% + clamp(430px, 39vw, 540px))) translateY(54px) scale(0.54);
    opacity: 0;
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px 16px 16px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
    color: #ffffff;
    z-index: 2;
}

.highlight-card__overlay span,
.highlight-card__overlay strong {
    display: block;
}

.highlight-card__overlay span {
    font-size: 0.66rem;
    opacity: 0.85;
    text-transform: none;
}

.highlight-card__overlay strong {
    margin-top: 4px;
    font-size: 0.86rem;
    line-height: 1.25;
    text-transform: uppercase;
}

.section--civic-links {
    background: linear-gradient(90deg, #72b4ef 0%, #a9d6ff 48%, #dec28d 100%);
    padding-top: 18px;
    padding-bottom: 28px;
}

.civic-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.civic-card {
    position: relative;
    min-height: 246px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.civic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.3;
    pointer-events: none;
}

.civic-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.civic-card--foi {
    background: #4f98e8;
}

.civic-card--foi::before {
    display: none;
}

.civic-card--gender {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.74), transparent 36%),
        linear-gradient(180deg, #fffdfd 0%, #f3f9ff 100%);
    color: #17324d;
    text-align: center;
}

.civic-card--transparency {
    background: #d5a12e;
}

.civic-card--transparency::before {
    display: none;
}

.civic-card__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 320px);
    padding: 28px 24px;
}

.civic-card__inner h3 {
    margin: 0;
    font-size: 2rem;
    line-height: 0.98;
    text-transform: uppercase;
    color: #1e4a78;
}

.civic-card__inner p {
    margin: 16px 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #607891;
}

.section--contact-facts {
    padding-top: 0;
    background: linear-gradient(180deg, #cfe6ff 0%, #f0dbab 100%);
}

.section--history {
    background: linear-gradient(180deg, #7cbcf3 0%, #e5c98f 100%);
}

.history-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 28px;
    align-items: center;
    padding: 26px 28px 34px;
}

.history-copy {
    color: #ffffff;
    align-self: start;
    padding-top: 10px;
}

.history-copy__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.history-copy h2 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    max-width: 9ch;
}

.history-copy p {
    max-width: 38ch;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 18px 0 24px;
}

.button--light {
    background: #ffffff;
    color: #1e4a78;
}

.history-visual {
    position: relative;
    padding: 18px;
    border: 4px solid rgba(255, 255, 255, 0.7);
    justify-self: center;
    width: min(100%, 760px);
}

.history-visual::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.history-visual img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    filter: grayscale(1);
}

.contact-facts {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-facts__top {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
    align-items: stretch;
}

.contact-facts__visual {
    min-height: 350px;
    background:
        linear-gradient(180deg, rgba(58, 167, 170, 0.28), rgba(58, 167, 170, 0.28));
}

.contact-facts__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.contact-facts__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
    align-content: center;
    padding: 44px 52px;
    color: #17324d;
}

.contact-facts__column h3,
.facts-heading h2 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.contact-facts__column h3 {
    font-size: 1rem;
}

.contact-facts__column p,
.contact-facts__hours {
    margin: 14px 0 0;
    line-height: 1.6;
    color: rgba(23, 50, 77, 0.9);
}

.contact-facts__column a {
    display: inline-block;
    margin-top: 18px;
    color: #1e4a78;
    font-weight: 500;
}

.contact-facts__hours {
    grid-column: 1 / -1;
    margin-top: 2px;
}

.contact-facts__stats {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: 24px;
    background: #ffffff;
    padding: 30px 44px 28px;
}

.facts-heading {
    padding-right: 28px;
    border-right: 1px solid rgba(35, 73, 106, 0.12);
}

.facts-heading__eyebrow {
    display: inline-block;
    color: #b7792b;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.facts-heading h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1;
    color: #17324d;
    max-width: 8ch;
}

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

.fact-card {
    text-align: center;
    color: #1e4a78;
}

.fact-card strong {
    display: block;
    font-size: clamp(2.25rem, 4vw, 3.1rem);
    line-height: 1;
}

.fact-card span {
    display: block;
    margin-top: 12px;
    color: #a16d25;
    font-size: 0.88rem;
    line-height: 1.45;
}

.page-main--office {
    background:
        radial-gradient(circle at top left, rgba(159, 210, 255, 0.18), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.office-hero {
    background: linear-gradient(135deg, #184a72 0%, #4f98e8 52%, #d9bc7e 100%);
    color: #ffffff;
    padding: 28px 0;
}

.office-hero__inner,
.office-shell {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
}

.office-hero__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.office-hero__line {
    width: clamp(40px, 12vw, 120px);
    height: 2px;
    background: rgba(255, 255, 255, 0.78);
}

.office-hero h1 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.9rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.section--office-body {
    padding-top: 34px;
}

.office-shell {
    min-height: 0;
}

.office-return {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--blue-deep);
    color: var(--blue-deep);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.office-tabs {
    margin-top: 26px;
}

.office-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(62, 39, 96, 0.14);
}

.office-tab {
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    padding: 8px 10px 10px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink);
    cursor: pointer;
}

.office-tab.is-active {
    color: var(--blue-deep);
    border-bottom-color: var(--blue-deep);
}

.office-panel {
    padding-top: 34px;
}

.office-about {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 28px;
}

.office-about__copy h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    line-height: 1.02;
    font-family: 'Forum', serif;
    max-width: 14ch;
}

.office-about__media {
    margin: 0 0 24px;
}

.office-about__media img {
    display: block;
    width: 100%;
    border: 1px solid rgba(79, 152, 232, 0.16);
    box-shadow: var(--shadow);
}

.office-about__copy p {
    max-width: 58ch;
    line-height: 1.72;
    color: var(--ink-soft);
}

.office-about__stats {
    display: grid;
    gap: 16px;
}

.office-stat {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248, 239, 255, 0.92));
    border: 1px solid rgba(79, 152, 232, 0.14);
    padding: 22px;
    box-shadow: var(--shadow);
}

.office-stat strong {
    display: block;
    font-size: 1.45rem;
}

.office-stat span {
    display: block;
    margin-top: 8px;
    color: var(--ink-soft);
}

.permit-layout {
    display: grid;
    grid-template-columns: minmax(210px, 0.4fr) minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.permit-menu {
    display: grid;
    border-right: 1px solid var(--blue-deep);
    padding-right: 14px;
}

.permit-link {
    border: 0;
    background: transparent;
    text-align: left;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.permit-link.is-active {
    background: rgba(159, 210, 255, 0.18);
    color: var(--blue-deep);
}

.permit-detail {
    padding-left: 24px;
}

.permit-detail__panel {
    display: block;
}

.permit-detail__panel[hidden],
.office-panel[hidden] {
    display: none;
}

.permit-detail__panel h3,
.office-contact__row--head,
.update-card__body h3 {
    margin: 0;
}

.permit-detail__panel h3 {
    font-size: 1.55rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.downloadables-list {
    display: grid;
    gap: 0;
}

.downloadables-item {
    border-bottom: 1px solid rgba(23, 37, 84, 0.12);
}

.downloadables-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-size: 1.18rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.downloadables-item summary::-webkit-details-marker {
    display: none;
}

.downloadables-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--ink-soft);
}

.downloadables-item[open] summary::after {
    content: "-";
}

.downloadables-item__body {
    padding: 0 0 20px;
    color: var(--ink-soft);
}

.download-file-list {
    display: grid;
    gap: 10px;
}

.download-file-card {
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
}

.download-file-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.download-file-card__meta h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ink);
}

.download-file-card__meta p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.download-file-card__icon {
    flex: 0 0 auto;
    width: 38px;
    height: 44px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
}

.download-file-card__icon--pdf {
    background: #e0565b;
}

.download-file-card__icon--doc {
    background: #3b82f6;
}

.download-file-card__button {
    flex: 0 0 auto;
    padding: 9px 16px;
    border-radius: 6px;
    background: #5c8df6;
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.download-file-card__button:hover {
    background: #4679e8;
}

.leave-template {
    margin-top: 8px;
}

.leave-service-overview {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(232, 244, 255, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(79, 152, 232, 0.14);
    box-shadow: var(--shadow);
}

.leave-service-overview__copy {
    max-width: 620px;
}

.leave-service-overview__copy h2 {
    margin: 8px 0 10px;
    font-family: 'Forum', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.06;
}

.leave-service-overview__copy p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.leave-service-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.leave-template__paper {
    background: #fffef9;
    border: 2px solid rgba(24, 34, 52, 0.88);
    box-shadow: 0 20px 42px rgba(24, 34, 52, 0.12);
    color: #111;
    font-family: 'Times New Roman', Times, serif;
}

.leave-template__masthead,
.leave-template__section,
.leave-template__bar,
.leave-template__split,
.leave-template__footer {
    border-bottom: 1.5px solid rgba(24, 34, 52, 0.88);
}

.leave-template__masthead {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 18px;
    padding: 18px 18px 12px;
    align-items: start;
}

.leave-template__meta,
.leave-template__heading,
.leave-template__stamp {
    font-size: 0.88rem;
}

.leave-template__meta p,
.leave-template__heading p,
.leave-template__heading h2,
.leave-template__stamp span {
    margin: 0;
}

.leave-template__heading {
    text-align: center;
}

.leave-template__heading h2 {
    margin-top: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.03em;
}

.leave-template__stamp {
    min-height: 76px;
    border: 1.5px dashed rgba(24, 34, 52, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.leave-template__section {
    padding: 0;
}

.leave-template__grid {
    display: grid;
}

.leave-template__grid--three {
    grid-template-columns: 1.1fr 1.9fr;
}

.leave-template__grid--four {
    grid-template-columns: 1fr 1fr 1fr;
}

.leave-template__grid .leave-field {
    border-right: 1.5px solid rgba(24, 34, 52, 0.88);
}

.leave-template__grid .leave-field:last-child {
    border-right: 0;
}

.leave-template__grid + .leave-template__grid {
    border-top: 1.5px solid rgba(24, 34, 52, 0.88);
}

.leave-template__bar {
    padding: 6px 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.94rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.04em;
    background: rgba(24, 34, 52, 0.04);
}

.leave-template__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.leave-template__split--short {
    grid-template-columns: 1.1fr 0.9fr;
}

.leave-template__panel {
    padding: 10px 12px 14px;
}

.leave-template__panel + .leave-template__panel {
    border-left: 1.5px solid rgba(24, 34, 52, 0.88);
}

.leave-template__panel h3 {
    margin: 0 0 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #111;
}

.leave-template__stack {
    display: grid;
    gap: 8px;
}

.leave-field {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
}

.leave-field span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111;
}

.leave-field input,
.leave-field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1.5px solid rgba(24, 34, 52, 0.88);
    border-radius: 0;
    padding: 6px 0;
    font: inherit;
    color: #111;
    background: transparent;
    outline: none;
}

.leave-field textarea {
    resize: vertical;
    min-height: 84px;
    border: 1.5px solid rgba(24, 34, 52, 0.88);
    padding: 8px;
}

.leave-options {
    display: grid;
    gap: 8px;
}

.leave-options label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #111;
}

.leave-options input[type="checkbox"],
.leave-options input[type="radio"] {
    margin-top: 3px;
    accent-color: #0f2740;
}

.leave-options--compact {
    gap: 10px;
    margin-bottom: 8px;
}

.leave-credits {
    border: 1.5px solid rgba(24, 34, 52, 0.88);
    margin: 12px 0;
}

.leave-credits__row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
}

.leave-credits__row + .leave-credits__row {
    border-top: 1.5px solid rgba(24, 34, 52, 0.88);
}

.leave-credits__row span,
.leave-credits__row input {
    min-width: 0;
    padding: 8px 10px;
    border-right: 1.5px solid rgba(24, 34, 52, 0.88);
    font-size: 0.82rem;
}

.leave-credits__row span:last-child,
.leave-credits__row input:last-child {
    border-right: 0;
}

.leave-credits__row--head {
    background: rgba(24, 34, 52, 0.04);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

.leave-credits__row input {
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
}

.leave-template__footer {
    padding: 16px 18px 18px;
    border-bottom: 0;
}

.leave-field--signature {
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
}

.permit-detail__panel h4 {
    margin: 16px 0 8px;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.permit-detail__panel p,
.permit-detail__panel li {
    line-height: 1.7;
}

.permit-detail__panel ul {
    margin: 0;
    padding-left: 18px;
}

.office-programs {
    display: grid;
    gap: 18px;
}

.program-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248, 239, 255, 0.94));
    border: 1px solid rgba(79, 152, 232, 0.14);
    padding: 22px 24px;
    box-shadow: var(--shadow);
}

.program-card strong {
    display: block;
    font-size: 1rem;
}

.program-card p {
    margin: 10px 0 0;
    line-height: 1.7;
    color: var(--ink-soft);
}

.office-updates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    gap: 20px;
}

.update-card {
    background: #ffffff;
    border: 2px solid #55b7ff;
    box-shadow: var(--shadow);
}

.update-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.update-card__body {
    padding: 18px 20px 22px;
    text-align: center;
}

.update-card__body h3 {
    font-size: 1.06rem;
    line-height: 1.35;
    text-transform: uppercase;
}

.update-card__body p {
    margin: 12px 0 16px;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.update-card__body a {
    color: var(--ink);
    font-weight: 700;
}

.office-contact {
    display: grid;
    gap: 20px;
}

.office-contact__table {
    border: 1px solid rgba(62, 39, 96, 0.28);
}

.office-contact__row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
}

.office-contact__row span {
    padding: 16px 18px;
    border-right: 1px solid rgba(62, 39, 96, 0.28);
    border-bottom: 1px solid rgba(62, 39, 96, 0.28);
    line-height: 1.5;
}

.office-contact__row span:last-child {
    border-right: 0;
}

.office-contact__row:last-child span {
    border-bottom: 0;
}

.office-contact__row--head {
    background: rgba(159, 210, 255, 0.14);
    font-weight: 700;
}

.office-contact__note {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248, 239, 255, 0.94));
    border: 1px solid rgba(79, 152, 232, 0.14);
}

.treasurer-chart {
    display: grid;
    justify-items: center;
    gap: 20px;
}

.treasurer-chart h2 {
    margin: 0;
    font-size: 1.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.treasurer-chart__frame {
    width: min(100%, 980px);
    padding: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248, 239, 255, 0.94));
    border: 1px solid rgba(79, 152, 232, 0.14);
    box-shadow: var(--shadow);
}

.treasurer-chart__frame img {
    width: 100%;
    height: auto;
    display: block;
}

.eyebrow,
.panel-label,
.card-kicker,
.news-date {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.74rem;
    font-weight: 800;
}

.eyebrow {
    display: inline-block;
    color: var(--blue-deep);
    margin-bottom: 16px;
}

.panel-label,
.news-date {
    color: rgba(255, 255, 255, 0.88);
}

.page-hero h1,
.section-heading h2,
.feature-layout h2,
.info-card h2,
.service-card h2 {
    margin: 0;
    font-family: 'Forum', serif;
    line-height: 1.04;
    letter-spacing: 0.01em;
}

.page-hero p,
.section-heading p,
.info-card p,
.service-card p,
.feature-layout p,
.news-card p,
.bullet-row span,
.directory-item span {
    color: var(--ink-soft);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    font-weight: 700;
}

.button--primary {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--gold) 100%);
    color: #ffffff;
}

.button--ghost {
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.stat-row {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.stat-chip,
.bullet-panel,
.info-card,
.service-card,
.news-card,
.directory-list {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(79, 152, 232, 0.12);
    box-shadow: var(--shadow);
}

.stat-chip {
    min-width: 140px;
    padding: 16px 18px;
}

.stat-chip strong {
    display: block;
    font-size: 1.3rem;
}

.stat-chip span {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.page-main {
    padding-bottom: 24px;
}

.page-hero {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 18px;
}

.page-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.7rem);
    max-width: 11ch;
}

.page-hero p {
    max-width: 62ch;
    margin-top: 18px;
}

.section {
    padding: 26px 0 34px;
}

.section--tight {
    padding-top: 8px;
}

.section--accent {
    padding: 24px 0 42px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 24px;
}

.section-heading h2,
.feature-layout h2,
.info-card h2,
.service-card h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.info-grid,
.service-grid,
.news-grid {
    display: grid;
    gap: 20px;
}

.info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.service-card,
.news-card {
    padding: 28px;
}

.info-card--soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.9));
}

.info-card h3,
.news-card h3 {
    margin: 10px 0 12px;
    font-size: 1.45rem;
}

.service-card a {
    display: inline-block;
    margin-top: 18px;
    font-weight: 700;
    color: var(--blue-deep);
}

.feature-layout,
.split-layout {
    display: grid;
    gap: 20px;
}

.feature-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
}

.split-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bullet-panel,
.directory-list {
    padding: 20px 22px;
}

.bullet-row,
.directory-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
}

.bullet-row + .bullet-row,
.directory-item + .directory-item {
    border-top: 1px solid var(--line);
}

.bullet-row strong,
.directory-item strong {
    font-size: 1rem;
}

.page-main--mission-vision {
    padding-bottom: 36px;
}

.mission-vision-hero {
    position: relative;
    width: min(1280px, calc(100% - 40px));
    min-height: 620px;
    margin: 18px auto 0;
    overflow: hidden;
    background: #0f2740;
    box-shadow: var(--shadow);
}

.mission-vision-hero__media,
.mission-vision-hero__media img {
    width: 100%;
    height: 100%;
}

.mission-vision-hero__media {
    position: absolute;
    inset: 0;
}

.mission-vision-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 23, 40, 0.8) 0%, rgba(7, 23, 40, 0.56) 35%, rgba(7, 23, 40, 0.18) 62%, rgba(7, 23, 40, 0.08) 100%),
        linear-gradient(180deg, rgba(12, 30, 47, 0.08), rgba(12, 30, 47, 0.28));
}

.mission-vision-hero__media img {
    object-fit: cover;
}

.mission-vision-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 620px;
    width: min(100%, 1180px);
    padding: 72px 52px 58px;
    color: #ffffff;
}

.mission-vision-hero__content .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.mission-vision-hero__content h1 {
    max-width: 8ch;
    margin: 0;
    font-family: 'Forum', serif;
    font-size: clamp(3.6rem, 7vw, 5.9rem);
    line-height: 0.96;
    letter-spacing: 0.01em;
}

.mission-vision-hero__content p {
    max-width: 46ch;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
}

.mission-vision-hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.mission-vision-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.mission-vision-intro {
    max-width: 760px;
    padding: 26px 0 8px;
}

.mission-vision-intro h2,
.mission-focus__copy h2,
.mission-card h3 {
    margin: 0;
    font-family: 'Forum', serif;
    letter-spacing: 0.01em;
}

.mission-vision-intro h2,
.mission-focus__copy h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.04;
}

.mission-vision-intro p,
.mission-focus__copy p,
.mission-card p,
.focus-pill span,
.mission-card__list li {
    color: var(--ink-soft);
    line-height: 1.7;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.mission-card {
    padding: 34px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.94));
    border: 1px solid rgba(79, 152, 232, 0.14);
    box-shadow: var(--shadow);
}

.mission-card--vision {
    background:
        radial-gradient(circle at top right, rgba(200, 155, 60, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 244, 255, 0.96));
}

.mission-card__label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    background: linear-gradient(135deg, #123150 0%, #4f98e8 100%);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mission-card h3 {
    margin-top: 18px;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.08;
    max-width: 13ch;
}

.mission-card__list {
    margin: 22px 0 0;
    padding-left: 18px;
}

.mission-card__list li + li {
    margin-top: 10px;
}

.mission-focus {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
    margin-top: 26px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(244, 226, 170, 0.26), transparent 32%),
        linear-gradient(135deg, rgba(232, 244, 255, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(79, 152, 232, 0.14);
    box-shadow: var(--shadow);
}

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

.focus-pill {
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(79, 152, 232, 0.14);
}

.focus-pill strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 1rem;
}

.page-main--core-values {
    padding-bottom: 36px;
}

.core-values-hero {
    position: relative;
    width: min(1280px, calc(100% - 40px));
    min-height: 640px;
    margin: 18px auto 0;
    overflow: hidden;
    background: #0f2740;
    box-shadow: var(--shadow);
}

.core-values-hero__media,
.core-values-hero__media img {
    width: 100%;
    height: 100%;
}

.core-values-hero__media {
    position: absolute;
    inset: 0;
}

.core-values-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 18, 36, 0.76) 0%, rgba(8, 18, 36, 0.52) 36%, rgba(8, 18, 36, 0.22) 62%, rgba(8, 18, 36, 0.14) 100%),
        linear-gradient(180deg, rgba(12, 30, 47, 0.18), rgba(12, 30, 47, 0.42));
}

.core-values-hero__media img {
    object-fit: cover;
}

.core-values-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 640px;
    width: min(100%, 1180px);
    padding: 70px 30px 34px;
    color: #ffffff;
}

.core-values-hero__content .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.core-values-hero__content h1 {
    max-width: 8ch;
    margin: 0;
    font-family: 'Forum', serif;
    font-size: clamp(3.7rem, 7.2vw, 6rem);
    line-height: 0.96;
    letter-spacing: 0.01em;
}

.core-values-hero__content p {
    max-width: 44ch;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.72;
}

.core-values-hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.core-values-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.core-values-intro {
    max-width: 800px;
    padding: 26px 0 8px;
}

.core-values-intro h2,
.values-practice__copy h2,
.value-card h3 {
    margin: 0;
    font-family: 'Forum', serif;
    letter-spacing: 0.01em;
}

.core-values-intro h2,
.values-practice__copy h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.04;
}

.core-values-intro p,
.values-practice__copy p,
.value-card p,
.practice-item span {
    color: var(--ink-soft);
    line-height: 1.7;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.value-card,
.practice-item {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(79, 152, 232, 0.14);
    box-shadow: var(--shadow);
}

.value-card {
    padding: 28px 26px;
    background:
        radial-gradient(circle at top right, rgba(244, 226, 170, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.94));
}

.value-card__index {
    display: inline-block;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.value-card h3 {
    margin-top: 12px;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    line-height: 1.06;
}

.value-card p {
    margin-top: 12px;
}

.values-practice {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 24px;
    align-items: start;
    margin-top: 28px;
    padding: 30px 28px;
    background:
        radial-gradient(circle at top right, rgba(244, 226, 170, 0.24), transparent 32%),
        linear-gradient(135deg, rgba(232, 244, 255, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(79, 152, 232, 0.14);
    box-shadow: var(--shadow);
}

.values-practice__list {
    display: grid;
    gap: 16px;
}

.practice-item {
    padding: 22px 20px;
}

.practice-item strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 1rem;
}

.page-main--history-story {
    padding-bottom: 36px;
}

.history-story-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 26px;
}

.history-story-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.history-story-heading h1 {
    margin: 0;
    font-family: 'Forum', serif;
    font-size: clamp(2.7rem, 5vw, 4.6rem);
    line-height: 1;
    color: var(--ink);
}

.history-story-heading h1 span {
    color: var(--blue-deep);
}

.history-story-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 24px;
    align-items: start;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(244, 226, 170, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.94));
    border: 1px solid rgba(79, 152, 232, 0.14);
    box-shadow: var(--shadow);
}

.history-story-feature__media img {
    width: 100%;
    aspect-ratio: 4 / 2.8;
    object-fit: cover;
    filter: grayscale(1);
}

.history-story-feature__copy {
    position: relative;
    padding: 4px 0 0 22px;
}

.history-story-feature__copy::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 3px;
    height: 92px;
    background: linear-gradient(180deg, #184a72 0%, #c89b3c 100%);
}

.history-story-feature__copy p,
.history-story-body p {
    margin: 0;
    color: var(--ink);
    line-height: 1.78;
}

.history-story-feature__copy p + p,
.history-story-body p + p {
    margin-top: 18px;
}

.history-story-body {
    margin-top: 24px;
    padding: 0 2px;
}

.site-footer {
    background:
        linear-gradient(135deg, #0f2740 0%, #184a72 52%, #2f79b5 100%);
    color: #ffffff;
    padding: 44px 0 24px;
}

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

.site-footer h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.site-footer__bottom {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 1080px) {
    .feature-layout,
    .info-grid,
    .service-grid,
    .news-grid,
    .split-layout,
    .site-footer__grid,
    .mayor-section,
    .explore-section,
    .whats-section,
    .whats-grid,
    .mission-vision-grid,
    .mission-focus,
    .mission-focus__stats,
    .core-values-grid,
    .values-practice,
    .history-story-feature {
        grid-template-columns: 1fr;
    }

    .explore-panels,
    .mayor-meta {
        grid-template-columns: 1fr;
    }

    .highlights-gallery {
        grid-template-columns: 60px minmax(0, 1fr) 60px;
    }

    .highlights-gallery__viewport,
    .highlights-gallery__stage {
        min-height: 390px;
    }

    .highlights-gallery .highlight-card {
        width: min(40vw, 310px);
    }

    .highlights-gallery .highlight-card.is-left {
        transform: translateX(calc(-50% - clamp(130px, 17vw, 180px))) translateY(26px) scale(0.82) rotateY(14deg);
    }

    .highlights-gallery .highlight-card.is-right {
        transform: translateX(calc(-50% + clamp(130px, 17vw, 180px))) translateY(26px) scale(0.82) rotateY(-14deg);
    }

    .highlights-gallery .highlight-card.is-left-secondary {
        transform: translateX(calc(-50% - clamp(220px, 24vw, 280px))) translateY(42px) scale(0.64) rotateY(18deg);
    }

    .highlights-gallery .highlight-card.is-right-secondary {
        transform: translateX(calc(-50% + clamp(220px, 24vw, 280px))) translateY(42px) scale(0.64) rotateY(-18deg);
    }

    .civic-links {
        grid-template-columns: 1fr;
    }

    .office-about,
    .permit-layout,
    .leave-template__masthead,
    .leave-template__split,
    .leave-template__split--short,
    .leave-service-overview,
    .history-feature,
    .contact-facts__top,
    .contact-facts__stats,
    .facts-grid {
        grid-template-columns: 1fr;
    }

    .office-updates,
    .office-contact__row {
        grid-template-columns: 1fr;
    }

    .permit-menu {
        border-right: 0;
        border-bottom: 1px solid var(--blue-deep);
        padding-right: 0;
        padding-bottom: 16px;
        margin-bottom: 18px;
    }

    .permit-detail {
        padding-left: 0;
    }

    .leave-template__grid--three,
    .leave-template__grid--four,
    .leave-credits__row {
        grid-template-columns: 1fr;
    }

    .leave-service-overview {
        align-items: flex-start;
    }

    .leave-template__grid .leave-field,
    .leave-template__panel + .leave-template__panel,
    .leave-credits__row span,
    .leave-credits__row input {
        border-right: 0;
    }

    .leave-template__panel + .leave-template__panel {
        border-left: 0;
        border-top: 1.5px solid rgba(24, 34, 52, 0.88);
    }

    .leave-template__grid .leave-field + .leave-field,
    .leave-credits__row span + span,
    .leave-credits__row span + input,
    .leave-credits__row input + input {
        border-top: 1.5px solid rgba(24, 34, 52, 0.88);
    }

    .contact-facts__details {
        grid-template-columns: 1fr;
        padding: 34px 32px;
    }

    .facts-heading {
        padding-right: 0;
        padding-bottom: 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(35, 73, 106, 0.12);
    }

    .history-copy {
        padding-top: 0;
    }

    .history-copy h2 {
        max-width: none;
    }

    .office-shell {
        min-height: 0;
    }

    .carousel-content h1,
    .page-hero h1 {
        max-width: none;
    }
}

@media (max-width: 820px) {
    .utility-bar__inner,
    .site-header__inner {
        width: min(100%, calc(100% - 24px));
    }

    .utility-bar__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .utility-search {
        max-width: none;
    }

    .utility-meta {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
        font-size: 0.88rem;
    }

    .carousel-content,
    .info-card,
    .service-card,
    .news-card,
    .mayor-copy,
    .explore-panel,
    .whats-section,
    .mission-card,
    .mission-focus,
    .value-card,
    .values-practice,
    .practice-item,
    .history-story-feature {
        padding: 22px;
    }

    .hero-carousel {
        min-height: 560px;
    }

    .carousel-content {
        max-width: 620px;
        height: 100%;
        margin-left: 24px;
        padding-top: 126px;
        padding-bottom: 62px;
    }

    .carousel-arrow {
        width: 48px;
        height: 48px;
    }

    .carousel-arrow--prev {
        left: 16px;
    }

    .carousel-arrow--next {
        right: 16px;
    }

    .carousel-content h1 {
        font-size: clamp(1.8rem, 5.4vw, 2.95rem);
    }

    .carousel-content--wide h1 {
        font-size: clamp(1.55rem, 4.6vw, 2.45rem);
        max-width: 15ch;
    }

    .carousel-content p {
        font-size: 0.88rem;
        line-height: 1.48;
    }

    .highlights-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .highlights-gallery__control {
        display: none;
    }

    .highlights-gallery__viewport,
    .highlights-gallery__stage {
        min-height: 0;
    }

    .highlights-gallery__stage {
        display: grid;
        gap: 18px;
    }

    .highlights-gallery .highlight-card {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: 280px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        filter: none;
    }

    .highlights-gallery .highlight-card.is-center,
    .highlights-gallery .highlight-card.is-left,
    .highlights-gallery .highlight-card.is-right,
    .highlights-gallery .highlight-card.is-left-secondary,
    .highlights-gallery .highlight-card.is-right-secondary,
    .highlights-gallery .highlight-card.is-hidden-left,
    .highlights-gallery .highlight-card.is-hidden-right {
        opacity: 1;
        transform: none;
        filter: none;
        box-shadow: var(--shadow);
    }

    .civic-card {
        min-height: 220px;
    }

    .contact-facts__visual {
        min-height: 260px;
    }

    .history-visual {
        width: 100%;
    }

    .office-contact__row span {
        border-right: 0;
    }

    .office-contact__note {
        flex-direction: column;
    }

    .mission-vision-hero,
    .mission-vision-hero__content {
        min-height: 520px;
    }

    .mission-vision-hero__content {
        padding: 42px 28px 34px;
    }

    .mission-vision-hero__content h1 {
        max-width: 9ch;
        font-size: clamp(2.7rem, 7vw, 4.2rem);
    }

    .core-values-hero,
    .core-values-hero__content {
        min-height: 520px;
    }

    .core-values-hero__content {
        padding: 42px 28px 34px;
    }

    .core-values-hero__content h1 {
        max-width: 9ch;
        font-size: clamp(2.8rem, 7vw, 4.2rem);
    }

    .history-story-feature__copy {
        padding-left: 18px;
    }
}

@media (max-width: 560px) {
    .utility-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header__inner {
        gap: 14px;
    }

    .brand {
        max-width: calc(100% - 60px);
    }

    .brand__banner {
        width: 100%;
        max-width: 320px;
    }

    .hero-shell {
        padding-top: 0;
    }

    .hero-carousel {
        min-height: 500px;
    }

    .carousel-content {
        max-width: none;
        height: 100%;
        width: calc(100% - 32px);
        margin-left: 16px;
        padding-top: 116px;
        padding-bottom: 54px;
    }

    .carousel-content h1 {
        font-size: clamp(1.55rem, 6.1vw, 2.2rem);
        line-height: 1.08;
        max-width: 13ch;
    }

    .carousel-content--wide h1 {
        font-size: clamp(1.35rem, 5.2vw, 1.9rem);
        max-width: 15ch;
    }

    .carousel-content p {
        font-size: 0.83rem;
        line-height: 1.42;
    }

    .hero-actions {
        margin-top: 18px;
    }

    .carousel-arrow {
        display: none;
    }

    .section-heading h2,
    .feature-layout h2,
    .info-card h2,
    .service-card h2,
    .page-hero h1 {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .button {
        width: 100%;
    }

    .bullet-row,
    .directory-item {
        flex-direction: column;
    }

    .civic-card__inner h3 {
        font-size: 1.65rem;
    }

    .contact-facts__details,
    .contact-facts__stats {
        padding-left: 20px;
        padding-right: 20px;
    }

    .office-hero__inner,
    .office-shell {
        width: min(100%, calc(100% - 24px));
    }

    .mission-vision-shell,
    .mission-vision-hero,
    .core-values-shell,
    .core-values-hero,
    .history-story-shell {
        width: min(100%, calc(100% - 24px));
    }

    .mission-vision-hero,
    .mission-vision-hero__content {
        min-height: 460px;
    }

    .mission-vision-hero__content {
        padding: 28px 18px 24px;
    }

    .mission-vision-hero__content h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        max-width: 10ch;
        line-height: 1.02;
    }

    .mission-vision-hero__content p {
        font-size: 0.88rem;
    }

    .mission-card h3 {
        max-width: none;
    }

    .core-values-hero,
    .core-values-hero__content {
        min-height: 460px;
    }

    .core-values-hero__content {
        padding: 28px 18px 24px;
    }

    .core-values-hero__content h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        max-width: 10ch;
        line-height: 1.02;
    }

    .core-values-hero__content p {
        font-size: 0.88rem;
    }

    .history-story-heading h1 {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }

    .history-story-feature__copy {
        padding-left: 16px;
    }

    .office-tablist {
        gap: 4px 12px;
    }

    .office-tab {
        padding-left: 0;
        padding-right: 0;
        font-size: 0.72rem;
    }

    .update-card img {
        height: 180px;
    }

    .leave-template__paper {
        font-size: 0.94rem;
    }

    .leave-template__masthead,
    .leave-template__panel,
    .leave-template__footer {
        padding-left: 10px;
        padding-right: 10px;
    }

    .leave-template__heading h2 {
        font-size: 1.45rem;
    }

    .history-feature {
        padding-left: 20px;
        padding-right: 20px;
    }

    .fact-card strong {
        font-size: 2rem;
    }
}
