:root{
  --bg: #ffffff;
  --text: #0b0f14;
  --muted: #4a5568;
  --accent: #0e7c86;
  --accent-ink: #ffffff;
  --card: #f6fafb;
  --border: #e6eef0;
  --shadow: 0 10px 25px rgba(0,0,0,.08);
}
@media (prefers-color-scheme: dark){
  :root{
    --bg: #0b0f14;
    --text: #e8edf2;
    --muted: #9aa6b2;
    --accent: #10a0ad;
    --accent-ink: #041417;
    --card: #0f1620;
    --border: #18222e;
    --shadow: 0 10px 25px rgba(0,0,0,.35);
  }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
.container{max-width:1100px;margin:0 auto;padding:0 1.25rem}
.skip-link{
  position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{left:1rem;top:1rem;width:auto;height:auto;background:var(--accent);color:var(--accent-ink);padding:.5rem .75rem;border-radius:.5rem;z-index:1000}
.site-header{
  position:sticky;top:0;z-index:50;
  background: rgba(255,255,255,.7);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
}
@media (prefers-color-scheme: dark){
  .site-header{background: rgba(11,15,20,.6)}
}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:64px}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none}
.brand-text{letter-spacing:.12em;font-weight:700;color:var(--text)}
.nav .menu{display:flex;gap:1rem;list-style:none;margin:0;padding:0}
.nav a{color:var(--text);text-decoration:none;font-weight:500}
.nav a:hover{color:var(--accent)}
.nav-toggle{display:none;background:none;border:none;font-size:1.25rem}
.sr-only{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
@media (max-width: 800px){
  .nav-toggle{display:block}
  .nav .menu{position:absolute;right:1.25rem;top:64px;background:var(--bg);border:1px solid var(--border);box-shadow:var(--shadow);padding:.75rem;border-radius:.75rem;display:none;flex-direction:column}
  .nav .menu.open{display:flex}
}
.hero{padding:5rem 0 3rem;background:
  radial-gradient(1000px 400px at 100% -100%, rgba(14,124,134,.12), transparent 60%);
}
.hero-inner{display:grid;grid-template-columns: 1.2fr 1fr;align-items:center;gap:2rem}
@media (max-width: 900px){.hero-inner{grid-template-columns:1fr}}
.tagline{font-size:1.4rem;font-weight:700;color:var(--accent);margin:.25rem 0 0}
.lede{font-size:1.15rem;color:var(--muted);max-width:60ch}
.cta{display:flex;gap:.75rem;margin-top:1rem;flex-wrap:wrap}
.button{
  display:inline-block;border-radius:.75rem;padding:.7rem 1rem;
  background:var(--accent);color:var(--accent-ink);text-decoration:none;font-weight:700;border:1px solid transparent;box-shadow:var(--shadow)
}
.button.ghost{background:transparent;border-color:var(--border);color:var(--text);box-shadow:none}
.button:hover{transform:translateY(-1px)}
.section{padding:3.5rem 0}
.section.alt{background:linear-gradient(0deg,var(--card),var(--card));border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.section h2{font-size:2rem;margin:.25rem 0 1rem}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1rem}
@media (max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.grid{grid-template-columns:1fr}}
.card{background:var(--bg);border:1px solid var(--border);border-radius:1rem;padding:1rem;box-shadow:var(--shadow)}
.card h3{margin-top:.25rem;margin-bottom:.35rem}
.contact-wrap{display:grid;grid-template-columns: 1fr 1.1fr;gap:2rem;align-items:start}
@media (max-width: 900px){.contact-wrap{grid-template-columns:1fr}}
.form label{display:block;font-weight:600;margin:.5rem 0 .25rem}
.form input,.form textarea{
  width:100%;padding:.7rem .8rem;border:1px solid var(--border);border-radius:.6rem;background:var(--bg);color:var(--text)
}
.form input:focus,.form textarea:focus{outline:2px solid var(--accent);outline-offset:2px}
.form .consent{display:flex;gap:.5rem;align-items:center;margin:.5rem 0}
.form-status{min-height:1.25rem;color:var(--muted);margin-top:.5rem}
.site-footer{padding:2rem 0}
.footer-inner{display:flex;gap:1rem;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:1rem;flex-wrap:wrap}
.site-footer nav a{color:var(--muted);text-decoration:none;margin-right:.75rem}
.site-footer nav a:hover{color:var(--text)}
.env-notice{
  background:#fff3cd;color:#5f370e;border-bottom:1px solid #f1da9e;
  padding:.6rem 1rem;font-size:.95rem;text-align:center
}

/* === Mission Section === */
#mission {
  background: #fff;
  padding: clamp(2.5rem, 4vw, 4rem) 1.25rem;
}

#missionWrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.mission__copy {
  background: #f8fafc;
  border-radius: 18px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: 0 8px 24px rgba(2,6,23,0.06);
}

.mission__copy h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: #0f172a;
}

.mission__copy p {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.1vw, 1.075rem);
  line-height: 1.6;
  color: #475569;
  text-align: justify;   /* aligns both left and right edges */
}

.mission__visual {
  margin: 0;
  text-align: center;
}

.mission__visual img {
  width: 85%;       /* 15% smaller */
  height: auto;
  display: block;
  margin: 0 auto;   /* keep centred */
  border-radius: 18px;
  outline: 4px solid rgba(14, 116, 144, 0.2);
}

.mission__visual figcaption {
  font-size: .9rem;
  color: #475569;
  margin-top: .5rem;
}

/* Stack layout on small screens */
@media (max-width: 860px) {
  #missionWrap {
    grid-template-columns: 1fr;
  }
  .mission__visual {
    order: -1;
  }
}

/* === Dark Mode === */
@media (prefers-color-scheme: dark) {
  #mission {
    background: #0b1220;
  }
  .mission__copy {
    background: #0f172a;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .mission__copy h2 {
    color: #e5e7eb;
  }
  .mission__copy p {
    color: #94a3b8;
  }
  .mission__visual img {
    outline: 4px solid rgba(14, 116, 144, 0.4);
  }
  .mission__visual figcaption {
    color: #94a3b8;
  }
}

/* === Who Section === */
#whoWrap {
  max-width: 1000px;
  margin: 0 auto;
}

#whoWrap > h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  text-align: left;
}

.who-card {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 2rem;
  background: #f8fafc; /* same as services */
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(2,6,23,0.06);
}

.who__photo img {
  width: 100%;
  max-width: 180px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.who__copy p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: #475569;
  text-align: justify;
}

/* Responsive */
@media (max-width: 760px) {
  .who-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .who__photo img {
    margin: 0 auto 1rem;
  }
  .who__copy p {
    text-align: left;
  }
}

/* === Who Section — Dark Mode === */
@media (prefers-color-scheme: dark) {
  #whoWrap > h2 {
    color: #e5e7eb; /* light text */
  }

  .who-card {
    background: #0f172a;            /* dark card */
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  }

  .who__copy p {
    color: #94a3b8;                 /* muted light text */
  }

  .who__photo img {
    box-shadow: 0 6px 16px rgba(0,0,0,0.6);
  }
}
