
 /* Set Variables */
 :root {
    --dark-blue: #3f525b;
    --light-blue: #67B7D1;
    --soft-blue: #EAF6FA;
    --orange: #ff7f00;
    --light-orange: #f4a75c;
    --grey: #2B2B2B;
    --drop-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    /* Screen Size Breakpoints */
    --bp-sm: 40rem;  /* ~640px: nav/layout starts to breathe */
    --bp-md: 48rem;  /* ~768px: 2–3 column grids, sidebar appears */
    --bp-lg: 64rem;  /* ~1024px: desktop layout */
    --bp-xl: 80rem;  /* ~1280px: wide screens (optional) */
}

/* General Page */
html {
    color: var(--grey);
    font-family: "Roboto", sans-serif;
    font-size: clamp(16px, 1.2vw + 0.5rem, 20px);
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
}

/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.text-underline{
    text-decoration: underline;
}

.text-emphasize {
    font-weight: 500;
    color: var(--dark-blue);
}

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

/* Container */
.container {
    margin: 20px auto 0;
    width: 95%;
}

/* ~1024px */
@media (min-width: 64rem) {
    .container { width: 90%; }
}

/* ~1280px */
@media (min-width: 80rem) {
    .container { width: 80%; }
}

address {
  font-style: normal;
}

/* Header */
header .container {
  /* full-bleed on mobile, centered with a max width as screen grows */
  width: 100%;
  margin: 0 auto;
  padding: 10px 1rem;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  position: relative; /* anchor for dropdown menu */
    align-items: flex-end;
}

/* Left & right groups */
#header-left {
  display: block;
  flex-direction: column;
  text-align: right;   
  line-height: 1;
}

#header-right {
  display: flex;
  align-items: flex-end;/* align nav/hamburger nicely */
  gap: .5rem;
}

#header-right, nav, .nav-links { align-items: baseline; }

.header-home-link {
  text-decoration: none;
}

/* Logo lockup */
.logo, .logo2 {
  margin: 0;
  display: block;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  font-style: normal;
}

.logo {
  font-weight: 600;
  color: var(--light-blue);
  /* scales smoothly without extra breakpoints */
  font-size: clamp(1.25rem, 4vw, 2.22rem);
}

.logo2 {
  font-weight: 400;
  color: var(--dark-blue);
  font-size: clamp(.6rem, 1.4vw, .83rem);
}

/* Nav base (mobile) */
nav {
  display: flex;
  align-items: center;
  position: relative;
}

/* Hamburger: visible on mobile */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0.5rem;
  border: 1px solid rgba(63, 82, 91, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(18, 50, 74, 0.12);
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: var(--grey);
  border-radius: 5px;
}

/* Menu list: hidden by default on mobile */
.nav-links {
  display: none;
  list-style: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 0.35rem);                /* drops below the nav bar */
  right: 0;
  width: max-content;
  min-width: 10.75rem;
  max-width: calc(100vw - 2rem);
  background-color: rgba(255,255,255,.98);
  box-shadow: 0 10px 24px rgba(18, 50, 74, 0.16), 0 1px 3px rgba(18, 50, 74, 0.12);
  border: 1px solid rgba(63, 82, 91, 0.12);
  border-radius: 7px;
  padding: .45rem;
  z-index: 1000;
}

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

.nav-links li { margin: 0; }

.nav-links a {
  display: block;
  padding: .58rem .75rem;
  text-align: left;
  line-height: 1.1;
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--dark-blue);
  border-radius: 4px;
  transition: color .3s ease, background-color .3s ease;
}

.nav-links a:hover {
  color: var(--light-blue);
  background-color: rgba(82, 169, 201, 0.08);
}

/* Active page highlight (kept) */
#home .home a,
#search .search a,
#buyers .buyers a,
#sellers .sellers a,
#tenants .tenants a,
#landlords .landlords a,
#profiles .profiles a,
#contact .contact a {
  color: var(--orange);
  pointer-events: none;
  cursor: default;
}

/* ---------- Breakpoints (desktop-up behaviors) ---------- */

/* ~1024px */
@media (min-width: 64rem) {
  /* Desktop nav: show links inline, hide hamburger */
  .hamburger { display: none; }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 0;
    max-width: none;
    width: auto;
    padding: 0;
    border-radius: 0;
    gap: clamp(10px, 1.35vw, 20px);              /* replaces li margin-left */
  }

  .nav-links li { margin: 0; }

  .nav-links a {
    padding: 0;
    text-align: center;
    line-height: 1;
    border-radius: 0;
  }

  .nav-links a:hover { background-color: transparent; }

}

/* ~1024px (optional small refinements) */
@media (min-width: 64rem) {
  header .container { padding-inline: 1.25rem; }
}

/* Hero Section */
.hero {
  /* layout */
  position: relative;
  display: grid;                 /* centers the inner .container as a grid item */
  place-items: center;
  min-height: 16rem;             /* ~288px base (mobile) */
  text-align: center;

  /* background */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  /* visual tokens */
  --hero-overlay: 0.35;          /* scrim strength (0–1) */
  --hero-text-shadow: 0 2px 2px rgba(0,0,0,.45), 0 0 1px rgba(0,0,0,.35);
}

/* Dark scrim only when .overlay is present */
.hero.overlay::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,var(--hero-overlay));
  z-index: 1;
}
.hero.no-overlay::before { content: none; }

.hero > .container {
  width: 100%;              /* override the global 95% */
  margin: 0;                /* remove global top/auto margins */
  padding-inline: 1rem;     /* safe side gutters on small screens */
  display: grid;
  place-items: center;      /* center the .hero-content */
}

/* Keep content above overlay */
.hero-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 68ch);        /* readable max; shrinks nicely on phone */
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Stack the two lines and center them */
.hero .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  text-align: center;
  color: #fff;
}

/* Headline */
.hero-copy1 {
  /* allow wrapping on small screens instead of forcing nowrap */
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.6875rem, 4.5vw, 2.8125rem);
  line-height: 1.0;
  letter-spacing: .01em;
  color: var(--orange);
  text-shadow: var(--hero-text-shadow);
  max-width: 90vw;
  text-transform: uppercase;
}

/* Subhead */
.hero-copy2 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.85rem);
  line-height: 1.0;
  color: #fff;
  opacity: .95;
  text-shadow: var(--hero-text-shadow);
  max-width: 90vw;
}

/* Centre the two building-profile actions beneath the title and address. */
.profile-hero-actions {
  position: absolute;
  top: 63%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(.225rem, .9vw, .5625rem);
  width: max-content;
  max-width: calc(100% - 2rem);
  transform: translateX(-50%);
}

.profile-hero-cta {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .4875rem .75rem;
  border-radius: .1875rem;
  background-color: rgba(63,82,91,.9);
  box-shadow: 0 5px 14px rgba(0,0,0,.22);
  color: #fff;
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(.55rem, 2vw, .75rem);
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.profile-hero-cta::before {
  content: "";
  flex: 0 0 1.3em;
  width: 1.3em;
  height: 1.3em;
  background-color: currentColor;
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}

.profile-hero-cta.alert-link { --icon: url("../images-layout/icons/alert.svg"); }
.profile-hero-cta.search-link { --icon: url("../images-layout/icons/search.svg"); }

.profile-hero-cta:hover,
.profile-hero-cta:focus-visible {
  background-color: rgba(103,183,209,.82);
  box-shadow: 0 7px 18px rgba(0,0,0,.3);
  color: #fff;
}

.profile-hero-cta:focus-visible {
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 3px;
}

.profile-hero-cta:active {
  transform: scale(.96);
}

@media (prefers-reduced-motion: reduce) {
  .profile-hero-cta { transition: none; }
}

/* Hero Price Info */
.hero-price {
  position: absolute;
  bottom: 5px;
  right: -1px;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 7px 20px;
  border-radius: 2px; /* pill */
  background: linear-gradient(
    to bottom right,
    rgba(63,82,91,1),
    rgba(86,117,140,.9)
  );

  color: #fff;
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1;
  /* nice “floating” look */
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  backdrop-filter: blur(2px);
}

.hero-copy2 a[href^="tel"] {
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}

/* Property details strip at the bottom */
.hero .property-details-box {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30px;                   /* mobile base */
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background: linear-gradient(
    to bottom right,
    rgba(63,82,91,1),
    rgba(86,117,140,.9)
  );
  box-shadow: var(--drop-shadow);
  z-index: 3;
  padding: 0;
}

.hero .property-details-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero .property-details-item img {
  width: 24px; height: 24px;      /* smaller on mobile */
  display: inline-block;
  vertical-align: middle;
}

.hero .property-details-item span {
  font-size: .94rem;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

/* ---------- Breakpoints (mobile-first) ---------- */

/* ~640px */
@media (min-width: 40rem) {
  .hero { min-height: 20rem; }    /* ~352px */
  .hero .property-details-box { height: 34px; }
  .hero .property-details-item img { width: 26px; height: 26px; }
}

/* ~768px */
@media (min-width: 48rem) {
  .hero { min-height: 24rem; }    /* ~480px */
  /* On larger screens the lines can stay on one line */
  .hero-copy1, .hero-copy2 { white-space: nowrap; }
  .hero .property-details-box { height: 38px; }
  .hero .property-details-item img { width: 28px; height: 28px; }
  .hero .property-details-item span { font-size: 1rem; }
}

/* ~1024px */
@media (min-width: 64rem) {
  .hero { min-height: 30rem; }    /* ~648px desktop */
  .hero .property-details-box { height: 40px; }
  .hero .property-details-item img { width: 30px; height: 30px; }
}

/* Main Content Section */
.main-content .container {
    align-items: center;
    justify-content: center;
    text-align: left;
}

/* Profile Highlights Grid */
.highlight-grid {
  display: grid;
  /* tiles will be at least ~140px wide, otherwise they wrap */
  grid-template-columns: repeat(auto-fit, minmax(clamp(120px, 18vw, 170px), 1fr));
  background: linear-gradient(to right, #D3D6D7, #E2E7EA);
  margin: 0;
  padding: 0;
  list-style: none;
  
}

.highlight-item {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(8px, 2.5vw, 12px);
  box-shadow: var(--drop-shadow, 0 6px 16px rgba(0,0,0,.10));
}

/* --- ICON --- */
.highlight-icon {
  /* The key: use a variable so you can size SVGs and images consistently */
  --icon-size: clamp(24px, 4vw, 32px);
  width: var(--icon-size);
  height: var(--icon-size);
  display: grid;
  place-items: center;
  margin-bottom: clamp(2px, 1vw, 4px);
}

/* If your icon is an inline <svg> */
.highlight-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.highlight-data {
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  /* scales with viewport, but clamped */
  font-size: clamp(.6rem, 2.2vw, 1rem);
  line-height: 1.05;
  color: var(--dark-blue, #1c2f3a);
}

/* Mobile default: hide highlights entirely (no space taken) */
.profile-highlights {
  display: none;
}

/* >640px: show highlights */
@media (min-width: 40rem) {
  .profile-highlights {
    display: block; /* or grid if you want centering control */  
  }
}

/* Section Titles (mobile-first, responsive, Oswald) */
.section-title {
  /* typography */
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .03em;

  /* responsive sizing with graceful scaling */
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  line-height: 1.15;

  /* spacing */
  margin-bottom: .5rem;

  /* color token preserved */
  color: var(--dark-blue);
}

/* Emphasize first word inline; inherits responsive size */
.section-title .first-word {
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;            /* stronger emphasis than 900’s default blocky look */
  color: var(--light-blue);
  letter-spacing: .01em;
  /* keep size in sync with parent for cleaner wrapping */
  font-size: inherit;
}

.subheading {
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;            /* stronger emphasis than 900’s default blocky look */
  color: var(--dark-blue);
  letter-spacing: .01em;
  text-transform: uppercase;
  /* keep size in sync with parent for cleaner wrapping */
  font-size: inherit;
  margin-top: 15px;
}

.subheading .muted {
  font-weight: 400;
  font-size: .9rem;
  border-bottom: 0;
}

.main-content p {
    margin-bottom: 1rem;
    font-size: inherit;
    line-height: 1.45;
}

.main-content p:last-child {
    margin-bottom: 0;
}

.main-content p a[href^="tel"] {
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}

.main-content ul {
    margin-left: 50px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.main-content ul li:not(:last-child) {
    margin-bottom: 5px;
}

.centered-content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin: 0 auto; 
    width: fit-content; 
}

.main-content .logo {
    font-size: 1.66rem;
    margin-top: 10px;
}

.contact-details .logo {
    margin-top: 0;
}

.contact-aboutowne {
  margin-top: -.5rem;
  font-size: 1rem;
}
.main-content .logo2 {

    font-weight: 400;
    margin-top: -.5rem;
}

.main-content .price-range {
    display: block;
    color: var(--dark-blue);
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 15px;
}

.main-content p > img,
.main-content .rich-text img,
.main-content .content img {
  margin-top: 5px;
}

.action-links {
    display: flex;
    justify-content: center; /* Centers the links horizontally */
    gap: 15px; /* Adds space between the links */
    margin-top: 20px; /* Optional: spacing above the links */
}

.action-links a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 3px;
    color: #fff;
    background-color: var(--dark-blue);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.action-links a:hover {
    background-color: var(--light-blue);
    color: #fff;
}

/* Make the links icon-friendly and vertically centered */
.action-links a {
  display: inline-flex;          /* was inline-block */
  align-items: center;
  gap: 8px;                      /* space between icon and text */
}

/* Generic icon via CSS mask that inherits current text color */
.action-links a::before {
  content: "";
  width: 1.3em;
  height: 1.3em;
  inline-size: 1.3em;
  block-size: 1.3em;
  background-color: currentColor;/* take the link’s color */
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}

/* Per-link icon assignments (using custom property) */
.action-links a.alert-link  { --icon: url("../images-layout/icons/alert.svg"); }
.action-links a.search-link { --icon: url("../images-layout/icons/search.svg"); }

/* Optional: a tiny nudge so icons don’t jump on hover (keeps size/color consistent) */
.action-links a:hover::before { background-color: currentColor; }

.hub-intro {
  max-width: 46rem;
}

#buyers .hub-intro,
#sellers .hub-intro,
#tenants .hub-intro,
#landlords .hub-intro {
  max-width: none;
}

.hub-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin: 1.5rem 0;
}

.hub-card {
  border-top: 3px solid var(--light-blue);
  background: #fff;
  box-shadow: var(--drop-shadow);
  padding: clamp(16px, 2.5vw, 22px);
}

.hub-card h3 {
  margin-bottom: .5rem;
  color: var(--dark-blue);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.hub-card p {
  margin-bottom: 0;
}

.buyer-help-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin: clamp(28px, 4vw, 46px) 0;
  padding: clamp(18px, 3vw, 30px);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 50, 74, .08), 0 1px 3px rgba(0, 0, 0, .08);
}

.buyer-help-panel-photo {
  overflow: hidden;
  border-radius: 10px;
  background: var(--soft-blue);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}

.buyer-help-panel-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.buyer-help-panel-content {
  color: var(--dark-blue);
}

.buyer-help-panel-rule {
  width: min(9rem, 45%);
  height: 3px;
  margin-bottom: clamp(12px, 2vw, 18px);
  background: linear-gradient(90deg, var(--light-blue), var(--orange));
}

.buyer-help-panel h3 {
  max-width: 34rem;
  margin-bottom: .55rem;
  color: var(--dark-blue);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-weight: 600;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
}

.buyer-help-panel-content > p {
  max-width: 37rem;
  margin-bottom: clamp(18px, 3vw, 28px);
  color: var(--grey);
  font-size: clamp(.98rem, 1.2vw, 1.1rem);
  line-height: 1.5;
}

.buyer-help-panel-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 22px);
}

.buyer-help-point {
  color: var(--dark-blue);
}

.buyer-help-point svg {
  width: clamp(38px, 5vw, 54px);
  height: clamp(38px, 5vw, 54px);
  margin-bottom: .55rem;
  fill: none;
  stroke: var(--light-blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.buyer-help-point h4 {
  margin-bottom: .3rem;
  color: var(--dark-blue);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(.95rem, 1vw, 1.05rem);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.buyer-help-point p {
  margin-bottom: 0;
  color: var(--grey);
  font-size: .92rem;
  line-height: 1.35;
  text-wrap: pretty;
}

.hub-resource-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin: clamp(26px, 4vw, 42px) 0 1.25rem;
  text-align: center;
}

.hub-resource-links::before {
  content: none;
}

.building-watch-form-section {
  margin-top: clamp(26px, 4vw, 42px);
}

.hub-form-section {
  margin: clamp(26px, 4vw, 42px) 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid color-mix(in srgb, var(--light-blue) 28%, #fff);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.hub-form-section h3 {
  margin-bottom: 1rem;
  color: var(--dark-blue);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.hub-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hub-form .form-row:last-child {
  margin-bottom: 0;
}

.hub-form .form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.hub-form label {
  color: var(--dark-blue);
  font-weight: 700;
}

.hub-form .form-control {
  width: 100%;
  min-height: 46px;
  padding: .75rem .85rem;
  border: 1px solid color-mix(in srgb, var(--light-blue) 40%, #fff);
  border-radius: 8px;
  background: #fff;
  color: var(--dark-blue);
  font: inherit;
}

.hub-form textarea.form-control {
  min-height: 128px;
  resize: vertical;
}

.hub-form .form-control:focus {
  border-color: var(--dark-blue);
  outline: 3px solid color-mix(in srgb, var(--light-blue) 30%, transparent);
}

.hub-form .btn-submit {
  align-self: flex-start;
  min-height: 48px;
  padding: .85rem 1.2rem;
  border: 1px solid var(--orange);
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.hub-form .btn-submit:hover,
.hub-form .btn-submit:focus {
  border-color: var(--dark-blue);
  background: var(--dark-blue);
}

.hub-resource-link {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 12px);
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid color-mix(in srgb, var(--light-blue) 30%, #fff);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(18, 50, 74, .05), 0 1px 2px rgba(0, 0, 0, .1);
  color: var(--dark-blue);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .22s ease, box-shadow .22s ease, color .22s ease, transform .22s ease;
}

.hub-resource-link::after {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin-top: auto;
  border: 1.5px solid var(--light-blue);
  border-radius: 50%;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h14' fill='none' stroke='%2312324A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m13 6 6 6-6 6' fill='none' stroke='%2312324A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.hub-resource-link img {
  width: clamp(54px, 7vw, 78px);
  height: clamp(54px, 7vw, 78px);
  object-fit: contain;
}

.hub-resource-link img[src$="get-help.svg"] {
  width: clamp(46px, 6vw, 66px);
  height: clamp(46px, 6vw, 66px);
}

.hub-resource-link:hover,
.hub-resource-link:focus {
  border-color: color-mix(in srgb, var(--light-blue) 56%, #fff);
  box-shadow: 0 8px 17px rgba(18, 50, 74, .07), 0 1px 2px rgba(0, 0, 0, .12);
  color: var(--dark-blue);
  transform: translateY(-3px);
}

.hub-resource-link:hover::after,
.hub-resource-link:focus::after {
  border-color: var(--dark-blue);
  background-color: var(--dark-blue);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h14' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m13 6 6 6-6 6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: translateX(2px);
}

.hub-resource-link.is-active {
  color: var(--orange);
  cursor: default;
  transform: none;
}

.hub-resource-link.is-active::after,
.hub-resource-link.is-active:hover::after,
.hub-resource-link.is-active:focus::after {
  border-color: #c9d0d4;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h14' fill='none' stroke='%23a7b0b6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m13 6 6 6-6 6' fill='none' stroke='%23a7b0b6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: none;
}

.hub-resource-link.is-active img {
  opacity: .85;
}

.hub-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.hub-actions a.secondary-action {
  background-color: transparent;
  border: 1px solid var(--dark-blue);
  color: var(--dark-blue);
}

.hub-actions a.secondary-action:hover,
.hub-actions a.secondary-action:focus {
  background-color: var(--dark-blue);
  color: #fff;
}

.buyer-steps {
  position: relative;
  margin: clamp(24px, 4vw, 44px) 0;
  padding: clamp(18px, 3vw, 30px);
  border-top: 4px solid var(--light-blue);
  background: #F7F3ED;
  box-shadow: var(--drop-shadow);
}

.buyer-step-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(5.25rem, 1fr));
  gap: 0;
  margin: 0 0 clamp(24px, 4vw, 38px);
  padding: 4px 0 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.buyer-step-tabs::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 2.75rem;
  right: 2.75rem;
  height: 2px;
  background: #d4d9dc;
}

.buyer-step-tab,
.buyer-step-control {
  min-height: 42px;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.buyer-step-tab {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 5.25rem;
  min-height: 5.25rem;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--dark-blue);
  font-size: .78rem;
  line-height: 1.15;
  text-align: center;
}

.buyer-step-tab-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid #b9cde2;
  border-radius: 50%;
  background: #f7f7f7;
  color: var(--dark-blue);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(18, 50, 74, .08);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.buyer-step-tab-label {
  font-weight: 800;
}

.buyer-step-tab:hover .buyer-step-tab-number,
.buyer-step-tab:focus .buyer-step-tab-number {
  border-color: var(--dark-blue);
  transform: translateY(-1px);
}

.buyer-step-tab.is-active {
  color: #f25f1d;
}

.buyer-step-tab.is-active .buyer-step-tab-number {
  border-color: #f25f1d;
  background: #f25f1d;
  color: #fff;
}

.buyer-step-slider {
  min-height: 0;
}

.buyer-step-slide {
  max-width: 60rem;
}

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

.buyer-step-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.buyer-step-icon {
  width: clamp(96px, 12vw, 136px);
  height: clamp(96px, 12vw, 136px);
  flex: 0 0 auto;
  object-fit: contain;
}

.buyer-step-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--light-blue);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.buyer-step-slide h3 {
  margin-bottom: 12px;
  color: var(--dark-blue);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.buyer-step-heading h3 {
  margin-bottom: 0;
}

.main-content .buyer-step-slide ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}

.buyer-step-slide li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.28;
}

.buyer-step-slide li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--light-blue);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9.2 7.6 12 13.2 6' fill='none' stroke='white' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 13px 13px;
}

.buyer-step-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(10px, 1.5vw, 16px);
}

.buyer-step-control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1.5px solid var(--light-blue);
  border-radius: 50%;
  background: transparent;
  color: var(--dark-blue);
}

.buyer-step-control:hover,
.buyer-step-control:focus {
  border-color: var(--dark-blue);
  background-color: var(--dark-blue);
  color: #fff;
}

.buyer-step-control-next:hover,
.buyer-step-control-next:focus {
  transform: translateX(2px);
}

.buyer-step-control-prev:hover,
.buyer-step-control-prev:focus {
  transform: translateX(-2px);
}

.buyer-step-control svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.buyer-step-control:disabled {
  cursor: not-allowed;
  border-color: #c9d0d4;
  background: transparent;
  color: #a7b0b6;
  opacity: 1;
  transform: none;
}

.buyer-step-control:disabled:hover,
.buyer-step-control:disabled:focus {
  border-color: #c9d0d4;
  background: transparent;
  color: #a7b0b6;
  transform: none;
}

#buyer-costs-title + p,
#seller-costs-title + p {
  max-width: 58rem;
}

#service-guarantee-title {
  margin-top: clamp(24px, 4vw, 44px);
}

.buyer-cost-list {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(16px, 2.5vw, 24px);
}

.buyer-cost-item {
  padding-bottom: clamp(14px, 2vw, 20px);
}

.buyer-cost-item h3 {
  margin-bottom: 6px;
  color: var(--dark-blue);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.buyer-cost-item p {
  max-width: 64rem;
}

@media (max-width: 47.99rem) {
  .buyer-steps {
    padding: 16px;
  }

  .buyer-step-tabs {
    display: none;
  }

  .buyer-step-slider {
    min-height: 0;
  }
}

@media (min-width: 48rem) {
  .buyer-help-panel-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hub-form .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-form .form-row-full {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 64rem) {
  .buyer-help-panel {
    grid-template-columns: minmax(13rem, 23%) 1fr;
  }

  .buyer-help-panel-points {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hub-resource-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

.visitor-paths {
  margin-top: clamp(18px, 2.5vw, 32px);
  margin-bottom: clamp(28px, 4vw, 52px);
}

.visitor-paths-intro {
  max-width: 44rem;
  margin-bottom: clamp(16px, 2.5vw, 24px);
}

.visitor-path-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: clamp(16px, 2vw, 24px);
  row-gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.visitor-path-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100%;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid color-mix(in srgb, var(--light-blue) 30%, #fff);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(18, 50, 74, .05), 0 1px 2px rgba(0, 0, 0, .1);
  color: var(--grey);
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.visitor-path-card::before {
  content: none;
}

.visitor-path-card:hover,
.visitor-path-card:focus {
  border-color: color-mix(in srgb, var(--light-blue) 56%, #fff);
  box-shadow: 0 8px 17px rgba(18, 50, 74, .07), 0 1px 2px rgba(0, 0, 0, .12);
  color: var(--grey);
  transform: translateY(-3px);
}

.visitor-path-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--light-blue) 25%, transparent);
  outline-offset: 3px;
}

.visitor-path-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.2vw, 14px);
  margin-bottom: clamp(10px, 1.2vw, 14px);
}

.visitor-path-icon {
  display: grid;
  place-items: center;
  width: clamp(58px, 5vw, 72px);
  height: clamp(58px, 5vw, 72px);
}

.visitor-path-icon svg {
  width: 70%;
  height: 70%;
  fill: none;
  stroke: var(--dark-blue);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visitor-path-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visitor-path-icon .icon-light {
  stroke: var(--light-blue);
}

.visitor-path-icon .icon-light-fill {
  fill: var(--light-blue);
  stroke: var(--dark-blue);
}

.visitor-path-icon .icon-orange {
  stroke: var(--orange);
}

.visitor-path-icon .icon-light-text {
  stroke: var(--light-blue);
  stroke-width: 3;
}

.visitor-path-title {
  margin-bottom: 0;
  color: var(--dark-blue);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.25rem, 1.55vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: uppercase;
}

.visitor-path-title span {
  display: inline;
}

.visitor-path-copy {
  color: #36454d;
  max-width: 15rem;
  margin: 0 auto clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

.visitor-path-divider {
  display: block;
  height: 1px;
  margin: 0 0 clamp(18px, 2.4vw, 24px);
  background: color-mix(in srgb, var(--light-blue) 28%, transparent);
}

.visitor-path-list {
  display: grid;
  gap: 11px;
  margin: 0 0 clamp(26px, 3vw, 36px);
  padding: 0;
  list-style: none;
}

.main-content .visitor-path-list {
  margin-left: 0;
}

.visitor-path-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: #283942;
  font-size: .95rem;
  line-height: 1.25;
}

.visitor-path-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: .02rem;
  border-radius: 50%;
  background-color: var(--light-blue);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9.2 7.6 12 13.2 6' fill='none' stroke='white' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

.visitor-path-arrow {
  display: grid;
  place-items: center;
  align-self: center;
  width: 44px;
  height: 44px;
  margin-top: auto;
  border: 1.5px solid var(--light-blue);
  border-radius: 50%;
  color: var(--dark-blue);
  transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
}

.visitor-path-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visitor-path-card:hover .visitor-path-arrow,
.visitor-path-card:focus .visitor-path-arrow {
  border-color: var(--dark-blue);
  background-color: var(--dark-blue);
  color: #fff;
  transform: translateX(2px);
}

@media (max-width: 47.9375rem) {
  .visitor-paths {
    margin-top: 16px;
    margin-bottom: 28px;
  }

  .visitor-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .visitor-path-card {
    padding: 14px 10px;
  }

  .visitor-path-card-head {
    gap: 8px;
    margin-bottom: 10px;
  }

  .visitor-path-icon {
    width: 46px;
    height: 46px;
  }

  .visitor-path-title {
    font-size: 1rem;
  }

  .visitor-path-title span {
    display: block;
  }

  .visitor-path-copy {
    display: none;
  }

  .visitor-path-arrow {
    width: 36px;
    height: 36px;
  }

  .visitor-path-arrow svg {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 48rem) {
  .visitor-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 80rem) {
  .visitor-path-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: clamp(16px, 2vw, 24px);
  }

}

/* ================================
   Footer (mobile-first, full-bleed)
   ================================ */

footer {
  padding-block: clamp(16px, 2.5vw, 28px);
}

footer .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
}

/* --- Footer Nav --- */
#footer-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(
    to bottom right,
    rgba(63, 82, 91, 1),
    rgba(86, 117, 140, 0.9)
  );
  padding: clamp(1px, 2vw, 4px);
  margin-bottom: clamp(10px, 2vw, 18px);
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-links a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 400;
  font-size: clamp(.68rem, 1.4vw, .9rem);
  padding-block: clamp(6px, 1.2vw, 10px);
  color: #fff;
  transition: color .25s ease, opacity .25s ease;
}
.footer-nav-links a:hover,
.footer-nav-links a:focus { color: var(--light-blue); outline: none; }

/* --- Footer Contact --- */
.footer-contact {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  justify-items: center;
  align-items: start;
  gap: clamp(12px, 3vw, 20px);
  text-align: center;
  padding-inline: clamp(12px, 3vw, 24px);
}

/* Hide the photo on small screens */
.footer-contact-photo { margin: 0; }
.footer-contact-photo img {
  display: block;
  border-radius: 50% !important;
  width: clamp(80px, 12vw, 110px);
  height: clamp(80px, 12vw, 110px);
  object-fit: cover;
}

.footer-contact-copy a:hover,
.footer-contact-copy a:focus { text-decoration: underline; outline: none; }

.footer-website-links {
  font-size: .65rem;
  text-align: center;
  margin-top: 25px;
}

.footer-website-links a {
  color: var(--dark-blue);
  text-decoration: none;
  text-transform: uppercase;
}

.footer-website-links a:hover,
.footer-website-links a:focus {
  text-decoration: underline;
}

@media (max-width: 47.99rem) {
  .footer-contact-photo { display: none; }
}

.footer-contact-copy {
  width: 100%;
  max-width: 48rem;
  text-align: center;
  border-left: 0;
  padding-left: 0;
}
.footer-contact-copy p {
  margin: 0;
  color: var(--dark-blue);
}

.footer-contact-copy .role {
  font-size: .82rem;
  color: var(--grey);
}

.footer-contact-copy .org,
.footer-contact-copy .phone,
.footer-contact-copy .links { font-size: .75rem; }

.footer-contact-copy .highlight {
  color: var(--light-blue);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.05;
}
.footer-contact-copy a {
  color: var(--dark-blue);
  text-decoration: none;
}
.footer-contact-copy a:hover,
.footer-contact-copy a:focus { text-decoration: underline; outline: none; }

/* Utility */
.rounded-circle { border-radius: 50% !important; }

/* ================================
   Progressive enhancement
   ================================ */

/* ≥768px: photo | copy, centered as a pair; copy text left */
@media (min-width: 48rem) {
  .footer-contact {
    display: grid;
    grid-template-columns: auto fit-content(48rem);
    justify-content: center;
    justify-items: start;
    align-items: center;
    text-align: left;
    width: fit-content;
    margin-inline: auto;
  }
  .footer-contact-copy {
    text-align: left;
    border-left: 1px solid #b6b6b6;
    padding-left: 10px;
    width: auto;               /* was 100% on mobile; override at desktop */
    max-width: 48rem;          /* same cap as the column */
    justify-self: start;
  }
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  vertical-align: middle;
  margin-left: 8px;
  line-height: 1;
}

.filter-toggle img {
  display: inline-block;
  vertical-align: middle;
}

.filter-toggle .filter-label {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}
