/* ==========================================================================
   Ooranya Estate — Landing page
   Built from Figma: YA-4982 Ooranya Estate LP (node 204:1494)
   ========================================================================== */

/* Tokens (from Figma styles) ------------------------------------------------ */
:root {
  --off-black: #151515;
  --grey: #5e5e5e;
  --grey-2: #2d2e2e;
  --dark-blue: #062d49;
  --dark-blue-form: #062c49;
  --teal: #00b6af;
  --off-white: #e5e4e0;
  --white: #ffffff;
  --page: #fafafa;
  --off-blue: #f2f2f5;
  --input: #f6f6f6;
  --placeholder: #ababab;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 85px;
  --section-y: 150px;
  --max: 1440px;

  --ease: cubic-bezier(0, 0, 0.58, 1); /* Figma "Ease out" */
  --dur: 0.3s;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--off-black);
  font-family: var(--font);
  font-size: 16px;
  line-height: 22px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }

html.is-locked { overflow: hidden; }

/* Typography (Figma "Inter Styles") ----------------------------------------- */
.t-h1 { font-size: 48px; line-height: 1; font-weight: 500; }
.t-h2 { font-size: 36px; line-height: 1.2; font-weight: 500; }
.t-h3 { font-size: 24px; line-height: 44.044px; font-weight: 400; }
.t-h4 { font-size: 16px; line-height: 22px; font-weight: 500; }
.t-body { font-size: 16px; line-height: 22px; font-weight: 400; }
.t-body2 { font-size: 14px; line-height: 16.5px; font-weight: 400; }
.t-clause { font-size: 10px; line-height: 13px; font-weight: 400; }
.text-grey { color: var(--grey); }

/* Layout -------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
/* Figma: these follow another padded section on the same background,
   so they drop their top padding and share the gap above. */
.testimonials,
.faq { padding-top: 0; }

/* Buttons (Figma "Button" component) --------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn--white { background: var(--page); color: var(--off-black); }
.btn--white:hover { background: var(--off-white); }
.btn--dark-blue { background: var(--dark-blue); color: var(--page); }
.btn--dark-blue:hover { background: var(--teal); }
.btn--black { background: var(--off-black); color: var(--page); height: 40px; }
.btn--black:hover { background: var(--teal); }

.btn:focus-visible,
.btn-submit:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Header -------------------------------------------------------------------- */
.site-header { background: var(--page); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  min-height: 88px;
}

.logo {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 230px;
  aspect-ratio: 230 / 34;
}
.logo__mark {
  position: absolute;
  left: 0;
  top: 0;
  width: 38.45%;
  height: 100.02%;
}
.logo__word {
  position: absolute;
  left: 41.24%;
  top: 2.75%;
  width: 58.76%;
  height: 94.46%;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
.site-header__phone {
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: var(--dark-blue);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.site-header__phone:hover { color: var(--teal); }

/* Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--page);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg,
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__bg { z-index: -1; }
.hero__bg img {
  object-fit: cover;
  object-position: 50% 35%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    /* extra shade behind the headline for legibility, fading out by ~70% across */
    linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0) 70%),
    /* Figma gradient */
    linear-gradient(107.86deg, rgba(0, 0, 0, 0.35) 41.547%, rgba(0, 0, 0, 0) 96.742%);
}
.hero__inner {
  display: flex;
  align-items: flex-end;
  min-height: 760px;
  padding-block: 85px;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.hero__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}
.hero__text {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.hero__title { max-width: 537px; }
.hero__sub { max-width: 385px; }
.hero__stat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__line { width: 1px; height: 38px; flex-shrink: 0; }
.hero__stat p { max-width: 385px; }

/* Intro --------------------------------------------------------------------- */
.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.intro__title { max-width: 491px; }
.intro__copy { max-width: 752px; }
.intro__copy p + p,
.north__copy p + p,
.faq__copy p + p { margin-top: 22px; }

/* Split (text + photo) ------------------------------------------------------ */
/* The whole section is capped at the 1440px Figma frame and centred, so the photo
   stops at 720px and sits beside the text; wider screens get blank space on both sides. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  min-height: 550px;
}
.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split--text-left .split__text { padding: 47.5px var(--gutter); }
.split--text-right .split__text { padding: 55px calc(var(--gutter) - 33px) 55px var(--gutter); }

.split__media {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.media-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Crops below mirror the Figma image transforms exactly at the design size and
   stay undistorted (object-fit: cover) at every other size. */
.media-crop {
  position: absolute;
  max-width: none;
  object-fit: cover;
}
.media-crop--melbourne { width: 131.72%; height: 115%; left: -15.82%; top: -14.86%; }

/* Four reasons */
.reasons {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 550px;
}
.reasons__grid {
  display: grid;
  /* 216.75px in Figma; +5px absorbs browser vs Figma Inter metrics so lines break the same */
  grid-template-columns: repeat(2, 222px);
  justify-content: space-between;
  row-gap: 25px;
}
.reason {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reason__num--alt { color: var(--grey-2); }

/* Where Melbourne's north is heading */
.north {
  display: flex;
  flex-direction: column;
  gap: 34px;
  max-width: 583px;
}
.north__title { max-width: 400px; }

/* The full picture ---------------------------------------------------------- */
.picture { padding-bottom: 112px; }
.picture__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 45px;
}
.picture__intro {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 400px;
  flex-shrink: 0;
}
.picture__data {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 590px;
  max-width: 100%;
}
.cost-table__row {
  display: grid;
  grid-template-columns: 313px 1fr;
  align-items: center;
  min-height: 51px;
  padding: 14.5px 20px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 22px;
  color: var(--off-black);
}
.cost-table__row--shaded { background: var(--off-blue); }
.cost-table__row dd { white-space: nowrap; }
.picture__note {
  max-width: 400px;
  color: rgba(94, 94, 94, 0.75);
}

/* Video band ---------------------------------------------------------------- */
.video-band {
  position: relative;
  height: 550px;
  background: var(--page);
  overflow: hidden;
}
.video-band__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Connect with us ----------------------------------------------------------- */
.connect .container {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.connect__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.connect__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.connect__text h2 { max-width: 416px; }
.connect__text p { white-space: nowrap; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 25px;
  min-width: 0;
}
.feature__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 298.676 / 316.726;
}
.crop {
  position: absolute;
  max-width: none;
}
.crop--titles    { width: 212%;    height: 133.33%; left: -28.78%; top: -31.26%; }
.crop--builder   { width: 159.18%; height: 100.09%; left: -42.07%; top: 0; }
.crop--appraisal { width: 150.77%; height: 213.01%; left: 0;       top: -67.13%; }
.crop--managed   { width: 268.43%; height: 379.65%; left: -79.39%; top: -211.36%; }
.feature__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Cards (testimonials + stats) ---------------------------------------------- */
.card {
  background: var(--off-blue);
  border: 1px solid var(--off-blue);
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonials__title { max-width: 432px; margin-bottom: 50px; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.testimonial {
  justify-content: flex-end;
  min-height: 209px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
}
.stat--third { grid-column: span 2; min-height: 144px; }
/* Figma's 135px card overflows its 25px padding; 17px bottom keeps it at 135px */
.stat--half { grid-column: span 3; min-height: 135px; padding-bottom: 17px; }
.stat { container-type: inline-size; }
/* Figma's 44px line-height only suits single-line titles. Once a card is narrower
   than at 1440px its title can wrap, so tighten the leading based on the card width. */
@container (max-width: 405px) {
  .stat .t-h3 { line-height: 1.35; }
}
.stat__title--tight { line-height: 36px; }

/* FAQ ----------------------------------------------------------------------- */
.faq__inner {
  display: flex;
  align-items: flex-start;
}
.faq__head { width: 635px; flex-shrink: 0; }
.faq__head h2 { max-width: 400px; }
.faq__body { flex: 1 1 0; min-width: 0; }
.faq__copy { max-width: 583px; }

/* Investor report CTA ------------------------------------------------------- */
.cta {
  position: relative;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.cta__bg img {
  position: absolute;
  max-width: none;
  left: 0;
  top: -27.18%;
  width: 100%;
  height: 130.63%;
  object-fit: cover;
  transform: scaleX(-1); /* image is flipped horizontally in Figma */
}
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(-15.99deg, rgba(0, 0, 0, 0.54) 15.562%, rgba(0, 0, 0, 0) 26.262%),
    linear-gradient(107.2deg, rgba(0, 0, 0, 0.54) 31.645%, rgba(0, 0, 0, 0) 69.891%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
}
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-top: 100px;
  padding-bottom: 25px;
}
.cta__row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 438px;
}
.cta__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
  width: 635px;
  max-width: 100%;
}
/* 531px in Figma; 520px keeps the same line break with browser Inter metrics */
.cta__title { max-width: 520px; color: var(--page); }
.cta__copy { max-width: 491px; }
.cta__talk { color: var(--page); }
.cta__talk a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 6%;
  text-underline-offset: 2px;
  text-decoration-skip-ink: none;
  transition: text-decoration-color var(--dur) var(--ease);
}
.cta__talk a:hover { text-decoration-color: currentColor; }
.cta__disclaimer {
  display: flex;
  justify-content: flex-end;
  width: 635px;
  max-width: 100%;
}
.cta__disclaimer p {
  max-width: 519px;
  text-align: right;
  color: rgba(255, 255, 255, 0.75);
}

/* Form overlay (Figma "Form Overlay" — dissolve, 0.3s ease out) ------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.overlay.is-open { opacity: 1; }
.overlay[hidden] { display: none; }

.overlay__scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  padding: 48px 24px;
}
.overlay__panel {
  position: relative;
  width: 974px;
  max-width: 100%;
  margin: auto;
}
.overlay__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease);
}
.overlay__close:hover { background: rgba(255, 255, 255, 0.12); }

.overlay__title {
  max-width: 549px;
  margin: 0 auto 66px;
  text-align: center;
  color: var(--white);
}

.report-form {
  background: var(--white);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.report-form__fields {
  display: flex;
  flex-direction: column;
  gap: 11.83px;
}
.report-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11.746px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 11.746px;
  min-width: 0;
}

.input {
  width: 100%;
  border: 0;
  border-radius: 3.915px;
  background: var(--input);
  padding: 16.64px 15.661px;
  font-size: 16px;
  line-height: 22px;
  color: var(--off-black);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--placeholder); opacity: 1; }
.input:hover { box-shadow: inset 0 0 0 1px rgba(45, 46, 46, 0.2); }
.input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--off-black); }
.input.is-invalid { box-shadow: inset 0 0 0 1px #c0392b; }

.choice-group {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.choice-group legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 11.83px;
}
.choice-group__grid {
  clear: both;
  display: grid;
  gap: 11.746px;
}
.choice-group__grid--2 { grid-template-columns: repeat(2, 1fr); }
.choice-group__grid--3 { grid-template-columns: repeat(3, 1fr); }

.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.choice span {
  display: block;
  padding: 16.64px 15.661px;
  border-radius: 3.915px;
  background: var(--input);
  text-align: center;
  font-size: 16px;
  line-height: 22px;
  color: var(--off-black);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow var(--dur) var(--ease);
}
/* Hover = Figma "Hover" variant, checked = "Click" variant */
.choice:hover span { box-shadow: inset 0 0 0 1px rgba(45, 46, 46, 0.2); }
.choice input:checked + span {
  box-shadow: inset 0 0 0 1px var(--off-black), 0 4px 2px rgba(0, 0, 0, 0.1);
}
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.btn-submit {
  width: 100%;
  min-height: 49.92px;
  padding: 13.64px 29.365px;
  border-radius: 3.21px;
  background: var(--dark-blue-form);
  color: var(--white);
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  text-align: center;
  transition: background-color var(--dur) var(--ease);
}
.btn-submit:hover { background: var(--teal); }

.report-form__includes {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 16px;
  padding-inline: 10px;
}
.report-form__includes li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  line-height: 22px;
  color: var(--grey);
  white-space: nowrap;
}
.report-form__includes li::before {
  content: "";
  width: 3px;
  height: 3px;
  flex-shrink: 0;
  background: url("bullet.svg") center / 3px 3px no-repeat;
}

/* Thank you page ------------------------------------------------------------ */
.thanks {
  position: relative;
  color: var(--page);
  overflow: hidden;
  isolation: isolate;
}
.thanks__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.thanks__bg img {
  position: absolute;
  max-width: none;
  left: 0;
  top: -25.43%;
  width: 100%;
  height: 191.91%;
  object-fit: cover;
}
.thanks__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(104.18deg, rgba(0, 0, 0, 0.15) 31.645%, rgba(0, 0, 0, 0) 69.891%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.56) 100%);
}
.thanks__inner {
  display: flex;
  align-items: center;
  min-height: 750px;
  padding-block: 100px;
}
.thanks__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  max-width: 635px;
}
/* 562px in Figma; widened so "Your report is on it’s way" stays on one line with browser Inter metrics */
.thanks__title { max-width: 635px; }
.thanks__copy { max-width: 591px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Large tablet / small laptop */
@media (max-width: 1199px) {
  :root {
    --gutter: 48px;
    --section-y: 112px;
  }
  .t-h1 { font-size: 44px; }
  .t-h2 { font-size: 32px; }

  .hero__inner { min-height: 680px; padding-block: 64px; }
  .hero__content { gap: 96px; }

  .split--text-left .split__text,
  .split--text-right .split__text { padding: 64px var(--gutter); }
  .reasons__grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .reasons h2 br { display: none; }

  .picture__intro { width: auto; flex: 1 1 0; }
  .picture__data { flex: 0 1 590px; }
  .cost-table__row { grid-template-columns: 53% 1fr; }

  .video-band { height: 460px; }

  .features { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }

  .stat--third,
  .stat--half { min-height: 135px; }

  .faq__head { width: 50%; padding-right: 32px; }

  .cta__row { min-height: 400px; }
}

/* Tablet: stack the two-column layouts */
@media (max-width: 991px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split--text-left .split__text,
  .split--text-right .split__text { padding: var(--section-y) var(--gutter); }
  .split__media { aspect-ratio: 720 / 550; min-height: 0; }
  .reasons { max-width: none; }

  .picture__inner { flex-direction: column; gap: 40px; }
  .picture__intro { flex: none; }
  .picture__data { flex: none; width: 100%; }

  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonial { min-height: 0; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat--third,
  .stat--half { grid-column: span 1; }
  .stat--half:last-child { grid-column: 1 / -1; }

  .faq__inner { flex-direction: column; gap: 30px; }
  .faq__head { width: auto; padding-right: 0; }

  .cta__row { min-height: 0; }
  .cta__inner { gap: 64px; padding-top: 96px; }

  /* Once stacked, neighbouring sections on the page background would double up
     their padding (2 × section-y). Collapse so every section break is one section-y. */
  .intro { padding-bottom: 0; }
  .stats { padding-top: 0; }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-y: 96px;
    /* mobile spacing rhythm */
    --gap-heading: 24px; /* heading → its content */
    --gap-group: 40px;   /* between groups of content */
    --gap-card: 16px;    /* between cards */
  }
  .t-h1 { font-size: 36px; }
  .t-h2 { font-size: 28px; }
  .t-h3 { font-size: 22px; line-height: 1.4; }

  .site-header__inner { padding-block: 18px; min-height: 72px; }
  .logo { width: 170px; }
  .site-header__actions { gap: 20px; }

  .hero__inner { min-height: 640px; padding-block: 48px; }
  .hero__content { gap: 64px; }
  /* text spans the full width on mobile, so extend the design's left-side shade */
  .hero__bg::after {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0) 70%),
      linear-gradient(107.86deg, rgba(0, 0, 0, 0.35) 41.547%, rgba(0, 0, 0, 0) 96.742%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  }
  .cta__bg::after {
    background-image:
      linear-gradient(-15.99deg, rgba(0, 0, 0, 0.54) 15.562%, rgba(0, 0, 0, 0) 26.262%),
      linear-gradient(107.2deg, rgba(0, 0, 0, 0.54) 31.645%, rgba(0, 0, 0, 0) 69.891%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
  }

  .intro__inner { gap: var(--gap-heading); }

  .reasons { gap: var(--gap-heading); }
  .reasons__grid { row-gap: 32px; }
  .reason__num { font-size: 44px; line-height: 1.1; }
  .north { gap: var(--gap-heading); }

  .picture { padding-bottom: var(--section-y); }
  .picture__inner { gap: var(--gap-heading); }

  .video-band { height: auto; aspect-ratio: 4 / 3; }

  .connect .container { gap: var(--gap-group); }
  .connect__head { gap: var(--gap-heading); }
  .connect__text p { white-space: normal; }
  .connect__text p br { display: none; }
  .features { row-gap: var(--gap-group); }
  .feature { gap: 20px; }

  .testimonials__title { margin-bottom: var(--gap-heading); }
  .testimonials__grid { gap: var(--gap-card); }

  .stats__grid { grid-template-columns: 1fr; gap: var(--gap-card); }
  .stat--half:last-child { grid-column: auto; }
  .stat { gap: 12px; }

  /* long-form copy: a touch more leading and paragraph space so it reads less dense */
  .intro__copy,
  .north__copy,
  .faq__copy,
  .cta__copy,
  .thanks__copy { line-height: 24px; }
  .intro__copy p + p,
  .north__copy p + p,
  .faq__copy p + p { margin-top: 24px; }

  .faq__inner { gap: 32px; }

  .cta__inner { padding-top: 120px; padding-bottom: 40px; gap: 96px; }
  .cta__content { gap: 40px; }
  .cta__title { line-height: 1.12; }
  .cta__copy { line-height: 26px; }
  .cta__talk { margin-top: -16px; } /* keep it paired with the button above (24px) */
  .cta__disclaimer p { line-height: 15px; }
  .cta__disclaimer,
  .cta__disclaimer p { text-align: left; justify-content: flex-start; max-width: none; width: 100%; }

  .thanks__inner { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); padding-block: var(--section-y); }
  .thanks__content { gap: var(--gap-heading); }

  /* Form overlay */
  .overlay__scroll { padding: 72px 16px 24px; }
  .overlay__close { top: 14px; right: 12px; }
  .overlay__title { margin-bottom: 32px; }
  .report-form { padding: 20px; }
  .report-form__row { grid-template-columns: 1fr; gap: 11.83px; }
  .choice span { padding-inline: 8px; }
  .report-form__includes { justify-content: flex-start; padding-inline: 0; }
}

/* Small mobile */
@media (max-width: 599px) {
  .site-header__phone { display: none; }
  .site-header__phone--always { display: inline; }
  .site-header__inner { gap: 12px; }
  .site-header .btn { padding-inline: 12px; }
  .logo { width: 132px; }

  .reasons__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }

  .cost-table__row { grid-template-columns: 1fr 1fr; column-gap: 12px; padding-inline: 14px; }
  .cost-table__row dd { white-space: normal; }

}

/* Full-window hero on desktop/laptop (992px+).
   Header (88px) + hero fill the browser window so the image reaches the bottom
   edge before scrolling. The headline block is centred vertically in the hero;
   the "$500/wk" line stays pinned to the bottom. */
@media (min-width: 992px) {
  /* Footer CTA: taller than Figma's 612px so the copy has room to breathe */
  .cta__inner { padding-top: 150px; padding-bottom: 40px; gap: 56px; }
  .cta__row { min-height: 520px; }
  .cta__content { gap: 32px; }
  .cta__title { line-height: 1.08; }
  .cta__copy { line-height: 26px; }
  .cta__talk { margin-top: -8px; } /* keeps it paired with the button (24px) */

  .hero__inner {
    min-height: calc(100vh - 88px);
    min-height: calc(100svh - 88px);
    align-items: stretch;
    /* lifts the "$500/wk" line (and with it the headline) off the bottom edge;
       grows with window height: ~126px at 900px tall, ~168px at 1200px */
    padding-bottom: clamp(85px, 14vh, 200px);
  }
  /* Column: [spacer] [headline block] [stat area]. The spacer and the stat area
     grow equally, so the headline sits in the centre of the hero. On short windows
     the spacer shrinks first, keeping at least 64px above the "$500/wk" line
     without pushing the hero past the window. */
  .hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .hero__content::before {
    content: "";
    flex: 0.8 1 0; /* slightly less space above than below: headline sits a touch above centre */
  }
  .hero__top { flex: none; }

  /* Hero copy scales with the window (whichever of width/height is tighter), so it
     stays in proportion with the full-window image. Figma sizes are the minimums;
     the headline grows from 48px to a 60px cap (reached around 1366×860).
     Text-box widths are set in em so the line breaks stay the same as Figma. */
  .hero__title {
    font-size: clamp(48px, min(4.4vw, 7vh), 60px);
    max-width: 11.2em;            /* 537px at 48px */
  }
  .hero__sub {
    font-size: clamp(16px, min(1.4vw, 2.2vh), 19px);
    line-height: 1.375;           /* 22px at 16px */
    max-width: 24.1em;            /* 385px at 16px */
  }
  .hero__text { gap: clamp(15px, min(1.4vw, 2.2vh), 19px); }
  .hero__top { gap: clamp(40px, min(3.4vw, 5.4vh), 48px); }
  .hero .hero__top .btn {
    font-size: clamp(14px, min(1.1vw, 1.75vh), 16px);
    line-height: 1.715;           /* 24px at 14px */
    padding: 0.57em 1.15em;       /* 8px 16px at 14px */
  }
  .hero__stat { font-size: clamp(16px, min(1.25vw, 2vh), 18px); }
  .hero__stat p {
    font-size: 1em;
    line-height: 1.375;
    max-width: 24.1em;
  }
  .hero__line { height: 2.375em; } /* 38px at 16px */

  .hero__stat {
    flex: 1 1 0;
    min-height: calc(64px + 2.75em); /* 64px breathing room + the two-line stat text */
    flex-wrap: wrap;
    align-content: flex-end; /* pin the line + text to the bottom, still centred to each other */
  }
}

/* Very small phones (e.g. 320px): keep logo + button on one line */
@media (max-width: 359px) {
  .logo { width: 104px; }
  .site-header .btn { font-size: 13px; padding-inline: 10px; }
}

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

/* ==========================================================================
   WordPress additions (not in the static design)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 8px 16px;
  background: var(--dark-blue);
  color: var(--white);
  border-radius: 3px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.admin-bar .skip-link { top: calc(8px + var(--wp-admin--admin-bar--height, 32px)); }
.admin-bar .overlay__close { top: calc(20px + var(--wp-admin--admin-bar--height, 32px)); }

/* Form status and Turnstile */
.form-status { margin-top: -8px; font-size: 14px; line-height: 20px; color: var(--grey); text-align: center; }
.form-status:empty { display: none; }
.enquiry-turnstile { display: flex; justify-content: center; line-height: 0; }
.enquiry-turnstile:empty { display: none; }
.report-form[aria-busy="true"] .btn-submit { opacity: 0.7; cursor: progress; }

/* Plain pages (Leads, 404 etc.) */
.oe-native .native-content { min-height: 50vh; padding-block: 64px 96px; }
.native-content article { max-width: 760px; }
.native-content article > * + * { margin-top: 1em; }
.native-content h1 { margin-bottom: 24px; }
.native-content :is(ul, ol) { list-style: revert; padding-inline-start: 1.5em; }
.native-content a:not(.btn) { text-decoration: underline; }

/* Leads page */
.leads-page { max-width: none; }
.leads-page .button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 3px; background: var(--dark-blue); color: var(--page);
  font-size: 14px; line-height: 20px; font-weight: 500; transition: background-color var(--dur) var(--ease);
}
.leads-page .button:hover { background: var(--teal); }
.leads-page .button.outline { background: transparent; color: var(--dark-blue); box-shadow: inset 0 0 0 1px var(--dark-blue); }
.leads-page .button.outline:hover { background: var(--off-blue); }
.leads-page .post-password-form { max-width: 480px; }
.leads-page .post-password-form p { margin-bottom: 12px; }
.leads-page .post-password-form label { display: block; }
.leads-page .post-password-form input[type="password"] {
  display: block; width: 100%; margin-top: 6px; padding: 12px; border: 0; border-radius: 4px;
  background: var(--input); font: inherit; box-shadow: inset 0 0 0 1px rgba(45, 46, 46, 0.2);
}
.leads-page .post-password-form input[type="submit"] {
  margin-top: 12px; padding: 8px 16px; border: 0; border-radius: 3px; background: var(--dark-blue); color: var(--page);
  font: inherit; font-weight: 500; cursor: pointer;
}
.leads-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.leads-tabs { display: flex; gap: 8px 20px; border-bottom: 1px solid #e2e2e6; margin-bottom: 16px; }
.leads-tabs a { padding: 8px 4px; border-bottom: 2px solid transparent; text-decoration: none !important; }
.leads-tabs a[aria-current="page"] { font-weight: 500; border-color: var(--dark-blue); }
.leads-notice { margin-bottom: 16px; padding: 10px 14px; background: var(--off-blue); border-radius: 4px; }
.leads-table-wrap { overflow-x: auto; border: 1px solid #e2e2e6; background: var(--white); }
.leads-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; text-align: left; }
.leads-table th, .leads-table td { padding: 12px 16px; vertical-align: top; border-bottom: 1px solid #e2e2e6; }
.leads-table th { background: var(--off-blue); font-weight: 500; white-space: nowrap; }
.leads-table tr:last-child td { border-bottom: 0; }
.leads-table td { overflow-wrap: anywhere; }
.leads-table summary { cursor: pointer; white-space: nowrap; color: var(--dark-blue); }
.leads-table dl { margin-top: 10px; min-width: 180px; }
.leads-table dt { font-weight: 500; }
.leads-table dd { margin-bottom: 8px; white-space: pre-wrap; }
.leads-table .button { padding: 6px 10px; font-size: 13px; }
.leads-note-form { min-width: 190px; margin-top: 10px; }
.leads-note-form textarea { display: block; width: 100%; margin: 4px 0 8px; padding: 8px; border: 0; border-radius: 4px; background: var(--input); font: inherit; resize: vertical; box-shadow: inset 0 0 0 1px rgba(45, 46, 46, 0.2); }
.leads-notes li { margin-top: 8px; }
.leads-notes time { font-size: 12px; font-weight: 500; }
.leads-notes p { white-space: pre-wrap; }
.leads-pagination { margin-top: 20px; }
.leads-pagination ul { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; }
.leads-pagination .current { font-weight: 500; }