:root{--ink:#16362a;--muted:#5b7166;--line:#d6e5dc;--paper:#fff;--green:#08704a;--green-dark:#064a32;--green-soft:#ecf8f0;--gold:#c79527;--gold-soft:#fff6dd}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;color:var(--ink);font-family:"DM Sans",Arial,sans-serif;background:linear-gradient(135deg,rgb(3 39 27 / 82%),rgb(5 79 52 / 71%) 45%,rgb(4 38 28 / 78%)),url("../assets/Pateros Municipal Hall-bg.jpg") center/cover fixed no-repeat;background-color:#073d2b}.portal-shell{width:min(1180px,calc(100% - 40px));min-height:100vh;margin:0 auto;padding:25px 0 48px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 16px;border:1px solid rgb(255 255 255 / 28%);border-radius:16px;background:rgb(255 255 255 / 88%);box-shadow:0 10px 28px rgb(1 35 23 / 18%);backdrop-filter:blur(12px)}.brand{display:inline-flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand img{width:56px;height:56px;border-radius:50%;object-fit:contain;background:#fff;box-shadow:0 5px 16px rgb(11 54 37 / 16%)}.brand strong,.brand small{display:block}.brand strong{font-size:.95rem;letter-spacing:-.01em}.brand small{margin-top:3px;color:var(--muted);font-size:.76rem}.support-link{color:var(--green-dark);font-size:.9rem;font-weight:700;text-underline-offset:4px}..hero{position:relative;isolation:isolate;display:flex;min-height:375px;align-items:center;margin:28px 0 38px;padding:58px clamp(28px,7vw,82px);overflow:hidden;border:1px solid rgb(255 255 255 / 32%);border-radius:24px;background:linear-gradient(90deg,rgb(2 40 27 / 83%) 0%,rgb(5 75 49 / 67%) 52%,rgb(3 39 27 / 54%) 100%);box-shadow:0 22px 46px rgb(1 35 23 / 30%);color:#fff;backdrop-filter:blur(2px)}.hero::after{position:absolute;z-index:-1;right:-80px;bottom:-100px;width:340px;height:340px;border:1px solid rgb(255 255 255 / 22%);border-radius:50%;box-shadow:0 0 0 42px rgb(255 255 255 / 6%),0 0 0 84px rgb(255 255 255 / 4%);content:""}.hero>*{max-width:690px}.eyebrow,.card-label{margin:0 0 13px;font-size:.72rem;font-weight:700;letter-spacing:.15em}.hero .eyebrow{color:#e6c668}.hero h1{margin:0;font-family:"Playfair Display",Georgia,serif;font-size:clamp(2.45rem,5vw,4.35rem);line-height:1.05;letter-spacing:-.045em}.hero-copy{margin:20px 0 0;color:rgb(255 255 255 / 88%);font-size:1.05rem;line-height:1.7}.portal-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.portal-card{position:relative;display:flex;min-height:390px;flex-direction:column;padding:34px;overflow:hidden;border:1px solid rgb(255 255 255 / 54%);border-radius:20px;background:rgb(255 255 255 / 94%);box-shadow:0 18px 38px rgb(1 35 23 / 25%);backdrop-filter:blur(10px)}.portal-card::after{position:absolute;right:-70px;bottom:-95px;width:215px;height:215px;border-radius:50%;content:"";opacity:.55}.applicant-card::after{background:#d9f2e1}.staff-card::after{background:#ffedbd}.card-icon{display:grid;width:52px;height:52px;place-items:center;border-radius:14px}.applicant-card .card-icon{color:var(--green);background:var(--green-soft)}.staff-card .card-icon{color:#956805;background:var(--gold-soft)}.card-icon svg{width:27px;height:27px}.card-content{position:relative;z-index:1}.card-label{margin-top:24px;color:var(--green)}.staff-card .card-label{color:#956805}.portal-card h2{margin:0;font-family:"Playfair Display",Georgia,serif;font-size:1.85rem;letter-spacing:-.025em}.portal-card p:not(.card-label){margin:13px 0 0;color:var(--muted);line-height:1.62}.card-actions{position:relative;z-index:1;margin-top:auto;padding-top:24px}.button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:13px 17px;border-radius:10px;color:#fff;font-size:.93rem;font-weight:700;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.button:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgb(13 89 53 / 22%)}.button-primary{background:var(--green)}.button-primary:hover{background:var(--green-dark)}.button-secondary{background:#9b6f0b}.button-secondary:hover{background:#785504}.text-link{display:inline-block;margin:15px 0 0 2px;color:#3f5e4d;font-size:.86rem;font-weight:600;text-underline-offset:4px}.security-note{margin:34px 0 0;color:rgb(255 255 255 / 91%);text-align:center;font-size:.82rem;text-shadow:0 1px 4px rgb(0 28 18 / 55%)}.security-note span{color:var(--green);font-size:.65rem;vertical-align:1px}.cookie-notice{position:fixed;right:24px;bottom:24px;z-index:1000;display:grid;width:min(500px,calc(100% - 48px));grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:16px 18px;border:1px solid #cfe0d5;border-left:4px solid var(--green);border-radius:15px;background:rgb(255 255 255 / 98%);box-shadow:0 16px 40px rgb(23 58 42 / 20%);color:var(--ink)}.cookie-notice[hidden]{display:none}.cookie-notice-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:var(--green-soft);color:var(--green-dark)}.cookie-notice-icon svg{width:22px;height:22px}.cookie-notice-content strong{display:block;color:#173a2a;font-size:.92rem;line-height:1.2}.cookie-notice-content p{margin:5px 0 0;color:var(--muted);font-size:.8rem;line-height:1.45}.cookie-notice button{min-width:76px;min-height:40px;border:0;border-radius:9px;padding:10px 14px;background:var(--green);color:#fff;font:inherit;font-size:.84rem;font-weight:700;cursor:pointer}.cookie-notice button:hover,.cookie-notice button:focus-visible{background:var(--green-dark)}.button:focus-visible,.support-link:focus-visible,.brand:focus-visible{outline:3px solid #e6c668;outline-offset:4px}@media(max-width:720px){.portal-shell{width:min(100% - 28px,560px);padding-top:18px}.site-header{align-items:flex-start}.brand strong{max-width:220px;font-size:.82rem}.support-link{display:none}.hero{min-height:390px;margin-top:22px;padding:42px 28px;background-position:center,center,55% center}.portal-options{grid-template-columns:1fr}.portal-card{min-height:0;padding:28px}.cookie-notice{right:14px;bottom:14px;width:calc(100% - 28px);grid-template-columns:42px minmax(0,1fr) auto}}@media(max-width:460px){.hero{min-height:410px;padding:36px 22px}.hero h1{font-size:2.45rem}.cookie-notice{grid-template-columns:42px minmax(0,1fr)}.cookie-notice button{grid-column:1/-1;width:100%}}@media(max-width:390px){.brand img{width:46px;height:46px}.portal-card{padding:23px}}@media(prefers-reduced-motion:reduce){.button{transition:none}}

/* Keep the Municipality/PEAP hero copy readable over the full-page Municipal Hall photo. */
.hero > .eyebrow,
.hero > h1,
.hero > .hero-copy { position: relative; z-index: 2; margin-bottom: 5px;}

.hero > .eyebrow { display: inline-flex; width: fit-content; padding: 8px 12px; border: 1px solid rgb(246 210 117 / 72%); border-radius: 999px; background: rgb(0 42 28 / 82%); color: #ffdf7e; line-height: 1.25; text-shadow: 0 1px 3px rgb(0 20 12 / 90%); }
.hero > h1 { max-width: 650px; padding: 3px 0; color: #fff; text-shadow: 0 3px 12px rgb(0 20 12 / 95%); }
.hero > .hero-copy { max-width: 650px; margin-top: 18px; padding: 14px 16px; border-left: 3px solid #e6c668; border-radius: 0 10px 10px 0; background: rgb(0 36 24 / 84%); color: #fff; font-weight: 500; text-shadow: 0 1px 3px rgb(0 20 12 / 90%); }
@media (max-width: 460px) { .hero > .eyebrow { font-size: .63rem; letter-spacing: .1em; } .hero > .hero-copy { padding: 12px 13px; font-size: .96rem; } }

/* Small visual separation between the site header and the hero copy. */
.hero { margin-top: 14px; }
