/* LSEA production design system · 14 September 2026.
   Original versioned assets are retained; this is the sole active stylesheet. */
:root {
  color-scheme: light;
  --lsea-navy: #071b4a;
  --lsea-blue: #3f8fd8;
  --lsea-teal: #087c86;
  --lsea-text: #344c65;
  --lsea-muted: #586779;
  --lsea-gutter: clamp(1rem, 4vw, 3rem);
  --lsea-ease: cubic-bezier(.18,.75,.24,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-width: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--lsea-text); line-height: 1.6;
  background: radial-gradient(ellipse at 12% 8%, #f3f8fc 0, transparent 42rem),
    radial-gradient(ellipse at 92% 18%, #f3faf9 0, transparent 38rem), #fffefd;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lsea-teal); text-underline-offset: .23em; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid var(--lsea-teal); outline-offset: 5px; border-radius: 3px; }
h1,h2,p { margin: 0; }
h1,h2 { color: var(--lsea-navy); line-height: 1.3; }
.skip-link { position: absolute; top: .5rem; left: 1rem; z-index: 10; padding: .7rem 1rem; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.home-page main {
  flex: 1; width: 100%; max-width: 90rem; margin-inline: auto;
  padding: max(1.75rem, env(safe-area-inset-top)) max(var(--lsea-gutter), env(safe-area-inset-right)) 2.5rem max(var(--lsea-gutter), env(safe-area-inset-left));
  display: grid; justify-items: center; align-content: center; gap: 1.75rem;
}
.brand-stage { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(1.25rem, 2.4vw, 2rem); }
.logo-shell { position: relative; isolation: isolate; width: min(100%, 38rem); aspect-ratio: 1.7; display: grid; place-items: center; }
.logo-shell::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: url('../images/lsea-australia-shadow-v3-20260910.webp') center / contain no-repeat;
  opacity: .17; animation: map-resolve .7s .06s var(--lsea-ease) backwards; }
.logo-shell picture { display: block; position: relative; width: 94%; animation: resolve .7s .12s var(--lsea-ease) backwards; }
.logo { width: 100%; aspect-ratio: 1425 / 776; }
@supports (mask-image: url('')) or (-webkit-mask-image: url('')) {
  .logo-shell picture::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    -webkit-mask: url('../images/lsea-logo-final-v2-20260910.png') center / 100% 100% no-repeat;
    mask: url('../images/lsea-logo-final-v2-20260910.png') center / 100% 100% no-repeat;
    background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.6) 49%, transparent 58%) 150% 0 / 300% 100% no-repeat;
    animation: shimmer 5s .8s var(--lsea-ease) infinite; }
}
.mission-block { min-width: 0; grid-template-columns: minmax(0, 1fr); width: min(100%, 51rem); text-align: center; display: grid; justify-items: center; gap: 1.25rem; }
.brand-blurb { min-width: 0; overflow-wrap: anywhere; font-size: clamp(1.0625rem, .82rem + .65vw, 1.375rem); line-height: 1.6; letter-spacing: -.018em; text-wrap: pretty;
  animation: resolve .65s .35s var(--lsea-ease) backwards; }
.mission-purpose, .mission-outcome { display: block; }
.mission-outcome { margin-top: .55em; font-weight: 600; color: #16395c; }
.trust-cue { color: #146a73; font-size: .75rem; font-weight: 650; letter-spacing: .1em; line-height: 1.65; text-transform: uppercase; text-wrap: balance;
  animation: resolve .55s .5s var(--lsea-ease) backwards; }
.trust-cue span { margin-inline: .35em; }
.charity-stamp-link { display: block; border-radius: 50%; max-width: 100%; line-height: 0; animation: resolve .55s .65s var(--lsea-ease) backwards; }
.charity-stamp { width: clamp(8rem, 11vw, 10rem); aspect-ratio: 1; }
.status { text-align: center; width: min(100%, 42rem); animation: resolve .55s .85s var(--lsea-ease) backwards; }
.status::before { content: ""; display: block; width: 4rem; height: 2px; margin: 0 auto 1.1rem; background: linear-gradient(90deg,var(--lsea-blue),#0ca5ae); }
#development-heading { font-size: 1rem; font-weight: 600; color: #344c65; letter-spacing: -.015em; }
.submessage { margin-top: .5rem; font-size: .9375rem; line-height: 1.6; color: var(--lsea-muted); }
footer { margin-top: auto; border-top: 3px solid #0ba7af; background: var(--lsea-navy); color: #fff;
  padding: 1.6rem max(var(--lsea-gutter), env(safe-area-inset-right)) max(1.4rem, env(safe-area-inset-bottom)) max(var(--lsea-gutter), env(safe-area-inset-left));
  font-size: .875rem; line-height: 1.65; }
.home-page footer { animation: footer-resolve .5s 1.04s var(--lsea-ease) backwards; }
.footer-final { width: min(100%, 66rem); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; }
.footer-final p { min-width: 0; overflow-wrap: anywhere; }
.footer-org { grid-area: 1 / 1; }
.footer-charity { grid-area: 2 / 1; }
.footer-registration { grid-area: 3 / 1; }
.footer-get-in-touch { grid-area: 1 / 2; text-align: right; }
.footer-contact-email { grid-area: 2 / 2 / 4 / 3; text-align: right; }
.footer-privacy { grid-area: 4 / 2; text-align: right; margin-top: 1rem; border-top: 1px solid #304367; padding-top: .65rem; }
.copyright { grid-area: 4 / 1; margin-top: 1rem; border-top: 1px solid #304367; padding-top: .65rem; }
.footer-final a, .footer-final a:visited { color: #fff; display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration-color: #8da6bf; }
.footer-contact-email a, .footer-contact-email a:visited { color: #63d6dc; }
.footer-final a:focus-visible { outline-color: #63d6dc; }
.footer-final a:hover { text-decoration-color: currentColor; }
.footer-registration a { min-height: 2rem; }
.legal-main { flex: 1; width: min(100%, 60rem); margin-inline: auto; padding: max(2rem, env(safe-area-inset-top)) var(--lsea-gutter) 3rem; }
.legal-header { text-align: center; margin-bottom: 2rem; }
.legal-logo { width: min(100%, 25rem); margin: 0 auto 1.5rem; }
.legal-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; font-weight: 650; color: var(--lsea-teal); }
.legal-header h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-top: .3rem; }
.legal-updated { margin-top: .6rem; color: var(--lsea-muted); font-size: .9375rem; }
.legal-card { background: #fff; border: 1px solid #dce5e9; border-radius: 1rem; padding: clamp(1rem, 4vw, 2.5rem); overflow-wrap: anywhere; }
.legal-card h2 { margin: 1.8rem 0 .7rem; font-size: 1.2rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { margin-bottom: 1rem; }
.legal-card ul { padding-left: 1.3rem; }
.legal-card li + li { margin-top: .5rem; }
.legal-card strong { color: var(--lsea-navy); }
.privacy-summary { background: #f2f8f9; padding: clamp(1rem, 2.5vw, 1.75rem); border-left: 3px solid var(--lsea-teal); margin-bottom: 2rem; }
.legal-actions { text-align: center; margin-top: 2rem; }
.legal-back, .home-link { display: inline-flex; align-items: center; justify-content: center; min-height: 2.875rem; padding: .65rem 1.3rem; background: var(--lsea-navy); color: #fff; border-radius: 2rem; text-decoration: none; }
.legal-back:visited, .home-link:visited { color: #fff; }
.error-main { flex: 1; width: 100%; padding: 4rem var(--lsea-gutter); display: grid; place-items: center; text-align: center; }
.error-card { max-width: 36rem; }
.error-code { color: var(--lsea-teal); font-weight: 600; font-size: 3rem; }
.error-card h1 { font-size: clamp(1.75rem, 4vw, 3rem); }
.error-card .home-link { margin-top: 1.5rem; }
@keyframes resolve { from { opacity: .01; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes map-resolve { from { opacity: 0; } to { opacity: .17; } }
@keyframes footer-resolve { from { opacity: .01; } to { opacity: 1; } }
@keyframes shimmer { 0% { opacity: 0; background-position: 150% 0; } 3% { opacity: .28; } 20% { opacity: .28; background-position: -50% 0; } 23%,100% { opacity: 0; background-position: -50% 0; } }
.motion-skip .logo-shell::before, .motion-skip .logo-shell picture, .motion-skip .brand-blurb,
.motion-skip .trust-cue, .motion-skip .charity-stamp-link, .motion-skip .status, .motion-skip footer { animation: none; }
.motion-paused .logo-shell picture::after { animation-play-state: paused; }
@media (max-width: 40rem) {
  .home-page main { padding-top: 1.5rem; padding-bottom: 2rem; gap: 1.5rem; }
  .logo-shell { width: min(100%, 30rem); aspect-ratio: 1.6; }
  .brand-stage { gap: 1.4rem; }
  .mission-block { gap: 1.2rem; }
  .trust-cue { max-width: 25rem; font-size: .6875rem; letter-spacing: .085em; }
  .charity-stamp { width: 8.5rem; }
  .footer-final { display: flex; flex-direction: column; text-align: center; }
  .footer-final p { text-align: center; }
  .footer-get-in-touch { margin-top: 1rem; }
  .footer-privacy { border: 0; margin-top: .25rem; padding: 0; }
  .copyright { margin-top: .7rem; padding-top: 1rem; }
}
@media (max-height: 35rem) and (orientation: landscape) {
  .logo-shell { width: min(100%, 25rem); }
  .home-page main { padding-block: 1.5rem; }
  .brand-stage { gap: 1.1rem; }
  .mission-block { gap: 1rem; }
  .charity-stamp { width: 7rem; }
}
@media (prefers-contrast: more) {
  :root { --lsea-text: #142b43; --lsea-muted: #273b50; }
  .logo-shell::before { display: none; }
  .footer-final a { text-decoration-color: currentColor; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .logo-shell picture::after { display: none; }
}
@media (forced-colors: active) {
  .logo-shell::before, .logo-shell picture::after { display: none; }
  footer { border-top: 2px solid CanvasText; }
  a:focus-visible { outline-color: Highlight; }
  .footer-final a, .footer-final a:visited { color: LinkText; text-decoration: underline; }
  .legal-card, .privacy-summary { border: 1px solid CanvasText; }
}
