/* =========================================================
   Maple & May — Affordable Rent landing page prototype
   ========================================================= */

:root {
    /* Colour tokens — sourced from Figma (Maple & May design system) */
    --color-dark:        #455560;  /* Dark Grey */
    --color-dark-2:      #283035;  /* secondary/Black */
    --color-cream:       #E6DFD5;  /* Linen */
    --color-grey:        #f3f1f0;  /* Page grey (Properties Section / Register band bg) */
    --color-cream-2:     #efe9dd;  /* lighter variant for alternating sections */
    --color-tan:         #AA9678;  /* Wheat */
    --color-tan-dark:    #c1b199;  /* Soft Wheat */
    --color-white:       #ffffff;
    --color-body:        #1a1a1a;  /* body copy — client update (was #283035) */
    --color-muted:       #6b7a7f;
    --color-border:      #d9d2c2;
    --color-green:       #11740a;  /* secondary/Green */
    --color-orange:      #e66712;  /* secondary/Orange */
    --color-red-orange:  #c95a2a;

    /* Spacing scale — from Figma (16, 24, 32, 40, 72, 120, 160) */
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-40: 40px;
    --space-72: 72px;
    --space-120: 120px;
    --space-160: 160px;

    --radius-pill: 999px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-card: 0 4px 14px rgba(40, 48, 53, 0.08);

    --container: 1200px;

    /* Typography per Figma — Montserrat for heads, Open Sans for body */
    --font-head: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Open Sans',  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* Back-compat alias — keep --font-sans pointing at heading face for any leftover references */
    --font-sans: var(--font-head);

    /* Type scale tokens — exact values from Figma */
    --type-mobile-xxl:  700 40px/44px var(--font-head);   /* Mobile/Extra extra large — hero h1 */
    --type-mobile-lg:   700 24px/32px var(--font-head);   /* Mobile/Large — section h2 */
    --type-desktop-xl:  700 72px/80px var(--font-head);   /* Desktop/Extra large — hero h1 (was 56/64) */
    --type-desktop-lg:  700 40px/48px var(--font-head);   /* Desktop/Large — section h2 */
    --type-desktop-md:  700 24px/32px var(--font-head);   /* Desktop/Medium — sub-headings */
    --type-desktop-sm:  700 20px/28px var(--font-head);   /* Desktop/Small — card titles */
    --type-body:        400 16px/24px var(--font-body);   /* p-default — Open Sans Regular */
    --type-body-bold:   600 16px/24px var(--font-head);   /* p-default bold — Montserrat SemiBold (was Bold) */
    --type-small:       400 12px/20px var(--font-body);   /* p-small — Open Sans Regular */
}

/* ---------- Icons (inline SVG, recoloured via currentColor) ---------- */
.icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.icon--arrow-right { width: 24px; height: 24px; }
.icon--arrow-down  { width: 44px; height: 44px; }
.icon--chevron     { width: 24px; height: 24px; }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font: var(--type-body);
    color: var(--color-body);
    background: var(--color-cream);
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 700; line-height: 1.2; color: var(--color-body); }
p { margin: 0 0 1em; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: 1.25rem 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.85em 1.6em;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: background 0.15s ease;
    text-align: center;
}
.btn:hover { background: var(--color-dark-2); }
.btn--block { width: 100%; justify-content: center; }
.btn--block .icon { color: var(--color-tan); }
.btn--pill { padding: 0.9em 1.8em; }
.btn--small { font-size: 0.85rem; padding: 0.7em 1.4em; }

/* ---------- Header ---------- */
.site-header {
    background: var(--color-dark);
    color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;
    gap: 1rem;
    position: relative; /* anchor for absolute-positioned Tenant login pill */
    /* Figma uses 120px horizontal padding on desktop; container clamp handles narrower viewports */
}

/* ---------- Tenant login (affordable-rent only) ---------- */
/* Mobile (default): 44px full-width wheat strip BELOW the header bar.
   Desktop: 39px wheat pill at top-right of the header bar (right of "Contact"). */
.site-header__tenant {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    background: var(--color-tan);
    color: var(--color-white);
    font: var(--type-body-bold);
    text-decoration: none;
}
.site-header__tenant .icon { color: var(--color-white); }

/* Mobile: drop the pill out of the inner row and lay it as a full-width
   wheat strip just below the dark header bar. */
.site-header__tenant {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
}

@media (min-width: 768px) {
    /* Desktop: pill flows in the flex row immediately after the nav,
       pinned to the top of the 120px bar. The nav uses margin-left:auto
       to keep the logo on the left and the nav+pill grouped on the right. */
    .site-header__inner { justify-content: flex-start; }
    .site-header__nav { margin-left: auto; }
    .site-header__tenant {
        position: static;
        align-self: flex-start;
        height: 39px;
        width: auto;
        padding: 8px 17px;
        margin-left: 4px;     /* small breathing space after "Contact" */
    }
}
.site-header__logo img { height: 62px; width: auto; }

.site-header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 48px;
    height: 48px;
    padding: 12px 8px;
    background: transparent;
    border: none;
}
.site-header__toggle span {
    display: block;
    height: 3px;
    background: var(--color-tan);   /* wheat hamburger per Figma */
    border-radius: 2px;
}

.site-header__nav { display: none; }
.site-header__nav ul {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.site-header__nav a {
    display: inline-flex;
    align-items: center;
    height: 120px;
    padding: 9px 17px;
    font: var(--type-body-bold);
    color: var(--color-white);
    transition: background 0.15s ease;
    border-bottom: 3px solid transparent;
}
.site-header__nav a:hover { background: rgba(255,255,255,0.06); }
.site-header__nav a.is-active {
    background: var(--color-tan);
    color: var(--color-dark-2);
    border-bottom-color: var(--color-tan);
}

/* ---------- Top-level nav: sub-menu (About Us has children) ---------- */
/* Default-hidden submenu list */
.site-header__nav ul.site-header__submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;                /* 4px vertical gap between items */
    background: var(--color-white);   /* gaps between items show as white */
}
.site-header__nav ul.site-header__submenu[hidden] { display: none; }
.site-header__nav .site-header__submenu li { display: block; width: 100%; }

.site-header__submenu a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;                       /* Figma: 20px text↔chevron gap */
    height: 72px;
    padding: 9px 17px;               /* Figma px-[17px] py-[9px] */
    background: #696E72; /* solid equivalent of Figma's rgba(40,48,53,0.7) over white */
    color: var(--color-white);
    font: var(--type-body-bold);
    text-decoration: none;
    border: 0;
    border-bottom: 3px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.site-header__submenu a > span {
    flex: 1 0 0;                     /* text fills, chevron stays right */
    min-width: 0;
}
/* Hover/focus state — only on devices that actually hover (i.e. desktop
   with a pointer). Suppresses the wheat colour-change on mobile tap. */
@media (hover: hover) {
    .site-header__submenu a:hover,
    .site-header__submenu a:focus-visible {
        background: var(--color-tan);
        border-bottom-color: var(--color-tan);  /* Figma hover: 3px wheat bottom */
    }
}
.site-header__submenu .icon--chevron-right {
    width: 24px;
    height: 24px;
    color: var(--color-white);
    flex-shrink: 0;
}

/* About Us trigger looks like a normal nav link */
.site-header__nav-toggle {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 600;
    color: inherit;
}

/* --- Desktop dropdown --- */
@media (min-width: 768px) {
    .site-header__nav-item--has-sub { position: relative; }

    .site-header__nav-toggle {
        display: inline-flex;
        align-items: center;
        height: 120px;
        padding: 9px 17px;
        font: var(--type-body-bold);
        color: var(--color-white);
        background: transparent;
        border-bottom: 3px solid transparent;
        transition: background 0.15s ease;
    }
    .site-header__nav-toggle:hover { background: rgba(255,255,255,0.06); }

    /* When open: trigger darkens with a 3px wheat bottom border (Figma) */
    .site-header__nav-item--has-sub[data-submenu-open] .site-header__nav-toggle {
        background: var(--color-dark-2);
        border-bottom-color: var(--color-tan);
    }
    .site-header__submenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 266px;            /* Figma item width */
        z-index: 50;
    }
}

/* Mobile open state — 283px-wide drawer on the left, dark-grey bg.
   Sits below the navbar AND below the 44px Tenant login strip so the
   first nav row (Home) isn't hidden behind the pill. */
.site-header__nav.is-open {
    display: block;
    position: absolute;
    top: calc(100% + 44px);
    left: 0;
    right: auto;
    width: 283px;
    background: var(--color-dark);
}
@media (min-width: 768px) {
    /* Desktop never had the Tenant strip in the document flow; reset. */
    .site-header__nav.is-open { top: 100%; }
}
.site-header__nav.is-open > ul {
    flex-direction: column;
    gap: 0;
}

/* Mobile top-level rows: 72px tall, dark-grey, text right-aligned. */
.site-header__nav.is-open > ul > li > a,
.site-header__nav.is-open > ul > li > .site-header__nav-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;       /* text on the right */
    width: 100%;
    height: 72px;
    padding: 9px 32px;
    border: 0;
    background: var(--color-dark);
    color: var(--color-white);
    text-decoration: none;
    font: var(--type-body-bold);
}
/* Items with sub-menus: icon on the left, text on the right */
.site-header__nav.is-open > ul > .site-header__nav-item--has-sub > .site-header__nav-toggle {
    justify-content: space-between;
}
.site-header__nav.is-open > ul > .site-header__nav-item--has-sub > .site-header__nav-toggle::before {
    content: "+";
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    color: var(--color-white);
    font-weight: 400;
}

/* About Us in "open" state — wheat row with × instead of + */
.site-header__nav.is-open .site-header__nav-item--has-sub[data-submenu-open] > .site-header__nav-toggle {
    background: var(--color-tan);
}
.site-header__nav.is-open .site-header__nav-item--has-sub[data-submenu-open] > .site-header__nav-toggle::before {
    content: "×";
    font-size: 24px;
}

/* Mobile submenu: gaps between items show drawer dark-grey behind */
.site-header__nav.is-open ul.site-header__submenu {
    background: var(--color-dark);
}
/* Mobile submenu items: solid equivalent of rgba(40,48,53,0.7) over #455560
   ≈ rgb(49, 59, 66) — much darker than the desktop equivalent over white. */
.site-header__nav.is-open .site-header__submenu a {
    background: #313B42;
}

/* Phone row at the bottom — icon left + text grouped together (gap 16) */
.site-header__nav-phone { display: none; }       /* hidden on desktop */
.site-header__nav.is-open .site-header__nav-phone { display: block; }
.site-header__nav.is-open .site-header__nav-phone a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    height: 72px;
    padding: 9px 32px;
    background: var(--color-dark);
    color: var(--color-white);
    text-decoration: none;
    font: var(--type-body-bold);
}
.site-header__nav.is-open .site-header__nav-phone a::before { content: none; }
.site-header__nav.is-open .site-header__nav-phone .icon--phone { color: var(--color-white); flex-shrink: 0; }

/* Hide the mobile-only phone row on desktop */
@media (min-width: 768px) {
    .site-header__nav-phone { display: none !important; }
}

/* Hamburger toggle → × when nav is open */
.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
.site-header__toggle span {
    transition: transform 0.2s ease, opacity 0.15s ease;
    transform-origin: center;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: var(--color-white);
    background: var(--color-dark);
    overflow: hidden;
    min-height: 428px;
    display: flex;
    align-items: center;
}
.hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero__content {
    position: relative;
    z-index: 1;
    text-align: left;
}
.hero__content h1 {
    font: var(--type-mobile-xxl);
    color: var(--color-white);
    margin: 0 0 16px;
}
.hero__content p {
    font: var(--type-desktop-sm);  /* Bold 20/28 */
    color: var(--color-white);
    margin: 0;
    max-width: 60ch;
}

/* Register Your Interest section — own band between hero and intro */
.register {
    background: var(--color-white);
    border-top: 7px solid var(--color-dark);
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.register__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 8px 32px;
    border-radius: 0 0 16px 16px;
    font: var(--type-desktop-sm);
    text-align: center;
    transition: background 0.15s ease;
}
.register__btn:hover { background: var(--color-dark-2); }
.register__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-tan-dark);
}

/* ---------- Intro ---------- */
.intro {
    padding: 72px 0;
    background: var(--color-white);
}
.intro__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.intro__lead {
    font: 400 24px/32px var(--font-body);  /* Open Sans Regular */
    color: var(--color-dark);
    margin: 0;
}
.intro__copy hr {
    border: 0;
    height: 2px;
    background: var(--color-tan);    /* 2px Wheat divider per Figma */
    margin: 24px 0;
}
.intro__copy p:not(.intro__lead) {
    font: var(--type-body);
    color: var(--color-body);        /* secondary/Black #283035 per Figma */
    margin: 0 0 16px;
}
.intro__copy p:not(.intro__lead):last-child { margin-bottom: 0; }
.intro__ctas {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.intro__ctas .btn {
    height: 72px;
    padding: 0 24px;
    border-radius: 8px;
    border: 1px solid var(--color-tan);
    font: var(--type-body-bold);
    justify-content: space-between;
}
.intro__ctas .btn .icon { color: var(--color-tan); }
.brochure-card__label .icon { color: var(--color-tan); }

/* Brochure card — 2px wheat border, image background, sub-button overlay at bottom */
.brochure-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 176px;
    border: 2px solid var(--color-tan);
    border-radius: 8px;
    overflow: hidden;
    padding: 16px 0;
}
.brochure-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.brochure-card__label {
    position: relative;
    z-index: 1;
    background: var(--color-dark);
    color: var(--color-white);
    border: 1px solid var(--color-tan);
    border-radius: 0;
    height: 44px;
    padding: 0 24px;
    font: var(--type-body-bold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* ---------- Apply (How Do I Apply?) ---------- */
.apply {
    position: relative;
    background: var(--color-cream);
    color: var(--color-body);
    padding: 62px 0 72px 0;
    overflow: hidden;
}
.apply h2 {
    color: var(--color-dark);     /* dark, per Figma */
    font: var(--type-mobile-lg);
    margin-bottom: 24px;
}
.apply__intro {
    color: var(--color-body);     /* secondary/Black, per Figma */
    max-width: 628px;
    margin-bottom: 40px;
}

.apply__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.apply__steps { display: flex; flex-direction: column; gap: 24px; }

/* Step tab — 117px tall, with big number sitting on a circular highlight on the left */
.apply__step {
    position: relative;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 0 10px 0 0;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    transition: background 0.15s ease;
}
.apply__step:hover { background: var(--color-dark-2); }

.apply__step-num {
    position: relative;
    flex-shrink: 0;
    width: 91px;
    height: 117px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    font: 700 56px/64px var(--font-sans);
    color: var(--color-tan);      /* wheat number on dark bg (default state) */
}
.apply__step-num::before {
    content: "";
    position: absolute;
    left: -45px;
    top: 0;
    width: 121px;
    height: 121px;
    border-radius: 50%;
    background: var(--color-white);   /* white circle (default state) */
    z-index: 0;
}
.apply__step-num::after {
    /* anchor for the number text to sit above the circle */
    content: "";
}
.apply__step-num { z-index: 0; }
.apply__step-num > * { position: relative; z-index: 1; }
/* The number text is direct text, so wrap via :first-letter? No — the text is the raw content of .apply__step-num.
   Pseudo-element ::before is z-index 0 sibling, and text node sits above by default but we need explicit positioning.
   Workaround: give the text an explicit relative + higher z-index by styling the element. */
.apply__step-num { isolation: isolate; }
.apply__step-num::before { z-index: -1; }

.apply__step-label {
    flex: 1;
    font: var(--type-body-bold);
}
.apply__step-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-tan);
}
.apply__step-icon .icon { width: 44px; height: 44px; }
.apply__step.is-active .apply__step-icon { color: var(--color-dark); }

/* Active step: white tab, dark circle, white number, dark text */
.apply__step.is-active {
    background: var(--color-white);
    color: var(--color-dark-2);
}
.apply__step.is-active .apply__step-num {
    color: var(--color-white);
}
.apply__step.is-active .apply__step-num::before {
    background: var(--color-dark);
}

.apply__panels { position: relative; }
.apply__panel {
    background: var(--color-white);
    color: var(--color-body);
    padding: 24px;
    border-radius: 16px;   /* match the .apply__step buttons 1-4 (client asked 15px; buttons are 16px) */
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.apply__panel[hidden] { display: none; }
.apply__panel h3 {
    font: var(--type-desktop-md);
    color: var(--color-dark);
    margin: 0;
}
.apply__panel p {
    font: var(--type-body);
    color: var(--color-body);
    margin: 0;
}

/* ---------- FAQs ---------- */
.faqs {
    padding: 72px 0;
    background: var(--color-white);
}
.faqs h2 {
    font: var(--type-mobile-lg);
    color: var(--color-dark);
    margin-bottom: 40px;
}
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq {
    background: transparent;
    color: var(--color-white);
    overflow: hidden;
}
.faq__q {
    width: 100%;
    background: var(--color-dark);
    color: var(--color-white);
    border: none;
    text-align: left;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font: var(--type-body);  /* Figma: Open Sans Regular 16/24 */
    border-radius: 8px;
    min-height: 44px;
}
.faq__icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-tan-dark); /* Soft Wheat per Figma */
}
/* Open state: question gets top-only radius; answer sits flush below */
.faq.is-open .faq__q {
    border-radius: 8px 8px 0 0;
}
.faq.is-open .faq__icon { transform: rotate(180deg); }
.faq__a {
    background: var(--color-white);
    color: var(--color-body);
    padding: 16px;
    font: var(--type-body);
    border: 1px solid var(--color-dark);  /* Figma: 1px solid Dark Grey box around answer */
    border-radius: 0 0 0 0;
}
.faq__a[hidden] { display: none; }
.faq__a p { margin: 0 0 16px; }
.faq__a p:last-child { margin-bottom: 0; }
.faqs__more { display: flex; justify-content: center; margin-top: 40px; }

/* Rectangular button modifier — used for "view all FAQs", "show more", "View Details" */
.btn--rect {
    border-radius: 5px;
    border: 1px solid var(--color-tan);
    padding: 12px 39px;
    font: var(--type-body-bold);
}

/* ---------- Available Properties ---------- */
.properties { padding: 72px 0; background: #F3F1F0; }
.properties h2 { font: var(--type-mobile-lg); color: var(--color-dark); margin-bottom: 40px; }
.property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.property-card {
    background: var(--color-white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.property-card__media {
    position: relative;
    height: 197px;
    border-bottom: 2px solid var(--color-tan);
    overflow: hidden;
}
.property-card__media img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.badge {
    position: absolute;
    top: 16px; right: 0;
    padding: 8px 16px;
    color: var(--color-white);
    font: var(--type-body);
    border-radius: 0;
}
.badge--open    { background: #008001; }
.badge--soon    { background: #008001; }
.badge--today   { background: #c0540d; }
.badge--closed  { background: #bf0000; }
.badge--dev     { background: #333333; }
.badge--let     { background: #bf0000; }
.badge--sold    { background: #bf0000; }

.property-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}
.property-card__top { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.property-card__footer { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.property-card__body h3 {
    font: var(--type-desktop-sm);
    color: var(--color-dark);
    margin: 0;
}
.property-card__body p {
    font: var(--type-body);
    color: var(--color-dark);  /* description colour */
    margin: 0;
}
.property-card__address {
    color: var(--color-body) !important;
}
.property-card__meta {
    border-top: 2px solid var(--color-tan);
    padding-top: 16px;
    color: var(--color-body) !important;
    margin-top: auto;
}
.property-card__meta strong { font: var(--type-body-bold); }

/* View Details button override — sharp rect with wheat border, not pill */
.property-card .btn {
    margin-top: 0;
    width: 100%;
    border-radius: 2px;
    border: 1px solid var(--color-tan);
    padding: 12px 39px;
    font: var(--type-body-bold);
    justify-content: center;
}
.properties__more { display: flex; justify-content: center; margin-top: 40px; }

/* Show more — Register-style band at container width, reveals hidden cards */
.show-more {
    background: transparent;
    border-top: 2px solid var(--color-dark);
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 40px;
}
.show-more__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 0 17px;
    border: 0;
    border-radius: 0 0 10px 10px;
    font: var(--type-desktop-sm);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: inherit;
}
.show-more__btn:hover { background: var(--color-dark-2); }
.show-more__btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--color-tan-dark); }
.show-more.is-done { display: none; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 72px 0 0;
    font: var(--type-body);
}
.site-footer h4 {
    font: var(--type-body-bold);
    color: var(--color-white);
    margin: 0 0 16px;
}
.site-footer a { color: var(--color-white); }
.site-footer a:hover { text-decoration: underline; }

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
}
.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.site-footer__brand-lockup {
    display: flex;
    align-items: center;
    gap: 16px;
}
.site-footer__brand-lockup img {
    height: 68px;
    width: auto;
}
.site-footer__strapline {
    display: flex;
    flex-direction: column;
    font: 400 26px/1.15 var(--font-sans);
    color: var(--color-white);
    border-left: 1px solid rgba(255,255,255,0.35);
    padding-left: 16px;
}
.site-footer__address p { font: var(--type-body); color: var(--color-white); margin: 0; }
.site-footer__links ul { display: flex; flex-direction: column; gap: 16px; }
.site-footer__links a { font: var(--type-small); }
.site-footer__social {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
}
.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    background: var(--color-white);
    color: var(--color-dark);
    border-radius: 50%;
    font: var(--type-body-bold);
    font-size: 14px;
}
.site-footer__social svg { width: 28px; height: 28px; }
.site-footer__contact { display: flex; flex-direction: column; gap: 16px; }
.site-footer__contact p { margin: 0; font: var(--type-body-bold); color: var(--color-white); }
.site-footer__contact p a { font: var(--type-body-bold); }
.site-footer__copy {
    padding: 0 0 40px;
    text-align: center;
    font: var(--type-small);
    color: var(--color-white);
}
.site-footer__copy p { margin: 0; }

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 768px) {
    .site-header__toggle { display: none; }
    .site-header__nav { display: block; }
    .site-header__nav ul { flex-direction: row; }

    .intro__grid {
        grid-template-columns: 1fr 319px;
        gap: 24px;
    }

    .apply__grid {
        grid-template-columns: minmax(320px, 0.8fr) 1.6fr;
        gap: 2rem;
        align-items: start;
    }

    .property-grid { grid-template-columns: repeat(3, 1fr); }

    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 37px;
        padding-bottom: 32px;
        align-items: stretch;
    }
    /* Vertical Linen dividers between columns */
    .site-footer__links,
    .site-footer__contact {
        position: relative;
        padding-left: 37px;
    }
    .site-footer__links::before,
    .site-footer__contact::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--color-cream);
    }

    /* Apply desktop type scale */
    .hero__content h1 { font: var(--type-desktop-xl); }
    .apply h2,
    .faqs h2,
    .properties h2 { font: var(--type-desktop-lg); }
    .apply__panel h3 { font: var(--type-desktop-md); }
}

@media (min-width: 1024px) {
    /* reserved for future desktop refinements */
}

/* ---------- Focus ---------- */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #f3c87a;
    outline-offset: 2px;
}

/* =========================================================
   Register Your Interest â€” drop-down form
   Appended to every prototype's styles.css.
   Scoped to .register[data-register] so it doesn't affect
   other variants of .register (e.g. new-homes "Show more").
   ========================================================= */
.register[data-register] {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    min-height: 60px;
    transition: padding 0.2s ease;
}
.register[data-register].is-open { padding-bottom: 24px; }
.register[data-register] .register__btn { border: 0; cursor: pointer; font-family: inherit; }
.register[data-register].is-open .register__btn-icon svg { transform: rotate(180deg); }
.register[data-register] .register__btn-icon svg { transition: transform 0.2s ease; }

.register__panel[hidden] { display: none; }
.register__panel { width: 100%; display: flex; justify-content: center; padding: 24px 20px 0; }
.register-form { width: 100%; max-width: 482px; display: flex; flex-direction: column; gap: 16px; }
.register-form__field { display: flex; flex-direction: column; gap: 8px; }
.register-form__field label { font: 400 16px/24px var(--font-body); color: var(--color-body); }
.register-form__hint { font: 400 12px/20px var(--font-body); color: var(--color-body); }
.register-form__field input {
    width: 100%; height: 68px; padding: 12px;
    font: 400 16px/24px var(--font-body); color: var(--color-body);
    background: var(--color-white); border: 1px solid #808285; border-radius: 4px;
    outline: none; transition: border-color 0.15s ease;
}
.register-form__field input::placeholder { color: #808285; }
.register-form__field input:focus { border-color: var(--color-dark); box-shadow: 0 0 0 2px rgba(69,85,96,0.18); }
.register-form__submit {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 24px;
    background: var(--color-dark); color: var(--color-white);
    border: 1px solid var(--color-tan); border-radius: 2px;
    font: 600 16px/24px var(--font-head);
    cursor: pointer; transition: background 0.15s ease;
}
.register-form__submit:hover { background: var(--color-dark-2); }
