/* ==========================================================================
   SEVHA.org — assets/css/style.css
   Shared design system for every page on the site.
   ========================================================================== */

:root{
  /* Color */
  --bg:          #FFFFFF;
  --bg-soft:     #F4F7F2;   /* light sage — alternating section background */
  --ink:         #16261C;   /* dark green-black — headings, primary text */
  --ink-soft:    #47594D;   /* muted body text */
  --green:       #2B5233;   /* brand green — links, icons, primary actions */
  --green-deep:  #1B3320;   /* hover / dark panels */
  --green-tint:  #E7EFE3;   /* soft green fill for chips/icons background */
  --navy:        #17222E;   /* secondary dark — security/emergency accents */
  --line:        #E1E7DC;   /* hairline borders */
  --urgent:      #B23A2E;   /* URGENT badge / emergency accents */
  --urgent-tint: #F8E7E4;
  --important:   #A5731A;   /* IMPORTANT badge */
  --important-tint: #F6EDDC;
  --fire:        #B4521A;   /* fire panic button — distinct from urgent red and navy */
  --status-progress:  #A5731A;
  --status-approved:  #2B5233;
  --status-proposed:  #55677A;
  --status-complete:  #2B5233;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 10px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; }
img, svg{ max-width: 100%; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section{ padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.section-alt{ background: var(--bg-soft); }
.section-navy{ background: var(--navy); color: #EEF2EE; }

.section-head{ max-width: 56ch; margin: 0 0 2.25rem; }
.section-head h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin: 0 0 0.6rem;
}
.section-head p{ color: var(--ink-soft); margin: 0; }
.section-navy .section-head p{ color: rgba(238,242,238,0.78); }

.eyebrow{
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 0.6rem;
}

/* ---- Emergency strip ---------------------------------------------------- */

.emergency-strip{
  background: var(--navy);
  color: #EEF2EE;
  font-size: 0.88rem;
}
.emergency-strip .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  flex-wrap: wrap;
}
.emergency-strip a{
  text-decoration: none;
  color: #EEF2EE;
  border-bottom: 1px solid rgba(238,242,238,0.45);
}
.emergency-strip strong{ color: #F0BDB4; font-weight: 600; }

/* ---- Header / nav -------------------------------------------------------- */

.site-header{
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 20;
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.wordmark{
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
}
.wordmark span{
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 0.1rem;
}

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

.site-nav{ display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn){
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
}
.site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current="page"]{ color: var(--ink); border-color: var(--line); }
/* .btn links inside nav must keep their own button colors, not the muted nav-link color above */
.site-nav a.btn-primary{ color: #fff; }
.site-nav a.btn-outline{ color: var(--ink); }
.site-nav a.btn-navy, .site-nav a.btn-urgent{ color: #fff; }

.btn{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 1.3rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-primary{ background: var(--green); color: #fff; }
.btn-primary:hover{ background: var(--green-deep); }
.btn-outline{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover{ border-color: var(--ink); }
.btn-navy{ background: var(--navy); color: #fff; }
.btn-navy:hover{ background: #0F1720; }
.btn-urgent{ background: var(--urgent); color: #fff; }
.btn-urgent:hover{ background: #8f2e24; }
.btn-block{ display: block; width: 100%; }

/* ---- Hero (home) ---------------------------------------------------------- */

.hero{ padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-eyebrow{ color: var(--green); font-weight: 600; font-size: 0.95rem; margin: 0 0 0.75rem; }
.hero h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1.1rem;
  max-width: 16ch;
}
.hero p{ font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; margin: 0 0 1.8rem; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 0.9rem; }

.village-art{
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.village-art img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.img-frame{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.img-frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-placeholder{
  background: linear-gradient(135deg, var(--green-tint), var(--bg-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

/* ---- Page hero (interior pages) -------------------------------------------- */

.page-hero{ padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.75rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow{ margin-bottom: 0.5rem; }
.page-hero h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 0 0 0.9rem;
  max-width: 20ch;
}
.page-hero p{ color: var(--ink-soft); max-width: 60ch; margin: 0; font-size: 1.05rem; }

/* ---- Quick access grid (home) ---------------------------------------------- */

.quick-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.quick-item{
  background: var(--bg);
  padding: 1.6rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.quick-item:hover{ background: var(--bg-soft); }
.quick-item .icon{ color: var(--green); }
.quick-item h3{ font-size: 1.02rem; margin: 0; font-weight: 600; }
.quick-item span{ font-size: 0.88rem; color: var(--ink-soft); }

/* ---- Icons ------------------------------------------------------------------ */

.icon{
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--green);
}
.icon svg{ width: 100%; height: 100%; }

/* ---- Cards / grids ------------------------------------------------------------ */

.grid{ display: grid; gap: 1.25rem; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.card h3{ font-size: 1.08rem; margin: 0 0 0.55rem; font-family: var(--font-body); font-weight: 600; }
.card p{ color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
.card .icon{ margin-bottom: 0.9rem; }

.card-link{
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
}

/* ---- Badges -------------------------------------------------------------------- */

.badge{
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.badge-urgent{ background: var(--urgent-tint); color: var(--urgent); }
.badge-important{ background: var(--important-tint); color: var(--important); }
.badge-category{ background: var(--green-tint); color: var(--green-deep); }

.status{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.status::before{ content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-proposed{ color: var(--status-proposed); }
.status-approved{ color: var(--status-approved); }
.status-progress{ color: var(--status-progress); }
.status-completed{ color: var(--status-complete); }

/* ---- Announcement / document lists ------------------------------------------------ */

.item-list{ display: flex; flex-direction: column; }
.item-row{
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.item-row:first-child{ border-top: 1px solid var(--line); }
.item-date{ color: var(--ink-soft); font-size: 0.88rem; padding-top: 0.15rem; }
.item-body h3{ margin: 0.3rem 0 0.4rem; font-size: 1.05rem; font-weight: 600; }
.item-body p{ margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.item-meta{ display: flex; gap: 0.5rem; flex-wrap: wrap; }
.item-action{ align-self: center; }
.item-action a{ font-size: 0.9rem; font-weight: 600; color: var(--green); text-decoration: none; white-space: nowrap; }

/* ---- Project cards --------------------------------------------------------------- */

.project-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.project-card .badge-category{ align-self: flex-start; }
.project-card h3{ margin: 0; font-size: 1.1rem; }
.project-card p{ margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.project-meta{
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

/* ---- CTA band -------------------------------------------------------------------- */

.cta-band{
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-band.navy{ background: var(--navy); color: #EEF2EE; }
.cta-band.green{ background: var(--green-tint); }
.cta-band h3{ font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin: 0 0 0.35rem; }
.cta-band p{ margin: 0; color: var(--ink-soft); max-width: 46ch; }
.cta-band.navy p{ color: rgba(238,242,238,0.8); }

/* ---- Direction / pillar 4-up (about) ------------------------------------------------- */

.direction-grid{ display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.direction-item{ padding: 1.6rem; border-right: 1px solid var(--line); }
.direction-item:last-child{ border-right: none; }
.direction-item h3{ font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--green-deep); margin: 0 0 0.5rem; }
.direction-item p{ margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---- Emergency contacts grid --------------------------------------------------------- */

.contact-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card{
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-card.is-emergency{ background: var(--urgent-tint); border-color: transparent; }
.contact-card h3{ margin: 0; font-size: 1.02rem; }
.contact-card .tel{
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.contact-card .note{ font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ---- Forms --------------------------------------------------------------------------- */

.form-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--bg);
}
.field{ margin-bottom: 1.15rem; }
.field label{ display: block; font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.8rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
}
.field textarea{ resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green);
}
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field-hint{ font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.35rem; }
.form-status{ min-height: 1.4em; font-size: 0.9rem; margin-top: 0.4rem; }
.form-status[data-state="error"]{ color: var(--urgent); }
.form-status[data-state="success"]{ color: var(--green-deep); }

.reference-box{
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  background: var(--green-tint);
  border-radius: 8px;
  font-size: 0.92rem;
}
.reference-box.is-visible{ display: block; }
.reference-box strong{ font-family: var(--font-display); font-size: 1.1rem; }

/* ---- Login page (kept from memberlogin.html, retoned to the light system) ------------- */

.login-shell{ min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-panel{ background: var(--green-deep); color: #EEF2EE; padding: clamp(2.5rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: space-between; }
.login-panel .wordmark{ color: #EEF2EE; }
.login-panel .wordmark span{ color: rgba(238,242,238,0.65); }
.login-panel-copy h1{ font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; max-width: 12ch; margin: clamp(3rem, 10vh, 6rem) 0 1.1rem; }
.login-panel-copy p{ color: rgba(238,242,238,0.78); max-width: 36ch; margin: 0; }
.login-panel-foot{ font-size: 0.85rem; color: rgba(238,242,238,0.55); }
.login-panel-foot a{ color: rgba(238,242,238,0.85); text-decoration: none; border-bottom: 1px solid rgba(238,242,238,0.4); }
.login-form-side{ display: flex; align-items: center; justify-content: center; padding: clamp(2.5rem, 6vw, 5rem); }
.login-form{ width: 100%; max-width: 360px; }
.login-form h2{ font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin: 0 0 0.4rem; }
.login-form > p{ color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 2rem; }
.form-row{ display: flex; align-items: center; justify-content: space-between; margin: 1.4rem 0 1rem; }
.text-link{ text-decoration: none; font-size: 0.9rem; color: var(--green); border-bottom: 1px solid var(--green); }
.back-home{ display: inline-block; margin-top: 1.75rem; font-size: 0.88rem; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---- Footer --------------------------------------------------------------------------- */

.site-footer{ background: var(--green-deep); color: rgba(238,242,238,0.85); padding: 2.75rem 0 2rem; }
.footer-top{ display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(238,242,238,0.15); margin-bottom: 1.5rem; }
.footer-brand .wordmark{ color: #fff; }
.footer-brand .wordmark span{ color: rgba(238,242,238,0.6); }
.footer-tagline{ font-size: 0.92rem; color: rgba(238,242,238,0.7); margin-top: 0.5rem; max-width: 30ch; }
.footer-links{ display: grid; grid-template-columns: repeat(2, auto); gap: 0.6rem 2.5rem; }
.footer-links a{ text-decoration: none; color: rgba(238,242,238,0.82); font-size: 0.92rem; }
.footer-links a:hover{ color: #fff; }
.footer-bottom{ display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: rgba(238,242,238,0.55); }
.footer-bottom a{ text-decoration: none; color: rgba(238,242,238,0.7); }
.footer-legal{ display: flex; gap: 1.1rem; }

/* ---- Numbered steps (for genuine sequences only) ------------------------------------ */

.steps{ counter-reset: step; display: flex; flex-direction: column; gap: 1.1rem; }
.steps li{
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.9rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child{ border-bottom: none; padding-bottom: 0; }
.steps li::before{
  content: counter(step);
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.steps h3{ margin: 0 0 0.3rem; font-size: 1.02rem; font-weight: 600; }
.steps p{ margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---- Panic buttons (resident dashboard) ------------------------------------------- */

.panic-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.75rem; }
.panic-btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.6rem 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  transition: transform 0.1s ease;
}
.panic-btn:active{ transform: scale(0.98); }
.panic-btn svg{ width: 30px; height: 30px; }
.panic-btn.is-crime{ background: var(--urgent); }
.panic-btn.is-crime:hover{ background: #8f2e24; }
.panic-btn.is-medical{ background: var(--navy); }
.panic-btn.is-medical:hover{ background: #0F1720; }
.panic-btn.is-fire{ background: var(--fire); }
.panic-btn.is-fire:hover{ background: #8f3f13; }

.panic-confirm{
  margin-top: 1.5rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.panic-confirm p{ margin: 0 0 1rem; color: var(--ink); font-weight: 600; }
.panic-confirm-actions{ display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- Resident record lists (household / vehicles / pets) --------------------------- */

.record-list{ display: flex; flex-direction: column; }
.record-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.record-row:first-child{ border-top: 1px solid var(--line); }
.record-row h3{ margin: 0 0 0.3rem; font-size: 1rem; font-weight: 600; }
.record-meta{ font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; }

.manage-block{ margin-top: 1.75rem; }
.manage-block summary{
  list-style: none;
  cursor: pointer;
}
.manage-block summary::-webkit-details-marker{ display: none; }
.manage-block[open] summary.btn{ margin-bottom: 1.4rem; }
.manage-block form{ max-width: 480px; }

/* ---- Disclaimer / callout box ------------------------------------------------------------- */

.callout{ border-left: 3px solid var(--green); background: var(--bg-soft); padding: 1.1rem 1.4rem; font-size: 0.92rem; color: var(--ink-soft); border-radius: 0 8px 8px 0; }

/* ---- Responsive ------------------------------------------------------------------------------- */

@media (max-width: 980px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .direction-grid{ grid-template-columns: repeat(2, 1fr); }
  .direction-item:nth-child(2){ border-right: none; }
  .direction-item{ border-bottom: 1px solid var(--line); }
  .contact-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px){
  .nav-toggle{ display: block; }
  .site-nav{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  .site-header.is-open .site-nav{ max-height: 420px; padding-bottom: 1rem; }
  .site-nav a:not(.btn){ width: 100%; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn{ margin-top: 0.75rem; }

  .quick-grid{ grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .panic-grid{ grid-template-columns: 1fr; }
  .record-row{ align-items: flex-start; flex-direction: column; gap: 0.3rem; }
  .direction-grid{ grid-template-columns: 1fr; }
  .direction-item{ border-right: none; }
  .contact-grid{ grid-template-columns: 1fr; }
  .item-row{ grid-template-columns: 1fr; gap: 0.3rem; }
  .item-action{ margin-top: 0.4rem; }
  .field-row{ grid-template-columns: 1fr; }
  .login-shell{ grid-template-columns: 1fr; }
  .login-panel{ min-height: 280px; }
  .footer-top{ flex-direction: column; }
  .footer-links{ grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; }
}
