/* =========================================================
   ADIS INTEGRATED TECHNOLOGY SOLUTIONS
   Design system — institutional, instrument-grade, quiet
   ========================================================= */

:root{
  /* --- Palette (from brief) --- */
  --navy: #0B1F3A;
  --navy-deep: #071730;
  --teal: #0E5A5A;
  --teal-soft: #12706F;
  --amber: #F4B400;
  --amber-deep: #C98F00;
  --white: #FFFFFF;
  --grey-light: #F0F2F4;
  --grey-slate: #5B6472;
  --grey-line: #DDE2E7;
  --bg: #FAFBFC;
  --ink: #101820;

  /* --- Type --- */
  --f-display: 'Manrope', 'IBM Plex Sans', sans-serif;
  --f-body: 'Inter', 'Source Sans Pro', sans-serif;
  --f-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* --- Scale --- */
  --step-0: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.8rem + 2.4vw, 3.6rem);

  --radius: 3px;
  --radius-lg: 6px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .6s;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--f-body);
  font-size:var(--step-0);
  line-height:1.65;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--f-display);
  color:var(--navy);
  line-height:1.15;
  margin:0 0 .6em;
  letter-spacing:-0.01em;
}
h1{ font-size:var(--step-4); font-weight:800; }
h2{ font-size:var(--step-3); font-weight:800; }
h3{ font-size:var(--step-2); font-weight:700; }
h4{ font-size:var(--step-1); font-weight:700; }
p{ margin:0 0 1.1em; color:var(--grey-slate); text-align:justify; }
a{ color:var(--teal); text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }

.container{ max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }
section{ padding-block: clamp(3.5rem, 7vw, 7rem); }

.eyebrow{
  font-family:var(--f-mono);
  font-size:.75rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--teal);
  display:flex;
  align-items:center;
  gap:.6em;
  margin-bottom:1em;
  font-weight:600;
}
.eyebrow::before{
  content:'';
  width:22px; height:1px;
  background:var(--amber);
  display:inline-block;
}

/* Focus states — accessibility floor */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .card:focus-visible{
  outline:2px solid var(--amber);
  outline-offset:3px;
}
:focus:not(:focus-visible){ outline:none; }

/* Skip link — uses transform instead of left:-9999px to avoid layout recalculation */
.skip-link{
  position:absolute; left:0; top:0;
  background:var(--amber); color:var(--navy); padding:.8em 1.2em;
  z-index:1000; font-weight:700; border-radius:0 0 4px 0;
  transform:translateY(-100%);
  transition:transform .2s var(--ease);
}
.skip-link:focus{ transform:translateY(0); }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:.55em;
  font-family:var(--f-body); font-weight:600; font-size:.95rem;
  padding:.9em 1.6em; border-radius:2px; border:1px solid transparent;
  cursor:pointer; transition:transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space:nowrap;
}
.btn-primary{ background:var(--amber); color:var(--navy-deep); }
.btn-primary:hover{ background:var(--amber-deep); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.35); }
.btn-ghost:hover{ border-color:var(--amber); color:var(--amber); }
.btn-outline{ background:transparent; color:var(--navy); border-color:var(--grey-line); }
.btn-outline:hover{ border-color:var(--teal); color:var(--teal); }
.btn-arrow{ transition:transform .25s var(--ease); }
.btn:hover .btn-arrow{ transform:translateX(3px); }

/* =========== Header =========== */
.site-header{
  position:sticky; top:0; z-index:500;
  background:rgba(11,31,58,.97);
  backdrop-filter:saturate(140%) blur(6px);
  border-bottom:1px solid rgba(255,255,255,.08);
  transition:box-shadow .3s var(--ease);
}
.site-header.is-scrolled{ box-shadow:0 8px 24px -12px rgba(0,0,0,.5); }
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-block:.9rem;
}
.brand{ display:flex; align-items:center; gap:.7em; color:var(--white); }
.brand-mark{ width:34px; height:34px; flex:none; }
.brand-text{ font-family:var(--f-display); font-weight:800; font-size:1rem; letter-spacing:.02em; line-height:1.1; }
.brand-text small{ display:block; font-family:var(--f-mono); font-weight:500; font-size:.62rem; letter-spacing:.12em; color:var(--amber); margin-top:.15em; }

.nav-desktop{ display:none; }
@media (min-width:960px){
  .nav-desktop{ display:flex; align-items:center; gap:2.1rem; }
}
.nav-desktop a{
  color:rgba(255,255,255,.82); font-size:.9rem; font-weight:500; position:relative; padding:.3em 0;
}
.nav-desktop a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--amber);
  transition:width .25s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"]{ color:var(--white); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:.8rem; }
.nav-toggle{
  display:inline-flex; background:none; border:1px solid rgba(255,255,255,.3); color:var(--white);
  width:42px; height:42px; align-items:center; justify-content:center; border-radius:2px; cursor:pointer;
}
@media (min-width:960px){ .nav-toggle{ display:none; } }
.nav-toggle svg{ width:20px; height:20px; }

.nav-mobile{
  display:grid; grid-template-rows:0fr; transition:grid-template-rows .35s var(--ease);
  background:var(--navy-deep); border-bottom:1px solid rgba(255,255,255,.08);
}
.nav-mobile.is-open{ grid-template-rows:1fr; }
.nav-mobile-inner{ overflow:hidden; }
.nav-mobile ul{ padding:1rem var(--gutter) 1.4rem; display:flex; flex-direction:column; gap:.2rem; }
.nav-mobile a{ display:block; color:rgba(255,255,255,.85); padding:.7em 0; border-bottom:1px solid rgba(255,255,255,.06); font-weight:500; }
@media (min-width:960px){ .nav-mobile{ display:none; } }

/* =========== Hero (signature element: live readout) =========== */
.hero{
  position:relative; background:var(--navy); color:var(--white);
  overflow:hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
}
.hero::before{
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(ellipse at 70% 20%, black 0%, transparent 65%);
  mask-image:radial-gradient(ellipse at 70% 20%, black 0%, transparent 65%);
  pointer-events:none;
}
.hero-scanline{
  position:absolute; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, rgba(244,180,0,.55), transparent);
  animation:scan 7s linear infinite;
  pointer-events:none;
}
@keyframes scan{
  0%{ top:-2%; opacity:0; }
  8%{ opacity:1; }
  92%{ opacity:1; }
  100%{ top:102%; opacity:0; }
}
.hero-grid{
  position:relative; z-index:2;
  display:grid; gap:3rem; align-items:center;
  grid-template-columns:1fr;
}
@media (min-width:960px){ .hero-grid{ grid-template-columns:1fr; max-width:800px; } }

.hero-eyebrow{ color:rgba(255,255,255,.65); }
.hero h1{ color:var(--white); font-size:var(--step-4); max-width:14ch; }
.hero h1 .accent{ color:var(--amber); }
.hero-lede{ color:rgba(255,255,255,.72); font-size:var(--step-1); max-width:46ch; margin-bottom:1.8em; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:2.6rem; }

.hero-meta{ display:flex; flex-wrap:wrap; gap:2.4rem; font-family:var(--f-mono); font-size:.78rem; color:rgba(255,255,255,.55); }
.hero-meta strong{ display:block; color:var(--white); font-size:1rem; font-weight:700; }
h6{ font-size:1rem; }

/* Instrument panel */
.panel{
  position:relative;
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius-lg);
  padding:1.6rem 1.6rem 1.4rem;
  backdrop-filter:blur(3px);
}
.panel-head{
  display:flex; justify-content:space-between; align-items:center;
  font-family:var(--f-mono); font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  color:rgba(255,255,255,.5); margin-bottom:1.1rem; padding-bottom:.9rem; border-bottom:1px solid rgba(255,255,255,.1);
}
.panel-status{ display:flex; align-items:center; gap:.5em; color:#5FD48A; }
.dot{ width:7px; height:7px; border-radius:50%; background:#5FD48A; box-shadow:0 0 0 0 rgba(95,212,138,.6); animation:pulse 2.2s infinite; }
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(95,212,138,.55); }
  70%{ box-shadow:0 0 0 8px rgba(95,212,138,0); }
  100%{ box-shadow:0 0 0 0 rgba(95,212,138,0); }
}
.readout-row{ display:flex; justify-content:space-between; align-items:baseline; padding:.65rem 0; border-bottom:1px dashed rgba(255,255,255,.1); }
.readout-row:last-of-type{ border-bottom:none; }
.readout-label{ font-size:.78rem; color:rgba(255,255,255,.6); }
.readout-value{ font-family:var(--f-mono); font-size:1.15rem; font-weight:600; color:var(--white); }
.readout-value .unit{ font-size:.62em; color:rgba(255,255,255,.5); margin-left:.3em; }
.readout-value.ok{ color:#5FD48A; }
.gauge-wrap{ margin-top:1.2rem; }
.gauge-track{ height:6px; border-radius:4px; background:rgba(255,255,255,.1); overflow:hidden; }
.gauge-fill{ height:100%; width:0%; background:linear-gradient(90deg, var(--teal-soft), #5FD48A); border-radius:4px; transition:width 1.4s var(--ease); }
.gauge-caption{ display:flex; justify-content:space-between; font-family:var(--f-mono); font-size:.65rem; color:rgba(255,255,255,.45); margin-top:.4rem; }

/* =========== Stat strip =========== */
.stat-strip{ background:var(--white); border-bottom:1px solid var(--grey-line); }
.stat-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:2rem; padding-block:2.4rem; }
@media (min-width:720px){ .stat-grid{ grid-template-columns:repeat(4,1fr); } }
.stat{ border-left:2px solid var(--amber); padding-left:1rem; }
.stat-num{ font-family:var(--f-mono); font-size:var(--step-2); font-weight:700; color:var(--navy); display:flex; align-items:baseline; gap:.15em; }
.stat-num .suffix{ font-size:.55em; color:var(--teal); }
.stat-label{ font-size:.82rem; color:var(--grey-slate); margin-top:.3em; }

/* =========== Section headers =========== */
.section-head{ max-width:62ch; margin-bottom:2.8rem; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
.section-head.center .eyebrow::before{ display:none; }

/* =========== Cards =========== */
.grid-3{ display:grid; gap:1.6rem; grid-template-columns:1fr; }
@media (min-width:720px){ .grid-3{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1080px){ .grid-3{ grid-template-columns:repeat(3,1fr); } }

.card{
  background:var(--white); border:1px solid var(--grey-line); border-radius:var(--radius-lg);
  padding:1.9rem 1.7rem; position:relative; overflow:hidden;
  transition:border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  display:flex; flex-direction:column; height:100%;
}
.card::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--teal);
  transform:scaleY(0); transform-origin:top; transition:transform .35s var(--ease);
}
.card:hover{ transform:translateY(-4px); box-shadow:0 18px 34px -22px rgba(11,31,58,.35); border-color:var(--grey-line); }
.card:hover::before{ transform:scaleY(1); }
.card-icon{ width:44px; height:44px; margin-bottom:1.1rem; color:var(--teal); }
.card h4{ margin-bottom:.5em; }
.card p{ font-size:.92rem; margin-bottom:1.2em; flex:1; text-align:justify; }
.card-link{ font-family:var(--f-mono); font-size:.75rem; letter-spacing:.05em; text-transform:uppercase; color:var(--navy); font-weight:600; display:inline-flex; align-items:center; gap:.5em; }
.card-link svg{ width:13px; height:13px; transition:transform .25s var(--ease); }
.card:hover .card-link svg{ transform:translateX(3px); }

/* =========== Sector strip =========== */
.sector-strip{ background:var(--grey-light); }
.sector-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--grey-line); border:1px solid var(--grey-line); }
@media (min-width:720px){ .sector-list{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:1080px){ .sector-list{ grid-template-columns:repeat(5,1fr); } }
.sector-item{
  background:var(--white); padding:1.6rem 1.2rem; text-align:center; display:flex; flex-direction:column; align-items:center; gap:.7rem;
  transition:background-color .25s var(--ease);
}
.sector-item:hover{ background:var(--navy); }
.sector-item:hover .sector-label, .sector-item:hover svg{ color:var(--amber); }
.sector-item svg{ width:30px; height:30px; color:var(--teal); transition:color .25s var(--ease); }
.sector-label{ font-size:.82rem; font-weight:600; color:var(--navy); transition:color .25s var(--ease); }

/* =========== Process =========== */
.process-list{ counter-reset:step; display:grid; gap:0; }
.process-item{
  counter-increment:step; display:grid; grid-template-columns:auto 1fr; gap:1.4rem;
  padding-block:1.6rem; border-top:1px solid var(--grey-line);
}
.process-item:last-child{ border-bottom:1px solid var(--grey-line); }
.process-item::before{
  content:counter(step,decimal-leading-zero); font-family:var(--f-mono); font-size:1rem; color:var(--amber-deep); font-weight:700; padding-top:.15em;
}
.process-item h4{ margin-bottom:.3em; }
.process-item p{ margin-bottom:0; }

/* =========== Testimonial / quote =========== */
.quote-block{
  background:var(--navy); color:var(--white); border-radius:var(--radius-lg);
  padding:clamp(2rem,5vw,3.4rem); position:relative;
}
.quote-mark{ font-family:var(--f-display); font-size:3.5rem; color:var(--amber); line-height:1; margin-bottom:.2rem; display:block; }
.quote-text{ font-size:var(--step-1); font-family:var(--f-display); font-weight:500; max-width:56ch; color:rgba(255,255,255,.92); }
.quote-cite{ margin-top:1.4rem; font-family:var(--f-mono); font-size:.78rem; color:rgba(255,255,255,.6); }

/* =========== Logo strip =========== */
.logo-strip{ border-top:1px solid var(--grey-line); border-bottom:1px solid var(--grey-line); background:var(--white); }
.logo-row{ display:flex; flex-wrap:wrap; gap:2.4rem; align-items:center; justify-content:space-between; padding-block:2rem; }
.logo-chip{ font-family:var(--f-mono); font-size:.8rem; color:var(--grey-slate); letter-spacing:.04em; border:1px dashed var(--grey-line); padding:.5em 1em; border-radius:2px; }

/* =========== CTA band =========== */
.cta-band{
  background:linear-gradient(120deg, var(--navy) 0%, var(--teal) 130%);
  color:var(--white); border-radius:var(--radius-lg); padding:clamp(2.2rem,5vw,3.6rem);
  display:flex; flex-wrap:wrap; gap:2rem; align-items:center; justify-content:space-between;
}
.cta-band h3{ color:var(--white); margin-bottom:.3em; }
.cta-band p{ color:rgba(255,255,255,.75); margin-bottom:0; max-width:44ch; }

/* =========== Footer =========== */
.site-footer{ background:var(--navy-deep); color:rgba(255,255,255,.65); }
.footer-top{ display:grid; gap:2.6rem; padding-block:3.6rem 2.6rem; grid-template-columns:1.3fr repeat(3,1fr); }
@media (max-width:860px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }
.footer-brand p{ color:rgba(255,255,255,.55); font-size:.88rem; max-width:32ch; }
.footer-col h5{ font-family:var(--f-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--amber); margin-bottom:1.1em; }
.footer-col ul{ display:flex; flex-direction:column; gap:.7em; }
.footer-col a{ color:rgba(255,255,255,.65); font-size:.88rem; }
.footer-col a:hover{ color:var(--white); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1); padding-block:1.4rem;
  display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; font-size:.78rem; color:rgba(255,255,255,.45);
}
.footer-bottom a{ color:rgba(255,255,255,.55); }

/* =========== Reveal-on-scroll =========== */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-stagger > *{ transition-delay:calc(var(--i,0) * 80ms); }

/* =========== Breadcrumb =========== */
.breadcrumb{ font-family:var(--f-mono); font-size:.75rem; color:rgba(255,255,255,.55); display:flex; gap:.5em; flex-wrap:wrap; }
.breadcrumb a{ color:rgba(255,255,255,.55); }
.breadcrumb a:hover{ color:var(--amber); }
.breadcrumb .sep{ opacity:.4; }

/* =========== Page hero (inner pages) =========== */
.page-hero{ background:var(--navy); color:var(--white); padding-block:3.2rem 3.4rem; position:relative; overflow:hidden; }
.page-hero h1{ color:var(--white); font-size:var(--step-3); max-width:22ch; margin-top:.5em; }
.page-hero-lede{ color:rgba(255,255,255,.7); max-width:60ch; font-size:var(--step-1); margin-top:1rem; }

/* =========== Two column =========== */
.two-col{ display:grid; gap:3rem; grid-template-columns:1fr; }
@media (min-width:960px){ .two-col{ grid-template-columns:1fr 1fr; } }
.two-col.reverse{ direction:rtl; }
.two-col.reverse > *{ direction:ltr; }

/* =========== Value list =========== */
.value-list{ display:grid; gap:1.4rem; }
.value-item{ display:flex; gap:1rem; align-items:flex-start; }
.value-item svg{ width:22px; height:22px; color:var(--amber); flex:none; margin-top:.2rem; }
.value-item h4{ margin-bottom:.25em; font-size:1.05rem; }
.value-item p{ margin-bottom:0; font-size:.92rem; }

/* =========== FAQ / accordion =========== */
.accordion-item{ border-bottom:1px solid var(--grey-line); }
.accordion-trigger{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:1rem;
  padding:1.3rem 0; font-family:var(--f-display); font-weight:700; font-size:1rem; color:var(--navy);
}
.accordion-trigger .plus{ position:relative; width:18px; height:18px; flex:none; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after{
  content:''; position:absolute; background:var(--teal); border-radius:1px;
}
.accordion-trigger .plus::before{ left:0; top:8px; width:18px; height:2px; }
.accordion-trigger .plus::after{ left:8px; top:0; width:2px; height:18px; transition:transform .3s var(--ease); }
.accordion-item.is-open .plus::after{ transform:rotate(90deg); }
.accordion-panel{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .35s var(--ease); }
.accordion-item.is-open .accordion-panel{ grid-template-rows:1fr; }
.accordion-panel-inner{ overflow:hidden; }
.accordion-panel p{ padding-bottom:1.3rem; margin:0; }

/* =========== Forms =========== */
.form-grid{ display:grid; gap:1.3rem; grid-template-columns:1fr; }
@media (min-width:640px){ .form-grid.two{ grid-template-columns:1fr 1fr; } }
.field{ display:flex; flex-direction:column; gap:.5em; }
.field label{ font-size:.85rem; font-weight:600; color:var(--navy); }
.field .req{ color:var(--amber-deep); }
.field input, .field select, .field textarea{
  font-family:var(--f-body); font-size:.95rem; padding:.85em 1em; border:1px solid var(--grey-line);
  border-radius:2px; background:var(--white); color:var(--ink); transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--teal); box-shadow:0 0 0 3px rgba(14,90,90,.14);
}
.field textarea{ resize:vertical; min-height:120px; }
.field small{ font-size:.76rem; color:var(--grey-slate); }
.field.has-error input, .field.has-error textarea{ border-color:#C0392B; }
.field-error{ font-size:.78rem; color:#C0392B; display:none; }
.field.has-error .field-error{ display:block; }
.honeypot{ position:absolute; left:-9999px; opacity:0; height:0; overflow:hidden; }
.form-note{ display:flex; gap:.7em; align-items:flex-start; background:var(--grey-light); border-left:3px solid var(--teal); padding:1em 1.2em; border-radius:2px; font-size:.84rem; color:var(--grey-slate); margin-top:1.4rem; }
.form-note svg{ width:18px; height:18px; color:var(--teal); flex:none; margin-top:.1em; }
.form-success{ display:none; background:#F1F8F3; border-left:3px solid #2E7D4F; padding:1.2em 1.4em; border-radius:2px; color:#1F5C38; font-size:.92rem; }
.form-success.is-visible{ display:block; }

/* =========== Contact info cards =========== */
.info-list{ display:grid; gap:1.4rem; }
.info-item{ display:flex; gap:1rem; padding:1.2rem; background:var(--white); border:1px solid var(--grey-line); border-radius:var(--radius); }
.info-item svg{ width:22px; height:22px; color:var(--teal); flex:none; }
.info-item h5{ font-family:var(--f-display); font-size:.92rem; color:var(--navy); margin:0 0 .3em; }
.info-item p{ margin:0; font-size:.88rem; }
.map-frame{ border:1px solid var(--grey-line); border-radius:var(--radius-lg); overflow:hidden; height:280px; }
.map-frame iframe{ width:100%; height:100%; border:0; }

/* =========== Utility =========== */
.mt-lg{ margin-top:3rem; }
.text-center{ text-align:center; }
.tag-row{ display:flex; flex-wrap:wrap; gap:.6rem; }
.tag{ font-family:var(--f-mono); font-size:.72rem; background:var(--grey-light); color:var(--navy); padding:.4em .8em; border-radius:2px; border:1px solid var(--grey-line); }
.pill{ display:inline-flex; align-items:center; gap:.5em; background:rgba(244,180,0,.12); color:var(--amber-deep); font-family:var(--f-mono); font-size:.72rem; padding:.4em .9em; border-radius:20px; font-weight:600; }

.band-alt{ background:var(--grey-light); }
.band-navy{ background:var(--navy); color:var(--white); }
.band-navy h2, .band-navy h3{ color:var(--white); }
.band-navy p{ color:rgba(255,255,255,.7); }

/* =========== Flash messages (Django messages framework) =========== */
.site-message{
  padding:.85rem 0; font-size:.9rem; font-weight:500;
}
.site-message--success{ background:#E8F5EE; color:#1F5C38; border-bottom:1px solid #B7DCCA; }
.site-message--error, .site-message--warning{ background:#FEF3CD; color:#7A4A00; border-bottom:1px solid #F5D87E; }

/* =========== Legal modal overlay =========== */
.legal-modal{
  position:fixed; inset:0; z-index:900;
  display:flex; align-items:flex-end; justify-content:center;
}
.legal-modal[hidden]{ display:none; }
.legal-modal-backdrop{
  position:absolute; inset:0;
  background:rgba(7,23,48,.65);
  backdrop-filter:blur(4px);
  cursor:pointer;
}
.legal-modal-panel{
  position:relative; z-index:1;
  background:var(--white); border-radius:8px 8px 0 0;
  width:100%; max-width:720px;
  max-height:85vh; display:flex; flex-direction:column;
  box-shadow:0 -24px 64px -16px rgba(0,0,0,.35);
  animation:slideUp .35s var(--ease);
}
@keyframes slideUp{
  from{ transform:translateY(100%); opacity:0; }
  to{ transform:translateY(0); opacity:1; }
}
.legal-modal-header{
  display:flex; justify-content:space-between; align-items:center;
  padding:1.2rem 1.6rem; border-bottom:1px solid var(--grey-line);
  flex:none;
}
.legal-modal-title{ font-family:var(--f-display); font-size:1.1rem; font-weight:800; color:var(--navy); margin:0; }
.legal-modal-close{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%; border:1px solid var(--grey-line);
  background:none; cursor:pointer; transition:background .2s var(--ease);
}
.legal-modal-close:hover{ background:var(--grey-light); }
.legal-modal-close svg{ width:16px; height:16px; }
.legal-modal-body{
  overflow-y:auto; padding:1.6rem; flex:1;
  -webkit-overflow-scrolling:touch;
}
.legal-modal-meta{
  font-family:var(--f-mono); font-size:.72rem; color:var(--grey-slate);
  margin-bottom:1.4rem;
}

/* =========== Legal / Resource article prose =========== */
.legal-prose h2, .prose h2{ font-size:var(--step-2); margin-top:2rem; }
.legal-prose h3, .prose h3{ font-size:var(--step-1); margin-top:1.6rem; }
.legal-prose p, .prose p{ color:var(--grey-slate); }
.legal-prose ul, .prose ul{ list-style:disc; padding-left:1.4rem; margin-bottom:1.1em; }
.legal-prose li, .prose li{ color:var(--grey-slate); margin-bottom:.4em; }
.legal-prose a, .prose a{ color:var(--teal); text-decoration:underline; }

/* =========== Active category tag filter =========== */
.tag--active{ background:var(--teal); color:var(--white); border-color:var(--teal); }
