:root {
  --ink: #17282d;
  --muted: #627175;
  --paper: #f7faf8;
  --white: #ffffff;
  --teal: #006575;
  --teal-dark: #00434e;
  --sage: #6e8d7b;
  --clay: #c4573d;
  --gold: #d5a52d;
  --line: #dce6e1;
  --shadow: 0 24px 70px rgba(17, 42, 47, 0.13);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  background: rgba(247, 250, 248, 0.92);
  border-bottom: 1px solid rgba(220, 230, 225, 0.8);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 190px;
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  font-size: 0.92rem;
}

.main-nav a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.section,
.section-band,
.page-hero,
.post {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading.compact {
  margin: 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.accent {
  color: var(--clay);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: 6rem;
}

h2 {
  font-size: 3.4rem;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 1.28rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 86px);
}

.hero-copy {
  display: grid;
  gap: 1.6rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 520px;
  margin: 1rem 0 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.stats div {
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats dt {
  color: var(--teal);
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
}

.stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.hero-portrait {
  position: relative;
  margin: 0;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-portrait img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

.hero-portrait figcaption {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  max-width: 210px;
  padding: 0.9rem 1rem;
  background: var(--clay);
  color: var(--white);
  font-weight: 800;
}

.service-grid,
.values-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.values-grid article,
.blog-card,
.audience-grid article,
.post-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  padding: 1.5rem;
}

.service-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 2rem;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.service-card h3,
.values-grid h3,
.audience-grid h3,
.blog-card h3,
.post-row h2 {
  margin-bottom: 0.75rem;
}

.small {
  color: var(--muted);
  font-size: 0.95rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.audience-grid article,
.values-grid article {
  padding: 1.25rem;
}

.audience-grid ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.values-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-section figure {
  margin: 0;
}

.about-section img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.about-section div {
  display: grid;
  gap: 1rem;
}

blockquote {
  margin: 0;
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.35;
}

figcaption {
  color: var(--teal-dark);
  font-weight: 800;
}

figcaption span {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.blog-section {
  background:
    linear-gradient(90deg, rgba(0, 101, 117, 0.08), transparent 52%),
    var(--paper);
}

.blog-card {
  overflow: hidden;
}

.blog-card img,
.post-row img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.blog-card div,
.post-row div {
  padding: 1rem;
}

.blog-card a,
.post-row a,
.text-link {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.date {
  margin-bottom: 0.5rem;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-section {
  max-width: var(--max);
  margin: 0 auto 4rem;
  padding: 4rem 1.5rem;
  background: var(--teal-dark);
  color: var(--white);
  text-align: center;
}

.contact-section p {
  max-width: 680px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.8);
}

.contact-actions {
  justify-content: center;
  margin-top: 1.6rem;
}

.contact-section .button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.page-hero {
  text-align: center;
}

.page-hero .lead {
  max-width: 720px;
  margin: 1rem auto 0;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

.post-header {
  display: grid;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto 2rem;
}

.post-header img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.back-link {
  color: var(--teal-dark);
  font-weight: 800;
}

.post-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.post-content > * + * {
  margin-top: 1rem;
}

.post-content h2 {
  margin-top: 2.5rem;
  font-size: 2rem;
}

.post-content h4 {
  margin: 2rem 0 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--teal-dark);
}

.post-content a {
  color: var(--teal-dark);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.post-content ul {
  padding-left: 1.2rem;
}

.post-content .wp-block-image,
.post-content .wp-block-pullquote,
.post-content figure {
  margin: 2rem 0;
}

.post-content .wp-block-image img,
.post-content figure > img {
  width: auto;
  max-height: 620px;
  margin: 0 auto;
  border-radius: 8px;
}

.post-content .alignleft {
  float: left;
  max-width: 42%;
  margin: 0.2rem 1.5rem 1rem 0;
}

.post-content .alignright {
  float: right;
  max-width: 42%;
  margin: 0.2rem 0 1rem 1.5rem;
}

.post-content .aligncenter {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.post-content .wp-block-pullquote {
  clear: both;
  padding: 1.4rem 1.6rem;
  background: rgba(0, 101, 117, 0.08);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
}

.post-content .wp-block-pullquote blockquote {
  display: grid;
  gap: 0.8rem;
}

.post-content .wp-block-pullquote p {
  font-size: 1.35rem;
}

.post-content cite {
  color: var(--muted);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 180px;
  margin-bottom: 0.9rem;
}

.site-footer div:last-child {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .hero,
  .split-section,
  .about-section,
  .post-row {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    display: grid;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .audience-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .brand img {
    width: 150px;
  }

  .main-nav {
    font-size: 0.85rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .section,
  .section-band,
  .page-hero,
  .post {
    padding: 3.5rem 1rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .hero-portrait figcaption {
    position: static;
    max-width: none;
  }

  .post-content .alignleft,
  .post-content .alignright {
    float: none;
    max-width: 100%;
    margin: 1.5rem auto;
  }

  .post-content .wp-block-pullquote {
    padding: 1.1rem;
  }

  .post-content .wp-block-pullquote p {
    font-size: 1.12rem;
  }

  .contact-section {
    margin-bottom: 2rem;
  }
}
