:root {
  --pc-paper: #f3f0e8;
  --pc-paper-light: #fbfaf6;
  --pc-ink: #132019;
  --pc-ink-soft: #3f4c44;
  --pc-forest: #173d2b;
  --pc-accent: #8fbd3e;
  --pc-line: rgba(19, 32, 25, 0.17);
  --pc-display: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif;
  --pc-sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

body.blog {
  background: var(--pc-paper);
  color: var(--pc-ink);
  font-family: var(--pc-sans);
}

.blog a:focus-visible,
.blog button:focus-visible {
  outline: 3px solid var(--pc-accent);
  outline-offset: 4px;
}

.pc-section-kicker {
  margin: 0 0 14px;
  color: var(--pc-forest);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Header */
.blog #masthead {
  position: absolute;
  z-index: 20;
  right: 0;
  left: 0;
}

.blog .ast-primary-header-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(7, 18, 12, 0.72), transparent);
}

.blog .ast-primary-header-bar .site-primary-header-wrap {
  min-height: 88px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.blog .ast-site-identity .custom-logo {
  border-radius: 50%;
  filter: grayscale(1) contrast(1.08);
}

.blog .ast-site-identity .site-title a {
  color: #fff;
  font-family: var(--pc-display);
  font-size: clamp(2rem, 1.55rem + 1.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

@media (min-width: 922px) {
  .blog .ast-primary-header-bar .main-header-menu {
    gap: 4px 22px;
  }

  .blog .ast-primary-header-bar .main-header-menu > .menu-item > .menu-link {
    position: relative;
    padding: 8px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
  }

  .blog .ast-primary-header-bar .main-header-menu > .menu-item > .menu-link::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    background: var(--pc-accent);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
  }

  .blog .ast-primary-header-bar .main-header-menu > .menu-item > .menu-link:hover::after,
  .blog .ast-primary-header-bar .main-header-menu > .current-menu-item > .menu-link::after,
  .blog .ast-primary-header-bar .main-header-menu > .current-menu-ancestor > .menu-link::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* Homepage shell */
.blog .site-content > .ast-container {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0 !important;
}

.blog #primary {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.pc-home {
  width: 100%;
  overflow: clip;
  background: var(--pc-paper);
  color: var(--pc-ink);
  font-family: var(--pc-sans);
}

/* Full-bleed editorial hero */
.pc-home-hero {
  position: relative;
  display: grid;
  width: 100vw;
  min-height: 100svh;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background: var(--pc-forest);
  color: #fff;
}

.pc-home-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--pc-hero-image, linear-gradient(135deg, #173d2b, #0c1811));
  background-position: center;
  background-size: cover;
  content: "";
  filter: saturate(0.72) contrast(1.08);
  transform: scale(1.035);
  animation: pc-hero-image-in 900ms cubic-bezier(0.2, 0.65, 0.25, 1) both;
}

.pc-home-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 12, 0.94) 0%, rgba(7, 18, 12, 0.76) 38%, rgba(7, 18, 12, 0.12) 72%, rgba(7, 18, 12, 0.26) 100%),
    linear-gradient(0deg, rgba(7, 18, 12, 0.42), transparent 42%);
  content: "";
}

.pc-home-hero__inner {
  align-self: center;
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: clamp(52px, 6vw, 82px) clamp(24px, 6vw, 88px) clamp(74px, 8vw, 104px);
}

.pc-home-hero__brand {
  margin: 0 0 26px;
  color: var(--pc-accent);
  font-size: clamp(1rem, 0.88rem + 0.45vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: pc-rise-in 560ms 90ms both;
}

.pc-home-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: var(--pc-display);
  font-size: clamp(3.25rem, 2.55rem + 3.15vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
  animation: pc-rise-in 640ms 160ms both;
}

.pc-home-hero__lead {
  max-width: 580px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.24rem);
  line-height: 1.55;
  animation: pc-rise-in 620ms 230ms both;
}

.pc-home-hero__cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 24px;
  width: min(100%, 620px);
  margin-top: 44px;
  padding: 18px 56px 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff !important;
  text-decoration: none;
  animation: pc-rise-in 620ms 300ms both;
  transition: border-color 180ms ease, padding-left 180ms ease;
}

.pc-home-hero__cta > span:first-child {
  grid-column: 1;
  color: var(--pc-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pc-home-hero__cta strong {
  grid-column: 1;
  max-width: 52ch;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.35;
}

.pc-home-hero__cta-arrow {
  position: absolute;
  top: 50%;
  right: 4px;
  color: #fff;
  font-size: 1.5rem;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.pc-home-hero__cta:hover {
  padding-left: 12px;
  border-color: var(--pc-accent);
  color: #fff !important;
}

.pc-home-hero__cta:hover .pc-home-hero__cta-arrow {
  transform: translate(4px, calc(-50% - 4px));
}

.pc-home-hero__scroll {
  position: absolute;
  right: clamp(24px, 6vw, 88px);
  bottom: 30px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.pc-home-hero__scroll span {
  color: var(--pc-accent);
  font-size: 1.15rem;
}

/* Silo index */
.pc-topic-index,
.pc-home-feed {
  width: min(100% - 48px, 1260px);
  margin: 0 auto;
}

.pc-topic-index {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 6vw, 96px);
  padding: clamp(68px, 7vw, 104px) 0;
}

.pc-topic-index__header h2,
.pc-home-feed__header h2,
.pc-newsletter h2 {
  margin: 0;
  color: var(--pc-ink);
  font-family: var(--pc-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.pc-topic-index__header h2 {
  max-width: 13ch;
  font-size: clamp(2.55rem, 1.95rem + 1.8vw, 4rem);
}

.pc-topic-index__list {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--pc-line);
  list-style: none;
}

.pc-topic-index__list li {
  margin: 0;
  border-top: 1px solid var(--pc-line);
}

.pc-topic-index__list a {
  display: grid;
  grid-template-columns: 48px minmax(180px, 0.8fr) minmax(240px, 1fr) 28px;
  gap: 22px;
  align-items: center;
  min-height: 96px;
  padding: 14px 0;
  color: var(--pc-ink);
  text-decoration: none;
}

.pc-topic-index__number {
  color: var(--pc-forest);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pc-topic-index__name {
  font-family: var(--pc-display);
  font-size: clamp(1.55rem, 1.25rem + 0.7vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.pc-topic-index__description {
  color: var(--pc-ink-soft);
  font-size: 0.91rem;
  line-height: 1.5;
}

.pc-topic-index__arrow {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.pc-topic-index__list a:hover .pc-topic-index__name {
  color: var(--pc-forest);
}

.pc-topic-index__list a:hover .pc-topic-index__arrow {
  transform: translate(4px, -4px);
}

/* Compact FIRE calculator */
.pc-fire {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(64px, 7vw, 108px) max(24px, calc((100vw - 1260px) / 2));
  background:
    radial-gradient(circle at 78% 18%, rgba(143, 189, 62, 0.2), transparent 28%),
    var(--pc-forest);
  color: #fff;
}

.pc-fire__inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
  gap: clamp(52px, 7vw, 112px);
  align-items: start;
  max-width: 1260px;
  margin: 0 auto;
}

.pc-fire .pc-section-kicker {
  color: var(--pc-accent);
}

.pc-fire__intro h2 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-family: var(--pc-display) !important;
  font-size: clamp(3rem, 2.15rem + 2.5vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.pc-fire__intro > p:last-child {
  max-width: 42ch;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.pc-fire__form {
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.pc-fire__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pc-fire__fields label {
  display: block;
  padding: 18px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pc-fire__input {
  display: flex;
  align-items: baseline;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.pc-fire__input input {
  min-width: 0;
  width: 100%;
  padding: 0 8px 0 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--pc-display) !important;
  font-size: clamp(1.7rem, 1.25rem + 0.7vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  outline: 0;
}

.pc-fire__fields label:focus-within {
  border-bottom-color: var(--pc-accent);
}

.pc-fire__result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 24px;
  align-items: end;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.pc-fire__result p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--pc-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pc-fire__result strong {
  color: #fff;
  font-family: var(--pc-display);
  font-size: clamp(2.6rem, 2rem + 1.6vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pc-fire__result span {
  padding-bottom: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.pc-fire__actions {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}

.pc-fire__actions button,
.pc-fire__actions a {
  border: 0;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.pc-fire__actions button {
  padding: 13px 20px;
  background: var(--pc-accent);
  color: var(--pc-ink) !important;
  cursor: pointer;
}

.pc-fire__actions a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

/* Editorial feed */
.pc-home-feed {
  padding: 12px 0 clamp(72px, 7vw, 108px);
}

.pc-home-feed__header {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.55fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pc-line);
}

.pc-home-feed__header .pc-section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.pc-home-feed__header h2 {
  font-size: clamp(3rem, 2.2rem + 3vw, 6rem);
}

.pc-home-feed__header > p:last-child {
  margin: 0;
  color: var(--pc-ink-soft);
  line-height: 1.6;
}

.pc-home-feed__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 26px 40px;
  align-items: start;
}

.blog .pc-home-feed .pc-story {
  display: block !important;
  grid-column: span 6;
  align-self: start;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 18px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--pc-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.blog .pc-home-feed .pc-story--featured {
  display: grid !important;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding: 0 !important;
  border-top: 0 !important;
}

.blog .pc-home-feed .pc-story:hover {
  border-color: var(--pc-line) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.pc-story__media {
  display: block;
  overflow: hidden;
  background: #d8d5cc;
}

.pc-story__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.82);
  transition: filter 260ms ease, transform 520ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.pc-story--featured .pc-story__media img {
  aspect-ratio: 16 / 9;
}

.pc-story__media:hover img {
  filter: saturate(1);
  transform: scale(1.025);
}

.pc-story__body {
  padding-top: 22px;
}

.pc-story--featured .pc-story__body {
  padding: 0 0 8px;
}

.pc-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 16px;
  color: var(--pc-ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pc-story__meta a {
  color: var(--pc-forest);
  text-decoration-color: var(--pc-accent);
  text-underline-offset: 4px;
}

.pc-story__meta .pc-story__comments {
  padding-left: 14px;
  border-left: 1px solid var(--pc-line);
  color: var(--pc-forest);
  text-decoration: none;
}

.pc-story__meta .pc-story__comments:hover {
  text-decoration: underline;
  text-decoration-color: var(--pc-accent);
  text-underline-offset: 4px;
}

.pc-story h3 {
  margin: 0;
  font-family: var(--pc-display);
  font-size: clamp(1.65rem, 1.35rem + 0.7vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.pc-story--featured h3 {
  font-size: clamp(2.4rem, 1.8rem + 1.45vw, 3.7rem);
}

.pc-story h3 a {
  color: var(--pc-ink);
  text-decoration: none;
}

.pc-story__body > p {
  margin: 18px 0 0;
  color: var(--pc-ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.pc-story:not(.pc-story--featured) .pc-story__body > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pc-story--featured .pc-story__body > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pc-story__read {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  color: var(--pc-forest);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.pc-story__read span {
  transition: transform 180ms ease;
}

.pc-story__read:hover span {
  transform: translateX(5px);
}

.pc-home-pagination {
  margin-top: 72px;
}

.pc-home-pagination .nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pc-home-pagination .page-numbers {
  display: inline-grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--pc-line);
  color: var(--pc-ink);
  text-decoration: none;
}

.pc-home-pagination .current {
  border-color: var(--pc-forest);
  background: var(--pc-forest);
  color: #fff;
}

/* Final CTA */
.pc-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(64px, 6vw, 96px) max(24px, calc((100vw - 1260px) / 2));
  background: var(--pc-ink);
  color: #fff;
}

.pc-newsletter .pc-section-kicker {
  color: var(--pc-accent);
}

.pc-newsletter h2 {
  max-width: 15ch;
  color: #fff;
  font-size: clamp(2.7rem, 2rem + 2.1vw, 4.6rem);
}

.pc-newsletter > a {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--pc-accent);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Shared navigation and editorial subpages */
body:not(.blog) {
  background: var(--pc-paper-light);
  color: var(--pc-ink);
}

body:not(.blog) #masthead {
  border-bottom: 1px solid var(--pc-line);
  background: rgba(251, 250, 246, 0.96);
}

body:not(.blog) .ast-primary-header-bar {
  border: 0;
  background: transparent;
}

body:not(.blog) .ast-site-identity .custom-logo {
  border-radius: 50%;
  filter: grayscale(1) contrast(1.08);
}

body:not(.blog) .ast-site-identity .site-title a {
  color: var(--pc-ink);
  font-family: var(--pc-display);
  font-size: clamp(1.8rem, 1.5rem + 0.75vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

body.page:not(.page-id-791) .site-content > .ast-container {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0 24px;
}

body.page:not(.page-id-791) #primary {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(64px, 7vw, 108px) 0 clamp(90px, 9vw, 140px);
}

body.page:not(.page-id-791) article.page {
  padding: 0;
}

body.page:not(.page-id-791) .entry-header {
  margin: 0 0 50px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--pc-line);
}

body.page:not(.page-id-791) .entry-title {
  max-width: 15ch;
  margin: 0;
  color: var(--pc-ink);
  font-family: var(--pc-display) !important;
  font-size: clamp(3.3rem, 2.35rem + 3vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

body.page:not(.page-id-791) .entry-content {
  color: var(--pc-ink-soft);
  font-family: var(--pc-sans) !important;
  font-size: 1.03rem;
  line-height: 1.7;
}

body.page:not(.page-id-791) .entry-content > br:first-child {
  display: none;
}

body.page:not(.page-id-791) .entry-content > :not(.pc-breadcrumbs):not(.pc-pillar-page) {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

body.page .pc-breadcrumbs {
  margin: 0 0 52px !important;
  padding: 13px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--pc-line) !important;
  border-bottom: 1px solid var(--pc-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--pc-ink-soft);
  font-size: 0.76rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page .pc-breadcrumbs a {
  color: var(--pc-forest);
  text-decoration: none;
}

.pc-pillar-page {
  color: var(--pc-ink-soft);
}

body.page:not(.page-id-791) .entry-content p,
body.page:not(.page-id-791) .entry-content li {
  text-align: left !important;
}

body.page:not(.page-id-791) .entry-content .pc-pillar-lead,
body.page:not(.page-id-791) .entry-content .pc-pillar-section > h2,
body.page:not(.page-id-791) .entry-content .pc-pillar-topic h3,
body.page:not(.page-id-791) .entry-content .pc-silo-posts a {
  font-family: var(--pc-display) !important;
}

.pc-pillar-hero {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.1fr) minmax(260px, 0.62fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  padding: 8px 0 clamp(68px, 8vw, 112px);
  border-bottom: 1px solid var(--pc-line);
}

.pc-pillar-eyebrow {
  margin: 6px 0 0 !important;
  color: var(--pc-forest);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pc-pillar-lead {
  margin: 0 !important;
  color: var(--pc-ink);
  font-family: var(--pc-display) !important;
  font-size: clamp(2rem, 1.55rem + 1.15vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.pc-pillar-summary {
  margin: 5px 0 0 !important;
  text-align: left !important;
  line-height: 1.65;
}

.pc-pillar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
  padding: clamp(68px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--pc-line);
}

.pc-pillar-grid--equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 0;
}

.pc-pillar-section {
  margin: 0;
}

.pc-pillar-section > h2 {
  max-width: 13ch;
  margin: 0 0 22px;
  color: var(--pc-ink);
  font-family: var(--pc-display) !important;
  font-size: clamp(2.3rem, 1.8rem + 1.3vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pc-pillar-section > p {
  max-width: 58ch;
  margin: 0 0 24px;
}

.pc-pillar-section--accent {
  padding: clamp(30px, 4vw, 52px);
  background: var(--pc-forest);
  color: rgba(255, 255, 255, 0.75);
}

.pc-pillar-section--accent > h2 {
  color: #fff;
}

.pc-pillar-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pc-pillar-points li {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.pc-pillar-page > .pc-pillar-section {
  padding: clamp(68px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--pc-line);
}

.pc-pillar-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 38px;
}

.pc-pillar-topic {
  padding-top: 20px;
  border-top: 2px solid var(--pc-forest);
}

.pc-pillar-topic h3 {
  margin: 0 0 14px;
  color: var(--pc-ink);
  font-family: var(--pc-display) !important;
  font-size: clamp(1.55rem, 1.25rem + 0.55vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.pc-pillar-topic p {
  margin: 0;
  line-height: 1.6;
}

.pc-pillar-page .pc-silo-posts {
  margin: 30px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--pc-line);
  list-style: none;
}

.pc-pillar-page .pc-silo-posts li {
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid var(--pc-line);
}

.pc-pillar-page .pc-silo-posts a {
  display: block;
  color: var(--pc-ink);
  font-family: var(--pc-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration-color: var(--pc-accent);
  text-underline-offset: 5px;
}

@media (min-width: 922px) {
  body:not(.blog) .ast-primary-header-bar .site-primary-header-wrap {
    min-height: 88px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  body:not(.blog) .ast-primary-header-bar .main-header-menu {
    flex-wrap: nowrap !important;
    gap: clamp(14px, 1.6vw, 28px) !important;
    justify-content: flex-end;
  }

  body:not(.blog) .ast-primary-header-bar .main-header-menu > .menu-item > .menu-link {
    position: relative;
    padding: 10px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--pc-ink) !important;
    font-size: clamp(0.76rem, 0.67rem + 0.23vw, 0.9rem);
    font-weight: 700;
    white-space: nowrap;
  }

  body:not(.blog) .ast-primary-header-bar .main-header-menu > .menu-item:not(.pc-menu-item--calculator) > .menu-link::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    background: var(--pc-accent);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
  }

  body:not(.blog) .ast-primary-header-bar .main-header-menu > .menu-item > .menu-link:hover::after,
  body:not(.blog) .ast-primary-header-bar .main-header-menu > .current-menu-item > .menu-link::after,
  body:not(.blog) .ast-primary-header-bar .main-header-menu > .current-menu-ancestor > .menu-link::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  body:not(.blog) .ast-primary-header-bar .pc-menu-item--calculator > .menu-link {
    padding: 10px 15px !important;
    border: 1px solid var(--pc-forest) !important;
    color: var(--pc-forest) !important;
  }
}

@media (max-width: 1040px) {
  .pc-topic-index {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pc-topic-index__header h2 {
    max-width: 18ch;
  }

  .blog .pc-home-feed .pc-story--featured {
    grid-template-columns: 1fr 0.8fr;
  }
}

@media (max-width: 921px) {
  .ast-mobile-header-content {
    background: var(--pc-paper-light) !important;
  }

  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link,
  .ast-mobile-header-content .main-header-menu .menu-link {
    margin: 0 !important;
    padding: 14px 20px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pc-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--pc-ink) !important;
    font-weight: 700;
  }

  .blog .ast-primary-header-bar .site-primary-header-wrap {
    min-height: 92px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .blog .ast-site-identity .site-title a {
    font-size: 2.05rem;
  }

  .blog .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: #fff;
  }

  .blog .ast-mobile-header-content {
    background: var(--pc-paper-light);
  }

  .blog .ast-mobile-header-content .main-header-menu .menu-link {
    border-bottom: 1px solid var(--pc-line);
    color: var(--pc-ink) !important;
    font-weight: 700;
  }

  .pc-home-hero {
    min-height: 100svh;
  }

  .pc-home-hero::after {
    background:
      linear-gradient(90deg, rgba(7, 18, 12, 0.94), rgba(7, 18, 12, 0.7)),
      linear-gradient(0deg, rgba(7, 18, 12, 0.7), transparent 55%);
  }

  .pc-home-hero__inner {
    padding: 52px 24px 86px;
  }

  .pc-home-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 12.8vw, 4.15rem);
    line-height: 0.94;
  }

  .pc-home-hero__lead {
    max-width: 34ch;
    margin-top: 22px;
  }

  .pc-home-hero__cta {
    margin-top: 32px;
  }

  .pc-home-hero__scroll {
    right: 24px;
    bottom: 20px;
  }

  .pc-topic-index,
  .pc-home-feed {
    width: min(100% - 40px, 1260px);
  }

  .pc-topic-index {
    padding: 68px 0;
  }

  .pc-topic-index__list a {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 14px;
    min-height: 102px;
  }

  .pc-topic-index__description {
    display: none;
  }

  .pc-fire__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pc-fire__intro h2 {
    max-width: 14ch;
  }

  .pc-home-feed__header {
    grid-template-columns: 1fr;
    margin-bottom: 38px;
  }

  .pc-home-feed__header .pc-section-kicker {
    margin-bottom: -4px;
  }

  .blog .pc-home-feed .pc-story,
  .blog .pc-home-feed .pc-story--featured {
    display: block !important;
    grid-column: 1 / -1;
  }

  .pc-story--featured .pc-story__body {
    padding-top: 22px;
  }

  .pc-newsletter {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pc-newsletter > a {
    justify-self: start;
  }

  body.page:not(.page-id-791) #primary {
    padding-top: 64px;
  }

  body.page:not(.page-id-791) .entry-header {
    margin-bottom: 34px;
  }

  body.page:not(.page-id-791) .entry-title {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  body.page .pc-breadcrumbs {
    margin-bottom: 38px !important;
  }

  .pc-pillar-hero,
  .pc-pillar-grid,
  .pc-pillar-grid--equal {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pc-pillar-hero {
    padding-bottom: 64px;
  }

  .pc-pillar-grid,
  .pc-pillar-page > .pc-pillar-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .pc-pillar-topics {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .pc-home-hero__brand {
    margin-bottom: 18px;
  }

  .pc-home-hero h1 {
    font-size: clamp(2.55rem, 12.1vw, 3.35rem);
  }

  .pc-home-hero__lead {
    font-size: 0.95rem;
  }

  .pc-home-hero__cta strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .pc-home-hero__scroll {
    display: none;
  }

  .pc-topic-index__header h2,
  .pc-home-feed__header h2,
  .pc-newsletter h2 {
    font-size: 2.7rem;
  }

  .pc-story__meta {
    gap: 6px 10px;
  }

  .pc-fire {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .pc-fire__inner {
    gap: 32px;
  }

  .pc-fire__intro h2 {
    font-size: 3rem;
  }

  .pc-fire__intro > p:last-child {
    margin-top: 18px;
  }

  .pc-fire__fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pc-fire__fields label {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .pc-fire__result {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .pc-fire__result strong {
    font-size: 2.7rem;
  }

  .pc-fire__actions {
    gap: 12px;
    align-items: stretch;
    flex-direction: column;
    padding-top: 18px;
  }

  .pc-fire__actions button,
  .pc-fire__actions a {
    width: 100%;
    text-align: center;
  }

  body.page:not(.page-id-791) .site-content > .ast-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .pc-pillar-section--accent {
    margin-right: -20px;
    margin-left: -20px;
  }
}

/* About page */
body.page-id-252 {
  background: var(--pc-paper);
  color: var(--pc-ink);
  font-family: var(--pc-sans);
}

.page-id-252 .site-content > .ast-container {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0 !important;
}

.page-id-252 #primary.pc-about {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: clip;
}

.page-id-252 .pc-about a:focus-visible {
  outline: 3px solid var(--pc-accent);
  outline-offset: 4px;
}

.pc-about-hero {
  position: relative;
  min-height: calc(100svh - 88px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 48%, rgba(143, 189, 62, 0.17), transparent 31%),
    linear-gradient(135deg, #101a14 0%, #173d2b 72%, #214b35 100%);
  color: #fff;
}

.pc-about-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 72px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.pc-about-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100% - 48px, 1260px);
  min-height: calc(100svh - 88px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 116px) 0;
}

.pc-about-hero__copy {
  position: relative;
  z-index: 2;
  width: min(58%, 690px);
}

.pc-about-hero .pc-section-kicker {
  color: var(--pc-accent);
  animation: pc-rise-in 520ms 80ms both;
}

.pc-about-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: #fff !important;
  font-family: var(--pc-display) !important;
  font-size: clamp(4.6rem, 3.2rem + 4.5vw, 8.2rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.86;
  animation: pc-rise-in 640ms 150ms both;
}

.pc-about-hero__lead {
  max-width: 48ch;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.65;
  animation: pc-rise-in 620ms 240ms both;
}

.pc-about-hero__actions {
  display: flex;
  gap: 18px 28px;
  align-items: center;
  margin-top: 40px;
  animation: pc-rise-in 620ms 330ms both;
}

.pc-about-button,
.pc-about-text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.pc-about-button {
  padding: 0 20px;
  background: var(--pc-accent);
  color: var(--pc-ink) !important;
}

.pc-about-button span {
  transition: transform 180ms ease;
}

.pc-about-button:hover span {
  transform: translateY(4px);
}

.pc-about-text-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff !important;
}

.pc-about-hero__portrait {
  position: absolute;
  z-index: 1;
  right: -1%;
  bottom: -5%;
  width: min(49vw, 650px);
  margin: 0;
  animation: pc-about-portrait-in 900ms 120ms cubic-bezier(0.2, 0.65, 0.25, 1) both;
}

.pc-about-hero__portrait::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  transform: scale(1.05);
}

.pc-about-hero__portrait::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(90deg, #173d2b 0%, transparent 34%);
  content: "";
}

.pc-about-hero__portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
  mix-blend-mode: luminosity;
  transition: filter 320ms ease, transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.pc-about-hero:hover .pc-about-hero__portrait img {
  filter: grayscale(0.7) contrast(1.08);
  transform: scale(1.018);
}

.pc-about-story,
.pc-about-now {
  width: min(100% - 48px, 1260px);
  margin: 0 auto;
  padding: clamp(80px, 9vw, 136px) 0;
}

.pc-about-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 120px);
}

.pc-about-story__header h2,
.pc-about-method h2,
.pc-about-now h2 {
  margin: 0;
  color: inherit;
  font-family: var(--pc-display) !important;
  font-size: clamp(3rem, 2.1rem + 2.8vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.pc-about-story__lead {
  color: var(--pc-ink-soft);
  font-size: 1.03rem;
  line-height: 1.8;
}

.pc-about-story__lead p {
  margin: 0 0 22px;
}

.pc-about-road {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--pc-line);
  list-style: none;
}

.pc-about-road li {
  display: grid;
  grid-template-columns: minmax(80px, 0.35fr) minmax(0, 1.65fr);
  gap: 28px;
  align-items: start;
  margin: 0;
  padding: 30px 0;
  border-top: 1px solid var(--pc-line);
  transition: border-color 180ms ease, transform 180ms ease;
}

.pc-about-road li:hover {
  border-color: var(--pc-forest);
  transform: translateX(7px);
}

.pc-about-road li > span {
  color: var(--pc-forest);
  font-family: var(--pc-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.pc-about-road h3 {
  margin: 0;
  color: var(--pc-ink);
  font-family: var(--pc-display) !important;
  font-size: clamp(1.75rem, 1.45rem + 0.7vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.pc-about-road p {
  max-width: 60ch;
  margin: 8px 0 0;
  color: var(--pc-ink-soft);
  line-height: 1.6;
}

.pc-about-method {
  width: 100%;
  padding: clamp(80px, 9vw, 136px) 0;
  background: var(--pc-forest);
  color: #fff;
}

.pc-about-method__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(54px, 9vw, 140px);
  width: min(100% - 48px, 1260px);
  margin: 0 auto;
}

.pc-about-method .pc-section-kicker {
  color: var(--pc-accent);
}

.pc-about-method h2 {
  max-width: 8ch;
  color: #fff !important;
}

.pc-about-method header > p:last-child {
  max-width: 42ch;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.pc-about-principles {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.pc-about-principles li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 180ms ease;
}

.pc-about-principles li:hover {
  transform: translateX(8px);
}

.pc-about-principles li > span {
  color: var(--pc-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.pc-about-principles strong {
  display: block;
  color: #fff;
  font-family: var(--pc-display);
  font-size: clamp(1.65rem, 1.35rem + 0.65vw, 2.2rem);
  line-height: 1.05;
}

.pc-about-principles p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.pc-about-now {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(54px, 9vw, 140px);
  align-items: end;
}

.pc-about-now__detail > p {
  margin: 0;
  color: var(--pc-ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.pc-about-now__detail nav {
  display: flex;
  gap: 26px;
  margin-top: 32px;
}

.pc-about-now__detail a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid var(--pc-forest);
  color: var(--pc-forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.page-id-252 .pc-newsletter {
  margin-top: 0;
}

@supports (animation-timeline: view()) {
  .pc-about-story__header,
  .pc-about-story__lead,
  .pc-about-road,
  .pc-about-method__inner,
  .pc-about-now > * {
    animation: pc-about-reveal linear both;
    animation-range: entry 4% cover 26%;
    animation-timeline: view();
  }
}

@media (max-width: 921px) {
  .page-id-252 #primary.pc-about {
    padding-top: 0 !important;
  }

  .pc-about-hero,
  .pc-about-hero__inner {
    min-height: calc(100svh - 92px);
  }

  .pc-about-hero__inner {
    width: min(100% - 40px, 720px);
    padding: 64px 0 72px;
  }

  .pc-about-hero__copy {
    width: min(100%, 620px);
  }

  .pc-about-hero h1 {
    max-width: 9ch;
    font-size: clamp(3.8rem, 12vw, 6.2rem);
  }

  .pc-about-hero__portrait {
    right: -155px;
    bottom: -80px;
    width: 520px;
    opacity: 0.38;
  }

  .pc-about-hero__portrait::after {
    background: linear-gradient(90deg, #173d2b 12%, transparent 68%);
  }

  .pc-about-story,
  .pc-about-method__inner,
  .pc-about-now {
    grid-template-columns: 1fr;
  }

  .pc-about-story,
  .pc-about-now,
  .pc-about-method__inner {
    width: min(100% - 40px, 720px);
  }

  .pc-about-story,
  .pc-about-method,
  .pc-about-now {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .pc-about-method h2 {
    max-width: 11ch;
  }
}

@media (max-width: 560px) {
  .pc-about-hero__inner {
    align-items: flex-start;
    padding-top: 56px;
  }

  .pc-about-hero h1 {
    font-size: clamp(3.25rem, 16vw, 4.75rem);
  }

  .pc-about-hero__lead {
    max-width: 31ch;
    margin-top: 24px;
    font-size: 0.98rem;
  }

  .pc-about-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 30px;
  }

  .pc-about-hero__portrait {
    right: -170px;
    width: 450px;
  }

  .pc-about-story__header h2,
  .pc-about-method h2,
  .pc-about-now h2 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .pc-about-road li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }

  .pc-about-now__detail nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@keyframes pc-about-portrait-in {
  from {
    opacity: 0;
    transform: translateX(44px) scale(1.05);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes pc-about-reveal {
  from {
    opacity: 0.25;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact: compact editorial intro and one clear working surface. */
.page-contact #content > .ast-container,
.page-id-258 #content > .ast-container {
  max-width: none;
  padding: 0;
}

.page-id-258 #primary,
.page-id-258 .site-main,
.page-id-258 article,
.page-id-258 .entry-content { width: 100%; max-width: none; margin: 0; padding: 0 !important; }
.page-id-258 .entry-header { display: none; }

.pc-contact {
  overflow: hidden;
  background: var(--pc-paper);
  color: var(--pc-ink);
}

.pc-contact__hero,
.pc-contact__body {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.pc-contact__hero {
  padding: clamp(72px, 9vw, 130px) 0 clamp(54px, 7vw, 96px);
  border-bottom: 1px solid var(--pc-line);
}

.pc-contact__hero h1,
.pc-contact__intro h2 {
  max-width: 850px;
  margin: 12px 0 22px;
  font-family: var(--pc-display);
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.05em;
}

.pc-contact__hero > p:last-child,
.pc-contact__intro > p {
  max-width: 680px;
  color: var(--pc-ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.pc-contact__body {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr);
  gap: clamp(52px, 8vw, 120px);
  padding: clamp(64px, 8vw, 112px) 0;
}

.pc-contact__intro h2 { font-size: clamp(2.5rem, 4.8vw, 4.8rem); }
.pc-contact__intro ul { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--pc-line); }
.pc-contact__intro li { padding: 14px 0; border-bottom: 1px solid var(--pc-line); }
.pc-contact__form { min-width: 0; }
.pc-contact__form .srfm-form-container { max-width: 100% !important; margin: 0 !important; }
.pc-contact__form :is(input, textarea, select) { border-radius: 0 !important; }
.pc-contact__form .srfm-submit-button,
.pc-contact__fallback a { min-height: 48px; border-radius: 0 !important; background: var(--pc-accent) !important; color: #fff !important; }
.pc-contact__fallback { padding: 32px 0; border-block: 1px solid var(--pc-line); }
.pc-contact__fallback a { display: inline-flex; align-items: center; margin-top: 14px; padding: 0 22px; text-decoration: none; }

@media (max-width: 720px) {
  .pc-contact__hero,
  .pc-contact__body { width: min(100% - 40px, 1180px); }
  .pc-contact__hero { padding-top: 64px; }
  .pc-contact__hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .pc-contact__body { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

/* Newsletter: preserve the embedded form while restoring contrast around it. */
.page-id-45 .entry-content > .wp-block-group {
  overflow: hidden;
  border: 1px solid rgba(218, 239, 143, 0.24);
  background: #153d2d !important;
  box-shadow: 0 24px 64px rgba(8, 32, 23, 0.16);
}

.page-id-45 .entry-content > .wp-block-group .pc-h2-accent,
.page-id-45 .entry-content > .wp-block-group .pc-h3-accent {
  color: #fff !important;
}

.page-id-45 .entry-content > .wp-block-group .pc-h2-accent {
  max-width: 17ch;
  font-family: var(--pc-display);
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.page-id-45 .entry-content > .wp-block-group .pc-h3-accent,
.page-id-45 .entry-content > .wp-block-group strong {
  color: #dff19d !important;
}

.page-id-45 .entry-content > .wp-block-group :is(p, li) {
  color: rgba(255, 255, 255, 0.88) !important;
}

.page-id-45 .entry-content > .wp-block-group li::marker {
  color: #9ccc3b;
}

.page-id-45 .entry-content > .wp-block-group hr {
  border-color: rgba(255, 255, 255, 0.2);
}

.page-id-45 .entry-content > .wp-block-group iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #061426;
}

@media (max-width: 720px) {
  .page-id-45 .entry-content > .wp-block-group {
    padding: 24px 20px !important;
    border-radius: 12px !important;
  }

  .page-id-45 .entry-content > .wp-block-group .pc-h2-accent {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }
}

@keyframes pc-rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pc-hero-image-in {
  from {
    opacity: 0.65;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
