@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --teal: #007c92;
  --teal-dark: #00586a;
  --teal-light: #71d7e0;
  --ink: #1d2b30;
  --muted: #5b6b70;
  --tint: #f1f7f8;
  --line: #dce7ea;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--teal-dark); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn {
  display: inline-block;
  padding: .7em 1.5em;
  border: 2px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-light { background: #fff; color: var(--teal-dark); border-color: #fff; }
.btn-light:hover { background: var(--tint); border-color: var(--tint); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand img { width: 160px; height: auto; }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--teal); }
.nav a.nav-cta { color: #fff; background: var(--teal); padding: .45em 1.1em; border-radius: 8px; }
.nav a.nav-cta:hover { background: var(--teal-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #1a9bb0 100%);
  color: #fff;
  padding: clamp(56px, 10vw, 120px) 0;
}
.hero-inner { display: flex; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; max-width: 16em; }
.hero .lead { font-size: 1.2rem; opacity: .92; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.8em; }
.hero-mark {
  width: clamp(160px, 22vw, 240px); flex-shrink: 0;
  background: #fff; border-radius: 50%; padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

/* Partners */
.partners { padding: 40px 0 48px; }
.eyebrow { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); text-align: center; margin-bottom: 24px; }
.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; }
.logo-row img { max-height: 64px; max-width: 170px; width: auto; object-fit: contain; }
.logo-row img.logo-tall { max-height: 96px; }
.logo-row a { display: block; transition: opacity .2s; }
.logo-row a:hover { opacity: .75; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--tint); }
.section-teal { background: var(--teal); color: #fff; }
.section-teal h2 { color: #fff; }
.lead-dark { font-size: 1.15rem; }

/* Team */
.team { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.member { text-align: center; padding: 24px 8px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; }
.member .photo { display: block; border-radius: 50%; margin-bottom: 16px; transition: box-shadow .2s, transform .2s; }
.member .photo:hover, .member .photo:focus-visible { box-shadow: 0 0 0 4px var(--teal-light); transform: scale(1.04); }
.member img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; }
.member h3 { margin: 0; font-size: 1.02rem; white-space: nowrap; }

.memoriam { background: #f6f6f6; border-color: #d4d4d4; }
.memoriam img { filter: grayscale(1); opacity: .9; }
.memoriam .photo:hover, .memoriam .photo:focus-visible { box-shadow: 0 0 0 4px #c4c4c4; }
.memoriam h3 { color: #444; }

/* News */
.story {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start;
  background: #fff; border-radius: var(--radius); padding: 28px; margin-top: 24px;
  border: 1px solid var(--line);
}
.story-logo { width: 100%; max-height: 110px; object-fit: contain; margin-top: 8px; }
.story-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.story .date { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .3em; }
.story .more { font-weight: 600; text-decoration: none; }
.story .more::after { content: " →"; }
.story .more:hover { text-decoration: underline; }
.story-memory { background: #fafafa; border-color: #d4d4d4; }
.story-memory .story-photo { aspect-ratio: auto; }
.story-wide { grid-template-columns: 1fr; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; width: 100%; }

/* Newsletter */
.subscribe { display: flex; gap: 10px; max-width: 520px; margin: 24px auto 0; }
.subscribe input { flex: 1; min-width: 0; }
.subscribe altcha-widget { display: none; }
.section-teal .form-status { max-width: 520px; margin: 14px auto 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-direct { color: var(--muted); }
.contact-direct a { font-weight: 600; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input, textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: .7em .9em; border: 1px solid #cfd9dc; border-radius: 8px; background: #fff; width: 100%;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus { outline: 2px solid var(--teal-light); border-color: var(--teal); }
.contact-form .btn { justify-self: start; }
.form-status { padding: .8em 1em; border-radius: 8px; font-weight: 600; }
.form-status.ok { background: #e3f5ef; color: #0f6b4f; }
.form-status.err { background: #fdeaea; color: #9b1c1c; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); }
.section-teal .form-note { margin-top: 14px; color: rgba(255,255,255,.85); }
.section-teal .form-note a { color: #fff; }

/* Privacy notice */
.back-link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.back-link:hover { color: var(--teal); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); color: var(--teal-dark); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal .date { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* Footer */
.site-footer { background: #0e2a31; color: #b9c8cc; padding: 40px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.footer-inner img { opacity: .9; margin-bottom: 8px; }
.footer-inner p { margin: 0; }
.site-footer a { color: #fff; }

/* Responsive */
@media (max-width: 1100px) {
  .team { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav a.nav-cta { text-align: center; margin-top: 8px; }
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .hero-mark { width: 120px; padding: 12px; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .member { padding: 18px 6px; }
  .member h3 { font-size: .95rem; }
  .member img { width: 96px; height: 96px; }
  .story { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .story-logo { max-width: 200px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:last-child { display: none; }
  .subscribe { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 420px) {
  .team { grid-template-columns: 1fr; }
}
