/*
Theme Name: Regent Place
Theme URI: https://regentplace.ca
Author: Solid Mass Media
Author URI: https://solidmassmedia.com
Description: Custom theme for Regent Place
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: regent-place
*/

/* ─── CSS Variables ──────────────────────────────────── */
:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-rosybrown: rgba(148, 113, 97, 0.85);
  --color-tan: #c9b99a;
  --color-darkslategray: #1e3d28;
  --color-lightgray: #e8e4dc;

  --lh-60: 60px;
  --lh-24: 24px;
  --border-1: 1px solid #000000;
  --padding-32: 32px;
  --padding-0: 0px;
  --width-516: 516px;
  --width-24: 24px;

  --fs-16: 16px;
  --fs-22: 22px;
  --fs-32: 32px;

  --br-24: 24px;

  --padding-24: 24px;

  --font-helvetica-lt-std: 'Inter', sans-serif;
  --font-gotham: 'Plus Jakarta Sans', sans-serif;
}

/* ─── Container ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 24px;
  padding: 0 24px;
}

/* ─── Reset / Base ───────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  overflow-x: clip; /* clip prevents horizontal scroll without creating a scroll container — needed so position:sticky works on the footer */
}

body {
  font-family: var(--font-helvetica-lt-std);
  font-size: var(--fs-16);
  color: var(--color-white);
  background-color: #1a1a1a;
}

/* Stacks main content above the sticky footer for the slide-up reveal effect */
#content {
  position: relative;
  z-index: 1;
}

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

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

/* ─── Nav & Hero Section ─────────────────────────────── */
.nav-and-hero {
  width: 100%;
  height: 100svh;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  box-sizing: border-box;
  gap: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  text-align: center;
  font-size: var(--fs-16);
  color: var(--color-white);
  font-family: var(--font-helvetica-lt-std);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* Dark overlay so text remains legible */
.nav-and-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.nav-and-hero > * {
  position: relative;
  z-index: 1;
}

/* ─── Navigation ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: transform 0.6s ease, background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  width: 100%;
  border-radius: 0;
  background-color: var(--color-rosybrown);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-sizing: border-box;
  gap: 20px;
  flex-shrink: 0;
}

.nav--scrolled {
  background-color: rgba(26, 60, 52, 0.76);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  padding-top: 4px;
  padding-bottom: 4px;
}

/* Hide nav upward when scrolling down */
.nav--hidden {
  transform: translateX(-50%) translateY(-100%);
}

.logo {
  height: 56px;
  width: 100px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-nav-icon {
  width: 64px;
  height: auto;
  padding: 4px;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links li a {
  position: relative;
  font-weight: 300;
  font-size: var(--fs-16);
  color: var(--color-white);
  letter-spacing: 0.08em;
  transition: opacity 0.2s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.nav-links li a:hover {
  opacity: 0.75;
}

.nav-links li a:hover::after,
.nav-links li a:focus-visible::after {
  transform: scaleX(1);
}

/* Legacy .about class (kept for compatibility) */
.about {
  position: relative;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.nav-register {
  flex-shrink: 0;
}

.nav-register .button {
  padding: 10px 16px;
}

.nav-register .lorem-ipsum {
  font-size: 14px;
}

.button {
  border: 2px solid var(--color-white);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-family: var(--font-gotham);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.18);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateY(0);
}

.lorem-ipsum {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  flex-shrink: 0;
  font-size: var(--fs-16);
  letter-spacing: 0.1em;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0 40px;
  gap: 24px;
  font-size: 24px;
  font-family: var(--font-gotham);
}

#hero {
  z-index: 2;
}

.hero-title {
  position: relative;
  /* Scale fluidly so both lines stay on one line across all viewports */
  font-size: clamp(30px, 9vw, 56px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.coming-soon {
  font-weight: 300;
  letter-spacing: 0.08em;
}

.hero-title b {
  font-weight: 700;
}

.button2 {
  border: 2px solid var(--color-white);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--padding-24) 80px;
  font-size: 14px;
  font-family: var(--font-gotham);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.18);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.button2:hover,
.button2:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.button2:hover::before,
.button2:focus-visible::before {
  transform: translateY(0);
}

.lorem-ipsum2 {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.arrow-right-alt-icon {
  width: 56px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

/* ─── Second Section: Townhomes ──────────────────────── */
.townhomes-section {
  position: relative;
  width: 100%;
  padding: 60px 0 80px;
  box-sizing: border-box;
  background-size: 700px;
  background-repeat: repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.townhomes-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 0;
}

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

/* Logo */
.townhomes-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.townhomes-logo img {
  width: 80%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

/* Content grid: left photo | right (text + photo) */
.townhomes-grid {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* Clip scaled image during zoom-out animation */
.townhomes-photo-left,
.townhomes-photo-right {
  overflow: hidden;
}

/* Left tall photo */
.townhomes-photo-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right column */
.townhomes-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 0;
}

/* Title block */
.townhomes-title {
  width: 100%;
  height: auto;
  position: relative;
  font-size: 26px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-tan);
  text-align: left;
  display: inline-block;
  font-family: var(--font-gotham);
}

.seventy-nine {
  font-weight: 300;
}

/* Description */
.townhomes-description {
  width: 100%;
  height: auto;
  position: relative;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  font-family: var(--font-gotham);
  color: var(--color-tan);
  text-align: left;
  display: inline-block;
}

/* Bottom photo */
.townhomes-photo-right {
  align-self: flex-end;
}

.townhomes-photo-right img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ─── Fifth Section: Urban Convenience ──────────────── */
.urban-convenience-meets-natura {
  width: 100%;
  background-color: #d4ccbe;
  padding: 60px 24px;
  box-sizing: border-box;
}

.copy-images {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  column-gap: 0;
  row-gap: 24px;
}

/* Left tall photo — spans all rows on desktop, single row on mobile */
.image-3-icon {
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
}

.image-3-icon img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Section heading */
.section-heading {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-gotham);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-darkslategray);
  padding-top: 0;
  margin-top: 0;
}

.urban-convenience {
  font-weight: 300;
}

/* Description */
.description {
  grid-column: 1;
  grid-row: 3;
  font-family: var(--font-gotham);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-darkslategray);
  padding: 24px 0 32px;
}

/* Middle landscape photo */
.image-2-icon {
  grid-column: 1;
  grid-row: 4;
  overflow: hidden;
}

.image-2-icon img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}


/* ─── Sixth Section: Neighbourhood Map ── */
.neighbourhood-map-section {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.neighbourhood-map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}

/* Fallback placeholder shown until image is uploaded */
.neighbourhood-map-section p {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #cccccc;
  font-family: var(--font-gotham);
  font-size: 24px;
  font-weight: 300;
  color: #666666;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  width: 100%;
}

/* ─── Fourth Section: Full-width Image ──────────────── */
.full-width-image-section {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
}

.full-width-image-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none; /* override global img { max-width: 100% } so the 130% desktop width works */
  object-fit: cover;
  object-position: 0% center;
  will-change: transform;
}

.full-width-image-section--tall {
  height: auto;
  aspect-ratio: 17 / 8;
}

.full-width-image-section--tall img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  position: sticky; /* pin to viewport bottom; revealed as lifestyle section scrolls up */
  bottom: 0;
  z-index: 0;       /* sits below #content in stacking order */
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px;
  box-sizing: border-box;
  gap: 24px;
  background-size: 700px;
  background-repeat: repeat;
  background-position: center;
  text-align: left;
  font-size: 16px;
  color: var(--color-white);
  font-family: var(--font-helvetica-lt-std);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 0;
}

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

.footer__logo {
  display: flex;
  justify-content: center;
}

.footer__logo img {
  width: 70%;
  max-width: 404px;
  height: auto;
  object-fit: contain;
}

.info-and-logo {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sales-center-information-container {
  position: static;
  line-height: var(--lh-24);
  text-transform: uppercase;
}

.sales-centre-show-home-openi {
  margin-block-start: 0;
  margin-block-end: 8px;
}

.sales-centre-show-home-openi + .sales-centre-show-home-openi {
  margin-block-end: 0;
}

.register-for-updates {
  font-weight: 300;
  font-family: var(--font-helvetica-lt-std);
}

.surrey-bc {
  margin: 0;
}

.paddington-properties-ltd-whit-icon {
  position: static;
  width: 150px;
  height: auto;
  object-fit: contain;
}

.copyright {
  width: 100%;
  position: relative;
  font-size: 12px;
  line-height: 18px;
  font-weight: 300;
  font-family: var(--font-helvetica-lt-std);
  display: flex;
  align-items: center;
}

/* ─── Third Section: Spacious Homes ─────────────────── */
.spacious-homes-for-growing-fam {
  width: 100%;
  min-height: 480px;
  position: relative;
  background-color: var(--color-tan);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  box-sizing: border-box;
  isolation: isolate;
  text-align: center;
  font-size: 32px;
  line-height: 1.15;
  color: var(--color-darkslategray);
  font-family: var(--font-gotham);
}

.regent-icon-rgb-green-1-parent {
  z-index: 0;
}

.regent-icon-rgb-green-1 {
  display: block;
  width: 105px;
  height: auto;
}

.section-title {
  margin-top: 32px;
  line-height: 1.2;
  text-transform: uppercase;
  display: block;
  height: auto;
  z-index: 1;
}

.spacious-homes {
  font-weight: 300;
}

/* ─── Form Section ───────────────────────────────────── */
.form {
  position: relative;
  background-color: var(--color-tan);
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
  box-sizing: border-box;
  gap: 24px;
  text-align: center;
  font-size: 26px;
  color: var(--color-black);
  font-family: var(--font-gotham);
}

.register-title {
  width: 100%;
  height: auto;
  position: relative;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-darkslategray);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 auto 40px;
  text-align: center;
}

.register-title-txt-container {
  width: 100%;
}

.register-for {
  font-weight: 300;
}

.register-title-txt-container b {
  text-transform: none;
  font-size: var(--fs-22);
  font-weight: 500;
}

.spark-form-container {
  width: 100%;
}

.spark-form-container iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: none;
}

@media (min-width: 722px) {
  .spark-form-container iframe { height: 680px; }
}

.registration-form {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-content: start;
  gap: 32px;
  padding-top: var(--padding-32);
  padding-bottom: var(--padding-32);
  text-align: left;
  font-size: var(--fs-16);
}

.input-field {
  width: var(--width-516);
  border: var(--border-1);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--padding-0) var(--padding-32);
  grid-column: 1;
  grid-row: 1;
}

.input-field .lorem-ipsum,
.input-field2 .lorem-ipsum,
.input-field3 .lorem-ipsum,
.input-field4 .lorem-ipsum {
  position: relative;
  line-height: var(--lh-60);
}

.input-field2 {
  width: var(--width-516);
  border: var(--border-1);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--padding-0) var(--padding-32);
  grid-column: 2;
  grid-row: 1;
}

.input-field3 {
  width: var(--width-516);
  border: var(--border-1);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--padding-0) var(--padding-32);
  grid-column: 1;
  grid-row: 2;
}

.input-field4 {
  width: var(--width-516);
  border: var(--border-1);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--padding-0) var(--padding-32);
  grid-column: 2;
  grid-row: 2;
}

.input-field5 {
  width: var(--width-516);
  border: var(--border-1);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--padding-0) var(--padding-32);
  gap: 208px;
  grid-column: 1;
  grid-row: 3;
}

.lorem-ipsum5 {
  position: relative;
  line-height: var(--lh-60);
  flex-shrink: 0;
}

.arrow-drop-down-icon {
  width: var(--width-24);
  position: relative;
  max-height: 100%;
  flex-shrink: 0;
}

.input-field6 {
  width: var(--width-516);
  border: var(--border-1);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--padding-0) var(--padding-32);
  gap: 297px;
  grid-column: 2;
  grid-row: 3;
}

.checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: left;
  font-size: 15px;
}

.checkbox2 {
  height: 8px;
  width: 8px;
  position: relative;
  border: 1px solid var(--color-black);
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
}

.form .button:not(.gform_button) {
  background-color: var(--color-darkslategray);
  border: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 80px;
  font-size: 18px;
  color: var(--color-white);
  cursor: pointer;
}

.lorem-ipsum7 {
  position: relative;
  text-transform: uppercase;
}

/* ─── Gravity Forms: Register Section ───────────────── */
#register .gform_wrapper :where(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input[type="password"],
  select,
  textarea
) {
  width: 100%;
  min-height: 60px !important;
  border: 1px solid var(--color-darkslategray) !important;
  border-radius: 0 !important;
  font-size: var(--fs-16) !important;
  font-family: var(--font-gotham) !important;
  font-weight: 300 !important;
  line-height: 1.3;
  color: var(--color-darkslategray) !important;
  background: transparent !important;
  outline: 0;
  padding: 0 32px !important;
}

#register .gfield_label,
#register label {
  color: var(--color-darkslategray) !important;
}

#register .gform_wrapper select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%22292%22%20height%3D%22292%22%20viewBox%3D%220%200%20292%20292%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M287%2069.4c5.3-5.3%205.3-13.8%200-19.1L256.7%2019c-5.3-5.3-13.8-5.3-19.1%200L146%20110.5%2054.4%2019c-5.3-5.3-13.8-5.3-19.1%200L5%2050.3c-5.3%205.3-5.3%2013.8%200%2019.1l133%20133c5.3%205.3%2013.8%205.3%2019.1%200l133-133z%22%20fill%3D%22%231e3d28%22/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 0.65em auto !important;
}

#register .gform-footer,
#register .gform_footer {
  justify-content: center;
}

#register .gform_footer input[type="submit"],
#register .gform-footer input[type="submit"] {
  cursor: pointer;
  font-family: var(--font-gotham) !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center !important;
  padding: 24px 80px !important;
  line-height: 1.3;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  border: none !important;
  background-color: var(--color-darkslategray) !important;
  color: var(--color-white) !important;
  border-radius: 0 !important;
}

#register .gform_wrapper input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  opacity: 0.92;
}

/* Checkbox accent color + top-align with label */
#register .gchoice {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 30px 0;
}

#register .gchoice input[type="checkbox"] {
  accent-color: var(--color-darkslategray);
  flex-shrink: 0;
  margin-top: 3px; /* nudge to optically align with the first line of text */
}


/* ─── Team Section: Committed to Building ───────────── */
.committed-to-building-lasting {
  position: relative;
  background-color: var(--color-lightgray);
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px 0;
  box-sizing: border-box;
  gap: 8px;
  text-align: left;
  font-size: 26px;
  align-items: stretch;
  color: var(--color-black);
  font-family: var(--font-gotham);
}

.committed-to-building-lasting .copy-images {
  width: 100%;
  height: auto;
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 24px;
}

.committed-to-building-lasting .awards {
  position: static;
  width: 100%;
  height: auto;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.ga-finalist-v-2026-1-icon {
  position: static;
  width: 130px;
  height: auto;
  object-fit: contain;
}

.ha26-finalist-rgb-1-icon {
  position: static;
  width: 70px;
  height: auto;
  object-fit: contain;
}

.committed-to-building-lasting .copy {
  position: static;
  width: 100%;
  height: auto;
}

.section-title-2-container {
  position: static;
  height: auto;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-darkslategray);
  display: block;
  width: 100%;
}

.committed-to-building {
  font-weight: 300;
}

.section-subtitle {
  position: static;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 300;
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
}

.section-description {
  position: static;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
}

.committed-to-building-lasting .images {
  position: static;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.image-6-icon {
  position: static;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-5-icon {
  position: static;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-4-icon {
  position: static;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.team-photo {
  position: relative;
  overflow: hidden;
}

.team-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  pointer-events: none;
}

.team-photo-label {
  position: absolute;
  bottom: 12px;
  right: 14px;
  color: var(--color-white);
  font-family: var(--font-helvetica-lt-std);
  font-size: var(--fs-16);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  z-index: 1;
}

.team-photo-label:hover {
  text-decoration: underline;
}

.committed-to-building-lasting-child {
  width: 200px;
  height: auto;
  position: relative;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0 auto;
  margin-top: 30px;
  align-self: center;
}

/* Gravity Forms placeholder */
.gravity-form-placeholder {
  width: 100%;
  max-width: 1064px;
  min-height: 200px;
  background-color: rgba(0, 0, 0, 0.05);
  border: 2px dashed rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.05em;
}

/* ─── Responsive: Tablet (768px+) ───────────────────── */
@media (min-width: 768px) {
  /* Typography */
  .nav-and-hero                                { padding: 0 80px; }
  .button2                                     { font-size: 16px; }
  .townhomes-title                             { font-size: 36px; }
  .spacious-homes-for-growing-fam              { font-size: 36px; padding: 60px 80px; }
  .form                                        { font-size: 36px; }
  .committed-to-building-lasting               { font-size: 36px; }
  .section-title-2-container                   { line-height: 1.2; }
  .section-subtitle                            { font-size: 26px; }

  /* Layout */
  .container                                   { padding: 0; }
  .nav                                         { width: 90%; max-width: 1080px; border-radius: 0 0 var(--br-24) var(--br-24); padding: 0 32px; }
  .logo                                        { height: 88px; width: 150px; }
  .nav-links                                   { display: flex; }
  .button                                      { padding: 20px 32px; }
  .nav-register .button                        { padding: 14px 24px; }
  .nav-register .lorem-ipsum                   { font-size: 15px; }
  .townhomes-section                           { padding: 80px 0 100px; }
  .townhomes-logo img                          { width: 60%; max-width: 550px; }
  .townhomes-grid                              { grid-template-columns: 1fr 1fr; gap: 40px; }
  .townhomes-description                       { padding-right: 40px; }
  .townhomes-right                             { padding-top: 80px; gap: 40px; }
  .spacious-homes-for-growing-fam              { min-height: 540px; }
  .urban-convenience-meets-natura              { padding: 80px 0; }
  .copy-images                                 { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 0; }
  .image-3-icon                                { grid-column: 1; grid-row: 1 / 4; }
  .section-heading                             { grid-column: 2; grid-row: 1; margin-top: 40px; }
  .description                                 { grid-column: 2; grid-row: 2; padding-right: 40px; }
  .image-2-icon                                { grid-column: 2; grid-row: 3; margin-top: 30%; }
  .form                                        { padding: 80px 24px; }
  .spark-form-container iframe                 { height: 680px; }
  .committed-to-building-lasting               { padding: 80px 0; align-items: flex-start; }
  .committed-to-building-lasting .copy-images  { padding: 0 40px; }
  .neighbourhood-map-section                   { aspect-ratio: 16 / 9; }
  .townhomes-section                           { background-size: 1200px; }
  .footer                                      { background-size: 1200px; }
  .full-width-image-section                    { aspect-ratio: 16 / 9; }
  .full-width-image-section img                { top: 0; left: 0; width: 130%; height: 100%; object-position: center; }
  .full-width-image-section--tall              { aspect-ratio: 17 / 8; }
  .full-width-image-section--tall img          { width: 100%; }
  .footer                                      { padding: 60px 24px; }
  .info-and-logo                               { flex-direction: row; align-items: center; justify-content: space-between; }
  .paddington-properties-ltd-whit-icon         { width: 180px; }
  .copyright                                   { font-size: 13px; }
}

/* ─── Responsive: Desktop (1280px+) — restore originals ─ */
@media (min-width: 1280px) {
  /* Typography */
  .nav-and-hero                                 { padding: 0 420px; }
  .button2                                      { font-size: 18px; }
  .townhomes-title                              { font-size: 48px; line-height: 60px; max-width: 431px; width: 100%; height: auto; }
  .townhomes-description                        { max-width: 526px; width: 100%; height: auto; padding-right: 40px; }
  .spacious-homes-for-growing-fam               { font-size: 48px; padding: 80px 24px; }
  .section-title                                { line-height: 60px; max-width: 1080px; width: 100%; height: auto; }
  .form                                         { font-size: 48px; }
  .register-title                               { max-width: 622px; width: 100%; height: auto; line-height: var(--lh-60); }
  .register-title-txt-container b               { font-size: var(--fs-32); }
  .committed-to-building-lasting                { font-size: 48px; }
  .section-title-2-container                    { line-height: 60px; max-width: 839px; width: 100%; }
  .section-subtitle                             { font-size: 32px; line-height: 42px; max-width: 529px; width: 100%; height: auto; }
  .section-description                          { max-width: 619px; width: 100%; height: auto; }

  /* Layout */
  .nav                                          { width: 1080px; padding: 0 64px; }
  .logo                                         { height: 112px; width: 180px; }
  .button                                       { padding: 24px 40px; }
  .nav-register .button                         { padding: 16px 28px; }
  .nav-register .lorem-ipsum                    { font-size: 16px; }
  .townhomes-section                            { padding: 80px 0 100px; }
  .townhomes-logo img                           { width: 550px; max-width: none; }
  .townhomes-right                              { padding-top: 160px; gap: 40px; }
  .townhomes-photo-right img                    { max-width: 340px; }
  .spacious-homes-for-growing-fam               { min-height: 600px; }
  .section-title                                { width: 100%; height: auto; line-height: 60px; }
  .urban-convenience-meets-natura               { padding: 100px 0; }
  .copy-images                                  { column-gap: 60px; }
  .section-heading                              { margin-top: 120px; }
  .form                                         { padding: 112px 0; }
  .spark-form-container iframe                  { height: 680px; }
  .committed-to-building-lasting                { padding: 100px 0; }
  .committed-to-building-lasting .copy-images   { display: grid; grid-template-columns: 1fr 280px; grid-template-rows: auto auto; gap: 40px 32px; height: auto; position: static; padding: 0; }
  .committed-to-building-lasting .awards        { grid-column: 1; grid-row: 1; position: static; width: 70%; height: auto; display: flex; align-items: center; justify-content: flex-start; gap: 24px; }
  .ga-finalist-v-2026-1-icon                    { position: static; width: 150px; height: auto; object-fit: contain; }
  .ha26-finalist-rgb-1-icon                     { position: static; width: 90px; height: auto; object-fit: contain; }
  .committed-to-building-lasting .copy          { grid-column: 1; grid-row: 2; position: static; width: 100%; height: auto; }
  .section-title-2-container                    { position: static; height: auto; }
  .section-subtitle                             { position: static; }
  .section-description                          { position: static; }
  .committed-to-building-lasting .images        { grid-column: 2; grid-row: 1 / 3; position: static; width: 100%; height: auto; display: flex; flex-direction: column; gap: 48px; }
  .image-6-icon                                 { position: static; width: 100%; height: auto; }
  .image-5-icon                                 { position: static; width: 100%; height: auto; }
  .image-4-icon                                 { position: static; width: 100%; height: auto; }
  .committed-to-building-lasting-child          { width: 220px; height: auto; margin: 40px 0 0; align-self: flex-start; }
  .full-width-image-section--tall               { aspect-ratio: 17 / 8; }
  .footer                                       { padding: 74px 0; }
  .info-and-logo                                { max-width: 1080px; width: 100%; height: auto; display: flex; align-items: center; justify-content: space-between; }
  .sales-center-information-container           { position: static; }
  .paddington-properties-ltd-whit-icon          { position: static; width: 205px; height: auto; object-fit: contain; flex-shrink: 0; }
  .copyright                                    { max-width: 1080px; width: 100%; font-size: 15px; }
}
