:root {
  --sage: #636C5A;
  --cream: #F9F2E8;
  --taupe: #7A6F63;
  --black: #000000;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--cream);
  color: var(--black);
  font-size: 0.96rem;
}

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

figcaption {
  margin-top: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  padding: 0.75rem 1.25rem;
  background: var(--cream);
  color: var(--black);
  text-decoration: none;
  z-index: 1000;
}

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

.site-header {
  background: var(--sage);
  padding-block: 1.5rem 2.5rem;
  text-align: center;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5rem;
  padding: 0;
  margin: 0 0 2rem 0;
}

.primary-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}

.primary-nav a:hover,
.primary-nav a:focus {
  text-decoration: underline;
}

.header-logo {
  max-width: 340px;
  margin: 0 auto 1.5rem;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-block: 2rem 4rem;
}

main > section {
  width: 100%;
  text-align: center;
}

.panel,
.page-section {
  padding-block: 3rem;
}

.panel .panel-inner,
.page-section .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.panel-text h1,
.panel-text h2,
.page-section h1,
.page-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0 0 1.5rem 0;
}

.panel-text p {
  margin: 0 auto;
  line-height: 1.6;
  max-width: 62ch;
}

.panel-text ul {
  margin: 0 auto;
  padding-left: 1.25rem;
  line-height: 1.6;
  text-align: left;
  max-width: 62ch;
  display: grid;
  gap: 0.85rem;
}

.panel-what-text {
  width: 100%;
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}

.panel-what-text p {
  max-width: 62ch;
}

.page-section p,
.page-section ul,
.page-section blockquote {
  margin: 0 auto;
  line-height: 1.6;
  max-width: 62ch;
}

.page-section ul {
  padding: 0;
  list-style-position: inside;
}

.page-section blockquote {
  font-style: italic;
}

.panel-what,
.panel-services {
  background: var(--taupe);
  color: var(--cream);
}

.panel-founder {
  background: var(--cream);
  color: var(--black);
}

.panel-founder .panel-media {
  text-align: center;
}

.panel-founder .panel-media figure {
  margin: 0;
}

.panel-founder .panel-media img {
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.panel-founder .panel-inner {
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .panel-founder .panel-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .panel-founder .panel-media,
  .panel-founder .panel-text {
    flex: 1;
  }
}

.panel-founder .panel-text h2 {
  color: var(--black);
}

.testimonial-figure {
  background: var(--cream);
  color: var(--black);
  padding-block: 3rem;
  text-align: center;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.testimonial-grid figure {
  margin: 0;
  max-width: 320px;
}

.panel-services .panel-text {
  max-width: 70ch;
  margin-inline: auto;
}

.panel-services .panel-text ul {
  max-width: 70ch;
}

.site-footer {
  background: var(--sage);
  color: var(--cream);
  padding-block: 2.5rem 2rem;
  text-align: center;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: inline-block;
  max-width: 140px;
  margin-inline: auto;
}

.footer-column h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  text-align: center;
}

.footer-column a {
  color: var(--cream);
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
}

.footer-column a:hover,
.footer-column a:focus {
  text-decoration: underline;
}

.legal,
.footer-note {
  text-align: center;
  margin: 2rem auto 0 auto;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .primary-nav ul {
    gap: 1.5rem;
  }
}
