:root {
  --navy: #0A2540;
  --teal: #00A8A8;
  --soft-navy: #19375F;
  --charcoal: #2D3436;
  --light: #F4F7F9;
  --border: #B4B4B4;
  --white: #FFFFFF;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Calibri, "Segoe UI", Inter, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
}

img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--teal);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo img { height: 48px; width: auto; display: block; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a {
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: var(--radius);
}
.nav a:hover, .nav a.active { color: var(--teal); }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-weight: 700;
}

/* Banner */
.notice {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  text-align: center;
  padding: 8px 16px;
}
.notice strong { color: var(--teal); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
  padding: 56px 0 40px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.2;
}
.slogan {
  color: var(--teal);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 20px;
}
.hero p { max-width: 720px; margin: 0 0 14px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Buttons */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--teal); color: var(--white); }
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

/* Sections */
section { padding: 48px 0; }
.band { background: var(--light); }
h2 {
  font-size: clamp(22px, 3vw, 26px);
  color: var(--navy);
  margin: 0 0 16px;
}
h3 {
  font-size: 18px;
  color: var(--soft-navy);
  margin: 0 0 10px;
}
.lede { max-width: 760px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.card {
  background: var(--white);
  border: 1px solid #e2e8ee;
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--teal); }
.card ul { margin: 8px 0 0; padding-left: 18px; }
.card li { margin-bottom: 6px; }

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.industries span {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
}

.note {
  border-left: 4px solid var(--teal);
  padding: 12px 16px;
  background: var(--white);
  margin-top: 20px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 36px;
  align-items: start;
}
.portrait {
  background: var(--light);
  border-radius: 8px;
  overflow: hidden;
  min-height: 220px;
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Form */
form {
  background: var(--white);
  border: 1px solid #e2e8ee;
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
  max-width: 640px;
}
label { display: block; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--white);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { margin-top: 20px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-status { font-size: 15px; }
.form-status.ok { color: var(--teal); font-weight: 700; }
.form-status.err { color: #9b1c1c; }
.help { font-size: 14px; color: #5b6568; margin-top: 4px; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c5d0d8;
  font-size: 14px;
  padding: 28px 0 20px;
  margin-top: 20px;
}
.site-footer .top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--teal);
}
.site-footer strong { color: var(--white); }
.site-footer a { color: var(--teal); }
.site-footer a:hover { color: var(--white); }
.site-footer p { margin: 4px 0; }
.tag { color: var(--teal); font-weight: 700; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
  }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .form-row, .about-grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 24px; }
}

/* Offset anchor targets so headings sit below sticky header + notice */
#existing, #new, #also, section[id] {
  scroll-margin-top: 110px;
}
