/* Pass 4 additions on top of the pass-3 design system (style.css untouched):
   per-host logotype + headline, language toggle, illustrated hero with portrait slot, polling-place modal, sticky mobile CTA, card icons. */

/* ---------- host variants (data-host set by js/host.js; no JS = preview defaults) ---------- */
html:not([data-host]) .hv:not([data-h~="pv"]),
html[data-host="pv"] .hv:not([data-h~="pv"]),
html[data-host="epb"] .hv:not([data-h~="epb"]),
html[data-host="opb"] .hv:not([data-h~="opb"]),
html[data-host="ewp"] .hv:not([data-h~="ewp"]),
html[data-host="ewpb"] .hv:not([data-h~="ewpb"]),
html[data-host="vpb"] .hv:not([data-h~="vpb"]),
html[data-host="evpb"] .hv:not([data-h~="evpb"]) { display: none; }

/* ---------- header: logotype + language ---------- */
.lt { gap: 11px; }
.lt-text { display: flex; flex-direction: column; min-width: 0; }
.lt-name { font: 500 21px/1 var(--serif); letter-spacing: -.018em; white-space: nowrap; color: var(--ink); font-variation-settings: 'SOFT' 30; }
.lt-name em { font-style: italic; font-weight: 400; color: var(--coral); letter-spacing: -.01em; }
.lt-tag { display: flex; align-items: center; gap: 7px; margin-top: 6px; font: 600 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.lt-tag::before { content: ''; width: 16px; height: 1px; background: var(--gold); flex: none; }
.lt-tag i { font: italic 400 11.5px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--coral); }
.top-r { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255,255,255,.5); }
.lang a { font: 700 11.5px/1 var(--sans); letter-spacing: .08em; text-decoration: none; color: var(--ink-3); padding: 8px 9px; border-radius: 999px; min-width: 34px; text-align: center; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--ink); color: var(--ivory); }
@media (max-width: 639px) {
  .top .top-cta { display: none; }      /* the sticky bottom button takes over on phones */
  .top-in { gap: 10px; }
  .lt .mark-glyph { width: 30px; height: 30px; }
  .lt-name { font-size: 19px; }
}
@media (max-width: 370px) { .lt-name { font-size: 17px; } .lt .mark-glyph { display: none; } }

/* ---------- HERO (pass 4): illustrated sunset + portrait slot + host headline ---------- */
.hero4 { padding: 0; min-height: clamp(640px, calc(100svh - 64px), 960px); display: flex; align-items: flex-end; background: #0E1B2C; }
.hero4::before, .hero4::after { display: none; }
.h4-scene { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.h4-svg { width: 100%; height: 100%; display: block; }
.h4-photo { position: absolute; z-index: -2; right: 0; bottom: 0; width: 50%; height: 94%; pointer-events: none; }
.h4-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.hero4.has-photo .h4-photo img { object-fit: cover; object-position: 50% 20%; -webkit-mask-image: radial-gradient(ellipse 62% 78% at 50% 42%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 62% 78% at 50% 42%, #000 52%, transparent 100%); }
.hero4.has-photo .h4-photo::after, .hero4.has-cutout .h4-photo::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 62% 30%, rgba(242,140,100,.26), rgba(224,100,75,0) 70%), linear-gradient(180deg, rgba(14,27,44,0) 50%, rgba(43,26,54,.45) 72%, rgba(14,27,44,.92) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%); }
.hero4.has-cutout .h4-photo img { filter: drop-shadow(0 30px 60px rgba(14,27,44,.55)); }
.h4-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,27,44,.93) 0%, rgba(14,27,44,.8) 32%, rgba(14,27,44,.32) 54%, rgba(14,27,44,0) 68%),
              linear-gradient(0deg, rgba(14,27,44,.9) 0%, rgba(14,27,44,0) 34%); }
.h4-grid { width: 100%; padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(36px, 6vh, 64px); }
.h4-copy { max-width: 640px; }
.hero4 .eyebrow { color: var(--coral-l); }
.hero4 .h4-h1 { font-size: clamp(3.2rem, 6.3vw, 6.6rem); font-weight: 400; line-height: .9; letter-spacing: -.042em; text-wrap: balance; text-shadow: 0 2px 30px rgba(14,27,44,.45); font-variation-settings: 'SOFT' 50, 'WONK' 0; }
.hero4 .h4-h1 em { color: var(--coral); font-weight: 300; }
.hero4 .hero-sub { margin: 24px 0 28px; max-width: 36ch; color: rgba(250,247,240,.84); }
.hero4 .btn-xl .pin { flex: none; }
.h4-fine { font-size: 14.5px !important; color: rgba(250,247,240,.78) !important; }
.h4-fine strong { color: var(--ivory); font-weight: 600; }
.h4-live { margin-top: 28px; max-width: 580px; }
.hero4 .clock { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 18px; padding: 14px 16px; background: rgba(14,27,44,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(250,247,240,.18); }
.hero4 .clock-label { max-width: 9em; }
.hero4 .clock-digits { margin: 0; gap: 8px; }
.hero4 .clock-digits div { padding: 9px 4px 7px; }
.hero4 .clock-digits b { font-size: clamp(28px, 4vw, 38px); }
.hero4 .clock-digits span { font-size: 9px; }
.hero4 .clock-msg { grid-column: 1 / -1; font-size: 14px; }
.hero4 .bring { margin-top: 10px; }
.hero4 .bring summary { padding: 14px 18px; font-size: 15px; }
@media (max-width: 979px) {
  .hero4 { display: block; min-height: 0; }
  .h4-scene { inset: 0 auto auto 50%; width: auto; height: min(132vw, 620px); aspect-ratio: 1.6; transform: translate(-71%, -16%); }
  .h4-photo { left: 0; right: 0; top: 0; bottom: auto; width: 100%; height: min(128vw, 640px); }
  .hero4.has-cutout .h4-photo img { object-fit: cover; object-position: 50% 0; }
  .hero4.has-photo .h4-photo::after, .hero4.has-cutout .h4-photo::after { -webkit-mask-image: none; mask-image: none; background: linear-gradient(180deg, rgba(224,100,75,.16) 0%, rgba(224,100,75,0) 30%, rgba(14,27,44,0) 46%, rgba(14,27,44,.75) 72%, #0E1B2C 100%); }
  .hero4.has-photo .h4-photo img { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .h4-shade { background: linear-gradient(180deg, rgba(14,27,44,0) 0, rgba(14,27,44,0) min(34vw, 200px), rgba(14,27,44,.72) min(64vw, 380px), #0E1B2C min(96vw, 560px)); }
  .h4-grid { padding-top: min(54vw, 320px); padding-bottom: 44px; }
  .hero4.has-cutout .h4-grid, .hero4.has-photo .h4-grid { padding-top: min(78vw, 450px); }
  .hero4 .h4-h1 { font-size: clamp(2.9rem, 13vw, 5.2rem); }
}
@media (max-width: 979px) and (min-width: 640px) { .h4-scene { transform: translate(-60%, -22%); } }

/* motion: palms sway, clouds drift, the sun path shimmers; all off for reduced motion */
.h4-svg .sway { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .h4-svg .sway { animation: sway 8s ease-in-out infinite alternate; }
  .h4-svg .sway:nth-of-type(2n) { animation-duration: 9.5s; animation-delay: -3s; }
  .h4-svg .sway-s { animation: sway-s 7s ease-in-out infinite alternate; }
  .h4-svg .drift { animation: drift 46s ease-in-out infinite alternate; }
  .h4-svg .drift.d1 { animation-duration: 60s; animation-delay: -20s; }
  .h4-svg .drift.d2 { animation-duration: 38s; animation-delay: -9s; }
  .h4-svg .sh { animation: shim 3.2s ease-in-out infinite; }
  .h4-svg .sh.s1 { animation-delay: -.8s; } .h4-svg .sh.s2 { animation-delay: -1.6s; } .h4-svg .sh.s3 { animation-delay: -2.4s; }
  .h4-svg .breathe { animation: breathe 7s ease-in-out infinite alternate; }
  .h4-svg .bird { animation: glide 14s ease-in-out infinite alternate; }
  .h4-svg .bird.b1, .h4-svg .bird.b3 { animation-duration: 17s; animation-delay: -5s; }
  .m-cta { transition: transform .35s var(--ease), opacity .35s; }
}
@keyframes sway { from { transform: rotate(-1.1deg); } to { transform: rotate(1.3deg); } }
@keyframes sway-s { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }
@keyframes shim { 0%, 100% { opacity: .9; transform: scaleX(1); } 50% { opacity: .35; transform: scaleX(.86); } }
.h4-svg .sh { transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes breathe { from { opacity: .8; } to { opacity: 1; } }
@keyframes glide { from { transform: translate(0, 0); } to { transform: translate(60px, -14px); } }

/* ---------- sticky mobile CTA ---------- */
.m-cta { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px; background: var(--coral); color: #fff; font: 600 17px/1 var(--sans); text-decoration: none; box-shadow: 0 18px 40px -12px rgba(14,27,44,.55), 0 0 0 1px rgba(255,255,255,.15) inset; transform: translateY(140%); opacity: 0; pointer-events: none; }
.m-cta.show { transform: none; opacity: 1; pointer-events: auto; }
html.pm-open .m-cta { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 980px) { .m-cta { display: none; } }

/* ---------- footer CTA ---------- */
.foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 36px 0 0; padding: 24px 0; border-top: 1px solid var(--line-inv); }
.foot .lang { background: rgba(250,247,240,.06); box-shadow: inset 0 0 0 1px var(--line-inv); }
.foot .lang a { color: rgba(250,247,240,.7); }
.foot .lang a[aria-current] { background: var(--ivory); color: var(--ink); }

/* ---------- POLLING-PLACE MODAL ---------- */
html.pm-open { overflow: hidden; }
dialog.pm { padding: 0; border: 0; margin: auto; width: min(1180px, 94vw); height: min(900px, 92vh); max-width: none; max-height: none; border-radius: 26px; color: var(--ink); overflow: hidden;
  background: rgba(250,247,240,.82); -webkit-backdrop-filter: blur(26px) saturate(1.35); backdrop-filter: blur(26px) saturate(1.35);
  box-shadow: 0 50px 140px -30px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.55); }
dialog.pm::backdrop { background: rgba(14,27,44,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
dialog.pm[open] { display: block; }
@media (prefers-reduced-motion: no-preference) { dialog.pm[open] { animation: pm-in .38s var(--ease); } }
@keyframes pm-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.pm-in { height: 100%; display: grid; grid-template-rows: auto auto auto auto minmax(0, 1fr) auto; gap: 0; }
.pm-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 30px 14px; }
.pm-top .eyebrow { color: var(--palm); margin-bottom: 12px; }
.pm-top h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 400; letter-spacing: -.035em; line-height: .95; }
.pm-top h2 em { font-style: italic; font-weight: 300; color: var(--coral); }
.pm-x { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(14,27,44,.08); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.pm-x:hover { background: var(--ink); color: var(--ivory); }
.pm-note { margin: 0 30px; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: rgba(250,247,240,.82); font-size: 15px; line-height: 1.5; }
.pm-note p { margin: 0; }
.pm-note strong { color: var(--ivory); font-weight: 600; }
.pm-note-ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--sans); margin-top: 1px; }
.pm-form { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 30px 0; }
.pm-field { flex: 1 1 360px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; min-height: 54px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(14,27,44,.14), 0 8px 24px -16px rgba(14,27,44,.4); color: var(--ink-3); }
.pm-field:focus-within { box-shadow: inset 0 0 0 2px var(--coral), 0 8px 24px -16px rgba(14,27,44,.4); }
.pm-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 16.5px/1.2 var(--sans); color: var(--ink); padding: 14px 0; }
.pm-field input::placeholder { color: var(--ink-3); }
.pm-go { border: 0; border-radius: 999px; background: var(--ink); color: var(--ivory); font: 600 15px/1 var(--sans); padding: 0 20px; min-height: 42px; cursor: pointer; }
.pm-go:hover { background: #1c2f47; }
.pm-geo { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 999px; min-height: 54px; padding: 0 22px; background: var(--palm); color: #fff; font: 600 15.5px/1 var(--sans); cursor: pointer; box-shadow: 0 12px 26px -14px rgba(31,94,74,.9); }
.pm-geo:hover { background: var(--palm-d); }
.pm-status { margin: 0; padding: 8px 30px 0; min-height: 30px; font-size: 14.5px; color: var(--ink-2); }
.pm-status.bad { color: var(--coral-d); font-weight: 600; }
.pm-body { display: grid; grid-template-columns: 1.08fr 1fr; gap: 18px; padding: 6px 30px 0; min-height: 0; }
.pm-map { position: relative; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #E9E3D6, #DCE5E0); box-shadow: inset 0 0 0 1px var(--line); min-height: 280px; }
.pm-map:not(.ready):not(.failed)::after { content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 3px solid rgba(14,27,44,.12); border-top-color: var(--coral); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pm-mapfail { margin: 0; padding: 22px; font-size: 14.5px; color: var(--ink-2); }
.pm-map .maplibregl-ctrl-attrib { font-size: 10px; }
.pm-results { min-height: 0; overflow: auto; padding: 0 4px 20px 0; overscroll-behavior: contain; }
.pm-rh { padding: 2px 0 12px; }
.pm-rh h3 { font-size: 23px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.pm-rh p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.pm-reset { margin-top: 8px; border: 0; background: transparent; padding: 0; color: var(--palm); font: 600 14px/1.2 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm-card { background: rgba(255,255,255,.78); border-radius: 16px; padding: 14px 16px 14px; box-shadow: 0 1px 0 rgba(14,27,44,.04), 0 10px 26px -18px rgba(14,27,44,.35), inset 0 0 0 1px rgba(14,27,44,.07); cursor: pointer; transition: box-shadow .2s, transform .2s var(--ease); }
.pm-card:hover { transform: translateY(-1px); }
.pm-card.first { box-shadow: inset 0 0 0 2px var(--coral), 0 16px 30px -18px rgba(224,100,75,.7); }
.pm-card.sel { box-shadow: inset 0 0 0 2px var(--ink), 0 16px 30px -18px rgba(14,27,44,.6); }
.pm-c-top { display: flex; gap: 12px; align-items: flex-start; }
.pm-pin { flex: none; width: 28px; height: 28px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--sans); margin-top: 2px; }
.pm-card.first .pm-pin { background: var(--coral); }
.pm-pin i { font-style: normal; transform: rotate(45deg); }
.pm-pin:empty { width: 12px; height: 12px; margin: 6px 8px 0; border-radius: 50%; transform: none; background: var(--coral); }
.pm-c-main { flex: 1; min-width: 0; }
.pm-card h4 { font: 600 16.5px/1.25 var(--sans); letter-spacing: -.01em; }
.pm-addr { margin: 4px 0 6px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.pm-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pm-meta span { font: 600 11px/1 var(--sans); letter-spacing: .04em; padding: 6px 8px; border-radius: 999px; background: var(--sand-2); color: var(--ink-2); }
.pm-meta span:nth-child(2) { background: #D8E8DF; color: var(--palm-d); }
.pm-meta .ap { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); font-weight: 500; }
.pm-dist { flex: none; font: 400 22px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; padding-top: 2px; }
.pm-dirs { display: flex; gap: 8px; margin-top: 12px; padding-left: 40px; }
.pm-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 12px; border-radius: 999px; font: 600 14px/1 var(--sans); text-decoration: none; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px rgba(14,27,44,.2); transition: background .2s, color .2s; white-space: nowrap; }
.pm-btn:hover { background: var(--ink); color: var(--ivory); }
.pm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 14px 30px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.pm-foot p { margin: 0; max-width: 70ch; }
.pm-confirm { font: 600 13.5px/1.2 var(--sans); color: var(--palm); text-underline-offset: 3px; }
@media (max-width: 759px) {
  dialog.pm { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; inset: 0; }
  .pm-in { display: block; overflow: auto; height: 100%; overscroll-behavior: contain; }
  .pm-top { position: sticky; top: 0; z-index: 5; padding: 16px 18px 12px; background: rgba(250,247,240,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .pm-top .eyebrow { margin-bottom: 8px; font-size: 10.5px; }
  .pm-ebd { display: none; }
  .pm-note { margin: 4px 18px 0; font-size: 14px; }
  .pm-form { padding: 14px 18px 0; }
  .pm-field { flex-basis: 100%; }
  .pm-field input { font-size: 16px; }
  .pm-go { padding: 0 16px; }
  .pm-geo { flex: 1; justify-content: center; }
  .pm-status { padding: 8px 18px 0; }
  .pm-body { display: block; padding: 4px 18px 0; }
  .pm-map { height: 44vh; min-height: 260px; margin-bottom: 16px; }
  .pm-results { overflow: visible; padding: 0; }
  .pm-rh { position: static; background: none; }
  .pm-dirs { padding-left: 0; }
  .pm-foot { padding: 16px 18px calc(22px + env(safe-area-inset-bottom)); }
}

/* ---------- record cards: icon-led (additive; markup unchanged) ---------- */
.card-top { justify-content: flex-start; }
.card-top::before { content: ''; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--sand-2) center / 22px 22px no-repeat; box-shadow: inset 0 0 0 1px rgba(14,27,44,.06); }
.card-num { margin-left: auto; }
.card[data-cat="transportation"] .card-top::before { background-color: #DCE7F2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D3D63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='14' rx='3'/%3E%3Cpath d='M5 10h14M9 14h.01M15 14h.01M8 21l2-4M16 21l-2-4'/%3E%3C/svg%3E"); }
.card[data-cat="housing"] .card-top::before { background-color: #FBE1D9; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E3420' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E"); }
.card[data-cat="environment"] .card-top::before { background-color: #D8E8DF; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23164536' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 5-13 15-14-1 10-6 15-14 15'/%3E%3Cpath d='M5 19l7-7'/%3E%3C/svg%3E"); }
.card[data-cat="jobs"] .card-top::before { background-color: #EFE3C6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B5114' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M3 13h18'/%3E%3C/svg%3E"); }
.card[data-cat="waste"] .card-top::before { background-color: #E6E1EE; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23463A63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 19H4.5a1.5 1.5 0 0 1-1.3-2.2L5 13.5M8.5 6.5l1.2-2a1.5 1.5 0 0 1 2.6 0l2 3.4M17 13l1.8 3.2a1.5 1.5 0 0 1-1.3 2.3H11'/%3E%3Cpath d='M13 16.5l-2 2 2 2M6.5 11l-1.5 2.5-2.7-.7M16.5 6.2l-.3 3.3 3 .8'/%3E%3C/svg%3E"); }
.card[data-cat=""] .card-top::before { background-color: #EFE3C6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B5114' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16M6 16v-4M10 16V8M14 16v-6M18 16V5'/%3E%3C/svg%3E"); }
.card-top .tag { margin-left: 2px; }

/* ---------- PASS 5: pastel hero (lavender -> pink -> peach sky, pale sun, mint/aqua water, soft plum palms) ----------
   Hero text is deep navy #14213D on the light scene; CTA softens to #FF7F6E with navy label (6.4:1). */
.hero4 { --h4-navy: #14213D; --h4-base: #E9F8F6; background: #FFD3B0; color: var(--h4-navy); }
.hero4.inv p, .hero4 .hero-sub { color: rgba(20,33,61,.84); }
.hero4 .hero-sub strong, .hero4 .h4-fine strong { color: var(--h4-navy); }
.hero4 .eyebrow { color: #574573; }
.hero4 .h4-h1 { color: var(--h4-navy); text-shadow: 0 1px 24px rgba(255,248,240,.55); }
.hero4 .h4-h1 em { color: #B8352C; }                          /* deeper coral for 3:1+ on the pastel wash (large text) */
.hero4 .h4-fine { color: rgba(20,33,61,.8) !important; }
.hero4 .btn-coral { background: #FF7F6E; color: var(--h4-navy); box-shadow: 0 14px 30px -14px rgba(255,127,110,.85), inset 0 0 0 1px rgba(255,255,255,.25); }
.hero4 .btn-coral:hover { background: #FF6B58; }
.hero4 .clock { background: rgba(255,255,255,.58); border-color: rgba(110,90,138,.2); box-shadow: 0 18px 40px -26px rgba(110,90,138,.55); }
.hero4 .clock-label { color: rgba(20,33,61,.72); }
.hero4 .clock-digits div { background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(110,90,138,.1); }
.hero4 .clock-digits b { color: var(--h4-navy); }
.hero4 .clock-digits span { color: rgba(20,33,61,.62); }
.hero4 .clock-msg, .hero4.inv .clock-msg { color: rgba(20,33,61,.82); }
.hero4 .clock-msg strong { color: var(--h4-navy); }
.hero4 .src, .hero4.inv .src { background: rgba(110,90,138,.12); color: var(--h4-navy); }
.hero4 .src:hover, .hero4.inv .src:hover { background: var(--h4-navy); color: #fff; }
.hero4 .bring { background: rgba(255,255,255,.86); box-shadow: 0 18px 40px -28px rgba(110,90,138,.6); }
.hero4 .bring summary .ic { background: #F3ECFF; }
/* light wash behind the copy instead of the navy shade */
.h4-shade { background: linear-gradient(90deg, rgba(255,247,243,.88) 0%, rgba(255,244,242,.76) 34%, rgba(255,240,240,.3) 54%, rgba(255,240,240,0) 66%),
                        linear-gradient(0deg, rgba(233,248,246,.7) 0%, rgba(233,248,246,0) 30%); }
/* portrait overlay: pink haze on top, melt into the mint water at the base */
.hero4.has-photo .h4-photo::after, .hero4.has-cutout .h4-photo::after {
  background: radial-gradient(ellipse 60% 55% at 62% 30%, rgba(255,184,209,.22), rgba(255,184,209,0) 70%), linear-gradient(180deg, rgba(233,248,246,0) 72%, rgba(205,184,255,.1) 86%, rgba(220,244,242,.6) 100%); }
.hero4.has-cutout .h4-photo img { filter: drop-shadow(0 30px 60px rgba(110,90,138,.32)); }
@media (max-width: 979px) {
  .hero4 { background: var(--h4-base); }
  .hero4.has-photo .h4-photo::after, .hero4.has-cutout .h4-photo::after { background: linear-gradient(180deg, rgba(255,184,209,.12) 0%, rgba(255,184,209,0) 30%, rgba(233,248,246,0) 60%, rgba(233,248,246,.7) 82%, var(--h4-base) 100%); }
  .h4-shade { background: linear-gradient(180deg, rgba(233,248,246,0) 0, rgba(233,248,246,0) min(34vw, 200px), rgba(233,248,246,.75) min(64vw, 380px), var(--h4-base) min(96vw, 560px)); }
}
.foot .mark-name { margin-bottom: 12px; }

/* === HAND FIX 11:40: full-viewport hero, no hard lines, no white wash === */
.hero4 { min-height: 100svh; isolation: isolate; }
.hero4 .h4-grid { position: relative; z-index: 1; }
/* kill the flat white wash; soft pastel tint only, readability via text glow */
.h4-shade { background:
  radial-gradient(ellipse 70% 80% at 18% 55%, rgba(255,226,236,.55) 0%, rgba(255,226,236,.25) 45%, rgba(255,226,236,0) 70%); }
.hero4 .hero-sub, .hero4 .h4-fine { text-shadow: 0 1px 14px rgba(255,240,245,.9); }
/* dissolve the sky/water horizon seam */
.h4-scene::after { content: ''; position: absolute; left: 0; right: 0; top: 38%; height: 26%; pointer-events: none;
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(255,214,206,0) 0%, rgba(255,214,206,.35) 40%, rgba(196,236,232,.35) 60%, rgba(196,236,232,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%, #000 65%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 35%, #000 65%, transparent 100%); }
/* portrait: feather left edge and bottom so she melts into the pastel */
.hero4.has-cutout .h4-photo img, .hero4.has-photo .h4-photo img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%), linear-gradient(180deg, #000 58%, transparent 97%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 20%), linear-gradient(180deg, #000 58%, transparent 97%); mask-composite: intersect; }
.hero4.has-photo .h4-photo::after, .hero4.has-cutout .h4-photo::after { background: radial-gradient(ellipse 60% 55% at 62% 30%, rgba(255,184,209,.18), rgba(255,184,209,0) 70%); -webkit-mask-image: none; mask-image: none; }
/* bottom: long pastel melt into the next section, no seam */
.hero4::after { display: block !important; content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(250,247,240,0) 0%, rgba(232,218,255,.28) 38%, rgba(255,226,232,.55) 66%, #FAF7F0 100%); }
@media (max-width: 979px) { .hero4 { min-height: auto; } }
.disclaimer { border: 0 !important; background: none !important; padding: 0 !important; }
/* HAND FIX 11:44: centre the copy block vertically in the hero */
@media (min-width: 980px) { .hero4 { align-items: center; } .hero4 .h4-grid { padding-top: clamp(40px, 6vh, 72px); padding-bottom: clamp(96px, 16vh, 180px); } }
