/*
Theme Name: Kiwi Property Appraisal
Theme URI: https://kiwipropertyappraisal.com
Author: IdeoXpert
Author URI: https://idexopert.com
Description: Monochrome editorial theme for Kiwi Property Appraisal — free home appraisals across New Zealand. Includes a multi-step appraisal enquiry form and a contact form that store leads in the WordPress admin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kiwipropertyappraisal
Tags: business, real-estate, one-column, custom-menu, custom-logo, featured-images, translation-ready, responsive-layout
*/

/* ==========================================================================
   Kiwi Property Appraisal — design system
   Warm ivory canvas, white cards, deep green accent.
   ========================================================================== */
:root {
  --ink: #101315;
  --ink-2: #33393d;
  --muted: #757c7a;
  --line: #e6e2d8;
  --line-2: #d6d1c4;
  --paper: #ffffff;

  /* Warm ivory canvas: white cards, photos and forms lift off it, where the
     original flat white left everything on one plane. */
  --canvas: #f6f3ec;
  --canvas-tint: rgba(18, 101, 79, 0.09);
  --grey: #edeae1;
  --grey-2: #e4e0d5;
  --page: var(--canvas);

  --accent: #12654f;
  --accent-soft: #e4efe9;
  --gold: #d9a441;
  --danger: #b4402f;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(16, 19, 21, 0.05);
  --shadow: 0 18px 40px -18px rgba(16, 19, 21, 0.22);
  --shadow-lg: 0 40px 80px -30px rgba(16, 19, 21, 0.35);

  --gutter: clamp(18px, 4.5vw, 96px);
  --max-w: 1680px;
  --header-h: 74px;
  --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Locks the page behind the open mobile menu */
body.kpa-nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}

.skip-link:focus {
  position: fixed !important;
  top: 12px;
  left: 12px;
  z-index: 200;
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
}

/* ==========================================================================
   Shell
   ========================================================================== */
.sheet {
  position: relative;
  width: 100%;
  background: var(--canvas);
  overflow-x: clip;
}

/* A soft accent wash behind the top of the page so the hero has some depth. */
.sheet::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: min(820px, 78vh);
  background:
    radial-gradient(110% 90% at 82% -10%, var(--canvas-tint), transparent 58%),
    linear-gradient(180deg, rgba(18, 101, 79, 0.05), rgba(18, 101, 79, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.sheet > * {
  position: relative;
  z-index: 1;
}

/* Content stops widening on large monitors instead of stretching to the edges,
   which is what left the two-column sections with a hole in the middle. */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 8vw, 112px);
}

/* A section that only holds a grey band gets slimmer outer padding, so the
   band's own padding does not stack with it. */
.section:has(> .band) {
  padding-block: clamp(14px, 2vw, 26px);
}

.band {
  background: var(--grey);
  border-radius: var(--r-xl);
  /* Keeps its small inset from the page edges, and centres once the layout
     reaches its maximum width. */
  width: calc(100% - 2 * clamp(0px, 1.5vw, 28px));
  max-width: var(--max-w);
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 96px);
}

/* Small label with a leading dot — used above every section heading */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--paper);
}

.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-head h2 {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  margin-top: 18px;
}

.section-head p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 46ch;
}

.section-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.section-head--center p {
  margin-inline: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 12px 11px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease;
}

.btn__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.btn:hover .btn__dot {
  transform: rotate(-45deg);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-2);
}

.btn--light .btn__dot {
  background: var(--grey);
}

.btn--light:hover {
  border-color: var(--ink);
}

.btn--plain {
  padding: 11px 22px;
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink-2);
}

.btn--plain:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--lg {
  padding: 14px 14px 14px 26px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn:active {
  transform: translateY(1px);
}

/* ==========================================================================
   Media
   ========================================================================== */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--grey-2), var(--grey));
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease;
}

.media img[data-loaded='false'] {
  opacity: 0;
}

.media__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--line-2);
  background: linear-gradient(135deg, var(--grey-2), var(--grey));
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 249, 245, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.header--scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  min-width: 0;
}

.logo__mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  flex-shrink: 0;
}

.logo img {
  max-height: 34px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  margin: 0;
  border-radius: 999px;
  background: var(--grey);
  list-style: none;
}

.nav li {
  display: block;
}

.nav a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-2);
  transition: background 0.18s ease, color 0.18s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
}

.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a,
.nav a[aria-current] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__phone {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--ink);
}

.burger {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

.burger .burger__close,
.burger[aria-expanded='true'] .burger__open {
  display: none;
}

.burger[aria-expanded='true'] .burger__close {
  display: block;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 6px var(--gutter) 24px;
  border-top: 1px solid var(--line);
  background: #faf9f5;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  margin: 0;
}

.mobile-nav a {
  display: block;
  padding: 14px 2px;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .current-menu-item > a,
.mobile-nav .current_page_item > a,
.mobile-nav a[aria-current] {
  color: var(--accent);
}

/* Outranks the `.mobile-nav a` block rule above, which would otherwise drop
   the button's arrow dot onto its own line. */
.mobile-nav .mobile-nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 14px 20px;
  border-bottom: 0;
  font-size: 0.95rem;
}

.mobile-nav .mobile-nav__phone {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: clamp(30px, 5vw, 64px);
}

.hero__top {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(28px, 4vw, 52px);
}

.hero h1 {
  font-size: clamp(2.25rem, 6.2vw, 4.6rem);
  margin-top: 20px;
  max-width: 12ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero__aside p {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 42ch;
  margin-bottom: 26px;
}

.hero__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8.2;
  background: var(--grey);
}

.hero__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 19, 21, 0.42), transparent 52%);
  pointer-events: none;
}

.hero__figure .media {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.hero__stats {
  position: absolute;
  left: clamp(14px, 2.4vw, 30px);
  right: clamp(14px, 2.4vw, 30px);
  bottom: clamp(14px, 2.4vw, 30px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.hero__chip svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Ruled backdrop behind the hero, echoing an architectural drawing */
.ruled {
  position: relative;
}

.ruled::before {
  content: '';
  position: absolute;
  inset: 0 0 40% 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 25% 100%;
  opacity: 0.85;
  pointer-events: none;
}

.ruled > * {
  position: relative;
}

/* ==========================================================================
   Appraisal / property cards
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.filter {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 12px 12px 20px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card[hidden] {
  display: none;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card:hover .media img {
  transform: scale(1.045);
}

.card .media {
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
}

.card__body {
  padding-inline: 8px;
}

.card h3 {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.card__address {
  font-size: 0.86rem;
  color: var(--muted);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-2);
}

.card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card__meta svg {
  color: var(--muted);
  flex-shrink: 0;
}

.card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card__price {
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.card__label {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cards__note {
  margin-top: 26px;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

.cards__empty {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.5vw, 64px);
  align-items: center;
}

.about h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.9rem);
  margin: 18px 0 20px;
}

.about p {
  color: var(--muted);
  font-size: 0.99rem;
  /* Wide enough to reach across its column without over-running the measure. */
  max-width: 62ch;
}

.about p + p {
  margin-top: 16px;
}

.about .assurances {
  margin-top: 26px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.stat {
  flex: 1 1 150px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: var(--grey);
}

.stat strong {
  display: block;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

.about .media {
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
}

/* ==========================================================================
   Process
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  counter-reset: step;
}

.process__item {
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}

.process__item::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.process__item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.process__item p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.quote {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  margin: 0;
}

.quote__mark {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--line-2);
  margin-bottom: 8px;
}

.quote blockquote {
  margin: 0;
  flex: 1;
  display: flex;
}

.quote p {
  font-size: 0.94rem;
  color: var(--ink-2);
  flex: 1;
  margin-bottom: 22px;
}

.quote__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quote__foot .media {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.quote__name {
  flex: 1;
  min-width: 0;
}

.quote__name strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.quote__name span {
  font-size: 0.8rem;
  color: var(--muted);
}

.quote__rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.quote__rating svg {
  color: var(--gold);
}

/* ==========================================================================
   Articles
   ========================================================================== */
.articles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: start;
}

.article .media {
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
}

.article--short .media {
  aspect-ratio: 4 / 3.4;
}

.article--short {
  margin-top: clamp(24px, 4vw, 64px);
}

.article__date {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.article h3 {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.article:hover .media img {
  transform: scale(1.05);
}

.article:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
}

.faq h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.9rem);
  margin: 18px 0 18px;
}

.faq__intro {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 34ch;
  margin-bottom: 26px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item h3 {
  margin: 0;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 0.99rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.faq__q:hover {
  color: var(--accent);
}

.faq__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: transform 0.28s ease, background 0.2s ease, color 0.2s ease;
}

.faq__item[data-open='true'] .faq__icon {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq__item[data-open='true'] .faq__a {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  color: var(--muted);
  font-size: 0.93rem;
  padding: 0 50px 22px 2px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.form-section h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.8rem);
  margin: 18px 0 18px;
}

.form-section > div > p {
  color: var(--muted);
  max-width: 40ch;
}

.assurances {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.assurances li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--ink-2);
}

.assurances svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.form-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-card__head h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.form-card__head span {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.steps {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.steps__item {
  flex: 1;
  display: grid;
  gap: 8px;
}

.steps__bar {
  height: 3px;
  border-radius: 999px;
  background: var(--line-2);
  transition: background 0.3s ease;
}

.steps__item[data-state='done'] .steps__bar,
.steps__item[data-state='current'] .steps__bar {
  background: var(--ink);
}

.steps__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

.steps__item[data-state='current'] .steps__label {
  color: var(--ink);
}

.form-step[hidden] {
  display: none;
}

.field {
  margin-bottom: 16px;
}

.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label,
.fieldset__legend {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 0.93rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237b8288' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8adb1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(16, 19, 21, 0.08);
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--danger);
}

.field__error {
  display: block;
  margin-top: 6px;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--danger);
}

.field__error:empty {
  display: none;
}

.field__hint {
  display: block;
  margin-top: 6px;
  font-size: 0.79rem;
  color: var(--muted);
}

.fieldset {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
  min-width: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Chips are real radios/checkboxes so the form submits without JavaScript. The
   input is hidden *inside* its own label — never taken out of flow to the top
   of the page, which would make focusing it scroll the visitor to the hero. */
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  font-size: 0.84rem;
  line-height: 1.3;
  color: var(--ink-2);
  cursor: pointer;
  margin-bottom: 0;
  transition: all 0.16s ease;
}

.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--ink);
}

.chip:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.chip[aria-pressed='true'],
.chip[data-checked='true'],
.chip:has(input:checked) {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 5px 0;
  font-size: 0.88rem;
  color: var(--ink-2);
  cursor: pointer;
  margin-bottom: 0;
}

.check input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--ink);
  flex-shrink: 0;
}

/* Honeypot — hidden from people, visible to bots */
.kpa-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.form-actions .btn--dark {
  margin-left: auto;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.79rem;
  color: var(--muted);
}

.form-foot svg {
  color: var(--accent);
  flex-shrink: 0;
}

.form-notice {
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: #fbecea;
  border: 1px solid #e8c4bd;
  color: var(--danger);
  font-size: 0.86rem;
}

.form-success {
  text-align: center;
  padding: 14px 4px;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.form-success > p {
  color: var(--muted);
  font-size: 0.94rem;
}

.form-success__summary {
  margin: 22px 0;
  padding: 18px;
  border-radius: var(--r);
  background: var(--grey);
  text-align: left;
}

.form-success__summary dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-success__summary dd {
  margin: 2px 0 12px;
  font-size: 0.92rem;
  overflow-wrap: break-word;
}

.form-success__summary dd:last-of-type {
  margin-bottom: 0;
}

/* ==========================================================================
   Closing CTA
   ========================================================================== */
.closing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.closing .media {
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
}

.closing h2 {
  font-size: clamp(1.85rem, 4.4vw, 3.2rem);
  margin: 18px 0 20px;
  max-width: 15ch;
}

.closing p {
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 30px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: transparent;
  overflow: hidden;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(40px, 5vw, 64px) 40px;
  border-top: 1px solid var(--line);
}

.footer__about {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 34ch;
  margin: 16px 0 20px;
}

.footer h4 {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.footer li a:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  transition: all 0.18s ease;
}

.socials a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.wordmark {
  /* Sized so "Kiwi Property" spans the gutters without clipping. */
  font-size: clamp(2.2rem, 12.2vw, 10.5rem);
  font-weight: 600;
  /* Tight tracking with an opened-up gap between the two words. */
  letter-spacing: -0.04em;
  word-spacing: 0.14em;
  line-height: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  color: var(--ink);
  user-select: none;
  padding-top: 10px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer__credit {
  display: inline-block;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
}

.footer__credit a {
  font-weight: 500;
  color: var(--ink-2);
}

.footer__credit a:hover {
  color: var(--accent);
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer__bottom a:hover {
  color: var(--ink);
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
  padding-top: clamp(28px, 4.5vw, 60px);
}

.page-hero__top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(22px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(28px, 4vw, 48px);
}

.page-hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.9rem);
  margin-top: 20px;
  max-width: 15ch;
}

.page-hero__aside p {
  color: var(--muted);
  font-size: 0.99rem;
  max-width: 44ch;
  margin-bottom: 26px;
}

/* Without a photo the banner should not leave a gap above the next section. */
.page-hero--plain .page-hero__top {
  padding-bottom: 0;
}

.page-hero__figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 6.6;
}

.page-hero__figure .media {
  height: 100%;
  border-radius: 0;
}

/* Lead paragraphs — the client's own words, given room to breathe */
.lede {
  max-width: 62ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.lede p {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--ink-2);
  line-height: 1.55;
}

.lede p + p {
  margin-top: 20px;
}

.lede__strong {
  display: inline-block;
  padding: 16px 22px;
  border-radius: var(--r);
  background: var(--accent-soft);
  color: var(--accent) !important;
  font-weight: 500;
}

.promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}

.promise {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.promise:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.promise__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grey);
  color: var(--accent);
  margin-bottom: 16px;
}

.promise h3 {
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.promise p {
  font-size: 0.91rem;
  color: var(--muted);
}

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(24px, 4vw, 52px);
  border-radius: var(--r-xl);
  background: var(--grey);
}

.callout h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin: 16px 0 14px;
  max-width: 18ch;
}

.callout p {
  color: var(--muted);
  max-width: 52ch;
}

/* ---- Contact ---- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.contact__aside h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin: 18px 0 16px;
  max-width: 16ch;
}

.contact__aside > p {
  color: var(--muted);
  max-width: 42ch;
}

.info-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r);
  background: var(--grey);
}

.info-list__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--accent);
  flex-shrink: 0;
}

.info-list small {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.info-list a,
.info-list strong {
  font-size: 0.96rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.info-list a:hover {
  color: var(--accent);
}

/* ---- 404 ---- */
.notfound {
  text-align: center;
  padding-block: clamp(70px, 12vw, 160px);
}

.notfound h1 {
  font-size: clamp(1.85rem, 4.5vw, 3.2rem);
  margin: 20px 0 16px;
}

.notfound p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto;
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

/* ==========================================================================
   Editor / generic WordPress content
   ========================================================================== */
.entry {
  max-width: 74ch;
  margin-inline: auto;
}

.entry__head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.entry__head h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin-top: 18px;
}

.entry__meta {
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--muted);
}

.entry__media {
  margin-bottom: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.entry__content > * + * {
  margin-top: 20px;
}

.entry__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-top: 40px;
}

.entry__content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 32px;
}

.entry__content p,
.entry__content li {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
}

.entry__content ul,
.entry__content ol {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.entry__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry__content img,
.entry__content iframe {
  max-width: 100%;
  height: auto;
  border-radius: var(--r);
}

.entry__content blockquote {
  margin: 0;
  padding: 18px 24px;
  border-left: 3px solid var(--accent);
  background: var(--grey);
  border-radius: 0 var(--r) var(--r) 0;
}

.entry__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.entry__content th,
.entry__content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.entry__content pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: var(--r);
  background: var(--grey);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.post-card .media {
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
}

.post-card h2 {
  font-size: 1.12rem;
  font-weight: 600;
}

.post-card p {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 56px);
}

.pagination .page-numbers {
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.88rem;
}

.pagination .page-numbers.current {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ==========================================================================
   Entrance animations

   Elements are only hidden when the `kpa-js` class is present, so the page
   stays fully readable if JavaScript never runs.
   ========================================================================== */
.kpa-js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.7, 0.2, 1),
    transform 0.75s cubic-bezier(0.22, 0.7, 0.2, 1);
  transition-delay: calc(var(--reveal-delay, 0) * 80ms);
}

.kpa-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Photography settles out of a slow push-in as its block arrives. */
.kpa-js [data-reveal].hero__figure img,
.kpa-js [data-reveal].page-hero__figure img,
.kpa-js [data-reveal].entry__media img {
  transform: scale(1.07);
}

.kpa-js [data-reveal].is-visible.hero__figure img,
.kpa-js [data-reveal].is-visible.page-hero__figure img,
.kpa-js [data-reveal].is-visible.entry__media img {
  transform: none;
  transition: transform 1.3s cubic-bezier(0.22, 0.7, 0.2, 1), opacity 0.4s ease;
}

/* The trust chips flick up one after another once the photo has landed. */
.kpa-js [data-reveal] .hero__chip {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.kpa-js [data-reveal].is-visible .hero__chip {
  opacity: 1;
  transform: none;
}

.kpa-js [data-reveal].is-visible .hero__chip:nth-child(1) { transition-delay: 0.45s; }
.kpa-js [data-reveal].is-visible .hero__chip:nth-child(2) { transition-delay: 0.55s; }
.kpa-js [data-reveal].is-visible .hero__chip:nth-child(3) { transition-delay: 0.65s; }

/* Header drops in once on load. */
.kpa-js .header {
  animation: kpa-header-in 0.7s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

@keyframes kpa-header-in {
  from {
    opacity: 0;
    transform: translate3d(0, -12px, 0);
  }
}

/* ==========================================================================
   Responsive — desktop → tablet → phone
   ========================================================================== */

/* Small desktop / large tablet landscape */
@media (max-width: 1180px) {
  .articles {
    grid-template-columns: repeat(2, 1fr);
  }

  .article--short {
    margin-top: 0;
  }

  .article .media,
  .article--short .media {
    aspect-ratio: 4 / 3;
  }

  .faq__a p {
    padding-right: 24px;
  }
}

/* Tablet landscape */
@media (max-width: 1080px) {
  .cards,
  .quotes,
  .process,
  .promises {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__cols {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__cols > div:first-child {
    grid-column: 1 / -1;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__top {
    grid-template-columns: 1.1fr 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }
}

/* Tablet portrait — the primary nav collapses to the burger here */
@media (max-width: 1000px) {
  .nav {
    display: none;
  }

  .burger {
    display: grid;
  }

  .mobile-nav--open {
    display: flex;
  }

  .header__actions .btn--dark {
    padding: 10px 10px 10px 18px;
    font-size: 0.86rem;
  }
}

@media (max-width: 900px) {
  .header__phone {
    display: none;
  }

  .hero__top,
  .page-hero__top,
  .about,
  .faq,
  .form-section,
  .closing,
  .contact,
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-head h2,
  .about h2,
  .faq h2,
  .form-section h2,
  .closing h2,
  .contact__aside h2 {
    max-width: 18ch;
  }

  .page-hero h1,
  .hero h1 {
    max-width: none;
  }

  .page-hero__figure {
    aspect-ratio: 16 / 9;
  }

  .about .media,
  .closing .media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .ruled::before {
    display: none;
  }

  .hero__figure {
    aspect-ratio: 16 / 9.5;
  }

  .assurances,
  .info-list {
    margin-top: 24px;
  }
}

/* Large phone / small tablet */
@media (max-width: 760px) {
  :root {
    --header-h: 66px;
  }

  .header__actions .btn--dark span:not(.btn__dot) {
    display: none;
  }

  .cards,
  .quotes,
  .process,
  .articles,
  .promises,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .process {
    gap: 22px;
  }

  .filters {
    /* Region pills scroll sideways instead of stacking into a tall block */
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .callout .btn {
    width: 100%;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer__about {
    max-width: none;
  }

  .footer__bottom {
    justify-content: flex-start;
  }
}

/* Phone */
@media (max-width: 620px) {
  .field__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-hero__figure {
    aspect-ratio: 4 / 3.2;
  }

  /* Keep the trust chips — move them below the photo rather than hide them */
  .hero__stats {
    position: static;
    margin-top: 14px;
    gap: 8px;
  }

  .hero__figure {
    overflow: visible;
    border-radius: var(--r-lg);
    aspect-ratio: auto;
  }

  .hero__figure .media {
    position: static;
    aspect-ratio: 4 / 3.2;
    border-radius: var(--r-lg);
  }

  .hero__figure::after {
    display: none;
  }

  .hero__chip {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .faq__a p {
    padding-right: 8px;
  }

  .faq__q {
    gap: 14px;
    font-size: 0.95rem;
  }

  .band {
    border-radius: var(--r-lg);
    width: 100%;
  }

  .quote,
  .promise {
    padding: 22px 20px;
  }

  .steps__label {
    font-size: 0.66rem;
  }

  .form-card__head h3 {
    font-size: 1.15rem;
  }

  .stat {
    flex: 1 1 130px;
    padding: 16px;
  }

  .info-list li {
    padding: 12px 14px;
  }

  .notfound__actions .btn {
    width: 100%;
  }

  .footer__credit {
    display: block;
    margin: 6px 0 0;
    padding-left: 0;
    border-left: 0;
  }
}

/* Small phone */
@media (max-width: 420px) {
  .logo {
    font-size: 0.78rem;
    gap: 7px;
  }

  .logo__mark {
    width: 24px;
    height: 24px;
  }

  .header__actions {
    gap: 8px;
  }

  .footer__cols {
    grid-template-columns: 1fr;
  }

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

  .card__foot {
    gap: 4px;
  }

  .form-success__summary {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Everything is shown outright rather than animated in. */
  .kpa-js [data-reveal],
  .kpa-js [data-reveal] .hero__chip {
    opacity: 1 !important;
    transform: none !important;
  }

  .kpa-js [data-reveal] img {
    transform: none !important;
  }
}
