/* SOLID CYPRESS — shared stylesheet
   Brand: navy #0a1a2f, gold #c9a227, body text #1a1a1a on white.
   Base font-size 18px, line-height 1.6, max content width 1100px. */

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  padding: 2rem 0 3rem;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.25;
  color: #0a1a2f;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.65rem;
  line-height: 1.3;
  color: #0a1a2f;
  margin: 2.25rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #c9a227;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  color: #0a1a2f;
  margin: 1.25rem 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: #0a1a2f;
  text-decoration: underline;
}

a:hover {
  color: #c9a227;
}

/* Visible focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #c9a227;
  outline-offset: 3px;
}

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

.site-header {
  background-color: #ffffff;
  border-bottom: 2px solid #c9a227;
}

.header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.wordmark {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0a1a2f;
  text-decoration: none;
  border-bottom: 3px solid #c9a227;
  padding-bottom: 0.15rem;
  white-space: nowrap;
}

.wordmark:hover {
  color: #0a1a2f;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-nav a {
  color: #0a1a2f;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 0.15rem;
}

.site-nav a:hover {
  color: #0a1a2f;
  border-bottom: 3px solid #c9a227;
}

.site-nav a.current {
  font-weight: 700;
  border-bottom: 3px solid #c9a227;
}

/* ---------- Hero ---------- */

.hero {
  background-color: #0a1a2f;
  color: #ffffff;
  padding: 3rem 0;
  margin-bottom: 0.5rem;
}

.hero h1 {
  color: #ffffff;
  font-size: 2.4rem;
}

.hero .subhead {
  font-size: 1.2rem;
  max-width: 46rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-intro .subhead {
  font-size: 1.15rem;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  background-color: #c9a227;
  color: #0a1a2f;
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid #c9a227;
  border-radius: 4px;
}

.button:hover {
  background-color: #ffffff;
  color: #0a1a2f;
}

.button-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.button-secondary:hover {
  background-color: #ffffff;
  color: #0a1a2f;
}

.button-navy {
  background-color: #0a1a2f;
  color: #ffffff;
  border-color: #0a1a2f;
}

.button-navy:hover {
  background-color: #c9a227;
  color: #0a1a2f;
  border-color: #c9a227;
}

/* ---------- Sections & columns ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.alt-section {
  background-color: #f4f5f7;
  padding: 0.5rem 1.25rem 1.25rem;
  border-radius: 4px;
}

ul.plain-list {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

ul.plain-list li {
  margin-bottom: 0.35rem;
}

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
}

th,
td {
  border: 1px solid #b9bec7;
  padding: 0.6rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

thead th {
  background-color: #0a1a2f;
  color: #ffffff;
}

tbody th {
  background-color: #f4f5f7;
  font-weight: 600;
  width: 35%;
}

tr.primary-row td {
  font-weight: 700;
  background-color: #fdf6dd;
}

/* ---------- Phone CTA (Contact) ---------- */

.phone-cta {
  margin: 1rem 0 1.5rem;
}

.phone-cta a {
  display: inline-block;
  background-color: #0a1a2f;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  border-bottom: 4px solid #c9a227;
}

.phone-cta a:hover {
  background-color: #c9a227;
  color: #0a1a2f;
}

/* ---------- Form ---------- */

form {
  max-width: 42rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #0a1a2f;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  font: inherit;
  color: #1a1a1a;
  padding: 0.6rem 0.75rem;
  border: 1px solid #6b7280;
  border-radius: 4px;
  background-color: #ffffff;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

button[type="submit"] {
  font: inherit;
  cursor: pointer;
}

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

.site-footer {
  background-color: #0a1a2f;
  color: #ffffff;
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.site-footer .footer-brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #c9a227;
}

.site-footer p {
  margin: 0 0 0.75rem;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #c9a227;
}

.footer-nav ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: #c9a227;
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  table {
    min-width: 420px;
  }

  .phone-cta a {
    font-size: 1.5rem;
    padding: 0.9rem 1.25rem;
  }
}

/* ---------- Print (capability statement) ---------- */

@media print {
  body {
    background-color: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  h1,
  h2,
  h3,
  .wordmark,
  a {
    color: #000000;
  }

  .site-header {
    border-bottom: 2px solid #000000;
  }

  .site-nav,
  .footer-nav,
  .hero-actions {
    display: none;
  }

  .hero {
    background-color: #ffffff;
    color: #000000;
    padding: 0 0 1rem;
  }

  .hero h1 {
    color: #000000;
  }

  .site-footer {
    background-color: #ffffff;
    color: #000000;
    border-top: 2px solid #000000;
  }

  .site-footer .footer-brand,
  .site-footer a {
    color: #000000;
  }

  .site-footer .footer-brand {
    border-bottom: 2px solid #000000;
  }

  thead th {
    background-color: #ffffff;
    color: #000000;
  }

  tbody th,
  tr.primary-row td {
    background-color: #ffffff;
  }

  .table-wrap {
    overflow: visible;
  }

  table {
    min-width: 0;
    page-break-inside: auto;
  }

  tr {
    page-break-inside: avoid;
  }

  .phone-cta a {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
  }
}
