/* --------------------------------------------------------------------------
   Peck Financial — client layer over mfin1.

   Page bodies are hand-written HTML in the editor, and assets/css/tailwind.css
   is a frozen build of only the utilities mfin1's PHP uses — utility classes
   typed into post_content would not exist. So content uses the semantic `pk-`
   classes below. Everything reads the Theme Option colour tokens.

   CONTRAST RULE (measured, not eyeballed):
     --color-secondary (#3CB4E3) is 2.4:1 on white and 3.2:1 on
     --color-primary. It is for rules, bars and decorative icons ONLY — never
     small text. Small accent text uses --pk-accent-ink (≈4.9:1 on white).
   -------------------------------------------------------------------------- */

:root {
  --pk-accent-ink: color-mix(in srgb, var(--color-secondary) 35%, var(--color-primary));
  --pk-tint: color-mix(in srgb, var(--color-primary) 5%, #ffffff);
  --pk-line: #dde5ea;
  --pk-body: var(--color-text);
  --pk-muted: #4a5a63;
  --pk-header-h: 72px;
  --pk-subnav-h: 0px;
  --pk-ease: cubic-bezier(0.2, 0.9, 0.3, 1);
}
@media (min-width: 1024px) {
  :root { --pk-header-h: 88px; }
}

body { color: var(--pk-body); }

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

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.site-footer :focus-visible,
.pk-section--dark :focus-visible,
.pk-hero :focus-visible,
.page-hero :focus-visible {
  outline-color: #ffffff;
}

/* Anchors land below the fixed header and the sticky sub-nav. */
[id] { scroll-margin-top: calc(var(--pk-header-h) + var(--pk-subnav-h) + 1.5rem); }
/* Whole tiers (sub-nav targets) sit flush under the sub-nav, so the jump shows
   the top edge of the tier rather than a sliver of the one above. */
section[id] { scroll-margin-top: calc(var(--pk-header-h) + var(--pk-subnav-h)); }
/* Sections focused by a sub-nav jump (tabindex="-1") don't need a focus ring. */
section[tabindex="-1"]:focus { outline: none; }

/* --------------------------------------------------------------------------
   Header — fit, and the stock secondary-colour text states
   -------------------------------------------------------------------------- */

/* The supplied logo is a 750x103 wordmark; at the stock 48px it is 350px wide
   and crowds the four nav items at 1024. Client asked for it a little bigger
   (Oct 2026 revisions): +4px at each step, full 48px only once there's room. */
#site-header img { height: 40px; width: auto; }
@media (min-width: 1024px) {
  #site-header img { height: 42px; }
}
@media (min-width: 1280px) {
  #site-header img { height: 48px; }
}

/* Stock: links with a chevron are inline-flex, plain ones inline — so
   "Contact" sat ~3px above its siblings. Same box model for all. */
#site-header nav > .nav-link,
#site-header .nav-item > .nav-link { display: inline-flex; align-items: center; }
#site-header .nav-item { display: flex; align-items: center; }
/* Dropdown parents are buttons (not links) so they can't be clicked through. */
#site-header button.nav-link { background: none; border: 0; padding-inline: 0; cursor: default; }

/* Stock: hover/active submenu text in --color-secondary = 2.4:1 on white. */
.nav-submenu-card > a:hover,
.nav-submenu-card > a:focus-visible { color: var(--color-primary); background: var(--pk-tint); }
.nav-submenu-card > a.is-active { color: var(--pk-accent-ink); }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.pk-wrap {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 640px)  { .pk-wrap { padding-inline: 2.5rem; } }
@media (min-width: 1024px) { .pk-wrap { padding-inline: 60px; } }

.pk-section { padding-block: 4rem; }
@media (min-width: 640px)  { .pk-section { padding-block: 5rem; } }
@media (min-width: 1024px) { .pk-section { padding-block: 6.5rem; } }
/* Two white sections in a row share one gap — but only white after white. */
.pk-section:not(.pk-section--tint):not(.pk-section--dark) + .pk-section:not(.pk-section--tint):not(.pk-section--dark) { padding-top: 0; }
.pk-section--tint { background: var(--pk-tint); }
.pk-section--tint + .pk-section--tint { padding-top: 0; }
.pk-section--dark { background: var(--color-primary); color: #ffffff; }
/* A dark last section would run straight into the same-colour footer. */
.content > .pk-section--dark:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.22); }

.pk-center { text-align: center; }
.pk-center + .pk-cards,
.pk-center + .pk-layers,
.pk-center + .pk-embed { margin-top: 2.5rem; }
.pk-measure { max-width: 48rem; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.pk-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pk-accent-ink);
  margin-bottom: 0.75rem;
}
.pk-section--dark .pk-eyebrow { color: #ffffff; }

.pk-h2 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, serif;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  line-height: 1.15;
  color: var(--color-primary);
}
.pk-h3 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, serif;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.875rem);
  line-height: 1.25;
  color: var(--color-primary);
}
.pk-h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
}
.pk-section--dark .pk-h2,
.pk-section--dark .pk-h3 { color: #ffffff; }

.pk-rule {
  width: 8rem;
  height: 1px;
  background: var(--color-secondary);
  margin-block: 1.5rem;
}
.pk-center .pk-rule,
.pk-rule--center { margin-inline: auto; }

.pk-lede {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--color-primary);
}
.pk-section--dark .pk-lede { color: #ffffff; }
.pk-lede + .pk-prose,
.pk-lede + .pk-lede { margin-top: 1.25rem; }

/* Prose. `p + p`, never `> * + *` beside a margin shorthand — that pairing ran
   paragraphs together twice on blackburn-2026. */
.pk-prose { line-height: 1.75; color: var(--pk-body); }
.pk-section--dark .pk-prose { color: rgb(255 255 255 / 0.92); }
.pk-prose p { margin: 0; }
.pk-prose p + p,
.pk-prose ul + p,
.pk-prose p + ul,
.pk-prose h3 + p,
.pk-prose h3 + ul,
.pk-prose .pk-h4 + p,
.pk-prose .pk-h4 + ul { margin-top: 1.1em; }
.pk-prose * + h3,
.pk-prose * + .pk-h4 { margin-top: 2rem; }
.pk-prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-secondary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms ease-out;
}
.pk-prose a:hover { text-decoration-color: var(--color-primary); }
.pk-prose strong { color: var(--color-primary); font-weight: 700; }
.pk-section--dark .pk-prose strong { color: #ffffff; }

.pk-prose ul { list-style: none; padding: 0; margin-block: 0; }
.pk-prose ul > li {
  position: relative;
  padding-left: 1.6rem;
}
.pk-prose ul > li + li { margin-top: 0.6rem; }
.pk-prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.6rem;
  height: 2px;
  background: var(--color-secondary);
}

.pk-small {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--pk-muted);
}
.pk-section--tint .pk-small { color: #3f4f58; }
.pk-closing { margin-top: 2rem; font-family: 'Cormorant Garamond', ui-serif, Georgia, serif; font-style: italic; }
.pk-closing-copy { margin-top: 3rem; }
@media (min-width: 768px) {
  .pk-prose .pk-list-cols { columns: 2; column-gap: 2.5rem; }
  .pk-prose .pk-list-cols > li { break-inside: avoid; margin: 0 0 0.6rem; }
}
.pk-embed--calc { max-width: 64rem; margin-inline: auto; }
.pk-mfeed { min-height: 20rem; }
/* The theme reset makes imgs block-level, so the feed's centred logo needs auto margins. */
.pk-mfeed .pom-section-1 .__2025__pom-wrap > img { margin-inline: auto; }
/* The feed relies on browser-default block margins, which the theme reset zeroes:
   restore them for its unclassed paragraphs and lists (classed ones set their own). */
.pk-mfeed p:not([class]) { margin-block: 0 1em; }
.pk-mfeed ul:not([class]) { margin-block: 1em; }
/* Match the feed's own section-4 button offset. */
.pk-mfeed .pom-section-3 .__2025__pom-button { margin-top: 10px; }
/* Feed titles are set in Cormorant Garamond via the embed's headlineFont prop;
   the feed's own 300 weight is too thin in Cormorant, so match our titles. */
.pk-mfeed .__2025__pom-tier h2 { font-weight: 600; }

/* --------------------------------------------------------------------------
   Buttons — mfin1's outlined, tracked-caps button
   -------------------------------------------------------------------------- */

.pk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out, transform 200ms var(--pk-ease);
}
.pk-btn:hover { background: var(--color-primary); color: #ffffff; }
.pk-btn:active { transform: scale(0.98); }
.pk-btn--light { border-color: #ffffff; color: #ffffff; }
.pk-btn--light:hover { background: #ffffff; color: var(--color-primary); }
.pk-btn--solid { background: var(--color-primary); color: #ffffff; }
.pk-btn--solid:hover { background: color-mix(in srgb, var(--color-primary) 82%, #000000); border-color: color-mix(in srgb, var(--color-primary) 82%, #000000); }

.pk-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.pk-center .pk-actions { justify-content: center; }

/* The plan's recurring "For More Information Please Contact Us" close. */
.pk-cta-row {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--pk-line);
  display: flex;
  justify-content: center;
}
.pk-section--dark .pk-cta-row { border-top-color: rgb(255 255 255 / 0.2); }

/* --------------------------------------------------------------------------
   Homepage hero
   -------------------------------------------------------------------------- */

.pk-hero {
  position: relative;
  min-height: calc(100vh - var(--pk-header-h));
  min-height: calc(100svh - var(--pk-header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-primary);
  color: #ffffff;
}
.pk-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}
/* Bottom band carries the headline. The top band that kept the old transparent
   nav legible was dropped with the solid white header (Nov 2026 revisions),
   which also lightens the image as the client asked. */
.pk-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(0 25 38 / 0.78) 0%, rgb(0 25 38 / 0.35) 45%, rgb(0 25 38 / 0) 70%);
}
.pk-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4rem 1.5rem 3rem;
}
@media (min-width: 640px)  { .pk-hero__inner { padding: 6rem 2.5rem 4rem; } }
@media (min-width: 1024px) { .pk-hero__inner { padding: 6rem 60px 60px; } }
.pk-hero h1 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, serif;
  font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.pk-hero__sub {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  color: rgb(255 255 255 / 0.95);
  max-width: 42rem;
}
.pk-hero .pk-rule { margin-block: 2rem; }

/* --------------------------------------------------------------------------
   Interior banner (mfin1_render_page_hero)
   -------------------------------------------------------------------------- */

.page-hero__scrim {
  background:
    linear-gradient(to bottom, rgb(0 25 38 / 0.62) 0%, rgb(0 25 38 / 0.5) 30%, rgb(0 25 38 / 0.5) 100%);
}
/* A banner with a sub-headline carries normal-size text (~18px on phones),
   which needs 4.5:1, not the h1's 3:1. Over About's bright office photo the
   0.5 scrim measured 3.5:1; solved from sampled pixels, 0.66 is the floor. */
.page-hero:has(.page-hero__sub) .page-hero__scrim { background: rgb(0 25 38 / 0.66); }
.page-hero__eyebrow { color: #ffffff; }
.page-hero__sub {
  margin-top: 1.25rem;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  color: #ffffff;
  max-width: 42rem;
  margin-inline: auto;
}
.page-hero__rule {
  width: 8rem;
  height: 1px;
  background: var(--color-secondary);
  margin: 2rem auto;
}

/* --------------------------------------------------------------------------
   Split — image one side, copy the other (mfin1 `.section-split`)
   The image runs to the viewport edge; the copy keeps the 60px gutter.
   -------------------------------------------------------------------------- */

.pk-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.pk-split__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pk-split__body { padding-inline: 1.5rem; }
@media (min-width: 640px) { .pk-split__body { padding-inline: 2.5rem; } }
@media (min-width: 1024px) {
  .pk-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .pk-split__body { padding: 0 60px 0 0; max-width: 40rem; }
  .pk-split--reverse .pk-split__media { order: 2; }
  .pk-split--reverse .pk-split__body { padding: 0 0 0 60px; justify-self: end; }
}

/* --------------------------------------------------------------------------
   Two-column text section: heading left, body right. Used wherever a section
   has no photo, so copy never strands at one edge of a wide container.
   -------------------------------------------------------------------------- */

.pk-twocol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .pk-twocol { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 5rem; }
  .pk-twocol__head { position: sticky; top: calc(var(--pk-header-h) + var(--pk-subnav-h) + 2rem); align-self: start; }
}
.pk-twocol__head .pk-rule { margin-bottom: 0; }
.pk-twocol__head .pk-lede { margin-top: 1.5rem; }
.pk-twocol__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: 2rem;
}
/* Doubled class: must beat the later `.pk-layers { margin: 0 }`. */
.pk-layers.pk-layers--inline { margin-top: 2.5rem; }
@media (min-width: 1024px) { .pk-layers.pk-layers--inline { margin-top: 3rem; } }

/* --------------------------------------------------------------------------
   Homepage "Our Primary Focus" — flip cards over a three-slice photo band.
   After lawtonmg.com/who-we-serve "Common Client Scenarios": full-bleed
   columns split by hairlines, hover turns a card on pointer devices, the
   (+)/(−) buttons turn it everywhere else. Each column's backdrop is a slice
   of that card's own photo.

   Without JS the toggles stay `hidden` and both faces render stacked —
   nothing is reachable only by flipping.
   -------------------------------------------------------------------------- */

.pk-focus {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-primary);
  color: #ffffff;
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
}
.pk-focus__slices {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pk-focus__slices img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Section scrim: heavier at the top (heading) and bottom, solved for white
   text over the brightest slice — see Build Decisions. */
.pk-focus::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 25 38 / 0.8) 0%, rgb(0 25 38 / 0.66) 35%, rgb(0 25 38 / 0.66) 70%, rgb(0 25 38 / 0.8) 100%);
}
.pk-focus__head { text-align: center; padding: 0 1.5rem clamp(2.5rem, 4vw, 3.5rem); }
.pk-focus__head .pk-h2 { color: #ffffff; }
.pk-focus__head .pk-rule { margin-bottom: 0; }

.pk-flips { display: grid; grid-template-columns: 1fr; }

.pk-flip {
  position: relative;
  isolation: isolate;
  border-top: 1px solid rgb(255 255 255 / 0.22);
}
/* Stacked (below 1024): each card carries its own photo + scrim. */
.pk-flip__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pk-flip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(0 25 38 / 0.62); }

@media (min-width: 1024px) {
  .pk-focus__slices { display: grid; }
  .pk-flips { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgb(255 255 255 / 0.22); }
  .pk-flip { border-top: 0; border-right: 1px solid rgb(255 255 255 / 0.22); }
  .pk-flip:last-child { border-right: 0; }
  .pk-flip__img,
  .pk-flip::before { display: none; }
}

.pk-flip__turn { display: grid; height: 100%; }
.pk-flip__face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  min-height: 340px;
  padding: 3rem clamp(1.75rem, 3vw, 3.5rem);
  text-align: center;
}
@media (min-width: 1024px) { .pk-flip__face { min-height: 440px; } }
/* No JS: faces stack, so neither needs the flip height. */
.pk-flips:not(.is-ready) .pk-flip__face { min-height: 0; padding-block: 2.5rem 0; }
.pk-flips:not(.is-ready) .pk-flip__back { padding-block: 1.5rem 3rem; }

.pk-flip__title {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, serif;
  font-size: clamp(1.75rem, 1.3rem + 1.1vw, 2.4rem);
  line-height: 1.15;
  color: #ffffff;
  max-width: 18ch;
  text-wrap: balance;
}
.pk-flip__body { font-size: 1rem; line-height: 1.75; color: #ffffff; max-width: 40ch; text-wrap: pretty; }

.pk-flip__toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.85);
  border-radius: 9999px;
  background: transparent;
  color: #ffffff;
  font: 300 1.75rem/1 Arial, sans-serif;
  cursor: pointer;
  transition: background-color 200ms ease-out, color 200ms ease-out, transform 200ms var(--pk-ease);
}
.pk-flip__toggle[hidden] { display: none; }
.pk-flip__toggle:hover { background: #ffffff; color: var(--color-primary); }
.pk-flip__toggle:active { transform: scale(0.94); }
.pk-flip :focus-visible { outline-color: #ffffff; }

/* The turn. Depth and easing match the reference (itself after Nicolas
   Pavlotsky's Parallax Flipping Cards). */
.pk-flips.is-ready .pk-flip__turn { perspective: 1000px; transform-style: preserve-3d; }
.pk-flips.is-ready .pk-flip__face {
  grid-area: 1 / 1;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 700ms cubic-bezier(0.4, 0.2, 0.2, 1);
  will-change: transform;
}
.pk-flips.is-ready .pk-flip__face > * {
  transform: translateZ(60px) scale(0.94);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.pk-flips.is-ready .pk-flip__front { transform: rotateY(0deg); }
.pk-flips.is-ready .pk-flip__back { transform: rotateY(180deg); }
.pk-flips.is-ready .pk-flip.is-flipped .pk-flip__front { transform: rotateY(-180deg); }
.pk-flips.is-ready .pk-flip.is-flipped .pk-flip__back { transform: rotateY(0deg); }

/* Reduced motion: no rotation — the faces cross-fade. */
@media (prefers-reduced-motion: reduce) {
  .pk-flips.is-ready .pk-flip__turn { perspective: none; }
  .pk-flips.is-ready .pk-flip__face,
  .pk-flips.is-ready .pk-flip__face > * { transform: none !important; will-change: auto; }
  .pk-flips.is-ready .pk-flip__back { opacity: 0; visibility: hidden; }
  .pk-flips.is-ready .pk-flip.is-flipped .pk-flip__front { opacity: 0; visibility: hidden; }
  .pk-flips.is-ready .pk-flip.is-flipped .pk-flip__back { opacity: 1; visibility: visible; }
}

.pk-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px)  { .pk-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pk-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1023px) {
  .pk-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-cards--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 0.875rem); justify-self: center; }
}

.pk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--pk-line);
  box-shadow: 0 20px 40px -24px rgb(0 40 60 / 0.35);
  transition: transform 320ms var(--pk-ease), box-shadow 320ms ease-out;
}
.pk-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 360ms var(--pk-ease);
  z-index: 1;
}
.pk-card:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -22px rgb(0 40 60 / 0.4); }
.pk-card:hover::before { transform: scaleX(1); }
.pk-card__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pk-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 1.75rem 2.25rem;
}
@media (min-width: 1024px) { .pk-card__body { padding: 2.5rem 2.25rem; } }
.pk-card__body .pk-h3 { margin-bottom: 1rem; }
.pk-card__body .pk-prose { flex: 1; }
.pk-card__body .pk-actions { margin-top: 2rem; }
.pk-card--plain { border-top: 4px solid var(--color-primary); }

/* --------------------------------------------------------------------------
   Statement band — "We protect the people…"
   -------------------------------------------------------------------------- */

.pk-statement {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.25;
  color: #ffffff;
  max-width: 56rem;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   In-page sub-nav (pages the plan gives a "sub nav menu")
   -------------------------------------------------------------------------- */

.pk-subnav {
  position: sticky;
  top: var(--pk-header-h);
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid var(--pk-line);
  box-shadow: 0 6px 16px -14px rgb(0 40 60 / 0.4);
}
body.admin-bar .pk-subnav { top: calc(var(--pk-header-h) + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .pk-subnav { top: calc(var(--pk-header-h) + 46px); }
}
.pk-subnav ul {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 80rem;
  display: flex;
  justify-content: center;
  gap: 0.25rem 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.pk-subnav ul::-webkit-scrollbar { display: none; }
@media (max-width: 1023px) { .pk-subnav ul { justify-content: flex-start; } }
/* Desktop: a centred flex row that overflows is clipped on BOTH ends, and the
   left end can't be scrolled to (calculators page: six long labels > 80rem).
   Let the strip use more of the viewport than the 80rem content column and
   ease the gap so it stays on one row where it can; where it still can't,
   wrap onto a second centred row (JS re-measures --pk-subnav-h). */
@media (min-width: 1024px) {
  .pk-subnav ul {
    max-width: 90rem;
    column-gap: clamp(1.25rem, 2vw, 2rem);
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.pk-subnav a {
  position: relative;
  display: block;
  padding: 1.1rem 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-primary);
}
.pk-subnav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform 320ms var(--pk-ease);
}
.pk-subnav a:hover::after,
.pk-subnav a.is-active::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Process steps — mfin1's `.process-step` row, recoloured. The stock numeral
   colour (#cbd5e1) is 1.5:1 on white.
   -------------------------------------------------------------------------- */

.step-number { color: var(--pk-accent-ink); }
.step-description.pk-prose { max-width: none; color: var(--pk-body); }
.process-step { border-bottom-color: var(--pk-line); }
/* The last step's rule already separates the CTA — don't double it. */
.process-step + .pk-cta-row { margin-top: 0; border-top: 0; }
/* 640–1023px (tablets, phones in landscape): mfin1's `auto 1fr` grid has three
   children, so the title was pushed to the far column and the description fell
   under the numeral. Keep the numeral on the left and stack title + text beside it. */
@media (min-width: 640px) and (max-width: 1023px) {
  .process-step { align-items: start; row-gap: 0.75rem; }
  .process-step .step-number { grid-column: 1; grid-row: 1 / span 2; }
  .process-step .step-title { grid-column: 2; grid-row: 1; align-self: end; }
  .process-step .step-description { grid-column: 2; grid-row: 2; }
}

/* --------------------------------------------------------------------------
   Income Protection Layers — stacked diagram, foundation at the base
   -------------------------------------------------------------------------- */

.pk-layers {
  margin: 0;
  max-width: 52rem;
  margin-inline: auto;
}
.pk-layers ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
/* Pyramid: every tier is full width, cut to a trapezoid. Each tier's top
   inset is the next tier's bottom inset and rows share one height, so the
   sloped sides run continuously from base to peak. Text is padded in past
   the narrow (top) edge so it never clips. */
.pk-layers ol { gap: 4px; }
.pk-layers li {
  --t: 0%;
  --b: 0%;
  width: 100%;
  min-height: 8rem;
  display: grid;
  place-content: center;
  padding: 1.25rem calc(var(--t) + 1rem);
  clip-path: polygon(var(--t) 0, calc(100% - var(--t)) 0, calc(100% - var(--b)) 100%, var(--b) 100%);
  text-align: center;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: balance;
}
.pk-layers li span {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.pk-layers .pk-layer-3 { --t: 15%; --b: 10%; background: color-mix(in srgb, var(--color-primary) 62%, #ffffff); color: #021821; }
.pk-layers .pk-layer-2 { --t: 10%; --b: 5%; background: color-mix(in srgb, var(--color-primary) 82%, #ffffff); }
.pk-layers .pk-layer-1 { --t: 5%; --b: 0%; background: var(--color-primary); }
@media (min-width: 640px) {
  .pk-layers .pk-layer-3 { --t: 30%; --b: 20%; }
  .pk-layers .pk-layer-2 { --t: 20%; --b: 10%; }
  .pk-layers .pk-layer-1 { --t: 10%; --b: 0%; }
}

/* --------------------------------------------------------------------------
   Embeds — calculators, podcast, M Financial feed
   -------------------------------------------------------------------------- */

.pk-embed {
  margin-top: 2rem;
  background: #ffffff;
  border: 1px solid var(--pk-line);
}
.pk-embed iframe { display: block; width: 100%; border: 0; }
/* CalcXML frames can't report their height cross-origin, so each is sized to
   its measured content (incl. CalcXML's own footer) + ~3% headroom.
   Measured 2026-10-20 at 1000px / 360px wide. */
.pk-embed--calc iframe { height: 1000px; }
.pk-embed--ins09 iframe { height: 790px; }
.pk-embed--ins01 iframe { height: 1020px; }
.pk-embed--ins04 iframe { height: 1000px; }
.pk-embed--ins06 iframe { height: 1000px; }
.pk-embed--ins07 iframe { height: 910px; }
@media (max-width: 767px) {
  .pk-embed--ins09 iframe { height: 980px; }
  .pk-embed--ins01 iframe { height: 2890px; }
  .pk-embed--ins04 iframe { height: 1310px; }
  .pk-embed--ins06 iframe { height: 1530px; }
  .pk-embed--ins07 iframe { height: 1080px; }
}
.pk-embed--podcast iframe { height: 200px; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */

.pk-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}
.pk-team-card {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--pk-line);
  border-top: 4px solid var(--color-primary);
  padding: 2.5rem 1.75rem;
  transition: transform 320ms var(--pk-ease), box-shadow 320ms ease-out;
}
@media (min-width: 640px)  { .pk-team-card { flex: 0 1 calc(50% - 0.875rem); } }
@media (min-width: 1024px) { .pk-team-card { flex: 0 1 calc(33.333% - 1.167rem); } }
.pk-team-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgb(0 40 60 / 0.35); }
.pk-team-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: -2.5rem -1.75rem 2rem;
  width: calc(100% + 3.5rem);
  background-size: cover;
  background-position: center;
}
.pk-team-card__name {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, serif;
  font-size: 1.625rem;
  line-height: 1.2;
  color: var(--color-primary);
}
.pk-team-card__role {
  margin-top: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pk-accent-ink);
}
.pk-team-card__rule { width: 4rem; height: 1px; background: var(--color-secondary); margin: 1.5rem auto; }
.pk-team-card__actions { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 1rem; }

.pk-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  transition: background-color 200ms ease-out, color 200ms ease-out;
}
.pk-linkedin:hover { background: var(--color-primary); color: #ffffff; }

.pk-bio-page { max-width: 48rem; margin-inline: auto; }
.pk-bio-page.has-photo { max-width: none; display: grid; gap: 3rem; }
@media (min-width: 768px) { .pk-bio-page.has-photo { grid-template-columns: 2fr 3fr; } }
.pk-bio__photo { aspect-ratio: 4 / 5; background-size: cover; background-position: center; }
.pk-bio__links { margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pk-bio--photo { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .pk-bio--photo { grid-template-columns: 2fr 3fr; } }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.pk-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .pk-contact { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 4rem; } }
/* Stock label is --color-secondary at 10px: 2.4:1. Accent ink is 4.49:1 on
   this panel's tint, so the label uses the primary instead. */
.contact-info-label { color: var(--color-primary); }
.contact-panel { border-top-color: var(--color-primary); background: var(--pk-tint); }

/* --------------------------------------------------------------------------
   Gravity Forms — restyled to mfin1's `.form-field` look. GF's own theme CSS
   is switched off for this form (see Build Decisions).
   -------------------------------------------------------------------------- */

.gform_wrapper { margin-top: 2rem; }
/* Contact Us pop-up: phone callout above the heading. */
.contact-modal-callout { margin: 0 0 1.5rem; padding-right: 2.5rem; font-size: 1rem; line-height: 1.5; }
.contact-modal-callout a { font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; white-space: nowrap; }
.gform_wrapper .gform_fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .gform_wrapper .gform_fields { grid-template-columns: 1fr 1fr; }
  .gform_wrapper .gfield--width-full,
  .gform_wrapper .gfield--type-textarea { grid-column: 1 / -1; }
}
.gform_wrapper .gfield_label,
.gform_wrapper legend.gfield_label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}
.gform_wrapper .gfield_required { color: #b42318; margin-left: 0.25rem; letter-spacing: 0; text-transform: none; }
.gform_wrapper .gfield_required .gfield_required_text { font-size: 0.75rem; }
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #ffffff;
  border: 1px solid #b9c7cf;
  border-radius: 0;
  color: var(--pk-body);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}
.gform_wrapper textarea { min-height: 9rem; resize: vertical; }
.gform_wrapper input:hover,
.gform_wrapper textarea:hover { border-color: var(--pk-muted); }
.gform_wrapper input:focus,
.gform_wrapper textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(var(--color-secondary-rgb) / 0.35);
}
.gform_wrapper .ginput_complex { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gform_wrapper .ginput_complex label { display: block; font-size: 0.8125rem; color: var(--pk-muted); margin-top: 0.35rem; }
.gform_wrapper .gform_footer { margin-top: 2rem; }
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  background: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 200ms ease-out, transform 200ms var(--pk-ease);
}
.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover { background: color-mix(in srgb, var(--color-primary) 82%, #000000); }
.gform_wrapper .gform_button:active { transform: scale(0.98); }
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message { margin-top: 0.4rem; font-size: 0.8125rem; color: #b42318; }
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea { border-color: #b42318; }
.gform_wrapper .gform_validation_errors {
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid #b42318;
  background: #fdf1f0;
  color: #7a1a12;
}
.gform_wrapper .gform_validation_errors h2 { font-size: 0.9375rem; font-weight: 600; }
.gform_confirmation_message {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-primary);
  background: var(--pk-tint);
  color: var(--color-primary);
}
.gform_wrapper .gform_hidden,
.gform_wrapper .gfield--type-honeypot,
.gform_wrapper .gform_validation_container { display: none !important; }

/* --------------------------------------------------------------------------
   Footer additions
   -------------------------------------------------------------------------- */

/* One uploaded logo: knocked out white on the dark footer. */
.footer-logo { filter: brightness(0) invert(1); }

/* Compact single-column footer (map + directions removed, Nov 2026; Get in
   Touch column and Careers link removed, Nov 2026; "Connect with Us"
   heading + rule removed, Nov 2026). Centred logo, then one centred row:
   LinkedIn on the left, Contact Us on the right. */
/* One even vertical rhythm: logo, links row, copyright. */
.footer-inner { padding-top: 3rem; padding-bottom: 2rem; }
.footer-brand { display: flex; justify-content: center; margin-bottom: 2rem; }
.footer-main { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* LinkedIn | Contact Us: the whole row is centred as one unit, split by a
   thin divider (so the divider itself sits a little left of centre). */
.footer-connect { display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.footer-connect::before {
  content: ""; order: 1; width: 1px; height: 1.25rem; background: rgb(255 255 255 / 0.35);
}
.footer-social-icons { display: flex; gap: 0.5rem; order: 0; }
.footer-social-link { display: flex; color: #ffffff; }
.footer-social-link:hover .social-circle { background: var(--color-secondary); border-color: var(--color-secondary); }
.footer-connect .footer-links { order: 2; }
.footer-connect .footer-links a {
  display: flex; align-items: center; min-height: 1.75rem; line-height: 1;
  /* Cancel the trailing letter-spacing so the text centres optically. */
  margin-right: -0.2em;
}
.footer-copy { margin-top: 2rem; text-align: center; font-size: 0.75rem; color: rgb(255 255 255 / 0.8); }

.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.footer-links a {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.45);
  text-underline-offset: 4px;
  transition: text-decoration-color 200ms ease-out;
}
.footer-links a:hover { text-decoration-color: #ffffff; }

/* Stock footer link hover is --color-secondary text: 3.2:1 on the band. */
.site-footer a.hover\:text-brand-secondary:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }

/* Divider runs the full viewport width; the disclosure text gets a wider
   column (100rem) than the 7xl footer content above it. */
.footer-disclosure-band { border-top: 1px solid rgb(255 255 255 / 0.22); }
.footer-disclosure {
  max-width: 100rem;
  margin-left: auto; margin-right: auto;
  padding: 1.75rem 1.5rem 2.5rem;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgb(255 255 255 / 0.88);
}
/* Single-spaced: no gap between the disclosure paragraphs. */
.footer-disclosure p { margin: 0; }
@media (min-width: 640px) { .footer-disclosure { padding-left: 2.5rem; padding-right: 2.5rem; } }
@media (min-width: 1024px) { .footer-disclosure { padding-left: 60px; padding-right: 60px; } }
.footer-disclosure a { text-decoration: underline; text-underline-offset: 3px; }
.footer-disclosure a:hover { color: #ffffff; text-decoration-thickness: 2px; }


/* --------------------------------------------------------------------------
   Motion (Oct 2026 revisions: "add animation throughout the site")

   Heroes: a CSS-only entrance on load — slow settle on the photo, copy rises
   in sequence. Body: client.js tags elements that start BELOW the fold with
   [data-reveal] and adds .is-in as they scroll into view, then strips both
   once the transition ends (so hover transforms on cards keep working).
   Nothing is hidden without JS, and the reduced-motion block below flattens
   all of it.
   -------------------------------------------------------------------------- */

@keyframes pk-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pk-settle {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
@keyframes pk-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.pk-hero__img,
.page-hero > .bg-cover { animation: pk-settle 2.4s var(--pk-ease) both; }
.pk-hero__inner > *,
.page-hero__inner > * { animation: pk-rise 900ms var(--pk-ease) both; }
.pk-hero__inner > :nth-child(1), .page-hero__inner > :nth-child(1) { animation-delay: 150ms; }
.pk-hero__inner > :nth-child(2), .page-hero__inner > :nth-child(2) { animation-delay: 300ms; }
.pk-hero__inner > :nth-child(3), .page-hero__inner > :nth-child(3) { animation-delay: 450ms; }
.pk-hero__inner > :nth-child(4), .page-hero__inner > :nth-child(4) { animation-delay: 600ms; }
.pk-hero__inner > .pk-rule,
.page-hero__inner > .page-hero__rule { animation-name: pk-draw; transform-origin: left center; }
.page-hero__inner > .page-hero__rule { transform-origin: center; }

/* Side slide-ins start 40px off-axis; `clip` (not `hidden`) so the sticky
   sub-nav inside .content keeps sticking. */
.site-inner .content { overflow-x: clip; }
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease-out, transform 900ms var(--pk-ease);
  transition-delay: var(--pk-delay, 0ms);
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"]  { transform: scale(0.96); }
[data-reveal="rule"]  { opacity: 1; transform: scaleX(0); transform-origin: left center; }
.pk-center [data-reveal="rule"],
[data-reveal="rule"].pk-rule--center { transform-origin: center; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   November 2026 revisions
   -------------------------------------------------------------------------- */

/* Solid white header with the full-colour logo at all times. Content starts
   below it rather than sliding under it. `body .site-inner` outranks
   style.css's reset, which loads after this file. */
#site-header { background: #ffffff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.08); }
#site-header .nav-link,
#site-header .menu-toggle,
#site-header .site-wordmark { color: var(--color-primary); }
#site-header .portal-btn { color: var(--color-primary); border-color: var(--color-primary); }
#site-header .portal-btn:hover { background: var(--color-primary); color: #ffffff; }
body .site-inner { padding-top: var(--pk-header-h); }

/* Title font: Cormorant Garamond. Its regular cut is much lighter and smaller
   on the x-height than the Playfair it replaces, so titles step up in weight. */
.font-serif,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4,
.pk-h2, .pk-h3, .pk-hero h1, .page-hero h1,
.pk-flip__title, .pk-statement, .pk-team-card__name,
.step-title, .site-wordmark { font-weight: 600; }
.pk-hero h1 { font-size: clamp(3rem, 1.8rem + 5.4vw, 6rem); line-height: 1; }
/* Homepage headline in all caps (Nov 2026 revisions). Caps set wider than
   lowercase, so open the tracking a touch and let it step down on phones. */
.pk-hero h1 { text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 639px) { .pk-hero h1 { font-size: clamp(2.25rem, 1rem + 6vw, 3rem); } }
.pk-h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.1; }
.pk-h3 { font-size: clamp(1.55rem, 1.3rem + 0.9vw, 2.05rem); line-height: 1.2; }
.step-number { font-weight: 500; }

/* Strategic Partners closing statement, moved to a pre-footer band. */
.pk-prefooter .pk-lede {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, serif;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: 500;
  line-height: 1.35;
}

/* Mobile: the open menu is taller than short phones (body scroll is locked
   while it's open), so it scrolls within itself instead of running off-screen. */
#mobile-menu {
  max-height: calc(100vh - var(--pk-header-h));
  max-height: calc(100dvh - var(--pk-header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Small phones: the 750x103 wordmark at 40px tall is ~290px wide and pushed
   the menu button off-screen at 320px. Scale it to fit beside the button. */
#mobile-menu-toggle { flex-shrink: 0; }
@media (max-width: 379px) {
  #site-header img { height: auto; max-height: 40px; max-width: calc(100vw - 5.5rem); }
}

/* Homepage hero: on widescreen viewports a <source> swaps in a panoramic
   version of the iceberg so it doesn't crop back up to full size. The
   <picture> wrapper must not become a flex item of the hero. */
.pk-hero picture { display: contents; }

/* reCAPTCHA field: keep its label for screen readers only, and shrink the
   fixed 304px Google widget on very narrow phones so it doesn't overflow. */
.gform_wrapper .gfield--type-captcha.hidden_label > .gfield_label {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (max-width: 359px) {
  .gform_wrapper .ginput_recaptcha { transform: scale(0.88); transform-origin: left top; height: 69px; }
}
