/* SCHRP public site. Colours, type and spacing follow the SCHRP design system. */
:root {
  --blue-500: #418edc; --blue-600: #2573c4; --blue-700: #1b5fa8; --blue-800: #154a85;
  --navy-900: #0e2742; --ink-600: #42566b; --sky-100: #e6f4ff; --sky-300: #bcdcf7;
  --leaf-400: #8ff83a; --leaf-700: #2f6b12; --paper: #f7f5f0; --white: #ffffff;
  --line: #d5dce4; --line-strong: #6f8196;
  --success: #17694a; --success-bg: #e3f3ec; --error: #b42318; --error-bg: #fdeceb; --warning: #8a5a00; --warning-bg: #fff4d6;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(48px, 7vw, 96px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--navy-900); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, .h3, .card h3, .event-row h3, .statement { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
h3 { font-size: 19px; line-height: 1.35; font-weight: 700; }
h4 { font-size: 18px; line-height: 1.35; font-weight: 700; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 2px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--leaf-400); }
main:focus { outline: none; }

.wrap { max-width: 1264px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 800px; }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.band { background: var(--sky-100); }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.small { font-size: 15px; line-height: 1.5; }
.meta { font-size: 15px; line-height: 1.5; color: var(--ink-600); }
.muted { color: var(--ink-600) !important; }
.lead { font-size: 20px; line-height: 1.6; color: var(--ink-600); max-width: 680px; }
.pre { white-space: pre-line; }
.eyebrow { font-family: var(--sans); font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--leaf-700); }
.ph { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 4px; background: var(--warning-bg); color: var(--warning); font-family: var(--sans); font-style: normal; font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy-900); color: var(--white); padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 8px; color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.empty { padding: 32px; border: 1px dashed var(--line-strong); border-radius: 8px; color: var(--ink-600); background: var(--white); max-width: 720px; }
.preview-bar { background: var(--warning-bg); color: var(--navy-900); text-align: center; padding: 10px 16px; font-weight: 600; font-size: 15px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border-radius: 8px; border: 2px solid var(--blue-700); font: 600 16px/1.4 var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.btn-primary { background: var(--blue-700); color: var(--white); }
.btn-primary:hover { background: var(--blue-800); border-color: var(--blue-800); color: var(--white); }
.btn-secondary { background: transparent; color: var(--blue-700); }
.btn-secondary:hover { background: var(--sky-100); color: var(--blue-800); border-color: var(--blue-800); }
.btn-light { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn-light:hover { background: var(--sky-100); border-color: var(--sky-100); color: var(--navy-900); }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 16px; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; font-size: 15px; text-decoration: none; margin-bottom: 8px; }
.back:hover { text-decoration: underline; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); font-weight: 700; font-size: 15px; line-height: 1.25; max-width: 250px; }
.brand:hover { color: var(--navy-900); }
.brand img { width: 56px; height: 56px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
.nav ul { display: flex; align-items: center; gap: 24px; }
.nav li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy-900); text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; }
.nav li a:hover, .nav li a[aria-current] { color: var(--blue-700); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-extra { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; font-size: 14px; font-weight: 700; }
.lang a { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 12px; color: var(--navy-900); text-decoration: none; background: var(--white); }
.lang a[aria-current] { background: var(--navy-900); color: var(--white); }
.lang-long { display: none; }
.menu-btn { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 2px solid var(--blue-700); border-radius: 8px; background: var(--white); color: var(--blue-700); cursor: pointer; padding: 0; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: inline-flex; }
.menu-btn span { display: inline-flex; }

@media (max-width: 1100px) {
  .header-row { min-height: 64px; flex-wrap: wrap; }
  .brand { font-size: 13px; max-width: 220px; }
  .brand img { width: 44px; height: 44px; }
  html:not(.no-js) .menu-btn { display: inline-flex; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 20px; }
  html:not(.no-js) .nav { display: none; }
  html:not(.no-js) .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li a { display: flex; min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 500; font-size: 24px; }
  .nav li a:hover, .nav li a[aria-current] { text-underline-offset: 4px; }
  .nav-extra { flex-direction: column; align-items: stretch; padding-top: 20px; }
  .lang a { flex: 1; min-height: 48px; font-size: 16px; }
  .lang-short { display: none; }
  .lang-long { display: inline; }
}

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 64px); padding-top: clamp(32px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 96px); }
.hero-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.06; }
.hero .lead { max-width: 520px; }
.hero-figure { flex: 1.25 1 440px; min-width: 0; }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; border-radius: 4px; background: var(--sky-100); }
/* hero slideshow: a row of photos you can swipe, with buttons underneath */
.slideshow { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 4px; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; }
.slide figcaption { min-height: 3em; }
.slide-controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.slide-btn { width: 48px; height: 48px; min-width: 44px; min-height: 44px; flex: 0 0 48px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--blue-700); border-radius: 50%; background: var(--white); color: var(--blue-700); cursor: pointer; }
.slide-btn:hover { background: var(--blue-700); color: var(--white); }
.slide-dots { flex: 1 1 auto; display: flex; justify-content: center; align-items: center; gap: 4px; }
.slide-dot { width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.slide-dot::after { content: ''; position: absolute; left: 4px; right: 4px; top: 20px; height: 4px; border-radius: 2px; background: var(--line-strong); }
.slide-dot[aria-current='true']::after { background: var(--blue-700); top: 19px; height: 6px; border-radius: 3px; }
.ico-pause { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.slide-play.paused .ico-pause { width: 0; height: 0; border: 8px solid transparent; border-left: 13px solid currentColor; border-right: 0; margin-left: 4px; }
figcaption { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-600); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.somali-line { padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--ink-600); }
@media (max-width: 600px) {
  .hero .actions .btn { flex: 1 1 100%; }
  .hero-figure { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); flex-basis: 100%; }
  .hero-img { border-radius: 0; }
  .slides { border-radius: 0; }
  .hero-figure figcaption { padding: 0 var(--gutter); }
  .slide-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 0 var(--gutter); }
  .slide-controls [data-prev] { grid-column: 1; grid-row: 1; justify-self: center; }
  .slide-controls [data-next] { grid-column: 3; grid-row: 1; justify-self: center; }
  .slide-dots { grid-column: 1 / -1; grid-row: 2; flex-wrap: nowrap; }
  .slide-controls [data-play] { grid-column: 2; grid-row: 1; justify-self: center; }
}

/* impact numbers */
.stats { background: var(--navy-900); color: var(--white); }
.stats-row { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-top: 40px; padding-bottom: 40px; }
.stat { flex: 1 1 200px; display: flex; flex-direction: column; }
.stat-num { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1.05; }
.stat-label { color: var(--sky-300); font-size: 16px; }

/* section head */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 48px; margin-bottom: clamp(24px, 4vw, 48px); }
.section-head > div { display: flex; flex-direction: column; gap: 12px; flex: 1 1 320px; }
.page-head { padding: clamp(32px, 5vw, 72px) 0 clamp(8px, 2vw, 24px); }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* focus areas */
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 48px; }
.focus-item { display: flex; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-strong); }
.focus-num { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--blue-700); min-width: 44px; }
.focus-item p { font-size: 16px; line-height: 1.55; color: var(--ink-600); margin-top: 6px; }

/* mission */
.mission { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 88px); }
.mission-figure { flex: 1 1 360px; min-width: 0; }
.mission-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 40%; border-radius: 4px; }
.mission-text { flex: 1.2 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.statement { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; }
.vision { padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.vision p:last-child { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.45; }
@media (max-width: 600px) { .mission-img { aspect-ratio: 5 / 4; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 48px 32px; }
.card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; margin-bottom: 4px; background: var(--sky-100); }
.card h3, .card .h3 { font-size: 24px; line-height: 1.25; font-weight: 500; }
.card-link { color: var(--navy-900); text-decoration: none; }
.card-link:hover { color: var(--blue-700); text-decoration: underline; }
.card-text { font-size: 16px; line-height: 1.6; color: var(--ink-600); }

/* chips and tabs */
.chips, .tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--navy-900); text-decoration: none; font-weight: 600; font-size: 15px; }
.chips a:hover { border-color: var(--blue-700); color: var(--blue-700); }
.chips a[aria-current] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.tabs { gap: 0; border-bottom: 1px solid var(--line-strong); }
.tabs a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; color: var(--ink-600); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--blue-700); }
.tabs a[aria-current] { color: var(--navy-900); border-bottom-color: var(--blue-700); }

/* events */
.event-list { border-bottom: 1px solid var(--line-strong); }
.event-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.event-date { flex: 0 0 96px; display: flex; flex-direction: column; }
.event-day { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--blue-700); }
.event-month { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-600); }
.event-body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.event-row h3 { font-size: 26px; line-height: 1.25; font-weight: 500; }
.event-img { flex: 0 1 220px; width: 220px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.event-facts { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); width: 100%; }
.event-facts dt { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-600); }
.event-facts dd { font-size: 18px; font-weight: 600; }
@media (max-width: 600px) {
  .event-row { align-items: flex-start; gap: 12px 16px; }
  .event-date { flex-basis: 64px; }
  .event-day { font-size: 40px; }
  .event-body { flex-basis: 200px; }
  .event-row h3 { font-size: 22px; }
  .event-img { display: none; }
  .event-row .btn { margin-left: 80px; }
}

/* gallery */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.mosaic img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; }
.mosaic-1 { grid-column: span 5; } .mosaic-2 { grid-column: span 3; } .mosaic-3 { grid-column: span 4; }
.mosaic-4 { grid-column: span 3; } .mosaic-5 { grid-column: span 5; } .mosaic-6 { grid-column: span 4; }
@media (max-width: 800px) {
  .mosaic { gap: 8px; }
  .mosaic img { height: 180px; }
  .mosaic-1 { grid-column: span 12; height: 230px !important; } .mosaic-2, .mosaic-3, .mosaic-4, .mosaic-5 { grid-column: span 6; } .mosaic-6 { display: none; }
}
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry li { break-inside: avoid; margin-bottom: 16px; }
.masonry a { display: block; border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.masonry img { width: 100%; border-radius: 4px; background: var(--sky-100); }
.masonry p { margin-top: 6px; color: var(--ink-600); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; color: var(--white); }
.lightbox::backdrop { background: rgba(8, 20, 36, 0.94); }
.lightbox-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 16px 24px; gap: 12px; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 4px; }
.lightbox-caption { max-width: 800px; text-align: center; font-size: 16px; color: var(--white); min-height: 24px; }
.lightbox-count { font-size: 14px; color: var(--sky-300); }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--white); background: rgba(14, 39, 66, 0.9); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.lightbox button:hover { background: var(--blue-700); }
.lightbox button:focus-visible { outline: 3px solid var(--leaf-400); outline-offset: 2px; }
.lightbox [data-close] { top: 12px; right: 12px; }
.lightbox [data-prev] { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox [data-next] { right: 12px; top: 50%; transform: translateY(-50%); }

/* partners */
.partners { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: center; }
.partners-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.partners-text p:not(.eyebrow) { color: var(--ink-600); }
.partner-logos { flex: 1.2 1 400px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.partner-logos li { height: 96px; display: flex; align-items: center; justify-content: center; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; text-align: center; font-weight: 600; font-size: 15px; }
.partner-logos img { max-height: 64px; width: auto; object-fit: contain; }
.partner-logos a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--navy-900); }

/* about */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 48px clamp(32px, 6vw, 88px); }
.two-col > div { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ticks { display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 14px; height: 8px; border-left: 3px solid var(--leaf-700); border-bottom: 3px solid var(--leaf-700); transform: rotate(-45deg); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 32px; }
.value { padding: 24px 0; border-top: 3px solid var(--blue-700); }
.value h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.value p { font-size: 16px; color: var(--ink-600); }
.defs { display: flex; flex-direction: column; }
.defs > div { padding: 16px 0; border-top: 1px solid var(--line); }
.defs dt { font-weight: 700; }
.defs dd { color: var(--ink-600); }
.social { display: flex; gap: 20px; flex-wrap: wrap; }
.team-group { margin-bottom: 40px; }
.team-group > h3 { margin-bottom: 20px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 32px; }
.person { display: flex; flex-direction: column; gap: 6px; }
.person-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; margin-bottom: 8px; background: var(--sky-100); }
.person-initials { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 64px; color: var(--blue-700); }
.timeline { border-left: 3px solid var(--blue-700); display: flex; flex-direction: column; gap: 32px; padding-left: 28px; max-width: 800px; }
.timeline li { display: flex; flex-direction: column; gap: 6px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -37px; top: 10px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue-700); border: 3px solid var(--sky-100); }
.timeline-year { font-family: var(--serif); font-size: 28px; color: var(--blue-700); line-height: 1.2; }

/* get involved */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.way { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; scroll-margin-top: 100px; }
.way p { color: var(--ink-600); flex-grow: 1; }

/* article */
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 4px; }
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 30px; margin-top: 16px; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-top: 8px; }
.prose ul, .prose ol { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose blockquote { border-left: 3px solid var(--blue-700); padding-left: 20px; font-family: var(--serif); font-style: italic; font-size: 22px; }

/* forms */
.form { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 100px; }
.field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 240px; min-width: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
label { font-weight: 600; font-size: 16px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); color: var(--navy-900); font: 400 17px/1.5 var(--sans); }
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--navy-900); }
.notice { display: flex; align-items: flex-start; gap: 8px; padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.notice svg { flex: none; margin-top: 3px; }
.notice-success { background: var(--success-bg); color: var(--success); }
.notice-error { background: var(--error-bg); color: var(--error); }
.map { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: 8px; margin-top: 8px; }

/* newsletter + footer */
.newsletter { background: var(--blue-700); color: var(--white); padding: clamp(40px, 5vw, 72px) 0; scroll-margin-top: 80px; }
.newsletter .split { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 80px; }
.newsletter .split > div { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.newsletter-form { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.newsletter-row { display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter-row input { flex: 1 1 220px; border: 2px solid var(--white); }
.newsletter .notice-success { background: var(--white); }
.site-footer { background: var(--navy-900); color: var(--white); padding: clamp(48px, 6vw, 80px) 0 32px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sky-300); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-grid h2 { font: 700 13px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 14px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { color: var(--sky-300); font-size: 16px; max-width: 360px; }
.footer-logo { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.footer-logo span { max-width: 260px; }
.leaf-rule { width: 48px; height: 3px; background: var(--leaf-400); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink-600); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; color: var(--sky-300); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid li a, .footer-bottom a { min-height: 44px; } }

/* gentle entrance; off when the visitor asks for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
  html:not(.no-js) .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
