:root {
  --pv-ink: #241b16;
  --pv-muted: #6e625b;
  --pv-paper: #fffaf4;
  --pv-panel: #f3e9dc;
  --pv-accent: #8a4f2c;
  --pv-accent-dark: #5e321d;
  --pv-line: #e2d3c4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--pv-ink);
  background: var(--pv-paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--pv-accent-dark);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  z-index: 10;
  background: #fff;
  padding: .5rem .75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grid-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.grid-container.narrow {
  width: min(820px, calc(100% - 2rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(255, 250, 244, .94);
  border-bottom: 1px solid var(--pv-line);
  backdrop-filter: blur(10px);
}

.header-bar,
.footer-grid,
.hero-grid,
.section-heading.split {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  gap: .8rem;
  align-items: center;
  padding: .85rem 0;
  text-decoration: none;
}

.brand-logo {
  max-height: 54px;
}

.brand-mark {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: #fffaf4;
  background: var(--pv-accent-dark);
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand-name {
  display: block;
  color: var(--pv-ink);
  font-size: 1.2rem;
  font-weight: 750;
}

.brand-claim,
.eyebrow {
  color: var(--pv-muted);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.main-nav a {
  padding: .55rem .75rem;
  border-radius: 999px;
  text-decoration: none;
}

.main-nav a:hover,
.brand-pill:hover {
  background: var(--pv-panel);
}

.hero-section,
.page-hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0;
}

.hero-grid {
  align-items: stretch;
}

.hero-copy {
  flex: 1 1 60%;
}

h1 {
  max-width: 980px;
  margin: .15em 0 .35em;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.055em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.button-group {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .75rem 1rem;
  border: 1px solid var(--pv-accent-dark);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--pv-accent-dark);
}

.button.hollow {
  color: var(--pv-accent-dark);
  background: transparent;
}

.text-link {
  font-weight: 700;
  text-decoration: none;
}

.quick-card,
.feature-card,
.service-card,
.brand-card {
  background: #fff;
  border: 1px solid var(--pv-line);
  border-radius: 1.35rem;
  box-shadow: 0 18px 50px rgba(54, 34, 20, .08);
}

.quick-card {
  flex: 0 1 360px;
  padding: 1.4rem;
}

.big-link {
  font-size: 1.35rem;
  font-weight: 750;
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.section.muted {
  background: var(--pv-panel);
}

.brand-showcase {
  padding-top: 0;
}

.partner-band {
  border-top: 1px solid var(--pv-line);
}

.card-grid,
.brand-grid,
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}

.brand-section + .brand-section {
  margin-top: clamp(3rem, 8vw, 5.5rem);
}

.section-heading {
  margin-bottom: clamp(1rem, 3vw, 1.8rem);
}

.section-heading h2 {
  margin: 0;
}

.services-index {
  padding-top: 0;
}

.service-group + .service-group {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.feature-card,
.service-card,
.brand-card {
  padding: 1.2rem;
}

.service-card--featured {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.service-card--with-image {
  padding-top: 1rem;
}

.service-card--with-image .service-card__media {
  display: block;
}

.service-card--with-image img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: .9rem;
}

.service-card__body h3 {
  margin-top: 0;
}

.service-card__body > :last-child {
  margin-bottom: 0;
}

.brand-card--logo {
  display: grid;
  min-height: 220px;
  padding: 1.4rem;
  place-items: center;
}

.brand-logo-static {
  display: grid;
  width: 100%;
  min-height: 170px;
  place-items: center;
  border-radius: 1rem;
}

.brand-logo-static img {
  display: block;
  max-width: min(100%, 220px);
  max-height: 145px;
  object-fit: contain;
  border-radius: 0;
}

.brand-logo-static--link {
  text-decoration: none;
}

.brand-carousel {
  margin-top: .5rem;
}

.brand-carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-bottom: .85rem;
}

.brand-carousel__button {
  display: inline-grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--pv-line);
  border-radius: 50%;
  background: #fff;
  color: var(--pv-ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.brand-carousel__button:hover {
  background: var(--pv-panel);
}

.brand-carousel__button[hidden] {
  display: none;
}

.brand-carousel__viewport {
  overflow: hidden;
}

.brand-carousel__track {
  --brand-carousel-duration: 520ms;
  display: flex;
  gap: 1rem;
  transition: transform var(--brand-carousel-duration) ease;
}

.brand-carousel__track--no-transition {
  transition: none;
}

.brand-carousel__item {
  flex: 0 0 calc((100% - 1rem) / 2);
}

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

.partner-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: clamp(1.2rem, 4vw, 2rem);
  align-items: center;
  background: #fff;
  border: 1px solid var(--pv-line);
  border-radius: 1.35rem;
  box-shadow: 0 18px 50px rgba(54, 34, 20, .08);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.partner-logo {
  display: grid;
  min-height: 150px;
  place-items: center;
}

.partner-logo img {
  display: block;
  max-width: min(100%, 230px);
  max-height: 135px;
  object-fit: contain;
  border-radius: 0;
}

.partner-copy > :last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .partner-card {
    grid-template-columns: 1fr;
  }

  .partner-logo {
    min-height: 110px;
  }
}

.feature-card img,
.brand-card img,
.page-cover {
  border-radius: 1rem;
}

.brand-card .brand-logo-static img {
  border-radius: 0;
}

.rich-text > :first-child {
  margin-top: 0;
}

.rich-text.compact {
  color: var(--pv-muted);
}

.detail-logo {
  max-height: 130px;
  width: auto;
}

.site-footer {
  padding: 2.5rem 0;
  background: var(--pv-ink);
  color: #fffaf4;
}

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

.contact-card {
  font-style: normal;
}

.note {
  color: var(--pv-muted);
  font-size: .95rem;
}

@media (max-width: 760px) {
  .header-bar,
  .footer-grid,
  .hero-grid,
  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    padding-bottom: .8rem;
  }
}
