:root {
  --ink: #082d36;
  --ink-deep: #061f27;
  --muted: #607176;
  --paper: #f3f1ea;
  --white: #fffefa;
  --sea: #087f74;
  --sea-dark: #04665d;
  --lime: #d8ed68;
  --mist: #e7f0ed;
  --line: #d8dfdc;
  --shadow: 0 28px 75px rgba(8, 45, 54, .14);
  --shadow-soft: 0 14px 36px rgba(8, 45, 54, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: .75rem; z-index: 40; width: min(1200px, calc(100% - 2rem)); min-height: 70px; margin: .75rem auto 0; padding: .55rem .65rem .55rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: rgba(255, 254, 250, .9); border: 1px solid rgba(8, 45, 54, .09); border-radius: 999px; box-shadow: 0 12px 35px rgba(8,45,54,.07); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 44px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50% 50% 50% 12%; background: linear-gradient(145deg, #099486, var(--sea-dark)); color: var(--lime); box-shadow: 0 8px 18px rgba(8,127,116,.2); font-weight: 900; font-size: 1.35rem; }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .12em; }
.brand small { color: var(--muted); font-size: .68rem; letter-spacing: .03em; }
nav { display: flex; align-items: center; gap: 1.35rem; font-size: .88rem; font-weight: 700; }
nav a { text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease; }
nav > a:not(.nav-cta):hover { color: var(--sea); }
.nav-cta { padding: .74rem 1.15rem; color: white; background: var(--sea); border-radius: 999px; box-shadow: 0 8px 20px rgba(8,127,116,.2); }
.nav-cta:hover { background: var(--sea-dark); transform: translateY(-1px); }
.hero { width: min(1200px, calc(100% - 2rem)); min-height: 680px; margin: 1.1rem auto 0; display: grid; grid-template-columns: 1.02fr .98fr; padding: 0; position: relative; overflow: hidden; color: white; background: var(--ink); border: 1px solid rgba(255,255,255,.08); border-radius: 2.25rem; box-shadow: var(--shadow); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: clamp(2.7rem, 5.5vw, 5.5rem); }
.hero-copy::before { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; left: -180px; top: -160px; border: 76px solid rgba(216,237,104,.08); border-radius: 50%; }
.hero-media { position: relative; min-height: 680px; overflow: visible; background: #dce9e6; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,45,54,.36) 0%, transparent 32%), linear-gradient(0deg, rgba(6,31,39,.34), transparent 45%); pointer-events: none; }
.hero-media > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 100% 50%; }
.hero-location { position: absolute; z-index: 2; top: 1.5rem; right: 1.5rem; display: grid; padding: .85rem 1rem; color: var(--ink); background: rgba(255,254,250,.9); border: 1px solid rgba(255,255,255,.6); border-radius: .9rem; box-shadow: var(--shadow-soft); backdrop-filter: blur(12px); }
.hero-location span { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-location strong { font-size: .86rem; }
.eyebrow { margin: 0 0 1rem; color: var(--sea); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
h1, h2, h3, p { text-wrap: balance; }
h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.35rem, 6vw, 5.9rem); line-height: .93; letter-spacing: -.055em; font-weight: 500; }
h1 em { color: var(--lime); font-weight: 500; }
.hero .eyebrow { color: var(--lime); }
.hero-lead { max-width: 570px; margin: 1.8rem 0 0; color: #c6d4d3; font-size: clamp(1rem, 1.4vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .78rem 1.25rem; border: 0; border-radius: 999px; text-decoration: none; font-weight: 750; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--sea); }
.button-primary:hover { background: var(--sea-dark); box-shadow: 0 10px 24px rgba(8,127,116,.24); }
.button-secondary { border: 1px solid var(--line); background: white; }
.hero .button-primary { color: var(--ink); background: var(--lime); }
.hero .button-primary:hover { background: #e4f584; box-shadow: 0 10px 25px rgba(216,237,104,.17); }
.hero .button-secondary { color: white; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.26); }
.proof-list { list-style: none; margin: 2.6rem 0 0; padding: 1.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid rgba(255,255,255,.16); }
.proof-list li { display: grid; }
.proof-list strong { font-size: 1.08rem; }
.proof-list span { color: #aebfbe; font-size: .72rem; }
.service-card { position: absolute; z-index: 3; left: -2.4rem; bottom: 2rem; width: min(350px, calc(100% - 2rem)); padding: 1.4rem; color: white; background: rgba(6,31,39,.93); border: 1px solid rgba(255,255,255,.14); border-radius: 1.35rem; box-shadow: 0 28px 65px rgba(6,31,39,.28); backdrop-filter: blur(18px); }
.service-card-icon { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); background: var(--lime); border-radius: 50%; font-weight: 900; }
.service-card h2 { max-width: 250px; margin: .35rem 0 .7rem; font: 500 1.9rem/1.06 Georgia, serif; }
.service-card p { max-width: 280px; margin: 0; color: #c8d4d4; font-size: .88rem; }
.service-card .card-kicker { color: var(--lime); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.service-card > a { display: flex; justify-content: space-between; align-items: center; margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.18); color: var(--lime); font-size: .84rem; font-weight: 800; text-decoration: none; }
.trust-strip { position: relative; z-index: 5; width: min(1080px, calc(100% - 3rem)); margin: -1.5rem auto 0; padding: 1.15rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); background: rgba(255,254,250,.96); border: 1px solid rgba(8,45,54,.08); border-radius: 999px; box-shadow: var(--shadow-soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.trust-strip p { margin: 0; color: var(--ink); font-weight: 800; }
.intro, .services { width: min(1080px, calc(100% - 3rem)); margin: 0 auto; padding: 7rem 0; }
.intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 7vw, 7rem); }
.intro h2, .services > h2 { margin: 0; max-width: 760px; font: 500 clamp(2.2rem, 5vw, 4.2rem)/1.02 Georgia, serif; letter-spacing: -.035em; }
.intro > p { margin: 2rem 0 0; color: var(--muted); font-size: 1.08rem; }
.services { padding-top: 2rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.service-grid article { position: relative; min-height: 245px; padding: 1.55rem; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid rgba(8,45,54,.08); border-radius: 1.35rem; box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-grid article::after { content: ""; position: absolute; right: -42px; bottom: -54px; width: 120px; height: 120px; border: 24px solid rgba(216,237,104,.22); border-radius: 50%; }
.service-grid article:hover { transform: translateY(-5px); border-color: rgba(8,127,116,.25); box-shadow: 0 22px 48px rgba(8,45,54,.12); }
.service-grid span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--sea); background: var(--mist); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.service-grid h3 { margin: auto 0 .6rem; padding-top: 2.2rem; font: 500 1.62rem/1.08 Georgia, serif; }
.service-grid p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .9rem; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem max(1.5rem, calc((100% - 1080px)/2)); color: white; background: var(--ink); }
footer p { margin: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 520px; }
  .service-card { left: 1.5rem; }
  .trust-strip { flex-wrap: wrap; justify-content: center; border-radius: 1.3rem; text-align: center; }
  .trust-strip p { flex-basis: 100%; }
  .intro { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .site-header { top: .4rem; width: calc(100% - .9rem); min-height: 62px; margin-top: .4rem; padding: .4rem .5rem .4rem .75rem; }
  .brand small { display: none; }
  .hero { width: calc(100% - .9rem); margin-top: .55rem; border-radius: 1.55rem; }
  .hero-copy { padding: 2.3rem 1.25rem 2rem; }
  h1 { font-size: clamp(3rem, 14vw, 4rem); }
  .hero-actions .button { width: 100%; }
  .proof-list { grid-template-columns: repeat(3, 1fr); gap: .65rem; }
  .proof-list strong { font-size: .92rem; }
  .proof-list span { font-size: .62rem; }
  .hero-media { min-height: 460px; }
  .hero-location { top: 1rem; right: 1rem; }
  .service-card { left: 1rem; right: 1rem; bottom: 1rem; width: auto; }
  .trust-strip { width: calc(100% - 2rem); margin-top: 1rem; padding: 1rem; gap: .75rem 1rem; }
  .trust-strip span { font-size: .65rem; }
  .intro, .services { padding: 5rem 0; }
  .services { padding-top: 1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 220px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Shared interaction and navigation */
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.menu-button { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: currentColor; border-radius: 2px; }
.button:disabled { cursor: wait; opacity: .62; }
.button-large { min-height: 56px; padding-inline: 1.6rem; }
.text-link { display: inline-flex; gap: .7rem; align-items: center; color: var(--sea); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: .25rem; }
.muted { color: var(--muted); }

/* Home sections */
.intro-copy p { margin: 0 0 1rem; color: var(--muted); font-size: 1.08rem; }
.brand-visual { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; position: relative; }
.brand-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1.905 / 1; object-fit: cover; border-radius: 2rem; box-shadow: var(--shadow); }
.brand-visual figcaption { position: absolute; right: 1.2rem; bottom: 1.2rem; max-width: 340px; padding: .7rem 1rem; border-radius: 999px; color: white; background: rgba(16,45,53,.88); backdrop-filter: blur(10px); font-size: .78rem; }
.community-section { width: min(1180px, calc(100% - 2rem)); margin: 0 auto 7rem; padding: clamp(2rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; background: var(--white); border: 1px solid rgba(8,45,54,.08); border-radius: 2rem; box-shadow: var(--shadow-soft); }
.community-copy h2, .resident-portal h2, .contact-section h2 { margin: 0; font: 500 clamp(2.4rem, 5vw, 4.4rem)/1.02 Georgia, serif; letter-spacing: -.04em; }
.community-copy > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.check-list { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 50%; color: var(--sea-dark); background: var(--lime); font-size: .78rem; font-weight: 900; }
.numbers-card { padding: 2rem; color: white; background: linear-gradient(155deg, #099184, var(--sea-dark)); border-radius: 1.5rem; box-shadow: 0 24px 55px rgba(8,127,116,.22); }
.numbers-card > p { margin: 0 0 .6rem; color: var(--lime); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.numbers-card dl { margin: 0; }
.numbers-card dl div { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.numbers-card dt { font: 500 2.25rem Georgia, serif; }
.numbers-card dd { margin: 0; color: #d5e5e3; font-size: .88rem; }
.resident-portal { position: relative; isolation: isolate; width: min(1180px, calc(100% - 2rem)); margin: 0 auto 5rem; padding: clamp(2rem, 6vw, 5rem); overflow: hidden; color: white; background: linear-gradient(135deg, var(--ink-deep), var(--ink) 68%, #0b4650); border-radius: 2rem; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); }
.resident-portal::after { content: ""; position: absolute; z-index: -1; right: -130px; bottom: -170px; width: 410px; height: 410px; border: 78px solid rgba(216,237,104,.13); border-radius: 50%; }
.resident-portal .eyebrow { color: var(--lime); }
.resident-portal > div:first-child > p:last-child { color: #c8d4d4; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.process-list li { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; padding: 1rem; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); border-radius: 1rem; }
.process-list li > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); font-weight: 900; }
.process-list strong { display: block; font-size: 1.05rem; }
.process-list p { margin: .15rem 0 0; color: #aebfc1; font-size: .88rem; }
.portal-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .8rem; }
.button-light { color: var(--ink); background: var(--lime); }
.button-outline-light { color: white; border: 1px solid #547078; }
.emergency-strip { width: min(1080px, calc(100% - 3rem)); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.emergency-strip p { margin: .15rem 0 0; color: var(--muted); }
.emergency-strip a { flex: 0 0 auto; padding: .65rem 1rem; border-radius: 999px; color: white; background: #aa342e; font-weight: 800; text-decoration: none; }
.contact-section { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 7rem clamp(1rem, 4vw, 3rem); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.contact-lead { color: var(--muted); font-size: 1.08rem; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border: 1px solid rgba(8,45,54,.08); border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow); }
.contact-card > div { min-height: 150px; padding: 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.contact-card > div:nth-child(even) { border-right: 0; }
.contact-card > div:nth-last-child(-n+2) { border-bottom: 0; }
.contact-card span { color: var(--muted); font-size: .78rem; }
.contact-card a, .contact-card strong { font: 500 1.12rem/1.35 Georgia, serif; }
.site-footer { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 3rem; padding-block: 4rem 2rem; }
.site-footer .brand { width: fit-content; }
.brand-inverse { color: white; }
.brand-inverse small { color: #aebfc1; }
.footer-main > p { max-width: 430px; margin-top: 1.5rem; color: #aebfc1; }
.site-footer h2 { margin: .4rem 0 1rem; color: var(--lime); font: 800 .74rem/1.2 Inter, sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.site-footer > div:not(.footer-main) { display: flex; flex-direction: column; gap: .45rem; }
.site-footer > div:not(.footer-main) a { color: #d9e2e1; text-decoration: none; }
.site-footer > div:not(.footer-main) p { color: #aebfc1; font-size: .85rem; }
.footer-bottom { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid #355058; color: #90a6a9; font-size: .75rem; }

/* Public app pages */
.app-page { min-height: 100vh; background: radial-gradient(circle at 92% 6%, rgba(216,237,104,.18), transparent 27rem), #f1f5f2; }
.compact-header { margin-top: 0; width: 100%; padding: .8rem max(1rem, calc((100% - 1180px)/2)); background: var(--white); border-bottom: 1px solid var(--line); }
.app-shell, .status-shell, .legal-shell { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; padding: 4rem 0 6rem; }
.app-intro { max-width: 760px; margin-bottom: 2.5rem; }
.app-intro.centered { margin-inline: auto; text-align: center; }
.app-intro h1, .legal-shell > h1 { margin: 0; font: 500 clamp(2.8rem, 6vw, 5.4rem)/.98 Georgia, serif; letter-spacing: -.05em; }
.app-intro > p:last-child { max-width: 660px; color: var(--muted); font-size: 1.08rem; }
.centered > p:last-child { margin-inline: auto; }
.alert-card { display: flex; gap: 1rem; padding: 1.2rem; margin-bottom: 1.5rem; border-radius: 1rem; }
.alert-card h2 { margin: 0; font-size: 1rem; }
.alert-card p { margin: .2rem 0 0; }
.alert-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-weight: 900; }
.emergency-alert { color: #66251f; background: #fce5df; border: 1px solid #f1c9c0; }
.emergency-alert .alert-icon { color: white; background: #aa342e; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 1.5rem; align-items: start; }
.form-panel { background: var(--white); border: 1px solid rgba(8,45,54,.09); border-radius: 1.5rem; box-shadow: var(--shadow); }
.form-section { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 1.2rem; padding: 2.3rem; border-bottom: 1px solid var(--line); }
.section-number { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--sea); background: #e4f2ee; font-size: .75rem; font-weight: 900; }
.section-fields h2 { margin: 0; font: 500 1.9rem Georgia, serif; }
.section-fields > p { margin: .25rem 0 1.6rem; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label, .status-update > label { display: block; margin-bottom: .4rem; color: #28434a; font-size: .8rem; font-weight: 800; }
.field input, .field select, .field textarea, .status-update select, .status-update textarea { width: 100%; min-height: 52px; padding: .75rem .9rem; color: var(--ink); background: #fff; border: 1px solid #c8d4d0; border-radius: .8rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field textarea, .status-update textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .status-update select:focus, .status-update textarea:focus { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(5,116,107,.12); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { display: block; min-height: 1.1rem; margin-top: .25rem; color: #9b261f; font-size: .72rem; }
.field-help { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .72rem; }
.field-help .field-error { text-align: right; }
.file-field { padding: 1rem; background: #f1f5f2; border: 1px dashed #9db0aa; border-radius: .8rem; }
.file-field input { min-height: auto; padding: 0; border: 0; background: transparent; }
.file-field > span { display: block; margin-top: .5rem; color: var(--muted); font-size: .75rem; }
.priority-note { margin: -.25rem 0 1rem; padding: .85rem 1rem; color: #66251f; background: #fce5df; border-radius: .7rem; font-size: .82rem; }
.consent-field { display: flex; gap: .75rem; align-items: flex-start; margin-top: .5rem; color: var(--muted); font-size: .78rem; }
.consent-field input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: .18rem; accent-color: var(--sea); }
.form-submit { display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 1.6rem 2.3rem; }
.form-submit p { max-width: 380px; margin: 0; color: var(--muted); font-size: .78rem; }
.form-message { margin: 0; padding: .9rem 1rem; border-radius: .7rem; background: #e8efec; color: var(--ink); font-size: .85rem; }
.form-panel > form > .form-message { margin: 0 2.3rem 2rem; }
.form-message.is-error { color: #7d201a; background: #fce5df; }
.form-message.is-success { color: #075948; background: #daf2e9; }
.form-aside { position: sticky; top: 1rem; display: grid; gap: 1rem; }
.form-aside > div { padding: 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; }
.form-aside ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.form-aside li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; font-size: .82rem; }
.form-aside li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--sea); background: #e4f2ee; font-size: .7rem; font-weight: 900; }
.aside-contact { display: flex; flex-direction: column; }
.aside-contact span, .aside-contact small { color: var(--muted); font-size: .72rem; }
.aside-contact a { margin: .25rem 0; color: var(--sea); font: 500 1.45rem Georgia, serif; text-decoration: none; }
.ticket-success { padding: clamp(2rem, 6vw, 4rem); background: var(--white); border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: var(--shadow); }
.ticket-success[hidden] { display: none; }
.ticket-success h2 { margin: .2rem 0 1rem; font: 500 clamp(2.2rem, 5vw, 3.8rem)/1 Georgia, serif; }
.ticket-success > p:not(.eyebrow) { color: var(--muted); }
.success-mark { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 1.4rem; color: var(--sea-dark); background: var(--lime); border-radius: 50%; font-size: 1.5rem; font-weight: 900; }
.credential-card { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: center; margin: 1rem 0; padding: 1rem; background: #f1f5f2; border-radius: .8rem; }
.credential-card span { grid-column: 1 / -1; color: var(--muted); font-size: .72rem; }
.credential-card strong { font-size: 1.25rem; letter-spacing: .04em; overflow-wrap: anywhere; }
.credential-card button { color: var(--sea); background: transparent; border: 0; font-weight: 800; cursor: pointer; }
.ticket-success > .button { margin-top: 1.2rem; }
.ticket-success > .text-link { margin: 1.3rem 0 0 1rem; }
.app-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem max(1rem, calc((100% - 1080px)/2)); color: #d4dfde; background: var(--ink); font-size: .78rem; }
.app-footer a { color: white; }

/* Status */
.status-shell { max-width: 900px; }
.lookup-card { display: grid; grid-template-columns: 1.2fr .7fr auto; gap: 1rem; align-items: end; padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: var(--shadow); }
.lookup-card .field { margin: 0; }
.centered-message { max-width: 620px; margin: 1rem auto; text-align: center; }
.status-result { margin-top: 2rem; padding: clamp(1.3rem, 4vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: var(--shadow); }
.status-result > header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.status-result h2 { margin: 0; font: 500 clamp(1.6rem, 4vw, 2.4rem) Georgia, serif; }
.status-badge, .priority-badge { width: fit-content; display: inline-flex; align-items: center; min-height: 28px; padding: .28rem .65rem; border-radius: 999px; color: #3d5156; background: #e8efec; font-size: .7rem; font-weight: 800; }
.status-badge.large { min-height: 34px; padding-inline: .85rem; }
.status-badge[data-status="received"] { color: #624600; background: #fff0bd; }
.status-badge[data-status="accepted"], .status-badge[data-status="in_progress"] { color: #07566b; background: #d9f0f7; }
.status-badge[data-status="awaiting"] { color: #6a3e00; background: #ffe3bf; }
.status-badge[data-status="resolved"], .status-badge[data-status="closed"] { color: #075948; background: #daf2e9; }
.priority-badge[data-priority="urgent"] { color: #803b00; background: #ffe7cb; }
.priority-badge[data-priority="emergency"] { color: #8e1d16; background: #fce0dc; }
.status-steps { list-style: none; margin: 2.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.status-step { position: relative; display: grid; justify-items: center; gap: .5rem; color: #859397; text-align: center; font-size: .68rem; }
.status-step::before { content: ""; position: absolute; z-index: 0; top: 17px; left: -50%; width: 100%; height: 2px; background: #d8e0dd; }
.status-step:first-child::before { display: none; }
.status-step > span { position: relative; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #75868a; background: #e7ecea; font-weight: 900; }
.status-step.is-complete { color: var(--ink); }
.status-step.is-complete::before, .status-step.is-complete > span { color: var(--ink); background: var(--lime); }
.status-step.is-current > span { box-shadow: 0 0 0 5px rgba(215,233,123,.35); }
.status-summary { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.status-summary > div { min-height: 92px; padding: 1rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.status-summary > div:last-child { border-right: 0; }
.status-summary span { color: var(--muted); font-size: .7rem; }
.status-summary strong { font-size: .88rem; }
.attachment-link { display: block; margin-top: 1rem; padding: .85rem 1rem; color: var(--sea); background: #edf5f2; border-radius: .7rem; font-weight: 800; text-decoration: none; }
.event-history { margin-top: 2rem; }
.event-history h3 { font: 500 1.45rem Georgia, serif; }
.event-history ol { list-style: none; margin: 0; padding: 0; }
.event-history li { position: relative; padding: 0 0 1.4rem 1.6rem; border-left: 1px solid #ced8d4; }
.event-history li::before { content: ""; position: absolute; left: -5px; top: .35rem; width: 9px; height: 9px; border-radius: 50%; background: var(--sea); }
.event-history time { display: block; color: var(--muted); font-size: .68rem; }
.event-history p { margin: .3rem 0 0; color: var(--muted); font-size: .85rem; }
.privacy-hint { max-width: 660px; margin: 2rem auto 0; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--muted); font-size: .8rem; }
.privacy-hint p { margin: .2rem 0 0; }

/* Admin */
.admin-page { min-height: 100vh; color: var(--ink); background: #eef2ef; }
.admin-header { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: .8rem max(1rem, calc((100% - 1380px)/2)); background: var(--ink); }
.admin-header > a:last-child { color: #d2dfde; font-size: .8rem; text-decoration: none; }
.admin-login { min-height: calc(100vh - 74px); display: grid; place-items: center; padding: 2rem 1rem; }
.login-card { width: min(430px, 100%); padding: 2.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: var(--shadow); }
.login-card h1 { margin: .2rem 0; font: 500 2.5rem Georgia, serif; }
.login-card > p:not(.eyebrow) { color: var(--muted); }
.login-card small { display: block; margin-top: 1rem; color: var(--muted); }
.login-mark { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--lime); background: var(--sea); border-radius: 50% 50% 50% 14%; font-weight: 900; font-size: 1.5rem; }
.login-card .button { width: 100%; }
.login-card .form-message { margin-top: 1rem; }
.admin-dashboard { width: min(1380px, calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0 5rem; }
.dashboard-top { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.dashboard-top h1 { margin: 0; font: 500 clamp(2.3rem, 5vw, 4.4rem)/1 Georgia, serif; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 2rem 0 1rem; }
.metric-grid article { min-height: 120px; padding: 1.2rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1px solid rgba(8,45,54,.08); border-radius: 1rem; box-shadow: var(--shadow-soft); }
.metric-grid article:nth-child(2) { color: white; background: var(--ink); }
.metric-grid article:nth-child(2) span { color: #b9c9c8; }
.metric-grid article:nth-child(3) { background: #fff3d6; }
.metric-grid article:nth-child(4) { background: #e1f2ea; }
.metric-grid span { color: var(--muted); font-size: .76rem; }
.metric-grid strong { font: 500 2.5rem Georgia, serif; }
.admin-filters { display: grid; grid-template-columns: 1.4fr .8fr .8fr auto; gap: .8rem; align-items: end; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; }
.admin-filters .field { margin: 0; }
.admin-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .65fr); gap: 1rem; align-items: start; margin-top: 1rem; }
.ticket-list-panel, .ticket-details { background: var(--white); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.ticket-list-head, .ticket-row { display: grid; grid-template-columns: 1.25fr 1fr .7fr .8fr; gap: 1rem; align-items: center; padding: .85rem 1rem; }
.ticket-list-head { color: var(--muted); background: #f5f7f5; border-bottom: 1px solid var(--line); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.ticket-row { width: 100%; color: var(--ink); background: white; border: 0; border-bottom: 1px solid #e3e9e6; text-align: left; cursor: pointer; }
.ticket-row:hover, .ticket-row:focus-visible { background: #f2f7f4; }
.ticket-row > span:not(.status-badge):not(.priority-badge) { min-width: 0; display: flex; flex-direction: column; }
.ticket-row strong, .ticket-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-row small { color: var(--muted); font-size: .68rem; }
.ticket-details { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; padding: 1.4rem; }
.details-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.details-head h2 { margin: 0; font: 500 1.7rem Georgia, serif; overflow-wrap: anywhere; }
.icon-button { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; font-size: 1.5rem; cursor: pointer; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.5rem 0; }
.details-grid > div { padding: .85rem; background: #f4f7f5; border-radius: .65rem; }
.details-grid .span-2 { grid-column: 1 / -1; }
.details-grid dt { color: var(--muted); font-size: .67rem; }
.details-grid dd { margin: .25rem 0 0; overflow-wrap: anywhere; font-size: .85rem; }
.text-button { padding: 0; color: var(--sea); background: transparent; border: 0; font-weight: 800; text-align: left; cursor: pointer; }
.status-update { display: grid; gap: .5rem; padding: 1rem; background: #edf5f2; border-radius: .8rem; }
.status-update .button { margin-top: .5rem; }
.status-update .form-message { margin-top: .4rem; }
.event-history + * { margin-top: 1rem; }
.empty-state, .details-loading { padding: 3rem 1rem; text-align: center; color: var(--muted); }
.empty-state p { margin: .3rem auto 0; max-width: 360px; }

/* Legal */
.legal-shell { max-width: 780px; }
.draft-notice { margin: 2rem 0; padding: 1rem 1.2rem; color: #624600; background: #fff0bd; border: 1px solid #ead486; border-radius: .8rem; }
.draft-notice p { margin: .25rem 0 0; }
.legal-shell section { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.legal-shell section h2 { margin: 0; font: 500 1.45rem Georgia, serif; }
.legal-shell section p { color: var(--muted); }
.legal-shell mark { padding: .12rem .2rem; color: #624600; background: #fff0bd; }
.not-found-shell { width: min(760px, calc(100% - 2rem)); min-height: 100vh; margin: 0 auto; padding: 3rem 0; display: grid; align-content: center; gap: clamp(3rem, 10vw, 7rem); }
.not-found-shell > div { padding: clamp(2rem, 7vw, 5rem); color: white; background: var(--ink); border-radius: 2rem; box-shadow: var(--shadow); }
.not-found-shell h1 { font-size: clamp(3rem, 8vw, 5.6rem); }
.not-found-shell > div > p:not(.eyebrow) { max-width: 520px; color: #c6d4d3; }
.not-found-shell .eyebrow { color: var(--lime); }
.not-found-shell .button-primary { color: var(--ink); background: var(--lime); }

@media (max-width: 980px) {
  .site-header { position: relative; }
  .menu-button { display: block; }
  .site-header nav { display: none; position: absolute; z-index: 20; top: calc(100% + .4rem); right: 0; width: min(340px, calc(100vw - 2rem)); padding: .7rem; flex-direction: column; align-items: stretch; gap: .2rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
  .site-header nav[data-open] { display: flex; }
  .site-header nav > a { display: block !important; padding: .75rem .85rem; border-radius: .6rem; }
  .site-header nav > a:hover { background: #eef4f1; }
  .site-header nav .nav-cta { color: white; text-align: center; }
  .community-section, .contact-section { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-column: 1 / -1; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; grid-template-columns: 1fr 1fr; }
  .admin-content { grid-template-columns: 1fr; }
  .ticket-details { position: fixed; z-index: 50; inset: 1rem; max-height: calc(100vh - 2rem); box-shadow: 0 30px 80px rgba(8,31,37,.28); }
}

@media (max-width: 760px) {
  .brand-visual figcaption { display: none; }
  .resident-portal { grid-template-columns: 1fr; }
  .portal-actions { grid-column: auto; }
  .form-section { grid-template-columns: 1fr; padding: 1.4rem; }
  .section-number { width: 38px; height: 38px; }
  .field-grid, .form-aside { grid-template-columns: 1fr; }
  .form-submit { align-items: stretch; flex-direction: column; padding: 1.4rem; }
  .form-submit .button { width: 100%; }
  .lookup-card { grid-template-columns: 1fr; }
  .status-steps { grid-template-columns: 1fr; gap: 0; }
  .status-step { grid-template-columns: 36px 1fr; justify-items: start; align-items: center; text-align: left; padding-bottom: 1rem; }
  .status-step::before { top: -1rem; left: 17px; width: 2px; height: 1rem; }
  .status-summary { grid-template-columns: 1fr 1fr; }
  .status-summary > div { border-bottom: 1px solid var(--line); }
  .status-summary > div:nth-child(even) { border-right: 0; }
  .status-summary > div:nth-last-child(-n+2) { border-bottom: 0; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .admin-filters { grid-template-columns: 1fr 1fr; }
  .admin-filters > .field:first-child { grid-column: 1 / -1; }
  .ticket-list-head { display: none; }
  .ticket-row { grid-template-columns: 1fr auto; }
  .ticket-row > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .ticket-row .priority-badge { grid-column: 2; grid-row: 1; }
  .ticket-row .status-badge { grid-column: 2; grid-row: 2; }
}

@media (max-width: 520px) {
  .site-header { min-height: 64px; }
  .brand-visual { width: calc(100% - 1rem); }
  .brand-visual img { border-radius: 1.2rem; }
  .community-section, .contact-section { width: calc(100% - 2rem); }
  .numbers-card dl div { grid-template-columns: 78px 1fr; }
  .resident-portal { width: calc(100% - 1rem); border-radius: 1.3rem; }
  .portal-actions .button { width: 100%; }
  .emergency-strip { align-items: flex-start; flex-direction: column; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card > div { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .contact-card > div:last-child { border-bottom: 0 !important; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-main, .footer-bottom { grid-column: auto; }
  .app-shell, .status-shell, .legal-shell { width: calc(100% - 1rem); padding-top: 2.5rem; }
  .app-footer { flex-direction: column; }
  .ticket-success > .button, .ticket-success > .text-link { width: 100%; margin-left: 0; justify-content: center; }
  .status-result > header { flex-direction: column; }
  .status-summary { grid-template-columns: 1fr; }
  .status-summary > div { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .status-summary > div:last-child { border-bottom: 0 !important; }
  .dashboard-top { align-items: flex-start; flex-direction: column; }
  .metric-grid, .admin-filters { grid-template-columns: 1fr; }
  .admin-filters > .field:first-child { grid-column: auto; }
  .details-grid { grid-template-columns: 1fr; }
  .details-grid .span-2 { grid-column: auto; }
}
