/* Kennith Driver - kennithdriver.com
   Brand colors: navy #1E3A5F, purple #5B4B8A, on white.
   Plain, clean, mobile-friendly. No frameworks. */

* {
  box-sizing: border-box;
}

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

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: #5b4b8a;
}

a:hover {
  color: #1e3a5f;
}

/* Header */

.site-header {
  background: #1e3a5f;
  color: #ffffff;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  color: #ffffff;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

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

.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

/* Hero */

.hero {
  background: #1e3a5f;
  color: #ffffff;
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-photo {
  width: 260px;
  max-width: 70vw;
  height: auto;
  border-radius: 12px;
  border: 4px solid #ffffff;
  flex-shrink: 0;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero a {
  color: #d9d2ec;
}

/* Sub-page header */

.page-hero {
  background: #1e3a5f;
  color: #ffffff;
  padding: 2.75rem 0 2.25rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2.3rem;
  line-height: 1.15;
}

.page-hero .tagline {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #d9d2ec;
}

.page-intro {
  max-width: 640px;
  margin: 0;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2.6rem;
  line-height: 1.15;
}

.hero .tagline {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #d9d2ec;
}

.hero-sub {
  max-width: 640px;
  margin: 0 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.button {
  display: inline-block;
  background: #5b4b8a;
  color: #ffffff;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #4a3d72;
  color: #ffffff;
}

.button-secondary {
  background: transparent;
  border: 2px solid #ffffff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: #f4f2f8;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.9rem;
  color: #1e3a5f;
}

.section-intro {
  max-width: 640px;
  margin: 0 0 1.75rem;
}

.section-note {
  margin-top: 1.75rem;
}

.center {
  text-align: center;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #ffffff;
  border: 1px solid #ddd6ea;
  border-top: 4px solid #5b4b8a;
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
}

.section-alt .card {
  border: 1px solid #ddd6ea;
  border-top: 4px solid #5b4b8a;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  color: #1e3a5f;
}

.card p {
  margin: 0 0 0.75rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e3a5f;
}

/* Links list */

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd6ea;
}

.link-list li:last-child {
  border-bottom: none;
}

/* Contact form */

form {
  max-width: 560px;
}

form p {
  margin: 0 0 1rem;
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #9a93ad;
  border-radius: 6px;
  background: #ffffff;
}

form input:focus,
form textarea:focus {
  outline: 2px solid #5b4b8a;
  outline-offset: 1px;
}

.hidden {
  display: none;
}

/* Footer */

.site-footer {
  background: #1e3a5f;
  color: #ffffff;
  padding: 2rem 0;
}

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

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: #d9d2ec;
}

/* Small screens */

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

  .hero .tagline {
    font-size: 1.15rem;
  }

  .section h2 {
    font-size: 1.6rem;
  }
}
