/* Public site styles. Shared verbatim by the editor canvas and the server-rendered site.
   Theme values arrive only through --site-* custom properties (see themeToCssVars). */
.site-root {
  background: var(--site-bg);
  color: var(--site-ink);
  font-family: var(--site-font);
  line-height: 1.5;
}
.site-root *,
.site-root *::before,
.site-root *::after {
  box-sizing: border-box;
}
.site-root h1,
.site-root h2,
.site-root h3,
.site-root p {
  overflow-wrap: anywhere;
}
.site-root a {
  color: inherit;
}
.site-root :focus-visible {
  outline: 3px solid var(--site-ink);
  outline-offset: 3px;
}

.site-hero {
  padding: 64px 42px 72px;
  min-height: 230px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--site-primary) 28%, transparent),
    transparent 65%
  );
}
.hero-rule {
  font:
    10px "IBM Plex Mono",
    ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  margin-bottom: 32px;
}
.site-hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.site-hero p {
  max-width: 520px;
  margin: 18px 0 26px;
  font-size: 16px;
  opacity: 0.82;
}

.site-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 2px;
  background: var(--site-ink);
  color: var(--site-bg) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease-out;
}
.site-btn:hover {
  transform: translateY(-2px);
}
.site-btn.inverse {
  background: var(--site-primary);
  color: var(--site-ink) !important;
}

.site-heading {
  padding: 32px 42px 8px;
}
.site-heading h2,
.site-heading h3,
.site-grid h2 {
  margin: 6px 0 0;
  font-size: 26px;
  letter-spacing: -0.035em;
}
.site-heading h3 {
  font-size: 20px;
}
.site-text {
  padding: 8px 42px 24px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.65;
}
.site-text p {
  margin: 0 0 1em;
}
.site-image {
  padding: 16px 42px;
}
.site-image img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.site-grid {
  padding: 26px 42px 38px;
}
.grid-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 17px;
}
.grid-count {
  font:
    10px "IBM Plex Mono",
    ui-monospace,
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}
.grid-note {
  margin: 0;
  padding: 18px;
  border: 1px dashed color-mix(in srgb, var(--site-ink) 35%, transparent);
  font-size: 14px;
}
.cards {
  display: grid;
  gap: 14px;
}
.content-card {
  background: color-mix(in srgb, var(--site-bg) 70%, #fff);
  border: 1px solid color-mix(in srgb, var(--site-ink) 16%, transparent);
}
.content-card img,
.card-placeholder {
  display: block;
  width: 100%;
  /* the image's own height attribute would otherwise win over the aspect ratio */
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: color-mix(in srgb, var(--site-ink) 10%, var(--site-bg));
}
.content-card > div:last-child {
  padding: 14px;
}
.content-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.content-card p {
  margin: 0;
  font-size: 13px;
  opacity: 0.78;
}
.content-card.skeleton {
  min-height: 170px;
  animation: site-pulse 1.4s ease-in-out infinite;
}
@keyframes site-pulse {
  50% {
    opacity: 0.5;
  }
}

.site-cta {
  margin: 9px 42px 32px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--site-ink);
  color: var(--site-bg);
}
.site-cta h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}
.site-divider {
  margin: 20px 42px;
  border: 0;
  border-top: 2px solid color-mix(in srgb, var(--site-ink) 30%, transparent);
}
.site-divider.dashed {
  border-top-style: dashed;
}

.site-footer {
  padding: 22px 42px;
  font:
    10px "IBM Plex Mono",
    ui-monospace,
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  opacity: 0.7;
}

@media (max-width: 760px) {
  .site-hero,
  .site-heading,
  .site-text,
  .site-image,
  .site-grid,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-cta,
  .site-divider {
    margin-left: 20px;
    margin-right: 20px;
  }
  .cards {
    grid-template-columns: 1fr !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-btn {
    transition: none;
  }
  .site-btn:hover {
    transform: none;
  }
  .content-card.skeleton {
    animation: none;
  }
}

/* Server-rendered chrome */
.site-header {
  display: flex;
  align-items: center;
  padding: 14px 42px;
  border-bottom: 1px solid color-mix(in srgb, var(--site-ink) 14%, transparent);
  background: var(--site-bg);
}
.site-header.sticky {
  position: sticky;
  top: 0;
  z-index: 5;
}
.site-brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.site-logo {
  height: 32px;
  width: auto;
  display: block;
}
.site-social {
  display: flex;
  gap: 14px;
}
.preview-banner {
  padding: 8px 42px;
  background: var(--site-ink);
  color: var(--site-bg);
  font:
    12px "IBM Plex Mono",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.status-page h1 {
  font-size: 34px;
  margin: 0 0 8px;
}
@media (max-width: 760px) {
  .site-header,
  .preview-banner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Hero with a background photo */
.site-hero.has-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: 420px;
  background: #1a1a1a;
}
.site-hero.has-bg .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.site-hero.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(0 0 0 / 72%), rgb(0 0 0 / 35%));
}
.site-hero.has-bg .site-btn {
  background: #fff;
  color: #111 !important;
}
.site-hero.has-bg :focus-visible {
  outline-color: #fff;
}

/* Testimonial */
.site-testimonial {
  margin: 9px 42px;
  padding: 28px 30px;
  border-left: 4px solid var(--site-primary);
  background: color-mix(in srgb, var(--site-primary) 8%, transparent);
}
.site-testimonial figure {
  margin: 0;
}
.site-testimonial blockquote {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.site-testimonial blockquote p {
  margin: 0;
}
.site-testimonial figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 14px;
}
.site-testimonial figcaption span {
  opacity: 0.75;
}

/* Contact details */
.site-contact {
  margin: 9px 42px 24px;
  padding: 28px 0;
}
.site-contact h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.035em;
}
.site-contact p {
  max-width: 520px;
  margin: 0 0 18px;
  opacity: 0.85;
}
.site-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.site-contact li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 2px solid color-mix(in srgb, var(--site-ink) 25%, transparent);
}
.site-contact li span {
  font:
    11px "IBM Plex Mono",
    ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
}
.site-contact li a,
.site-contact li strong {
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  .site-testimonial,
  .site-contact {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* ---- Marketing chrome: header, cover hero, footer (blocks navbar / coverhero / sitefooter) ---- */
.site-root {
  position: relative;
}
.pf-nav,
.pf-hero,
.pf-foot {
  --pf-ink: #131313;
  --pf-accent: #a97c50;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.pf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  --pf-pt: 22px;
  --pf-px: max(
    var(--site-gutter, 28px),
    calc((100% - var(--site-container, 1144px)) / 2)
  );
  padding: var(--pf-pt) var(--pf-px);
  background: var(--site-bg);
  color: var(--site-ink);
  border-bottom: 1px solid color-mix(in srgb, var(--site-ink) 14%, transparent);
}
.pf-nav.overlay {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  background: transparent;
  color: #fff;
  border-bottom: 0;
}
.pf-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.pf-brand img {
  display: block;
  height: 64px;
  width: auto;
}
.pf-nav.overlay .pf-brand img {
  filter: brightness(0) invert(1);
}
.pf-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pf-nav nav a {
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.pf-nav nav a:hover {
  opacity: 1;
}
.site-root .pf-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  background: #fff;
  color: var(--pf-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.pf-nav:not(.overlay) .pf-nav-phone {
  background: var(--site-ink);
  color: var(--site-bg);
}

.pf-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--pf-ink);
  color: #fff;
}
.pf-hero.screen {
  min-height: 100vh;
}
.pf-hero.page {
  min-height: 62vh;
  align-items: flex-end;
}
.pf-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.pf-hero.page .pf-hero-bg {
  opacity: 0.55;
}
.pf-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(19, 19, 19, 0.85),
    rgba(19, 19, 19, 0.5),
    transparent
  );
}
.pf-hero.page .pf-hero-shade {
  background: linear-gradient(
    to top,
    var(--pf-ink),
    rgba(19, 19, 19, 0.5),
    rgba(19, 19, 19, 0.2)
  );
}
.pf-hero-body {
  position: relative;
  width: 100%;
  max-width: calc(var(--site-container, 1144px) + 2 * var(--site-gutter, 28px));
  margin: 0 auto;
  padding: 120px var(--site-gutter, 28px) 64px;
}
.pf-eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pf-accent);
}
.pf-hero h1 {
  margin: 0;
  max-width: 48rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.pf-lead {
  max-width: 36rem;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.pf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.site-root .pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 0.16s ease-out,
    background 0.16s;
}
.site-root .pf-btn.solid {
  background: #fff;
  color: var(--pf-ink);
}
.site-root .pf-btn.solid:hover {
  transform: translateY(-2px);
}
.site-root .pf-btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.site-root .pf-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pf-foot {
  background: var(--pf-ink);
  color: #fff;
}
.pf-foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 48px;
  max-width: calc(var(--site-container, 1144px) + 2 * var(--site-gutter, 28px));
  margin: 0 auto;
  padding: 64px var(--site-gutter, 28px) 32px;
}
.pf-foot-brand {
  display: block;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}
.pf-foot p {
  margin: 0;
  max-width: 20rem;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
.pf-foot h3 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.pf-foot ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.pf-foot a {
  text-decoration: none;
}
.pf-foot a:hover {
  color: #fff;
}
.pf-foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--site-container, 1144px);
  width: calc(100% - 2 * var(--site-gutter, 28px));
  margin: 0 auto;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.pf-foot-base p {
  max-width: none;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 1280px) {
  .pf-nav nav {
    display: none;
  }
}
@media (max-width: 900px) {
  .pf-foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .pf-nav {
    --pf-pt: 16px;
    --pf-px: var(--site-gutter-m, 16px);
  }
  .pf-foot-grid {
    grid-template-columns: 1fr;
  }
  .pf-hero-body {
    padding: 104px 20px 48px;
  }
}

/* ---- Section intro / image + copy ---- */
.pf-section {
  --pf-ink: #131313;
  --pf-accent: #a97c50;
  --pf-muted: #666;
  padding: 88px 0;
  background: var(--site-bg);
  color: var(--site-ink);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.pf-section.muted {
  background: #f3f3f3;
}
.pf-wrap {
  max-width: calc(var(--site-container, 1144px) + 2 * var(--site-gutter, 28px));
  margin: 0 auto;
  padding: 0 var(--site-gutter, 28px);
}
.pf-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pf-accent);
}
.pf-kicker::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
}
.pf-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.pf-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.site-root .pf-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.pf-body {
  max-width: 44rem;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--pf-muted);
}
.pf-section-head + .pf-body {
  margin-top: 0;
}
.pf-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.pf-split.right .pf-split-img {
  order: 2;
}
.pf-split-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 640px;
  object-fit: cover;
}
.pf-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.pf-facts dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}
.pf-facts dd {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--pf-muted);
}
.site-root .pf-btn.dark {
  margin-top: 32px;
  background: var(--pf-ink);
  color: #fff;
}
.site-root .pf-btn.dark:hover {
  transform: translateY(-2px);
}
@media (max-width: 860px) {
  .pf-split-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pf-split.right .pf-split-img {
    order: 0;
  }
  .pf-split-img {
    min-height: 260px;
  }
  .pf-section {
    padding: 56px 0;
  }
  .pf-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .pf-facts {
    grid-template-columns: 1fr;
  }
}

/* ---- Editorial skin: ordinary blocks on a page that carries the marketing header ---- */
.site-root:has(.pf-nav) {
  --pf-gutter: max(
    var(--site-gutter, 28px),
    calc((100% - var(--site-container, 1144px)) / 2)
  );
  --pf-ink: #131313;
  --pf-accent: #a97c50;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.site-root:has(.pf-nav) .site-heading,
.site-root:has(.pf-nav) .site-text,
.site-root:has(.pf-nav) .site-image,
.site-root:has(.pf-nav) .site-grid,
.site-root:has(.pf-nav) .site-contact,
.site-root:has(.pf-nav) .site-testimonial {
  padding-left: var(--pf-gutter);
  padding-right: var(--pf-gutter);
}
.site-root:has(.pf-nav) .site-heading {
  padding-top: 64px;
  padding-bottom: 0;
}
.site-root:has(.pf-nav) .site-heading h2,
.site-root:has(.pf-nav) .site-heading h3,
.site-root:has(.pf-nav) .site-grid h2,
.site-root:has(.pf-nav) .site-contact h2,
.site-root:has(.pf-nav) .content-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.site-root:has(.pf-nav) .site-heading h2,
.site-root:has(.pf-nav) .site-grid h2,
.site-root:has(.pf-nav) .site-contact h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.12;
}
.site-root:has(.pf-nav) .site-text {
  max-width: none;
  padding-top: 20px;
  padding-bottom: 8px;
  font-size: 17px;
  line-height: 1.7;
  color: #666;
}
.site-root:has(.pf-nav) .site-text p {
  max-width: 46rem;
}
.site-root:has(.pf-nav) .site-image {
  padding-top: 32px;
  padding-bottom: 32px;
}
.site-root:has(.pf-nav) .site-image img {
  max-height: 560px;
}
.site-root:has(.pf-nav) .site-grid {
  padding-top: 40px;
  padding-bottom: 72px;
}
.site-root:has(.pf-nav) .cards {
  gap: 0;
  border: 1px solid #e3e3e3;
}
.site-root:has(.pf-nav) .content-card {
  background: transparent;
  border: 0;
  border-right: 1px solid #e3e3e3;
}
.site-root:has(.pf-nav) .content-card:last-child {
  border-right: 0;
}
.site-root:has(.pf-nav) .content-card img,
.site-root:has(.pf-nav) .card-placeholder {
  aspect-ratio: 16 / 10;
}
.site-root:has(.pf-nav) .content-card > div:last-child {
  padding: 24px;
}
.site-root:has(.pf-nav) .content-card h3 {
  font-size: 22px;
}
.site-root:has(.pf-nav) .content-card p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: #666;
  opacity: 1;
}
.site-root:has(.pf-nav) .site-cta {
  margin: 0;
  padding: 72px var(--pf-gutter);
  background: var(--pf-ink);
  color: #fff;
}
.site-root:has(.pf-nav) .site-cta h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
}
.site-root:has(.pf-nav) .site-cta .site-btn.inverse {
  padding: 16px 28px;
  background: #fff;
  color: var(--pf-ink) !important;
  font-size: 15px;
  font-weight: 500;
}
.site-root:has(.pf-nav) .site-contact,
.site-root:has(.pf-nav) .site-testimonial {
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (max-width: 760px) {
  .site-root:has(.pf-nav) .cards {
    border: 0;
    gap: 16px;
  }
  .site-root:has(.pf-nav) .content-card {
    border: 1px solid #e3e3e3;
  }
}
.site-grid h2:empty {
  display: none;
}
.site-grid .grid-head:has(h2:empty) {
  display: none;
}

/* ---- Fixed header that turns solid on scroll (public pages only; needs scroll-driven animations) ---- */
@supports (animation-timeline: scroll()) {
  body.rk-standalone .pf-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 20;
  }
  body.rk-standalone .pf-nav.overlay {
    animation: pf-nav-solid linear both;
    animation-timeline: scroll(root);
    animation-range: 0 140px;
  }
  body.rk-standalone .pf-nav.overlay .pf-brand img {
    animation: pf-logo-dark linear both;
    animation-timeline: scroll(root);
    animation-range: 0 140px;
  }
  body.rk-standalone .pf-nav.overlay .pf-nav-phone {
    animation: pf-phone-dark linear both;
    animation-timeline: scroll(root);
    animation-range: 0 140px;
  }
  body.rk-standalone .pf-nav:not(.overlay) {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
  }
  @keyframes pf-nav-solid {
    from {
      background: rgba(255, 255, 255, 0);
      color: #fff;
      border-bottom-color: transparent;
    }
    to {
      background: rgba(255, 255, 255, 0.92);
      color: #131313;
      border-bottom-color: #e5e5e5;
      backdrop-filter: blur(8px);
    }
  }
  @keyframes pf-logo-dark {
    from {
      filter: brightness(0) invert(1);
    }
    to {
      filter: none;
    }
  }
  @keyframes pf-phone-dark {
    from {
      background: #fff;
      color: #131313;
    }
    to {
      background: #131313;
      color: #fff;
    }
  }
}

/* ---- Breadcrumb in the cover hero ---- */
.pf-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0 0 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.pf-crumbs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pf-crumbs i {
  font-style: normal;
  opacity: 0.7;
}
.pf-crumbs a {
  text-decoration: none;
}
.pf-crumbs a:hover {
  color: #fff;
}

/* ---- Footer logo + icons ---- */
.pf-foot-logo {
  display: block;
  height: 64px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}
.pf-foot li:has(> svg) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pf-foot li > svg {
  flex: none;
  margin-top: 3px;
  color: var(--pf-accent);
}

/* ---- Contact band ---- */
.pf-band {
  --pf-ink: #131313;
  --pf-accent: #a97c50;
  background: var(--pf-ink);
  color: #fff;
  padding: 80px 0;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.pf-band-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.pf-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.pf-band p {
  max-width: 36rem;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
}
.pf-band-cards {
  display: grid;
  gap: 12px;
}
.site-root .pf-band-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  color: #fff;
}
.site-root .pf-band-card.solid {
  background: #fff;
  border-color: #fff;
  color: var(--pf-ink);
}
.pf-band-card span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.pf-band-card svg {
  color: var(--pf-accent);
}
.pf-band-card small {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.pf-band-card.solid small {
  color: #777;
}

/* ---- Value cards ---- */
.pf-center {
  text-align: center;
  margin-bottom: 48px;
}
.pf-center .pf-kicker {
  justify-content: center;
}
.pf-cardgrid {
  display: grid;
  border: 1px solid #e3e3e3;
  background: #fff;
}
.pf-cardgrid article {
  padding: 36px 34px;
  border-right: 1px solid #e3e3e3;
}
.pf-cardgrid article:last-child {
  border-right: 0;
}
.pf-cardgrid h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 21px;
}
.pf-cardgrid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pf-muted);
}

/* ---- Panel ---- */
.pf-panel-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}
.pf-panel.rows .pf-panel-grid {
  grid-template-columns: 0.85fr 1.15fr;
}
.pf-panel.rows.flip .pf-panel-grid {
  grid-template-columns: 1.1fr 0.9fr;
}
.pf-panel.intro .pf-panel-grid {
  grid-template-columns: 1fr 1fr;
}
.pf-panel-copy.box {
  padding: 40px;
  background: #f1f1f1;
}
.pf-panel-copy .pf-body:first-of-type {
  margin-top: 24px;
}
.pf-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
.pf-links .pf-btn.dark {
  margin-top: 0;
}
.pf-panel-rows .pf-body:first-child {
  margin-top: 0;
}
.pf-checks {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--pf-muted);
}
.pf-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pf-checks svg {
  flex: none;
  margin-top: 5px;
  color: var(--pf-accent);
}
.pf-rows {
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
}
.pf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  text-decoration: none;
}
.pf-row + .pf-row {
  border-top: 1px solid #e3e3e3;
}
.pf-row-text {
  display: grid;
  gap: 8px;
}
.pf-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 24px;
}
.pf-row-text span {
  line-height: 1.6;
  color: var(--pf-muted);
}
.pf-rows.contact .pf-row-text {
  gap: 2px;
}
.pf-rows.contact .pf-row-text strong {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 14px;
  color: var(--pf-muted);
}
.pf-rows.contact .pf-row-text span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: #131313;
  overflow-wrap: anywhere;
}

/* ---- Catalog cards ---- */
.pf-catalog-head {
  max-width: 48rem;
  margin-bottom: 52px;
}
.pf-cards {
  display: grid;
  gap: 24px;
}
.pf-card {
  display: block;
  border: 1px solid #e3e3e3;
  background: #fcfcfc;
  color: inherit;
  text-decoration: none;
}
.pf-section.muted .pf-card {
  background: #fff;
}
.site-root a.pf-card:hover {
  background: #f3f3f3;
}
.pf-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}
.pf-card-media.swatch {
  aspect-ratio: 3 / 2;
}
.pf-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pf-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.pf-card-body {
  padding: 28px;
}
.pf-card-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pf-accent);
}
.pf-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}
.pf-card-body > p:not(.pf-card-eyebrow) {
  margin: 12px 0 0;
  line-height: 1.6;
  color: var(--pf-muted);
}
.pf-specs {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e3e3e3;
  display: grid;
  gap: 10px;
}
.pf-specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.pf-specs dt {
  color: var(--pf-muted);
}
.pf-specs dd {
  margin: 0;
  text-align: right;
}
.pf-bullets {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.pf-bullets li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pf-bullets svg {
  flex: none;
  color: var(--pf-accent);
}

/* ---- Service detail ---- */
.pf-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.pf-detail-main {
  display: grid;
  gap: 48px;
  min-width: 0;
}
.pf-detail h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 24px;
}
.pf-detail .pf-body {
  font-size: 18px;
  margin-top: 24px;
}
.pf-note {
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid var(--pf-accent);
  font-size: 14px;
  line-height: 1.6;
  color: var(--pf-muted);
}
.pf-small {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--pf-muted);
}
.pf-steps {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.pf-steps li {
  display: flex;
  gap: 16px;
}
.pf-steps li > span:last-child {
  padding-top: 4px;
  line-height: 1.6;
  color: var(--pf-muted);
}
.pf-step-n {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}
.pf-checkgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.pf-checkgrid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #ddd;
  font-size: 14px;
  color: #444;
}
.pf-checkgrid svg {
  flex: none;
  margin-top: 2px;
  color: var(--pf-accent);
}
.pf-linkbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 24px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  font-weight: 500;
}
.pf-linkbar a {
  text-underline-offset: 4px;
}
.pf-faq {
  margin-top: 24px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.pf-faq details {
  padding: 20px 0;
}
.pf-faq details + details {
  border-top: 1px solid #ddd;
}
.pf-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}
.pf-faq summary::-webkit-details-marker {
  display: none;
}
.pf-faq summary span {
  color: var(--pf-accent);
  transition: transform 0.2s;
}
.pf-faq details[open] summary span {
  transform: rotate(45deg);
}
.pf-faq p {
  margin: 12px 0 0;
  line-height: 1.6;
  color: var(--pf-muted);
}
.pf-aside {
  position: sticky;
  top: 112px;
  padding: 32px;
  border: 1px solid #ddd;
  background: #f3f3f3;
}
.pf-aside h3 {
  margin: 0;
}
.pf-aside p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pf-muted);
}
.site-root .pf-btn.wide {
  display: flex;
  width: 100%;
  margin-top: 12px;
}
.pf-aside .pf-btn.wide:first-of-type {
  margin-top: 24px;
}
.site-root .pf-btn.light {
  border: 1px solid #ddd;
  background: #fff;
  color: var(--pf-ink);
}

/* ---- Gallery ---- */
.pf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pf-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eee;
}
.pf-gallery figure.big {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
}
.pf-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: rgba(19, 19, 19, 0.8);
  color: #fff;
  font-size: 14px;
}
@media (max-width: 960px) {
  .pf-band-grid,
  .pf-panel.rows .pf-panel-grid,
  .pf-panel.rows.flip .pf-panel-grid,
  .pf-panel.intro .pf-panel-grid,
  .pf-detail-grid {
    grid-template-columns: 1fr;
  }
  .pf-cardgrid,
  .pf-cards {
    grid-template-columns: 1fr 1fr !important;
  }
  .pf-aside {
    position: static;
  }
}
@media (max-width: 600px) {
  .pf-cardgrid,
  .pf-cards,
  .pf-checkgrid,
  .pf-gallery-grid {
    grid-template-columns: 1fr !important;
  }
  .pf-gallery figure.big {
    grid-column: auto;
    grid-row: auto;
  }
  .pf-panel-copy.box {
    padding: 24px;
  }
}

/* ---- v1.5.1 refinements ---- */
.pf-specs dt {
  white-space: nowrap;
}
.pf-specs dd {
  min-width: 0;
}
/* Stain swatches: borderless tiles with a small caption */
.pf-card:has(> .swatch) {
  border: 0;
  background: transparent;
}
.pf-card:has(> .swatch) .pf-card-media {
  aspect-ratio: 3 / 2;
}
.pf-card:has(> .swatch) .pf-card-body {
  padding: 18px 0 0;
}
.pf-card:has(> .swatch) h3 {
  font-size: 24px;
}
.pf-card:has(> .swatch) .pf-card-body > p:not(.pf-card-eyebrow) {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
/* Centred strip */
.pf-section.center {
  padding: 56px 0;
  text-align: center;
  border-bottom: 1px solid #ececec;
}
.pf-section.center .pf-section-head {
  justify-content: center;
  margin-bottom: 8px;
}
.pf-section.center .pf-kicker {
  justify-content: center;
}
.pf-section.center .pf-kicker::after {
  display: none;
}
.pf-section.center .pf-body {
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
  font-size: 16px;
}
/* Button row on the right of a panel */
.pf-links.btns {
  margin-top: 0;
  align-content: center;
  min-height: 100%;
}
.site-root .pf-btn.outline {
  border: 1px solid #131313;
  background: transparent;
  color: #131313;
}
.site-root .pf-btn.outline:hover {
  background: rgba(0, 0, 0, 0.05);
}
.pf-panel .pf-links .pf-btn {
  padding: 14px 24px;
}
.pf-panel .pf-links .pf-btn.dark {
  margin-top: 0;
}
/* Service rows: a rule between consecutive image + copy rows */
.pf-split + .pf-split {
  padding-top: 0;
}
.pf-split + .pf-split .pf-split-grid {
  padding-top: 56px;
  border-top: 1px solid #e3e3e3;
}
/* Gallery: uniform rows so the big photo and the small ones line up */
.pf-gallery-grid {
  grid-auto-rows: 260px;
}
.pf-gallery figure,
.pf-gallery figure.big {
  aspect-ratio: auto;
  height: 100%;
}
.pf-gallery figure.big {
  grid-column: span 2;
  grid-row: span 2;
}
.pf-gallery figcaption {
  font-style: normal;
}
@media (max-width: 600px) {
  .pf-gallery-grid {
    grid-auto-rows: 220px;
  }
}

/* Estimate calculator */
.pf-calc-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .pf-calc-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
  }
}
.pf-calc-form {
  border: 1px solid color-mix(in srgb, var(--site-ink) 14%, transparent);
  padding: 40px;
}
.pf-calc-form h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 8px;
}
.pf-calc-form label {
  display: block;
  margin-top: 28px;
  font-size: 0.875rem;
  font-weight: 500;
}
.pf-calc-form select,
.pf-calc-form input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--site-ink) 22%, transparent);
  background: #fff;
  font: inherit;
  border-radius: 0;
  box-sizing: border-box;
}
.pf-calc-result {
  background: color-mix(in srgb, var(--site-ink) 6%, var(--site-bg));
  padding: 48px;
}
.pf-calc-total {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.75rem;
  line-height: 1;
  margin: 20px 0 0;
}
.pf-calc-note {
  margin: 16px 0 0;
  max-width: 28rem;
  line-height: 1.6;
  color: #666;
}
.pf-calc-result .pf-btn {
  margin-top: 32px;
}

/* Active link underline + mobile menu */
.pf-nav {
  position: relative;
}
.pf-nav nav a {
  position: relative;
}
.pf-nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--pf-accent, #a97c50);
  transition: width 0.3s;
}
.pf-nav nav a:hover::after,
.pf-nav nav a[aria-current="page"]::after {
  width: 100%;
}
.pf-nav nav a[aria-current="page"] {
  opacity: 1;
}
.site-root .pf-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.pf-burger,
.pf-burger::before,
.pf-burger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.2s,
    top 0.2s;
}
.pf-burger {
  position: relative;
}
.pf-burger::before,
.pf-burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.pf-burger::before {
  top: -7px;
}
.pf-burger::after {
  top: 7px;
}
.pf-nav.open .pf-burger {
  background: transparent;
}
.pf-nav.open .pf-burger::before {
  top: 0;
  transform: rotate(45deg);
}
.pf-nav.open .pf-burger::after {
  top: 0;
  transform: rotate(-45deg);
}
.pf-nav-panel {
  display: none;
}
@media (max-width: 1280px) {
  .site-root .pf-nav-toggle {
    display: inline-flex;
  }
  .pf-nav.open,
  body.rk-standalone .pf-nav.overlay.open {
    animation: none;
    background: rgba(255, 255, 255, 0.97);
    color: #131313;
    border-bottom: 1px solid #e5e5e5;
  }
  .pf-nav.open .pf-brand img,
  body.rk-standalone .pf-nav.overlay.open .pf-brand img {
    animation: none;
    filter: none;
  }
  .pf-nav.open .pf-nav-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px var(--pf-px) 28px;
    background: #fff;
    color: #131313;
    border-bottom: 1px solid #e5e5e5;
    max-height: 80vh;
    overflow-y: auto;
  }
  .pf-nav-panel ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .pf-nav-panel li {
    border-bottom: 1px solid #e5e5e5;
  }
  .pf-nav-panel li a {
    display: block;
    padding: 14px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    color: inherit;
    text-decoration: none;
  }
  .pf-nav-panel a[aria-current="page"] {
    color: var(--pf-accent, #a97c50);
  }
  .pf-nav-panel .pf-nav-panel-call {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #131313;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
}
@media (max-width: 700px) {
  .site-root .pf-nav .pf-nav-phone {
    display: none;
  }
}

/* Filter buttons, product pop-ups */
.pf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid color-mix(in srgb, var(--site-ink) 14%, transparent);
}
.site-root .pf-filters button {
  padding: 12px 20px;
  border: 0;
  background: color-mix(in srgb, var(--site-ink) 6%, var(--site-bg));
  color: var(--site-ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.site-root .pf-filters button:hover {
  background: color-mix(in srgb, var(--site-ink) 12%, var(--site-bg));
}
.site-root .pf-filters button.on {
  background: var(--site-ink);
  color: var(--site-bg);
}
.pf-catalog [hidden],
.pf-gallery [hidden] {
  display: none !important;
}
.site-root .pf-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--site-ink) 20%, transparent);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.site-root .pf-open:hover {
  background: var(--site-ink);
  border-color: var(--site-ink);
  color: var(--site-bg);
}
.pf-modal {
  width: min(56rem, calc(100% - 32px));
  max-height: 90vh;
  padding: 0;
  border: 0;
  background: var(--site-bg);
  color: var(--site-ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
}
.pf-modal::backdrop {
  background: rgba(19, 19, 19, 0.7);
  backdrop-filter: blur(3px);
}
.site-root .pf-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #131313;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.pf-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pf-modal-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.pf-modal-img {
  min-height: 240px;
  background: #e9e6df;
}
.pf-modal-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pf-modal-body {
  padding: 40px;
}
.pf-modal-body h2 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}
.pf-modal-body > p:not(.pf-kicker) {
  margin: 16px 0 0;
  line-height: 1.6;
  color: #666;
}
.pf-modal-items {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .pf-modal-items {
    grid-template-columns: 1fr 1fr;
  }
}
.pf-modal-items li {
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--site-ink) 14%, transparent);
  font-size: 14px;
}
.pf-modal-body .pf-btn {
  margin-top: 28px;
}

.site-root .pf-nav-toggle,
.site-root .pf-filters button,
.site-root .pf-open,
.site-root .pf-modal-x {
  box-shadow: none;
  text-shadow: none;
}
.site-root .pf-filters button,
.site-root .pf-open {
  border-radius: 0;
}
.site-root .pf-filters button {
  text-transform: none;
  letter-spacing: normal;
}

/* Split text links, section pill */
.pf-split-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 28px;
}
.pf-split-links .pf-more {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pf-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 40px 0 0;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--site-ink) 14%, transparent);
  background: var(--site-bg);
  font-size: 14px;
  color: color-mix(in srgb, var(--site-ink) 80%, transparent);
}
.pf-pill svg {
  color: var(--pf-accent, #a97c50);
}

/* An intro panel with no heading: just a left-ruled note with its links under it */
.pf-panel.intro .pf-panel-grid:has(> .pf-panel-copy:empty) {
  grid-template-columns: 1fr;
}
.pf-panel.intro .pf-panel-copy:empty {
  display: none;
}
.pf-panel.intro .pf-panel-grid:has(> .pf-panel-copy:empty) .pf-body {
  max-width: 42rem;
  padding-left: 20px;
  border-left: 2px solid var(--pf-accent, #a97c50);
  font-size: 14px;
}

/* Joined card grid (one border, 1px dividers), linked-card arrow */
.pf-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.pf-card-title svg {
  flex-shrink: 0;
  color: #666;
  transition: color 0.2s;
}
.pf-card:hover .pf-card-title svg {
  color: var(--pf-accent, #a97c50);
}
.pf-cards.joined {
  gap: 1px;
  border: 1px solid #e3e3e3;
  background: #e3e3e3;
  overflow: hidden;
}
.pf-cards.joined .pf-card {
  border: 0;
  background: #fff;
}
.site-root .pf-cards.joined a.pf-card:hover {
  background: #f3f3f3;
}
.pf-cards.joined .pf-card-media {
  aspect-ratio: 3 / 2;
}
.pf-cards.joined .pf-card-body {
  padding: 24px;
}
.pf-cards.joined .pf-card h3 {
  font-size: 20px;
}
.pf-cards.joined .pf-card-body > p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Process cards with a quote mark */
.pf-values.quote .pf-cardgrid {
  gap: 32px;
  max-width: 768px;
  margin: 56px auto 0;
  border: 0;
  background: transparent;
}
.pf-values.quote .pf-cardgrid article {
  padding: 32px;
  border: 1px solid #e3e3e3;
  text-align: center;
}
.pf-values.quote .pf-cardgrid article svg {
  display: block;
  margin: 0 auto;
  color: var(--pf-accent, #a97c50);
}
.pf-values.quote .pf-cardgrid h3 {
  margin: 20px 0 0;
  font-size: 20px;
}
.pf-values.quote .pf-cardgrid p {
  margin-top: 12px;
  font-size: 14px;
}

/* Brand strip */
.pf-brands {
  text-align: center;
}
.pf-brands-label {
  margin: 0 0 32px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #666;
}
.pf-brands ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pf-brands li {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: rgba(19, 19, 19, 0.4);
  transition: color 0.2s;
}
.pf-brands li:hover {
  color: rgba(19, 19, 19, 0.7);
}

/* The menu button keeps its own colours whatever the theme paints on buttons */
.site-root .pf-nav-toggle:hover,
.site-root .pf-nav-toggle:focus,
.site-root .pf-nav-toggle:active,
.site-root .pf-nav-toggle:focus-visible {
  background: none;
  background-color: transparent;
  color: inherit;
  border: 0;
  outline: none;
}
.site-root .pf-nav-toggle:focus-visible .pf-burger,
.site-root .pf-nav-toggle:focus-visible .pf-burger::before,
.site-root .pf-nav-toggle:focus-visible .pf-burger::after {
  background-color: currentColor;
}
.site-root .pf-nav-toggle {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
}

/* AI flooring visualizer */
.pf-viz-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) {
  .pf-viz-grid {
    grid-template-columns: 1fr 0.9fr;
  }
}
.site-root .pf-viz-form > * + * {
  margin-top: 32px;
}
.pf-viz-drop {
  display: block;
  padding: 24px;
  border: 1px dashed color-mix(in srgb, var(--site-ink) 30%, transparent);
  cursor: pointer;
}
.pf-viz-drop-title {
  display: block;
  font-weight: 500;
}
.pf-viz-hint {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}
.pf-viz-drop input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 16px;
  font-size: 14px;
}
.pf-viz-error {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #e5b4b4;
  background: #fdf1f1;
  color: #8a1f1f;
  font-size: 14px;
}
.pf-viz-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.pf-viz-group legend {
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}
.pf-viz-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pf-chip {
  position: relative;
  cursor: pointer;
}
.pf-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.pf-chip span {
  display: block;
  padding: 10px 16px;
  border: 1px solid color-mix(in srgb, var(--site-ink) 18%, transparent);
  font-size: 14px;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.pf-chip:hover span {
  border-color: var(--site-ink);
}
.pf-chip input:checked + span {
  background: var(--site-ink);
  border-color: var(--site-ink);
  color: var(--site-bg);
}
.pf-chip input:focus-visible + span {
  outline: 2px solid var(--pf-accent, #a97c50);
  outline-offset: 2px;
}
.pf-viz-field {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.pf-viz-field[hidden] {
  display: none;
}
.pf-viz-field input,
.pf-viz-field textarea {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--site-ink) 22%, transparent);
  border-radius: 0;
  background: #fff;
  color: var(--site-ink);
  font: inherit;
  font-weight: 400;
  box-sizing: border-box;
}
.pf-viz-field textarea {
  min-height: 96px;
  resize: vertical;
}
.pf-viz-quota {
  min-height: 1.4em;
  margin: 0;
  font-size: 14px;
  color: #666;
}
.pf-viz-form .pf-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.pf-viz-aside {
  position: relative;
}
@media (min-width: 1024px) {
  .pf-viz-aside {
    position: sticky;
    top: 96px;
  }
}
.pf-viz-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--site-ink) 6%, var(--site-bg));
}
.pf-viz-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pf-viz-img[hidden],
.pf-viz-empty[hidden],
.pf-viz-busy[hidden],
.pf-viz-done[hidden],
.pf-viz-error[hidden] {
  display: none;
}
.pf-viz-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0 40px;
  box-sizing: border-box;
  text-align: center;
  font-size: 14px;
  color: #666;
}
.pf-viz-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pf-viz-busy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
}
.pf-viz-busy span {
  padding: 8px 16px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}
.pf-viz-done {
  margin-top: 24px;
  padding-left: 20px;
  border-left: 2px solid var(--pf-accent, #a97c50);
}
.pf-viz-done p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}
.pf-viz-orig {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.pf-viz-orig img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border: 1px solid #e3e3e3;
}
.pf-viz-orig span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
}
.pf-viz-talk {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--site-ink) 14%, transparent);
}
.pf-viz-talk p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #666;
}
.pf-viz-lead {
  max-width: 28rem;
}
.pf-viz-leadform {
  padding: 40px 32px 32px;
}
.pf-viz-leadform h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
}
.pf-viz-leadform > p:not(.pf-viz-error) {
  margin: 12px 0 8px;
  font-size: 14px;
  color: #666;
}
.pf-viz-leadform .pf-viz-field {
  margin-top: 20px;
}
.pf-viz-leadform .pf-viz-error {
  margin-top: 20px;
}
.pf-viz-leadform .pf-btn {
  margin-top: 24px;
}
.site-root .pf-chip input,
.site-root .pf-viz-field input,
.site-root .pf-viz-field textarea {
  box-shadow: none;
}

/* Buttons keep this site's colours in every state; no theme accent (pink) bleeds through */
.site-root .pf-open,
.site-root .pf-open:focus,
.site-root .pf-open:active {
  background: transparent;
  border-color: color-mix(in srgb, var(--site-ink) 20%, transparent);
  color: inherit;
  outline: none;
}
.site-root .pf-open:hover,
.site-root .pf-open:focus-visible {
  background: var(--site-ink);
  border-color: var(--site-ink);
  color: var(--site-bg);
}
.site-root .pf-open:focus-visible {
  outline: 2px solid var(--pf-accent, #a97c50);
  outline-offset: 2px;
}
.site-root .pf-modal-x,
.site-root .pf-modal-x:focus,
.site-root .pf-modal-x:active {
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  color: #131313;
  outline: none;
}
.site-root .pf-modal-x:hover,
.site-root .pf-modal-x:focus-visible {
  background: #131313;
  color: #fff;
}
.site-root .pf-modal-x:focus-visible {
  outline: 2px solid var(--pf-accent, #a97c50);
  outline-offset: 2px;
}
.site-root .pf-filters button:focus,
.site-root .pf-filters button:active {
  background: color-mix(in srgb, var(--site-ink) 6%, var(--site-bg));
  color: var(--site-ink);
  outline: none;
}
.site-root .pf-filters button.on:focus,
.site-root .pf-filters button.on:active,
.site-root .pf-filters button.on:hover {
  background: var(--site-ink);
  color: var(--site-bg);
}
.site-root .pf-filters button:focus-visible {
  outline: 2px solid var(--pf-accent, #a97c50);
  outline-offset: 2px;
}
.site-root button.pf-btn.dark,
.site-root button.pf-btn.dark:focus,
.site-root button.pf-btn.dark:active {
  border: 1px solid var(--pf-ink, #131313);
  background: var(--pf-ink, #131313);
  color: #fff;
  outline: none;
}
.site-root button.pf-btn.dark:hover {
  background: var(--pf-ink, #131313);
  border-color: var(--pf-ink, #131313);
  color: #fff;
}
.site-root button.pf-btn.dark:focus-visible {
  outline: 2px solid var(--pf-accent, #a97c50);
  outline-offset: 2px;
}
.site-root button.pf-btn.dark[disabled] {
  opacity: 0.5;
}

/* Product cards: equal height, the pop-up button sits at the bottom of every card */
.pf-cards .pf-card {
  display: flex;
  flex-direction: column;
}
.pf-cards .pf-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.pf-cards .pf-card-body > ul {
  margin-bottom: 24px;
}
.pf-cards .pf-card-body > .pf-open {
  align-self: flex-start;
  margin-top: auto;
}
.pf-modal-grid {
  align-items: stretch;
}
.pf-modal-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pf-modal-body .pf-btn {
  align-self: flex-start;
}

.pf-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.pf-modal-actions .pf-btn,
.site-root .pf-modal-actions .pf-btn.dark {
  margin-top: 0;
}
.site-root .pf-modal-actions .pf-btn {
  padding: 12px 20px;
  font-size: 14px;
}

/* Google reviews */
.pf-reviews .pf-intro {
  margin: 12px auto 0;
  max-width: 640px;
  color: var(--pf-muted);
}
.pf-stars {
  display: inline-flex;
  gap: 2px;
  color: #d4a017;
}
.pf-stars svg {
  display: block;
  color: #cfcfc8;
}
.pf-stars svg.on {
  color: #e8a60c;
}
.pf-rv-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  font-size: 15px;
}
.pf-rv-summary strong {
  font-size: 22px;
}
.pf-rv-summary span:last-child {
  color: var(--pf-muted);
}
.pf-rv-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}
.pf-rv-links .pf-btn {
  margin-top: 0;
}
.pf-rv-grid {
  margin-top: 34px;
}
.pf-rv-grid article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.pf-rv-text {
  margin: 0;
  line-height: 1.6;
  color: var(--pf-ink);
}
.pf-rv-grid footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 14px;
}
.pf-rv-grid footer small {
  color: var(--pf-muted);
}
.pf-rv-src {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pf-muted);
}
@media (max-width: 860px) {
  .pf-rv-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Services / Portfolio grid options */
.site-grid.tone-muted {
  background: color-mix(in srgb, var(--site-bg) 92%, #000);
}
.grid-intro {
  margin: 10px 0 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
}
.site-grid.gap-sm .cards {
  gap: 8px;
}
.site-grid.gap-lg .cards {
  gap: 28px;
}
.site-grid.ratio-landscape .content-card img,
.site-grid.ratio-landscape .card-placeholder {
  aspect-ratio: 16 / 10;
}
.site-grid.ratio-wide .content-card img,
.site-grid.ratio-wide .card-placeholder {
  aspect-ratio: 16 / 9;
}
.site-grid.ratio-square .content-card img,
.site-grid.ratio-square .card-placeholder {
  aspect-ratio: 1 / 1;
}
.site-grid.ratio-portrait .content-card img,
.site-grid.ratio-portrait .card-placeholder {
  aspect-ratio: 4 / 5;
}
.site-grid.ratio-auto .content-card img,
.site-grid.ratio-auto .card-placeholder {
  aspect-ratio: auto;
  max-height: none;
}
.site-grid.eq .content-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.site-grid.eq .content-card > div:last-child {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.site-grid.eq .content-card .card-btn {
  margin-top: auto;
}
.site-grid.style-soft .content-card {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgb(0 0 0 / 9%);
}
.site-grid.style-plain .content-card {
  background: transparent;
  border: 0;
}
.site-grid.style-plain .content-card > div:last-child {
  padding-left: 0;
  padding-right: 0;
}
.site-grid .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}
.site-grid .card-tags span {
  padding: 2px 9px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--site-ink) 25%, transparent);
  border-radius: 99px;
  opacity: 0.8;
}
.content-card p.clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content-card h3 a {
  color: inherit;
  text-decoration: none;
}
.content-card h3 a:hover {
  text-decoration: underline;
}
.site-root .card-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 14px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--site-ink) 30%, transparent);
  text-decoration: none;
}
.site-root .card-btn:hover,
.site-root .card-btn:focus {
  color: #fff;
  background: var(--site-ink);
  border-color: var(--site-ink);
}
.grid-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
@media (max-width: 760px) {
  .site-grid.m2 .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ------------------------------------------------------------------ *
 * Dynamic blocks (theme builder): entry fields, gallery, repeater, details, Loop grid
 * ------------------------------------------------------------------ */
.site-root {
  --dyn-gutter: 42px;
}
.site-root:has(.pf-nav) {
  --dyn-gutter: var(--pf-gutter, 42px);
}
.dyn-field,
.dyn-image,
.dyn-gallery,
.dyn-repeater,
.dyn-info {
  padding-left: var(--dyn-gutter);
  padding-right: var(--dyn-gutter);
}
.dyn-field {
  margin: 0;
  padding-top: 6px;
  padding-bottom: 6px;
  overflow-wrap: anywhere;
}
.dyn-field :is(p, ul, ol) {
  margin: 0 0 1em;
}
.dyn-align-center {
  text-align: center;
}
.dyn-align-right {
  text-align: right;
}
h1.dyn-field {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h2.dyn-field {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.12;
}
h3.dyn-field {
  font-size: 22px;
  line-height: 1.2;
}
h4.dyn-field {
  font-size: 18px;
}
.site-root:has(.pf-nav) :is(h1, h2, h3, h4).dyn-field {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.dyn-style-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-primary);
}
.dyn-style-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.85;
}
.dyn-style-badge {
  width: fit-content;
  margin-left: var(--dyn-gutter);
  margin-right: var(--dyn-gutter);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: color-mix(in srgb, var(--site-primary) 18%, transparent);
}
.dyn-label {
  opacity: 0.65;
  font-size: 0.85em;
  margin-right: 0.35em;
}
.dyn-term {
  display: inline-block;
  margin-right: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}
.dyn-term:hover {
  text-decoration: underline;
}
.dyn-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  vertical-align: -2px;
  border: 1px solid color-mix(in srgb, var(--site-ink) 25%, transparent);
}
.dyn-sample {
  opacity: 0.55;
  font-style: italic;
}

.dyn-image {
  margin: 0;
  padding-top: 8px;
  padding-bottom: 8px;
}
.dyn-image img,
.dyn-image .card-placeholder,
.dyn-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: color-mix(in srgb, var(--site-ink) 10%, var(--site-bg));
}
.dyn-image.ratio-landscape :is(img, .card-placeholder),
.dyn-gallery.ratio-landscape img {
  aspect-ratio: 16 / 10;
}
.dyn-image.ratio-wide :is(img, .card-placeholder),
.dyn-gallery.ratio-wide img {
  aspect-ratio: 16 / 9;
}
.dyn-image.ratio-square :is(img, .card-placeholder),
.dyn-gallery.ratio-square img {
  aspect-ratio: 1 / 1;
}
.dyn-image.ratio-portrait :is(img, .card-placeholder),
.dyn-gallery.ratio-portrait img {
  aspect-ratio: 4 / 5;
}
.dyn-image a {
  display: block;
}

.dyn-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  padding-top: 12px;
  padding-bottom: 12px;
}
.dyn-gallery figure {
  margin: 0;
}
.dyn-gallery.gap-sm {
  gap: 6px;
}
.dyn-gallery.gap-lg {
  gap: 24px;
}
.dyn-gallery.cols-1,
.dyn-grid.cols-1,
.dyn-cards.cols-1 {
  --cols: 1;
}
.dyn-gallery.cols-2,
.dyn-grid.cols-2,
.dyn-cards.cols-2 {
  --cols: 2;
}
.dyn-gallery.cols-3,
.dyn-grid.cols-3,
.dyn-cards.cols-3 {
  --cols: 3;
}
.dyn-gallery.cols-4,
.dyn-grid.cols-4,
.dyn-cards.cols-4 {
  --cols: 4;
}
.dyn-gallery.cols-5 {
  --cols: 5;
}
.dyn-gallery.cols-6 {
  --cols: 6;
}

.dyn-heading {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.15;
}
.site-root:has(.pf-nav) .dyn-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.dyn-info,
.dyn-repeater {
  padding-top: 14px;
  padding-bottom: 14px;
}
.dyn-info dl {
  margin: 0;
}
.dyn-info .dyn-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--site-ink) 14%, transparent);
}
.dyn-info dt {
  font-size: 14px;
  opacity: 0.68;
}
.dyn-info dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}
.dyn-info.layout-grid dl {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.dyn-info.layout-grid .dyn-row {
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--site-ink) 16%, transparent);
}
.dyn-info.layout-grid dd {
  text-align: left;
}

.dyn-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dyn-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--site-ink) 14%, transparent);
}
.dyn-table-wrap {
  overflow-x: auto;
}
.dyn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.dyn-table th,
.dyn-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid color-mix(in srgb, var(--site-ink) 14%, transparent);
}
.dyn-table th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.dyn-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
}
.dyn-card {
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--site-ink) 16%, transparent);
}
.dyn-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.dyn-card-line {
  margin-top: 6px;
  font-size: 14px;
}

/* Loop grid */
.dyn-loop {
  padding: 40px var(--dyn-gutter) 56px;
}
.dyn-loop.tone-muted {
  background: color-mix(in srgb, var(--site-ink) 5%, var(--site-bg));
}
.dyn-loop .grid-head {
  margin-bottom: 20px;
}
.dyn-loop h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.12;
}
.site-root:has(.pf-nav) .dyn-loop h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.dyn-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 22px;
}
.dyn-search {
  display: flex;
  gap: 8px;
  flex: 1 1 240px;
  max-width: 420px;
}
.dyn-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--site-ink) 30%, transparent);
}
.dyn-search button,
.dyn-filters a,
.dyn-pager a,
.dyn-pager span {
  padding: 9px 14px;
  font: inherit;
  font-size: 14px;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--site-ink) 30%, transparent);
  cursor: pointer;
}
.dyn-search button:hover,
.dyn-filters a:hover,
.dyn-pager a:hover {
  border-color: var(--site-ink);
}
.dyn-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dyn-filters a.on,
.dyn-pager span.on {
  background: var(--site-ink);
  color: var(--site-bg);
  border-color: var(--site-ink);
}
.dyn-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.dyn-grid {
  --dyn-gap: 24px;
  display: grid;
  gap: var(--dyn-gap);
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
.dyn-grid.gap-sm {
  --dyn-gap: 12px;
}
.dyn-grid.gap-lg {
  --dyn-gap: 36px;
}
.dyn-grid:not(.eq) {
  align-items: start;
}
.dyn-item {
  --dyn-gutter: 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--site-bg) 70%, #fff);
  border: 1px solid color-mix(in srgb, var(--site-ink) 16%, transparent);
}
.dyn-item .dyn-image {
  padding: 0;
}
.dyn-item .dyn-field {
  padding-top: 4px;
  padding-bottom: 4px;
}
.dyn-item > .dyn-field:first-child {
  padding-top: 16px;
}
.dyn-item > .dyn-field:last-child {
  padding-bottom: 16px;
}
.dyn-item .dyn-image + .dyn-field {
  padding-top: 14px;
}
.dyn-item h3.dyn-field a {
  color: inherit;
  text-decoration: none;
}
.dyn-item h3.dyn-field a:hover {
  text-decoration: underline;
}
.dyn-empty-text {
  margin: 0;
  padding: 24px 0;
  opacity: 0.7;
}
@media (max-width: 899px) {
  .dyn-grid {
    grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr));
  }
  .dyn-gallery {
    grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .site-root {
    --dyn-gutter: 20px;
  }
  .dyn-grid {
    grid-template-columns: 1fr;
  }
  .dyn-grid.m2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dyn-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dyn-cards {
    grid-template-columns: 1fr;
  }
  .dyn-table thead {
    display: none;
  }
  .dyn-table tr {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid
      color-mix(in srgb, var(--site-ink) 14%, transparent);
  }
  .dyn-table td {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border: 0;
    padding: 4px 0;
  }
  .dyn-table td::before {
    content: attr(data-label);
    opacity: 0.65;
  }
  .dyn-search {
    max-width: none;
  }
}

/* Editor canvas: a dynamic block's preview and its hints */
.dyn-preview {
  display: contents;
}
.dyn-hint {
  margin: 8px var(--dyn-gutter);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.75;
  border: 1px dashed color-mix(in srgb, var(--site-ink) 35%, transparent);
}
.dyn-empty {
  padding: 8px var(--dyn-gutter);
}

/* A template whose header is a normal bar: the header is fixed on the site, so make room for it. */
body.rk-solid-nav #main {
  padding-top: 108px;
}

/* Article text: a readable column (about 70 characters), clear headings, generous spacing */
.dyn-src-content {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.75;
}
.dyn-src-content :is(h2, h3, h4) {
  line-height: 1.2;
  margin: 1.8em 0 0.6em;
}
.dyn-src-content h2 {
  font-size: 1.6em;
}
.dyn-src-content h3 {
  font-size: 1.3em;
}
.dyn-src-content :is(ul, ol) {
  padding-left: 1.4em;
}
.dyn-src-content blockquote {
  margin: 1.4em 0;
  padding-left: 1em;
  border-left: 3px solid var(--site-primary);
  opacity: 0.9;
}
.dyn-src-content img {
  max-width: 100%;
  height: auto;
}
.dyn-src-excerpt.dyn-style-lead {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Header: drop-down menus, appearance options, extra button ---- */
.pf-nav nav ul ul,
.pf-nav .pf-sub {
  gap: 0;
}
.pf-nav nav li {
  position: relative;
  display: flex;
  align-items: center;
}
.pf-nav nav li.has-sub {
  padding: 14px 0;
  margin: -14px 0;
}
.pf-nav .pf-sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.85;
}
.pf-chev {
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}
.pf-nav li.has-sub.open .pf-chev,
.pf-nav li.has-sub:hover .pf-chev {
  transform: translateY(1px) rotate(225deg);
}
.pf-nav nav .pf-sub {
  display: flex;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out,
    visibility 0s linear 0.18s;
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 30;
  min-width: 230px;
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 8px 0;
  background: #fff;
  color: #131313;
  border: 1px solid #e5e5e5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}
.pf-nav nav li.has-sub:hover > .pf-sub,
.pf-nav nav li.has-sub:focus-within > .pf-sub,
.pf-nav nav li.has-sub.open > .pf-sub {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}
.pf-nav nav .pf-sub li {
  display: block;
}
.pf-nav nav .pf-sub a {
  display: block;
  padding: 11px 20px;
  opacity: 1;
  white-space: nowrap;
}
.pf-nav nav .pf-sub a::after {
  display: none;
}
.pf-nav nav .pf-sub a:hover,
.pf-nav nav .pf-sub a:focus-visible {
  background: #f4f1ea;
  outline: none;
}
.pf-sub-desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  opacity: 0.65;
  white-space: normal;
}
.pf-nav nav .pf-sub:has(.pf-sub-desc) {
  min-width: 290px;
}
.pf-nav nav li.has-sub.current-parent > a {
  opacity: 1;
}
.pf-nav nav li.has-sub.current-parent > a::after {
  width: 100%;
}
.pf-panel-sub {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 8px;
  padding: 0 0 0 18px;
  list-style: none;
}
.pf-nav-panel .pf-panel-sub li {
  border-bottom: 0;
}
.pf-nav-panel .pf-panel-sub a {
  padding: 9px 0;
  font-family: inherit;
  font-size: 17px;
  opacity: 0.8;
}

/* menu next to the logo */
.pf-nav.align-left nav {
  margin-right: auto;
  margin-left: 12px;
}

/* bar height and logo */
.pf-nav.size-compact {
  --pf-pt: 10px;
}
.pf-nav.size-tall {
  --pf-pt: 34px;
}
.pf-nav.shadow {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* bar colour (when the bar is solid) */
.pf-nav.bg-light:not(.overlay),
body.rk-standalone .pf-nav.bg-light:not(.overlay) {
  background: #fff;
  color: #131313;
}
.pf-nav.bg-dark:not(.overlay),
body.rk-standalone .pf-nav.bg-dark:not(.overlay) {
  background: #131313;
  color: #fff;
  border-bottom-color: transparent;
}
.pf-nav.bg-primary:not(.overlay),
body.rk-standalone .pf-nav.bg-primary:not(.overlay) {
  background: var(--site-primary);
  color: #131313;
  border-bottom-color: transparent;
}
.pf-nav.bg-dark:not(.overlay) .pf-brand img,
.pf-foot.tone-dark .pf-foot-logo {
  filter: brightness(0) invert(1);
}
.pf-nav.bg-dark:not(.overlay) .pf-nav-phone {
  background: #fff;
  color: #131313;
}

/* extra button + button style */
.site-root .pf-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid var(--site-primary);
  background: var(--site-primary);
  color: #131313;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.site-root .pf-nav.btn-solid .pf-nav-phone {
  background: var(--site-ink);
  color: var(--site-bg);
  border-color: var(--site-ink);
}
.site-root .pf-nav.btn-outline .pf-nav-phone,
.site-root .pf-nav.btn-outline .pf-nav-cta {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.pf-nav-panel .pf-nav-panel-cta {
  display: block;
  margin-top: 10px;
  padding: 14px;
  text-align: center;
  background: var(--site-primary);
  color: #131313;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 560px) {
  .site-root .pf-nav-cta {
    display: none;
  }
}

/* ---- Footer: tones, social links, bottom links ---- */
.pf-foot.tone-light {
  background: #f4f1ea;
  color: #131313;
}
.pf-foot.tone-light p,
.pf-foot.tone-light ul,
.pf-foot.tone-light .pf-foot-base p,
.pf-foot.tone-light h3 {
  color: rgba(19, 19, 19, 0.7);
}
.pf-foot.tone-light a:hover {
  color: #000;
}
.pf-foot.tone-light .pf-foot-base {
  border-top-color: rgba(19, 19, 19, 0.15);
}
.pf-foot.tone-primary {
  background: var(--site-primary);
  color: #131313;
}
.pf-foot.tone-primary p,
.pf-foot.tone-primary ul,
.pf-foot.tone-primary .pf-foot-base p,
.pf-foot.tone-primary h3 {
  color: rgba(19, 19, 19, 0.75);
}
.pf-foot.tone-primary a:hover {
  color: #000;
}
.pf-foot.tone-primary .pf-foot-base {
  border-top-color: rgba(19, 19, 19, 0.2);
}
.pf-foot.tone-light .pf-foot-logo,
.pf-foot.tone-primary .pf-foot-logo {
  filter: none;
}
.pf-foot .pf-foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.pf-foot .pf-foot-social a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.pf-foot .pf-foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 12px;
}

/* Keep the menu on one line; a header with an extra button turns the phone button into an icon on mid-size screens */
.pf-nav nav ul {
  flex-wrap: nowrap;
  gap: clamp(14px, 1.5vw, 26px);
}
.pf-nav nav > ul > li > a {
  white-space: nowrap;
  letter-spacing: 0.12em;
}
@media (min-width: 1281px) and (max-width: 1440px) {
  .site-root .pf-nav:has(.pf-nav-cta) .pf-nav-phone {
    font-size: 0;
    gap: 0;
    padding: 12px 14px;
  }
}

/* shrink + shadow once scrolled */
.pf-nav.shrink {
  transition:
    padding 0.25s ease-out,
    box-shadow 0.25s;
}
.pf-nav.shrink.scrolled {
  --pf-pt: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}
.pf-nav.shrink.scrolled .pf-brand img {
  height: 44px;
  transition: height 0.25s ease-out;
}

/* phone menu: accordion, slide-in, no page scroll behind it */
.pf-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pf-panel-row a {
  flex: 1 1 auto;
}
.pf-nav-panel .pf-panel-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.pf-nav-panel .pf-panel-toggle .pf-chev {
  width: 8px;
  height: 8px;
}
.pf-nav-panel li.has-sub.open .pf-chev {
  transform: translateY(1px) rotate(225deg);
}
.pf-nav-panel li.has-sub > .pf-panel-sub {
  display: none;
}
.pf-nav-panel li.has-sub.open > .pf-panel-sub {
  display: flex;
}
@keyframes pf-panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pf-nav.open .pf-nav-panel {
  animation: pf-panel-in 0.2s ease-out;
}
html.rk-menu-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .pf-nav nav .pf-sub,
  .pf-nav.shrink,
  .pf-nav.open .pf-nav-panel {
    transition: none;
    animation: none;
  }
}

/* ---- Announcement bar (top of the header) ---- */
html:not(.rk-topbar-off) .pf-nav:has(> .pf-topbar) {
  padding-top: calc(var(--pf-pt) + 36px);
}
.pf-nav > .pf-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  height: 36px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  white-space: nowrap;
  background: var(--site-primary);
  color: #131313;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 13px;
  line-height: 1;
}
.pf-nav > .pf-topbar > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-nav > .pf-topbar.tone-dark {
  background: #131313;
  color: #fff;
}
.pf-nav > .pf-topbar.tone-light {
  background: #f4f1ea;
  color: #131313;
}
.pf-topbar a {
  flex: none;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.pf-topbar a::after {
  content: " →";
}
.pf-nav.overlay > .pf-topbar {
  color: #131313;
}
.pf-nav.overlay > .pf-topbar.tone-dark {
  color: #fff;
}
html:not(.rk-topbar-off) body.rk-solid-nav:has(.pf-topbar) #main {
  padding-top: 148px;
}
/* signed-in admins: the fixed header starts below WordPress's own bar */
body.rk-standalone.admin-bar .pf-nav {
  top: 32px;
}
@media (max-width: 782px) {
  body.rk-standalone.admin-bar .pf-nav {
    top: 46px;
  }
}
@media (max-width: 600px) {
  /* the admin bar is not fixed on phones: leave no gap above the header once it scrolls away */
  body.rk-standalone.admin-bar .pf-nav {
    top: 0;
  }
}
@media (max-width: 560px) {
  .pf-nav > .pf-topbar {
    font-size: 12px;
    gap: 10px;
  }
  html:not(.rk-topbar-off) body.rk-solid-nav:has(.pf-topbar) #main {
    padding-top: 128px;
  }
}

/* close button on the announcement bar */
.pf-topbar-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.pf-topbar-close:hover,
.pf-topbar-close:focus-visible {
  opacity: 1;
}
.pf-nav > .pf-topbar:has(.pf-topbar-close) {
  padding-right: 44px;
  padding-left: 44px;
}
html.rk-topbar-off .pf-nav > .pf-topbar {
  display: none;
}
